mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
b3de49c53e
* 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
24 lines
461 B
Makefile
24 lines
461 B
Makefile
# $FreeBSD$
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
COMMENT= Python bindings for cracklib
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LIB_DEPENDS= libcrack.so:security/cracklib
|
|
|
|
MASTERDIR= ${.CURDIR}/../cracklib
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
BUILD_WRKSRC= ${WRKSRC}/python
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
|
|
PYTHON_SLAVEPORT= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
"{s#__version__ = '[^']*'#__version__ = '${PORTVERSION}'#;}" \
|
|
${BUILD_WRKSRC}/*.py
|
|
|
|
.include "${MASTERDIR}/Makefile"
|