[csw-devel] SF.net SVN: gar:[20730] csw/mgar/pkg/spamassassin/trunk/Makefile

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Mon Apr 15 23:22:52 CEST 2013


Revision: 20730
          http://gar.svn.sourceforge.net/gar/?rev=20730&view=rev
Author:   bonivart
Date:     2013-04-15 21:22:52 +0000 (Mon, 15 Apr 2013)
Log Message:
-----------
spamassassin/trunk: fix direct bind (Yann), use reinplace

Modified Paths:
--------------
    csw/mgar/pkg/spamassassin/trunk/Makefile

Modified: csw/mgar/pkg/spamassassin/trunk/Makefile
===================================================================
--- csw/mgar/pkg/spamassassin/trunk/Makefile	2013-04-15 18:06:01 UTC (rev 20729)
+++ csw/mgar/pkg/spamassassin/trunk/Makefile	2013-04-15 21:22:52 UTC (rev 20730)
@@ -5,9 +5,6 @@
 
 DESCRIPTION = Mail filter with a wide range of tests
 define BLURB
-  SpamAssassin is a mail filter which attempts to identify spam using
-  a variety of mechanisms including text analysis, Bayesian filtering,
-  DNS blocklists, and collaborative filtering databases.
 endef
 
 MASTER_SITES = http://apache.dataphone.se/spamassassin/source/
@@ -54,8 +51,33 @@
 TEST_SCRIPTS      = custom
 INSTALL_SCRIPTS   = custom
 
-# Doc samples
-CHECKPKG_OVERRIDES_CSWspamassassin += file-with-bad-content
+REINPLACE_WHEN_USRSHARE = postinstall
+REINPLACE_USRSHARE += $(mandir)/man1/spamassassin.1
+REINPLACE_USRSHARE += $(mandir)/man1/sa-learn.1
+REINPLACE_USRSHARE += $(mandir)/man1/sa-compile.1
+REINPLACE_USRSHARE += $(mandir)/man1/spamd.1
+REINPLACE_USRSHARE += $(mandir)/man1/spamassassin-run.1
+REINPLACE_USRSHARE += $(mandir)/man3/spamassassin-run.3perl
+REINPLACE_USRSHARE += $(mandir)/man3/Mail::SpamAssassin::Conf.3perl
+REINPLACE_USRSHARE += $(bindir)/sa-compile
+REINPLACE_USRSHARE += $(bindir)/sa-learn
+REINPLACE_USRSHARE += $(bindir)/spamd
+REINPLACE_USRSHARE += $(bindir)/spamassassin
+REINPLACE_USRSHARE += $(docdir)/spamassassin/USAGE
+REINPLACE_USRSHARE += $(docdir)/spamassassin/README
+REINPLACE_USRSHARE += $(destdir)/opt/csw/share/perl/csw/spamassassin-run.pod
+REINPLACE_USRSHARE += $(destdir)/opt/csw/share/perl/csw/Mail/SpamAssassin.pm
+REINPLACE_USRSHARE += $(destdir)/opt/csw/share/perl/csw/Mail/SpamAssassin/Conf.pm
+REINPLACE_USRSHARE += $(destdir)/opt/csw/share/perl/csw/Mail/SpamAssassin/Locales.pm
+REINPLACE_USRSHARE += $(destdir)/opt/csw/share/perl/csw/Mail/SpamAssassin/Util/DependencyInfo.pm
+
+REINPLACE_WHEN_USRLOCAL = postinstall
+REINPLACE_USRLOCAL += $(destdir)/opt/csw/share/perl/csw/Mail/SpamAssassin.pm
+REINPLACE_USRLOCAL += $(docdir)/spamassassin/README
+REINPLACE_USRLOCAL += $(docdir)/spamassassin/sql/README
+REINPLACE_USRLOCAL += $(mandir)/man1/spamassassin.1
+REINPLACE_USRLOCAL += $(bindir)/spamassassin
+
 # Checkpkg can't determine perl deps
 CHECKPKG_OVERRIDES_CSWspamassassin += surplus-dependency|CSWpmmaildkim
 CHECKPKG_OVERRIDES_CSWspamassassin += surplus-dependency|CSWpm-html-parser
@@ -73,8 +95,6 @@
 CHECKPKG_OVERRIDES_CSWspamassassin += surplus-dependency|CSWpmipcountry
 CHECKPKG_OVERRIDES_CSWspamassassin += surplus-dependency|CSWpm-uri
 CHECKPKG_OVERRIDES_CSWspamassassin += surplus-dependency|CSWpm-net-dns
-# Couldn't make this work...
-CHECKPKG_OVERRIDES_CSWspamassassin += no-direct-binding|/opt/csw/bin/spamc|is|not|directly|bound|to|soname|libz.so.1
 
 include gar/category.mk
 
@@ -84,17 +104,10 @@
 	   perl Makefile.PL INSTALLDIRS=vendor DESTDIR=$(DESTDIR) CONFDIR=/etc/opt/csw/spamassassin LOCALSTATEDIR=/var/opt/csw/spamassassin CONTACT_ADDRESS=postmaster )
 	@$(MAKECOOKIE)
 
-#pre-build-modulated:
-#	@echo " ==> Pre-build $(NAME) (custom)"
-#	@( cd $(WORKSRC)/spamc ; \
-#	   sed 's/LDFLAGS = /LDFLAGS = -Bdirect -z ignore /' Makefile.in > Makefile.tmp ; \
-#	   cp Makefile.tmp Makefile.in )
-#	@$(MAKECOOKIE)
-
 build-custom:
 	@echo " ==> Building $(NAME) (custom)"
 	@( cd $(WORKSRC) ; \
-	   gmake )
+	   $(BUILD_ENV) gmake )
 	@$(MAKECOOKIE)
 
 test-custom:
@@ -106,8 +119,6 @@
 install-custom:
 	@echo " ==> Installing $(NAME) (custom)"
 	@rm -rf $(DESTDIR)
-#	@ginstall -m 755 -d $(DESTDIR)/opt/csw/etc/init.d
-#	@ginstall -m 755 $(FILEDIR)/CSWspamassassin.cswspamd $(DESTDIR)/opt/csw/etc/init.d/cswspamd
 	@ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/init.d
 	@ginstall -m 755 $(FILEDIR)/CSWspamassassin.cswspamd $(DESTDIR)/etc/opt/csw/init.d/cswspamd
 	@ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/pkg/CSWspamassassin

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list