Index: head/security/p5-Crypt-AppleTwoFish/Makefile =================================================================== --- head/security/p5-Crypt-AppleTwoFish/Makefile (revision 152444) +++ head/security/p5-Crypt-AppleTwoFish/Makefile (revision 152445) @@ -1,24 +1,28 @@ # New ports collection Makefile for: p5-Crypt-AppleTwoFish # Date created: 18 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-AppleTwoFish PORTVERSION= 0.02 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for Apple iTMS internal key descrambling algorithm PERL_CONFIGURE= yes MAN3= Crypt::AppleTwoFish.3 .include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again + +.if ${PERL_LEVEL} < 500800 +post-patch: + ${PERL} -pi -e '$$_="" if m{5.008|warnings}' ${WRKSRC}/t/*.t \ + ${WRKSRC}/lib/Crypt/AppleTwoFish.pm ${WRKSRC}/${CONFIGURE_SCRIPT} .endif + .include Property changes on: head/security/p5-Crypt-AppleTwoFish/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/p5-Crypt-CFB/Makefile =================================================================== --- head/security/p5-Crypt-CFB/Makefile (revision 152444) +++ head/security/p5-Crypt-CFB/Makefile (revision 152445) @@ -1,24 +1,20 @@ # New ports collection Makefile for: p5-Crypt-CFB # Date created: 18 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-CFB PORTVERSION= 0.01 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for encrypting data in Cipher Feedback Mode PERL_CONFIGURE= yes MAN3= Crypt::CFB.3 -.include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again -.endif -.include +.include Property changes on: head/security/p5-Crypt-CFB/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/p5-Crypt-Caesar/Makefile =================================================================== --- head/security/p5-Crypt-Caesar/Makefile (revision 152444) +++ head/security/p5-Crypt-Caesar/Makefile (revision 152445) @@ -1,24 +1,20 @@ # New ports collection Makefile for: p5-Crypt-Caesar # Date created: 18 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-Caesar PORTVERSION= 0.01 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for decrypting rot-N strings PERL_CONFIGURE= yes MAN3= Crypt::Caesar.3 -.include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again -.endif -.include +.include Property changes on: head/security/p5-Crypt-Caesar/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/p5-Crypt-Chimera/Makefile =================================================================== --- head/security/p5-Crypt-Chimera/Makefile (revision 152444) +++ head/security/p5-Crypt-Chimera/Makefile (revision 152445) @@ -1,24 +1,20 @@ # New ports collection Makefile for: p5-Crypt-Chimera # Date created: 20 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-Chimera PORTVERSION= 1.01 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for Chimera key exchange protocol PERL_CONFIGURE= yes MAN3= Crypt::Chimera.3 -.include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again -.endif -.include +.include Property changes on: head/security/p5-Crypt-Chimera/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/p5-Crypt-DES_PP/Makefile =================================================================== --- head/security/p5-Crypt-DES_PP/Makefile (revision 152444) +++ head/security/p5-Crypt-DES_PP/Makefile (revision 152445) @@ -1,24 +1,20 @@ # New ports collection Makefile for: p5-Crypt-DES_PP # Date created: 20 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-DES_PP PORTVERSION= 1.00 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for DES encryption in pure Perl PERL_CONFIGURE= yes MAN3= Crypt::DES_PP.3 -.include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again -.endif -.include +.include Property changes on: head/security/p5-Crypt-DES_PP/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/p5-Crypt-Enigma/Makefile =================================================================== --- head/security/p5-Crypt-Enigma/Makefile (revision 152444) +++ head/security/p5-Crypt-Enigma/Makefile (revision 152445) @@ -1,24 +1,20 @@ # New ports collection Makefile for: p5-Crypt-Enigma # Date created: 20 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-Enigma PORTVERSION= 1.3 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for the Enigma cipher PERL_CONFIGURE= yes MAN3= Crypt::Enigma.3 -.include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again -.endif -.include +.include Property changes on: head/security/p5-Crypt-Enigma/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/p5-Crypt-GOST_PP/Makefile =================================================================== --- head/security/p5-Crypt-GOST_PP/Makefile (revision 152444) +++ head/security/p5-Crypt-GOST_PP/Makefile (revision 152445) @@ -1,24 +1,20 @@ # New ports collection Makefile for: p5-Crypt-GOST_PP # Date created: 20 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-GOST_PP PORTVERSION= 1.10 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for GOST Encryption Algorithm in pure Perl PERL_CONFIGURE= yes MAN3= Crypt::GOST_PP.3 -.include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again -.endif -.include +.include Property changes on: head/security/p5-Crypt-GOST_PP/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/p5-Crypt-HCE_MD5/Makefile =================================================================== --- head/security/p5-Crypt-HCE_MD5/Makefile (revision 152444) +++ head/security/p5-Crypt-HCE_MD5/Makefile (revision 152445) @@ -1,24 +1,20 @@ # New ports collection Makefile for: p5-Crypt-HCE_MD5 # Date created: 17 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-HCE_MD5 PORTVERSION= 0.70 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension implementing one way hash chaining encryption using MD5 PERL_CONFIGURE= yes MAN3= Crypt::HCE_MD5.3 -.include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again -.endif -.include +.include Property changes on: head/security/p5-Crypt-HCE_MD5/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/p5-Crypt-Khazad/Makefile =================================================================== --- head/security/p5-Crypt-Khazad/Makefile (revision 152444) +++ head/security/p5-Crypt-Khazad/Makefile (revision 152445) @@ -1,24 +1,33 @@ # New ports collection Makefile for: p5-Crypt-Khazad # Date created: 20 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-Khazad PORTVERSION= 1.0.3 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for Khazad block cipher PERL_CONFIGURE= yes MAN3= Crypt::Khazad.3 .include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader +RUN_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader +EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-Khazad.xs + +post-patch: + ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/Khazad.pm + ${PERL} -pi -e '$$_="" if m{warnings}' ${WRKSRC}/Khazad.pm ${WRKSRC}/t/*.t + ${PERL} -pi -e 's/void/int argc, char**argv, char**env/ if m{int main}' ${WRKSRC}/_khazad.c .endif + .include Property changes on: head/security/p5-Crypt-Khazad/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/p5-Crypt-Khazad/files/extrapatch-Khazad.xs =================================================================== --- head/security/p5-Crypt-Khazad/files/extrapatch-Khazad.xs (nonexistent) +++ head/security/p5-Crypt-Khazad/files/extrapatch-Khazad.xs (revision 152445) @@ -0,0 +1,18 @@ +--- Khazad.xs.orig Sat Dec 31 02:51:21 2005 ++++ Khazad.xs Sat Dec 31 02:51:56 2005 +@@ -4,6 +4,15 @@ + #include "ppport.h" + #include "_khazad.c" + ++/* try to be compatible with older perls */ ++/* SvPV_nolen() macro first defined in 5.005_55 */ ++/* this is slow, not threadsafe, but works */ ++#include "patchlevel.h" ++#if (PATCHLEVEL == 4) || ((PATCHLEVEL == 5) && (SUBVERSION < 55)) ++static STRLEN nolen_na; ++# define SvPV_nolen(sv) SvPV ((sv), nolen_na) ++#endif ++ + typedef struct khazad { + NESSIEstruct key; + }* Crypt__Khazad; Property changes on: head/security/p5-Crypt-Khazad/files/extrapatch-Khazad.xs ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/security/p5-Crypt-Loki97/Makefile =================================================================== --- head/security/p5-Crypt-Loki97/Makefile (revision 152444) +++ head/security/p5-Crypt-Loki97/Makefile (revision 152445) @@ -1,24 +1,33 @@ # New ports collection Makefile for: p5-Crypt-Loki97 # Date created: 20 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-Loki97 PORTVERSION= 1.0.1 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for Loki97 block cipher PERL_CONFIGURE= yes MAN3= Crypt::Loki97.3 .include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader +RUN_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader +EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-Loki97.xs + +post-patch: + ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/Loki97.pm + ${PERL} -pi -e 's/void/int argc, char**argv, char**env/ if m{int main}' ${WRKSRC}/_loki97.c + ${PERL} -pi -e '$$_="" if m{warnings}' ${WRKSRC}/Loki97.pm ${WRKSRC}/t/*.t .endif + .include Property changes on: head/security/p5-Crypt-Loki97/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/p5-Crypt-Loki97/files/extrapatch-Loki97.xs =================================================================== --- head/security/p5-Crypt-Loki97/files/extrapatch-Loki97.xs (nonexistent) +++ head/security/p5-Crypt-Loki97/files/extrapatch-Loki97.xs (revision 152445) @@ -0,0 +1,18 @@ +--- Loki97.xs.orig Sat Dec 31 03:04:38 2005 ++++ Loki97.xs Sat Dec 31 03:05:06 2005 +@@ -4,6 +4,15 @@ + #include "ppport.h" + #include "_loki97.c" + ++/* try to be compatible with older perls */ ++/* SvPV_nolen() macro first defined in 5.005_55 */ ++/* this is slow, not threadsafe, but works */ ++#include "patchlevel.h" ++#if (PATCHLEVEL == 4) || ((PATCHLEVEL == 5) && (SUBVERSION < 55)) ++static STRLEN nolen_na; ++# define SvPV_nolen(sv) SvPV ((sv), nolen_na) ++#endif ++ + typedef struct loki97 { + keyInstance enc_key, dec_key; + cipherInstance cipher; Property changes on: head/security/p5-Crypt-Loki97/files/extrapatch-Loki97.xs ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/security/p5-Crypt-MySQL/Makefile =================================================================== --- head/security/p5-Crypt-MySQL/Makefile (revision 152444) +++ head/security/p5-Crypt-MySQL/Makefile (revision 152445) @@ -1,24 +1,20 @@ # New ports collection Makefile for: p5-Crypt-MySQL # Date created: 17 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-MySQL PORTVERSION= 0.02 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension to compare MySQL passwords without libmysqlclient PERL_CONFIGURE= yes MAN3= Crypt::MySQL.3 -.include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again -.endif -.include +.include Property changes on: head/security/p5-Crypt-MySQL/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/p5-Crypt-Rabbit/Makefile =================================================================== --- head/security/p5-Crypt-Rabbit/Makefile (revision 152444) +++ head/security/p5-Crypt-Rabbit/Makefile (revision 152445) @@ -1,24 +1,32 @@ # New ports collection Makefile for: p5-Crypt-Rabbit # Date created: 18 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-Rabbit PORTVERSION= 1.0.0 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for Rabbit stream cipher PERL_CONFIGURE= yes MAN3= Crypt::Rabbit.3 .include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader +RUN_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader +EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-Rabbit.xs + +post-patch: + ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/Rabbit.pm + ${PERL} -pi -e '$$_="" if m{warnings}' ${WRKSRC}/Rabbit.pm ${WRKSRC}/t/*.t .endif + .include Property changes on: head/security/p5-Crypt-Rabbit/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/p5-Crypt-Rabbit/files/extrapatch-Rabbit.xs =================================================================== --- head/security/p5-Crypt-Rabbit/files/extrapatch-Rabbit.xs (nonexistent) +++ head/security/p5-Crypt-Rabbit/files/extrapatch-Rabbit.xs (revision 152445) @@ -0,0 +1,18 @@ +--- Rabbit.xs.orig Sat Dec 31 03:49:51 2005 ++++ Rabbit.xs Sat Dec 31 03:50:13 2005 +@@ -4,6 +4,15 @@ + #include "ppport.h" + #include "_rabbit.c" + ++/* try to be compatible with older perls */ ++/* SvPV_nolen() macro first defined in 5.005_55 */ ++/* this is slow, not threadsafe, but works */ ++#include "patchlevel.h" ++#if (PATCHLEVEL == 4) || ((PATCHLEVEL == 5) && (SUBVERSION < 55)) ++static STRLEN nolen_na; ++# define SvPV_nolen(sv) SvPV ((sv), nolen_na) ++#endif ++ + typedef struct rabbit { + t_instance state; + }* Crypt__Rabbit; Property changes on: head/security/p5-Crypt-Rabbit/files/extrapatch-Rabbit.xs ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/security/p5-Crypt-Shark/Makefile =================================================================== --- head/security/p5-Crypt-Shark/Makefile (revision 152444) +++ head/security/p5-Crypt-Shark/Makefile (revision 152445) @@ -1,24 +1,33 @@ # New ports collection Makefile for: p5-Crypt-Shark # Date created: 20 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-Shark PORTVERSION= 1.0.1 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for Shark block cipher PERL_CONFIGURE= yes MAN3= Crypt::Shark.3 .include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader +RUN_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader +EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-Shark.xs + +post-patch: + ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/Shark.pm + ${PERL} -pi -e 's/void/int argc, char**argv, char**env/ if m{int main}' ${WRKSRC}/_shark.c + ${PERL} -pi -e '$$_="" if m{warnings}' ${WRKSRC}/Shark.pm ${WRKSRC}/t/*.t .endif + .include Property changes on: head/security/p5-Crypt-Shark/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/p5-Crypt-Shark/files/extrapatch-Shark.xs =================================================================== --- head/security/p5-Crypt-Shark/files/extrapatch-Shark.xs (nonexistent) +++ head/security/p5-Crypt-Shark/files/extrapatch-Shark.xs (revision 152445) @@ -0,0 +1,18 @@ +--- Shark.xs.orig Sat Dec 31 04:10:06 2005 ++++ Shark.xs Sat Dec 31 04:10:37 2005 +@@ -4,6 +4,15 @@ + #include "ppport.h" + #include "_shark.c" + ++/* try to be compatible with older perls */ ++/* SvPV_nolen() macro first defined in 5.005_55 */ ++/* this is slow, not threadsafe, but works */ ++#include "patchlevel.h" ++#if (PATCHLEVEL == 4) || ((PATCHLEVEL == 5) && (SUBVERSION < 55)) ++static STRLEN nolen_na; ++# define SvPV_nolen(sv) SvPV ((sv), nolen_na) ++#endif ++ + typedef struct shark { + ddword roundkey_enc[14]; + ddword roundkey_dec[14]; Property changes on: head/security/p5-Crypt-Shark/files/extrapatch-Shark.xs ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/security/p5-Crypt-X509/Makefile =================================================================== --- head/security/p5-Crypt-X509/Makefile (revision 152444) +++ head/security/p5-Crypt-X509/Makefile (revision 152445) @@ -1,28 +1,32 @@ # New ports collection Makefile for: p5-Crypt-X509 # Date created: 18 Dec 2006 # Whom: Gabor Kovesdan # $FreeBSD$ PORTNAME= Crypt-X509 PORTVERSION= 0.21 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension to parse X.509 certificates BUILD_DEPENDS= ${SITE_PERL}/Convert/ASN1.pm:${PORTSDIR}/converters/p5-Convert-ASN1 PERL_CONFIGURE= yes MAN3= Crypt::X509.3 WRKSRC= ${WRKDIR}/Crypt-X509 .include -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again + +.if ${PERL_LEVEL} < 500600 +post-patch: + ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/lib/Crypt/X509.pm + ${PERL} -pi -e '$$_="" if m{warnings}' ${WRKSRC}/lib/Crypt/X509.pm .endif + .include Property changes on: head/security/p5-Crypt-X509/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property