diff options
-rw-r--r-- | UPDATING | 13 | ||||
-rw-r--r-- | misc/Makefile | 2 | ||||
-rw-r--r-- | misc/ossp-uuid-perl/Makefile | 10 | ||||
-rw-r--r-- | misc/ossp-uuid/Makefile | 25 | ||||
-rw-r--r-- | misc/ossp-uuid/pkg-plist | 9 | ||||
-rw-r--r-- | misc/p5-OSSP-uuid/Makefile | 22 | ||||
-rw-r--r-- | misc/p5-OSSP-uuid/files/patch-perl__Makefile.PL | 26 | ||||
-rw-r--r-- | misc/p5-OSSP-uuid/pkg-descr | 7 | ||||
-rw-r--r-- | misc/p5-OSSP-uuid/pkg-plist | 9 |
9 files changed, 82 insertions, 41 deletions
@@ -5,6 +5,19 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20140317: + AFFECTS: users of misc/ossp-uuid-perl + AUTHOR: culot@FreeBSD.org + + misc/ossp-uuid-perl was replaced by misc/p5-OSSP-uuid. Please do the + following according to package manager used. + + # portmaster -o misc/p5-OSSP-uuid misc/ossp-uuid-perl + or + # portupgrade -fo misc/p5-OSSP-uuid misc/ossp-uuid-perl + or + # pkg set -o misc/p5-OSSP-uuid:misc/ossp-uuid-perl + 20140312: AFFECTS: users of net/openistgt AUTHOR: jpaetzel@FreeBSD.org diff --git a/misc/Makefile b/misc/Makefile index e3affccdc063..169906bcfef0 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -287,7 +287,6 @@ SUBDIR += openr2 SUBDIR += orville-write SUBDIR += ossp-uuid - SUBDIR += ossp-uuid-perl SUBDIR += otter SUBDIR += p5-Acme-ButFirst SUBDIR += p5-Array-Compare @@ -344,6 +343,7 @@ SUBDIR += p5-Locale-US SUBDIR += p5-Net-vCard SUBDIR += p5-Norge + SUBDIR += p5-OSSP-uuid SUBDIR += p5-Software-License SUBDIR += p5-Test-Dir SUBDIR += p5-Text-FIGlet diff --git a/misc/ossp-uuid-perl/Makefile b/misc/ossp-uuid-perl/Makefile deleted file mode 100644 index bdfe73d6d755..000000000000 --- a/misc/ossp-uuid-perl/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# Created by: Frederic Culot <culot@FreeBSD.org> -# $FreeBSD$ - -COMMENT= ossp-uuid with Perl bindings - -MASTERDIR= ${.CURDIR}/../ossp-uuid - -WITH_PERL= yes - -.include "${MASTERDIR}/Makefile" diff --git a/misc/ossp-uuid/Makefile b/misc/ossp-uuid/Makefile index 04fd1990201c..aebb16d25047 100644 --- a/misc/ossp-uuid/Makefile +++ b/misc/ossp-uuid/Makefile @@ -3,14 +3,14 @@ PORTNAME= uuid PORTVERSION= 1.6.2 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= misc devel MASTER_SITES= ${MASTER_SITE_OSSP} MASTER_SITE_SUBDIR= lib/${PORTNAME} PKGNAMEPREFIX= ossp- MAINTAINER= vd@FreeBSD.org -COMMENT= ISO-C & Perl API and CLI for generating Universally Unique Identifiers +COMMENT= ISO-C API and CLI for generating Universally Unique Identifiers #CONFLICTS= e2fsprogs-libuuid-[0-9]* @@ -19,21 +19,8 @@ USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-shared --enable-static --with-cxx \ --includedir=${PREFIX}/include/ossp -.if defined(WITH_PERL) -PKGNAMESUFFIX= -perl -CONFLICTS= ossp-uuid-[0-9]* -MAKE_JOBS_UNSAFE= yes -USES+= perl5 -CONFIGURE_ENV+= PERL=${PERL5} -CONFIGURE_ARGS+=--with-perl -# Without WITH_PERL=yes in uuid's make args it could pick WITH_PERL=1 if -# somebody has run "make WITH_PERL=1" in the port's directory, then its check -# whether WITH_PERL is set to "yes" would fail. -MAKE_ARGS+= WITH_PERL=yes -PLIST_SUB+= WITH_PERL='' -.else -CONFLICTS= ossp-uuid-perl-[0-9]* -PLIST_SUB+= WITH_PERL='@comment ' +.if defined(SLAVEPORT) && ${SLAVEPORT}=="perl" +PKGNAMEPREFIX= p5-OSSP- .endif .include <bsd.port.pre.mk> @@ -42,10 +29,6 @@ PLIST_SUB+= WITH_PERL='@comment ' CFLAGS+= -fPIC -DPIC .endif -post-patch: - ${REINPLACE_CMD} -e 's/\(libuuid\\*\.\)la/\1a/g' \ - ${WRKSRC}/perl/Makefile.PL - regression-test: test test: build diff --git a/misc/ossp-uuid/pkg-plist b/misc/ossp-uuid/pkg-plist index 5353f5cd40b6..46dca7ac304a 100644 --- a/misc/ossp-uuid/pkg-plist +++ b/misc/ossp-uuid/pkg-plist @@ -6,15 +6,6 @@ lib/libuuid.a lib/libuuid++.a lib/libuuid++.la libdata/pkgconfig/uuid.pc -%%WITH_PERL%%%%PERL5_MAN3%%/OSSP::uuid.3.gz -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/OSSP/uuid.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/OSSP/uuid.pod -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/OSSP/uuid/.packlist -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/OSSP/uuid/uuid.bs -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/OSSP/uuid/uuid.so -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/OSSP/uuid -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/OSSP -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/OSSP man/man1/uuid-config.1.gz man/man1/uuid.1.gz man/man3/uuid++.3.gz diff --git a/misc/p5-OSSP-uuid/Makefile b/misc/p5-OSSP-uuid/Makefile new file mode 100644 index 000000000000..b2b368fbc14d --- /dev/null +++ b/misc/p5-OSSP-uuid/Makefile @@ -0,0 +1,22 @@ +# Created by: Frederic Culot <culot@FreeBSD.org> +# $FreeBSD$ + +COMMENT= Perl bindings for ossp-uuid + +BUILD_DEPENDS= ${LOCALBASE}/lib/libuuid.a:${PORTSDIR}/misc/ossp-uuid + +SLAVEPORT= perl +USES= perl5 +USE_PERL5= configure + +MASTERDIR= ${.CURDIR}/../../misc/ossp-uuid +WRKSRC= ${WRKDIR}/${DISTNAME}/perl +PLIST= ${.CURDIR}/pkg-plist +DESCR= ${.CURDIR}/pkg-descr +PATCHDIR= ${.CURDIR}/files + +post-patch: + @${REINPLACE_CMD} -e \ + 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile.PL + +.include "${MASTERDIR}/Makefile" diff --git a/misc/p5-OSSP-uuid/files/patch-perl__Makefile.PL b/misc/p5-OSSP-uuid/files/patch-perl__Makefile.PL new file mode 100644 index 000000000000..7912be67b1b3 --- /dev/null +++ b/misc/p5-OSSP-uuid/files/patch-perl__Makefile.PL @@ -0,0 +1,26 @@ +--- Makefile.PL.orig 2014-03-11 16:59:58.443768044 +0100 ++++ Makefile.PL 2014-03-11 17:00:36.554952157 +0100 +@@ -32,11 +32,6 @@ + use Config; + use ExtUtils::MakeMaker; + +-# determine source directory +-my ($srcdir) = map { my $d = $_; $d =~ s/\/libuuid\.la$//; $d } +- grep { -f $_ } ("../libuuid.la", glob("../*/libuuid.la")) +- or die "no source directory found (where libuuid.la is located)"; +- + # determine extra build options + my $compat = 0; + @ARGV = grep { $_ =~ m/^COMPAT=(\d+)$/i ? ($compat = $1, 0) : 1 } @ARGV; +@@ -47,9 +42,9 @@ + VERSION_FROM => 'uuid.pm', + ABSTRACT_FROM => 'uuid.pod', + PREREQ_PM => {}, +- LIBS => [ "-L$srcdir/.libs -L$srcdir -luuid" ], ++ LIBS => [ "-L%%LOCALBASE%%/lib -luuid" ], + DEFINE => '', +- INC => "-I. -I$srcdir", ++ INC => "-I. -I%%LOCALBASE%%/include/ossp", + PM => { 'uuid.pm' => '$(INST_LIBDIR)/uuid.pm', + 'uuid.pod' => '$(INST_LIBDIR)/uuid.pod', + ($compat ? ('uuid_compat.pm' => '$(INST_LIBDIR)/../Data/UUID.pm') : ()), diff --git a/misc/p5-OSSP-uuid/pkg-descr b/misc/p5-OSSP-uuid/pkg-descr new file mode 100644 index 000000000000..a3fa908b3395 --- /dev/null +++ b/misc/p5-OSSP-uuid/pkg-descr @@ -0,0 +1,7 @@ +OSSP::uuid is the Perl API to the ossp-uuid library which is used to +generate DCE 1.1 and ISO/IEC 11578:1996 compliant Universally Unique +Identifiers (UUID). It supports DCE 1.1 variant UUIDs of version 1 +(time and node based), version 3 (name based, MD5), version 4 +(random number based) and version 5 (name based, SHA-1). + +WWW: http://www.ossp.org/pkg/lib/uuid/ diff --git a/misc/p5-OSSP-uuid/pkg-plist b/misc/p5-OSSP-uuid/pkg-plist new file mode 100644 index 000000000000..be543f49c752 --- /dev/null +++ b/misc/p5-OSSP-uuid/pkg-plist @@ -0,0 +1,9 @@ +%%PERL5_MAN3%%/OSSP::uuid.3.gz +%%SITE_PERL%%/%%PERL_ARCH%%/OSSP/uuid.pm +%%SITE_PERL%%/%%PERL_ARCH%%/OSSP/uuid.pod +%%SITE_PERL%%/%%PERL_ARCH%%/auto/OSSP/uuid/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/OSSP/uuid/uuid.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/OSSP/uuid/uuid.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/OSSP/uuid +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/OSSP +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/OSSP |