rpms/milter-greylist/F-11 milter-greylist.spec,1.32,1.33

ensc ensc at fedoraproject.org
Wed Aug 19 20:50:51 UTC 2009


Author: ensc

Update of /cvs/extras/rpms/milter-greylist/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22264

Modified Files:
	milter-greylist.spec 
Log Message:
- do not link against libbind anymore; recent glibc seems to have
  fixed its resolver API so that -lresolv can be used by dnsrbl. Old
  -lbind conflicts with this library in a subtly way causing segfaults
  (#518274).



Index: milter-greylist.spec
===================================================================
RCS file: /cvs/extras/rpms/milter-greylist/F-11/milter-greylist.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -p -r1.32 -r1.33
--- milter-greylist.spec	19 Aug 2009 20:00:46 -0000	1.32
+++ milter-greylist.spec	19 Aug 2009 20:50:51 -0000	1.33
@@ -19,7 +19,7 @@
 Summary:	Milter for greylisting, the next step in the spam control war
 Name:		milter-greylist
 Version:	4.2.3
-Release:	%release_func 0%{?beta}
+Release:	%release_func 1%{?beta}
 License:	BSD with advertising
 Group:		System Environment/Daemons
 URL:		http://hcpnet.free.fr/milter-greylist/
@@ -32,7 +32,6 @@ Requires:		init(%name)
 Provides:		user(%username)  = 7
 Provides:		group(%username) = 7
 BuildRequires:		bison flex m4
-BuildRequires:		%_libdir/libbind.so
 BuildRequires:		sendmail-devel %{?with_spf:libspf-devel}
 BuildRequires:		fedora-usermgmt-devel
 BuildRequires:		curl-devel GeoIP-devel
@@ -120,8 +119,8 @@ done
 
 %define makeflags	TEST=false BINDIR=%_sbindir
 %build
-export CPPFLAGS="-DUSE_CURL -DUSE_GEOIP -D_GNU_SOURCE -D_REENTRANT $(pkg-config --cflags-only-I libcurl libbind)"
-export LDFLAGS="-Wl,--as-needed -lbind -lcurl -lGeoIP"
+export CPPFLAGS="-DUSE_CURL -DUSE_GEOIP -D_GNU_SOURCE -D_REENTRANT $(pkg-config --cflags-only-I libcurl)"
+export LDFLAGS="-Wl,--as-needed $(pkg-config --libs libcurl) -lGeoIP"
 %configure \
 	--disable-rpath				\
 	--with-user=%username			\
@@ -213,6 +212,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %changelog
 * Wed Aug 19 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 4.2.3-1
+- do not link against libbind anymore; recent glibc seems to have
+  fixed its resolver API so that -lresolv can be used by dnsrbl. Old
+  -lbind conflicts with this library in a subtly way causing segfaults
+  (#518274).
+
+* Wed Aug 19 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 4.2.3-0
 - updated to 4.2.3
 
 * Sat Apr 11 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 4.2.2-0.




More information about the fedora-extras-commits mailing list