From 5c37ba15247abe0b5fe8269947be468ff85aa970 Mon Sep 17 00:00:00 2001 From: sturm Date: Mon, 10 May 2004 19:41:33 +0000 Subject: [PATCH] - update to DateManip 5.42a - do unlink-test in /tmp instead of where your perl binary resides maintainer timeout --- converters/p5-DateManip/Makefile | 7 ++++--- converters/p5-DateManip/distinfo | 6 +++--- converters/p5-DateManip/patches/patch-Manip_pm | 12 ++++++++++++ 3 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 converters/p5-DateManip/patches/patch-Manip_pm diff --git a/converters/p5-DateManip/Makefile b/converters/p5-DateManip/Makefile index eb2f03a892b..804432674de 100644 --- a/converters/p5-DateManip/Makefile +++ b/converters/p5-DateManip/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.9 2002/12/29 19:37:52 fgsch Exp $ +# $OpenBSD: Makefile,v 1.10 2004/05/10 19:41:33 sturm Exp $ COMMENT= "manipulate dates in perl" -DISTNAME= DateManip-5.40 -PKGNAME= p5-DateManip-5.40 +DISTNAME= DateManip-5.42a +PKGNAME= p5-${DISTNAME} CATEGORIES= converters perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Date/} @@ -10,6 +10,7 @@ HOMEPAGE= http://www.cise.ufl.edu/~sbeck/ MAINTAINER= Marc Espie +# GPL/Artistic PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes diff --git a/converters/p5-DateManip/distinfo b/converters/p5-DateManip/distinfo index 3e67b21d9e0..8c2981a4e04 100644 --- a/converters/p5-DateManip/distinfo +++ b/converters/p5-DateManip/distinfo @@ -1,3 +1,3 @@ -MD5 (DateManip-5.40.tar.gz) = 8db456b068eeaaeaa49eadc4c57baed7 -RMD160 (DateManip-5.40.tar.gz) = 1e6c36199b1c1fcec9d3e8d18f889ce885076ad7 -SHA1 (DateManip-5.40.tar.gz) = 7b210187ca070b33bd7efbbd2a88b523355d1f99 +MD5 (DateManip-5.42a.tar.gz) = 648386bbf46d021ae283811f75b07bdf +RMD160 (DateManip-5.42a.tar.gz) = c6456f8b3b828cb368de9657c637f45cac22959c +SHA1 (DateManip-5.42a.tar.gz) = d0033f0164e495769fcda0c9054054ecba98eb25 diff --git a/converters/p5-DateManip/patches/patch-Manip_pm b/converters/p5-DateManip/patches/patch-Manip_pm new file mode 100644 index 00000000000..2662bac574c --- /dev/null +++ b/converters/p5-DateManip/patches/patch-Manip_pm @@ -0,0 +1,12 @@ +$OpenBSD$ +--- Manip.pm.orig 2004-05-01 19:08:05.000000000 +0200 ++++ Manip.pm 2004-05-01 19:09:16.000000000 +0200 +@@ -32,7 +32,7 @@ $OS="VMS" if (defined $^O and + $^O =~ /VMS/i); + + # Determine if we're doing taint checking +-$Date::Manip::NoTaint = eval { local $^W; unlink "$^X$^T"; 1 }; ++$Date::Manip::NoTaint = eval { local $^W; unlink "/tmp/$^X$^T"; 1 }; + + ########################################################################### + # CUSTOMIZATION