[arch-commits] Commit in postgrey/repos/community-any (10 files)
Eli Schwartz
eschwartz at archlinux.org
Sun Jul 8 07:41:18 UTC 2018
Date: Sunday, July 8, 2018 @ 07:41:18
Author: eschwartz
Revision: 354628
archrelease: copy trunk to community-any
Added:
postgrey/repos/community-any/PKGBUILD
(from rev 354627, postgrey/trunk/PKGBUILD)
postgrey/repos/community-any/postgrey.service
(from rev 354627, postgrey/trunk/postgrey.service)
postgrey/repos/community-any/postgrey.sysusers
(from rev 354627, postgrey/trunk/postgrey.sysusers)
postgrey/repos/community-any/postgrey.tmpfiles
(from rev 354627, postgrey/trunk/postgrey.tmpfiles)
postgrey/repos/community-any/untaint.patch
(from rev 354627, postgrey/trunk/untaint.patch)
Deleted:
postgrey/repos/community-any/PKGBUILD
postgrey/repos/community-any/postgrey.service
postgrey/repos/community-any/postgrey.sysusers
postgrey/repos/community-any/postgrey.tmpfiles
postgrey/repos/community-any/untaint.patch
-------------------+
PKGBUILD | 92 ++++++++++++++++++++++++++--------------------------
postgrey.service | 36 ++++++++++----------
postgrey.sysusers | 2 -
postgrey.tmpfiles | 4 +-
untaint.patch | 26 +++++++-------
5 files changed, 80 insertions(+), 80 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-08 07:40:35 UTC (rev 354627)
+++ PKGBUILD 2018-07-08 07:41:18 UTC (rev 354628)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sean Timothy Noonan <stnoonan at obsolescence.net>
-
-pkgname=postgrey
-pkgver=1.37
-pkgrel=2
-pkgdesc="a Postfix policy server implementing greylisting"
-arch=('any')
-url="https://postgrey.schweikert.ch/"
-options=(emptydirs)
-license=("GPL")
-depends=('perl-net-server' 'perl>=5.6.0' 'perl-berkeleydb' 'perl-io-multiplex'
- 'db>=4.1' 'perl-netaddr-ip')
-optdepends=('postfix: the recommended MTA for use with postgrey'
- 'exim: an alternative MTA'
- 'perl-net-dns: for postgreyreport tool')
-backup=(etc/postfix/postgrey_whitelist_recipients
- etc/postfix/postgrey_whitelist_clients)
-source=($url/pub/$pkgname-$pkgver.tar.gz
- postgrey.service
- postgrey.sysusers
- postgrey.tmpfiles
- untaint.patch)
-sha256sums=('ff4d9543f8f5cb0356c30ffe22255d942ac6128da734c376de211c02630fa5f7'
- 'd36c73b6a8ba96ba3eaa3e56098afda828ee56ec12000d3392ab450246d38e09'
- '859380a05ca55e1d07e1e38f16244adfa8cde9987414df9785206bddc84137cc'
- '85c9155ba3bcc55544a362cca7f6ae385f702cc26ea7d3fdafce38d30c297dfb'
- 'e5f80653c02681b54f28051104f1ce45991b014a86965610611b1b4921284bd7')
-
-prepare() {
- cd "$srcdir"/$pkgname-$pkgver
- patch -p0 <"$srcdir"/untaint.patch
-}
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver
- install -D -m 0755 postgrey "$pkgdir"/usr/bin/postgrey
- install -D -m 0755 contrib/postgreyreport "$pkgdir"/usr/bin/postgreyreport
- install -D -m 0644 postgrey_whitelist_recipients "$pkgdir"/etc/postfix/postgrey_whitelist_recipients
- install -D -m 0644 postgrey_whitelist_clients "$pkgdir"/etc/postfix/postgrey_whitelist_clients
-
- install -Dm0644 "$srcdir"/$pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service
- install -Dm0644 "$srcdir"/$pkgname.sysusers "$pkgdir"/usr/lib/sysusers.d/$pkgname.conf
- install -Dm0644 "$srcdir"/$pkgname.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/$pkgname.conf
-}
Copied: postgrey/repos/community-any/PKGBUILD (from rev 354627, postgrey/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-08 07:41:18 UTC (rev 354628)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sean Timothy Noonan <stnoonan at obsolescence.net>
+
+pkgname=postgrey
+pkgver=1.37
+pkgrel=3
+pkgdesc="a Postfix policy server implementing greylisting"
+arch=('any')
+url="https://postgrey.schweikert.ch/"
+options=(emptydirs)
+license=("GPL")
+depends=('perl-net-server' 'perl>=5.6.0' 'perl-berkeleydb' 'perl-io-multiplex'
+ 'db>=4.1' 'perl-netaddr-ip')
+optdepends=('postfix: the recommended MTA for use with postgrey'
+ 'exim: an alternative MTA'
+ 'perl-net-dns: for postgreyreport tool')
+backup=(etc/postfix/postgrey_whitelist_recipients
+ etc/postfix/postgrey_whitelist_clients)
+source=($url/pub/$pkgname-$pkgver.tar.gz
+ postgrey.service
+ postgrey.sysusers
+ postgrey.tmpfiles
+ untaint.patch)
+sha256sums=('ff4d9543f8f5cb0356c30ffe22255d942ac6128da734c376de211c02630fa5f7'
+ 'd36c73b6a8ba96ba3eaa3e56098afda828ee56ec12000d3392ab450246d38e09'
+ '859380a05ca55e1d07e1e38f16244adfa8cde9987414df9785206bddc84137cc'
+ '089a597a8faa92c9f910c00398f0ecb77b6573307fdb7c1989138d9af7c95ed0'
+ 'e5f80653c02681b54f28051104f1ce45991b014a86965610611b1b4921284bd7')
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -p0 <"$srcdir"/untaint.patch
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ install -D -m 0755 postgrey "$pkgdir"/usr/bin/postgrey
+ install -D -m 0755 contrib/postgreyreport "$pkgdir"/usr/bin/postgreyreport
+ install -D -m 0644 postgrey_whitelist_recipients "$pkgdir"/etc/postfix/postgrey_whitelist_recipients
+ install -D -m 0644 postgrey_whitelist_clients "$pkgdir"/etc/postfix/postgrey_whitelist_clients
+
+ install -Dm0644 "$srcdir"/$pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service
+ install -Dm0644 "$srcdir"/$pkgname.sysusers "$pkgdir"/usr/lib/sysusers.d/$pkgname.conf
+ install -Dm0644 "$srcdir"/$pkgname.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/$pkgname.conf
+}
Deleted: postgrey.service
===================================================================
--- postgrey.service 2018-07-08 07:40:35 UTC (rev 354627)
+++ postgrey.service 2018-07-08 07:41:18 UTC (rev 354628)
@@ -1,18 +0,0 @@
-[Unit]
-Description=Postfix Greylisting Service
-Before=postfix.service
-
-[Service]
-Type=forking
-PIDFile=/run/postgrey/postgrey.pid
-ExecStart=/usr/bin/postgrey --inet=127.0.0.1:10030 \
- --pidfile=/run/postgrey/postgrey.pid \
- --group=postgrey --user=postgrey \
- --daemonize \
- --greylist-text="Greylisted for %%s seconds"
-Restart=always
-RestartSec=5
-TimeoutSec=10
-
-[Install]
-WantedBy=multi-user.target
Copied: postgrey/repos/community-any/postgrey.service (from rev 354627, postgrey/trunk/postgrey.service)
===================================================================
--- postgrey.service (rev 0)
+++ postgrey.service 2018-07-08 07:41:18 UTC (rev 354628)
@@ -0,0 +1,18 @@
+[Unit]
+Description=Postfix Greylisting Service
+Before=postfix.service
+
+[Service]
+Type=forking
+PIDFile=/run/postgrey/postgrey.pid
+ExecStart=/usr/bin/postgrey --inet=127.0.0.1:10030 \
+ --pidfile=/run/postgrey/postgrey.pid \
+ --group=postgrey --user=postgrey \
+ --daemonize \
+ --greylist-text="Greylisted for %%s seconds"
+Restart=always
+RestartSec=5
+TimeoutSec=10
+
+[Install]
+WantedBy=multi-user.target
Deleted: postgrey.sysusers
===================================================================
--- postgrey.sysusers 2018-07-08 07:40:35 UTC (rev 354627)
+++ postgrey.sysusers 2018-07-08 07:41:18 UTC (rev 354628)
@@ -1 +0,0 @@
-u postgrey - - /var/spool/postfix/postgrey
Copied: postgrey/repos/community-any/postgrey.sysusers (from rev 354627, postgrey/trunk/postgrey.sysusers)
===================================================================
--- postgrey.sysusers (rev 0)
+++ postgrey.sysusers 2018-07-08 07:41:18 UTC (rev 354628)
@@ -0,0 +1 @@
+u postgrey - - /var/spool/postfix/postgrey
Deleted: postgrey.tmpfiles
===================================================================
--- postgrey.tmpfiles 2018-07-08 07:40:35 UTC (rev 354627)
+++ postgrey.tmpfiles 2018-07-08 07:41:18 UTC (rev 354628)
@@ -1,2 +0,0 @@
-d /var/spool/postfix/postgrey/ 0755 postgrey postgrey -
-d /var/run/postgrey 0755 postgrey postgrey -
Copied: postgrey/repos/community-any/postgrey.tmpfiles (from rev 354627, postgrey/trunk/postgrey.tmpfiles)
===================================================================
--- postgrey.tmpfiles (rev 0)
+++ postgrey.tmpfiles 2018-07-08 07:41:18 UTC (rev 354628)
@@ -0,0 +1,2 @@
+d /var/spool/postfix/postgrey/ 0755 postgrey postgrey -
+d /run/postgrey 0755 postgrey postgrey -
Deleted: untaint.patch
===================================================================
--- untaint.patch 2018-07-08 07:40:35 UTC (rev 354627)
+++ untaint.patch 2018-07-08 07:41:18 UTC (rev 354628)
@@ -1,13 +0,0 @@
---- postgrey.orig 2010-05-04 20:51:52.000000000 +0000
-+++ postgrey
-@@ -552,6 +552,10 @@ sub main()
- if($opt{dbdir}) {
- $opt{dbdir} =~ /^(.*)$/; $opt{dbdir} = $1;
- }
-+ # untaint pidfile
-+ if($opt{pidfile}) {
-+ $opt{pidfile} =~ /^(.*)$/; $opt{pidfile} = $1;
-+ }
-
- # determine proper "logsock" for Sys::Syslog
- my $syslog_logsock;
Copied: postgrey/repos/community-any/untaint.patch (from rev 354627, postgrey/trunk/untaint.patch)
===================================================================
--- untaint.patch (rev 0)
+++ untaint.patch 2018-07-08 07:41:18 UTC (rev 354628)
@@ -0,0 +1,13 @@
+--- postgrey.orig 2010-05-04 20:51:52.000000000 +0000
++++ postgrey
+@@ -552,6 +552,10 @@ sub main()
+ if($opt{dbdir}) {
+ $opt{dbdir} =~ /^(.*)$/; $opt{dbdir} = $1;
+ }
++ # untaint pidfile
++ if($opt{pidfile}) {
++ $opt{pidfile} =~ /^(.*)$/; $opt{pidfile} = $1;
++ }
+
+ # determine proper "logsock" for Sys::Syslog
+ my $syslog_logsock;
More information about the arch-commits
mailing list