summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSébastien Luttringer2015-08-04 00:21:09 +0200
committerSébastien Luttringer2015-08-04 00:21:09 +0200
commit8a227cd8dc02bbbb7814602525f020ab0c13b3ca (patch)
treea6135a3f69ca4e568ef622094c183247b041b9e9
downloadaur-8a227cd8dc02bbbb7814602525f020ab0c13b3ca.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD34
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..44c7f4c2513
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = makepasswd
+ pkgdesc = Generates true random passwords with the emphasis on security over pronounceability (Debian version)
+ pkgver = 1.10_10
+ pkgrel = 1
+ url = http://packages.qa.debian.org/m/makepasswd.html
+ arch = any
+ license = GPL2
+ depends = perl-passwd-md5
+ depends = perl-crypt-openssl-random
+ source = http://ftp.debian.org/debian/pool/main/m/makepasswd/makepasswd_1.10.orig.tar.gz
+ source = http://ftp.debian.org/debian/pool/main/m/makepasswd/makepasswd_1.10-10.diff.gz
+ md5sums = 55842bb4c064ebcdedffb4afd5f0945a
+ md5sums = e9ec121ed24c08f7b9b21b325f3a9fef
+
+pkgname = makepasswd
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3c9838c4440
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 137423 2015-07-26 14:50:18Z seblu $
+# Maintainer: Sébastien Luttringer
+# Contributor: Thayer Williams <thayer@archlinux.org>
+# Contributor: Travis Willard <travisw@wmpub.ca>
+# Contributor: Manolis Tzanidakis
+
+pkgname=makepasswd
+pkgver=1.10_10
+pkgrel=1
+pkgdesc='Generates true random passwords with the emphasis on security over pronounceability (Debian version)'
+arch=('any')
+url='http://packages.qa.debian.org/m/makepasswd.html'
+license=('GPL2')
+depends=('perl-passwd-md5' 'perl-crypt-openssl-random')
+source=("http://ftp.debian.org/debian/pool/main/m/${pkgname}/${pkgname}_${pkgver%_*}.orig.tar.gz"
+ "http://ftp.debian.org/debian/pool/main/m/${pkgname}/${pkgname}_${pkgver//_/-}.diff.gz")
+md5sums=('55842bb4c064ebcdedffb4afd5f0945a'
+ 'e9ec121ed24c08f7b9b21b325f3a9fef')
+
+prepare() {
+ patch -p1 -d "$pkgname-${pkgver%_*}" < "${pkgname}_${pkgver//_/-}.diff"
+}
+
+check() {
+ ./makepasswd
+}
+
+package() {
+ cd $pkgname-${pkgver%_*}
+ install -D -m0755 makepasswd "$pkgdir/usr/bin/makepasswd"
+ install -D -m0644 makepasswd.1 "$pkgdir/usr/share/man/man1/makepasswd.1"
+}
+
+# vim:set ts=2 sw=2 et: