1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Update to 0.1.12

Update MASTER_SITES and WWW
Add SHA256

PR:		90018
Submitted by:	maintainer
This commit is contained in:
Marcus Alves Grando 2005-12-06 16:12:44 +00:00
parent a1825ff7c8
commit 063aa614e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150536
6 changed files with 68 additions and 7 deletions

View File

@ -6,9 +6,9 @@
#
PORTNAME= policyd-weight
PORTVERSION= 0.1.11
PORTVERSION= 0.1.12
CATEGORIES= mail
MASTER_SITES= http://robtone.mine.nu/postfix/releases/
MASTER_SITES= http://www.policyd-weight.org/releases/
PKGNAMEPREFIX= postfix-
MAINTAINER= robtone@ek-muc.de
@ -24,6 +24,9 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec/postfix
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${PREFIX}/etc
pre-install:
@${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
@${CAT} ${PKGMESSAGE}

View File

@ -1,2 +1,3 @@
MD5 (policyd-weight-0.1.11.tar.gz) = 1d4ad10437054bf47e781265c2e2e9d3
SIZE (policyd-weight-0.1.11.tar.gz) = 20139
MD5 (policyd-weight-0.1.12.tar.gz) = d2cdbc239ca278c4da412289ee42d12b
SHA256 (policyd-weight-0.1.12.tar.gz) = 017bdaf5d60cc48841a73c21a8a6e3dfd28395116e345ffd5ab6fab3d709f19c
SIZE (policyd-weight-0.1.12.tar.gz) = 26530

View File

@ -2,7 +2,7 @@
* To run this from %%PREFIX%%/etc/postfix/master.cf:
policy unix - n n - - spawn
user=nobody argv=%%PREFIX%%/libexec/postfix/policyd-weight
user=polw argv=%%PREFIX%%/libexec/postfix/policyd-weight
* To use this from Postfix SMTPD, use in %%PREFIX%%/etc/postfix/main.cf
@ -23,4 +23,11 @@ smtpd_recipient_restrictions =
* edit %%PREFIX%%/etc/policyd-weight.conf
* An example is provided in %%PREFIX%%/etc/policyd-weight.conf.sample
*
*
* ATTENTION !!! ATTENTION
*
* if you are already using policyd-weight you MUST update your master.cf and
* change the user=nobody argument to user=polw
*
* ATTENTION !!! ATTENTION
*************

View File

@ -0,0 +1,16 @@
#!/bin/sh
#
# $FreeBSD$
#
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
USER=polw
if pw usershow "${USER}" 2>/dev/null 1>&2; then
echo "To delete user permanently, use 'pw userdel ${USER}'"
fi
exit 0

View File

@ -1,8 +1,8 @@
Policyd-weight is (as the name says) a weighted policyd for Postfix.
It uses HELO, MAIL FROM and the MTA IP address for scoring their
correctness. It also uses definable DNSBLs in a scored fashion.
correctness. It also uses definable DNSBLs and RHSBLs in a scored fashion.
WWW: http://robtone.mine.nu/postfix/
WWW: http://www.policyd-weight.org
- Robert Felber
robtone@ek-muc.de

View File

@ -0,0 +1,34 @@
#!/bin/sh
#
# $FreeBSD$
#
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
USER=polw
GROUP=${USER}
if ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then
if pw groupadd ${GROUP} ; then
echo "Added group \"${GROUP}\"."
else
echo "Adding group \"${GROUP}\" failed..."
exit 1
fi
fi
if ! pw usershow "${USER}" 2>/dev/null 1>&2; then
if pw useradd ${USER} -g ${GROUP} -h - \
-s "/sbin/nologin" -d "/nonexistent" \
-c "Policyd-weight Cache Owner"; \
then
echo "Added user \"${USER}\"."
else
echo "Adding user \"${USER}\" failed..."
exit 1
fi
fi
exit 0