1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00
Jung-uk Kim b3de49c53e - 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
2019-12-09 19:12:15 +00:00

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"