Index: head/ftp/proftpd/Makefile =================================================================== --- head/ftp/proftpd/Makefile (revision 252317) +++ head/ftp/proftpd/Makefile (revision 252318) @@ -1,421 +1,421 @@ # New ports collection makefile for: proftpd # Date created: 26 January 1998 # Whom: Stephane Legrand # # $FreeBSD$ # PORTNAME= proftpd PORTVERSION= 1.3.3 CATEGORIES?= ftp MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \ ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \ ftp://ftp.dataguard.no/ftp/pub/proftpd/distrib/source/ \ ftp://spirit.bentel.sk/mirrors/Proftpd/distrib/source/ \ ftp://proftpd.networkedsystems.co.uk/distrib/source/ \ http://mirrors.ibiblio.org/pub/mirrors/proftpd/distrib/source/ \ http://www.mirrorservice.org/sites/ftp.proftpd.org/distrib/source/ \ http://labratsoftware.com/mod_sql_tds/:sql_tds \ https://secure.thrallingpenguin.com/redmine/attachments/download/1/:clam \ http://www.smartftp.com/oss/proftpd/:digest \ LOCAL/beech:digest \ LOCAL/beech:sql_tds DISTFILES= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER?= mm@FreeBSD.org COMMENT?= Highly configurable ftp daemon MAN1= ftpcount.1 ftpwho.1 ftptop.1 MAN5= xferlog.5 MAN8= proftpd.8 ftpscrub.8 ftpshut.8 ftpdctl.8 MAKE_JOBS_UNSAFE= yes PORTDOCS= * USE_GMAKE= yes USE_BZIP2= yes USE_AUTOTOOLS= autoconf:262 GNU_CONFIGURE= yes CONFLICTS= proftpd-devel-1.[0-9].* USE_RC_SUBR= proftpd CONFIGURE_ARGS= --localstatedir=/var/run \ --with-pkgconfig=libdata/pkgconfig \ --sysconfdir=${PREFIX}/etc \ --disable-sendfile OPTIONS= BAN "Include mod_ban (Requires CTRLS)" off \ CLAMAV "Include mod_clamav" off \ CTRLS "Include controls" off \ DIGEST "Include mod_digest" off \ EXEC "Include mod_exec" off \ HTMLDOCS "Include HTML documentation" off \ IFSESSION "Include mod_ifsession" on \ IPV6 "Use IPv6" on \ LDAP "Use LDAP" off \ LDAP_TLS "Use LDAP TLS (Requires LDAP, OPENSSL)" off # Set the MYSQL option based upon the setting from the # slave port (ftp/proftpd-mysql). .if defined(WITH_MYSQL) OPTIONS+= MYSQL "MySQL auth" on .else OPTIONS+= MYSQL "MySQL auth" off .endif OPTIONS+= NLS "Use nls (builds mod_lang)" on \ ODBC "ODBC" off \ OPENSSL "Include mod_tls" on \ PGSQL "Postgres auth" off \ QUOTA "Include mod_quota" off \ QUOTATAB_RADIUS "include mod_quotatab_radius" off \ SHAPER "Shaper module" off \ SQLITE "SQLite auth" off \ RADIUS "Include mod_radius" on \ RATIO "Include mod_ratio" on \ README "Include mod_readme" on \ REWRITE "Include mod_rewrite" on \ TLS_SHMCACHE "TLS SHM session cache (requires OPENSSL)" off \ TDS "Include mod_sql_tds" off \ SFTP "Include mod_sftp" off\ SFTP_SQL "Include mod_sftp_sql" off \ SFTP_PAM "Include mod_sftp_pam" off \ SQL_PASSWD "Include mod_sql_passwd" off \ UNIQUE "Include mod_unique_id" off \ WRAP "Include mod_wrap2" on \ WRAP_FILE "Include mod_wrap2_file (requires WRAP)" off \ WRAP_SQL "Include mod_wrap2_sql (requires WRAP)" off MODULES?= LIBDIRS?= INCLUDEDIRS?= .include .if !defined(WITHOUT_RATIO) MODULES:=${MODULES}:mod_ratio .endif .if !defined(WITHOUT_README) MODULES:=${MODULES}:mod_readme .endif .if !defined(WITHOUT_REWRITE) MODULES:=${MODULES}:mod_rewrite .endif .if !defined(WITHOUT_WRAP) MODULES:=${MODULES}:mod_wrap2 INCLUDEDIRS:=${INCLUDEDIRS}:${WORKDIR}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib PLIST_SUB+= WRAP="" .else PLIST_SUB+= WRAP="@comment " .endif .if ( defined(WITH_WRAP_FILE) || defined(WITH_WRAP_SQL) ) && defined(WITHOUT_WRAP) IGNORE= options WRAP_FILE and WRAP_FILE_SQL require WRAP .endif .if defined(WITH_WRAP_FILE) INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib MODULES:=${MODULES}:mod_wrap2_file .endif .if defined(WITH_WRAP_SQL) INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib MODULES:=${MODULES}:mod_wrap2_sql .endif .if defined(WITH_EXEC) MODULES:=${MODULES}:mod_exec .endif .if defined(WITH_RADIUS) MODULES:=${MODULES}:mod_radius .endif .if defined(WITH_SHAPER) MODULES:=${MODULES}:mod_shaper .endif .if defined(WITH_QUOTATAB_RADIUS) MODULES:=${MODULES}:mod_quotatab_radius .endif .if defined(WITH_BAN) .if !defined(WITH_CTRLS) IGNORE= option BAN requires CTRLS .endif MODULES:=${MODULES}:mod_ban .endif .if defined(WITH_UNIQUE) MODULES:=${MODULES}:mod_unique_id .endif .if defined(WITH_SETPASSENT) CONFIGURE_ARGS+= --enable-force-setpassent .endif .if defined(WITHOUT_PAM) CONFIGURE_ARGS+= --disable-auth-pam .endif .if defined(WITH_IPV6) CONFIGURE_ARGS+= --enable-ipv6 .else CONFIGURE_ARGS+= --disable-ipv6 .endif .if !defined(WITHOUT_NLS) INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib CONFIGURE_ARGS+= --enable-nls USE_GETTEXT=yes PROFTPD_LIBS+= -lintl -L${LOCALBASE}/lib PLIST_SUB+= NLS="" .else PLIST_SUB+= NLS="@comment " .endif #allow user to override MODULES?= mod_ratio:mod_readme:mod_rewrite:mod_wrap2:mod_ifsession:mod_lang INCLUDEDIRS?= LIBDIRS?= .if defined(WITH_LDAP) USE_OPENLDAP= yes MODULES:=${MODULES}:mod_ldap INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib .endif # LDAP_TLS and TLS_SHMCACHE require OPENSSL .if ( defined(WITH_LDAP_TLS) || defined(WITH_TLS_SHMCACHE) ) && !defined(WITH_OPENSSL) IGNORE= options LDAP_TLS and TLS_SHMCACHE require OPENSSL .endif # MYSQL, PGSQL, SQLITE, ODBC, TDS, SFTP_SQL and SQL_PASSWD require mod_sql .if defined(WITH_MYSQL) || defined(WITH_PGSQL) || \ defined(WITH_SQLITE) || defined(WITH_ODBC) || defined(WITH_TDS) \ || defined(WITH_SFTP_SQL) || defined (WITH_SQL_PASSWD) MODULES:=${MODULES}:mod_sql .endif .if defined(WITH_MYSQL) USE_MYSQL= yes MODULES:=${MODULES}:mod_sql_mysql INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include:${LOCALBASE}/include/mysql:${WRKSRC}/contrib LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib/mysql .endif .if defined(WITH_PGSQL) USE_PGSQL= yes MODULES:=${MODULES}:mod_sql_postgres INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib .endif .if defined(WITH_SQLITE) USE_SQLITE= yes MODULES:=${MODULES}:mod_sql_sqlite INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib .endif .if defined(WITH_ODBC) LIB_DEPENDS= iodbc.3:${PORTSDIR}/databases/libiodbc MODULES:=${MODULES}:mod_sql_odbc INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib CONFIGURE_ARGS+=LIBS=-liodbc LD_LIBRARY_PATH=${LOCALBASE}/lib LDFLAGS=-L${LOCALBASE}/lib .endif .if defined(WITH_TDS) DISTFILES+= mod_sql_tds-4.11.tar.bz2:sql_tds EXTRACT_ONLY+= mod_sql_tds-4.11.tar.bz2 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-contrib-mod_sql_tds.c MODULES:=${MODULES}:mod_sql_tds INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib LIB_DEPENDS+= sybdb.5:${PORTSDIR}/databases/freetds .endif .if defined(WITH_SQL_PASSWD) MODULES:=${MODULES}:mod_sql_passwd .endif .if ${MODULES:M*mod_sql*} PLIST_SUB+= SQL="" .else PLIST_SUB+= SQL="@comment " .endif .if defined(WITH_TLS_SHMCACHE) MODULES:=${MODULES}:mod_tls_shmcache .endif .if defined(WITH_OPENSSL) .include <${PORTSDIR}/Mk/bsd.openssl.mk> CFLAGS+= -DHAVE_OPENSSL -I${OPENSSLINC} PROFTPD_LIBS+= -lssl -lcrypto -L${OPENSSLLIB} MODULES:=${MODULES}:mod_tls PLIST_SUB+= TLS="" .else PLIST_SUB+= TLS="@comment " .endif .if defined(WITH_CTRLS) CONFIGURE_ARGS+= --enable-ctrls .if !defined(WITHOUT_CTRLS_ADMIN) MODULES:=${MODULES}:mod_ctrls_admin .endif PLIST_SUB+= CTRLS_ADMIN="" .else PLIST_SUB+= CTRLS_ADMIN="@comment " .endif # LDAP, PGSQL and MYSQL options due nothing (in this case) # without QUOTA support. .if defined(WITH_QUOTA) MODULES:=${MODULES}:mod_quotatab:mod_quotatab_file PLIST_SUB+= QUOTA="" .if defined(WITH_LDAP) MODULES:=${MODULES}:mod_quotatab_ldap .endif .if defined(WITH_PGSQL) || defined(WITH_MYSQL) MODULES:=${MODULES}:mod_quotatab_sql .endif .else PLIST_SUB+= QUOTA="@comment " .endif .if defined(WITH_CLAMAV) DISTFILES+= mod_clamav-0.11rc.tar.gz:clam EXTRACT_ONLY+= mod_clamav-0.11rc.tar.gz EXTRA_PATCHES+= ${FILESDIR}/extra-patch-modules_mod_xfer.c USE_CLAMAV= yes MODULES:=${MODULES}:mod_clamav -LIB_DEPENDS+= clamav.6:${PORTSDIR}/security/clamav +LIB_DEPENDS+= clamav.7:${PORTSDIR}/security/clamav INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib PLIST_SUB+= CLAMAV="" .else PLIST_SUB+= CLAMAV="@comment " .endif .if defined(WITH_DIGEST) DISTFILES+= mod_digest.c:digest MODULES:=${MODULES}:mod_digest .endif .if defined(WITH_SFTP) MODULES:=${MODULES}:mod_sftp INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib PLIST_SUB+= SFTP="" .else PLIST_SUB+= SFTP="@comment " .endif .if defined(WITH_SFTP_SQL) MODULES:=${MODULES}:mod_sftp_sql INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib PLIST_SUB+= SFTP_SQL="" .else PLIST_SUB+= SFTP_SQL="@comment " .endif .if defined(WITH_SFTP_PAM) MODULES:=${MODULES}:mod_sftp_pam INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib PLIST_SUB+= SFTP_PAM="" .else PLIST_SUB+= SFTP_PAM="@comment " .endif # mod_ifsession should be the last item in the modules list .if !defined(WITHOUT_IFSESSION) MODULES:=${MODULES}:mod_ifsession .endif # Keep this here below, in case similar constructs need to be made CONFIGURE_ENV+= "LIBS=${PROFTPD_LIBS}" .if !empty(MODULES) CONFIGURE_ARGS+= --with-modules=${MODULES:C/^://g} .endif .if !empty(INCLUDEDIRS) CONFIGURE_ARGS+= --with-includes=${INCLUDEDIRS} .endif .if !empty(LIBDIRS) CONFIGURE_ARGS+= --with-libraries=${LIBDIRS} .endif post-extract: .if defined(WITH_CLAMAV) (cd ${WRKDIR} && ${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/mod_clamav-0.11rc.tar.gz ${EXTRACT_AFTER_ARGS}) @${CP} ${WRKDIR}/mod_clamav-0.11rc/mod_clamav.* ${WRKSRC}/contrib .endif .if defined(WITH_DIGEST) @${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_digest.c ${WRKSRC}/modules/ .endif .if defined(WITH_TDS) @${MV} ${WRKDIR}/mod_sql_tds.c ${WRKSRC}/contrib/ .endif post-patch: .if defined(WITH_NLS) @${REINPLACE_CMD} -e 's|-lsupp|-lsupp -lintl|g' ${WRKSRC}/Makefile.in .endif .if defined(WITH_LDAP_TLS) @${REINPLACE_CMD} -e 's:/\* #define USE_LDAP_TLS \*/:#define USE_LDAP_TLS:' \ ${WRKSRC}/contrib/mod_ldap.c .endif @${REINPLACE_CMD} -e 's|proftpd\.conf|proftpd.conf.sample|g' ${WRKSRC}/Makefile.in pre-configure: @${ECHO_MSG} "==> Configuring with ${MODULES:C/^://g}" post-configure: ${REINPLACE_CMD} -e 's: -lnsl::' ${WRKSRC}/Make.rules ${REINPLACE_CMD} -e 's:/usr/sbin:${PREFIX}/sbin:' \ -e 's:/usr/bin:${PREFIX}/bin:' \ ${WRKSRC}/src/proftpd.8 ${WRKSRC}/utils/ftpshut.8 \ ${WRKSRC}/utils/ftpcount.1 post-install: @cd ${PREFIX}/etc/ && ${CP} -n proftpd.conf.sample proftpd.conf .if defined(WITH_SFTP) @cd ${PREFIX}/etc/proftpd && ${CP} -n dhparams.pem.sample dhparams.pem @cd ${PREFIX}/etc/proftpd && ${CP} -n blacklist.dat.sample blacklist.dat .endif .if !defined(NOPORTDOCS) @${INSTALL} -d ${DOCSDIR} @cd ${WRKSRC} && ${CP} README* RELEASE_NOTES ${DOCSDIR} @cd ${WRKSRC}/doc/ && ${INSTALL_DATA} license.txt ${DOCSDIR} . if defined(WITH_HTMLDOCS) @${INSTALL} -d ${DOCSDIR}/html @cd ${WRKSRC}/doc/ && ${INSTALL_DATA} Configuration.html faq.html ${DOCSDIR}/html @${CP} -RP ${WRKSRC}/doc/contrib ${DOCSDIR}/html/contrib @${CP} -RP ${WRKSRC}/doc/modules ${DOCSDIR}/html/modules @${CP} -RP ${WRKSRC}/doc/howto ${DOCSDIR}/html/howto . endif .endif .if defined(WITH_CTRLS) @${INSTALL_PROGRAM} ${WRKSRC}/ftpdctl ${PREFIX}/sbin/ @${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${MAN8PREFIX}/man/man8/ .endif .include Property changes on: head/ftp/proftpd/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.172 \ No newline at end of property +1.173 \ No newline at end of property Index: head/ftp/proftpd-devel/Makefile =================================================================== --- head/ftp/proftpd-devel/Makefile (revision 252317) +++ head/ftp/proftpd-devel/Makefile (revision 252318) @@ -1,378 +1,378 @@ # New ports collection makefile for: proftpd # Date created: 26 January 1998 # Whom: Stephane Legrand # # $FreeBSD$ # PORTNAME= proftpd DISTVERSION= 1.3.3rc4 PORTEPOCH= 1 CATEGORIES= ftp MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \ ftp://ftp1.at.proftpd.org/distrib/source/ \ ftp://ftp1.ca.proftpd.org/distrib/source/ \ ftp://ftp1.us.proftpd.org/distrib/source/ \ https://secure.thrallingpenguin.com/redmine/attachments/download/1/:clam \ http://www.smartftp.com/oss/proftpd/:digest \ LOCAL/beech \ LOCAL/beech:clam \ LOCAL/beech:digest PKGNAMESUFFIX= -devel DISTFILES= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= guzik@anka.net.pl COMMENT= Highly configurable ftp daemon MAN1= ftpcount.1 ftpwho.1 ftptop.1 MAN5= xferlog.5 MAN8= proftpd.8 ftpshut.8 ftpdctl.8 ftpscrub.8 PORTDOCSdoc= Configuration.html faq.html PORTDOCScontrib=mod_ifsession.html mod_radius.html mod_rewrite.html \ mod_tls.html mod_wrap2.html mod_wrap2_file.html mod_wrap2_sql.html \ mod_ban.html mod_quotatab_radius.html ftpasswd.html mod_sftp.html \ mod_sftp_sql.html mod_sftp_pam.html PORTDOCSmodule= mod_auth_file.html mod_auth_pam.html mod_cap.html mod_ctrls.html \ mod_delay.html mod_dso.html mod_facl.html mod_facts.html \ mod_ident.html mod_lang.html PORTDOCSreadme= README README.DSO README.FreeBSD README.IPv6 README.LDAP README.PAM \ README.capabilities README.classes README.facl README.modules \ README.ports RELEASE_NOTES PORTDOCS= ${PORTDOCSdoc} ${PORTDOCScontrib} ${PORTDOCSreadme} ${PORTDOCSmodule} PORTEXAMPLES= ASCII.html CreateHome.html Filters.html SQL.html Umask.html \ AuthFiles.html DNS.html Globbing.html SSH.html Upgrade.html \ Authentication.html DSO.html Limit.html Scoreboard.html Vhost.html \ BCP.html Debugging.html ListOptions.html ServerType.html \ VirtualUsers.html Chroot.html Directory.html Logging.html Stopping.html \ index.html Classes.html DisplayFiles.html NAT.html TLS.html ConfigFile.html \ FTP.html Quotas.html Timestamps.html Controls.html \ FXP.html Regex.html Tracing.html USE_GMAKE= yes USE_AUTOTOOLS= autoconf:262 GNU_CONFIGURE= yes CONFLICTS= proftpd-1.[0-9].* USE_RC_SUBR= proftpd.sh CONFIGURE_ARGS= --localstatedir=/var/run \ --sysconfdir=${PREFIX}/etc \ --disable-sendfile OPTIONS= IPV6 "Use IPv6" off \ LDAP "Use LDAP" off \ LDAP_TLS "Use LDAP TLS (Requires LDAP, OPENSSL)" off\ MYSQL "MySQL auth (Can be combined)" off \ PGSQL "Postgres auth (Can be combined)" off \ SQLITE "SQLite auth (Can be combined)" off \ ODBC "ODBC (Can be combined)" off \ OPENSSL "Include mod_tls" on \ QUOTA "Include mod_quota" off \ IFSESSION "Include mod_ifsession" on \ README "Include mod_readme" on \ RATIO "Include mod_ratio" on \ CTRLS "Include controls" off \ REWRITE "Include mod_rewrite" on \ WRAP "Include mod_wrap2" on \ WRAP_FILE "Include mod_wrap2_file" off \ WRAP_SQL "Include mod_wrap2_sql" off \ RADIUS "Include mod_radius" on \ QUOTATAB_RADIUS "include mod_quotatab_radius" off \ BAN "Include mod_ban (Requires CTRLS)" off \ NLS "Use nls (builds mod_lang)" off \ UNIQUE "Include mod_unique_id" off \ CLAMAV "Include mod_clamav" off \ DIGEST "Include mod_digest" off \ SFTP "Include mod_sftp" off\ SFTP_SQL "Include mod_sftp_sql" off \ SFTP_PAM "Include mod_sftp_pam" off MODULES?= LIBDIRS?= INCLUDEDIRS?= .include .if !defined(WITHOUT_RATIO) MODULES:=${MODULES}:mod_ratio .endif .if !defined(WITHOUT_README) MODULES:=${MODULES}:mod_readme .endif .if !defined(WITHOUT_REWRITE) MODULES:=${MODULES}:mod_rewrite .endif .if !defined(WITHOUT_WRAP) MODULES:=${MODULES}:mod_wrap2 INCLUDEDIRS:=${INCLUDEDIRS}:${WORKDIR}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib PLIST_SUB+= WRAP="" .else PLIST_SUB+= WRAP="@comment " .endif .if defined(WITH_WRAP_FILE) INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib MODULES:=${MODULES}:mod_wrap2_file .endif .if defined(WITH_WRAP_SQL) INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib MODULES:=${MODULES}:mod_wrap2_sql .endif .if defined(WITH_RADIUS) MODULES:=${MODULES}:mod_radius .endif .if defined(WITH_QUOTATAB_RADIUS) MODULES:=${MODULES}:mod_quotatab_radius .endif .if defined(WITH_BAN) MODULES:=${MODULES}:mod_ban .endif .if defined(WITH_SETPASSENT) CONFIGURE_ARGS+= --enable-force-setpassent .endif .if defined(WITHOUT_PAM) CONFIGURE_ARGS+= --disable-auth-pam .endif .if defined(WITH_IPV6) CONFIGURE_ARGS+= --enable-ipv6 .endif .if !defined(WITH_IPV6) CONFIGURE_ARGS+= --disable-ipv6 .endif .if defined(WITH_NLS) INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib CONFIGURE_ARGS+= --enable-nls USE_GETTEXT=yes PROFTPD_LIBS+= -lintl -L${LOCALBASE}/lib .endif #allow user to override MODULES?= mod_ratio:mod_readme:mod_rewrite:mod_wrap2:mod_ifsession INCLUDEDIRS?= LIBDIRS?= .if defined(WITH_LDAP) USE_OPENLDAP= yes MODULES:=${MODULES}:mod_ldap INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib .endif .if defined(WITH_MYSQL) USE_MYSQL= yes MODULES:=${MODULES}:mod_sql_mysql INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include:${LOCALBASE}/include/mysql LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib/mysql .endif .if defined(WITH_PGSQL) USE_PGSQL= yes MODULES:=${MODULES}:mod_sql_postgres INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib .endif .if defined(WITH_SQLITE) USE_SQLITE= yes MODULES:=${MODULES}:mod_sql_sqlite INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib .endif .if defined(WITH_ODBC) LIB_DEPENDS= iodbc.3:${PORTSDIR}/databases/libiodbc MODULES:=${MODULES}:mod_sql_odbc INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib CONFIGURE_ARGS+=LIBS=-liodbc LD_LIBRARY_PATH=${LOCALBASE}/lib LDFLAGS=-L${LOCALBASE}/lib .endif .if ${MODULES:M*mod_sql_*} MODULES:=mod_sql${MODULES} PLIST_SUB+= SQL="" .else PLIST_SUB+= SQL="@comment " .endif .if defined(WITH_OPENSSL) .include <${PORTSDIR}/Mk/bsd.openssl.mk> CFLAGS+= -DHAVE_OPENSSL -I${OPENSSLINC} PROFTPD_LIBS+= -lssl -lcrypto -L${OPENSSLLIB} MODULES:=${MODULES}:mod_tls PLIST_SUB+= TLS="" .else PLIST_SUB+= TLS="@comment " .endif .if defined(WITH_CTRLS) CONFIGURE_ARGS+= --enable-ctrls .if !defined(WITHOUT_CTRLS_ADMIN) MODULES:=${MODULES}:mod_ctrls_admin .endif PLIST_SUB+= CTRLS_ADMIN="" .else PLIST_SUB+= CTRLS_ADMIN="@comment " .endif .if defined(WITH_QUOTA) MODULES:=${MODULES}:mod_quotatab:mod_quotatab_file PLIST_SUB+= QUOTA="" .else PLIST_SUB+= QUOTA="@comment " .if defined(WITH_LDAP) MODULES:=${MODULES}:mod_quotatab_ldap .endif .if defined(WITH_PGSQL) || defined(WITH_MYSQL) MODULES:=${MODULES}:mod_quotatab_sql .endif .endif .if defined(WITH_UNIQUE) MODULES:=${MODULES}:mod_unique_id .endif .if defined(WITH_CLAMAV) DISTFILES+= mod_clamav-0.11rc.tar.gz:clam EXTRACT_ONLY+= mod_clamav-0.11rc.tar.gz EXTRA_PATCHES+= ${FILESDIR}/extra-patch-modules_mod_xfer.c USE_CLAMAV= yes MODULES:=${MODULES}:mod_clamav -LIB_DEPENDS+= clamav.6:${PORTSDIR}/security/clamav +LIB_DEPENDS+= clamav.7:${PORTSDIR}/security/clamav INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib PLIST_SUB+= CLAMAV="" .else PLIST_SUB+= CLAMAV="@comment " .endif .if defined(WITH_DIGEST) DISTFILES+= mod_digest.c:digest MODULES:=${MODULES}:mod_digest .endif .if defined(WITH_SFTP) USE_SQLITE= yes MODULES:=${MODULES}:mod_sftp INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib PLIST_SUB+= SFTP="" PLIST_FILES+= include/${PORTNAME}/mod_sftp.h .else PLIST_SUB+= SFTP="@comment " .endif .if defined(WITH_SFTP_SQL) USE_SQLITE= yes MODULES:=${MODULES}:mod_sftp_sql INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib PLIST_SUB+= SFTP_SQL="" .else PLIST_SUB+= SFTP_SQL="@comment " .endif .if defined(WITH_SFTP_PAM) USE_SQLITE= yes MODULES:=${MODULES}:mod_sftp_pam INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib PLIST_SUB+= SFTP_PAM="" .else PLIST_SUB+= SFTP_PAM="@comment " .endif # mod_ifsession should be the last item in the modules list .if !defined(WITHOUT_IFSESSION) MODULES:=${MODULES}:mod_ifsession .endif # Keep this here below, in case similar constructs need to be made CONFIGURE_ENV+= "LIBS=${PROFTPD_LIBS}" .if !empty(MODULES) CONFIGURE_ARGS+= --with-modules=${MODULES} .endif .if !empty(INCLUDEDIRS) CONFIGURE_ARGS+= --with-includes=${INCLUDEDIRS} .endif .if !empty(LIBDIRS) CONFIGURE_ARGS+= --with-libraries=${LIBDIRS} .endif MODULES!=${ECHO} ${MODULES} | ${SED} -e 's,^:,,' -e 's,:$$,,' post-extract: .if defined(WITH_CLAMAV) @${CP} ${WRKDIR}/mod_clamav-0.11rc/mod_clamav.* ${WRKSRC}/contrib .endif .if defined(WITH_DIGEST) @${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_digest.c ${WRKSRC}/modules/ .endif post-patch: .if defined(WITH_NLS) @${REINPLACE_CMD} -e 's|-lsupp|-lsupp -lintl|g' ${WRKSRC}/Makefile.in .endif .if defined(WITH_LDAP_TLS) @${REINPLACE_CMD} -e 's:/\* #define USE_LDAP_TLS \*/:#define USE_LDAP_TLS:' \ ${WRKSRC}/contrib/mod_ldap.c .endif @${REINPLACE_CMD} -e 's|proftpd\.conf|proftpd.conf.sample|g' ${WRKSRC}/Makefile.in pre-configure: @${ECHO_MSG} "==> Configuring with ${MODULES}" post-configure: ${REINPLACE_CMD} -e 's: -lnsl::' ${WRKSRC}/Make.rules ${REINPLACE_CMD} -e 's:/usr/sbin:${PREFIX}/sbin:' \ -e 's:/usr/bin:${PREFIX}/bin:' \ ${WRKSRC}/src/proftpd.8 ${WRKSRC}/utils/ftpshut.8 \ ${WRKSRC}/utils/ftpcount.1 pre-install: @cd ${PREFIX}/lib && ${INSTALL} -d pkgconfig post-install: @cd ${PREFIX}/etc/ && ${CP} -n proftpd.conf.sample proftpd.conf .if !defined(NOPORTDOCS) @${INSTALL} -d ${DOCSDIR}/ @cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCSdoc} ${DOCSDIR}/ @cd ${WRKSRC}/doc/contrib && ${INSTALL_DATA} ${PORTDOCScontrib} ${DOCSDIR}/ @cd ${WRKSRC}/doc/modules && ${INSTALL_DATA} ${PORTDOCSmodule} ${DOCSDIR}/ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCSreadme} ${DOCSDIR}/ .endif .if !defined(NOPORTEXAMPLES) @${INSTALL} -d ${EXAMPLESDIR}/ @cd ${WRKSRC}/doc/howto/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/ .endif .if defined(WITH_CTRLS) @${INSTALL_PROGRAM} ${WRKSRC}/ftpdctl ${PREFIX}/sbin/ @${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${MAN8PREFIX}/man/man8/ .endif @cd ${PREFIX}/lib/pkgconfig && ${MV} proftpd.pc ${PREFIX}/libdata/pkgconfig @${RM} -r ${PREFIX}/lib/pkgconfig .include Property changes on: head/ftp/proftpd-devel/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.154 \ No newline at end of property +1.155 \ No newline at end of property Index: head/mail/clamfilter/Makefile =================================================================== --- head/mail/clamfilter/Makefile (revision 252317) +++ head/mail/clamfilter/Makefile (revision 252318) @@ -1,35 +1,35 @@ # New ports collection makefile for: clamfilter # Date created: 11 Feb 2005 # Whom: SeaD # # $FreeBSD$ # # Anyone upgrading this port is advised to check all changes since the # previous tarball; I have updated MASTER_SITES to an alternative # location, but I have no idea if this is an official mirror or not. # # The old site was: http://www.ensita.net/products/clamfilter/ PORTNAME= clamfilter PORTVERSION= 0.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= mail MASTER_SITES= http://www.wyae.de/software/Retired/ensita-clamfilter/ MAINTAINER= sahil@tandon.net COMMENT= A small, efficient clamav content filter for Postfix .if defined(WITH_CLAMAV_DEVEL) RUN_DEPENDS= ${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav-devel .else RUN_DEPENDS= ${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav .endif SUB_FILES= pkg-message PLIST_FILES= bin/clamfilter post-install: @${CAT} ${PKGMESSAGE} .include Property changes on: head/mail/clamfilter/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.8 \ No newline at end of property +1.9 \ No newline at end of property Index: head/mail/dspam/Makefile =================================================================== --- head/mail/dspam/Makefile (revision 252317) +++ head/mail/dspam/Makefile (revision 252318) @@ -1,638 +1,639 @@ # New ports collection makefile for: dspam # Date created: 3 August 2003 # Whom: Dominic Marks # # $Tecnik: ports/mail/dspam/Makefile,v 1.18 2006/06/07 23:40:55 itetcu Exp $ # $FreeBSD$ # # Note to commiters: If don't commit a maintainer patch and as a result PKGNAME # or user variables (WITH*) changes please add an entry in ${FILESDIR}/UPDATING # Thanks. PORTNAME= dspam PORTVERSION= 3.9.0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= SF \ http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/ MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= itetcu@FreeBSD.org COMMENT= Bayesian spam filter - stable maintenance version MIN_OPTIONS_VER= ${PORTNAME}-3.9.0 ## debug / log / admin options OPTIONS= SYSLOG "Logs via syslog" on OPTIONS+= DEBUG "Enable debugging logging" on OPTIONS+= VERBOSE_DEBUG "Enable debug in LOGDIR/dspam.debug" off OPTIONS+= BNR_DEBUG "Enable debug for BNR" off OPTIONS+= PREF_EXT "Preferences in database not in files" off OPTIONS+= DAEMON "Daemonize dspam; speaks LMTP or DLMTP" on # OPTIONS+= CLAMAV "Enable clamav support" on OPTIONS+= CLAMAV_DEVEL "Enable clamav support" off OPTIONS+= CLAMAV_LOCAL "RUN_DEPEND on selected clamav" on # OPTIONS+= MYSQL40 "Use MySQL 4.0.x as back-end" off OPTIONS+= MYSQL41 "Use MySQL 4.1.x as back-end" off OPTIONS+= MYSQL50 "Use MySQL 5.0.x as back-end" on OPTIONS+= MYSQL51 "Use MySQL 5.1.x as back-end" off OPTIONS+= MYSQL55 "Use MySQL 5.5.x as back-end" off OPTIONS+= MYSQL_COMPRESS "Compress dspam <--> MySQL" off OPTIONS+= MYSQL_LOCAL "RUN_DEPEND on selected MySQL server ver." off OPTIONS+= POSTGRESQL "Use PostgreSQL as back-end" on OPTIONS+= POSTGRESQL_LOCAL "RUN_DEPEND on PostgreSQL server" off OPTIONS+= SQLITE2 "Use SQLite v2.x as back-end" off OPTIONS+= SQLITE3 "Use SQLite v3.x as back-end" on OPTIONS+= HASH "Use hash driver" on # OPTIONS+= EXTERNAL_LOOKUP "Enable rcpt verification via extlookup" off # layout OPTIONS+= USER_HOMEDIR "Store user data in ~/.dspam" off OPTIONS+= TRUSTED_USERS "Disable trusted user security" off OPTIONS+= VIRT_USERS "Enable virtual users (needs SQL back-end)" off OPTIONS+= LONG_USERNAMES "Usernames longer that OS supports" off OPTIONS+= LARGE_SCALE "File structure for large scale" off OPTIONS+= DOMAIN_SCALE "File structure for multiple domains" off ## MTA and LDA OPTIONS+= CYRUS21_LDA "Use Cyrus's 2.1 deliver as LDA" off OPTIONS+= CYRUS22_LDA "Use Cyrus's 2.2 deliver as LDA" off OPTIONS+= CYRUS23_LDA "Use Cyrus's 2.3 deliver as LDA" off OPTIONS+= EXIM_LDA "Use Exim as local delivery agent" off OPTIONS+= MAILDROP_LDA "Use Maildrop as local delivery agent" off OPTIONS+= PROCMAIL_LDA "Use Procmail as local delivery agent" off OPTIONS+= SAFECAT_LDA "Use Safecat as local delivery agent" off OPTIONS+= SENDMAIL_LDA "Use Sendmail as local delivery agent" off OPTIONS+= SENDMAIL "Play nice with sendmail server" off OPTIONS+= POSTFIX_MBC "Dspam as mailbox_command in Postfix" off OPTIONS+= QMAIL "Play nice with Qmail mail server" off OPTIONS+= WebUI "Install WebUI, pulls in Apache or see below" off OPTIONS+= LIGHTTPD "RUN_DEPEND on LightHTTPD, not Apache" off USE_PERL5= yes USE_AUTOTOOLS= libtool:22 USE_LDCONFIG= yes GNU_CONFIGURE= yes #CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" .ifdef(GDBS) CFLAGS+= -g -DDEBUG STRIP= .endif PKGMESSAGE= ${WRKSRC}/src/README.FreeBSD CONFLICTS= dspam-devel-[0-9]* SIGNATURE_LIFE?= 15 _VAR_DIR= /var LOG_DIR?= ${_VAR_DIR}/log/dspam LOGFILE?= ${LOG_DIR}/dspam.log DSPAM_MODE?= 4510 DSPAM_OWNER?= root DSPAM_GROUP?= mail DSPAM_ETC?= ${LOCALBASE}/etc DSPAM_HOME?= ${_VAR_DIR}/db/dspam DSPAM_HOME_OWNER?= ${DSPAM_OWNER} DSPAM_HOME_GROUP?= ${DSPAM_GROUP} DSPAM_HOME_MODE?= 0770 .include CONFIGURE_ARGS+= --sysconfdir=${DSPAM_ETC} CONFIGURE_ARGS+= --with-logdir=${LOG_DIR} PLIST_SUB+= LOG_DIR=${LOG_DIR} CONFIGURE_ARGS+= --with-dspam-home=${DSPAM_HOME} CONFIGURE_ARGS+= --with-dspam-home-owner=${DSPAM_HOME_OWNER} CONFIGURE_ARGS+= --with-dspam-home-group=${DSPAM_HOME_GROUP} CONFIGURE_ARGS+= --with-dspam-home-mode=${DSPAM_HOME_MODE} PLIST_SUB+= DSPAM_HOME=${DSPAM_HOME} CONFIGURE_ARGS+= --with-dspam-owner=${DSPAM_OWNER} CONFIGURE_ARGS+= --with-dspam-group=${DSPAM_GROUP} # we set DSPAM_MODE at the end as some LDAs want specific mode _SED_SCRIPT= -e 's,%%DOCSDIR%%,${DOCSDIR},g' \ -e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \ -e 's,%%DSPAM_HOME%%,${DSPAM_HOME},g' \ -e 's,%%PORTNAME%%,${PORTNAME},g' \ -e 's,%%_VAR_DIR%%,${_VAR_DIR},g' \ -e '/^%%FreeBSD/D' \ -e '/^%%Tecnik%%/D' .ifndef(WITHOUT_SYSLOG) CONFIGURE_ARGS+= --enable-syslog .else CONFIGURE_ARGS+= --disable-syslog CONFIGURE_ARGS+= --with-logfile=${LOGFILE} .endif .ifndef(WITHOUT_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif .ifdef(WITH_VERBOSE_DEBUG) CONFIGURE_ARGS+= --enable-verbose-debug .endif .ifdef(WITH_BNR_DEBUG) CONFIGURE_ARGS+= --enable-bnr-debug .endif .ifdef(WITH_PREF_EXT) CONFIGURE_ARGS+= --enable-preferences-extension .endif .ifndef(WITHOUT_DAEMON) CONFIGURE_ARGS+= --enable-daemon USE_RC_SUBR= ${PORTNAME} _SED_SCRIPT+= -e 's,%%DAEMON%%,,g' SUB_LIST+= DSPAM_HOME=${DSPAM_HOME} .else _SED_SCRIPT+= -e '/%%DAEMON%%/D' .endif .ifndef(WITHOUT_CLAMAV) CONFIGURE_ARGS+= --enable-clamav . ifndef(WITHOUT_CLAMAV_LOCAL) RUN_DEPENDS+= clamav>=0:${PORTSDIR}/security/clamav SUB_LIST+= CLAMD=clamd . else SUB_LIST+= CLAMD= . endif .endif .ifdef(WITH_CLAMAV_DEVEL) CONFIGURE_ARGS+= --enable-clamav . ifndef(WITHOUT_CLAMAV_LOCAL) RUN_DEPENDS+= clamav-devel>=0:${PORTSDIR}/security/clamav-devel SUB_LIST+= CLAMD=clamd . else SUB_LIST+= CLAMD= . endif .endif # we need to know if we are building statically or dynamicaly for the plist _DBDRV_COUNT= # blank, but defined so we can check against it #_DBDRV_ALL= pgsql_drv,sqlite3_drv,sqlite_drv,hash_drv,mysql_drv _DBDRV= pgsql_drv,sqlite3_drv,sqlite_drv,hash_drv,mysql_drv, .ifndef(WITHOUT_POSTGRESQL) USE_PGSQL= yes CONFIGURE_ARGS+= --with-pgsql-includes=${LOCALBASE}/include \ --with-pgsql-libraries=${LOCALBASE}/lib PLIST_SUB+= PGSQL="" #PKGNAMESUFFIX= -pgsql _DBDRV_COUNT:= ${_DBDRV_COUNT}o . if defined(WITH_POSTGRESQL_LOCAL) RUN_DEPENDS+= postgresql-server>=0:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server SUB_LIST+= PGSQL=postgresql . else SUB_LIST+= PGSQL= . endif .else PLIST_SUB+= PGSQL="@comment " _DBDRV:= ${_DBDRV:S/pgsql_drv,//} .endif .ifndef(WITHOUT_SQLITE3) USE_SQLITE= 3 _DBDRV_COUNT:= ${_DBDRV_COUNT}o .else _DBDRV:= ${_DBDRV:S/sqlite3_drv,//} .endif .if defined(WITH_SQLITE2) USE_SQLITE= 2 _DBDRV_COUNT:= ${_DBDRV_COUNT}o .else _DBDRV:= ${_DBDRV:S/sqlite_drv,//} .endif .if defined(USE_SQLITE) CONFIGURE_ARGS+= --with-sqlite-includes=${LOCALBASE}/include \ --with-sqlite-libraries=${LOCALBASE}/lib PLIST_SUB+= SQLITE="" .else PLIST_SUB+= SQLITE="@comment " .endif .ifndef(WITHOUT_HASH) PLIST_SUB+= HASH="" #PKGNAMESUFFIX= -css _DBDRV_COUNT:= ${_DBDRV_COUNT}o .else _DBDRV:= ${_DBDRV:S/hash_drv,//} PLIST_SUB+= HASH="@comment " .endif .ifdef(WITH_MYSQL40) WANT_MYSQL_VER= 40 #PKGNAMESUFFIX= -mysql40 .elifdef(WITH_MYSQL41) WANT_MYSQL_VER= 41 #PKGNAMESUFFIX= -mysql41 .elifndef(WITHOUT_MYSQL50) WANT_MYSQL_VER= 50 #PKGNAMESUFFIX= -mysql50 .elifdef(WITH_MYSQL51) WANT_MYSQL_VER= 51 #PKGNAMESUFFIX= -mysql51 .elifdef(WITH_MYSQL55) WANT_MYSQL_VER= 55 #PKGNAMESUFFIX= -mysql55 .endif .if defined(WITH_MYSQL40) || defined(WITH_MYSQL41) || \ !defined(WITHOUT_MYSQL50) || defined(WITH_MYSQL51) || defined(WITH_MYSQL55) USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql-includes=${LOCALBASE}/include/mysql \ --with-mysql-libraries=${LOCALBASE}/lib/mysql PLIST_SUB+= MYSQL="" _DBDRV_COUNT:= ${_DBDRV_COUNT}o . if defined(WITH_MYSQL_COMPRESS) CONFIGURE_ARGS+= --enable-client-compression . endif . if defined(WITH_MYSQL_LOCAL) RUN_DEPENDS+= mysql-server>=0:${PORTSDIR}/databases/mysql${WANT_MYSQL_VER}-server SUB_LIST+= MYSQL=mysql . else SUB_LIST+= MYSQL= . endif .else _DBDRV:= ${_DBDRV:S/mysql_drv,//} PLIST_SUB+= MYSQL="@comment " .endif # now we have all the db backends the user wants and we remove last ',' CONFIGURE_ARGS+= --with-storage-driver=${_DBDRV:S/,$//} .if ${_DBDRV_COUNT} != "o" PLIST_SUB+= DYNAMIC="" .else PLIST_SUB+= DYNAMIC="@comment " .endif .ifdef(WITH_EXTERNAL_LOOKUP) CONFIGURE_ARGS+= --enable-external-lookup USE_OPENLDAP= YES #CPPFLAGS+= -I${LOCALBASE}/include #LDFLAGS+= -lldap -llber #CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" .endif .ifdef(WITH_USER_HOMEDIR) CONFIGURE_ARGS+= --enable-homedir .endif .ifdef(WITH_TRUSTED_USERS) CONFIGURE_ARGS+= --disable-trusted-user-security .endif .ifdef(WITH_VIRT_USERS) CONFIGURE_ARGS+= --enable-virtual-users .endif .ifdef(WITH_LONG_USERNAMES) CONFIGURE_ARGS+= --enable-long-usernames .endif .ifdef(WITH_LARGE_SCALE) CONFIGURE_ARGS+= --enable-large-scale .endif .ifdef(WITH_DOMAIN_SCALE) CONFIGURE_ARGS+= --enable-domain-scale .endif # add one 'o' here for each new LDA LDA_TOTAL_COUNT= ooooooooo # 9 LDA_COUNT= ${LDA_TOTAL_COUNT} .if defined(WITH_CYRUS21_LDA) RUN_DEPENDS+= ${LOCALBASE}/cyrus/bin/deliver:${PORTSDIR}/mail/cyrus-imapd2 CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/cyrus/bin/deliver' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .if defined(WITH_CYRUS22_LDA) RUN_DEPENDS+= ${LOCALBASE}/cyrus/bin/deliver:${PORTSDIR}/mail/cyrus-imapd22 CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/cyrus/bin/deliver' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .if defined(WITH_CYRUS23_LDA) RUN_DEPENDS+= ${LOCALBASE}/cyrus/bin/deliver:${PORTSDIR}/mail/cyrus-imapd23 CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/cyrus/bin/deliver' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .ifdef(WITH_EXIM_LDA) . ifdef(WITH_MYSQL40) || (WITH_MYSQL41) _EXIM_EXT= -mysql . elifdef(WITH_POSTGRESQL) _EXIM_EXT= -postgresql . endif RUN_DEPENDS+= exim:${PORTSDIR}/mail/exim${_EXIM_EXT} CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/sbin/exim' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .ifdef(WITH_MAILDROP_LDA) RUN_DEPENDS+= maildrop:${PORTSDIR}/mail/maildrop CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/bin/maildrop' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .ifdef(WITH_PROCMAIL_LDA) RUN_DEPENDS+= procmail:${PORTSDIR}/mail/procmail CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/bin/procmail' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .ifdef(WITH_SAFECAT_LDA) RUN_DEPENDS+= safecat:${PORTSDIR}/sysutils/safecat CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/safecat tmp new' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .ifdef(WITH_SENDMAIL_LDA) && exists(/usr/sbin/sendmail) CONFIGURE_ARGS+= --with-delivery-agent=/usr/sbin/sendmail LDA_COUNT:= ${LDA_COUNT:S/o//} .else . ifdef(WITH_SENDMAIL_LDA) && exists(${LOCALBASE}/sbin/sendmail) CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/sbin/sendmail' LDA_COUNT:= ${LDA_COUNT:S/o//} . endif .endif .ifdef(WITH_SENDMAIL) DSPAM_MODE= 4511 .endif .ifdef(WITH_POSTFIX_MBC) DSPAM_MODE= 4511 .endif .ifdef(WITH_QMAIL) DSPAM_MODE= 4511 .endif .ifdef(DSPAM_MODE) CONFIGURE_ARGS+= --with-dspam-mode=${DSPAM_MODE} .endif .ifdef(WITH_WebUI) . if defined(WITH_LIGHTTPD) RUN_DEPENDS+= ${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd . else USE_APACHE= 1.3+ . endif LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd RUN_DEPENDS+= ${SITE_PERL}/mach/GD.pm:${PORTSDIR}/graphics/p5-GD RUN_DEPENDS+= ${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph RUN_DEPENDS+= ${SITE_PERL}/GD/Graph3d.pm:${PORTSDIR}/graphics/p5-GD-Graph3d RUN_DEPENDS+= ${SITE_PERL}/GD/Text.pm:${PORTSDIR}/graphics/p5-GD-TextUtil CONFIGURE_ARGS+=--enable-logging CONFIGURE_ARGS+=--enable-user-logging USE_PERL5= yes PLIST_SUB+= WebUI="" _SED_SCRIPT+= -e 's/%%WebUI%%//g' _SED_SCRIPT+= -e 's,%%WWWDIR%%,${WWWDIR},g' PLIST_SUB+= WWWDIR=${WWWDIR_REL} .else PLIST_SUB+= WebUI="@comment " _SED_SCRIPT+= -e '/%%WebUI%%/D' .endif MAN1= dspam.1 dspam_clean.1 dspam_dump.1 dspam_merge.1 dspam_stats.1 \ dspam_train.1 MAN3= libdspam.3 MLINKS= libdspam.3 dspam_init.3 MLINKS+= libdspam.3 dspam_create.3 MLINKS+= libdspam.3 dspam_addattribute.3 MLINKS+= libdspam.3 dspam_attach.3 MLINKS+= libdspam.3 dspam_process.3 MLINKS+= libdspam.3 dspam_getsource.3 MLINKS+= libdspam.3 dspam_destroy.3 MLINKS+= libdspam.3 dspam_detach.3 _DOCS= CHANGELOG LICENSE README README.FreeBSD RELEASE.NOTES UPGRADING _DOCSL= courier.txt exim.txt markov.txt mysql_drv.txt pgsql_drv.txt \ pop3filter.txt postfix.txt qmail.txt relay.txt sendmail.txt \ sqlite_drv.txt pre-everything:: .ifndef(MAINT) @${ECHO_CMD} "" @${ECHO_CMD} "Last ${FILESDIR}/UPDATING entry:" @${ECHO_CMD} "###########################################################################" @${SED} -n < ${FILESDIR}/UPDATING "/^# ${PKGNAME}/,/^#####/p" @${ECHO_CMD} "" @sleep 5 .endif pre-extract: check-options-version .ifndef(MAINT) @${ECHO_CMD} "" @${ECHO_CMD} "Define vars below before make-ing if you need:" @${ECHO_CMD} "" @${ECHO_CMD} "SIGNATURE_LIFE=${SIGNATURE_LIFE} (default 15)" @${ECHO_CMD} "DSPAM_OWNER=${DSPAM_OWNER} (default: root)" @${ECHO_CMD} "DSPAM_GROUP=${DSPAM_GROUP} (default: mail)" @${ECHO_CMD} "DSPAM_MODE=${DSPAM_MODE}" @${ECHO_CMD} "DSPAM_ETC=${DSPAM_ETC} (default: ${PREFIX}/etc" @${ECHO_CMD} "DSPAM_HOME=${DSPAM_HOME} (default: ${_VAR_DIR}/db/dspam)" @${ECHO_CMD} "DSPAM_HOME_OWNER=${DSPAM_HOME_OWNER}" @${ECHO_CMD} "DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP}" @${ECHO_CMD} "DSPAM_HOME_MODE=${DSPAM_HOME_MODE} (default: 0770)" @${ECHO_CMD} "LOG_DIR=${LOG_DIR} (default: ${_VAR_DIR}/log/dspam)" . ifdef(WITHOUT_SYSLOG) @${ECHO_CMD} "LOGFILE=${LOGFILE} (default: ${_VAR_DIR}/log/dspam/dspam.log)" . endif . ifdef(WITH_WebUI) @${ECHO_CMD} "Define WWWDIR before making if you need the WebUI files" @${ECHO_CMD} "installed in other place that this installation's default" @${ECHO_CMD} "${WWWDIR}" . endif @${ECHO_CMD} "" @sleep 5 .endif post-patch: @${REINPLACE_CMD} -e 's|where @a-14 > to_days(created_on);|where @a-${SIGNATURE_LIFE} > to_days(created_on);|' \ ${WRKSRC}/src/tools.mysql_drv/purge.sql @${REINPLACE_CMD} -e 's|where @a-14 > to_days(created_on);|where @a-${SIGNATURE_LIFE} > to_days(created_on);|' \ ${WRKSRC}/src/tools.mysql_drv/purge-4.1.sql @${REINPLACE_CMD} -e 's|WHERE CURRENT_DATE - created_on > 14;|WHERE CURRENT_DATE - created_on > ${SIGNATURE_LIFE};|' \ ${WRKSRC}/src/tools.pgsql_drv/purge.sql @${REINPLACE_CMD} -e "s|where date('now')-date(created_on) > 14;|where date('now')-date(created_on) > ${SIGNATURE_LIFE};|" \ ${WRKSRC}/src/tools.sqlite_drv/purge-2.sql @${REINPLACE_CMD} -e "s|where julianday('now')-julianday(created_on) > 14;|where julianday('now')-julianday(created_on) > ${SIGNATURE_LIFE};|" \ ${WRKSRC}/src/tools.sqlite_drv/purge-3.sql @${REINPLACE_CMD} -e "s^%%PERL%%^${PERL}^; s^%%DSPAM_PATH%%^${PREFIX}/bin^" ${WRKSRC}/scripts/train.pl pre-configure: @${ECHO_CMD} .if !( ${LDA_TOTAL_COUNT:S/o//}==${LDA_COUNT} || ${LDA_TOTAL_COUNT}==${LDA_COUNT} ) @${ECHO_CMD} "You can only use one local delivery agent at once." @${ECHO_CMD} "See ${DSPAM_ETC}/dspam.conf for how to change it at run time." @${FALSE} .endif .if ${_DBDRV}=="" @${ECHO_CMD} @${ECHO_CMD} "You need to enable at least one database back-end." @${FALSE} .endif .if defined(WITH_VIRT_USERS) && !(defined(USE_MYSQL) || \ !defined(WITHOUT_POSTGRESQL) || !defined(WITHOUT_HASH) ) @${ECHO_CMD} "You need MySQL, POSTGRESQL or HASH for virtual users." @${FALSE} .endif .if defined(WITH_PREF_EXT) && !( defined(USE_MYSQL) || \ !defined(WITHOUT_POSTGRESQL) ) @${ECHO_CMD} "You need MySQL or Postgres for preferences extension" @${FALSE} .endif .ifndef(WITHOUT_DAEMON) && !( defined(USE_MYSQL) || \ !defined(WITHOUT_POSTGRESQL) || !defined(WITHOUT_HASH) ) @${ECHO_CMD} "You need MySQL, PostgreSQL or Hash for Daemon mode, because multithreading support is needed" @${FALSE} .endif .if ( defined(WITH_MYSQL40) && defined(WITH_MYSQL41) && !defined(WITHOUT_MYSQL50) && defined(WITH_MYSQL51)) @${ECHO_CMD} "You can compile with only one MySQL version driver." @${FALSE} .endif .if defined(WITH_EXTERNAL_LOOKUP) && !( defined(USE_MYSQL) || \ !defined(WITHOUT_POSTGRESQL) || defined(USE_SQLITE) ) @${ECHO_CMD} "You need MySQL, Postgres or SQLITE for EXTERNAL_LOOKUP." @${FALSE} .endif .if defined(WITH_USER_HOMEDIR) && defined(WITH_WebUI) @${ECHO_CMD} "USER_HOMEDIR and WebUI are incopatible" @${FALSE} .endif .if defined(WITH_DOMAIN_SCALE) && defined(WITH_LARGE_SCALE) @${ECHO_CMD} "DOMAIN_SCALE and LARGE_SCALE are incopatible" @${FALSE} .endif .if defined(WITH_LIGHTHTTPD) && !defined(WITH_WebUI) @${ECHO_CMD} "There's no reason to depend on LightHTTPD if you're not using WebUI" @${FALSE} .endif post-install: ${CP} ${WRKSRC}/src/dspam.conf ${WRKSRC}/src/dspam.conf.sample cd ${WRKSRC}/src/ && \ ${INSTALL} -o ${DSPAM_OWNER} -g ${DSPAM_GROUP} -m 0640 \ dspam.conf.sample ${PREFIX}/etc ######## # stupid hack until I figure out where/how to patch @${MKDIR} ${PREFIX}/libdata/pkgconfig @${MV} ${PREFIX}/lib/pkgconfig/dspam.pc ${PREFIX}/libdata/pkgconfig/dspam.pc ${TEST} `ls -1 ${PREFIX}/lib/pkgconfig | wc -l` -eq 0 && \ ${RM} -R ${PREFIX}/lib/pkgconfig || true .ifndef NOPORTEXAMPLES .ifdef(USE_MYSQL) @${MKDIR} ${EXAMPLESDIR}/mysql cd ${WRKSRC}/src/tools.mysql_drv && \ ${INSTALL_DATA} mysql_objects-4.1.sql \ mysql_objects-space.sql \ mysql_objects-speed.sql \ purge-4.1.sql purge.sql \ virtual_user_aliases.sql \ virtual_users.sql ${EXAMPLESDIR}/mysql .endif .ifndef(WITHOUT_POSTGRESQL) @${MKDIR} ${EXAMPLESDIR}/pgsql @cd ${WRKSRC}/src/tools.pgsql_drv && \ ${INSTALL_DATA} *.sql ${EXAMPLESDIR}/pgsql .endif .ifdef(USE_SQLITE) @${MKDIR} ${EXAMPLESDIR}/sqlite cd ${WRKSRC}/src/tools.sqlite_drv && \ ${INSTALL_DATA} *.sql ${EXAMPLESDIR}/sqlite .endif .endif # NOPORTEXAMPLES .ifdef(WITH_WebUI) . for I in admin.cgi admingraph.cgi configure.pl dspam.cgi graph.cgi templates/strings.pl ${REINPLACE_CMD} -e "s,/usr/bin/perl,${PERL},g" ${WRKSRC}/webui/cgi-bin/${I} . endfor ${MV} ${WRKSRC}/webui/cgi-bin/configure.pl ${WRKSRC}/webui/cgi-bin/configure.pl.sample cd ${WRKSRC}/webui/cgi-bin && ${MKDIR} ${WWWDIR} && \ ${INSTALL_SCRIPT} configure.pl.sample ${WWWDIR}/ && \ ${INSTALL_SCRIPT} *.cgi ${WWWDIR} && \ ${INSTALL_DATA} rgb.txt ${WWWDIR}/ cd ${WRKSRC}/webui/htdocs && \ ${INSTALL_DATA} base.css dspam-logo-small.gif ${WWWDIR}/ cd ${WRKSRC}/webui/cgi-bin && \ ${INSTALL_DATA} default.prefs ${WWWDIR}/default.prefs.sample cd ${WRKSRC}/webui/cgi-bin && \ ${INSTALL_DATA} admins ${WWWDIR}/admins.sample ${MKDIR} ${WWWDIR}/templates && cd ${WRKSRC}/webui/cgi-bin/templates && \ ${INSTALL_DATA} *.html ${WWWDIR}/templates/ && \ ${INSTALL_SCRIPT} strings.pl ${WWWDIR}/templates/ && for _dir in de es-es fr he pt-br ro; do \ ${INSTALL_DATA} -d ${WWWDIR}/templates/$${_dir} && \ cd ${WRKSRC}/webui/cgi-bin/templates/$${_dir} && \ ${INSTALL_DATA} *.html ${WWWDIR}/templates/$${_dir}; \ done && \ for _dir in de es-es pt-br; do \ cd ${WRKSRC}/webui/cgi-bin/templates/$${_dir} && \ ${INSTALL_SCRIPT} strings.pl ${WWWDIR}/templates/$${_dir}/; \ done .endif @${SED} ${_SED_SCRIPT} ${.CURDIR}/pkg-message > ${WRKSRC}/README.FreeBSD .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${_DOCS} ${DOCSDIR} @cd ${WRKSRC}/doc && ${INSTALL_DATA} ${_DOCSL} ${DOCSDIR} @cd ${FILESDIR} && ${INSTALL_DATA} UPDATING ${DOCSDIR}/UPDATING .endif @${MKDIR} -m ${DSPAM_HOME_MODE} ${DSPAM_HOME} @${CHOWN} ${DSPAM_HOME_OWNER}:${DSPAM_HOME_GROUP} ${DSPAM_HOME} .for _file in firstrun.txt firstspam.txt quarantinefull.txt @if ! ${TEST} -e ${WRKSRC}/txt/${_file}.sample;\ then\ cd ${WRKSRC}/txt && \ ${MV} ${_file} ${_file}.sample;\ fi cd ${WRKSRC}/txt && \ ${INSTALL_DATA} ${_file}.sample ${DSPAM_HOME} .endfor @${MKDIR} -m ${DSPAM_HOME_MODE} ${LOG_DIR} @${CAT} ${WRKSRC}/README.FreeBSD @${ECHO_CMD} "If you haven't defined NOPORTDOCS you can review this" @${ECHO_CMD} "message in ${DOCSDIR}/README.FreeBSD" @${ECHO_CMD} check-options-version: .ifdef(_OPTIONS_READ) @(if ${PKG_VERSION} -t ${_OPTIONS_READ} ${MIN_OPTIONS_VER} | ${GREP} -q '<'; \ then ${ECHO_CMD} ""; \ ${ECHO_CMD} "===> You have unsupported (old) OPTIONS, please do a 'make config; make'"; \ ${ECHO_CMD} ""; \ exit 1; \ fi) .endif .include Property changes on: head/mail/dspam/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.76 \ No newline at end of property +1.77 \ No newline at end of property Index: head/mail/dspam-devel/Makefile =================================================================== --- head/mail/dspam-devel/Makefile (revision 252317) +++ head/mail/dspam-devel/Makefile (revision 252318) @@ -1,653 +1,653 @@ # New ports collection makefile for: dspam-devel # Date created: 24 Jun 2004 # Whom: Ion-Mihai "IOnut" Tetcu # # $Tecnik: ports/mail/dspam-devel/Makefile,v 1.55 2006/06/05 08:41:24 itetcu Exp $ # $FreeBSD$ # # Note to commiters: If don't commit a maintainer patch and as a result PKGNAME # or user variables (WITH*) changes please add an entry in ${FILESDIR}/UPDATING and # modify _UPD_LINE_NO=(no_of_added_lines-1) in this Makefile. # Else the port will be broken. Thanks. PORTNAME= dspam-devel PORTVERSION= ${PORTVER_MAJ}${SNAP_DATE} -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= # set later MAINTAINER= itetcu@FreeBSD.org COMMENT= Bayesian spam filter - development version IGNORE= - use mail/dspam, for now it is newer PORTVER_MAJ= 3.8.0 #SNAP_DATE= .20061010.1118 MIN_OPTIONS_VER= ${PORTNAME}-3.6.8.20061010.1118_1 MAKE_JOBS_UNSAFE= yes .ifdef(SNAP_DATE) MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/ MASTER_SITE_SUBDIR= itetcu .else MASTER_SITES= http://dspam.irontec.com/sources/ \ http://dspam.nuclearelephant.com/sources/ \ http://dspam.systemadministrator.org/sources/ \ http://dspam.sourceforge.net/sources/ \ http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/ DISTFILES= dspam-${PORTVER_MAJ}.tar.gz WRKSRC= ${WRKDIR}/dspam-${PORTVER_MAJ} .endif ## debug / log / admin options OPTIONS= SYSLOG "Logs via syslog" on OPTIONS+= DEBUG "Enable debugging logging" on OPTIONS+= VERBOSE_DEBUG "Enable debug in LOGDIR/dspam.debug" off OPTIONS+= BNR_DEBUG "Enable debug for BNR" off OPTIONS+= PREF_EXT "Preferences in database not in files" off OPTIONS+= DAEMON "Daemonize dspam; speaks LMTP or DLMTP" on # OPTIONS+= CLAMAV "Enable clamav support" on OPTIONS+= CLAMAV_DEVEL "Enable clamav support" off OPTIONS+= CLAMAV_LOCAL "RUN_DEPEND on selected clamav" on # OPTIONS+= MYSQL40 "Use MySQL 4.0.x as back-end" off OPTIONS+= MYSQL41 "Use MySQL 4.1.x as back-end" off OPTIONS+= MYSQL50 "Use MySQL 5.0.x as back-end" on OPTIONS+= MYSQL51 "Use MySQL 5.1.x as back-end" off OPTIONS+= MYSQL_COMPRESS "Compress dspam <--> MySQL" off OPTIONS+= MYSQL_LOCAL "RUN_DEPEND on selected MySQL server ver." off OPTIONS+= POSTGRESQL "Use PostgreSQL as back-end" on OPTIONS+= POSTGRESQL_LOCAL "RUN_DEPEND on PostgreSQL server" off OPTIONS+= SQLITE2 "Use SQLite v2.x as back-end" off OPTIONS+= SQLITE3 "Use SQLite v3.x as back-end" on OPTIONS+= HASH "Use hash driver" on # OPTIONS+= LDAP "Enable recipient verification via LDAP" off # layout OPTIONS+= USER_HOMEDIR "Store user data in ~/.dspam" off OPTIONS+= TRUSTED_USERS "Disable trusted user security" off OPTIONS+= VIRT_USERS "Enable virtual users (needs SQL back-end)" off OPTIONS+= LONG_USERNAMES "Usernames longer that OS supports" off OPTIONS+= LARGE_SCALE "File structure for large scale" off OPTIONS+= DOMAIN_SCALE "File structure for multiple domains" off ## MTA and LDA OPTIONS+= CYRUS21_LDA "Use Cyrus's 2.1 deliver as LDA" off OPTIONS+= CYRUS22_LDA "Use Cyrus's 2.2 deliver as LDA" off OPTIONS+= CYRUS23_LDA "Use Cyrus's 2.3 deliver as LDA" off OPTIONS+= EXIM_LDA "Use Exim as local delivery agent" off OPTIONS+= MAILDROP_LDA "Use Maildrop as local delivery agent" off OPTIONS+= PROCMAIL_LDA "Use Procmail as local delivery agent" off OPTIONS+= SAFECAT_LDA "Use Safecat as local delivery agent" off OPTIONS+= SENDMAIL_LDA "Use Sendmail as local delivery agent" off OPTIONS+= SENDMAIL "Play nice with sendmail server" off OPTIONS+= POSTFIX_MBC "Dspam as mailbox_command in Postfix" off OPTIONS+= QMAIL "Play nice with Qmail mail server" off OPTIONS+= CGI "Install CGI (pulls in Apache or see below)" off OPTIONS+= LIGHTTPD "RUN_DEPEND on LightHTTPD, not Apache" off USE_PERL5= yes USE_AUTOTOOLS= libtool:22 .ifdef(SNAP_DATE) USE_AUTOTOOLS+= autoconf:262:env automake:19 .endif USE_LDCONFIG= yes GNU_CONFIGURE= yes #CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" .ifdef(GDBS) CFLAGS+= -g -DDEBUG STRIP= .endif PKGMESSAGE= ${WRKSRC}/src/README.FreeBSD CONFLICTS= dspam-[0-9]* SIGNATURE_LIFE?= 15 _VAR_DIR= /var LOG_DIR?= ${_VAR_DIR}/log/dspam LOGFILE?= ${LOG_DIR}/dspam.log DSPAM_MODE?= 4510 DSPAM_OWNER?= root DSPAM_GROUP?= mail DSPAM_ETC?= ${LOCALBASE}/etc DSPAM_HOME?= ${_VAR_DIR}/db/dspam DSPAM_HOME_OWNER?= ${DSPAM_OWNER} DSPAM_HOME_GROUP?= ${DSPAM_GROUP} DSPAM_HOME_MODE?= 0770 .include CONFIGURE_ARGS+= --sysconfdir=${DSPAM_ETC} CONFIGURE_ARGS+= --with-logdir=${LOG_DIR} PLIST_SUB+= LOG_DIR=${LOG_DIR} CONFIGURE_ARGS+= --with-dspam-home=${DSPAM_HOME} CONFIGURE_ARGS+= --with-dspam-home-owner=${DSPAM_HOME_OWNER} CONFIGURE_ARGS+= --with-dspam-home-group=${DSPAM_HOME_GROUP} CONFIGURE_ARGS+= --with-dspam-home-mode=${DSPAM_HOME_MODE} PLIST_SUB+= DSPAM_HOME=${DSPAM_HOME} CONFIGURE_ARGS+= --with-dspam-owner=${DSPAM_OWNER} CONFIGURE_ARGS+= --with-dspam-group=${DSPAM_GROUP} # we set DSPAM_MODE at the end as some LDAs want specific mode _SED_SCRIPT= -e 's,%%DOCSDIR%%,${DOCSDIR},g' \ -e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \ -e 's,%%DSPAM_HOME%%,${DSPAM_HOME},g' \ -e 's,%%PORTNAME%%,${PORTNAME},g' \ -e 's,%%_VAR_DIR%%,${_VAR_DIR},g' \ -e '/^%%FreeBSD/D' \ -e '/^%%Tecnik%%/D' .ifndef(WITHOUT_SYSLOG) CONFIGURE_ARGS+= --enable-syslog .else CONFIGURE_ARGS+= --disable-syslog CONFIGURE_ARGS+= --with-logfile=${LOGFILE} .endif .ifndef(WITHOUT_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif .ifdef(WITH_VERBOSE_DEBUG) CONFIGURE_ARGS+= --enable-verbose-debug .endif .ifdef(WITH_BNR_DEBUG) CONFIGURE_ARGS+= --enable-bnr-debug .endif .ifdef(WITH_PREF_EXT) CONFIGURE_ARGS+= --enable-preferences-extension .endif .ifndef(WITHOUT_DAEMON) CONFIGURE_ARGS+= --enable-daemon USE_RC_SUBR= ${PORTNAME} _SED_SCRIPT+= -e 's,%%DAEMON%%,,g' SUB_LIST+= DSPAM_HOME=${DSPAM_HOME} .else _SED_SCRIPT+= -e '/%%DAEMON%%/D' .endif .ifndef(WITHOUT_CLAMAV) CONFIGURE_ARGS+= --enable-clamav . ifndef(WITHOUT_CLAMAV_LOCAL) RUN_DEPENDS+= clamav>=0:${PORTSDIR}/security/clamav SUB_LIST+= CLAMD=clamd . else SUB_LIST+= CLAMD= . endif .endif .ifdef(WITH_CLAMAV_DEVEL) CONFIGURE_ARGS+= --enable-clamav . ifndef(WITHOUT_CLAMAV_LOCAL) RUN_DEPENDS+= clamav-devel>=0:${PORTSDIR}/security/clamav-devel SUB_LIST+= CLAMD=clamd . else SUB_LIST+= CLAMD= . endif .endif # we need to know if we are building statically or dynamicaly for the plist _DBDRV_COUNT= # blank, but defined so we can check against it _DBDRV= pgsql_drv,sqlite3_drv,sqlite_drv,hash_drv,mysql_drv, .ifndef(WITHOUT_POSTGRESQL) USE_PGSQL= yes CONFIGURE_ARGS+= --with-pgsql-includes=${LOCALBASE}/include \ --with-pgsql-libraries=${LOCALBASE}/lib PLIST_SUB+= PGSQL="" #PKGNAMESUFFIX= -pgsql _DBDRV_COUNT:= ${_DBDRV_COUNT}o . if defined(WITH_POSTGRESQL_LOCAL) RUN_DEPENDS+= postgresql-server>=0:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server SUB_LIST+= PGSQL=postgresql . else SUB_LIST+= PGSQL= . endif .else PLIST_SUB+= PGSQL="@comment " _DBDRV:= ${_DBDRV:S/pgsql_drv,//} .endif .ifndef(WITHOUT_SQLITE3) USE_SQLITE= 3 _DBDRV_COUNT:= ${_DBDRV_COUNT}o .else _DBDRV:= ${_DBDRV:S/sqlite3_drv,//} .endif .if defined(WITH_SQLITE2) USE_SQLITE= 2 _DBDRV_COUNT:= ${_DBDRV_COUNT}o .else _DBDRV:= ${_DBDRV:S/sqlite_drv,//} .endif .if defined(USE_SQLITE) CONFIGURE_ARGS+= --with-sqlite-includes=${LOCALBASE}/include \ --with-sqlite-libraries=${LOCALBASE}/lib PLIST_SUB+= SQLITE="" .else PLIST_SUB+= SQLITE="@comment " .endif .ifndef(WITHOUT_HASH) PLIST_SUB+= HASH="" #PKGNAMESUFFIX= -css _DBDRV_COUNT:= ${_DBDRV_COUNT}o .else _DBDRV:= ${_DBDRV:S/hash_drv,//} PLIST_SUB+= HASH="@comment " .endif .ifdef(WITH_MYSQL40) WANT_MYSQL_VER= 40 #PKGNAMESUFFIX= -mysql40 .elifdef(WITH_MYSQL41) WANT_MYSQL_VER= 41 #PKGNAMESUFFIX= -mysql41 .elifndef(WITHOUT_MYSQL50) WANT_MYSQL_VER= 50 #PKGNAMESUFFIX= -mysql50 .elifdef(WITH_MYSQL51) WANT_MYSQL_VER= 51 #PKGNAMESUFFIX= -mysql51 .endif .if defined(WITH_MYSQL40) || defined(WITH_MYSQL41) || \ !defined(WITHOUT_MYSQL50) || defined(WITH_MYSQL51) USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql-includes=${LOCALBASE}/include/mysql \ --with-mysql-libraries=${LOCALBASE}/lib/mysql PLIST_SUB+= MYSQL="" _DBDRV_COUNT:= ${_DBDRV_COUNT}o . if defined(WITH_MYSQL_COMPRESS) CONFIGURE_ARGS+= --enable-client-compression . endif . if defined(WITH_MYSQL_LOCAL) RUN_DEPENDS+= mysql-server>=0:${PORTSDIR}/databases/mysql${WANT_MYSQL_VER}-server SUB_LIST+= MYSQL=mysql . else SUB_LIST+= MYSQL= . endif .else _DBDRV:= ${_DBDRV:S/mysql_drv,//} PLIST_SUB+= MYSQL="@comment " .endif # now we have all the db backends the user wants and we remove last ',' CONFIGURE_ARGS+= --with-storage-driver=${_DBDRV:S/,$//} .if ${_DBDRV_COUNT} != "o" PLIST_SUB+= DYNAMIC="" .else PLIST_SUB+= DYNAMIC="@comment " .endif .ifdef(WITH_LDAP) CONFIGURE_ARGS+= --enable-ldap USE_OPENLDAP= YES #CPPFLAGS+= -I${LOCALBASE}/include #LDFLAGS+= -lldap -llber #CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" .endif .ifdef(WITH_USER_HOMEDIR) CONFIGURE_ARGS+= --enable-homedir .endif .ifdef(WITH_TRUSTED_USERS) CONFIGURE_ARGS+= --disable-trusted-user-security .endif .ifdef(WITH_VIRT_USERS) CONFIGURE_ARGS+= --enable-virtual-users .endif .ifdef(WITH_LONG_USERNAMES) CONFIGURE_ARGS+= --enable-long-usernames .endif .ifdef(WITH_LARGE_SCALE) CONFIGURE_ARGS+= --enable-large-scale .endif .ifdef(WITH_DOMAIN_SCALE) CONFIGURE_ARGS+= --enable-domain-scale .endif # add one 'o' here for each new LDA LDA_TOTAL_COUNT= ooooooooo # 9 LDA_COUNT= ${LDA_TOTAL_COUNT} .if defined(WITH_CYRUS21_LDA) RUN_DEPENDS+= ${LOCALBASE}/cyrus/bin/deliver:${PORTSDIR}/mail/cyrus-imapd2 CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/cyrus/bin/deliver' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .if defined(WITH_CYRUS22_LDA) RUN_DEPENDS+= ${LOCALBASE}/cyrus/bin/deliver:${PORTSDIR}/mail/cyrus-imapd22 CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/cyrus/bin/deliver' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .if defined(WITH_CYRUS23_LDA) RUN_DEPENDS+= ${LOCALBASE}/cyrus/bin/deliver:${PORTSDIR}/mail/cyrus-imapd23 CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/cyrus/bin/deliver' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .ifdef(WITH_EXIM_LDA) . ifdef(WITH_MYSQL40) || (WITH_MYSQL41) _EXIM_EXT= -mysql . elifdef(WITH_POSTGRESQL) _EXIM_EXT= -postgresql . endif RUN_DEPENDS+= exim:${PORTSDIR}/mail/exim${_EXIM_EXT} CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/sbin/exim' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .ifdef(WITH_MAILDROP_LDA) RUN_DEPENDS+= maildrop:${PORTSDIR}/mail/maildrop CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/bin/maildrop' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .ifdef(WITH_PROCMAIL_LDA) RUN_DEPENDS+= procmail:${PORTSDIR}/mail/procmail CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/bin/procmail' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .ifdef(WITH_SAFECAT_LDA) RUN_DEPENDS+= safecat:${PORTSDIR}/sysutils/safecat CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/safecat tmp new' LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .ifdef(WITH_SENDMAIL_LDA) && exists(/usr/sbin/sendmail) CONFIGURE_ARGS+= --with-delivery-agent=/usr/sbin/sendmail LDA_COUNT:= ${LDA_COUNT:S/o//} .else . ifdef(WITH_SENDMAIL_LDA) && exists(${LOCALBASE}/sbin/sendmail) CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/sbin/sendmail' LDA_COUNT:= ${LDA_COUNT:S/o//} . endif .endif .ifdef(WITH_SENDMAIL) DSPAM_MODE= 4511 .endif .ifdef(WITH_POSTFIX_MBC) DSPAM_MODE= 4511 .endif .ifdef(WITH_QMAIL) DSPAM_MODE= 4511 .endif .ifdef(DSPAM_MODE) CONFIGURE_ARGS+= --with-dspam-mode=${DSPAM_MODE} .endif .ifdef(WITH_CGI) . if defined(WITH_LIGHTTPD) RUN_DEPENDS+= ${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd . else USE_APACHE= 1.3+ . endif LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd RUN_DEPENDS+= ${SITE_PERL}/mach/GD.pm:${PORTSDIR}/graphics/p5-GD RUN_DEPENDS+= ${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph RUN_DEPENDS+= ${SITE_PERL}/GD/Graph3d.pm:${PORTSDIR}/graphics/p5-GD-Graph3d RUN_DEPENDS+= ${SITE_PERL}/GD/Text.pm:${PORTSDIR}/graphics/p5-GD-TextUtil CONFIGURE_ARGS+=--enable-logging CONFIGURE_ARGS+=--enable-user-logging USE_PERL5= yes PLIST_SUB+= CGI="" CGI_PATH?= ${PREFIX}/www/vhosts/dspam _SED_SCRIPT+= -e 's/%%CGI%%//g' _SED_SCRIPT+= -e 's,%%CGI_PATH%%,${CGI_PATH},g' #SED_FILES= ${LS} ${WRKSRC}/cgi/*.pl #SED_FILES+= ${LS} $PWRKSRC}/cgi/*.cgi .else PLIST_SUB+= CGI="@comment " _SED_SCRIPT+= -e '/%%CGI%%/D' .endif MAN1= dspam.1 dspam_clean.1 dspam_dump.1 dspam_merge.1 \ dspam_stats.1 dspam_train.1 MAN3= libdspam.3 MLINKS= libdspam.3 dspam_init.3 MLINKS+= libdspam.3 dspam_create.3 MLINKS+= libdspam.3 dspam_addattribute.3 MLINKS+= libdspam.3 dspam_attach.3 MLINKS+= libdspam.3 dspam_process.3 MLINKS+= libdspam.3 dspam_getsource.3 MLINKS+= libdspam.3 dspam_destroy.3 MLINKS+= libdspam.3 dspam_detach.3 _DOCS= CHANGELOG LICENSE README README.FreeBSD RELEASE.NOTES UPGRADING _DOCSL= courier.txt exim.txt markov.txt mysql_drv.txt pgsql_drv.txt\ pop3filter.txt postfix.txt qmail.txt relay.txt sendmail.txt \ sqlite_drv.txt pre-everything:: .ifndef(MAINT) @${ECHO_CMD} "" @${ECHO_CMD} "Last ${FILESDIR}/UPDATING entry:" @${ECHO_CMD} "###########################################################################" @${SED} -n < ${FILESDIR}/UPDATING "/^# ${PKGNAME}/,/^#####/p" @${ECHO_CMD} "" @sleep 5 .endif pre-extract: check-options-version .ifndef(MAINT) @${ECHO_CMD} "" @${ECHO_CMD} "Define vars below before make-ing if you need:" @${ECHO_CMD} "" @${ECHO_CMD} "SIGNATURE_LIFE=${SIGNATURE_LIFE} (default 15)" @${ECHO_CMD} "DSPAM_OWNER=${DSPAM_OWNER} (default: root)" @${ECHO_CMD} "DSPAM_GROUP=${DSPAM_GROUP} (default: mail)" @${ECHO_CMD} "DSPAM_MODE=${DSPAM_MODE}" @${ECHO_CMD} "DSPAM_ETC=${DSPAM_ETC} (default: ${LOCALBASE}/etc" @${ECHO_CMD} "DSPAM_HOME=${DSPAM_HOME} (default: ${_VAR_DIR}/db/dspam)" @${ECHO_CMD} "DSPAM_HOME_OWNER=${DSPAM_HOME_OWNER}" @${ECHO_CMD} "DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP}" @${ECHO_CMD} "DSPAM_HOME_MODE=${DSPAM_HOME_MODE} (default: 0770)" @${ECHO_CMD} "LOG_DIR=${LOG_DIR} (default: ${_VAR_DIR}/log/dspam)" . ifdef(WITHOUT_SYSLOG) @${ECHO_CMD} "LOGFILE=${LOGFILE} (default: ${_VAR_DIR}/log/dspam/dspam.log)" . endif . ifdef(WITH_CGI) @${ECHO_CMD} "Define CGI_PATH before make-ing if you need the CGI files" @${ECHO_CMD} "installed in other place that this installation's default" @${ECHO_CMD} "${PREFIX}/www/vhosts/dspam" . endif @${ECHO_CMD} "" @sleep 5 .endif post-patch: @${REINPLACE_CMD} -e 's|where @a-14 > to_days(created_on);|where @a-${SIGNATURE_LIFE} > to_days(created_on);|' \ ${WRKSRC}/src/tools.mysql_drv/purge.sql @${REINPLACE_CMD} -e 's|where @a-14 > to_days(created_on);|where @a-${SIGNATURE_LIFE} > to_days(created_on);|' \ ${WRKSRC}/src/tools.mysql_drv/purge-4.1.sql @${REINPLACE_CMD} -e 's|WHERE CURRENT_DATE - created_on > 14;|WHERE CURRENT_DATE - created_on > ${SIGNATURE_LIFE};|' \ ${WRKSRC}/src/tools.pgsql_drv/purge.sql @${REINPLACE_CMD} -e "s|where date('now')-date(created_on) > 14;|where date('now')-date(created_on) > ${SIGNATURE_LIFE};|" \ ${WRKSRC}/src/tools.sqlite_drv/purge-2.sql @${REINPLACE_CMD} -e "s|where julianday('now')-julianday(created_on) > 14;|where julianday('now')-julianday(created_on) > ${SIGNATURE_LIFE};|" \ ${WRKSRC}/src/tools.sqlite_drv/purge-3.sql @${REINPLACE_CMD} -e "s^%%PERL%%^${PERL}^; s^%%DSPAM_PATH%%^${PREFIX}/bin^" ${WRKSRC}/scripts/train.pl pre-configure: @${ECHO_CMD} .if !( ${LDA_TOTAL_COUNT:S/o//}==${LDA_COUNT} || ${LDA_TOTAL_COUNT}==${LDA_COUNT} ) @${ECHO_CMD} "You can only use one local delivery agent at once." @${ECHO_CMD} "See ${DSPAM_ETC}/dspam.conf for how to change it at run time." @${FALSE} .endif .if ${_DBDRV}=="" @${ECHO_CMD} @${ECHO_CMD} "You need to enable at least one database back-end." @${FALSE} .endif .if defined(WITH_VIRT_USERS) && !(defined(USE_MYSQL) || \ !defined(WITHOUT_POSTGRESQL) || !defined(WITHOUT_HASH) ) @${ECHO_CMD} "You need MySQL, POSTGRESQL or HASH for virtual users." @${FALSE} .endif .if defined(WITH_PREF_EXT) && !( defined(USE_MYSQL) || \ !defined(WITHOUT_POSTGRESQL) ) @${ECHO_CMD} "You need MySQL or Postgres for preferences extension" @${FALSE} .endif .ifndef(WITHOUT_DAEMON) && !( defined(USE_MYSQL) || \ !defined(WITHOUT_POSTGRESQL) || !defined(WITHOUT_HASH) ) @${ECHO_CMD} "You need MySQL, PostgreSQL or Hash for Daemon mode, because multithreading support is needed" @${FALSE} .endif .if ( defined(WITH_MYSQL40) && defined(WITH_MYSQL41) && !defined(WITHOUT_MYSQL50) && defined(WITH_MYSQL51)) @${ECHO_CMD} "You can compile with only one MySQL version driver." @${FALSE} .endif .if defined(WITH_LDAP) && !( defined(USE_MYSQL) || \ !defined(WITHOUT_POSTGRESQL) || defined(USE_SQLITE) ) @${ECHO_CMD} "You need MySQL, Postgres or SQLITE for LDAP." @${FALSE} .endif .if defined(WITH_USER_HOMEDIR) && defined(WITH_CGI) @${ECHO_CMD} "USER_HOMEDIR and CGI are incopatible" @${FALSE} .endif .if defined(WITH_DOMAIN_SCALE) && defined(WITH_LARGE_SCALE) @${ECHO_CMD} "DOMAIN_SCALE and LARGE_SCALE are incopatible" @${FALSE} .endif .if defined(WITH_LIGHTHTTPD) && !defined(WITH_CGI) @${ECHO_CMD} "There's no reason to depend on LightHTTPD if you're not using CGI" @${FALSE} .endif .ifdef(SNAP_DATE) @${ECHO_CMD} @${ECHO_CMD} "You can safely ignore the following auto* errors" @${ECHO_CMD} @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh) .endif post-install: ${CP} ${WRKSRC}/src/dspam.conf ${WRKSRC}/src/dspam.conf.sample cd ${WRKSRC}/src/ && \ ${INSTALL} -o ${DSPAM_OWNER} -g ${DSPAM_GROUP} -m 0640 \ dspam.conf.sample ${PREFIX}/etc ######## # stupid hack until I figure out where/how to patch @${MKDIR} ${PREFIX}/libdata/pkgconfig @${MV} ${PREFIX}/lib/pkgconfig/dspam.pc ${PREFIX}/libdata/pkgconfig/dspam.pc ${TEST} `ls -1 ${PREFIX}/lib/pkgconfig | wc -l` -eq 0 && \ ${RM} -R ${PREFIX}/lib/pkgconfig || true .ifdef(USE_MYSQL) @${MKDIR} ${EXAMPLESDIR}/mysql cd ${WRKSRC}/src/tools.mysql_drv && \ ${INSTALL_DATA} mysql_objects-4.1.sql \ mysql_objects-space.sql \ mysql_objects-speed.sql \ purge-4.1.sql purge.sql \ virtual_user_aliases.sql \ virtual_users.sql ${EXAMPLESDIR}/mysql .endif .ifndef(WITHOUT_POSTGRESQL) @${MKDIR} ${EXAMPLESDIR}/pgsql @cd ${WRKSRC}/src/tools.pgsql_drv && \ ${INSTALL_DATA} *.sql ${EXAMPLESDIR}/pgsql .endif .ifdef(USE_SQLITE) @${MKDIR} ${EXAMPLESDIR}/sqlite cd ${WRKSRC}/src/tools.sqlite_drv && \ ${INSTALL_DATA} *.sql ${EXAMPLESDIR}/sqlite .endif .ifdef(WITH_CGI) . for I in admin.cgi admingraph.cgi configure.pl dspam.cgi graph.cgi @${REINPLACE_CMD} -e "s,/usr/bin/perl,${PERL},g" ${WRKSRC}/webui/cgi-bin/${I} . endfor cd ${WRKSRC}/webui/cgi-bin && ${MV} configure.pl configure.pl.sample cd ${WRKSRC}/webui/cgi-bin && ${MKDIR} ${CGI_PATH} && \ ${INSTALL_SCRIPT} configure.pl.sample ${CGI_PATH}/ && \ ${INSTALL_SCRIPT} *.cgi ${CGI_PATH} && \ ${INSTALL_DATA} rgb.txt ${CGI_PATH}/ cd ${WRKSRC}/webui/htdocs && \ ${INSTALL_DATA} base.css dspam-logo-small.gif ${CGI_PATH}/ cd ${WRKSRC}/webui/cgi-bin && \ ${INSTALL_DATA} default.prefs ${CGI_PATH}/default.prefs.sample cd ${WRKSRC}/webui/cgi-bin && \ ${INSTALL_DATA} admins ${CGI_PATH}/admins.sample ${MKDIR} ${CGI_PATH}/templates && cd ${WRKSRC}/webui/cgi-bin/templates && \ ${INSTALL_DATA} *.html ${CGI_PATH}/templates/ .endif @${SED} ${_SED_SCRIPT} ${.CURDIR}/pkg-message > ${WRKSRC}/README.FreeBSD .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${_DOCS} ${DOCSDIR} @cd ${WRKSRC}/doc && ${INSTALL_DATA} ${_DOCSL} ${DOCSDIR} @cd ${FILESDIR} && ${INSTALL_DATA} UPDATING ${DOCSDIR}/UPDATING .endif @${MKDIR} -m ${DSPAM_HOME_MODE} ${DSPAM_HOME} @${CHOWN} ${DSPAM_HOME_OWNER}:${DSPAM_HOME_GROUP} ${DSPAM_HOME} .for _file in firstrun.txt firstspam.txt quarantinefull.txt @if ! ${TEST} -e ${WRKSRC}/txt/${_file}.sample;\ then\ cd ${WRKSRC}/txt && \ ${MV} ${_file} ${_file}.sample;\ fi cd ${WRKSRC}/txt && \ ${INSTALL_DATA} ${_file}.sample ${DSPAM_HOME} .endfor @${MKDIR} -m ${DSPAM_HOME_MODE} ${LOG_DIR} @${CAT} ${WRKSRC}/README.FreeBSD @${ECHO_CMD} "If you haven't defined NOPORTDOCS you can review this" @${ECHO_CMD} "message in ${DOCSDIR}/README.FreeBSD" @${ECHO_CMD} check-options-version: .ifdef(_OPTIONS_READ) @(if ${PKG_VERSION} -t ${_OPTIONS_READ} ${MIN_OPTIONS_VER} | ${GREP} -q '<'; \ then ${ECHO_CMD} ""; \ ${ECHO_CMD} "===> You have unsupported (old) OPTIONS, please do a 'make config; make'"; \ ${ECHO_CMD} ""; \ exit 1; \ fi) .endif .include Property changes on: head/mail/dspam-devel/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.74 \ No newline at end of property +1.75 \ No newline at end of property Index: head/mail/mailscanner/Makefile =================================================================== --- head/mail/mailscanner/Makefile (revision 252317) +++ head/mail/mailscanner/Makefile (revision 252318) @@ -1,422 +1,423 @@ # New ports collection makefile for: MailScanner # Date created: 17 March 2003 # Whom: Jan-Peter Koopmann # # $FreeBSD$ # PORTNAME= MailScanner PORTVERSION= 4.79.10 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.mailscanner.info/files/4/tar/ DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL} MAINTAINER= pgollucci@FreeBSD.org COMMENT= Powerful virus/spam scanning framework for mail gateways BUILD_DEPENDS= \ ${SITE_PERL}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \ ${SITE_PERL}/${PERL_ARCH}/Bundle/DBI.pm:${PORTSDIR}/databases/p5-DBI \ ${SITE_PERL}/Mail/Header.pm:${PORTSDIR}/mail/p5-Mail-Tools \ ${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset \ ${SITE_PERL}/${PERL_ARCH}/HTML/HeadParser.pm:${PORTSDIR}/www/p5-HTML-Parser \ ${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools \ ${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \ ${SITE_PERL}/Convert/BinHex.pm:${PORTSDIR}/converters/p5-Convert-BinHex \ ${SITE_PERL}/Net/CIDR.pm:${PORTSDIR}/net-mgmt/p5-Net-CIDR \ ${SITE_PERL}/Net/Ident.pm:${PORTSDIR}/net/p5-Net-Ident \ ${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \ ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ ${SITE_PERL}/Time/Zone.pm:${PORTSDIR}/devel/p5-TimeDate \ ${SITE_PERL}/${PERL_ARCH}/Filesys/Df.pm:${PORTSDIR}/sysutils/p5-Filesys-Df \ ${SITE_PERL}/Sys/Hostname/Long.pm:${PORTSDIR}/sysutils/p5-Sys-Hostname-Long \ ${SITE_PERL}/OLE/Storage_Lite.pm:${PORTSDIR}/devel/p5-OLE-Storage_Lite RUN_DEPENDS+= ${BUILD_DEPENDS} \ bash:${PORTSDIR}/shells/bash \ tnef:${PORTSDIR}/converters/tnef \ wget:${PORTSDIR}/ftp/wget OPTIONS= SPAMASSASSIN "Install SpamAssassin" on \ CLAMAV "Install ClamAV" on \ CLAMAVMODULE "Install ClamAV Module" off \ BDC "Install BitDefender" off CONFLICTS= MailScanner-devel-[0-9]* PATCHLEVEL= 1 USE_PERL5= yes WRKSRC= ${WRKDIR}/${PORTNAME}-install-${PORTVERSION} SUB_FILES= pkg-message MAN8= MailScanner.8 MLINKS= MailScanner.8 mailscanner.8 .include .if defined(WITH_SPAMASSASSIN) RUN_DEPENDS+= spamassassin:${PORTSDIR}/mail/p5-Mail-SpamAssassin PLIST_SUB+= SPAMASSASSIN="" .else PLIST_SUB+= SPAMASSASSIN="@comment " .endif # backwards compatibility .if defined(NO_SPAMASSASSIN_SYMLINK) WITHOUT_SPAMASSASSIN_SYMLINK=${NO_SPAMASSASSIN_SYMLINK} .endif .if defined(WITHOUT_SPAMASSASSIN_SYMLINK) PLIST_SUB+= SPAMASSASSIN_SYMLINK="@comment " .else PLIST_SUB+= SPAMASSASSIN_SYMLINK="" .endif .if !defined(WITHOUT_CLAMAV) RUN_DEPENDS+= clamscan:${PORTSDIR}/security/clamav .endif .if defined(WITH_CLAMAVMODULE) RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Mail/ClamAV.pm:${PORTSDIR}/mail/p5-Mail-ClamAV .endif .if defined(WITH_CLAMAV)||defined(WITH_CLAMAVMODULE) RUN_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip \ unrar:${PORTSDIR}/archivers/unrar \ zoo:${PORTSDIR}/archivers/zoo \ unarj:${PORTSDIR}/archivers/unarj \ unace:${PORTSDIR}/archivers/unace \ lha:${PORTSDIR}/archivers/lha .endif .if defined(WITH_BDC) RUN_DEPENDS+= bdc:${PORTSDIR}/security/bdc .endif DOC_FILES= INSTALL.FreeBSD INSTALL.OpenBSD README ETC_FILES= MailScanner.conf filename.rules.conf \ archives.filename.rules.conf archives.filetype.rules.conf \ filetype.rules.conf spam.assassin.prefs.conf \ spam.lists.conf virus.scanners.conf \ phishing.safe.sites.conf \ phishing.bad.sites.conf \ country.domains.conf MCP_FILES= mcp.spam.assassin.prefs.conf \ 10_example.cf v320.pre USRLOCAL_FILES_LIB= \ bitdefender-autoupdate f-prot-autoupdate \ f-secure-wrapper inoculan-autoupdate \ kavdaemonclient-wrapper mcafee-autoupdate \ nod32-autoupdate rav-autoupdate \ rav-wrapper sophos-autoupdate USE_RC_SUBR= mailscanner mta post-extract: cd ${WRKSRC} && ${TAR} xvzf perl-tar/MailScanner-${PORTVERSION}-${PATCHLEVEL}.tar.gz > /dev/null && ${MV} MailScanner-${PORTVERSION}-${PATCHLEVEL}/* . do-build: ${PERL} -pi -e \ 's,/opt/MailScanner/lib,${PREFIX}/lib/MailScanner,g; \ s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g;' \ ${WRKSRC}/bin/MailScanner ${PERL} -pi -e \ 's,/opt/MailScanner/lib,${PREFIX}/libexec/MailScanner,g;' \ ${WRKSRC}/bin/mailscanner_create_locks ${PERL} -pi -e \ 's,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g;' \ ${WRKSRC}/bin/processing_messages_alert ${PERL} -pi -e \ 's,/opt/MailScanner/var/MailScanner.pid,/var/run/MailScanner.pid,g; \ s,/usr/lib/sendmail,/usr/sbin/sendmail,g; \ s,/opt/MailScanner/bin,${PREFIX}/bin,g; \ s,/opt/MailScanner/etc/reports,${DATADIR}/reports,g; \ s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g; \ s,/opt/MailScanner/lib,${PREFIX}/lib/MailScanner,g; \ s,/usr/bin/unrar,${LOCALBASE}/bin/unrar,g; \ s,/bin/gunzip,/usr/bin/gunzip,g; \ s,/etc/mail/spamassassin,${LOCALBASE}/etc/mail/spamassassin,g; \ s,/tmp/clamd.socket,/var/run/clamav/clamd.sock,g; \ s,/usr/local/share/clamav,/var/db/clamav,g;' \ ${WRKSRC}/etc/MailScanner.conf ${PERL} -pi -e \ 's,/opt/MailScanner/lib,${PREFIX}/libexec/MailScanner,g; \ s,/bin/false,/usr/bin/false,;' ${WRKSRC}/etc/virus.scanners.conf ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g;' \ ${WRKSRC}/bin/update_virus_scanners ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/update_virus_scanners.cron ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g;' \ ${WRKSRC}/bin/update_bad_phishing_emails ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g;' \ ${WRKSRC}/bin/update_phishing_sites ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g;' \ ${WRKSRC}/bin/update_bad_phishing_sites ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/update_phishing_sites.cron ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/update_bad_phishing_sites.cron ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/update_spamassassin.cron ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/etc/init.d/MailScanner,${LOCALBASE}/etc/rc.d/mailscanner,g; \ s,/etc/mail/,${LOCALBASE}/etc/mail/,g; \ s,/usr/bin/sa-compile,${LOCALBASE}/bin/sa-compile,g; \ s,/usr/bin/sa-update,${LOCALBASE}/bin/sa-update,g;' \ ${WRKSRC}/bin/update_spamassassin ${PERL} -pi -e \ 's,/etc/MailScanner/MailScanner.conf,${PREFIX}/etc/MailScanner/MailScanner.conf,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g;' \ ${WRKSRC}/bin/clean.SA.cache ${PERL} -pi -e \ 's,/opt/MailScanner/var/MailScanner.pid,/var/run/MailScanner.pid,g; \ s,/usr/lib/sendmail,/usr/sbin/sendmail,g; \ s,/opt/MailScanner/bin,${PREFIX}/bin,g; \ s,/opt/MailScanner/etc/reports,${DATADIR}/reports,g; \ s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g;' \ ${WRKSRC}/lib/MailScanner/ConfigDefs.pl ${PERL} -pi -e \ 's,/bin/sed,/usr/bin/sed,g;' ${WRKSRC}/lib/MailScanner/SystemDefs.pm ${PERL} -pi -e \ 's,/usr/bin/clamscan,${LOCALBASE}/bin/clamscan,g;' \ ${WRKSRC}/lib/clamav-wrapper ${PERL} -pi -e \ 's,/usr/bin/wget,${LOCALBASE}/bin/wget,g;' \ ${WRKSRC}/lib/sophos-autoupdate ${PERL} -pi -e \ 's,/usr/bin/unzip,${LOCALBASE}/bin/unzip,g;' \ ${WRKSRC}/lib/sophos-autoupdate .for FILE in ${USRLOCAL_FILES_LIB} ${PERL} -pi -e \ 's,/usr/local,${LOCALBASE},g;' \ ${WRKSRC}/lib/${FILE} .endfor do-install: # # Step 1: Install bin files # ${INSTALL_SCRIPT} ${WRKSRC}/bin/MailScanner ${PREFIX}/sbin/mailscanner ${LN} -s ${LOCALBASE}/sbin/mailscanner ${PREFIX}/sbin/MailScanner # # Step 2: Install libexec files # ${MKDIR} ${PREFIX}/libexec/MailScanner ${CHMOD} -R ${BINMODE} ${PREFIX}/libexec/MailScanner cd ${WRKSRC}/lib && ${FIND} * -name "*-wrapper" -exec \ ${INSTALL_SCRIPT} {} ${PREFIX}/libexec/MailScanner/{}.sample \; cd ${WRKSRC}/lib && ${FIND} * -name "*-autoupdate" -exec \ ${INSTALL_SCRIPT} {} ${PREFIX}/libexec/MailScanner/{}.sample \; ${INSTALL_SCRIPT} ${WRKSRC}/bin/analyse_SpamAssassin_cache \ ${PREFIX}/libexec/MailScanner/analyse_SpamAssassin_cache ${INSTALL_SCRIPT} ${WRKSRC}/bin/clean.SA.cache \ ${PREFIX}/libexec/MailScanner/clean.SA.cache ${INSTALL_SCRIPT} ${WRKSRC}/bin/clean.quarantine \ ${PREFIX}/libexec/MailScanner/clean.quarantine ${INSTALL_SCRIPT} ${WRKSRC}/bin/mailscanner_create_locks \ ${PREFIX}/libexec/MailScanner/mailscanner_create_locks ${INSTALL_SCRIPT} ${WRKSRC}/bin/processing_messages_alert \ ${PREFIX}/libexec/MailScanner/processing_messages_alert ${INSTALL_SCRIPT} ${WRKSRC}/bin/Quick.Peek \ ${PREFIX}/libexec/MailScanner/Quick.Peek ${INSTALL_SCRIPT} ${WRKSRC}/bin/update_bad_phishing_emails \ ${PREFIX}/libexec/MailScanner/update_bad_phishing_emails ${INSTALL_SCRIPT} ${WRKSRC}/bin/update_phishing_sites \ ${PREFIX}/libexec/MailScanner/update_phishing_sites ${INSTALL_SCRIPT} ${WRKSRC}/bin/update_bad_phishing_sites \ ${PREFIX}/libexec/MailScanner/update_bad_phishing_sites ${INSTALL_SCRIPT} ${WRKSRC}/bin/cron/update_phishing_sites.cron \ ${PREFIX}/libexec/MailScanner/update_phishing_sites.cron ${INSTALL_SCRIPT} ${WRKSRC}/bin/cron/update_bad_phishing_sites.cron \ ${PREFIX}/libexec/MailScanner/update_bad_phishing_sites.cron ${INSTALL_SCRIPT} ${WRKSRC}/bin/update_virus_scanners \ ${PREFIX}/libexec/MailScanner/update_virus_scanners ${INSTALL_SCRIPT} ${WRKSRC}/bin/cron/update_virus_scanners.cron \ ${PREFIX}/libexec/MailScanner/update_virus_scanners.cron ${INSTALL_SCRIPT} ${WRKSRC}/bin/update_spamassassin \ ${PREFIX}/libexec/MailScanner/update_spamassassin ${INSTALL_SCRIPT} ${WRKSRC}/bin/cron/update_spamassassin.cron \ ${PREFIX}/libexec/MailScanner/update_spamassassin.cron # # Step 3: Install etc files # ${MKDIR} ${PREFIX}/etc/MailScanner ${CHMOD} ${BINMODE} ${PREFIX}/etc/MailScanner .for FILE in ${ETC_FILES} ${INSTALL_DATA} ${WRKSRC}/etc/${FILE} \ ${PREFIX}/etc/MailScanner/${FILE}.sample .endfor ${MKDIR} ${PREFIX}/etc/MailScanner/rules cd ${WRKSRC}/etc/rules && \ ${INSTALL_DATA} EXAMPLES README ${PREFIX}/etc/MailScanner/rules ${INSTALL_DATA} ${WRKSRC}/etc/rules/spam.whitelist.rules \ ${PREFIX}/etc/MailScanner/rules/spam.whitelist.rules.sample ${INSTALL_DATA} ${WRKSRC}/etc/rules/bounce.rules \ ${PREFIX}/etc/MailScanner/rules/bounce.rules.sample ${INSTALL_DATA} ${WRKSRC}/etc/rules/max.message.size.rules \ ${PREFIX}/etc/MailScanner/rules/max.message.size.rules.sample ${MKDIR} ${PREFIX}/etc/MailScanner/mcp ${CHMOD} ${BINMODE} ${PREFIX}/etc/MailScanner/mcp .for FILE in ${MCP_FILES} ${INSTALL_DATA} ${WRKSRC}/etc/mcp/${FILE} \ ${PREFIX}/etc/MailScanner/mcp/${FILE}.sample .endfor ${MKDIR} ${PREFIX}/etc/MailScanner/conf.d ${INSTALL_DATA} ${WRKSRC}/etc/conf.d/README \ ${PREFIX}/etc/MailScanner/conf.d/README # # Step 4: Install files in share # @${MKDIR} ${DATADIR} cd ${WRKSRC}/etc && ${FIND} reports -type d ! -name "*.old" -exec \ ${MKDIR} ${DATADIR}/{} \; # cd ${WRKSRC}/etc && ${FIND} reports -type f ! \( -name "*.orig" -exec ... cd ${WRKSRC}/etc && ${FIND} reports \( -type d -name "*.old" -prune \) \ -o \( -type f ! \( -name "*.orig" -o -name "*.bak" \) \ -exec ${INSTALL_DATA} {} ${DATADIR}/{}.sample \; \) ${CHMOD} -R ${BINMODE} ${DATADIR}/reports # # Step 5: Install lib # ${MKDIR} ${PREFIX}/lib/MailScanner/MailScanner ${MKDIR} ${PREFIX}/lib/MailScanner/MailScanner/CustomFunctions ${INSTALL_SCRIPT} ${WRKSRC}/lib/MailScanner.pm \ ${PREFIX}/lib/MailScanner/MailScanner.pm cd ${WRKSRC}/lib/MailScanner && ${FIND} * -type f ! -name "*.orig" -exec \ ${INSTALL_SCRIPT} {} ${PREFIX}/lib/MailScanner/MailScanner/{} \; # # Step 6: Docs & Manpages # # Manpage .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${FILESDIR}/README.FreeBSD.port ${DOCSDIR} # Sophos install script ${INSTALL_SCRIPT} ${FILESDIR}/Sophos.install.freebsd ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOC_FILES} ${DOCSDIR} cd ${FILESDIR} && ${INSTALL_DATA} CHANGES.port ${DOCSDIR} .endif cd ${FILESDIR} && \ ${INSTALL_MAN} ${MAN8} ${MAN5PREFIX}/man/man8 ${PERL} -pi -e \ 's,%%LOCALBASE%%,${LOCALBASE},g; \ s,%%PREFIX%%,${PREFIX},g;' \ ${DOCSDIR}/Sophos.install.freebsd .if exists(${PREFIX}/etc/MailScanner/MailScanner.conf) # Upgrading MailScanner.conf file... Please wait @${PERL} ${WRKSRC}/bin/upgrade_MailScanner_conf \ ${PREFIX}/etc/MailScanner/MailScanner.conf \ ${PREFIX}/etc/MailScanner/MailScanner.conf.sample > \ ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION} \ 2> /dev/null # Diff the files. If the files do not differ, delete the new file @if diff -b -B -q ${PREFIX}/etc/MailScanner/MailScanner.conf \ ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION} ; \ then ${ECHO} "No changes in MailScanner.conf options found" ; \ ${RM} ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION} ; \ else \ ${ECHO} "Changes in MailScanner.conf found. Please look at \ ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION}" ; \ fi .endif # Languages.conf update @for LANG_DIR in ${DATADIR}/reports/*; do \ if [ -f $${LANG_DIR}/languages.conf ]; then \ ${ECHO} -n Upgrading $${LANG_DIR}/languages.conf... Please wait...; \ ${PERL} ${WRKSRC}/bin/upgrade_languages_conf \ $${LANG_DIR}/languages.conf \ $${LANG_DIR}/languages.conf.sample > \ $${LANG_DIR}/languages.conf.new.${PORTVERSION} \ 2> /dev/null ; \ if diff -b -B -q $${LANG_DIR}/languages.conf \ $${LANG_DIR}/languages.conf.new.${PORTVERSION} ; \ then ${ECHO} " no changes"; \ ${RM} $${LANG_DIR}/languages.conf.new.${PORTVERSION} ; \ else ${ECHO} " done"; \ ${CP} $${LANG_DIR}/languages.conf.new.${PORTVERSION} $${LANG_DIR}/languages.conf ; \ fi; \ fi; \ done @${CAT} ${PKGMESSAGE} post-install: .if defined(WITH_SPAMASSASSIN) && !defined(WITHOUT_SPAMASSASSIN_SYMLINK) @if [ ! -r ${PREFIX}/etc/mail/spamassassin/mailscanner.cf ]; then \ ${ECHO} ${LN} -s ${PREFIX}/etc/MailScanner/spam.assassin.prefs.conf ${PREFIX}/etc/mail/spamassassin/mailscanner.cf; \ ${LN} -s ${PREFIX}/etc/MailScanner/spam.assassin.prefs.conf ${PREFIX}/etc/mail/spamassassin/mailscanner.cf; \ else \ ${ECHO} "File ${PREFIX}/etc/mail/spamassassin/mailscanner.cf already exists!"; \ fi; .endif # Display warning about new start/stop scripts @${CAT} ${FILESDIR}/rcwarning.txt .if !defined(BATCH) @${ECHO} Press ENTER to continue... @read a .endif renew-wrapper: configure # Renew virus wrapper scripts ${INSTALL_SCRIPT} ${WRKSRC}/lib/*-wrapper ${PREFIX}/libexec/MailScanner renew-autoupdate: configure # Renew autoupdate scripts ${INSTALL_SCRIPT} ${WRKSRC}/lib/*-autoupdate ${PREFIX}/libexec/MailScanner renew-reports: configure # Renew reports cd ${WRKSRC}/etc/reports/en && ${FIND} * -type f ! -name "*.orig" \ -exec ${INSTALL_DATA} {} ${DATADIR}/reports/en/{} \; initial-config: renew-wrapper renew-autoupdate renew-reports cd ${WRKSRC}/etc && ${INSTALL_DATA} ${ETC_FILES} \ ${PREFIX}/etc/MailScanner ${INSTALL_DATA} ${WRKSRC}/etc/rules/spam.whitelist.rules \ ${PREFIX}/etc/MailScanner/rules/spam.whitelist.rules ${INSTALL_DATA} ${WRKSRC}/etc/rules/bounce.rules \ ${PREFIX}/etc/MailScanner/rules/bounce.rules ${INSTALL_DATA} ${WRKSRC}/etc/rules/max.message.size.rules \ ${PREFIX}/etc/MailScanner/rules/max.message.size.rules .for FILE in ${MCP_FILES} ${INSTALL_DATA} ${WRKSRC}/etc/mcp/${FILE} \ ${PREFIX}/etc/MailScanner/mcp/${FILE} .endfor @${ECHO} "******************************************************************************" @${ECHO} "The provided default configuration requires several directories to be created:" @${ECHO} "/var/spool/MailScanner/incoming" @${ECHO} "/var/spool/MailScanner/incoming/Locks" @${ECHO} "/var/spool/MailScanner/quarantine" @${ECHO} "/var/spool/mqueue" @${ECHO} "/var/spool/mqueue.in" @${ECHO} "Either create those directories or change the configuration." @${ECHO} "******************************************************************************" .include Property changes on: head/mail/mailscanner/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.85 \ No newline at end of property +1.86 \ No newline at end of property Index: head/mail/mailscanner-devel/Makefile =================================================================== --- head/mail/mailscanner-devel/Makefile (revision 252317) +++ head/mail/mailscanner-devel/Makefile (revision 252318) @@ -1,358 +1,358 @@ # New ports collection makefile for: MailScanner # Date created: 17 March 2003 # Whom: Jan-Peter Koopmann # # $FreeBSD$ # PORTNAME= MailScanner PORTVERSION= 4.60.5 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= mail MASTER_SITES= http://www.mailscanner.info/files/4/tar/ PKGNAMESUFFIX= -devel DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL} MAINTAINER= pgollucci@FreeBSD.org COMMENT= Powerful virus/spam scanning framework for mail gateways BUILD_DEPENDS= \ ${SITE_PERL}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \ ${SITE_PERL}/${PERL_ARCH}/Bundle/DBI.pm:${PORTSDIR}/databases/p5-DBI \ ${SITE_PERL}/Mail/Header.pm:${PORTSDIR}/mail/p5-Mail-Tools \ ${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset \ ${SITE_PERL}/${PERL_ARCH}/HTML/HeadParser.pm:${PORTSDIR}/www/p5-HTML-Parser \ ${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools \ ${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \ ${SITE_PERL}/Convert/BinHex.pm:${PORTSDIR}/converters/p5-Convert-BinHex \ ${SITE_PERL}/Net/CIDR.pm:${PORTSDIR}/net-mgmt/p5-Net-CIDR \ ${SITE_PERL}/Net/Ident.pm:${PORTSDIR}/net/p5-Net-Ident \ ${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \ ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ ${SITE_PERL}/Time/Zone.pm:${PORTSDIR}/devel/p5-TimeDate \ ${SITE_PERL}/${PERL_ARCH}/Filesys/Df.pm:${PORTSDIR}/sysutils/p5-Filesys-Df \ ${SITE_PERL}/Sys/Hostname/Long.pm:${PORTSDIR}/sysutils/p5-Sys-Hostname-Long RUN_DEPENDS= ${BUILD_DEPENDS} \ bash:${PORTSDIR}/shells/bash \ tnef:${PORTSDIR}/converters/tnef \ wget:${PORTSDIR}/ftp/wget IGNORE= Use mail/mailscanner instead OPTIONS= SPAMASSASSIN "Install SpamAssassin" on \ CLAMAV "Install ClamAV" on \ CLAMAVMODULE "Install ClamAV Module" off \ BDC "Install BitDefender" off CONFLICTS= MailScanner-[0-9]* PATCHLEVEL= 1 USE_PERL5= yes WRKSRC= ${WRKDIR}/${PORTNAME}-install-${PORTVERSION} SUB_FILES= pkg-message MAN8= MailScanner.8 MLINKS= MailScanner.8 mailscanner.8 .include .if defined(WITH_SPAMASSASSIN) RUN_DEPENDS+= spamassassin:${PORTSDIR}/mail/p5-Mail-SpamAssassin PLIST_SUB+= SPAMASSASSIN="" .else PLIST_SUB+= SPAMASSASSIN="@comment " .endif # backwards compatibility .if defined(NO_SPAMASSASSIN_SYMLINK) WITHOUT_SPAMASSASSIN_SYMLINK=${NO_SPAMASSASSIN_SYMLINK} .endif .if defined(WITHOUT_SPAMASSASSIN_SYMLINK) PLIST_SUB+= SPAMASSASSIN_SYMLINK="@comment " .else PLIST_SUB+= SPAMASSASSIN_SYMLINK="" .endif .if !defined(WITHOUT_CLAMAV) RUN_DEPENDS+= clamscan:${PORTSDIR}/security/clamav .endif .if defined(WITH_CLAMAVMODULE) RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Mail/ClamAV.pm:${PORTSDIR}/mail/p5-Mail-ClamAV .endif .if defined(WITH_CLAMAV)||defined(WITH_CLAMAVMODULE) RUN_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip \ unrar:${PORTSDIR}/archivers/unrar \ zoo:${PORTSDIR}/archivers/zoo \ unarj:${PORTSDIR}/archivers/unarj \ unace:${PORTSDIR}/archivers/unace \ lha:${PORTSDIR}/archivers/lha .endif .if defined(WITH_BDC) RUN_DEPENDS+= bdc:${PORTSDIR}/security/bdc .endif DOC_FILES= INSTALL.FreeBSD INSTALL.OpenBSD README ETC_FILES= MailScanner.conf filename.rules.conf \ filetype.rules.conf spam.assassin.prefs.conf \ spam.lists.conf virus.scanners.conf \ phishing.safe.sites.conf \ country.domains.conf MCP_FILES= mcp.spam.assassin.prefs.conf \ 10_example.cf USRLOCAL_FILES_LIB= \ bitdefender-autoupdate f-prot-autoupdate \ f-secure-wrapper inoculan-autoupdate \ kavdaemonclient-wrapper mcafee-autoupdate \ nod32-autoupdate rav-autoupdate \ rav-wrapper sophos-autoupdate USE_RC_SUBR= mailscanner mta post-extract: cd ${WRKSRC} && ${TAR} xvzf perl-tar/MailScanner-${PORTVERSION}-${PATCHLEVEL}.tar.gz > /dev/null && ${MV} MailScanner-${PORTVERSION}/* . do-build: ${PERL} -pi -e \ 's,/opt/MailScanner/lib,${PREFIX}/lib/MailScanner,g; \ s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g;' \ ${WRKSRC}/bin/MailScanner ${PERL} -pi -e \ 's,/opt/MailScanner/var/MailScanner.pid,/var/run/MailScanner.pid,g; \ s,/usr/lib/sendmail,/usr/sbin/sendmail,g; \ s,/opt/MailScanner/bin,${PREFIX}/bin,g; \ s,/opt/MailScanner/etc/reports,${DATADIR}/reports,g; \ s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g; \ s,/opt/MailScanner/lib,${PREFIX}/lib/MailScanner,g; \ s,/usr/bin/unrar,${LOCALBASE}/bin/unrar,g; \ s,/bin/gunzip,/usr/bin/gunzip,g; \ s,/etc/mail/spamassassin,${LOCALBASE}/etc/mail/spamassassin,g;' \ ${WRKSRC}/etc/MailScanner.conf ${PERL} -pi -e \ 's,/opt/MailScanner/lib,${PREFIX}/libexec/MailScanner,g; \ s,/bin/false,/usr/bin/false,;' ${WRKSRC}/etc/virus.scanners.conf ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g;' \ ${WRKSRC}/bin/update_virus_scanners ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/update_virus_scanners.cron ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g;' \ ${WRKSRC}/bin/update_phishing_sites ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/update_phishing_sites.cron ${PERL} -pi -e \ 's,/bin/bash,${LOCALBASE}/bin/bash,g; \ s,/usr/bin/sa-update,${LOCALBASE}/bin/sa-update,g; \ s,%%RC_SUBR%%,/etc/rc.subr,g;' \ ${WRKSRC}/bin/cron/sa-update.cron ${PERL} -pi -e \ 's,/etc/MailScanner/MailScanner.conf,${PREFIX}/etc/MailScanner/MailScanner.conf,g;' \ ${WRKSRC}/bin/clean.SA.cache ${PERL} -pi -e \ 's,/opt/MailScanner/var/MailScanner.pid,/var/run/MailScanner.pid,g; \ s,/usr/lib/sendmail,/usr/sbin/sendmail,g; \ s,/opt/MailScanner/bin,${PREFIX}/bin,g; \ s,/opt/MailScanner/etc/reports,${DATADIR}/reports,g; \ s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g;' \ ${WRKSRC}/lib/MailScanner/ConfigDefs.pl ${PERL} -pi -e \ 's,/bin/sed,/usr/bin/sed,g;' ${WRKSRC}/lib/MailScanner/SystemDefs.pm ${PERL} -pi -e \ 's,/usr/bin/clamscan,${LOCALBASE}/bin/clamscan,g;' \ ${WRKSRC}/lib/clamav-wrapper ${PERL} -pi -e \ 's,/usr/bin/wget,${LOCALBASE}/bin/wget,g;' \ ${WRKSRC}/lib/sophos-autoupdate ${PERL} -pi -e \ 's,/usr/bin/unzip,${LOCALBASE}/bin/unzip,g;' \ ${WRKSRC}/lib/sophos-autoupdate .for FILE in ${USRLOCAL_FILES_LIB} ${PERL} -pi -e \ 's,/usr/local,${LOCALBASE},g;' \ ${WRKSRC}/lib/${FILE} .endfor do-install: # # Step 1: Install bin files # ${INSTALL_SCRIPT} ${WRKSRC}/bin/MailScanner ${PREFIX}/sbin/mailscanner ${LN} -s ${LOCALBASE}/sbin/mailscanner ${PREFIX}/sbin/MailScanner # # Step 2: Install libexec files # ${MKDIR} ${PREFIX}/libexec/MailScanner ${CHMOD} -R ${BINMODE} ${PREFIX}/libexec/MailScanner cd ${WRKSRC}/lib && ${FIND} * -name "*-wrapper" -exec \ ${INSTALL_SCRIPT} {} ${PREFIX}/libexec/MailScanner/{}.sample \; cd ${WRKSRC}/lib && ${FIND} * -name "*-autoupdate" -exec \ ${INSTALL_SCRIPT} {} ${PREFIX}/libexec/MailScanner/{}.sample \; ${INSTALL_SCRIPT} ${WRKSRC}/bin/analyse_SpamAssassin_cache \ ${PREFIX}/libexec/MailScanner/analyse_SpamAssassin_cache ${INSTALL_SCRIPT} ${WRKSRC}/bin/clean.SA.cache \ ${PREFIX}/libexec/MailScanner/clean.SA.cache ${INSTALL_SCRIPT} ${WRKSRC}/bin/clean.quarantine \ ${PREFIX}/libexec/MailScanner/clean.quarantine ${INSTALL_SCRIPT} ${WRKSRC}/bin/update_phishing_sites \ ${PREFIX}/libexec/MailScanner/update_phishing_sites ${INSTALL_SCRIPT} ${WRKSRC}/bin/cron/update_phishing_sites.cron \ ${PREFIX}/libexec/MailScanner/update_phishing_sites.cron ${INSTALL_SCRIPT} ${WRKSRC}/bin/update_virus_scanners \ ${PREFIX}/libexec/MailScanner/update_virus_scanners ${INSTALL_SCRIPT} ${WRKSRC}/bin/cron/update_virus_scanners.cron \ ${PREFIX}/libexec/MailScanner/update_virus_scanners.cron ${INSTALL_SCRIPT} ${WRKSRC}/bin/cron/sa-update.cron \ ${PREFIX}/libexec/MailScanner/sa-update.cron # # Step 3: Install etc files # ${MKDIR} ${PREFIX}/etc/MailScanner ${CHMOD} ${BINMODE} ${PREFIX}/etc/MailScanner .for FILE in ${ETC_FILES} ${INSTALL_DATA} ${WRKSRC}/etc/${FILE} \ ${PREFIX}/etc/MailScanner/${FILE}.sample .endfor ${MKDIR} ${PREFIX}/etc/MailScanner/rules cd ${WRKSRC}/etc/rules && \ ${INSTALL_DATA} EXAMPLES README ${PREFIX}/etc/MailScanner/rules ${INSTALL_DATA} ${WRKSRC}/etc/rules/spam.whitelist.rules \ ${PREFIX}/etc/MailScanner/rules/spam.whitelist.rules.sample ${MKDIR} ${PREFIX}/etc/MailScanner/mcp ${CHMOD} ${BINMODE} ${PREFIX}/etc/MailScanner/mcp .for FILE in ${MCP_FILES} ${INSTALL_DATA} ${WRKSRC}/etc/mcp/${FILE} \ ${PREFIX}/etc/MailScanner/mcp/${FILE}.sample .endfor # # Step 4: Install files in share # @${MKDIR} ${DATADIR} cd ${WRKSRC}/etc && ${FIND} reports -type d ! -name "*.old" -exec \ ${MKDIR} ${DATADIR}/{} \; # cd ${WRKSRC}/etc && ${FIND} reports -type f ! \( -name "*.orig" -exec ... cd ${WRKSRC}/etc && ${FIND} reports \( -type d -name "*.old" -prune \) \ -o \( -type f ! \( -name "*.orig" -o -name "*.bak" \) \ -exec ${INSTALL_DATA} {} ${DATADIR}/{}.sample \; \) ${CHMOD} -R ${BINMODE} ${DATADIR}/reports # # Step 5: Install lib # ${MKDIR} ${PREFIX}/lib/MailScanner/MailScanner ${MKDIR} ${PREFIX}/lib/MailScanner/MailScanner/CustomFunctions ${INSTALL_SCRIPT} ${WRKSRC}/lib/MailScanner.pm \ ${PREFIX}/lib/MailScanner/MailScanner.pm cd ${WRKSRC}/lib/MailScanner && ${FIND} * -type f ! -name "*.orig" -exec \ ${INSTALL_SCRIPT} {} ${PREFIX}/lib/MailScanner/MailScanner/{} \; # # Step 6: Docs & Manpages # # Manpage .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${FILESDIR}/README.FreeBSD.port ${DOCSDIR} # Sophos install script ${INSTALL_SCRIPT} ${FILESDIR}/Sophos.install.freebsd ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOC_FILES} ${DOCSDIR} .endif cd ${FILESDIR} && \ ${INSTALL_MAN} ${MAN8} ${MAN5PREFIX}/man/man8 ${PERL} -pi -e \ 's,%%LOCALBASE%%,${LOCALBASE},g; \ s,%%PREFIX%%,${PREFIX},g;' \ ${DOCSDIR}/Sophos.install.freebsd .if exists(${PREFIX}/etc/MailScanner/MailScanner.conf) # Upgrading MailScanner.conf file... Please wait @${PERL} ${WRKSRC}/bin/upgrade_MailScanner_conf \ ${PREFIX}/etc/MailScanner/MailScanner.conf \ ${PREFIX}/etc/MailScanner/MailScanner.conf.sample > \ ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION} \ 2> /dev/null # Diff the files. If the files do not differ, delete the new file @if diff -b -B -q ${PREFIX}/etc/MailScanner/MailScanner.conf \ ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION} ; \ then ${ECHO} "No changes in MailScanner.conf options found" ; \ ${RM} ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION} ; \ else \ ${ECHO} "Changes in MailScanner.conf found. Please look at \ ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION}" ; \ fi .endif # Languages.conf update @for LANG_DIR in ${DATADIR}/reports/*; do \ if [ -f $${LANG_DIR}/languages.conf ]; then \ ${ECHO} -n Upgrading $${LANG_DIR}/languages.conf... Please wait...; \ ${PERL} ${WRKSRC}/bin/upgrade_languages_conf \ $${LANG_DIR}/languages.conf \ $${LANG_DIR}/languages.conf.sample > \ $${LANG_DIR}/languages.conf.new.${PORTVERSION} \ 2> /dev/null ; \ if diff -b -B -q $${LANG_DIR}/languages.conf \ $${LANG_DIR}/languages.conf.new.${PORTVERSION} ; \ then ${ECHO} " no changes"; \ ${RM} $${LANG_DIR}/languages.conf.new.${PORTVERSION} ; \ else ${ECHO} " done"; \ ${CP} $${LANG_DIR}/languages.conf.new.${PORTVERSION} $${LANG_DIR}/languages.conf ; \ fi; \ fi; \ done @${CAT} ${PKGMESSAGE} post-install: .if defined(WITH_SPAMASSASSIN) && !defined(WITHOUT_SPAMASSASSIN_SYMLINK) @if [ ! -r ${PREFIX}/etc/mail/spamassassin/mailscanner.cf ]; then \ ${ECHO} ${LN} -s ${PREFIX}/etc/MailScanner/spam.assassin.prefs.conf ${PREFIX}/etc/mail/spamassassin/mailscanner.cf; \ ${LN} -s ${PREFIX}/etc/MailScanner/spam.assassin.prefs.conf ${PREFIX}/etc/mail/spamassassin/mailscanner.cf; \ else \ ${ECHO} "File ${PREFIX}/etc/mail/spamassassin/mailscanner.cf already exists!"; \ fi; .endif # Display warning about new start/stop scripts @${CAT} ${FILESDIR}/rcwarning.txt .if !defined(BATCH) @${ECHO} Press ENTER to continue... @read a .endif renew-wrapper: configure # Renew virus wrapper scripts ${INSTALL_SCRIPT} ${WRKSRC}/lib/*-wrapper ${PREFIX}/libexec/MailScanner renew-autoupdate: configure # Renew autoupdate scripts ${INSTALL_SCRIPT} ${WRKSRC}/lib/*-autoupdate ${PREFIX}/libexec/MailScanner renew-reports: configure # Renew reports cd ${WRKSRC}/etc/reports/en && ${FIND} * -type f ! -name "*.orig" \ -exec ${INSTALL_DATA} {} ${DATADIR}/reports/en/{} \; initial-config: renew-wrapper renew-autoupdate renew-reports cd ${WRKSRC}/etc && ${INSTALL_DATA} ${ETC_FILES} \ ${PREFIX}/etc/MailScanner ${INSTALL_DATA} ${WRKSRC}/etc/rules/spam.whitelist.rules \ ${PREFIX}/etc/MailScanner/rules/spam.whitelist.rules @${ECHO} "******************************************************************************" @${ECHO} "The provided default configuration requires several directories to be created:" @${ECHO} "/var/spool/MailScanner/incoming" @${ECHO} "/var/spool/MailScanner/quarantine" @${ECHO} "/var/spool/mqueue" @${ECHO} "Either create those directories or change the configuration." @${ECHO} "******************************************************************************" .include Property changes on: head/mail/mailscanner-devel/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.40 \ No newline at end of property +1.41 \ No newline at end of property Index: head/mail/ngmp/Makefile =================================================================== --- head/mail/ngmp/Makefile (revision 252317) +++ head/mail/ngmp/Makefile (revision 252318) @@ -1,58 +1,58 @@ # New ports collection makefile for: Prevantage NGMP # Date created: July 28 2008 # Whom: Luke Jee # # $FreeBSD$ PORTNAME= ngmp PORTVERSION= 0.1.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail www MASTER_SITES= ftp://ftp.prevantage.com/releases/ \ ftp://ftp2.prevantage.com/releases/ DISTNAME= ngmp-for-freebsd-${PORTVERSION} MAINTAINER= lukejee@gmail.com COMMENT= A full AJAX based web app for messaging and collaboration RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache22 \ ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql \ ${LOCALBASE}/sbin/exim:${PORTSDIR}/mail/exim \ ${LOCALBASE}/bin/imapd:${PORTSDIR}/mail/courier-imap \ ${LOCALBASE}/lib/courier-authlib/libauthpgsql.so:${PORTSDIR}/databases/courier-authlib-pgsql \ ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/fileinfo.so:${PORTSDIR}/sysutils/pecl-fileinfo\ ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/ZendExtensionManager.so:${PORTSDIR}/devel/ZendOptimizer \ ${LOCALBASE}/sbin/clamd:${PORTSDIR}/security/clamav \ ${LOCALBASE}/bin/dspam:${PORTSDIR}/mail/dspam-devel \ ${LOCALBASE}/share/pear/Mail/mimeDecode.php:${PORTSDIR}/mail/pear-Mail_mimeDecode \ ${LOCALBASE}/share/pear/Net/SMTP.php:${PORTSDIR}/net/pear-Net_SMTP \ ${LOCALBASE}/share/pear/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime \ ${LOCALBASE}/share/pear/Mail/RFC822.php:${PORTSDIR}/mail/pear-Mail \ ${LOCALBASE}/share/pear/Benchmark/Timer.php:${PORTSDIR}/benchmarks/pear-Benchmark \ ${LOCALBASE}/share/ZendFramework:${PORTSDIR}/www/zend-framework \ ${LOCALBASE}/share/smarty/Smarty.class.php:${PORTSDIR}/www/smarty \ ${LOCALBASE}/www/tinymce:${PORTSDIR}/www/tinymce NO_BUILD= yes WANT_PHP_WEB= yes PHP_VER= 5 USE_PHP= session mbstring iconv pcre pdo pdo_sqlite imap json hash USE_PGSQL= yes SUB_FILES= pkg-message do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} @${CHMOD} -R 755 ${WWWDIR} post-install: @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ >> ${TMPPLIST} @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \ >> ${TMPPLIST} @${CAT} ${PKGMESSAGE} .include Property changes on: head/mail/ngmp/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/mail/p5-Clamd/Makefile =================================================================== --- head/mail/p5-Clamd/Makefile (revision 252317) +++ head/mail/p5-Clamd/Makefile (revision 252318) @@ -1,36 +1,36 @@ # New ports collection makefile for: p5-Clamd # Date created: 23 December 2008 # Whom: pgollucci@p6m7g8.com # # $FreeBSD$ # PORTNAME= Clamd PORTVERSION= 1.04 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= ../by-authors/id/M/MS/MSERGEANT PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Clamd - Connect to a local clamd service and send commands RUN_DEPENDS= clamd:${PORTSDIR}/security/clamav BUILD_DEPENDS= ${RUN_DEPENDS} MAKE_JOBS_SAFE= yes MAN3= Clamd.3 PERL_CONFIGURE= yes PLIST_FILES= %%SITE_PERL%%/Clamd.pm \ %%SITE_PERL%%/%%PERL_ARCH%%/auto/Clamd/.packlist PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Clamd post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/Makefile.PL .include Property changes on: head/mail/p5-Clamd/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/mail/p5-Mail-ClamAV/Makefile =================================================================== --- head/mail/p5-Mail-ClamAV/Makefile (revision 252317) +++ head/mail/p5-Mail-ClamAV/Makefile (revision 252318) @@ -1,32 +1,33 @@ # New ports collection makefile for: p5-Mail-ClamAV # Date created: 2003-11-24 # Whom: Jan-Peter Koopmann # # $FreeBSD$ # PORTNAME= Mail-ClamAV PORTVERSION= 0.29 +PORTREVISION= 1 CATEGORIES= mail perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for the clamav virus scanner BUILD_DEPENDS= ${SITE_PERL}/Inline.pm:${PORTSDIR}/devel/p5-Inline \ clamscan:${PORTSDIR}/security/clamav RUN_DEPENDS= ${BUILD_DEPENDS} MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes PERL_CONFIGURE= yes MAN3= Mail::ClamAV.3 post-install: @${CAT} ${PKGMESSAGE} .include Property changes on: head/mail/p5-Mail-ClamAV/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.20 \ No newline at end of property +1.21 \ No newline at end of property Index: head/mail/qscan/Makefile =================================================================== --- head/mail/qscan/Makefile (revision 252317) +++ head/mail/qscan/Makefile (revision 252318) @@ -1,51 +1,51 @@ # New ports collection makefile for: qscan # Date created: 8 Apr 2004 # Whom: Alex Dupre # # $FreeBSD$ # PORTNAME= qscan PORTVERSION= 1.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= mail security MASTER_SITES= http://download.pureftpd.org/pub/qscan/ \ ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/qscan/ MAINTAINER= ale@FreeBSD.org COMMENT= A mail filter for Qmail that scans messages with ClamAV RUN_DEPENDS= clamdscan:${PORTSDIR}/security/clamav \ ripmime:${PORTSDIR}/mail/ripmime USE_QMAIL_RUN= yes GNU_CONFIGURE= yes .include QMAIL_QUEUE= ${QMAIL_PREFIX}/bin/qmail-queue QSCAN_VAR?= ${QMAIL_PREFIX}/${PORTNAME} PLIST_SUB+= QSCAN_VAR="${QSCAN_VAR}" \ QMAIL_QUEUE="${QMAIL_QUEUE}" # default 10 .if defined(WITH_CONCURRENCY) CONFIGURE_ARGS+=--with-concurrency=${WITH_CONCURRENCY} .endif CONFIGURE_ENV+= SWEEP="${LOCALBASE}/bin/clamdscan" \ RIPMIME="${LOCALBASE}/bin/ripmime" \ QMAIL_QUEUE="${QMAIL_QUEUE}-old" post-patch: @${REINPLACE_CMD} -e "s|/var/qmail/qscan|${QSCAN_VAR}|" ${WRKSRC}/src/qscan.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin ${MKDIR} ${QSCAN_VAR} ${CHMOD} 750 ${QSCAN_VAR} ${CHOWN} qmaild:clamav ${QSCAN_VAR} ${LN} -f ${QMAIL_QUEUE} ${QMAIL_QUEUE}-old ${LN} -sf ${PREFIX}/bin/${PORTNAME} ${QMAIL_QUEUE} .include Property changes on: head/mail/qscan/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.7 \ No newline at end of property +1.8 \ No newline at end of property Index: head/mail/qsheff/Makefile =================================================================== --- head/mail/qsheff/Makefile (revision 252317) +++ head/mail/qsheff/Makefile (revision 252318) @@ -1,110 +1,110 @@ # New ports collection makefile for: qsheff # Date created: 14 Jul 2005 # Whom: Ozkan KIRIK # # $FreeBSD$ # PORTNAME= qsheff-II PORTVERSION= 2.1.r3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= mail MASTER_SITES= http://www.enderunix.org/qsheff/ \ SF/qsheff/qsheff/II-2.1-r3 DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-r/} MAINTAINER= ozkan@enderunix.org COMMENT= A qmail-queue replacement to filter mail traffic BUILD_DEPENDS= ${LOCALBASE}/bin/ripmime:${PORTSDIR}/mail/ripmime RUN_DEPENDS= ${BUILD_DEPENDS} GNU_CONFIGURE= YES USE_QMAIL= yes DOCS= README COPYING AUTHORS ChangeLog INSTALL THANKS TODO EXAMPLES= sample-OK.msg sample-SPAM.msg sample-VIRUS.msg CONTRIB= README qq-custom-error-patch.diff qq-patch.diff \ qsheff-patch.diff FILES= handbook.en.txt handbook.tr.txt spamass-qsheff.en.html ETCFILES= install-wrapper.sh uninstall-wrapper.sh qsheff.attach-default \ qsheff.conf-default qsheff.ignore-default qsheff.rules-default CONFIGURE_ARGS+= --with-qmaildir=${QMAIL_PREFIX} OPTIONS= CLAMAV "Integrate with Clam AntiVirus" on \ SPAMTAG "Enable Spam Tagging" off \ VIRUSTAG "Enable Virus Tagging" off \ DISABLELOCAL "Disable Filters For Local Users" off \ SYSLOG "Enable Syslog Logging" off \ BACKUP "Enable Logging Incoming/Outgoing Mail" off \ CUSTOMERROR "Enable Custom Error Patch" off \ DEBUG "Enable Debug Messages" off .include .if defined(WITH_CLAMAV) RUN_DEPENDS+= ${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav BUILD_DEPENDS+= ${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav CONFIGURE_ARGS+= --with-clamav CONFIGURE_ARGS+= --with-clamd-socket=/var/run/clamav/clamd .endif .if defined(WITH_SPAMTAG) CONFIGURE_ARGS+= --enable-spam-tag .endif .if defined(WITH_VIRUSTAG) CONFIGURE_ARGS+= --enable-virus-tag .endif .if defined(WITH_SYSLOG) CONFIGURE_ARGS+= --enable-syslog .endif .if defined(WITH_DISABLELOCAL) CONFIGURE_ARGS+= --disable-local-users .endif .if defined(WITH_BACKUP) CONFIGURE_ARGS+= --enable-backup .endif .if defined(WITH_CUSTOMERROR) CONFIGURE_ARGS+= --enable-custom-error .endif .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif post-patch: @${REINPLACE_CMD} -e "s|^CFLAGS =|CFLAGS +=|" ${WRKSRC}/Makefile.in .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's|\(install-data-am: \)install-qsheffdocDATA|\1|g' \ -e 's| contribute$$||g' \ ${WRKSRC}/Makefile.in .endif post-build: .if defined(WITHOUT_CLAMAV) @${REINPLACE_CMD} -e 's|enable_virus_prog = 1|enable_virus_prog = 0|g' \ ${WRKSRC}/etc/qsheff.conf-default .endif do-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR}/doc @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ @${INSTALL_DATA} ${FILES:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/doc/ @${MKDIR} ${EXAMPLESDIR}/contrib @${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/samples/,} ${EXAMPLESDIR}/ @${INSTALL_DATA} ${CONTRIB:S,^,${WRKSRC}/contrib/,} ${EXAMPLESDIR}/contrib .endif @${MKDIR} ${ETCDIR} @${INSTALL_DATA} ${ETCFILES:S,^,${WRKSRC}/etc/,} ${ETCDIR}/ @${INSTALL_SCRIPT} ${WRKSRC}/src/qsheff ${PREFIX}/bin/qsheff .include Property changes on: head/mail/qsheff/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.16 \ No newline at end of property +1.17 \ No newline at end of property Index: head/mail/simscan/Makefile =================================================================== --- head/mail/simscan/Makefile (revision 252317) +++ head/mail/simscan/Makefile (revision 252318) @@ -1,160 +1,160 @@ # New ports collection makefile for: simscan # Date created: 1 Apr 2005 # Whom: Anton Karpov # # $FreeBSD$ # PORTNAME= simscan PORTVERSION= 1.4.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= mail security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/} MAINTAINER= lippe@FreeBSD.org COMMENT= Fast Content/Anti-virus Scanner for qmail Written in C USE_QMAIL_BUILD= yes GNU_CONFIGURE= yes WORKDIR?= ${QMAIL_PREFIX}/${PORTNAME} QMAIL_QUEUE= ${QMAIL_PREFIX}/bin/qmail-queue SUB_FILES= pkg-message \ pkg-install \ pkg-deinstall SUB_LIST= QMAIL_PREFIX=${QMAIL_PREFIX} \ SIMSCAN_DIR=${PORTNAME} PLIST_SUB= QMAIL_PREFIX=${QMAIL_PREFIX} OPTIONS= CLAMAV "Support for ClamAV Virus Scanning" on \ RIPMIME "Ripmime Processing (if Clamav ScanMail disabled)" on \ SPAMD "Support for SpamAssassin Spam Filtering" off \ USER "Turn On Per User SpamAssassin (required SPAMD)" off \ DOMAIN "Turn On Per Domain Based Checking" off \ ATTACH "Turn On Attachment Scanning (required CLAMAV)" off \ DROPMSG "Drop Message in Case of Virus Found" off \ PASSTHRU "Pass Spam Thru, Do Not Reject (required SPAMD)" off \ HEADERS "Add a Received Line With Versions of Scanners" off \ DSPAM "Turn on DSPAM scanning" off .include CONFIGURE_ARGS=--enable-clamavdb-path=/var/db/clamav \ --enable-qmaildir=${QMAIL_PREFIX} \ --enable-spamc-user=n \ --enable-workdir=${WORKDIR} \ --enable-user=nobody .if defined(WITHOUT_CLAMAV) CONFIGURE_ARGS+= --enable-clamav=n .else BUILD_DEPENDS+= clamdscan:${PORTSDIR}/security/clamav .endif .if defined(WITHOUT_RIPMIME) CONFIGURE_ARGS+=--disable-ripmime .else BUILD_DEPENDS+= ripmime:${PORTSDIR}/mail/ripmime .endif .if defined(WITH_SPAMD) BUILD_DEPENDS+= spamassassin:${PORTSDIR}/mail/p5-Mail-SpamAssassin CONFIGURE_ARGS+=--enable-spam=y CONFIGURE_ARGS+=--enable-spamassassin-path=${LOCALBASE}/bin/spamassassin .endif .if defined(WITH_USER) CONFIGURE_ARGS+=--enable-spamc-user=y .endif .if defined(WITH_DOMAIN) CONFIGURE_ARGS+=--enable-per-domain=y .endif .if defined(WITH_ATTACH) CONFIGURE_ARGS+=--enable-attach=y .endif .if defined(WITH_DROPMSG) CONFIGURE_ARGS+=--enable-dropmsg=y .endif .if defined(WITH_PASSTHRU) CONFIGURE_ARGS+=--enable-spam-passthru=y .endif .if defined(WITH_HEADERS) CONFIGURE_ARGS+=--enable-received=y CONFIGURE_ARGS+=--enable-sigtool-path=${LOCALBASE}/bin/sigtool .endif .if defined(WITH_DSPAM) CONFIGURE_ARGS+=--enable-dspam=y BUILD_DEPENDS+= dspam:${PORTSDIR}/mail/dspam .endif .if defined(SPAM_HITS) CONFIGURE_ARGS+=--enable-spam-hits=${SPAM_HITS} .endif .if defined(QUARANTINE_DIR) CONFIGURE_ARGS+=--enable-quarantinedir=${QUARANTINE_DIR} .endif .if defined(SPAMC_ARGS) CONFIGURE_ARGS+=--enable-spamc-args=${SPAMC_ARGS} .endif .if defined(QMAIL_QUEUE) CONFIGURE_ARGS+=--enable-qmail-queue=${QMAIL_QUEUE} .endif PORTDOCS= AUTHORS ChangeLog README TODO if ! ${TEST} -f ${QMAIL_QUEUE}; then \ ${ECHO_MSG} "Unable to found qmail-queue binary trying '${QMAIL_QUEUE}'."; \ ${ECHO_MSG} "Please set QMAIL_PREFIX to your qmail installation directory !"; \ exit 1; \ fi post-patch: @${REINPLACE_CMD} -E 's,($f/daily.cvd"),\1 || test -d "$$f/daily.inc",' \ ${WRKSRC}/configure pre-configure: @${ECHO_MSG} "" @${ECHO_MSG} "=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=" @${ECHO_MSG} "You may also use the following build options:" @${ECHO_MSG} "" @${ECHO_MSG} "QMAIL_PREFIX Base qmail directory. Default is ${QMAIL_PREFIX}" @${ECHO_MSG} "WORKDIR Directory to unpack emails. Default is ${QMAIL_PREFIX}/${PORTNAME}" @${ECHO_MSG} "QMAIL_QUEUE Define full path and name of the qmail-queue program" @${ECHO_MSG} " Incoming mail is passed to this program after being" @${ECHO_MSG} " scanned by SimScan. Default is ${QMAIL_PREFIX}/bin/qmail-queue" @${ECHO_MSG} "SPAMC_ARGS Define the arguments to pass to spamc." @${ECHO_MSG} " Be sure to place quotes around the options you define" @${ECHO_MSG} "SPAM_HITS Reject spam only above this hit level" @${ECHO_MSG} " Default is 10.0. Useful without PASSTHRU option" @${ECHO_MSG} "QUARANTINE_DIR Directory to keep spam and/or infected emails" @${ECHO_MSG} " Default is disabled" @${ECHO_MSG} "=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=" @${ECHO_MSG} "" pre-install: @${REINPLACE_CMD} -e 's|nobody|simscan|g' ${WRKSRC}/Makefile @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for i in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif @${CAT} ${PKGMESSAGE} .include Property changes on: head/mail/simscan/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.18 \ No newline at end of property +1.19 \ No newline at end of property Index: head/net-mgmt/nagios-check_clamav/Makefile =================================================================== --- head/net-mgmt/nagios-check_clamav/Makefile (revision 252317) +++ head/net-mgmt/nagios-check_clamav/Makefile (revision 252318) @@ -1,30 +1,31 @@ # New ports collection makefile for: nagios-check_clamav # Date created: Fri 12 Jun 2009 # Whom: Alexey V. Degtyarev # # $FreeBSD$ # PORTNAME= check_clamav PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/ PKGNAMEPREFIX= nagios- MAINTAINER= alexey@renatasystems.org COMMENT= Nagios plugin that verifies ClamAV local signature database revision NO_BUILD= yes USE_PERL5_RUN= yes RUN_DEPENDS+= ${LOCALBASE}/libexec/nagios/utils.pm:${PORTSDIR}/net-mgmt/nagios-plugins \ clamav>=0:${PORTSDIR}/security/clamav \ p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS PLIST_FILES= libexec/nagios/check_clamav do-install: ${INSTALL_SCRIPT} ${WRKSRC}/check_clamav \ ${PREFIX}/libexec/nagios/check_clamav .include Property changes on: head/net-mgmt/nagios-check_clamav/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/clamassassin/Makefile =================================================================== --- head/security/clamassassin/Makefile (revision 252317) +++ head/security/clamassassin/Makefile (revision 252318) @@ -1,38 +1,38 @@ # New ports collection makefile for: clamassassin # Date created: 16 October 2004 # Whom: Matt # # $FreeBSD$ # PORTNAME= clamassassin PORTVERSION= 1.2.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= security MASTER_SITES= http://jameslick.com/clamassassin/ MAINTAINER= chalpin@cs.wisc.edu COMMENT= A simple virus filter wrapper for ClamAV BUILD_DEPENDS= sigtool:${PORTSDIR}/security/clamav \ formail:${PORTSDIR}/mail/procmail RUN_DEPENDS= ${BUILD_DEPENDS} PLIST_FILES= bin/clamassassin GNU_CONFIGURE= yes OPTIONS= CLAMDSCAN "Scanning using clamd" on \ SUBREWRITE "Mail subject rewriting" off .include .if !defined (WITHOUT_CLAMDSCAN) CONFIGURE_ARGS+= --enable-clamdscan .endif .if defined (WITH_SUBREWRITE) CONFIGURE_ARGS+= --enable-subject-rewrite .endif .include Property changes on: head/security/clamassassin/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.17 \ No newline at end of property +1.18 \ No newline at end of property Index: head/security/clamav-unofficial-sigs/Makefile =================================================================== --- head/security/clamav-unofficial-sigs/Makefile (revision 252317) +++ head/security/clamav-unofficial-sigs/Makefile (revision 252318) @@ -1,60 +1,61 @@ # New ports collection makefile for: clamav-unofficial-sigs # Date created: 2010-03-06 # Whom: Marko Njezic # # $FreeBSD$ # PORTNAME= clamav-unofficial-sigs PORTVERSION= 3.7 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.inetmsg.com/pub/ \ http://www.inetmsg.com/pub/archive/ MAINTAINER= sf@maxempire.com COMMENT= Update script for third-party ClamAV databases RUN_DEPENDS= clamscan:${PORTSDIR}/security/clamav \ rsync:${PORTSDIR}/net/rsync \ curl:${PORTSDIR}/ftp/curl \ gpg:${PORTSDIR}/security/gnupg USE_PERL5_RUN= yes NO_BUILD= yes SUB_FILES= pkg-message MAN8= clamav-unofficial-sigs.8 MANCOMPRESSED= no SED_CONF= -e 's|%%CLAM_DBS%%|/var/db/clamav|g' \ -e 's|%%CLAMD_PID%%|/var/run/clamav/clamd.pid|g' \ -e 's|%%CLAMD_SOCKET%%|/var/run/clamav/clamd.sock|g' \ -e 's|%%START_CLAMD%%|${PREFIX}/etc/rc.d/clamav-clamd start|g' \ -e 's|%%WORK_DIR%%|/var/db/clamav-unofficial-sigs|g' post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/clamav-unofficial-sigs.sh @${REINPLACE_CMD} ${SED_CONF} ${WRKSRC}/clamav-unofficial-sigs.conf @${REINPLACE_CMD} ${SED_CONF} ${WRKSRC}/clamd-status.sh do-install: ${INSTALL_SCRIPT} ${WRKSRC}/clamav-unofficial-sigs.sh ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/clamav-unofficial-sigs.8 ${MANPREFIX}/man/man8 ${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs.conf ${PREFIX}/etc/clamav-unofficial-sigs.conf.sample .ifndef(NOPORTDOCS) @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG INSTALL LICENSE README ${DOCSDIR} .endif .ifndef(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs-cron ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs-logrotate ${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/clamd-status.sh ${EXAMPLESDIR} .endif @${CAT} ${PKGMESSAGE} .include Property changes on: head/security/clamav-unofficial-sigs/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/clamcour/Makefile =================================================================== --- head/security/clamcour/Makefile (revision 252317) +++ head/security/clamcour/Makefile (revision 252318) @@ -1,38 +1,38 @@ # New ports collection makefile for: clamcour # Whom: Milan Obuch # Date created: January 13 2006 # # $FreeBSD$ # PORTNAME= clamcour PORTVERSION= 0.3.8 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= security mail MASTER_SITES= http://www.becrux.com/pages/projects/clamcour/ MAINTAINER= bsd@dino.sk COMMENT= ClamAV courier filter BUILD_DEPENDS= courier-config:${PORTSDIR}/mail/courier -LIB_DEPENDS= clamav.6:${PORTSDIR}/security/clamav +LIB_DEPENDS= clamav.7:${PORTSDIR}/security/clamav GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-clamav-config=${LOCALBASE}/bin \ --with-courier-config=${LOCALBASE}/bin CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib MAN1= clamcour.1 PLIST_DIRS= etc/courier/clamcour PLIST_FILES= libexec/filters/clamcour post-patch: @${REINPLACE_CMD} -e 's/^CXXFLAGS *=/CXXFLAGS?=/g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e '/cl_limits/d; s/cl_node/cl_engine/' \ ${WRKSRC}/src/clam.h .include Property changes on: head/security/clamcour/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.11 \ No newline at end of property +1.12 \ No newline at end of property Index: head/security/clamsmtp/Makefile =================================================================== --- head/security/clamsmtp/Makefile (revision 252317) +++ head/security/clamsmtp/Makefile (revision 252318) @@ -1,68 +1,68 @@ # New ports collection makefile for: clamsmtp # Date created: 2004-07-29 # Whom: Cheng-Lung Sung # # $FreeBSD$ # PORTNAME= clamsmtp PORTVERSION= 1.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://memberwebs.com/stef/software/clamsmtp/ MAINTAINER= clsung@FreeBSD.org COMMENT= An ClamAV anti-virus SMTP Filter GNU_CONFIGURE= yes USE_GMAKE= yes USE_RC_SUBR= clamsmtpd.sh SUB_LIST= CLAMAV_PID_DIR=${CLAMAV_PID_DIR} SUB_FILES+= pkg-message CLAMAV_PID_DIR?= /var/run/clamav MAN5= clamsmtpd.conf.5 MAN8= clamsmtpd.8 PORTDOCS= README OPTIONS= LOCAL_CLAMAV "RUN_DEPEND on security/clamav" on OPTIONS+= LOCAL_CLAMAV_DEVEL "RUN_DEPEND on security/clamav-devel" off .include .if defined(WITH_LOCAL_CLAMAV) RUN_DEPENDS+= clamav>=0:${PORTSDIR}/security/clamav .endif .if defined(WITH_LOCAL_CLAMAV_DEVEL) RUN_DEPENDS+= clamav-devel>=0:${PORTSDIR}/security/clamav-devel .endif .if defined(WITH_LOCAL_CLAMAV) || defined(WITH_LOCAL_CLAMAV_DEVEL) SUB_LIST+= CLAMD=clamd .else SUB_LIST+= CLAMD= .endif pre-extract: .if defined(WITH_LOCAL_CLAMAV) && defined(WITH_LOCAL_CLAMAV_DEVEL) @${ECHO_CMD} "Please select only one clamav port" exit 1 .endif post-patch: @${REINPLACE_CMD} -e "s,%%PTHREAD_LIBS%%,${PTHREAD_LIBS}," ${WRKSRC}/configure post-install: @${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${PREFIX}/etc/clamsmtpd.conf-sample .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif @${MKDIR} ${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/scripts/virus_action.sh ${EXAMPLESDIR} @${CAT} ${PKGMESSAGE} .include Property changes on: head/security/clamsmtp/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.33 \ No newline at end of property +1.34 \ No newline at end of property Index: head/security/clamtk/Makefile =================================================================== --- head/security/clamtk/Makefile (revision 252317) +++ head/security/clamtk/Makefile (revision 252318) @@ -1,63 +1,63 @@ # New ports collection makefile for: clamtk # Date created: 24 February 2007 # Whom: Andrew Pantyukhin # # $FreeBSD$ # PORTNAME= clamtk PORTVERSION= 4.25 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/ClamTk/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GTK front-end for Clam Antivirus RUN_DEPENDS= p5-Config-Tiny>=2.12:${PORTSDIR}/devel/p5-Config-Tiny \ p5-Date-Calc>=5.5.1:${PORTSDIR}/devel/p5-Date-Calc \ p5-File-Find-Rule>=0.30:${PORTSDIR}/devel/p5-File-Find-Rule \ p5-gettext>=1.05:${PORTSDIR}/devel/p5-Locale-gettext \ p5-Net-DNS>=0.65:${PORTSDIR}/dns/p5-Net-DNS \ clamscan:${PORTSDIR}/security/clamav \ p5-libwww>=5.822:${PORTSDIR}/www/p5-libwww \ zenity:${PORTSDIR}/x11/zenity \ p5-Gtk2>=1.144:${PORTSDIR}/x11-toolkits/p5-Gtk2 NO_BUILD= yes USE_PERL5_RUN= yes USE_GETTEXT= yes MAN1= ${PORTNAME}.1 post-extract: @${GUNZIP_CMD} ${WRKSRC}/${PORTNAME}.1.gz post-patch: @${REINPLACE_CMD} -e \ 's|/usr/bin|${LOCALBASE}/bin|g ; \ s|/usr/share|${PREFIX}/share|g ; \ s|/var/lib/clamav|/var/db/clamav|g' ${WRKSRC}/lib/*.pm do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1 @${MKDIR} ${SITE_PERL}/ClamTk ${INSTALL_DATA} ${WRKSRC}/lib/*.pm ${SITE_PERL}/ClamTk @${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.xpm ${PREFIX}/share/pixmaps .for lang in ar bg cs da de el_GR en_GB es fr gl he hr hu it ja ko ms nb nl nl_BE nn pl pt_BR ro ru sk sl sv th tr zh_CN @${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ ${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo .endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in CHANGES DISCLAIMER LICENSE README ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif .include Property changes on: head/security/clamtk/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.35 \ No newline at end of property +1.36 \ No newline at end of property Index: head/security/klamav/Makefile =================================================================== --- head/security/klamav/Makefile (revision 252317) +++ head/security/klamav/Makefile (revision 252318) @@ -1,45 +1,45 @@ # New ports collection makefile for: klamav # Date created: 30 July 2005 # Whom: Anderson Soares Ferreira # # $FreeBSD$ # PORTNAME= klamav PORTVERSION= 0.46 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/Source%20%28For%20ClamAV%20and%20gt_%3D%200.9x%29/KlamAV-${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= anderson@cnpm.embrapa.br COMMENT= A KDE 3 front-end to Clam Anti-Virus LIB_DEPENDS= clamav:${PORTSDIR}/security/clamav WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}-${PORTVERSION} PREFIX= ${KDE_PREFIX} USE_GMAKE= yes USE_SQLITE= 3 USE_GNOME= pkgconfig USE_GETTEXT= yes INSTALLS_ICONS= yes USE_AUTOTOOLS= libtool:22 aclocal:19 LIBTOOLFILES= acinclude.m4 configure CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS} -lintl -L${PREFIX}/lib" CONFIGURE_ARGS+=--with-qt-dir=${QT_PREFIX} \ --without-included-sqlite USE_KDELIBS_VER= 3 .include pre-configure: @${CP} ${LTMAIN} ${WRKSRC}/admin @${CP} ${LIBTOOL_M4} ${WRKSRC}/admin @${CP} ${LOCALBASE}/include/clamav-config.h ${WRKSRC}/src/klamd .include Property changes on: head/security/klamav/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.28 \ No newline at end of property +1.29 \ No newline at end of property Index: head/security/p5-File-Scan-ClamAV/Makefile =================================================================== --- head/security/p5-File-Scan-ClamAV/Makefile (revision 252317) +++ head/security/p5-File-Scan-ClamAV/Makefile (revision 252318) @@ -1,25 +1,26 @@ # New ports collection makefile for: File-Scan-ClamAV # Date created: 2006-11-24 # Whom: Jan-Peter Koopmann # # $FreeBSD$ # PORTNAME= File-Scan-ClamAV PORTVERSION= 1.9.1 +PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E} MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for the clamav virus scanner BUILD_DEPENDS= clamscan:${PORTSDIR}/security/clamav RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes MAN3= File::Scan::ClamAV.3 .include Property changes on: head/security/p5-File-Scan-ClamAV/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.10 \ No newline at end of property +1.11 \ No newline at end of property Index: head/security/py-clamav/Makefile =================================================================== --- head/security/py-clamav/Makefile (revision 252317) +++ head/security/py-clamav/Makefile (revision 252318) @@ -1,41 +1,41 @@ # New ports collection makefile for: py-clamav # Date created: 26 Dec 2004 # Whom: Marcus Alves Grando # # $FreeBSD$ # PORTNAME= clamav PORTVERSION= 0.4.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security python MASTER_SITES= http://xael.org/norman/python/pyclamav/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} MAINTAINER= mnag@FreeBSD.org COMMENT= A python binding to libclamav written in C -LIB_DEPENDS= clamav.6:${PORTSDIR}/security/clamav +LIB_DEPENDS= clamav.7:${PORTSDIR}/security/clamav DIST_SUBDIR= python USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= pyclamav PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib DOCSDIR?= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR?= ${PREFIX}/share/examples/py-${PORTNAME} PORTDOCS= * post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} .endif @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/example.py ${EXAMPLESDIR} .include Property changes on: head/security/py-clamav/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.14 \ No newline at end of property +1.15 \ No newline at end of property Index: head/security/scamp/Makefile =================================================================== --- head/security/scamp/Makefile (revision 252317) +++ head/security/scamp/Makefile (revision 252318) @@ -1,58 +1,59 @@ # New ports collection makefile for: scamp # Date created: 31 March 2009 # Whom: Gerard Seibert # # $FreeBSD$ PORTNAME= scamp PORTVERSION= 5.2g +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= gerard@seibercom.net COMMENT= Download & Install additional definition files for Clamav RUN_DEPENDS+= bash>=4.0.35:${PORTSDIR}/shells/bash \ clamav>=0.95.3:${PORTSDIR}/security/clamav \ gnupg>=2.0.14:${PORTSDIR}/security/gnupg \ rsync>=3.0.7:${PORTSDIR}/net/rsync .if exists (${LOCALBASE}/bin/wget) && ! exists (${LOCALBASE}/bin/curl) RUN_DEPENDS+= wget>=1.12:${PORTSDIR}/ftp/wget .else RUN_DEPENDS+= curl>=7.19.7_1:${PORTSDIR}/ftp/curl .endif NO_BUILD= yes SUB_FILES= pkg-message MAN1= scamp.1 MANCOMPRESSED= no post-patch: @${REINPLACE_CMD} -e 's|CLAMAV_DB=$${CLAMAV_DB:-""}|CLAMAV_DB=$${CLAMAV_DB:-/var/db/clamav}|g' ${WRKSRC}/${PORTNAME}.sh @${REINPLACE_CMD} -e 's|CONFIG_DIR=$${CONFIG_DIR:-"/etc/scamp"}|CONFIG_DIR=$${CONFIG_DIR:-${PREFIX}/etc/scamp}|g' ${WRKSRC}/${PORTNAME}.sh post-install: @if [ ! -d ${PREFIX}/etc/scamp ]; then \ ${MKDIR} ${PREFIX}/etc/scamp ; \ fi @${INSTALL_DATA} ${FILESDIR}/default.sample ${PREFIX}/etc/scamp/ @if [ ! -f ${PREFIX}/etc/scamp/default ]; then \ ${CP} -p ${PREFIX}/etc/scamp/default.sample \ ${PREFIX}/etc/scamp/default ; \ fi do-install: cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTNAME}.sh ${PREFIX}/bin cd ${WRKSRC} && ${INSTALL_MAN} scamp.1 ${MANPREFIX}/man/man1 .ifndef(NOPORTDOCS) @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} README CHANGE.LOG INSTALL Release.html ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} .include Property changes on: head/security/scamp/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.7 \ No newline at end of property +1.8 \ No newline at end of property Index: head/security/spybye/Makefile =================================================================== --- head/security/spybye/Makefile (revision 252317) +++ head/security/spybye/Makefile (revision 252318) @@ -1,34 +1,34 @@ # New ports collection makefile for: spybye # Date created: 23 May 2008 # Whom: pauls # # $FreeBSD$ # PORTNAME= spybye PORTVERSION= 0.3 PORTREVISION= 1 CATEGORIES= security www MASTER_SITES= http://www.monkey.org/~provos/ MAINTAINER= pauls@utdallas.edu COMMENT= A web proxy to detect malware LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent OPTIONS= CLAMAV "Enable CLAMAV support" off USE_RC_SUBR= spybye.sh GNU_CONFIGURE= yes CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" MAN1= spybye.1 .include .if defined(WITH_CLAMAV) -LIB_DEPENDS+= clamav.6:${PORTSDIR}/security/clamav +LIB_DEPENDS+= clamav.7:${PORTSDIR}/security/clamav CONFIGURE_ARGS+= --with-libclamav=${PREFIX}/bin .endif .include Property changes on: head/security/spybye/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/www/c-icap/Makefile =================================================================== --- head/www/c-icap/Makefile (revision 252317) +++ head/www/c-icap/Makefile (revision 252318) @@ -1,104 +1,104 @@ # New ports collection makefile for: c-icap # Date created: 30 January 2006 # Whom: Elisey Savateev # # $FreeBSD$ # PORTNAME= c-icap PORTVERSION= 060708 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/OldFiles DISTNAME= c_icap-${PORTVERSION}rc2 MAINTAINER= tofig@freebsd.az COMMENT= An implementation of an ICAP server GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_RC_SUBR= c_icap USE_AUTOTOOLS= libtool:22 LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/c_icap SUB_FILES= pkg-install pkg-deinstall OPTIONS= CLAMAV "Build with srv_clamav service" on \ LARGE_FILES "Enable large files support" off \ IPV6 "Enable IPv6 support" off \ PERL "With Perl support" off .include LOG_DIR= /var/log/c_icap TMP_DIR= /var/tmp RUN_DIR= /var/run PLIST_SUB+= LOG_DIR=${LOG_DIR} RUN_DIR=${RUN_DIR} SUB_FILES= pkg-install pkg-deinstall SUB_LIST= LOG_DIR=${LOG_DIR} TMP_DIR=${TMP_DIR} RUN_DIR=${RUN_DIR} .if defined(WITH_PERL) USE_PERL5= yes PLIST_SUB+= PERL="" CONFIGURE_ARGS+= --with-perl=${PERL} .else PLIST_SUB+= PERL="@comment " CONFIGURE_ARGS+= --without-perl .endif .if !defined(WITHOUT_CLAMAV) -LIB_DEPENDS+= clamav.6:${PORTSDIR}/security/clamav +LIB_DEPENDS+= clamav.7:${PORTSDIR}/security/clamav PLIST_SUB+= CLAMAV="" CONFIGURE_ARGS+= --with-clamav CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" .else PLIST_SUB+= CLAMAV="@comment " CONFIGURE_ARGS+= --without-clamav .endif .if defined(WITH_LARGE_FILES) CONFIGURE_ARGS+= --enable-large-files .else CONFIGURE_ARGS+= --disable-large-files .endif .if defined(WITH_IPV6) CONFIGURE_ARGS+= --enable-ipv6 .else CONFIGURE_ARGS+= --disable-ipv6 .endif post-patch: @${REINPLACE_CMD} -e 's|User wwwrun|User cicap|g' \ -e 's|Group nobody|Group cicap|g' \ -e 's|/var/run|${RUN_DIR}|g' \ -e 's|/var/tmp|${TMP_DIR}|g' \ -e 's|/var/log/c_icap|${LOG_DIR}|g' \ ${WRKSRC}/c-icap.conf ${WRKSRC}/c-icap.conf.in @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ -e 's|icap_stretch_CFLAGS = -Iinclude/|icap_stretch_CFLAGS = -Iinclude/ ${PTHREAD_CFLAGS}|g' \ ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am .if !defined(WITH_PERL) @${REINPLACE_CMD} -e 's|\(^Module perl\)|\#\1|g' \ ${WRKSRC}/c-icap.conf.in .endif .if !defined(WITH_CLAMAV) @${REINPLACE_CMD} -e 's|\(^Service antivirus\)|\#\1|g' \ -e 's|\(^srv_clamav\)|\#\1|g' \ ${WRKSRC}/c-icap.conf.in .endif pre-install: @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: @[ -f ${PREFIX}/etc/c-icap.conf ] || \ ${CP} -p ${PREFIX}/etc/c-icap.conf.default ${PREFIX}/etc/c-icap.conf @[ -f ${PREFIX}/etc/c-icap.magic ] || \ ${CP} -p ${PREFIX}/etc/c-icap.magic.default ${PREFIX}/etc/c-icap.magic @${SH} ${PKGINSTALL} ${PREFIX} POST-INSTALL .include Property changes on: head/www/c-icap/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.18 \ No newline at end of property +1.19 \ No newline at end of property Index: head/www/gurlchecker/Makefile =================================================================== --- head/www/gurlchecker/Makefile (revision 252317) +++ head/www/gurlchecker/Makefile (revision 252318) @@ -1,76 +1,76 @@ # New ports collection makefile for: gURLChecker # Date created: 06 Jun 2003 # Whom: Koop Mast # # $FreeBSD$ # PORTNAME= gurlchecker PORTVERSION= 0.10.1 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= www gnome MASTER_SITES= http://labs.libre-entreprise.org/frs/download.php/%SUBDIR%/ MASTER_SITE_SUBDIR= 547 MAINTAINER= clsung@FreeBSD.org COMMENT= A Gnome program to check a page/website for broken links LIB_DEPENDS= gnet-2.0.0:${PORTSDIR}/net/gnet2 OPTIONS= CROCO "Use CROCO library for CSS2 validation" off \ TIDY "Use TIDY library for HTML w3c validation" off \ CLAMAV "Use CLAMAV library for virii scan" on \ GNUTLS "Use GNU TLS library for HTTPS check" on USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" .include .if !defined(WITHOUT_NLS) USE_GETTEXT= yes PLIST_SUB+= NLS="" .else PLIST_SUB+= NLS="@comment " .endif .if defined(WITH_CROCO) LIB_DEPENDS+= croco-0.6.3:${PORTSDIR}/textproc/libcroco .else CONFIGURE_ARGS+= --disable-croco .endif .if defined(WITH_TIDY) LIB_DEPENDS+= tidy-0.99.0:${PORTSDIR}/www/tidy-lib .else CONFIGURE_ARGS+= --disable-tidy .endif .if defined(WITH_CLAMAV) -LIB_DEPENDS+= clamav.6:${PORTSDIR}/security/clamav +LIB_DEPENDS+= clamav.7:${PORTSDIR}/security/clamav .else CONFIGURE_ARGS+= --disable-clamav .endif .if defined(WITHOUT_GNUTLS) CONFIGURE_ARGS+= --disable-gnutls .else LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls .endif post-patch: @${REINPLACE_CMD} -e \ '/maxratio/s|^.*||' ${WRKSRC}/src/ucclam.c @${REINPLACE_CMD} -e \ '/^SUBDIRS/s|doc ui man|ui|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ 's|-lresolv||g' ${WRKSRC}/src/Makefile.in .if defined(WITHOUT_NLS) @${REINPLACE_CMD} -e \ '/^SUBDIRS/s|po ui|ui|g' ${WRKSRC}/Makefile.in .endif .include Property changes on: head/www/gurlchecker/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.42 \ No newline at end of property +1.43 \ No newline at end of property Index: head/www/havp/Makefile =================================================================== --- head/www/havp/Makefile (revision 252317) +++ head/www/havp/Makefile (revision 252318) @@ -1,70 +1,71 @@ # New ports collection makefile for: havp # Date created: 17 June 2006 # Whom: Elisey Savateev # # $FreeBSD$ # PORTNAME= havp PORTVERSION= 0.91 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.server-side.de/download/ \ http://bio3k.softboard.ru/uploads/arch/ \ http://havp.hege.li/download/ MAINTAINER= ayu@commun.jp COMMENT= HTTP Antivirus Proxy -LIB_DEPENDS= clamav.6:${PORTSDIR}/security/clamav +LIB_DEPENDS= clamav.7:${PORTSDIR}/security/clamav GNU_CONFIGURE= yes USE_GMAKE= yes USE_PERL5_BUILD= yes USE_RC_SUBR= havp CONFIGURE_ARGS= --disable-locking LOG_DIR= /var/log/havp TMP_DIR= /var/tmp/havp RUN_DIR= /var/run/havp PLIST_SUB+= LOG_DIR=${LOG_DIR} TMP_DIR=${TMP_DIR} RUN_DIR=${RUN_DIR} SUB_FILES= pkg-install pkg-deinstall SUB_LIST= LOG_DIR=${LOG_DIR} TMP_DIR=${TMP_DIR} RUN_DIR=${RUN_DIR} OPTIONS= SSL "Enable SSL proxying (not scanned, only forwarded!)" on \ CLAMAV "Enable libclamav support" on \ TROPHIE "Enable Trend Micro (Trophie) support" off .include .if defined(WITH_SSL) CONFIGURE_ARGS+= --enable-ssl-tunnel .else CONFIGURE_ARGS+= --disable-ssl-tunnel .endif .if defined(WITH_CLAMAV) CONFIGURE_ARGS+= --enable-clamav .else CONFIGURE_ARGS+= --disable-clamav .endif .if defined(WITH_TROPHIE) CONFIGURE_ARGS+= --enable-trophie .else CONFIGURE_ARGS+= --disable-trophie .endif pre-install: @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: @[ -f ${PREFIX}/etc/havp/havp.config ] || \ ${CP} ${PREFIX}/etc/havp/havp.config.default ${PREFIX}/etc/havp/havp.config @${MKDIR} ${EXAMPLESDIR} @${CP} ${WRKSRC}/etc/havp/blacklist ${EXAMPLESDIR}/blacklist.sample @${CP} -R ${WRKSRC}/etc/havp/templates ${EXAMPLESDIR} @${CP} ${WRKSRC}/etc/havp/whitelist ${EXAMPLESDIR}/whitelist.sample @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include Property changes on: head/www/havp/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.20 \ No newline at end of property +1.21 \ No newline at end of property Index: head/www/mod_clamav/Makefile =================================================================== --- head/www/mod_clamav/Makefile (revision 252317) +++ head/www/mod_clamav/Makefile (revision 252318) @@ -1,49 +1,50 @@ # New ports collection makefile for: mod_clamav # Date created: Sun Oct 19 # Whom: Clement Laforet # # $FreeBSD$ # PORTNAME= mod_clamav PORTVERSION= 0.23 +PORTREVISION= 1 CATEGORIES= www security MASTER_SITES= http://software.othello.ch/mod_clamav/ \ http://www.kommunity.net/download/mod_clamav/ MAINTAINER= tmueko@kommunity.net COMMENT= Scans content delivered by the Apache20 proxy module for viruses MAKE_JOBS_SAFE= yes USE_AUTOTOOLS= libtool:22 USE_APACHE= 2.2 GNU_CONFIGURE= yes .if defined(WITH_CLAMAVDEVEL) -LIB_DEPENDS+= clamav.6:${PORTSDIR}/security/clamav-devel +LIB_DEPENDS+= clamav.7:${PORTSDIR}/security/clamav-devel .else CLAMAV_PORT= security/clamav -LIB_DEPENDS+= clamav.6:${PORTSDIR}/security/clamav +LIB_DEPENDS+= clamav.7:${PORTSDIR}/security/clamav .endif CONFIGURE_ARGS= --with-apxs=${APXS} \ --libdir=${PREFIX}/lib/apache2 CFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include \ ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib \ ${PTHREAD_LIBS} CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" post-patch: @${REINPLACE_CMD} -e 's,REG_EXTENDED,AP_REG_EXTENDED,' \ ${WRKSRC}/config.c @${REINPLACE_CMD} -e '/^AC_CHECK_HEADERS/ s,regex.h ,,g' \ ${WRKSRC}/configure.in post-install: @${CAT} ${PKGMESSAGE} .include Property changes on: head/www/mod_clamav/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.21 \ No newline at end of property +1.22 \ No newline at end of property