From f21002082482ea7b606da92da7840a09151e7e8b Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Fri, 4 Jul 2014 16:54:02 +0300 Subject: testing/aconf: upgrade to 0.4.0 (formerly acf2) --- testing/acf2/APKBUILD | 60 --------------------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 testing/acf2/APKBUILD (limited to 'testing/acf2/APKBUILD') diff --git a/testing/acf2/APKBUILD b/testing/acf2/APKBUILD deleted file mode 100644 index 3fb2b3789c..0000000000 --- a/testing/acf2/APKBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# Contributor: Kaarle Ritvanen -# Maintainer: -pkgname=acf2 -pkgver=0.3.0 -pkgrel=0 -pkgdesc="Alpine Configuration Framework, 2nd generation" -url="http://git.alpinelinux.org/cgit/kunkku/acf2/" -arch="noarch" -license="BSD" -depends="lua5.2-augeas lua5.2-b64 lua5.2-cjson lua5.2-crypto \ - lua5.2-file-magic lua5.2-openrc lua5.2-posix lua5.2-stringy uwsgi \ - uwsgi-lua" -makedepends="" -source="${url}snapshot/${pkgname}-${pkgver}.tar.bz2 $pkgname.initd" - -_modules="network openssh" -subpackages="" -for _m in $_modules; do - subpackages="$subpackages acf2-mod-$_m:_$_m" -done - -_builddir=$srcdir/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - return 0 -} - -package() { - cd "$_builddir" - make ROOT_DIR=$pkgdir install || return 1 - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 -} - -_moddir=usr/share/lua/5.2/acf2/modules -_module() { - depends=$pkgname - mkdir -p "$subpkgdir/$_moddir" - mv "$pkgdir/$_moddir/$1.lua" "$subpkgdir/$_moddir" || return 1 -} - -for _m in $_modules; do - eval "_$_m() { _module $_m; }" -done - -md5sums="3cf9af77ca0a10f831df5376980be6c7 acf2-0.3.0.tar.bz2 -23fd4825db4365e646dbbf7a235db5f5 acf2.initd" -sha256sums="e856d977d337afc8a5190eff49e8fabd106b2a083127d8c7fa263b6f9e570156 acf2-0.3.0.tar.bz2 -c1fa434a9b75ea10e9d0c3d48ec27c4dff2613e413d154486122ce9c1f011e23 acf2.initd" -sha512sums="bbe33aaa9b663142ca65020e3109db1caae6a8f3466b8c5b5c9b9a41b7ba6182b2bbae32a1206bcfcfa2bbffcfadead9cfe6a4b86c9ccb9a881b4581f16153be acf2-0.3.0.tar.bz2 -6db21a9a4aa83c9ad75d1cf026d7e270ef38dce43a5aa340b61c149eb261e5bc587a282566fedc0cf96044425f49448eba8f37e1a7be96cda1a8369c2d831ada acf2.initd" -- cgit v1.2.3