Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2002 08:30:04 -0700 (PDT)
From:      Erwin Lansing <erwin@lansing.dk>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/42656: fix p5-Archive-Zip to work with -T (amavis, ao.)
Message-ID:  <200209111530.g8BFU4Kv026049@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/42656; it has been noted by GNATS.

From: Erwin Lansing <erwin@lansing.dk>
To: Erwin Lansing <erwin@lansing.dk>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/42656: fix p5-Archive-Zip to work with -T (amavis, ao.)
Date: Wed, 11 Sep 2002 17:21:44 +0200

 --bpVaumkpfGNUagdU
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 please close this PR. The author responded quickly and has released
 1.04.
 
 Cheers,
 -erwin
 
 On Wed, Sep 11, 2002 at 02:15:10PM +0200, Erwin Lansing wrote:
 >=20
 > >Number:         42656
 > >Category:       ports
 > >Synopsis:       fix p5-Archive-Zip to work with -T (amavis, ao.)
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    freebsd-ports
 > >State:          open
 > >Quarter:       =20
 > >Keywords:      =20
 > >Date-Required:
 > >Class:          maintainer-update
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Wed Sep 11 05:20:02 PDT 2002
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Erwin Lansing
 > >Release:        FreeBSD 4.6-STABLE i386
 > >Organization:
 > pil.dk=20
 > >Environment:
 > System: FreeBSD koala.droso.net 4.6-STABLE FreeBSD 4.6-STABLE #10: Tue Au=
 g 20 08:30:47 CEST 2002 root@koala.droso.net:/usr/obj/usr/src/sys/KOALA i386
 >=20
 >=20
 > =09
 > >Description:
 > Archive::Zip does not work with -T. This breaks ao. amavis. The following
 > patch untaints the offending variable. I'll contact the author.
 >=20
 > Noticed by: "Carlos F. A. Paniago" <pan@cnpm.embrapa.br>
 >=20
 >=20
 > Note: new file files/patch-lib-Archive-Zip.pm
 >=20
 > >How-To-Repeat:
 > =09
 > >Fix:
 >=20
 > =09
 >=20
 > --- p5-Archive-Zip.diff begins here ---
 > diff -ruN p5-Archive-Zip.orig/Makefile p5-Archive-Zip/Makefile
 > --- p5-Archive-Zip.orig/Makefile	Tue Sep  3 10:10:20 2002
 > +++ p5-Archive-Zip/Makefile	Wed Sep 11 13:20:02 2002
 > @@ -7,6 +7,7 @@
 > =20
 >  PORTNAME=3D	Archive-Zip
 >  PORTVERSION=3D	1.03
 > +PORTREVISION=3D	1
 >  CATEGORIES=3D	archivers perl5
 >  MASTER_SITES=3D	${MASTER_SITE_PERL_CPAN}
 >  MASTER_SITE_SUBDIR=3D	Archive
 > diff -ruN p5-Archive-Zip.orig/files/patch-lib-Archive-Zip.pm p5-Archive-Z=
 ip/files/patch-lib-Archive-Zip.pm
 > --- p5-Archive-Zip.orig/files/patch-lib-Archive-Zip.pm	Thu Jan  1 01:00:0=
 0 1970
 > +++ p5-Archive-Zip/files/patch-lib-Archive-Zip.pm	Wed Sep 11 13:19:33 2002
 > @@ -0,0 +1,17 @@
 > +--- lib/Archive/Zip.pm.orig	Wed Sep 11 13:18:37 2002
 > ++++ lib/Archive/Zip.pm	Wed Sep 11 13:18:54 2002
 > +@@ -1304,7 +1304,13 @@
 > + sub lastModTime    # Archive::Zip::Member
 > + {
 > + 	my $self =3D shift;
 > +-	return _dosToUnixTime( $self->lastModFileDateTime() );
 > ++	my $lastMT =3D _dosToUnixTime( $self->lastModFileDateTime() );
 > ++	if ($lastMT =3D~ /^(\d+)$/ ) {
 > ++		$lastMT =3D $1;
 > ++	} else {
 > ++		die ("Bad timestamp");
 > ++	}
 > ++	return $lastMT;
 > + }
 > +=20
 > + sub setLastModFileDateTimeFromUnix    # Archive::Zip::Member
 > --- p5-Archive-Zip.diff ends here ---
 >=20
 >=20
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 >=20
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-ports" in the body of the message
 --=20
                     _._     _,-'""`-._
 Erwin Lansing      (,-.`._,'(       |\`-/|    http://droso.org/
 erwin@lansing.dk       `-.-' \ )-`( , o o)    http://fnidder.dk/
                     -bf-      `-    \`_`"'-
 
 --bpVaumkpfGNUagdU
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.7 (FreeBSD)
 
 iD8DBQE9f1+Iqy9aWxUlaZARAhljAJ9u2e+S60Zj8/0Hj7sk1P41Wbo9HwCfeuvu
 3ZtEBYs4FGkzF4detUqhWns=
 =dSS4
 -----END PGP SIGNATURE-----
 
 --bpVaumkpfGNUagdU--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209111530.g8BFU4Kv026049>