aboutsummaryrefslogtreecommitdiff
path: root/mail/sqlgrey
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 21:25:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 21:25:59 +0000
commit8003ba152f15aa82aaadd76fcd6b669cc0cc9981 (patch)
tree7842527232644d8f0fc76639a38e9596a910d381 /mail/sqlgrey
parented087d4a054a21cc8ed53e4878392ce7aa857b54 (diff)
downloadports-8003ba152f15aa82aaadd76fcd6b669cc0cc9981.tar.gz
ports-8003ba152f15aa82aaadd76fcd6b669cc0cc9981.zip
Remove non staged ports without pending PR from ma*
Notes
Notes: svn path=/head/; revision=366959
Diffstat (limited to 'mail/sqlgrey')
-rw-r--r--mail/sqlgrey/Makefile86
-rw-r--r--mail/sqlgrey/distinfo2
-rw-r--r--mail/sqlgrey/files/patch-ipv611
-rw-r--r--mail/sqlgrey/files/pkg-install.in38
-rw-r--r--mail/sqlgrey/files/sqlgrey.in40
-rw-r--r--mail/sqlgrey/pkg-descr7
-rw-r--r--mail/sqlgrey/pkg-plist24
7 files changed, 0 insertions, 208 deletions
diff --git a/mail/sqlgrey/Makefile b/mail/sqlgrey/Makefile
deleted file mode 100644
index b52e4e44a1bf..000000000000
--- a/mail/sqlgrey/Makefile
+++ /dev/null
@@ -1,86 +0,0 @@
-# Created by: mat
-# $FreeBSD$
-
-PORTNAME= sqlgrey
-PORTVERSION= 1.8.0
-PORTREVISION= 1
-CATEGORIES= mail
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-1.8%20%28stable%29
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Greylisting policy server for Postfix using an SQL backend
-
-RUN_DEPENDS= p5-Net-Server>=0:${PORTSDIR}/net/p5-Net-Server \
- p5-IO-Multiplex>=0:${PORTSDIR}/devel/p5-IO-Multiplex \
- p5-Pod-Parser>=0:${PORTSDIR}/textproc/p5-Pod-Parser
-
-USES= perl5
-USE_PERL5= run
-USE_RC_SUBR= sqlgrey
-NO_BUILD= yes
-
-ETCFILES= clients_fqdn_whitelist clients_ip_whitelist dyn_fqdn.regexp smtp_server.regexp sqlgrey.conf
-USERS= sqlgrey
-GROUPS= ${USERS}
-ETCDIR?= etc/sqlgrey
-
-SUB_FILES= pkg-install
-MY_SUB_LIST= ETCDIR=${ETCDIR} ETCFILES="${ETCFILES}" USER=${USERS} GROUP=${GROUPS} PERL=${PERL}
-SUB_LIST+= ${MY_SUB_LIST}
-PLIST_SUB= TOUCH=${TOUCH} ${MY_SUB_LIST}
-
-PKGINSTALL= ${WRKDIR}/pkg-install
-PKGDEINSTALL= ${PKGINSTALL}
-
-MAN1= sqlgrey.1
-
-OPTIONS_DEFINE= PGSQL MYSQL SQLITE STATS DOCS
-STATS_DESC= Depend on Date::Calc for logstats.pl script
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-PORTDOCS= Changelog FAQ HOWTO README TODO
-.endif
-
-.if ${PORT_OPTIONS:MPGSQL}
-RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
-.endif
-
-.if ${PORT_OPTIONS:MMYSQL}
-RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
-.endif
-
-.if ${PORT_OPTIONS:MSQLITE}
-RUN_DEPENDS+= p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite
-.endif
-
-.if ${PORT_OPTIONS:MSTATS}
-RUN_DEPENDS+= p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e 's-#!/usr/bin/perl-#!${PERL}-' -e 's!/etc/sqlgrey!${PREFIX}/${ETCDIR}!g' ${WRKSRC}/sqlgrey
-
-do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/sqlgrey-logstats.pl ${PREFIX}/bin
- @${INSTALL_SCRIPT} ${WRKSRC}/sqlgrey ${PREFIX}/sbin
- @${INSTALL_SCRIPT} ${WRKSRC}/update_sqlgrey_config ${PREFIX}/sbin
- @cd ${WRKSRC} && perldoc -u sqlgrey | pod2man sqlgrey > ${MANPREFIX}/man/man1/sqlgrey.1
- @${MKDIR} ${PREFIX}/${ETCDIR}
-.for i in ${ETCFILES}
- @${INSTALL_DATA} ${WRKSRC}/etc/${i} ${PREFIX}/${ETCDIR}/${i}.dist
- @[ "${i}" = "dyn_fqdn.regexp" ] || [ "${i}" = "smtp_server.regexp" ] || [ "${i}" = "sqlgrey.conf" ] || ${TOUCH} ${PREFIX}/${ETCDIR}/${i}.local
- @[ -f ${PREFIX}/${ETCDIR}/${i} ] || ${INSTALL_DATA} ${WRKSRC}/etc/${i} ${PREFIX}/${ETCDIR}/${i}
-.endfor
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
- @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
-
-post-install:
- @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-
-.include <bsd.port.mk>
diff --git a/mail/sqlgrey/distinfo b/mail/sqlgrey/distinfo
deleted file mode 100644
index 4cc0eca85587..000000000000
--- a/mail/sqlgrey/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (sqlgrey-1.8.0.tar.gz) = 94e0fa191b30d672b748e934728ca73383bf9b36e4b17618b01adaaba40280e2
-SIZE (sqlgrey-1.8.0.tar.gz) = 69476
diff --git a/mail/sqlgrey/files/patch-ipv6 b/mail/sqlgrey/files/patch-ipv6
deleted file mode 100644
index 8be3f957e0a2..000000000000
--- a/mail/sqlgrey/files/patch-ipv6
+++ /dev/null
@@ -1,11 +0,0 @@
---- sqlgrey.orig 2013-09-27 06:51:40.913265753 -0500
-+++ sqlgrey 2013-09-27 06:51:25.000000000 -0500
-@@ -1037,7 +1037,7 @@
- return join(":", (split(/:/, $addr))[0..3]);
- } else {
- ## For Non-EUI64 or Non-Global-Unicast return the address
-- return $addr;
-+ return join(":", (split(/:/, $addr))[0..3]);
- }
- }
-
diff --git a/mail/sqlgrey/files/pkg-install.in b/mail/sqlgrey/files/pkg-install.in
deleted file mode 100644
index 9c7fc94636ef..000000000000
--- a/mail/sqlgrey/files/pkg-install.in
+++ /dev/null
@@ -1,38 +0,0 @@
-#! /bin/sh
-#
-# $FreeBSD$
-
-PATH=/bin:/usr/bin:/usr/sbin
-
-case $2 in
-
- POST-INSTALL)
-
- echo "---> Starting install script:"
-
- if [ -z "%%USER%%" -o -z "%%GROUP%%" ]; then
- echo "ERROR: A required pragma was empty"
- exit 1
- fi
-
- # Create home directory if required
- if [ -d "%%DATADIR%%" ]; then
- echo "---> Using existing Sqlgrey database directory (%%DATADIR%%)"
- echo " (There may be existing active sqlgrey databases - this installation"
- echo " will attempt to preserve them.)"
- else
- echo "---> Creating Sqlgrey database directory (%%DATADIR%%)"
- (umask 002 && /bin/mkdir -p "%%DATADIR%%") || exit 1
- /usr/sbin/chown -R "%%USER%%:%%GROUP%%" "%%DATADIR%%" || exit 1
- /bin/chmod g+s "%%DATADIR%%" || exit 1
- fi
- ;;
-
- POST-DEINSTALL)
-
- echo "---> Please, remember to remove the database directory:"
- echo " %%DATADIR%%"
- echo " If you're only updating, you can leave the things as they are."
- ;;
-
-esac
diff --git a/mail/sqlgrey/files/sqlgrey.in b/mail/sqlgrey/files/sqlgrey.in
deleted file mode 100644
index 2c807ba4fd62..000000000000
--- a/mail/sqlgrey/files/sqlgrey.in
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD$
-#
-# PROVIDE: sqlgrey
-# REQUIRE: LOGIN
-# BEFORE: mail
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf to enable sqlgrey:
-#
-# sqlgrey_enable="YES"
-#
-# See man sqlgrey for flags or the config file.
-
-. /etc/rc.subr
-
-name=sqlgrey
-rcvar=sqlgrey_enable
-
-command=%%PREFIX%%/sbin/sqlgrey
-extra_commands=reload
-command_interpreter=%%PERL%%
-
-stop_postcmd=${name}_poststop
-
-load_rc_config $name
-
-sqlgrey_enable=${sqlgrey_enable-"NO"}
-required_files=${sqlgrey_config-"%%PREFIX%%/%%ETCDIR%%/sqlgrey.conf"}
-pidfile=${sqlgrey_pidfile-"/var/run/sqlgrey.pid"}
-
-command_args="--configfile=${required_files} --pidfile=${pidfile} --daemonize"
-
-sqlgrey_poststop()
-{
- rm -f $pidfile
-}
-
-run_rc_command "$1"
diff --git a/mail/sqlgrey/pkg-descr b/mail/sqlgrey/pkg-descr
deleted file mode 100644
index 3dd01be78a1b..000000000000
--- a/mail/sqlgrey/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-SQLgrey is a postfix policy service implementing a grey-listing policy.
-
-SQLgrey is written in Perl and uses DBI to access an SQL database.
-
-Its goal is reducing the SPAM reaching user mailboxes
-
-WWW: http://sqlgrey.sourceforge.net/
diff --git a/mail/sqlgrey/pkg-plist b/mail/sqlgrey/pkg-plist
deleted file mode 100644
index f6f53acc76eb..000000000000
--- a/mail/sqlgrey/pkg-plist
+++ /dev/null
@@ -1,24 +0,0 @@
-@unexec if cmp -s %D/%%ETCDIR%%/clients_fqdn_whitelist.dist %D/%%ETCDIR%%/clients_fqdn_whitelist; then rm -f %D/%%ETCDIR%%/clients_fqdn_whitelist; fi
-@unexec [ -e %D/%%ETCDIR%%/clients_fqdn_whitelist.local -a ! -s %D/%%ETCDIR%%/clients_fqdn_whitelist.local ] && rm -f %D/%%ETCDIR%%/clients_fqdn_whitelist.local
-@unexec if cmp -s %D/%%ETCDIR%%/clients_ip_whitelist.dist %D/%%ETCDIR%%/clients_ip_whitelist; then rm -f %D/%%ETCDIR%%/clients_ip_whitelist; fi
-@unexec [ -e %D/%%ETCDIR%%/clients_ip_whitelist.local -a ! -s %D/%%ETCDIR%%/clients_ip_whitelist.local ] && rm -f %D/%%ETCDIR%%/clients_ip_whitelist.local
-@unexec if cmp -s %D/%%ETCDIR%%/dyn_fqdn.regexp.dist %D/%%ETCDIR%%/dyn_fqdn.regexp; then rm -f %D/%%ETCDIR%%/dyn_fqdn.regexp; fi
-@unexec if cmp -s %D/%%ETCDIR%%/smtp_server.regexp.dist %D/%%ETCDIR%%/smtp_server.regexp; then rm -f %D/%%ETCDIR%%/smtp_server.regexp; fi
-@unexec if cmp -s %D/%%ETCDIR%%/sqlgrey.conf.dist %D/%%ETCDIR%%/sqlgrey.conf; then rm -f %D/%%ETCDIR%%/sqlgrey.conf; fi
-%%ETCDIR%%/clients_fqdn_whitelist.dist
-@exec [ -f %B/clients_fqdn_whitelist ] || cp %B/%f %B/clients_fqdn_whitelist
-@exec [ -f %B/clients_fqdn_whitelist.local ] || %%TOUCH%% %B/clients_fqdn_whitelist.local
-%%ETCDIR%%/clients_ip_whitelist.dist
-@exec [ -f %B/clients_ip_whitelist ] || cp %B/%f %B/clients_ip_whitelist
-@exec [ -f %B/clients_ip_whitelist.local ] || %%TOUCH%% %B/clients_ip_whitelist.local
-%%ETCDIR%%/dyn_fqdn.regexp.dist
-%%ETCDIR%%/smtp_server.regexp.dist
-%%ETCDIR%%/sqlgrey.conf.dist
-@exec [ -f %B/dyn_fqdn.regexp.dist ] || cp %B/%f %B/dyn_fqdn.regexp.dist
-@exec [ -f %B/smtp_server.regexp.dist ] || cp %B/%f %B/smtp_server.regexp.dist
-@exec [ -f %B/sqlgrey.conf ] || cp %B/%f %B/sqlgrey.conf
-bin/sqlgrey-logstats.pl
-sbin/sqlgrey
-sbin/update_sqlgrey_config
-@dirrmtry %%DATADIR%%
-@dirrmtry %%ETCDIR%%