CrackLib is a library containing a C function (well, lots of functions
really, but you only need to use one of them) which may be used in a
"passwd"-like program.
===> The following configuration options are available for cracklib-2.10.3:
NLS=on: Native Language Support
===> Use 'make config' to modify these settings
security/cracklib: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
security/cracklib failed to build with clang 15:
rules.c:346:50: warning: too few arguments in call to 'Debug'
Debug(1, "MatchClass: unknown class %c\n", class);
~~~~~ ^
rules.c:346:45: error: incompatible integer to pointer conversion passing
'char' to parameter of type 'char *'; take the address with & [-Wint-conversion]
Debug(1, "MatchClass: unknown class %c\n", class);
^~~~~
&
This is because cracklib is very old K&R source, and the Debug()
function is not defined with varargs, but an arbitrary amount of char
pointer arguments.
Since the Debug() function does nothing anyway, define it as a varargs
macro instead. This also gets rid of most of the other compilation
warnings.
PR: 268334
Approved by: cy (maintainer)
MFH: 2022Q4
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
security: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Dupre <ale@FreeBSD.org>
* Alex Kapranoff <kappa@rambler-co.ru>
* Alex Samorukov <samm@freebsd.org>
* Alexander Botero-Lowry <alex@foxybanana.com>
* Alexander Kriventsov <avk@vl.ru>
* Alexander Leidinger <netchild@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
- Update to 2.9.7. This release fixes CVE-2016-6318. Excerpt from NEWS:
* apply patch to fix CVE-2016-6318 Stack-based buffer overflow when
parsing large GECOS field
* fix a buffer overflow processing long words
* historical research and updates to repository tags to correct history,
and suggestions for new release process (Neustradamus)
- Replace a local patch with an upstream patch.
https://github.com/cracklib/cracklib/commit/a1379d0
- Apply a patch from the upstream to fix build.
https://github.com/cracklib/cracklib/commit/77082c4
- OPTIONize NLS and add pkg-plist to appease portlint.
Approved by: cy (maintainer)
MFH: 2019Q4
- Fix tests for py-cracklib
- Specify PYTHONPATH
- Specifying correct dictionary path
- Fix configure for py-cracklib by using USES=localbase
- Switch to new test framework
- Whitespace fix
Approved by: portmgr blanket
Update 2.9.4 --> 2.9.6
Distfile has been moved from sourceforge to github.
Generate dictionary from github hosted word dictionary file instead of
in port.
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
security/cracklib:
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Convert to USES=python
- Use MAKE_CMD
- Create manpage link in post-install instead of using @exec
- Update to 2.9.0
- Update pkg-descr
- Update WWW
- Remove PYTHON OPTION in security/cracklib and made security/py-cracklib a
python slave port
Reviewed by: crees
Approved by: sbz (myself)
- Actually bump PORTREVISION for previous commit (pregenerate pw_dict), this
should help with ruby-password builds on pointyhat
With hat: portmgr
Feature safe: yes
- Pregenerate pw_dict since cracklib stopped distributing one
which dependant ports require at build-time.
- Convert dependant ports to LIB_DEPENDS
- Bump PORTREVISIONs
Reported by: pav via pointyhat
- s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include security/ sysutils/ textproc/ maintained by ports@
PR: ports/101916
Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
Build a shared library. This fixes the build of dependent ports on amd64,
which cannot link non-PIC lib.a code into a lib.so. Also respect CFLAGS
while I'm here, and bump PORTREVISION.
Reviewed by: maintainer
(Oops, forgot to include actual cracklib(3) manpage with update): Add new
cracklib(3) manpage; add FascistCheck(3) function header file (actually called
packer.h) and a MLINK to cracklib(3) manpage. Bump PORTREVISION to 1.
Add new cracklib(3) manpage; add FascistCheck(3) function header file
(actually called packer.h) and a MLINK to cracklib(3) manpage. Bump
PORTREVISION to 1.
Add cracklib 2.7, a library containing a function that can be used in one's
own passwd(8) program to keep users from making guessable passwords by
filtering them out at the source.