rpms/milter-greylist/devel milter-greylist.spec, 1.17, 1.18 sources, 1.9, 1.10

Enrico Scholz (ensc) fedora-extras-commits at redhat.com
Sun Oct 14 12:43:52 UTC 2007


Author: ensc

Update of /cvs/extras/rpms/milter-greylist/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31209

Modified Files:
	milter-greylist.spec sources 
Log Message:
- updated to 4.0rc1
- built with curl and GeoIP support



Index: milter-greylist.spec
===================================================================
RCS file: /cvs/extras/rpms/milter-greylist/devel/milter-greylist.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- milter-greylist.spec	25 Apr 2007 06:59:08 -0000	1.17
+++ milter-greylist.spec	14 Oct 2007 12:43:19 -0000	1.18
@@ -14,16 +14,18 @@
 %global rundir		%_var/run/%name
 %global __chkconfig	/sbin/chkconfig
 
+%global beta		rc1
+
 %{!?release_func:%global release_func() %1%{?dist}}
 
 Summary:	Milter for greylisting, the next step in the spam control war
 Name:		milter-greylist
-Version:	3.0
-Release:	%release_func 2
+Version:	4.0
+Release:	%release_func 0.2%{?beta:.%beta}
 License:	BSD w/ advertising
 Group:		System Environment/Daemons
 URL:		http://hcpnet.free.fr/milter-greylist/
-Source0:	ftp://ftp.espci.fr/pub/milter-greylist/%name-%version.tgz
+Source0:	ftp://ftp.espci.fr/pub/milter-greylist/%name-%version%{?beta}.tgz
 Patch0:		milter-greylist-2.0.2-sysv.patch
 BuildRoot:	%_tmppath/%name-%version-%release-root
 Requires:		init(%name)
@@ -33,6 +35,7 @@
 BuildRequires:		%_libdir/libbind.so
 BuildRequires:		sendmail-devel %{?with_spf:libspf-devel}
 BuildRequires:		fedora-usermgmt-devel
+BuildRequires:		curl-devel GeoIP-devel
 %{?FE_USERADD_REQ}
 
 %package sysv
@@ -68,7 +71,7 @@
 
 
 %prep
-%setup -q
+%setup -q %{?beta:-n %name-%version%beta}
 %patch0 -p1 -b .sysv
 
 sed -i -e 's!--rpath!\0X!g' configure
@@ -88,10 +91,11 @@
 
 %define makeflags	TEST=false BINDIR=%_sbindir
 %build
+export CPPFLAGS='-DUSE_CURL -DUSE_GEOIP'
+export LIBS="-Wl,--as-needed -lGeoIP $(pkg-config --libs libcurl)" 
 %configure \
 	--with-user=%username			\
 	--enable-dnsrbl				\
-	--with-libbind				\
 	--disable-drac				\
 	--with-drac-db=%vardir/drac/drac.db	\
 	%{?with_spf:--with-libspf=/usr}
@@ -161,6 +165,10 @@
 %endif
 
 %changelog
+* Sun Oct 14 2007 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 4.0-0.2.rc1
+- updated to 4.0rc1
+- built with curl and GeoIP support
+
 * Wed Apr 25 2007 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 3.0-2
 - fixed user name in config file (bz #237737)
 - commented out pidfile entry; it is to be set by the init methods


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/milter-greylist/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources	17 Apr 2007 18:28:04 -0000	1.9
+++ sources	14 Oct 2007 12:43:19 -0000	1.10
@@ -1 +1 @@
-ffdd5588c78a405c107d4c8a40c7e01a  milter-greylist-3.0.tgz
+afacbfedb0d0b29e895cd776133eef2c  milter-greylist-4.0rc1.tgz




More information about the fedora-extras-commits mailing list