diff options
Diffstat (limited to 'mail/py-apolicy')
-rw-r--r-- | mail/py-apolicy/Makefile | 39 | ||||
-rw-r--r-- | mail/py-apolicy/distinfo | 2 | ||||
-rw-r--r-- | mail/py-apolicy/files/apolicyd.in | 34 | ||||
-rw-r--r-- | mail/py-apolicy/files/patch-src-apolicy-config.py | 20 | ||||
-rw-r--r-- | mail/py-apolicy/files/pkg-message.in | 14 | ||||
-rw-r--r-- | mail/py-apolicy/pkg-descr | 6 |
6 files changed, 0 insertions, 115 deletions
diff --git a/mail/py-apolicy/Makefile b/mail/py-apolicy/Makefile deleted file mode 100644 index 3036b72834ba..000000000000 --- a/mail/py-apolicy/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# Created by: Chifeng QU <chifeng@gmail.com> -# $FreeBSD$ - -PORTNAME= apolicy -PORTVERSION= 0.73 -PORTREVISION= 3 -CATEGORIES= mail python -MASTER_SITES= http://download.gna.org/apolicy/%SUBDIR%/ \ - http://www.chifeng.name/dist/apolicy/%SUBDIR%/ -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} - -MAINTAINER= ports@FreeBSD.org -COMMENT= ACL system for Postfix, as a policy daemon - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/LICENSE.TXT - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipy>=0:net-mgmt/py-ipy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyspf>=0:mail/py-pyspf@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} - -USES= python:2.7 -USE_PYTHON= autoplist distutils -NO_ARCH= yes -NO_BUILD= yes -USE_RC_SUBR= apolicyd - -SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \ - PYTHON_CMD=${PYTHON_CMD} -SUB_FILES= pkg-message - -post-patch: - @${REINPLACE_CMD} 's|/etc|${PREFIX}/etc|' ${WRKSRC}/setup.py - -.include <bsd.port.mk> diff --git a/mail/py-apolicy/distinfo b/mail/py-apolicy/distinfo deleted file mode 100644 index 756490424a4a..000000000000 --- a/mail/py-apolicy/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (apolicy-0.73.tar.gz) = b186464f9dda14ea9cf638c622a75bb2b7d5d8281ebc64ef334fe4dee883d2f7 -SIZE (apolicy-0.73.tar.gz) = 32773 diff --git a/mail/py-apolicy/files/apolicyd.in b/mail/py-apolicy/files/apolicyd.in deleted file mode 100644 index 10c373acdc24..000000000000 --- a/mail/py-apolicy/files/apolicyd.in +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -# Start or stop apolicyd -# $FreeBSD$ - -# PROVIDE: apolicyd -# REQUIRE: TWISTD -# KEYWORD: shutdown - - -# Define these apolicyd_* variables in one of these files: -# /etc/rc.conf -# /etc/rc.conf.local -# -# DO NOT CHANGE THESE DEFAULT VALUES HERE - - -. /etc/rc.subr - -name="apolicyd" -rcvar=apolicyd_enable - -command="%%PREFIX%%/bin/twistd" -pidfile="/var/run/apolicyd.pid" -logfile="/var/log/apolicyd.log" - -load_rc_config $name - -: ${apolicyd_enable="NO"} - -command_args="--pidfile=${pidfile} -y %%PYTHON_SITELIBDIR%%/apolicy/server.py -q --logfile=${logfile} 2>&1 >/dev/null" -procname="%%PYTHON_CMD%%" - -run_rc_command "$1" diff --git a/mail/py-apolicy/files/patch-src-apolicy-config.py b/mail/py-apolicy/files/patch-src-apolicy-config.py deleted file mode 100644 index edde058a179b..000000000000 --- a/mail/py-apolicy/files/patch-src-apolicy-config.py +++ /dev/null @@ -1,20 +0,0 @@ ---- src/apolicy/config.py.orig 2008-11-24 07:53:32 UTC -+++ src/apolicy/config.py -@@ -22,7 +22,7 @@ - import pwd - from ConfigParser import ConfigParser - --config_path = "/etc/apolicy/main.conf" -+config_path = "/usr/local/etc/apolicy/main.conf" - - if "APOLICY_CONFIG_PATH" in os.environ: - config_path = os.environ["APOLICY_CONFIG_PATH"] -@@ -42,7 +42,7 @@ - config.set("main", "timeout", "5") - - if not config.has_option("main", "policy_path"): -- config.set("main", "policy_path", "/etc/apolicy/policy.conf") -+ config.set("main", "policy_path", "/usr/local/etc/apolicy/policy.conf") - - user = pwd.getpwnam(config.get("main", "user")) - config.set("main", "uid", str(user[2])) diff --git a/mail/py-apolicy/files/pkg-message.in b/mail/py-apolicy/files/pkg-message.in deleted file mode 100644 index 850b538ed1b5..000000000000 --- a/mail/py-apolicy/files/pkg-message.in +++ /dev/null @@ -1,14 +0,0 @@ -[ -{ type: install - message: <<EOM -To use this from Postfix SMTPD, use in %%PREFIX%%/etc/postfix/main.cf: - -smtpd_recipient_restrictions = ... - check_policy_service inet:127.0.0.1:10001 - ... - -NOTE: specify check_policy_service AFTER reject_unauth_destination -or else your system can become an open relay. -EOM -} -] diff --git a/mail/py-apolicy/pkg-descr b/mail/py-apolicy/pkg-descr deleted file mode 100644 index d243a5bc052f..000000000000 --- a/mail/py-apolicy/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -ACL Policy Daemon is a program that communicates with the Postfix MTA using the -Policy Delegation Protocol implementing an ACL (Access Control List) system, -making very easy to improve and create nice controls on your e-mail traffic. -You can use it to verify SPF records too. - -WWW: http://www.apolicy.org |