[csw-devel] SF.net SVN: gar:[21620] csw/mgar/pkg/dspam/trunk

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Fri Aug 2 15:37:19 CEST 2013


Revision: 21620
          http://gar.svn.sourceforge.net/gar/?rev=21620&view=rev
Author:   cgrzemba
Date:     2013-08-02 13:37:18 +0000 (Fri, 02 Aug 2013)
Log Message:
-----------
dspam/trunk: add license,user,group and docs

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

Added Paths:
-----------
    csw/mgar/pkg/dspam/trunk/files/CSWlibdspam7.cswusergroup

Modified: csw/mgar/pkg/dspam/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dspam/trunk/Makefile	2013-08-02 11:56:12 UTC (rev 21619)
+++ csw/mgar/pkg/dspam/trunk/Makefile	2013-08-02 13:37:18 UTC (rev 21620)
@@ -5,13 +5,14 @@
 VERSION = 3.10.2
 GARTYPE = v2
 
-DESCRIPTION = Brief description
+DESCRIPTION = Antispam Filter
 define BLURB
-  Long description
+  DSPAM is an adaptive spam filter which means it is capable of learning and adapting to each user's email. Instead of working off of a list of "rules" to identify spam, DSPAM's probabilistic engine examines the content of each message and learns what type of content the user deems as spam (or nonspam). 
 endef
 
 MASTER_SITES = $(SF_MIRRORS)
 DISTFILES  = $(DISTNAME).tar.gz
+LICENSE = LICENSE
 
 REINPLACE_USRLOCAL += src/config.h
 
@@ -20,7 +21,11 @@
 PKGFILES_CSWlibdspam7 += $(call baseisadirs,$(libdir),libdspam\.so\.7\.0\.0)
 PKGFILES_CSWlibdspam7 += $(call baseisadirs,$(libdir),libdspam\.so\.7(\.\d+)*)
 SPKG_DESC_CSWlibdspam7 += $(DESCRIPTION), libdspam.so.7
+
+PACKAGES += CSWdspam
+SPKG_DESC_CSWdspam += $(DESCRIPTION), tools
 RUNTIME_DEP_PKGS_CSWdspam += CSWlibdspam7
+CHECKPKG_OVERRIDES_CSWdspam += file-with-bad-content|/usr/local|root/etc/opt/csw/dspam.conf
 
 PACKAGES += CSWdspam-dev
 CATALOGNAME_CSWdspam-dev = dspam_dev
@@ -28,8 +33,30 @@
 PKGFILES_CSWdspam-dev += $(PKGFILES_DEVEL)
 RUNTIME_DEP_PKGS_CSWdspam-dev += CSWlibdspam7
 
+USERGROUP = /etc/opt/csw/pkg/CSWdspam/cswusergroup
+
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --with-dspam-home=$(localstatedir)/dspam
+CONFIGURE_ARGS += --enable-daemon
+CONFIGURE_ARGS += --enable-split-configuration
+CONFIGURE_ARGS += --enable-syslog
+CONFIGURE_ARGS += --enable-clamav
+CONFIGURE_ARGS += --enable-preferences-extension
+CONFIGURE_ARGS += --enable-domain-scale
+CONFIGURE_ARGS += --with-dspam-home-owner=dspam
+CONFIGURE_ARGS += --with-dspam-home-group=dspam
+CONFIGURE_ARGS += --with-dspam-owner=dspam
+CONFIGURE_ARGS += --with-dspam-group=dspam
+CONFIGURE_ARGS += --with-storage-driver=hash_drv,pgsql_drvmysql_drv
+CONFIGURE_ARGS += --enable-long-usernames
+CONFIGURE_ARGS += --enable-virtual-users
 
 include gar/category.mk
 
+post-install:
+	ginstall -d $(DESTDIR)$(docdir)/$(NAME)
+	ginstall -m 444 $(WORKSRC)/RELEASE.NOTES $(DESTDIR)$(docdir)/$(NAME)
+	ginstall -m 444 $(WORKSRC)/README $(DESTDIR)$(docdir)/$(NAME)
+	ginstall -m 444 $(WORKSRC)/UPGRADING $(DESTDIR)$(docdir)/$(NAME)
+	ginstall -m 644 $(FILEDIR)/CSWdspam.cswusergroup $(DESTDIR)$(sysconfdir)/pkg/CSWdspam/cswusergroup
+	@$(MAKECOOKIE)

Added: csw/mgar/pkg/dspam/trunk/files/CSWlibdspam7.cswusergroup
===================================================================
--- csw/mgar/pkg/dspam/trunk/files/CSWlibdspam7.cswusergroup	                        (rev 0)
+++ csw/mgar/pkg/dspam/trunk/files/CSWlibdspam7.cswusergroup	2013-08-02 13:37:18 UTC (rev 21620)
@@ -0,0 +1 @@
+dspam:dspam:dspam user:/var/opt/csw/dspam:/bin/false::

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