diff options
author | spz <spz> | 2010-10-16 10:30:56 +0000 |
---|---|---|
committer | spz <spz> | 2010-10-16 10:30:56 +0000 |
commit | bf0c6ca6f21411fa87e4097a639c21f76ab6e1d4 (patch) | |
tree | 739329cd7e0cff77f4844d84ee768841ecbe4626 /mail | |
parent | 6b22eaa4932aa7565ff034692c14b0ce4651b8e1 (diff) | |
download | pkgsrc-bf0c6ca6f21411fa87e4097a639c21f76ab6e1d4.tar.gz |
- patch majordomo.pl for perl 5.12 compat (split does not return @_)
Patch submitted by Todd Kover in PR pkg/43974
-> bump pkgrev
- make myself maintainer
- add restriction (majordomos license does not allow redistribution of
modified binaries)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/majordomo/Makefile | 10 | ||||
-rw-r--r-- | mail/majordomo/distinfo | 3 | ||||
-rw-r--r-- | mail/majordomo/patches/patch-an | 22 |
3 files changed, 31 insertions, 4 deletions
diff --git a/mail/majordomo/Makefile b/mail/majordomo/Makefile index 8507a1e697c..90f27f65496 100644 --- a/mail/majordomo/Makefile +++ b/mail/majordomo/Makefile @@ -1,17 +1,21 @@ -# $NetBSD: Makefile,v 1.33 2010/08/20 21:25:02 tron Exp $ +# $NetBSD: Makefile,v 1.34 2010/10/16 10:30:56 spz Exp $ DISTNAME= majordomo-1.94.5 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= mail MASTER_SITES= ftp://ftp.sgi.com/other/majordomo/1.94.5/ \ ftp://ftp-europe.sgi.com/other/majordomo/1.94.5/ EXTRACT_SUFX= .tgz -MAINTAINER= pkgsrc-users@NetBSD.org +MAINTAINER= spz@NetBSD.org HOMEPAGE= http://www.greatcircle.com/majordomo/ COMMENT= The Majordomo mailing list manager LICENSE= majordomo-license +RESTRICTED= No distribution of modified binary packages to the general public +NO_BIN_ON_FTP= ${RESTRICTED} +NO_BIN_ON_CDROM= ${RESTRICTED} + CONFLICTS+= bounce-* USE_TOOLS+= perl:run diff --git a/mail/majordomo/distinfo b/mail/majordomo/distinfo index 20f618e04ed..a8e08ccec87 100644 --- a/mail/majordomo/distinfo +++ b/mail/majordomo/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2010/08/20 21:25:02 tron Exp $ +$NetBSD: distinfo,v 1.7 2010/10/16 10:30:56 spz Exp $ SHA1 (majordomo-1.94.5.tgz) = 44b18c7b9133f2cd992f6e718551d613d9d45c00 RMD160 (majordomo-1.94.5.tgz) = 7f6b48fb5cc5b23948133658b055588d0d6608c4 @@ -16,3 +16,4 @@ SHA1 (patch-aj) = 6d4fe712af39cb986c24d0227f86aacb6d048870 SHA1 (patch-ak) = 401da2e552ff92ef35a60e45d6b8994dfd091b49 SHA1 (patch-al) = 776088c5916b1b0516e8abaecd69870ba57f4a76 SHA1 (patch-am) = cb557337c586c39f86b1c8f8fe265c7db022491c +SHA1 (patch-an) = 44fd1f5dc600136e50536c9f3f9f0179c64ba723 diff --git a/mail/majordomo/patches/patch-an b/mail/majordomo/patches/patch-an new file mode 100644 index 00000000000..3e82aaaa95d --- /dev/null +++ b/mail/majordomo/patches/patch-an @@ -0,0 +1,22 @@ +$NetBSD: patch-an,v 1.1 2010/10/16 10:30:56 spz Exp $ + +--- majordomo.pl.orig 2000-01-07 12:32:04.000000000 +0000 ++++ majordomo.pl +@@ -95,14 +95,14 @@ sub main'ParseAddrs { + local($_) = shift; + 1 while s/\([^\(\)]*\)//g; # strip comments + 1 while s/"[^"]*"\s//g; # strip comments" +- split(/,/); # split into parts +- foreach (@_) { ++ my @parts = split(/,/); # split into parts ++ foreach (@parts) { + 1 while s/.*<(.*)>.*/$1/; + s/^\s+//; + s/\s+$//; + } + +- @_; ++ @parts; + } + + # Check to see if a list is valid. If it is, return the validated list |