summaryrefslogtreecommitdiff
path: root/opensmtpd-table-passwd/PKGBUILD
diff options
context:
space:
mode:
authorDeposite Pirate2020-03-03 21:42:37 +0100
committerDeposite Pirate2020-03-03 21:42:37 +0100
commit3067dd697a5b7e9501128241b4f177d3848da3c3 (patch)
treec8f1be73594b7b066372d5a0bee90d21889e47ba /opensmtpd-table-passwd/PKGBUILD
parent0e072dee3919da48a6714351068daa89070f1a3f (diff)
* Take over opensmtpd-table-passwd.
new file: opensmtpd-table-passwd/.SRCINFO new file: opensmtpd-table-passwd/PKGBUILD
Diffstat (limited to 'opensmtpd-table-passwd/PKGBUILD')
-rw-r--r--opensmtpd-table-passwd/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/opensmtpd-table-passwd/PKGBUILD b/opensmtpd-table-passwd/PKGBUILD
new file mode 100644
index 0000000..92d956d
--- /dev/null
+++ b/opensmtpd-table-passwd/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
+#
+# Former maintainer:
+# Bruno Pagani (a.k.a. ArchangeGabriel) <bruno.n.pagani@gmail.com>
+# Contributor:
+# parchd <parchd@archlinux.info>
+#
+# Upstream: https://git.metalpunks.info/arch-ports
+
+_pkg=opensmtpd-extras
+pkgname=opensmtpd-table-passwd
+pkgver=6.6.0
+pkgrel=1
+pkgdesc="table-passwd for using a passwd file with OpenSMTPd"
+arch=('i686' 'x86_64')
+url="https://opensmtpd.org"
+license=('BSD')
+depends=('opensmtpd')
+conflicts=("${_pkg}")
+makedepends=('openssl')
+source=("https://www.opensmtpd.org/archives/${_pkg}-${pkgver}.tar.gz")
+sha256sums=('126b023602e8bb222bf24543a056ee0a548343dc86d184669ff9d82dfca1fbdf')
+
+build() {
+ cd OpenSMTPD-extras-${pkgver}
+ ./bootstrap
+ ./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
+}