2013-03-15 23:03:42 +01:00
|
|
|
# Created by: moeti
|
2003-12-11 12:40:35 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qmail-scanner
|
2005-02-17 12:28:00 +01:00
|
|
|
PORTVERSION= 1.25
|
2012-03-29 02:46:23 +02:00
|
|
|
PORTREVISION= 3
|
2003-12-11 12:40:35 +01:00
|
|
|
CATEGORIES= mail security
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF
|
2003-12-11 12:40:35 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2008-03-10 01:52:12 +01:00
|
|
|
MAINTAINER= lippe@FreeBSD.org
|
2003-12-11 12:40:35 +01:00
|
|
|
COMMENT= Content/Anti-virus Scanner for qmail
|
|
|
|
|
- Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
[1]
- Fix FAM support. Make gamin the default FAM system. [2]
- Introduce new 'quicksearch' target to show only port, path and
info section of the matching ports. [3]
- Introduce new category - rubygems. [4]
- Fix stale dependencies while installing qmail slaveport and
another port that depends on qmail. [5]
- Add commentary for describes target in bsd.port.mk. [6]
- Fix warning issued during make index on archs !368. [7]
- Add USE_DOS2UNIX variable. If set to "YES", remove the ^M from
all files under ${WRKSRC}. If set to a string, remove in all files
under ${WRKSRC} with one of these names the ^Ms. [8]
- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
checking the existance of the Perl modules with the "perl -e 'use
module;'" command. [9]
- Fix bsd.port.mk variable quoting issues. No quoting is necessary
anymore either in the Makefile or on the command line. Affected
variables include:
BROKEN
FORBIDDEN
IGNORE
MANUAL_PACKAGE_BUILD
NO_CDROM
NO_PACKAGE
RESTRICTED
[10]
- Add NOFETCHFILES variable. If set, don't download these files
from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
${MASTER_SITE_OVERRIDE}). [11]
- Improve 'search' target output. [12]
- Add a new virtual category for Amateur Radio - hamradio. [13]
- Cleanup some old/unused pathes in bsd.port.mk. [14]
- Add @dirrmtry for plists which does the same as:
"@unexec rmdir %D/foo 2>/dev/null || true" [15]
- Remove virtual category - offix. [16]
- Use portsnap instead of cvsup or cvs on "make update" in
/usr/ports. [17]
- Move location of bsd.autotools.mk within bsd.port.mk [18]
- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]
- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]
- Replace the string "FreeBSD" by "The FreeBSD Project" in the
security warning [21]
- Add bsd.local.mk for local modification to ports framework. [22]
- Replace rcNG spelling by rc.d [23]
- Remove superfluous USE_REINPLACE. [24]
Special thanks to: linimon for spending hours with all these patches
clement for fixes
kris for help with pointyhat
PR: ports/86310 [1], ports/89498 [2], ports/83530 [3],
ports/83789 [4], ports/84053 [5], ports/86281 [6],
ports/87214 [7], ports/87234 [8], ports/87318 [9],
ports/87396 [10], ports/87605 [11], ports/87840 [12],
ports/88230 [13], ports/88493 [14], ports/88711 [15],
ports/88751 [16], ports/89281 [17], ports/89999 [18],
ports/90031 [19], ports/90150 [20], ports/90668 [21],
ports/91433 [23], ports/88754 [24]
Submitted by: mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
edwin [8, 9, 11, 15, 21],
fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
Carl Makin <carl@stagecraft.cx> [13], arved [14],
NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
jylefort [19], linimon [22], dougb [23]
2006-01-21 18:37:14 +01:00
|
|
|
BUILD_DEPENDS= reformime:${PORTSDIR}/mail/maildrop \
|
2012-06-29 20:30:42 +02:00
|
|
|
p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
|
2004-01-03 18:32:22 +01:00
|
|
|
|
2007-09-04 15:18:39 +02:00
|
|
|
MANUAL_PACKAGE_BUILD= Requires qmail built with non-standard setting
|
|
|
|
|
2012-03-29 02:46:23 +02:00
|
|
|
SUB_FILES= pkg-deinstall
|
|
|
|
SUB_LIST= SPOOLDIR=${SPOOLDIR}
|
|
|
|
|
2009-05-31 22:31:08 +02:00
|
|
|
NO_LATEST_LINK= yes
|
2007-09-04 15:18:39 +02:00
|
|
|
CONFLICTS= qmail-scanner-2.*
|
|
|
|
|
2013-03-15 23:03:42 +01:00
|
|
|
USES= qmail
|
|
|
|
|
- Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
[1]
- Fix FAM support. Make gamin the default FAM system. [2]
- Introduce new 'quicksearch' target to show only port, path and
info section of the matching ports. [3]
- Introduce new category - rubygems. [4]
- Fix stale dependencies while installing qmail slaveport and
another port that depends on qmail. [5]
- Add commentary for describes target in bsd.port.mk. [6]
- Fix warning issued during make index on archs !368. [7]
- Add USE_DOS2UNIX variable. If set to "YES", remove the ^M from
all files under ${WRKSRC}. If set to a string, remove in all files
under ${WRKSRC} with one of these names the ^Ms. [8]
- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
checking the existance of the Perl modules with the "perl -e 'use
module;'" command. [9]
- Fix bsd.port.mk variable quoting issues. No quoting is necessary
anymore either in the Makefile or on the command line. Affected
variables include:
BROKEN
FORBIDDEN
IGNORE
MANUAL_PACKAGE_BUILD
NO_CDROM
NO_PACKAGE
RESTRICTED
[10]
- Add NOFETCHFILES variable. If set, don't download these files
from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
${MASTER_SITE_OVERRIDE}). [11]
- Improve 'search' target output. [12]
- Add a new virtual category for Amateur Radio - hamradio. [13]
- Cleanup some old/unused pathes in bsd.port.mk. [14]
- Add @dirrmtry for plists which does the same as:
"@unexec rmdir %D/foo 2>/dev/null || true" [15]
- Remove virtual category - offix. [16]
- Use portsnap instead of cvsup or cvs on "make update" in
/usr/ports. [17]
- Move location of bsd.autotools.mk within bsd.port.mk [18]
- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]
- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]
- Replace the string "FreeBSD" by "The FreeBSD Project" in the
security warning [21]
- Add bsd.local.mk for local modification to ports framework. [22]
- Replace rcNG spelling by rc.d [23]
- Remove superfluous USE_REINPLACE. [24]
Special thanks to: linimon for spending hours with all these patches
clement for fixes
kris for help with pointyhat
PR: ports/86310 [1], ports/89498 [2], ports/83530 [3],
ports/83789 [4], ports/84053 [5], ports/86281 [6],
ports/87214 [7], ports/87234 [8], ports/87318 [9],
ports/87396 [10], ports/87605 [11], ports/87840 [12],
ports/88230 [13], ports/88493 [14], ports/88711 [15],
ports/88751 [16], ports/89281 [17], ports/89999 [18],
ports/90031 [19], ports/90150 [20], ports/90668 [21],
ports/91433 [23], ports/88754 [24]
Submitted by: mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
edwin [8, 9, 11, 15, 21],
fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
Carl Makin <carl@stagecraft.cx> [13], arved [14],
NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
jylefort [19], linimon [22], dougb [23]
2006-01-21 18:37:14 +01:00
|
|
|
QMAIL_QUEUE= ${QMAIL_PREFIX}/bin/qmail-queue
|
2003-12-11 12:40:35 +01:00
|
|
|
|
|
|
|
USE_PERL5= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
# Barely optionnal
|
|
|
|
.if !defined(WITHOUT_TNEF)
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/tnef:${PORTSDIR}/converters/tnef
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# Options
|
|
|
|
QMAILSCAN_ADMIN?= root
|
|
|
|
.if defined(QMAILSCAN_ADMINREALNAME)
|
|
|
|
CONFIGURE_ARGS+= --admin-realname "${QMAILSCAN_ADMINREALNAME}"
|
|
|
|
.endif
|
2004-05-30 02:37:26 +02:00
|
|
|
.if defined(QMAILSCAN_ARCHIVE)
|
|
|
|
CONFIGURE_ARGS+= --archive yes
|
|
|
|
.endif
|
2004-10-22 13:45:25 +02:00
|
|
|
QMAILSCAN_NOTIFY?= psender,precips
|
|
|
|
.if defined(QMAILSCAN_LANG)
|
|
|
|
CONFIGURE_ARGS+= --lang "${QMAILSCAN_LANG}"
|
|
|
|
.endif
|
|
|
|
.if defined(QMAILSCAN_LOCALDOMAINS) && !empty(QMAILSCAN_LOCALDOMAINS)
|
2003-12-11 12:40:35 +01:00
|
|
|
CONFIGURE_ARGS+= --local-domains "${QMAILSCAN_LOCALDOMAINS}"
|
|
|
|
.endif
|
2004-05-30 02:37:26 +02:00
|
|
|
.if defined(QMAILSCAN_LOGCRYPTO)
|
|
|
|
CONFIGURE_ARGS+= --log-crypto yes
|
|
|
|
.endif
|
2004-10-22 13:45:25 +02:00
|
|
|
.if defined(QMAILSCAN_NOTUNZIP)
|
|
|
|
CONFIGURE_ARGS+= --unzip no
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --unzip yes
|
|
|
|
.if defined(QMAILSCAN_MAXZIPSIZE)
|
|
|
|
CONFIGURE_ARGS+= --max-zip-size "${QMAILSCAN_MAXZIPSIZE}"
|
|
|
|
.endif
|
2004-05-30 02:37:26 +02:00
|
|
|
.if !defined(QMAILSCAN_NOTBLKZIPPW)
|
|
|
|
BUILD_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip
|
2004-10-22 13:45:25 +02:00
|
|
|
CONFIGURE_ARGS+= --block-password-protected yes
|
|
|
|
.endif
|
2004-05-30 02:37:26 +02:00
|
|
|
.endif
|
2003-12-29 19:07:12 +01:00
|
|
|
.if defined(QMAILSCAN_SCANNERS)
|
|
|
|
CONFIGURE_ARGS+= --scanners "${QMAILSCAN_SCANNERS}"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --scanners auto
|
|
|
|
.endif
|
2004-05-30 02:37:26 +02:00
|
|
|
QMAILSCAN_SILENTVIRUSES?= auto
|
2003-12-11 12:40:35 +01:00
|
|
|
.if defined(QMAILSCAN_SPAMSREDIRECT)
|
|
|
|
CONFIGURE_ARGS+= --spams-redirect "${QMAILSCAN_SPAMSREDIRECT}"
|
|
|
|
.endif
|
|
|
|
.if defined(QMAILSCAN_SPAMSTOSUFFIX)
|
|
|
|
CONFIGURE_ARGS+= --spams-tosuffix "${QMAILSCAN_SPAMSTOSUFFIX}"
|
|
|
|
.endif
|
|
|
|
|
2012-01-21 18:40:15 +01:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2004-10-22 13:45:25 +02:00
|
|
|
|
2003-12-11 12:40:35 +01:00
|
|
|
SPOOLDIR= ${PREFIX}/qmailscan
|
|
|
|
PLIST_SUB= SPOOLDIR="${SPOOLDIR:S,${PREFIX}/,,}"
|
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
2003-12-29 19:07:12 +01:00
|
|
|
CONFIGURE_ARGS+= \
|
- Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
[1]
- Fix FAM support. Make gamin the default FAM system. [2]
- Introduce new 'quicksearch' target to show only port, path and
info section of the matching ports. [3]
- Introduce new category - rubygems. [4]
- Fix stale dependencies while installing qmail slaveport and
another port that depends on qmail. [5]
- Add commentary for describes target in bsd.port.mk. [6]
- Fix warning issued during make index on archs !368. [7]
- Add USE_DOS2UNIX variable. If set to "YES", remove the ^M from
all files under ${WRKSRC}. If set to a string, remove in all files
under ${WRKSRC} with one of these names the ^Ms. [8]
- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
checking the existance of the Perl modules with the "perl -e 'use
module;'" command. [9]
- Fix bsd.port.mk variable quoting issues. No quoting is necessary
anymore either in the Makefile or on the command line. Affected
variables include:
BROKEN
FORBIDDEN
IGNORE
MANUAL_PACKAGE_BUILD
NO_CDROM
NO_PACKAGE
RESTRICTED
[10]
- Add NOFETCHFILES variable. If set, don't download these files
from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
${MASTER_SITE_OVERRIDE}). [11]
- Improve 'search' target output. [12]
- Add a new virtual category for Amateur Radio - hamradio. [13]
- Cleanup some old/unused pathes in bsd.port.mk. [14]
- Add @dirrmtry for plists which does the same as:
"@unexec rmdir %D/foo 2>/dev/null || true" [15]
- Remove virtual category - offix. [16]
- Use portsnap instead of cvsup or cvs on "make update" in
/usr/ports. [17]
- Move location of bsd.autotools.mk within bsd.port.mk [18]
- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]
- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]
- Replace the string "FreeBSD" by "The FreeBSD Project" in the
security warning [21]
- Add bsd.local.mk for local modification to ports framework. [22]
- Replace rcNG spelling by rc.d [23]
- Remove superfluous USE_REINPLACE. [24]
Special thanks to: linimon for spending hours with all these patches
clement for fixes
kris for help with pointyhat
PR: ports/86310 [1], ports/89498 [2], ports/83530 [3],
ports/83789 [4], ports/84053 [5], ports/86281 [6],
ports/87214 [7], ports/87234 [8], ports/87318 [9],
ports/87396 [10], ports/87605 [11], ports/87840 [12],
ports/88230 [13], ports/88493 [14], ports/88711 [15],
ports/88751 [16], ports/89281 [17], ports/89999 [18],
ports/90031 [19], ports/90150 [20], ports/90668 [21],
ports/91433 [23], ports/88754 [24]
Submitted by: mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
edwin [8, 9, 11, 15, 21],
fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
Carl Makin <carl@stagecraft.cx> [13], arved [14],
NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
jylefort [19], linimon [22], dougb [23]
2006-01-21 18:37:14 +01:00
|
|
|
--qmaildir "${QMAIL_PREFIX}" --spooldir "${SPOOLDIR}" \
|
2004-10-22 13:45:25 +02:00
|
|
|
--bindir "${PREFIX}/bin" --qmail-queue-binary "${QMAIL_QUEUE}" \
|
2003-12-11 12:40:35 +01:00
|
|
|
--admin "${QMAILSCAN_ADMIN}" --notify "${QMAILSCAN_NOTIFY}" \
|
2004-05-30 02:37:26 +02:00
|
|
|
--silent-viruses "${QMAILSCAN_SILENTVIRUSES}" \
|
2004-10-22 13:45:25 +02:00
|
|
|
--redundant yes \
|
2003-12-11 12:40:35 +01:00
|
|
|
--add-dscr-hdrs yes \
|
|
|
|
--log-details syslog --debug no \
|
|
|
|
--batch
|
|
|
|
|
|
|
|
pre-configure:
|
2004-01-03 18:32:22 +01:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "----------------------------------------"
|
|
|
|
@${ECHO_MSG} "You may use the following build options:"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "QMAILSCAN_ADMIN email adress of qmail-scanner admin for alerts"
|
|
|
|
@${ECHO_MSG} "QMAILSCAN_ADMINREALNAME* name to use when sending alerts"
|
2004-10-22 13:45:25 +02:00
|
|
|
@${ECHO_MSG} "QMAILSCAN_LANG specify languages for QS mails (notify, etc..)"
|
|
|
|
@${ECHO_MSG} " supported languages are: af_ZA, cs_CZ, da_DK, de_DE,"
|
|
|
|
@${ECHO_MSG} " en_GB, en_PL, enlt_LT, enlt_LT_short, es_ES, fr_FR,"
|
|
|
|
@${ECHO_MSG} " it_IT, ja_JP.EUC, nl_NL, no_NO, pl_PL, pt_BR, pt_PT,"
|
|
|
|
@${ECHO_MSG} " sk_SK, sv_SE, tr_TR, tr_TR_ascii and tw_BIG5"
|
|
|
|
@${ECHO_MSG} " default depends on your LANG variable"
|
|
|
|
@${ECHO_MSG} " (en_GB if LANG is not set)"
|
2004-01-03 18:32:22 +01:00
|
|
|
@${ECHO_MSG} "QMAILSCAN_LOCALDOMAINS domains classified as local domains preventing alerts"
|
|
|
|
@${ECHO_MSG} " of externals users (and mailing-lists...)"
|
2004-05-30 02:37:26 +02:00
|
|
|
@${ECHO_MSG} "QMAILSCAN_LOGCRYPTO simply notes in the log record if the message"
|
|
|
|
@${ECHO_MSG} " contained any form of digital signing or encryption"
|
|
|
|
@${ECHO_MSG} " (S/MIME, PGP and password protected files)"
|
|
|
|
@${ECHO_MSG} " default is disabled"
|
2004-10-22 13:45:25 +02:00
|
|
|
@${ECHO_MSG} "QMAILSCAN_MAXZIPSIZE zip that would have unpacked into more diskspace"
|
|
|
|
@${ECHO_MSG} " than this value will be blocked (prevent DoS)"
|
|
|
|
@${ECHO_MSG} " default is 1000000000"
|
2004-05-30 02:37:26 +02:00
|
|
|
@${ECHO_MSG} "QMAILSCAN_NOTBLKZIPPW zip password protected are blocked by default"
|
|
|
|
@${ECHO_MSG} " setting this variable to disable this function"
|
|
|
|
@${ECHO_MSG} "QMAILSCAN_NOTIFY who has to be notify of viruses/spams"
|
2004-10-22 13:45:25 +02:00
|
|
|
@${ECHO_MSG} " defaults to 'psender,precips'"
|
2004-01-03 18:32:22 +01:00
|
|
|
@${ECHO_MSG} "QMAILSCAN_SCANNERS list of installed content scanner"
|
|
|
|
@${ECHO_MSG} " default is automatic, so you do not need to set this"
|
2004-05-30 02:37:26 +02:00
|
|
|
@${ECHO_MSG} "QMAILSCAN_SILENTVIRUSES viruses that qs shoud not notify about"
|
2004-01-03 18:32:22 +01:00
|
|
|
@${ECHO_MSG} "QMAILSCAN_SPAMSREDIRECT* set this if you want to redirect all spams to a"
|
|
|
|
@${ECHO_MSG} " specific email address"
|
|
|
|
@${ECHO_MSG} "QMAILSCAN_SPAMSTOSUFFIX* suffix to alter spams recipients with"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "When you set the last option to 'spam', a detected spam will be delivered to"
|
|
|
|
@${ECHO_MSG} "'user-spam@domain' instead of 'user@domain'."
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "* Please note these options are only available with FreeBSD ports "
|
|
|
|
@${ECHO_MSG} "So please, do not report relatives bugs to qmail-scanner team, but maintainer."
|
|
|
|
@${ECHO_MSG} "----------------------------------------"
|
|
|
|
@${ECHO_MSG} ""
|
2003-12-11 12:40:35 +01:00
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} PRE-INSTALL
|
2004-01-03 18:32:22 +01:00
|
|
|
@if ! ${TEST} -f ${QMAIL_QUEUE}; then \
|
2004-07-12 22:14:59 +02:00
|
|
|
${ECHO_MSG} "Unable to found qmail-queue binary trying '${QMAIL_QUEUE}'."; \
|
- Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
[1]
- Fix FAM support. Make gamin the default FAM system. [2]
- Introduce new 'quicksearch' target to show only port, path and
info section of the matching ports. [3]
- Introduce new category - rubygems. [4]
- Fix stale dependencies while installing qmail slaveport and
another port that depends on qmail. [5]
- Add commentary for describes target in bsd.port.mk. [6]
- Fix warning issued during make index on archs !368. [7]
- Add USE_DOS2UNIX variable. If set to "YES", remove the ^M from
all files under ${WRKSRC}. If set to a string, remove in all files
under ${WRKSRC} with one of these names the ^Ms. [8]
- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
checking the existance of the Perl modules with the "perl -e 'use
module;'" command. [9]
- Fix bsd.port.mk variable quoting issues. No quoting is necessary
anymore either in the Makefile or on the command line. Affected
variables include:
BROKEN
FORBIDDEN
IGNORE
MANUAL_PACKAGE_BUILD
NO_CDROM
NO_PACKAGE
RESTRICTED
[10]
- Add NOFETCHFILES variable. If set, don't download these files
from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
${MASTER_SITE_OVERRIDE}). [11]
- Improve 'search' target output. [12]
- Add a new virtual category for Amateur Radio - hamradio. [13]
- Cleanup some old/unused pathes in bsd.port.mk. [14]
- Add @dirrmtry for plists which does the same as:
"@unexec rmdir %D/foo 2>/dev/null || true" [15]
- Remove virtual category - offix. [16]
- Use portsnap instead of cvsup or cvs on "make update" in
/usr/ports. [17]
- Move location of bsd.autotools.mk within bsd.port.mk [18]
- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]
- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]
- Replace the string "FreeBSD" by "The FreeBSD Project" in the
security warning [21]
- Add bsd.local.mk for local modification to ports framework. [22]
- Replace rcNG spelling by rc.d [23]
- Remove superfluous USE_REINPLACE. [24]
Special thanks to: linimon for spending hours with all these patches
clement for fixes
kris for help with pointyhat
PR: ports/86310 [1], ports/89498 [2], ports/83530 [3],
ports/83789 [4], ports/84053 [5], ports/86281 [6],
ports/87214 [7], ports/87234 [8], ports/87318 [9],
ports/87396 [10], ports/87605 [11], ports/87840 [12],
ports/88230 [13], ports/88493 [14], ports/88711 [15],
ports/88751 [16], ports/89281 [17], ports/89999 [18],
ports/90031 [19], ports/90150 [20], ports/90668 [21],
ports/91433 [23], ports/88754 [24]
Submitted by: mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
edwin [8, 9, 11, 15, 21],
fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
Carl Makin <carl@stagecraft.cx> [13], arved [14],
NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
jylefort [19], linimon [22], dougb [23]
2006-01-21 18:37:14 +01:00
|
|
|
${ECHO_MSG} "Please set QMAIL_PREFIX to your qmail installation directory !"; \
|
2004-01-03 18:32:22 +01:00
|
|
|
exit 1; \
|
|
|
|
fi
|
2003-12-11 12:40:35 +01:00
|
|
|
|
2004-05-30 02:37:26 +02:00
|
|
|
post-configure:
|
|
|
|
${TEST} -f ${WRKSRC}/qmail-scanner-queue.pl
|
|
|
|
|
2003-12-11 12:40:35 +01:00
|
|
|
do-install:
|
|
|
|
-${TEST} -f ${PREFIX}/bin/qmail-scanner-queue.pl && \
|
|
|
|
${MV} ${PREFIX}/bin/qmail-scanner-queue.pl \
|
|
|
|
${PREFIX}/bin/qmail-scanner-queue.pl.old
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/qmail-scanner-queue.pl ${PREFIX}/bin
|
2004-01-03 18:32:22 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/qs2mrtg.pl ${PREFIX}/bin
|
2003-12-11 12:40:35 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/quarantine-attachments.txt \
|
|
|
|
${SPOOLDIR}/quarantine-attachments.sample
|
|
|
|
${TEST} -f ${SPOOLDIR}/quarantine-attachments.txt || \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/quarantine-attachments.txt ${SPOOLDIR}
|
2004-05-30 02:37:26 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/mrtg-qmail-scanner.cfg \
|
|
|
|
${PREFIX}/share/examples/qs2mrtg
|
2003-12-11 12:40:35 +01:00
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
test:
|
|
|
|
@${WRKSRC}/contrib/test_installation.sh -doit
|
|
|
|
|
2004-07-12 22:32:52 +02:00
|
|
|
.include <bsd.port.mk>
|