ports/83590: New Port: qSheff
Ozkan KIRIK
ozkan at enderunix.org
Sun Jul 17 07:00:29 UTC 2005
>Number: 83590
>Category: ports
>Synopsis: New Port: qSheff
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 17 07:00:27 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Ozkan KIRIK
>Release: FreeBSD 5.1-RELEASE i386
>Organization:
EnderUNIX SDT @ Turkey
>Environment:
System: FreeBSD 5.1-RELEASE i386
>Description:
New Port: qSheff
>How-To-Repeat:
Adding new port
>Fix:
--- qsheff_port.sh begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# qsheff
# qsheff/Makefile
# qsheff/distinfo
# qsheff/pkg-descr
#
echo c - qsheff
mkdir -p qsheff > /dev/null 2>&1
echo x - qsheff/Makefile
sed 's/^X//' >qsheff/Makefile << 'END-of-qsheff/Makefile'
X# New ports collection makefile for: qsheff
X# Date created: 14 Jul 2005
X# Whom: Ozkan KIRIK <ozkan at enderunix.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= qsheff
XPORTVERSION= 1.0.r1
XCATEGORIES= mail
XMASTER_SITES= http://www.enderunix.org/qsheff/
XDISTNAME= ${PORTNAME}-1.0-r1
X
XMAINTAINER= ozkan at enderunix.org
XCOMMENT= A qmail-queue replacement to filter mail traffic
X
XUSE_REINPLACE= YES
XGNU_CONFIGURE= yes
X
XRUN_DEPENDS= ${QMAIL_QUEUE}:${PORTSDIR}/mail/qmail
XRUN_DEPENDS+= ${LOCALBASE}/bin/ripmime:${PORTSDIR}/mail/ripmime
X
XOPTIONS= CLAMAV "Integrate with Clam AntiVirus" on
X
X.include <bsd.port.pre.mk>
X#PORT_DBDIR?= /var/db/ports
X#LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
X#OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
X
X.if exists(${OPTIONSFILE})
X.include "${OPTIONSFILE}"
X.endif
X
X.if exists(${LOCALBASE}/qmail/bin/qmail-queue)
XQMAIL_DIR?= ${LOCALBASE}/qmail
X.else
XQMAIL_DIR?= /var/qmail
X.endif
XQMAIL_QUEUE= ${QMAIL_DIR}/bin/qmail-queue
X
X.if !defined(WITHOUT_CLAMAV)
XRUN_DEPENDS+= ${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav
X.endif
X.if !defined(WITHOUT_FPROT) & defined(WITHOUT_CLAMAV)
XRUN_DEPENDS+= ${LOCALBASE}/bin/f-prot:${PORTSDIR}/security/f-prot
X.endif
X
XCONFIGURE_ARGS+= --with-qmaildir=${QMAIL_DIR}
X
Xpost-build:
X.if defined(WITHOUT_CLAMAV)
X @${REINPLACE_CMD} -e 's|enable_virus_prog = 1|enable_virus_prog = 0|g' ${WRKSRC}/etc/qsheff.conf-default
X.endif
X
Xdo-deinstall:
X @${LOCALBASE}/share/qsheff/uninstall.sh
X
X#.include <bsd.port.mk>
X.include <bsd.port.post.mk>
END-of-qsheff/Makefile
echo x - qsheff/distinfo
sed 's/^X//' >qsheff/distinfo << 'END-of-qsheff/distinfo'
XMD5 (qsheff-1.0-r1.tar.gz) = fa9e21cbf2a9014beb05d8a7e55a46d8
XSIZE (qsheff-1.0-r1.tar.gz) = 105460
END-of-qsheff/distinfo
echo x - qsheff/pkg-descr
sed 's/^X//' >qsheff/pkg-descr << 'END-of-qsheff/pkg-descr'
XA qmail-queue replacement to filter mail traffic and more.
XIt supports:
X * Antivirus executing
X * body filtering
X * subject filtering
X * attachment blocking
X * quarantine
X * white/black list
X * single line logging for qmail and many features.
X
XProject Page:
XWWW: http://www.enderunix.org/qsheff
X
XAuthor:
X
XBaris SIMSEK
Xsimsek at enderunix.org
XEnderUNIX SDT @ Turkey
Xhttp://www.enderunix.org/simsek/
END-of-qsheff/pkg-descr
exit
--- qsheff_port.sh ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list