pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/majordomo - patch majordomo.pl for perl 5.12 comp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/10b3b9f763c2
branches:  trunk
changeset: 581539:10b3b9f763c2
user:      spz <spz%pkgsrc.org@localhost>
date:      Sat Oct 16 10:30:56 2010 +0000

description:
- 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:

 mail/majordomo/Makefile         |  10 +++++++---
 mail/majordomo/distinfo         |   3 ++-
 mail/majordomo/patches/patch-an |  22 ++++++++++++++++++++++
 3 files changed, 31 insertions(+), 4 deletions(-)

diffs (68 lines):

diff -r 3fc034179953 -r 10b3b9f763c2 mail/majordomo/Makefile
--- a/mail/majordomo/Makefile   Sat Oct 16 10:17:47 2010 +0000
+++ b/mail/majordomo/Makefile   Sat Oct 16 10:30:56 2010 +0000
@@ -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@localhost
+MAINTAINER=            spz%NetBSD.org@localhost
 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 -r 3fc034179953 -r 10b3b9f763c2 mail/majordomo/distinfo
--- a/mail/majordomo/distinfo   Sat Oct 16 10:17:47 2010 +0000
+++ b/mail/majordomo/distinfo   Sat Oct 16 10:30:56 2010 +0000
@@ -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-ak) = 401da2e552ff92ef35a60e45d6b8994dfd091b49
 SHA1 (patch-al) = 776088c5916b1b0516e8abaecd69870ba57f4a76
 SHA1 (patch-am) = cb557337c586c39f86b1c8f8fe265c7db022491c
+SHA1 (patch-an) = 44fd1f5dc600136e50536c9f3f9f0179c64ba723
diff -r 3fc034179953 -r 10b3b9f763c2 mail/majordomo/patches/patch-an
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/majordomo/patches/patch-an   Sat Oct 16 10:30:56 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index