aboutsummaryrefslogtreecommitdiffstats
path: root/main/aaudit/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/aaudit/APKBUILD')
-rw-r--r--main/aaudit/APKBUILD75
1 files changed, 75 insertions, 0 deletions
diff --git a/main/aaudit/APKBUILD b/main/aaudit/APKBUILD
new file mode 100644
index 0000000000..b88f7cb1c9
--- /dev/null
+++ b/main/aaudit/APKBUILD
@@ -0,0 +1,75 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=aaudit
+pkgver=0.6
+pkgrel=0
+pkgdesc="Alpine Auditor"
+url="http://alpinelinux.org"
+arch="noarch"
+license="GPL"
+depends="lua5.2 lua5.2-posix lua5.2-cjson lua5.2-pc lua5.2-socket"
+makedepends=""
+install=""
+subpackages="$pkgname-server"
+replaces=""
+source="aaudit-common.lua
+ aaudit-server.lua
+ aaudit
+ aaudit-shell
+ aaudit-update-keys
+ aaudit-repo
+ aaudit.json
+ aaudit-server.json
+ "
+_luaver="5.2"
+
+build() {
+ return 0
+}
+
+package() {
+ mkdir -p "$pkgdir"/etc/aaudit \
+ "$pkgdir"/usr/bin \
+ "$pkgdir"/usr/share/lua/$_luaver/aaudit
+ cp aaudit.json "$pkgdir"/etc/aaudit
+ cp aaudit-common.lua "$pkgdir"/usr/share/lua/$_luaver/aaudit/common.lua
+ cp aaudit "$pkgdir"/usr/bin
+}
+
+server() {
+ depends="aaudit git lua5.2 lua5.2-posix lua5.2-cjson lua5.2-zlib"
+
+ mkdir -p "$subpkgdir"/etc/aaudit \
+ "$subpkgdir"/usr/libexec/aaudit \
+ "$subpkgdir"/usr/bin \
+ "$subpkgdir"/usr/share/lua/$_luaver/aaudit
+ cp aaudit-server.json "$subpkgdir"/etc/aaudit
+ cp aaudit-server.lua "$subpkgdir"/usr/share/lua/$_luaver/aaudit/server.lua
+ cp aaudit-update-keys aaudit-repo "$subpkgdir"/usr/bin
+ cp aaudit-shell "$subpkgdir"/usr/libexec/aaudit
+}
+
+md5sums="b81b0707b297a69dacbc1606324de029 aaudit-common.lua
+40131250bb7fd3c92e2b302682d5c5f7 aaudit-server.lua
+028ecf2a733387560b15563de1777c68 aaudit
+f5de73f12b6df1a751c89f19c92871be aaudit-shell
+feef077f56f40002ca11846512d347af aaudit-update-keys
+9c88f34f561a2d0955b07de467b18a70 aaudit-repo
+8a80554c91d9fca8acb82f023de02f11 aaudit.json
+f0e97a7a07a472278298b5999a397f58 aaudit-server.json"
+sha256sums="ee1998e730356c2de0ff9d5e27d9e0277e3c1f051777146b7c5b820437edfd7f aaudit-common.lua
+6bb3968e0753e8ca6283f0ba838ce3cb18ea18ba7014bfa4c25e150093d48ba0 aaudit-server.lua
+91b5247e856b6531796a0ac61c3c82a37880fbabc1afc9bf4793667f03fb3ea0 aaudit
+659c755cfca95a76da78f4d28d0ab9a32d55bea0077be7420ceaf9d45c518354 aaudit-shell
+660dcf86f02a9d0e3ff47cb359e0291a0921d03215e368552a2878d2d691a9cc aaudit-update-keys
+83868f17e1162e2b621eb2115a36f989c300aeda7cadf82ec1c991ee19d25664 aaudit-repo
+ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356 aaudit.json
+ab276c9caeaa238c8999c79cd3b016f4ba149e6793475c5cde088597cedd849c aaudit-server.json"
+sha512sums="aaa378fd710d17cb3663954648e97dd5128406cc6f37e9834075046aed1912dcc9e448b6c96502350b8d3496e00b7803cae671a4be2c12c584a84dc0b6e843e9 aaudit-common.lua
+550385e27c7492e2234ddcf7c3c4a43dda2f3b598e52422af789febe68dfe0f88598c93f525f29f47173c878f4da4bef73c59eb8ca4605a8967634190a62605e aaudit-server.lua
+e12b1623506382e04307f1c7fc361b544b4fbe992d41fcbaa7efd4c8568060fa7fad17e4db7a4ae96ebadc2b95f3c545809b948460a5446608bac6a35d3c35f3 aaudit
+18499771d7d425f9305209c562eb8e62ef41910e88b08219baf010cdb472d49087080feb67384c4826c53bddcc0ce92c0c23c78df22dc40c64f1b17bf0ad05ec aaudit-shell
+aec728a9a1e4c92baeb94a9d95e1785ea166652a157571fe2e848e71c1246635ecb99512e92435e1314c620b1fa8e4f37400350bed78bd375db4a63828c500f0 aaudit-update-keys
+7507dea2b8ec4054e507aa3b42818863b9737402f3a9f967e16a63dd3ea12385463c2bce178a819a5f1fef76e74887a136de665e0b54172f1c1ce5f61b73403f aaudit-repo
+ca4b6defb8adcc010050bc8b1bb8f8092c4928b8a0fba32146abcfb256e4d91672f88ca2cdf6210e754e5b8ac5e23fb023806ccd749ac8b701f79a691f03c87a aaudit.json
+52da35598b8638a34d5a6352b2ccfd046dc529e0e5e6b541d3111016cbe6b091ff3fb4175e98b4f39e226ca1e6c973b9aa9a7a74fcb49b41862bbe64979d9186 aaudit-server.json"