freebsd-ports/security/cracklib/files/patch-util_cracklib-format
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

11 lines
280 B
Text

--- util/cracklib-format.orig 2019-02-14 01:54:41 UTC
+++ util/cracklib-format
@@ -4,7 +4,7 @@
# into cracklib-packer
#
gzip -cdf "$@" |
- grep -v '^\(#\|$\)' |
+ grep -a -v '^\(#\|$\)' |
tr '[A-Z]' '[a-z]' |
tr -cd '\012[a-z][0-9]' |
env LC_ALL=C sort -u