summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorparchd2016-09-22 10:08:41 +0200
committerparchd2016-09-22 10:08:41 +0200
commit17232fd1b5532ff8b07c23970a916476eb8b2f08 (patch)
treef421846959e6c72c0d9f2de3e0580bc7ae2d4adf
downloadaur-17232fd1b5532ff8b07c23970a916476eb8b2f08.tar.gz
Snapshot version of table-passwd from opensmtpd-extras
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD38
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f1c23f216ec
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = opensmtpd-table-passwd
+ pkgdesc = table-passwd for using a passwd file with OpenSMTPd
+ pkgver = 201607122008
+ pkgrel = 1
+ url = https://opensmtpd.org
+ arch = i686
+ arch = x86_64
+ license = custom:opensmtpd
+ makedepends = openssl
+ depends = opensmtpd
+ conflicts = opensmtpd-extras
+ source = https://www.opensmtpd.org/archives/opensmtpd-extras-201607122008.tar.gz
+ sha256sums = 00a41fd9d468908f0863443acc4af99a894b44e9b6ca0cb6c93079447be2c5d0
+
+pkgname = opensmtpd-table-passwd
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..41a1144dcc6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: parchd <parchd@archlinux.info>
+pkgname=opensmtpd-table-passwd
+pkgver=201607122008
+pkgrel=1
+pkgdesc="table-passwd for using a passwd file with OpenSMTPd"
+arch=('i686' 'x86_64')
+url="https://opensmtpd.org"
+license=('custom:opensmtpd')
+depends=('opensmtpd')
+conflicts=('opensmtpd-extras')
+makedepends=('openssl')
+optdepends=()
+source=("https://www.opensmtpd.org/archives/opensmtpd-extras-$pkgver.tar.gz")
+sha256sums=('00a41fd9d468908f0863443acc4af99a894b44e9b6ca0cb6c93079447be2c5d0')
+
+prepare() {
+ cd "opensmtpd-extras-$pkgver"
+}
+
+build() {
+ cd "opensmtpd-extras-$pkgver"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc/smtpd \
+ --libexecdir=/usr/lib/smtpd \
+ --with-table-passwd
+ make
+}
+
+check() {
+ cd "opensmtpd-extras-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "opensmtpd-extras-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}