mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
Add p5-Crypt-Cracklib 0.01, a perl interface to Alec Muffet's cracklib
library. Requested by: Andrew J. Korty <ajk@iu.edu>
This commit is contained in:
parent
78480f6a7e
commit
672b8c0ca0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37615
@ -78,6 +78,7 @@
|
||||
SUBDIR += p5-Crypt-Blowfish
|
||||
SUBDIR += p5-Crypt-CBC
|
||||
SUBDIR += p5-Crypt-CipherSaber
|
||||
SUBDIR += p5-Crypt-Cracklib
|
||||
SUBDIR += p5-Crypt-DES
|
||||
SUBDIR += p5-Crypt-ECB
|
||||
SUBDIR += p5-Crypt-IDEA
|
||||
|
32
security/p5-Crypt-Cracklib/Makefile
Normal file
32
security/p5-Crypt-Cracklib/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# New ports collection makefile for: Crypt-Cracklib
|
||||
# Date created: Fri Jan 26 20:26:11 2001
|
||||
# Whom: will
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Crypt-Cracklib
|
||||
PORTVERSION= 0.01
|
||||
CATEGORIES= security perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Crypt
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
|
||||
USE_PERL5= yes
|
||||
PERL_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=INC="-I${LOCALBASE}/include"
|
||||
|
||||
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
MAN3= Crypt::Cracklib.3
|
||||
|
||||
post-patch:
|
||||
${PERL} -pi -e "s@INCLUDE@${LOCALBASE}/include@g;\
|
||||
s@FBSDLIB@${LOCALBASE}/lib@g" ${WRKSRC}/Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
1
security/p5-Crypt-Cracklib/distinfo
Normal file
1
security/p5-Crypt-Cracklib/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Crypt-Cracklib-0.01.tar.gz) = a24234aeb3eb9eac71c344f9ca736b7b
|
48
security/p5-Crypt-Cracklib/files/patch-Makefile.PL
Normal file
48
security/p5-Crypt-Cracklib/files/patch-Makefile.PL
Normal file
@ -0,0 +1,48 @@
|
||||
--- Makefile.PL Fri Nov 27 19:50:29 1998
|
||||
+++ Makefile.PL.new Fri Jan 26 21:36:22 2001
|
||||
@@ -4,6 +4,7 @@
|
||||
use ExtUtils::MakeMaker;
|
||||
use Config qw(%Config);
|
||||
|
||||
+if (0 ne 0) {
|
||||
sub MY::libscan {
|
||||
my ($self,$path) = @_;
|
||||
|
||||
@@ -16,8 +17,10 @@
|
||||
}
|
||||
|
||||
print "\nEnter the directory where crack.h/packer.h is located\n";
|
||||
+}
|
||||
my $include = '/usr/local/include';
|
||||
my $incfile = '-Dpacker=1';
|
||||
+if (0 ne 0) {
|
||||
print "[$include] ";
|
||||
|
||||
while(<>) {
|
||||
@@ -38,7 +41,9 @@
|
||||
}
|
||||
|
||||
print "\nEnter the directory where libcrack.(so|a) is located\n";
|
||||
+}
|
||||
my $lib = '/usr/local/lib';
|
||||
+if (0 ne 0) {
|
||||
print "[$lib] ";
|
||||
|
||||
while(<>) {
|
||||
@@ -50,13 +55,14 @@
|
||||
last if -f "$lib/libcrack.so" or -f "$lib/libcrack.a";
|
||||
}
|
||||
}
|
||||
+}
|
||||
|
||||
WriteMakefile(
|
||||
'NAME' => 'Crypt::Cracklib',
|
||||
'VERSION_FROM' => 'Cracklib.pm',
|
||||
- 'LIBS' => ["-L$lib -lcrack"],
|
||||
+ 'LIBS' => ["-LFBSDLIB -lcrack"],
|
||||
'DEFINE' => $incfile,
|
||||
- 'INC' => "-I$include",
|
||||
+ 'INC' => "-IINCLUDE",
|
||||
'dist' => { COMPRESS => 'gzip -9f',
|
||||
SUFFIX => 'gz',
|
||||
DIST_DEFAULT => 'tardist',
|
1
security/p5-Crypt-Cracklib/pkg-comment
Normal file
1
security/p5-Crypt-Cracklib/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Perl interface to Alec Muffet's cracklib library
|
3
security/p5-Crypt-Cracklib/pkg-descr
Normal file
3
security/p5-Crypt-Cracklib/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Crypt::Cracklib is a perl interface to Alec Muffet's cracklib library.
|
||||
|
||||
--will
|
5
security/p5-Crypt-Cracklib/pkg-plist
Normal file
5
security/p5-Crypt-Cracklib/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/Cracklib.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Cracklib/.packlist
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Cracklib/Cracklib.bs
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Cracklib/Cracklib.so
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Cracklib
|
Loading…
Reference in New Issue
Block a user