[csw-devel] SF.net SVN: gar:[9442] csw/mgar/pkg/miltergreylist/trunk
bonivart at users.sourceforge.net
bonivart at users.sourceforge.net
Mon Mar 29 16:39:13 CEST 2010
Revision: 9442
http://gar.svn.sourceforge.net/gar/?rev=9442&view=rev
Author: bonivart
Date: 2010-03-29 14:39:13 +0000 (Mon, 29 Mar 2010)
Log Message:
-----------
milter-greylist: some fixes
Modified Paths:
--------------
csw/mgar/pkg/miltergreylist/trunk/Makefile
csw/mgar/pkg/miltergreylist/trunk/files/CSWmiltergreylist.ug
Modified: csw/mgar/pkg/miltergreylist/trunk/Makefile
===================================================================
--- csw/mgar/pkg/miltergreylist/trunk/Makefile 2010-03-29 14:24:58 UTC (rev 9441)
+++ csw/mgar/pkg/miltergreylist/trunk/Makefile 2010-03-29 14:39:13 UTC (rev 9442)
@@ -16,7 +16,7 @@
DISTFILES = milter-greylist-$(DISTVERSION).tgz
DISTFILES += COPYING
-RUNTIME_DEP_PKGS = CSWsendmail CSWcurlrt CSWgeoip
+REQUIRED_PKGS = CSWcurlrt CSWgeoip
# We define upstream file regex so we can be notifed of new upstream software release
UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tgz
@@ -29,23 +29,29 @@
CONFIGURE_ARGS += --with-conffile=/etc/opt/csw/greylist.conf
CONFIGURE_ARGS += --enable-dnsrbl
CONFIGURE_ARGS += --enable-stdio-hack
-CONFIGURE_ARGS += --localstatedir=/var/opt/csw/milter-greylist
+CONFIGURE_ARGS += --localstatedir=/var/opt/csw/miltergreylist
CONFIGURE_ARGS += --with-libGeoIP=/opt/csw/lib
CONFIGURE_ARGS += --with-libcurl=/opt/csw/lib
CONFIGURE_ARGS += --mandir=/opt/csw/share/man
-#SPKG_CLASSES = none cswusergroup cswcpsampleconf cswinitsmf
+#SPKG_CLASSES = none cswusergroup ugfiles cswcpsampleconf cswinitsmf
TEST_SCRIPTS =
INSTALL_SCRIPTS = custom
USERGROUP = /opt/csw/etc/pkg/miltergreylist/cswusergroup
-SAMPLECONF = /etc/opt/csw/greylist.conf.CSW
+SAMPLECONF = /etc/opt/csw/greylist.conf
INITSMF = /etc/opt/csw/init.d/cswmiltergreylist
-PROTOTYPE_FILTER = awk ' \
- $$$$3 ~ /\/var\/opt\/csw\/miltergreylist/ { $$$$4 = "0700" ; $$$$5 = "greylist" } \
- { print }'
+PROTOTYPE_MODIFIERS = 1
+PROTOTYPE_FILES_1 = /var/opt/csw/miltergreylist
+PROTOTYPE_CLASS_1 = ugfiles
+PROTOTYPE_PERMS_1 = 0700
+PROTOTYPE_USER_1 = greylist
+#PROTOTYPE_FILTER = awk ' \
+# $$$$3 ~ /\/var\/opt\/csw\/miltergreylist/ { $$$$2 = "ugfiles" ; $$$$4 = "0700" ; $$$$5 = "greylist" } \
+# { print }'
+
include gar/category.mk
#WORKSRC := $(WORKDIR)/$(GARNAME)-$(GARVERSION)b1
@@ -59,7 +65,7 @@
@( cd $(WORKSRC) ; \
gmake DESTDIR=$(DESTDIR) install )
@ginstall -d -m 755 $(DESTDIR)/etc/opt/csw
- @mv $(DESTDIR)/etc/mail/greylist.conf $(DESTDIR)/etc/opt/csw/greylist.conf.CSW
+ @mv $(DESTDIR)/etc/mail/greylist.conf $(DESTDIR)/etc/opt/csw/greylist.conf
@rmdir $(DESTDIR)/etc/mail
@ginstall -d -m 755 $(DESTDIR)$(docdir)/$(GARNAME)
@$(foreach DOC,$(DOCLIST),cp $(WORKSRC)/$(DOC) $(DESTDIR)$(docdir)/$(GARNAME);)
@@ -69,5 +75,6 @@
@cp $(FILEDIR)/CSWmiltergreylist.ug $(DESTDIR)/opt/csw/etc/pkg/$(GARNAME)/cswusergroup
@ginstall -d -m 755 $(DESTDIR)/etc/opt/csw/init.d
@cp $(FILEDIR)/CSWmiltergreylist.init $(DESTDIR)/etc/opt/csw/init.d/cswmiltergreylist
- @cp $(FILEDIR)/README.CSW $(DESTDIR)$(docdir)$(GARNAME)
+ @chmod 755 $(DESTDIR)/etc/opt/csw/init.d/cswmiltergreylist
+ @cp $(FILEDIR)/README.CSW $(DESTDIR)$(docdir)/$(GARNAME)
@$(MAKECOOKIE)
Modified: csw/mgar/pkg/miltergreylist/trunk/files/CSWmiltergreylist.ug
===================================================================
--- csw/mgar/pkg/miltergreylist/trunk/files/CSWmiltergreylist.ug 2010-03-29 14:24:58 UTC (rev 9441)
+++ csw/mgar/pkg/miltergreylist/trunk/files/CSWmiltergreylist.ug 2010-03-29 14:39:13 UTC (rev 9442)
@@ -1 +1 @@
-greylist:greylist:CSW Milter-Greylist:/bin/false:/false::NP
+greylist:greylist:CSW Milter-Greylist:/false:/bin/false:::NP
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