diff options
author | Matt Housh <jaeger@crux.ninja> | 2022-04-09 22:45:51 -0500 |
---|---|---|
committer | Matt Housh <jaeger@crux.ninja> | 2022-04-09 22:45:51 -0500 |
commit | ab29be27f79c4a1c3dc8d2450868be938a392155 (patch) | |
tree | b03334200e8e7cc7ff2e8974443911c3d3113efa /postfix-pgsql | |
parent | aeeddb1664a1bc8273387fa9e978159b3a15bee3 (diff) | |
download | contrib-ab29be27f79c4a1c3dc8d2450868be938a392155.tar.gz contrib-ab29be27f79c4a1c3dc8d2450868be938a392155.tar.xz |
postfix-pgsql: initial import, version 3.7.0
Diffstat (limited to 'postfix-pgsql')
-rw-r--r-- | postfix-pgsql/.footprint | 8 | ||||
-rw-r--r-- | postfix-pgsql/.signature | 5 | ||||
-rw-r--r-- | postfix-pgsql/Pkgfile | 35 | ||||
-rw-r--r-- | postfix-pgsql/README | 8 |
4 files changed, 56 insertions, 0 deletions
diff --git a/postfix-pgsql/.footprint b/postfix-pgsql/.footprint new file mode 100644 index 000000000..f41980217 --- /dev/null +++ b/postfix-pgsql/.footprint @@ -0,0 +1,8 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/postfix/ +drwxr-xr-x root/root etc/postfix/dynamicmaps.cf.d/ +-rw-r--r-- root/root etc/postfix/dynamicmaps.cf.d/pgsql.cf +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/postfix/ +-rwxr-xr-x root/root usr/lib/postfix/postfix-pgsql.so diff --git a/postfix-pgsql/.signature b/postfix-pgsql/.signature new file mode 100644 index 000000000..57d305e0d --- /dev/null +++ b/postfix-pgsql/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF34KhDJ2eQK3c2rYc34vBgEMUI7Isxc+2V47Eh5DzwmGVG/gay6ZdVGZVfRD2XKxb7c4PlF9nhtV36UYRPfb3rQQ= +SHA256 (Pkgfile) = f2467d3de4ab277f4298e721cee31e6c623d90dfa5b22b4d2e9185b4f872538c +SHA256 (.footprint) = c398d33f41785bacc5a8588ecf716dd8f522b601a45b7017129c6d5aec117205 +SHA256 (postfix-3.7.0.tar.gz) = 645c6a74959703f8dff5b696b2df2e8bc0c91ac530127a21c998e3defbb9528c diff --git a/postfix-pgsql/Pkgfile b/postfix-pgsql/Pkgfile new file mode 100644 index 000000000..36d201f5c --- /dev/null +++ b/postfix-pgsql/Pkgfile @@ -0,0 +1,35 @@ +# Description: Postfix Mail Transport Agent (MTA) PostgreSQL database support +# URL: http://www.postfix.org/ +# Maintainer: Matt Housh, jaeger at crux dot ninja +# Depends on: postfix postgresql + +name=postfix-pgsql +version=3.7.0 +release=1 +source=(http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${version}.tar.gz) + +build() { + cd postfix-$version + + make tidy + make makefiles \ + DEBUG="" \ + OPT="${CFLAGS}" \ + pie=yes \ + shared=yes \ + dynamicmaps=yes \ + CCARGS="-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DUSE_TLS -I/usr/include/sasl" \ + AUXLIBS="-lsasl2 -lssl -lcrypto" \ + CCARGS+="-DHAS_PGSQL -I /usr/include/postgresql" \ + AUXLIBS_PGSQL="-lpq" + make + + install -D -m 0755 lib/postfix-pgsql.so \ + ${PKG}/usr/lib/postfix/postfix-pgsql.so + + install -d -m 0755 ${PKG}/etc/postfix/dynamicmaps.cf.d + echo -e "pgsql\tpostfix-pgsql.so\tdict_pgsql_open" > \ + ${PKG}/etc/postfix/dynamicmaps.cf.d/pgsql.cf +} + +# vim: set ts=4 et: diff --git a/postfix-pgsql/README b/postfix-pgsql/README new file mode 100644 index 000000000..fed549ad2 --- /dev/null +++ b/postfix-pgsql/README @@ -0,0 +1,8 @@ +# postfix-pgsql README + +NOTE: Currently postfix does not build with fakeroot; if you see a message +which says "ATTENTION: Not supported: building with LD_LIBRARY_PATH" this +is the cause. + +See http://www.postfix.org/PGSQL_README.html for general information about +postfix PostgreSQL support. |