summaryrefslogtreecommitdiffstats
path: root/main/acf-core/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-01-12 14:30:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-12 14:30:10 +0000
commit216e78928e6939028b5df5fe734b259f57389db3 (patch)
tree762e7b4665b71b267715ce7c1c70deb15932d5b5 /main/acf-core/APKBUILD
parentd859b9f8a78b5a70bac0a4d279d8f2282db35041 (diff)
downloadaports-216e78928e6939028b5df5fe734b259f57389db3.tar.bz2
aports-216e78928e6939028b5df5fe734b259f57389db3.tar.xz
main/acf-core: backport acfpasswd tool
Diffstat (limited to 'main/acf-core/APKBUILD')
-rw-r--r--main/acf-core/APKBUILD17
1 files changed, 14 insertions, 3 deletions
diff --git a/main/acf-core/APKBUILD b/main/acf-core/APKBUILD
index ff39b82a5..69dd1718d 100644
--- a/main/acf-core/APKBUILD
+++ b/main/acf-core/APKBUILD
@@ -2,17 +2,28 @@
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-core
pkgver=0.14.0
-pkgrel=0
+pkgrel=1
pkgdesc="A web-based system administration interface framework"
url="http://git.alpinelinux.org/cgit/acf-core"
arch="noarch"
license="GPL-2"
install="$pkgname.post-upgrade"
depends="acf-jquery acf-lib acf-skins haserl lua lua-posix lua-md5"
-source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2"
+source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
+ 0001-acfpasswd-new-tool-to-set-passwords-from-comman-line.patch
+ "
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
-md5sums="50ceb0f38330de37ec5d5a1d4cc28706 acf-core-0.14.0.tar.bz2"
+md5sums="50ceb0f38330de37ec5d5a1d4cc28706 acf-core-0.14.0.tar.bz2
+186de27cd4bf66454ede177ae723c321 0001-acfpasswd-new-tool-to-set-passwords-from-comman-line.patch"