diff --git a/.cvsignore b/.cvsignore index 42fabd5..3f1d712 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -postgrey-1.27.tar.gz +postgrey-1.28.tar.gz diff --git a/postgrey-1.27-group.patch b/postgrey-1.27-group.patch deleted file mode 100644 index 70d2d2c..0000000 --- a/postgrey-1.27-group.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Naupr postgrey-1.27.orig/postgrey postgrey-1.27/postgrey ---- postgrey-1.27.orig/postgrey 2006-07-17 14:53:30.000000000 +0200 -+++ postgrey-1.27/postgrey 2006-11-06 13:34:04.000000000 +0100 -@@ -441,7 +441,7 @@ sub main() - port => [ $opt{inet} ? $opt{inet} : $opt{unix}."|unix" ], - proto => $opt{inet} ? 'tcp' : 'unix', - user => $opt{user} || 'postgrey', -- group => $opt{group} || 'nogroup', -+ group => $opt{group} || 'postgrey', - dbdir => $opt{dbdir} || '/var/spool/postfix/postgrey', - setsid => $opt{daemonize} ? 1 : undef, - pid_file => $opt{daemonize} ? $opt{pidfile} : undef, -@@ -623,7 +623,7 @@ B [I...] - -d, --daemonize run in the background - --pidfile=PATH put daemon pid into this file - --user=USER run as USER (default: postgrey) -- --group=GROUP run as group GROUP (default: nogroup) -+ --group=GROUP run as group GROUP (default: postgrey) - --dbdir=PATH put db files in PATH (default: /var/spool/postfix/postgrey) - --delay=N greylist for N seconds (default: 300) - --max-age=N delete entries older than N days since the last time diff --git a/postgrey-1.28-group.patch b/postgrey-1.28-group.patch new file mode 100644 index 0000000..d97947f --- /dev/null +++ b/postgrey-1.28-group.patch @@ -0,0 +1,21 @@ +diff -Naupr postgrey-1.28.orig/postgrey postgrey-1.28/postgrey +--- postgrey-1.28.orig/postgrey 2007-06-21 15:44:54.000000000 +0200 ++++ postgrey-1.28/postgrey 2007-06-22 16:17:31.000000000 +0200 +@@ -486,7 +486,7 @@ sub main() + port => [ $opt{inet} ? $opt{inet} : $opt{unix}."|unix" ], + proto => $opt{inet} ? 'tcp' : 'unix', + user => $opt{user} || 'postgrey', +- group => $opt{group} || 'nogroup', ++ group => $opt{group} || 'postgrey', + dbdir => $opt{dbdir} || $DEFAULT_DBDIR, + setsid => $opt{daemonize} ? 1 : undef, + pid_file => $opt{daemonize} ? $opt{pidfile} : undef, +@@ -663,7 +663,7 @@ B [I...] + -d, --daemonize run in the background + --pidfile=PATH put daemon pid into this file + --user=USER run as USER (default: postgrey) +- --group=GROUP run as group GROUP (default: nogroup) ++ --group=GROUP run as group GROUP (default: postgrey) + --dbdir=PATH put db files in PATH (default: /var/spool/postfix/postgrey) + --delay=N greylist for N seconds (default: 300) + --max-age=N delete entries older than N days since the last time diff --git a/postgrey.spec b/postgrey.spec index baed395..44f48fe 100644 --- a/postgrey.spec +++ b/postgrey.spec @@ -2,15 +2,15 @@ Summary: Postfix Greylisting Policy Server Name: postgrey -Version: 1.27 -Release: 4%{?dist} +Version: 1.28 +Release: 1%{?dist} License: GPL Group: System Environment/Daemons -Source0: http://isg.ee.ethz.ch/tools/postgrey/pub/postgrey-%{version}.tar.gz +URL: http://postgrey.schweikert.ch/ +Source0: http://postgrey.schweikert.ch/pub/postgrey-%{version}.tar.gz Source1: postgrey.init Source2: README-rpm -Patch0: postgrey-1.27-group.patch -URL: http://isg.ee.ethz.ch/tools/postgrey/ +Patch0: postgrey-1.28-group.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root # We require postfix for its directories and gid Requires: postfix @@ -97,7 +97,7 @@ fi %files -%defattr(-, root, root, 0755) +%defattr(-,root,root,-) %doc Changes COPYING README README-rpm %{_sysconfdir}/rc.d/init.d/postgrey %config(noreplace) %{confdir}/postgrey_whitelist_clients @@ -106,10 +106,14 @@ fi %{_sbindir}/postgrey %{_sbindir}/postgreyreport %{_mandir}/man8/postgrey.8* -%dir %attr(0751, postgrey, postfix) %{_var}/spool/postfix/postgrey/ +%dir %attr(0751,postgrey,postfix) %{_var}/spool/postfix/postgrey/ %changelog +* Fri Jun 22 2007 Matthias Saou 1.28-1 +- Update to 1.28. +- Update URL to the new homepage. + * Mon Feb 12 2007 Matthias Saou 1.27-4 - Silence %%setup. - Fix init script mode in the srpm. diff --git a/sources b/sources index afb845d..a261f97 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -df3a8b4a0c6ab7e8e5bb5be0de096c47 postgrey-1.27.tar.gz +5d9d8a5c62f32fe7584aba2863774926 postgrey-1.28.tar.gz