aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 07:26:45 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 07:26:45 +0000
commitaec0ebf7ae305b2a1a1cd3fc118f43630e59aab1 (patch)
tree0ecab428dccf998509262f4207c32ac3de907938
parent5a223ffe04f28b2c9e55c984359787f7aa27be9d (diff)
downloadaports-aec0ebf7ae305b2a1a1cd3fc118f43630e59aab1.tar.bz2
aports-aec0ebf7ae305b2a1a1cd3fc118f43630e59aab1.tar.xz
community/makepasswd: moved from unmaintained, upgrade to 0.5.3
-rw-r--r--community/makepasswd/APKBUILD (renamed from unmaintained/makepasswd/APKBUILD)26
1 files changed, 8 insertions, 18 deletions
diff --git a/unmaintained/makepasswd/APKBUILD b/community/makepasswd/APKBUILD
index 211bbd9e34..034a25d2a3 100644
--- a/unmaintained/makepasswd/APKBUILD
+++ b/community/makepasswd/APKBUILD
@@ -1,44 +1,34 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=makepasswd
-pkgver=0.5.2
+pkgver=0.5.3
pkgrel=0
pkgdesc="Generates (pseudo-)random passwords of a desired length"
url="http://people.defora.org/~khorben/projects/makepasswd/"
arch="all"
license="GPL3"
depends=""
-depends_dev=""
-makedepends="$depends_dev libxslt docbook-xsl"
+makedepends="libxslt docbook-xsl openssl-dev"
install=""
subpackages="$pkgname-doc"
source="http://ftp.defora.org/pub/projects/makepasswd/$pkgname-$pkgver.tar.gz"
-_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
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
make || return 1
pushd doc
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
install -D -p -m 755 src/makepasswd "$pkgdir"/usr/bin/makepasswd
install -D -p -m 644 doc/makepasswd.1 \
"$pkgdir"/usr/share/man/man1/$pkgname.1 || return 1
}
-md5sums="cf9cc172c57bf8443514e69ad72ec412 makepasswd-0.5.2.tar.gz"
-sha256sums="8a08e40972ab6db3c57e7e5040d4ca9f7be792d3405afd54de136ebbb7039891 makepasswd-0.5.2.tar.gz"
-sha512sums="24bf03bb9170bb96e2262b889e6ba789618a81e132895d0e35615d70d35b6ac36d8001d49f3bc688e062d922049e07ea40528ee4b315b2f3241df6bec5d33633 makepasswd-0.5.2.tar.gz"
+md5sums="f9303ba52592555a45b11e35779ca11f makepasswd-0.5.3.tar.gz"
+sha256sums="e632d31b45919be41b4ab29634e20926b2bdbba4086a8817e311fb68dd17c036 makepasswd-0.5.3.tar.gz"
+sha512sums="9b0c7ac44a81ab900d97d403e7f088756fc92bbd516b83391a23fa0c13f1c18137fd47ff8faa418c46bc8dfb11d3ea43d84c5f268dd6409c2ed3431afa536a4a makepasswd-0.5.3.tar.gz"