Update to cracklib-2.9.8.

This commit is contained in:
benoit 2022-09-06 19:28:23 +00:00
parent a58731370c
commit 0107289d8a
4 changed files with 9 additions and 32 deletions

View File

@ -1,6 +1,6 @@
COMMENT = sensible unix password cracker
V = 2.9.7
V = 2.9.8
DISTNAME = cracklib-${V}
SHARED_LIBS = crack 0.4 # 11.0
CATEGORIES = security

View File

@ -1,2 +1,2 @@
SHA256 (cracklib-2.9.7.tar.gz) = i2/SAvPx2Po5XTt6XYISJ8/Yu0qaWEp64wz2LOpih90=
SIZE (cracklib-2.9.7.tar.gz) = 675122
SHA256 (cracklib-2.9.8.tar.gz) = Jocz+MXwRaCL8b4pUCJe/rPZceMetUPAAiadGj2YZS0=
SIZE (cracklib-2.9.8.tar.gz) = 679419

View File

@ -1,17 +0,0 @@
From 77082c41f3c6fddbf973b5bf7410efc9080e8585 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sat, 20 Apr 2019 18:43:44 +0200
Subject: [PATCH] util/Makefile.am: fix link with lintl
Index: util/Makefile.in
--- util/Makefile.in.orig
+++ util/Makefile.in
@@ -376,7 +376,7 @@ dist_sbin_SCRIPTS = create-cracklib-dict cracklib-form
LDADD = ../lib/libcrack.la
AM_CPPFLAGS = -I. -I.. -I$(top_srcdir)/lib '-DDEFAULT_CRACKLIB_DICT="$(DEFAULT_CRACKLIB_DICT)"' -Wall
cracklib_check_SOURCES = check.c
-cracklib_check_LDADD = $(LDADD)
+cracklib_check_LDADD = $(LDADD) $(LTLIBINTL)
cracklib_packer_SOURCES = packer.c
cracklib_packer_LDADD = $(LDADD)
cracklib_unpacker_SOURCES = unpacker.c

View File

@ -1,17 +1,11 @@
From a1379d0081e14958b2ada6dcc1fcb7f128e4bd94 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Mon, 11 Mar 2019 19:07:33 +0100
Subject: [PATCH] Force grep to treat the input as text when formatting word files
Index: util/cracklib-format
--- util/cracklib-format.orig
+++ util/cracklib-format
@@ -4,7 +4,7 @@
# into cracklib-packer
--- util/cracklib-format.old Fri Jan 22 16:58:14 2021
+++ util/cracklib-format Tue Sep 6 21:16:55 2022
@@ -11,7 +11,7 @@
# cracklib-packer will generate "skipping line" warnings otherwise.
#
gzip -cdf "$@" |
- grep -v '^\(#\|$\)' |
- grep -a -v '^#' |
+ grep -a -v '^\(#\|$\)' |
tr '[A-Z]' '[a-z]' |
tr -cd '\012[a-z][0-9]' |
env LC_ALL=C sort -u
cut -c 1-1022 |