diff options
author | rh <rh> | 2000-10-21 11:17:05 +0000 |
---|---|---|
committer | rh <rh> | 2000-10-21 11:17:05 +0000 |
commit | 09894571e9f65ff8b6ce0eb69889622b27201f2d (patch) | |
tree | 01cb5eb93e5e6b259ed5897c4d159c5cd7b01e30 /security | |
parent | c4e588fab3fe6a0fcfc0ce1a514232c1af01c592 (diff) | |
download | pkgsrc-09894571e9f65ff8b6ce0eb69889622b27201f2d.tar.gz |
Install missing 'crack.h' header file
Diffstat (limited to 'security')
-rw-r--r-- | security/libcrack/Makefile | 3 | ||||
-rw-r--r-- | security/libcrack/files/crack.h | 13 | ||||
-rw-r--r-- | security/libcrack/pkg/PLIST | 3 |
3 files changed, 17 insertions, 2 deletions
diff --git a/security/libcrack/Makefile b/security/libcrack/Makefile index dbe26badd81..f894f5bd424 100644 --- a/security/libcrack/Makefile +++ b/security/libcrack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/10/21 09:26:21 rh Exp $ +# $NetBSD: Makefile,v 1.2 2000/10/21 11:17:05 rh Exp $ # DISTNAME= cracklib,2.7 @@ -14,6 +14,7 @@ USE_LIBTOOL= YES post-install: ${INSTALL_DATA_DIR} ${PREFIX}/include/cracklib + ${INSTALL_DATA} ${FILESDIR}/crack.h ${PREFIX}/include/cracklib cd ${WRKSRC}/cracklib && \ ${LIBTOOL} --mode=install ${INSTALL_DATA} libcrack.la ${PREFIX}/lib && \ ${INSTALL_DATA} packer.h ${PREFIX}/include/cracklib diff --git a/security/libcrack/files/crack.h b/security/libcrack/files/crack.h new file mode 100644 index 00000000000..8cc74233a68 --- /dev/null +++ b/security/libcrack/files/crack.h @@ -0,0 +1,13 @@ +#ifndef CRACKLIB_H +#define CRACKLIB_H + +/* Pass this function a password (pw) and a path to the dictionaries, + * and it will either return a NULL string, meaning that the password + * is good, or a pointer to a string that explains the problem with + * the password. + * You must link with -lcrack + */ + +extern char *FascistCheck (const char *pw, const char *dictpath); + +#endif diff --git a/security/libcrack/pkg/PLIST b/security/libcrack/pkg/PLIST index 1efea05f603..bedee5db870 100644 --- a/security/libcrack/pkg/PLIST +++ b/security/libcrack/pkg/PLIST @@ -1,10 +1,11 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/21 09:26:21 rh Exp $ +@comment $NetBSD: PLIST,v 1.2 2000/10/21 11:17:08 rh Exp $ bin/libcrack_mkdict bin/libcrack_packer bin/libcrack_testlib bin/libcrack_testnum bin/libcrack_teststr bin/libcrack_unpacker +include/cracklib/crack.h include/cracklib/packer.h lib/libcrack.a lib/libcrack.la |