mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
- Allow spampd to change user_directory [1]
- update to 2.30 - mark IGNORE on old perl PR: [1] ports/88901 Submitted by: Rauf Kuliyev <rauf@kuliyev.com> Approved by: maintainer
This commit is contained in:
parent
54fdbc8ef2
commit
0b3a0a198c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150713
3 changed files with 22 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= spampd
|
||||
PORTVERSION= 2.20
|
||||
PORTVERSION= 2.30
|
||||
CATEGORIES= mail perl5
|
||||
MASTER_SITES= http://www.worlddesign.com/Content/rd/mta/spampd/
|
||||
|
||||
|
@ -22,4 +22,11 @@ do-install:
|
|||
@${INSTALL_SCRIPT} ${WRKSRC}/spampd ${PREFIX}/sbin
|
||||
@${INSTALL_SCRIPT} ${FILESDIR}/spampd.sh.sample ${PREFIX}/etc/rc.d
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# spampd -> p5-Mail-SpamAssassin
|
||||
.if ${PERL_LEVEL} < 500601
|
||||
IGNORE= needs perl 5.6.1 or higher, install lang/perl5.8 and try again
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
MD5 (spampd-2.20.tar.gz) = 4efdb66e424bc24f8a7ce3bf6264ce31
|
||||
SIZE (spampd-2.20.tar.gz) = 22713
|
||||
MD5 (spampd-2.30.tar.gz) = 742c6f2cb75db54e59d044a8ee40445f
|
||||
SHA256 (spampd-2.30.tar.gz) = 6885544f4d1b339ebe3ad58068434397280a6526f682e78f7d0246aef6a09979
|
||||
SIZE (spampd-2.30.tar.gz) = 25001
|
||||
|
|
10
mail/spampd/files/patch-user_dir
Normal file
10
mail/spampd/files/patch-user_dir
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- spampd.orig Thu Dec 8 09:54:07 2005
|
||||
+++ spampd Thu Dec 8 09:54:07 2005
|
||||
@@ -793,6 +793,7 @@
|
||||
my $assassin = Mail::SpamAssassin->new({
|
||||
'dont_copy_prefs' => 1,
|
||||
'debug' => $debug,
|
||||
+ 'user_dir' => (getpwnam($user))[7],
|
||||
'local_tests_only' => $options{'local-only'} || 0 });
|
||||
|
||||
$options{'auto-whitelist'} and eval {
|
Loading…
Add table
Reference in a new issue