summaryrefslogtreecommitdiff
path: root/mail/qmail-scanner/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/qmail-scanner/files')
-rw-r--r--mail/qmail-scanner/files/extra-patch-configure11
-rw-r--r--mail/qmail-scanner/files/pkg-deinstall.in5
-rw-r--r--mail/qmail-scanner/files/pkg-install.in53
-rw-r--r--mail/qmail-scanner/files/pkg-message.in35
4 files changed, 0 insertions, 104 deletions
diff --git a/mail/qmail-scanner/files/extra-patch-configure b/mail/qmail-scanner/files/extra-patch-configure
deleted file mode 100644
index 74c008ec5038..000000000000
--- a/mail/qmail-scanner/files/extra-patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.old 2012-05-25 16:16:34.000000000 -0300
-+++ configure 2012-05-25 16:16:51.000000000 -0300
-@@ -817,7 +817,7 @@
- UNZIP_OPTIONS=""
- fi
- #Now check we can get filesizes out
-- EE=`unzip -Ptest -lv contrib/test_password.zip 2>&1|egrep '80688.*test/ls'`
-+ EE=`unzip -lv contrib/test_password.zip 2>&1|egrep '80688.*test/ls'`
- if [ "$EE" = "" ]; then
- echo "**FATAL ERROR ***"
- echo ""
diff --git a/mail/qmail-scanner/files/pkg-deinstall.in b/mail/qmail-scanner/files/pkg-deinstall.in
deleted file mode 100644
index b5be2efd41d8..000000000000
--- a/mail/qmail-scanner/files/pkg-deinstall.in
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-if [ "$2" = "DEINSTALL" ]; then
- echo "If you're not updating this port, you can delete directory %%SPOOLDIR%%"
-fi
diff --git a/mail/qmail-scanner/files/pkg-install.in b/mail/qmail-scanner/files/pkg-install.in
deleted file mode 100644
index 6452fc0ffc5d..000000000000
--- a/mail/qmail-scanner/files/pkg-install.in
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-
-PW="/usr/sbin/pw"
-CHOWN="/usr/sbin/chown"
-CHMOD="/bin/chmod"
-MKDIR="/bin/mkdir -p"
-NOLOGIN="/usr/sbin/nologin"
-
-QS_USER=%%QS_USER%%
-QS_ID=%%QS_ID%%
-
-SPOOLDIR=%%SPOOLDIR%%
-CWRAPPER=%%CWRAPPER%%
-
-case "$2" in
-PRE-INSTALL)
- # User and group
- ${PW} groupshow -n ${QS_USER} >/dev/null 2>&1 \
- || ${PW} groupadd -n ${QS_USER} -g ${QS_ID}
- ${PW} usershow -n ${QS_USER} >/dev/null 2>&1 \
- || ${PW} useradd ${QS_USER} -g ${QS_USER} -u ${QS_ID} -s ${NOLOGIN} -d ${SPOOLDIR}
- ;;
-POST-INSTALL)
- # Directories
- for i in working archives; do
- for j in tmp cur new; do
- [ ! -d ${SPOOLDIR}/${i}/${j} ] && (${MKDIR} ${SPOOLDIR}/${i}/${j} || exit 1)
- done
- done
- for i in viruses policy spam; do
- for j in tmp cur new; do
- [ ! -d ${SPOOLDIR}/quarantine/${i}/${j} ] && (${MKDIR} ${SPOOLDIR}/quarantine/${i}/${j} || exit 1)
- done
- done
-
- # Mod and owner
- ${CHOWN} -R ${QS_USER}:${QS_USER} ${SPOOLDIR}
- ${CHOWN} ${QS_USER}:${QS_USER} ${PKG_PREFIX}/bin/qmail-scanner-queue.pl
- if [ ":${CWRAPPER}" = ":yes" ]; then
- ${CHOWN} ${QS_USER}:${QS_USER} ${PKG_PREFIX}/bin/qmail-scanner-queue
- ${CHMOD} 6755 ${PKG_PREFIX}/bin/qmail-scanner-queue
- ${CHMOD} 0755 ${PKG_PREFIX}/bin/qmail-scanner-queue.pl
- else
- ${CHMOD} 4755 ${PKG_PREFIX}/bin/qmail-scanner-queue.pl
- fi
- # Initialize
- ${PKG_PREFIX}/bin/qmail-scanner-queue.pl -z
- ${PKG_PREFIX}/bin/qmail-scanner-queue.pl -g
-
- # Mod and owner (final)
- ${CHOWN} -R ${QS_USER}:${QS_USER} ${SPOOLDIR}
- ;;
-esac
diff --git a/mail/qmail-scanner/files/pkg-message.in b/mail/qmail-scanner/files/pkg-message.in
deleted file mode 100644
index 862a23cb2207..000000000000
--- a/mail/qmail-scanner/files/pkg-message.in
+++ /dev/null
@@ -1,35 +0,0 @@
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-Congratulations! Qmail-Scanner is now installed!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-ATTENTION!!!
-
-For qmail-scanner work correctly, be sure to have QMAILQUEUE patch applied on
-your qmail.
-
-Please, configure correctly your anti-virus and anti-spam. You
-HAVE to reinstall this port each time you add or remove an
-Anti-Virus or Anti-Spam;
-
-Now configure the environment variable to use qmail-scanner:
-
-You just need to add for your tcpserver file (generally called
-as 'tcp.smtp'):
-
-QMAILQUEUE="%%PREFIX%%/bin/%%QSQ_TARGET%%"
-
-Or create an new file in /service/smtpd/env:
-
-# echo '%%PREFIX%%/bin/%%QSQ_TARGET%%' > /service/smtpd/env/QMAILQUEUE
-
-NOTE: always you change anything in your environment dir, you just
-need to restart your smtpd, for it, use: "svc -k /service/smtpd".
-
-You can test your installation by running 'make test' in port dir.
-
-Remember to rename quarantine-events.txt.sample in /var/spool/qscand
-and then run "qmail-scanner-queue.pl -g" to generate DB version.
-
-Please log into an unpriviledged account and run
-
-%%PREFIX%%/bin/%%QSQ_TARGET%% -g