Subject: [alpine-aports] [PATCH] testing/pam_sqlite3: new aport

From: benoitm974 <[email-masked]>
Date: Mon, 26 Jun 2017 22:06:15 +0000

https://github.com/HormyAJP/pam_sqlite3
 PAM Module using a sqlite3 database as a backend
---
 testing/pam_sqlite3/APKBUILD | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 testing/pam_sqlite3/APKBUILD

diff --git a/testing/pam_sqlite3/APKBUILD b/testing/pam_sqlite3/APKBUILD
new file mode 100644
index 0000000000..aba3c309be
--- /dev/null
+++ b/testing/pam_sqlite3/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Benoit Masson <[email-masked]>
+# Maintainer: Benoit Masson <[email-masked]>
+pkgname=pam_sqlite3
+pkgver=1.0.2
+pkgrel=0
+pkgdesc="pam_sqlite3"
+url="https://github.com/HormyAJP/pam_sqlite3"
+arch="all"
+license="GPL3"
+depends="linux-pam"
+makedepends="linux-pam-dev sqlite-dev bsd-compat-headers"
+install=""
+subpackages=""
+source="$pkgname-$pkgver.tar.gz::https://github.com/HormyAJP/pam_sqlite3/archive/v1.0.2.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+options="!check"
+
+build() {
+	cd "$builddir"
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--enable-static-modules
+	make
+}
+
+package() {
+	cd "$builddir"
+	mkdir -p "$pkgdir/lib/security/"
+#	make DESTDIR="$pkgdir" install
+	install -c -m 755 -o root pam_sqlite3.so $pkgdir/lib/security/
+}
+
+sha512sums="c6925adeae0f22abef20b02404a64144990d604a77fea16d100174b7a68617662ad59eba466aa33d40001e07a24ec1579cc2b59a5fcd5fb5570f658ac1a2be5e  pam_sqlite3-1.0.2.tar.gz"
-- 
2.13.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---