[arch-commits] Commit in dkfilter/repos (6 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:54:12 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:54:12
  Author: felixonmars
Revision: 658275

archrelease: copy trunk to community-staging-any

Added:
  dkfilter/repos/community-staging-any/
  dkfilter/repos/community-staging-any/PKGBUILD
    (from rev 658273, dkfilter/trunk/PKGBUILD)
  dkfilter/repos/community-staging-any/dkfilter-in.service
    (from rev 658273, dkfilter/trunk/dkfilter-in.service)
  dkfilter/repos/community-staging-any/dkfilter-out.service
    (from rev 658273, dkfilter/trunk/dkfilter-out.service)
  dkfilter/repos/community-staging-any/dkfilter.conf.d
    (from rev 658273, dkfilter/trunk/dkfilter.conf.d)
  dkfilter/repos/community-staging-any/dkfilter.install
    (from rev 658273, dkfilter/trunk/dkfilter.install)

----------------------+
 PKGBUILD             |   36 ++++++++++++++++++++++++++++++++++++
 dkfilter-in.service  |   12 ++++++++++++
 dkfilter-out.service |   12 ++++++++++++
 dkfilter.conf.d      |   25 +++++++++++++++++++++++++
 dkfilter.install     |    7 +++++++
 5 files changed, 92 insertions(+)

Copied: dkfilter/repos/community-staging-any/PKGBUILD (from rev 658273, dkfilter/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 12:54:12 UTC (rev 658275)
@@ -0,0 +1,36 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=dkfilter
+pkgver=0.11
+pkgrel=12
+pkgdesc="Domain key filter"
+arch=('any')
+url="http://jason.long.name/dkfilter/"
+license=('GPL')
+depends=(perl-crypt-openssl-rsa perl-mailtools perl-net-dns perl-net-server perl-mail-domainkeys)
+options=('!emptydirs')
+backup=(etc/conf.d/dkfilter)
+install=dkfilter.install
+source=(http://jason.long.name/dkfilter/dkfilter-$pkgver.tar.gz
+	dkfilter-in.service
+	dkfilter-out.service
+	dkfilter.conf.d)
+md5sums=('e295678fc728c139137bfadf4a679262'
+         '550ef7abc5dd6a5610dd6ef7f4ab5fee'
+         '4baff6ebf7d8da2b390e1ad49fc041b5'
+         'a2fb031fa9493ccc082d953cd023a097')
+
+build() {
+  cd  "$srcdir"/dkfilter-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd  "$srcdir"/dkfilter-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m 0644 "$srcdir"/dkfilter.conf.d "$pkgdir"/etc/conf.d/dkfilter
+
+  install -Dm0644 "$srcdir"/$pkgname-in.service "$pkgdir"/usr/lib/systemd/system/$pkgname-in.service
+  install -Dm0644 "$srcdir"/$pkgname-out.service "$pkgdir"/usr/lib/systemd/system/$pkgname-out.service
+}

Copied: dkfilter/repos/community-staging-any/dkfilter-in.service (from rev 658273, dkfilter/trunk/dkfilter-in.service)
===================================================================
--- community-staging-any/dkfilter-in.service	                        (rev 0)
+++ community-staging-any/dkfilter-in.service	2020-07-07 12:54:12 UTC (rev 658275)
@@ -0,0 +1,12 @@
+[Unit]
+Description=DKFilter input service
+After=network.target remote-fs.target nss-lookup.target
+
+[Service]
+Type=forking
+EnvironmentFile=/etc/conf.d/dkfilter
+PIDFile=/var/run/dkfilter.in
+ExecStart=dkfilter.in --user=$DKFILTER_USER --group=$DKFILTER_GROUP --hostname=$DKFILTER_HOSTNAME 127.0.0.1:10025 127.0.0.1:10026
+
+[Install]
+WantedBy=multi-user.target

Copied: dkfilter/repos/community-staging-any/dkfilter-out.service (from rev 658273, dkfilter/trunk/dkfilter-out.service)
===================================================================
--- community-staging-any/dkfilter-out.service	                        (rev 0)
+++ community-staging-any/dkfilter-out.service	2020-07-07 12:54:12 UTC (rev 658275)
@@ -0,0 +1,12 @@
+[Unit]
+Description=DKFilter output service
+After=network.target remote-fs.target nss-lookup.target
+
+[Service]
+Type=forking
+EnvironmentFile=/etc/conf.d/dkfilter
+PIDFile=/var/run/dkfilter.out
+ExecStart=dkfilter.out --user=$DKFILTER_USER --group=$DKFILTER_GROUP --keyfile=$DKFILTER_PRIVATE_KEY --selector=$DKFILTER_SELECTOR --domain=$DKFILTER_DOMAIN --method=nofws --headers 127.0.0.1:10027 127.0.0.1:10028
+
+[Install]
+WantedBy=multi-user.target

Copied: dkfilter/repos/community-staging-any/dkfilter.conf.d (from rev 658273, dkfilter/trunk/dkfilter.conf.d)
===================================================================
--- community-staging-any/dkfilter.conf.d	                        (rev 0)
+++ community-staging-any/dkfilter.conf.d	2020-07-07 12:54:12 UTC (rev 658275)
@@ -0,0 +1,25 @@
+#
+# UID and GID for dkfilter
+#
+DKFILTER_USER=dkfilter
+DKFILTER_GROUP=dkfilter
+
+#
+# Private key
+#
+DKFILTER_PRIVATE_KEY=/etc/dkfilter/private.key
+
+#
+# Hostname (Who verified incoming email)
+#
+DKFILTER_HOSTNAME=`hostname -f`
+
+#
+# Domain (sign outbound email for this domain)
+#
+DKFILTER_DOMAIN=`hostname -d`
+
+#
+# Selector (you may choose random name)
+#
+DKFILTER_SELECTOR=server1

Copied: dkfilter/repos/community-staging-any/dkfilter.install (from rev 658273, dkfilter/trunk/dkfilter.install)
===================================================================
--- community-staging-any/dkfilter.install	                        (rev 0)
+++ community-staging-any/dkfilter.install	2020-07-07 12:54:12 UTC (rev 658275)
@@ -0,0 +1,7 @@
+post_install() {
+  echo "-- You should add dkfilter user and group"
+}
+
+post_remove() {
+  echo "-- You may remove dkfilter user and group"
+}



More information about the arch-commits mailing list