[arch-commits] Commit in postfwd/repos/community-any (6 files)

Florian Pritz bluewind at archlinux.org
Sat Aug 1 13:24:09 UTC 2020


    Date: Saturday, August 1, 2020 @ 13:24:09
  Author: bluewind
Revision: 667481

archrelease: copy trunk to community-any

Added:
  postfwd/repos/community-any/PKGBUILD
    (from rev 667480, postfwd/trunk/PKGBUILD)
  postfwd/repos/community-any/postfwd.sysusers
    (from rev 667480, postfwd/trunk/postfwd.sysusers)
  postfwd/repos/community-any/service
    (from rev 667480, postfwd/trunk/service)
Deleted:
  postfwd/repos/community-any/PKGBUILD
  postfwd/repos/community-any/postfwd.sysusers
  postfwd/repos/community-any/service

------------------+
 PKGBUILD         |   98 +++++++++++++++++++++++++++--------------------------
 postfwd.sysusers |    2 -
 service          |   22 +++++------
 3 files changed, 62 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-01 13:24:06 UTC (rev 667480)
+++ PKGBUILD	2020-08-01 13:24:09 UTC (rev 667481)
@@ -1,48 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-# Contributor: Phillip Smith <fukawi2 at NO-SPAM.gmail.com>
-
-pkgname=postfwd
-pkgver=2.02
-pkgrel=2
-pkgdesc="Combines complex postfix restrictions in a ruleset similar to those of the most firewalls"
-arch=(any)
-url="https://postfwd.org/"
-license=('bsd')
-depends=('perl' 'perl-io-multiplex' 'perl-net-server' 'perl-net-dns')
-source=("https://postfwd.org/$pkgname-$pkgver.tar.gz"
-        "postfwd.sysusers"
-        "service")
-md5sums=('f5457041d2c6275ede9588e72a4e021b'
-         'e9fab05e2262385b759bd68c580e1f05'
-         '1c9295de6da98241eb55e62809746030')
-backup=('etc/postfwd/postfwd.cf')
-
-prepare() {
-  cd "$srcdir/$pkgname"
-
-  sed -i bin/postfwd-script.sh \
-      -e 's|PFWCMD=/usr/local/postfwd/sbin/postfwd|PFWCMD=/usr/bin/postfwd|g'
-}
-
-package() {
-  cd "$srcdir/$pkgname"
-
-  install -dm755 "$pkgdir"/{etc/$pkgname,usr/{bin,share/{man,$pkgname}}}
-
-  cp -ra etc/*    "$pkgdir/etc/$pkgname/"
-  cp -ra -t "$pkgdir/usr/bin/" bin/* sbin/*
-  cp -ra man/*    "$pkgdir/usr/share/man/"
-  cp -ra tools/*  "$pkgdir/usr/share/$pkgname/"
-  cp -ra doc/*    "$pkgdir/usr/share/$pkgname/"
-
-  install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/${pkgname}.service"
-  install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/${pkgname}2.service"
-  sed -i 's|/usr/bin/postfwd|/usr/bin/postfwd2|' "$pkgdir/usr/lib/systemd/system/${pkgname}2.service"
-
-  install -Dm644 "$srcdir/postfwd.sysusers" "$pkgdir/usr/lib/sysusers.d/postfwd.conf"
-
-  install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
-  mv "$pkgdir/usr/share/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: postfwd/repos/community-any/PKGBUILD (from rev 667480, postfwd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-01 13:24:09 UTC (rev 667481)
@@ -0,0 +1,50 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Phillip Smith <fukawi2 at NO-SPAM.gmail.com>
+
+pkgname=postfwd
+pkgver=2.03
+pkgrel=1
+pkgdesc="Combines complex postfix restrictions in a ruleset similar to those of the most firewalls"
+arch=(any)
+url="https://postfwd.org/"
+license=('bsd')
+depends=('perl' 'perl-io-multiplex' 'perl-net-server' 'perl-net-dns')
+source=("https://postfwd.org/$pkgname-$pkgver.tar.gz"
+        "postfwd.sysusers"
+        "service")
+md5sums=('ab4da91fafdc5054b29202e87928cc1a'
+         'e9fab05e2262385b759bd68c580e1f05'
+         '1c9295de6da98241eb55e62809746030')
+backup=('etc/postfwd/postfwd.cf')
+
+prepare() {
+  cd "$srcdir/$pkgname"
+
+  sed -i bin/postfwd-script.sh \
+      -e 's|PFWCMD=/usr/local/postfwd/sbin/postfwd|PFWCMD=/usr/bin/postfwd|g'
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+
+  install -dm755 "$pkgdir"/{etc/$pkgname,usr/{bin,share/{man,$pkgname}}}
+
+  cp -ra etc/*    "$pkgdir/etc/$pkgname/"
+  cp -ra -t "$pkgdir/usr/bin/" bin/* sbin/*
+  cp -ra man/*    "$pkgdir/usr/share/man/"
+  cp -ra tools/*  "$pkgdir/usr/share/$pkgname/"
+  cp -ra doc/*    "$pkgdir/usr/share/$pkgname/"
+
+  install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/${pkgname}.service"
+  install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/${pkgname}2.service"
+  sed -i 's|/usr/bin/postfwd|/usr/bin/postfwd2|' "$pkgdir/usr/lib/systemd/system/${pkgname}2.service"
+
+  rm "$pkgdir/usr/bin/postfwd.service"
+
+  install -Dm644 "$srcdir/postfwd.sysusers" "$pkgdir/usr/lib/sysusers.d/postfwd.conf"
+
+  install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
+  mv "$pkgdir/usr/share/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: postfwd.sysusers
===================================================================
--- postfwd.sysusers	2020-08-01 13:24:06 UTC (rev 667480)
+++ postfwd.sysusers	2020-08-01 13:24:09 UTC (rev 667481)
@@ -1 +0,0 @@
-u postfwd - - -

Copied: postfwd/repos/community-any/postfwd.sysusers (from rev 667480, postfwd/trunk/postfwd.sysusers)
===================================================================
--- postfwd.sysusers	                        (rev 0)
+++ postfwd.sysusers	2020-08-01 13:24:09 UTC (rev 667481)
@@ -0,0 +1 @@
+u postfwd - - -

Deleted: service
===================================================================
--- service	2020-08-01 13:24:06 UTC (rev 667480)
+++ service	2020-08-01 13:24:09 UTC (rev 667481)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Postfix firewall daemon
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/postfwd --shortlog --summary=600 --cache=600 --cache-rbl-timeout=3600 --cleanup-requests=1200 --cleanup-rbls=1800 --cleanup-rates=1200 --daemon --file=/etc/postfwd/postfwd.cf --interface=127.0.0.1 --port=10040 --pidfile=/var/run/postfwd.pid --user=postfwd --group=postfwd
-ExecStop=/usr/bin/postfwd --file=/etc/postfwd/postfwd.cf --pidfile=/var/run/postfwd.pid --kill
-ExecReload=/usr/bin/postfwd --file=/etc/postfwd/postfwd.cf --pidfile=/var/run/postfwd.pid --reload
-
-[Install]
-WantedBy=multi-user.target

Copied: postfwd/repos/community-any/service (from rev 667480, postfwd/trunk/service)
===================================================================
--- service	                        (rev 0)
+++ service	2020-08-01 13:24:09 UTC (rev 667481)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Postfix firewall daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/postfwd --shortlog --summary=600 --cache=600 --cache-rbl-timeout=3600 --cleanup-requests=1200 --cleanup-rbls=1800 --cleanup-rates=1200 --daemon --file=/etc/postfwd/postfwd.cf --interface=127.0.0.1 --port=10040 --pidfile=/var/run/postfwd.pid --user=postfwd --group=postfwd
+ExecStop=/usr/bin/postfwd --file=/etc/postfwd/postfwd.cf --pidfile=/var/run/postfwd.pid --kill
+ExecReload=/usr/bin/postfwd --file=/etc/postfwd/postfwd.cf --pidfile=/var/run/postfwd.pid --reload
+
+[Install]
+WantedBy=multi-user.target


More information about the arch-commits mailing list