diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-05-08 17:06:40 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-05-08 17:07:07 +0300 |
commit | f0df41eacf24e7e7f2acf680eb0ad45c215430b7 (patch) | |
tree | 75bb1e3d67e08aaf424a6183521f97c67e638281 /testing/aaudit/APKBUILD | |
parent | 7e41e855da70522b776e11a230448c80340e72f3 (diff) | |
download | aports-f0df41eacf24e7e7f2acf680eb0ad45c215430b7.tar.bz2 aports-f0df41eacf24e7e7f2acf680eb0ad45c215430b7.tar.xz |
testing/aaudit: convert everything to lua, start serverside ssh integration
Diffstat (limited to 'testing/aaudit/APKBUILD')
-rw-r--r-- | testing/aaudit/APKBUILD | 63 |
1 files changed, 38 insertions, 25 deletions
diff --git a/testing/aaudit/APKBUILD b/testing/aaudit/APKBUILD index 471f4bb34b..f471ed92fa 100644 --- a/testing/aaudit/APKBUILD +++ b/testing/aaudit/APKBUILD @@ -1,44 +1,57 @@ # Contributor: Timo Teräs <timo.teras@iki.fi> # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=aaudit -pkgver=0.2 +pkgver=0.3 pkgrel=0 pkgdesc="Alpine Auditor" url="http://alpinelinux.org" arch="noarch" license="GPL" -depends="lua5.2 lua-posix git" +depends="" makedepends="" install="" -subpackages="" +subpackages="$pkgname-server" replaces="" -source_libexec="aaudit-emaildiff aaudit-import-tar" -source_bin="aaudit-create aaudit-refresh" -source="$source_libexec $source_bin aaudit.conf" +client_bin="aaudit" +server_bin="aaudit-repo-create aaudit-repo-update aaudit-shell" +server_lua="aaudit.lua" +source="$client_bin $server_lua $server_bin aaudit-server.conf" build() { return 0 } package() { - mkdir -p "$pkgdir"/etc/aaudit "$pkgdir"/usr/bin "$pkgdir"/usr/libexec/aaudit - cp aaudit.conf "$pkgdir"/etc/aaudit - cp $source_bin "$pkgdir"/usr/bin - cp $source_libexec "$pkgdir"/usr/libexec/aaudit + mkdir -p "$pkgdir"/usr/bin + cp $client_bin "$pkgdir"/usr/bin } -md5sums="6ab0ebec3419a4c495a1935a07d4825c aaudit-emaildiff -a85e99fa4ad3845a78104763444b21bb aaudit-import-tar -5dafe6078c114ac0a445dcf0633371cd aaudit-create -9f43a5cd22d8176fab45903642be878a aaudit-refresh -5a6da6c58f46ecede9553c3d183cf384 aaudit.conf" -sha256sums="56ec6e2c13a5e857ae604264a424fd8c6dc04bf37122d88197ddbbb92e42b560 aaudit-emaildiff -7edad95c6dda08dfa9595a22b796828e3425d1eb27ae585196db85bd2d467b87 aaudit-import-tar -6643a7c1353253a417a319b0ac8558a348248cb97dcca2c724940350edef47b2 aaudit-create -cec7b57721006b4e2601db1fa7f02009ebd73c1543c59d0f01ef07fb75644349 aaudit-refresh -93a841ed9d0079d40649df53240bbfe75d3ee8b9d5eb1f03e455eac0a94869a5 aaudit.conf" -sha512sums="114d931491faf8f2df71a050a87d2d895a73f48b3948da424f3c1def9da9ec9dec2db96b2a1fefafd25477dc285a010ea95ce0372174b139d081899e09be01d3 aaudit-emaildiff -b1b96ba344f407bf09fe1ae480b4e5041ae5558bea57364e7998c98107eb19ee98b48c7e896805a550b2adb66f2978543b2106a70786c09af4dbd207b448558f aaudit-import-tar -85911c1b5e548cfaf417b310abff0d42d0a5a77a49f40584275d55feef30a2c68413c1db70d946709a3bf794dc31ec70bc61c3e50f2a8e1d91e57e13dc6470b1 aaudit-create -115ef61434dde446abc1b9c67d81338acce133ca595669774392db4b3206ae44659841c65f25e0f70a0dcea6086fd065cc11273e4fa7ff64066298e522a70c90 aaudit-refresh -ff66efccb6f7a304ad515dad31c8ce4fe20b5adb16856968576b2ff08f03620ec9c23113ae95ff25755fea677f8431d95fd46ade0e3d95291274f4379d0850f3 aaudit.conf" +server() { + depends="lua5.2 lua5.2-posix git" + + mkdir -p "$subpkgdir"/etc/aaudit \ + "$subpkgdir"/usr/libexec/aaudit \ + "$subpkgdir"/usr/share/lua/5.2/ + cp aaudit-server.conf "$subpkgdir"/etc/aaudit + cp $server_lua "$subpkgdir"/usr/share/lua/5.2/ + cp $server_bin "$subpkgdir"/usr/libexec/aaudit +} + +md5sums="e8ea430114aab3f07704060605670e0b aaudit +c7733c44b464e6e8efe73826d075af17 aaudit.lua +b11fe0d8285a00a135f8ac9af0206449 aaudit-repo-create +b900f83afedc4fb1dae2f74c9380fb72 aaudit-repo-update +0958044c64d1b5c475939687a5620a41 aaudit-shell +274e2126de7f30170ad6d6acc1bb9ef1 aaudit-server.conf" +sha256sums="093ded6192adc7ee81ec1e435bac4652355950c30c573cbd0d2f9ab1307f1ade aaudit +c4e64cd76a23a6e10f944f88904ec7bc511be90af0659526745086fb732530f7 aaudit.lua +f01ecd5b99cadbc591d8472f6010d34ad3136085aa35c93d7da56b29a251f6c1 aaudit-repo-create +2c108a129411373be55a4e4add7ca5c005e05f1ca48be813e9903f7ef84f1e7e aaudit-repo-update +8a24abf3ff360f74afbf408d38ad5336a17f59bf0ec9ff553cae4fe0a4bfc376 aaudit-shell +23e75c1c935d2cd516c489c0c6835178e864595daef45975da54897296aebcf6 aaudit-server.conf" +sha512sums="b52acc614c4437ed54f348daeb887aca965b62b4e45bbd1f95b731f5e03b360277476b513254e05306387cdea1f196a86b4d9cf5bbc76916707164b45364521d aaudit +9d64ba1904639aca31f34aa384cdfce7ddefd17959dfb08904811015343e36959904707ff667879e0fa5587f199ff4dac0213a42d484f983801914dc61ae2899 aaudit.lua +a8c875eb726e267d6fb56f41cb5c39c45e6f8af8a7a55059bcaff8a0fe8498dac2c90bb21c88e37c34658c574bf2afa8f6ef24e725f602ee1153ba04d9cc84d5 aaudit-repo-create +e59320cbc6bd7a07687a261399b7df4ef00e349240bee64539a9dfd925b05fb6c679f0f8efb42d1429a7c1d6b918d429a6acb0bc3d4d7f6ef059f9562b748abf aaudit-repo-update +492f342115dfe1b622601d11edeb2e5bc87512412645c9f242ce5fe870e6c6a5ee333aa8e3dcb7f9b7f72ebce8b8cb88d6446af39255485c0bd3786ab2c81982 aaudit-shell +b370c408c242cb4d4c349ca2208e69cdc44c750990c8aacb62e2d8b018cdb87e25c5955fe144352f0fd5c41ff0329ed1118fb3a977aa40e13ddb6b115bf4dd2a aaudit-server.conf" |