In this email, I have attached a diff to update security/passwdqc from version 2.0.2 to version 2.0.3 [1].

Tested on amd64 and it builds and runs fine.

References:
[1]: https://www.openwall.com/lists/announce/2023/06/25/1
Index: ports/security/passwdqc/Makefile
===================================================================
RCS file: /cvs/ports/security/passwdqc/Makefile,v
diff -u -p -u -r1.25 Makefile
--- ports/security/passwdqc/Makefile	27 Sep 2023 16:34:35 -0000	1.25
+++ ports/security/passwdqc/Makefile	24 Mar 2025 21:51:05 -0000
@@ -1,6 +1,6 @@
 COMMENT=	complexity checker for passwd(1) and password generator
 
-DISTNAME=	passwdqc-2.0.2
+DISTNAME=	passwdqc-2.0.3
 CATEGORIES=	security sysutils
 
 SHARED_LIBS=	passwdqc 0.1 # .0
@@ -17,6 +17,8 @@ FIX_EXTRACT_PERMISSIONS= Yes
 
 NO_TEST=	Yes
 
+USE_GMAKE=	Yes
+
 ALL_TARGET=	utils
 INSTALL_TARGET=	install_lib install_utils
 
@@ -28,10 +30,12 @@ MAKE_FLAGS=	CC="${CC}" \
 		INCLUDEDIR=${PREFIX}/include \
 		MANDIR=${PREFIX}/man \
 		CONFDIR=${PREFIX}/share/examples/passwdqc \
+		PKGCONFIGDIR=${PREFIX}/share/examples/passwdqc \
 		SHARED_LIB=libpasswdqc.so.${LIBpasswdqc_VERSION}
 
 pre-configure:
 	${SUBST_CMD} ${WRKSRC}/pwqcheck.1
+	mv ${WRKSRC}/passwdqc.pc.in ${WRKSRC}/passwdqc.pc
 
 post-install:
 	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/passwdqc
Index: ports/security/passwdqc/distinfo
===================================================================
RCS file: /cvs/ports/security/passwdqc/distinfo,v
diff -u -p -u -r1.10 distinfo
--- ports/security/passwdqc/distinfo	5 Apr 2021 13:26:31 -0000	1.10
+++ ports/security/passwdqc/distinfo	24 Mar 2025 21:51:15 -0000
@@ -1,2 +1,2 @@
-SHA256 (passwdqc-2.0.2.tar.gz) = /x9QV2TAIPakSEseDMT9vy4/cbUikm2QtHCRBMoGBKs=
-SIZE (passwdqc-2.0.2.tar.gz) = 88796
+SHA256 (passwdqc-2.0.3.tar.gz) = U7D0vEk2nwYZXp4Tq7bP81LVrLeehhAE7JWXOJZIjPQ=
+SIZE (passwdqc-2.0.3.tar.gz) = 89608
Index: ports/security/passwdqc/pkg/PLIST
===================================================================
RCS file: /cvs/ports/security/passwdqc/pkg/PLIST,v
diff -u -p -u -r1.6 PLIST
--- ports/security/passwdqc/pkg/PLIST	11 Mar 2022 19:53:49 -0000	1.6
+++ ports/security/passwdqc/pkg/PLIST	24 Mar 2025 21:51:23 -0000
@@ -20,4 +20,5 @@ share/doc/passwdqc/README
 share/examples/passwdqc/
 share/examples/passwdqc/passwdqc.conf
 @sample ${SYSCONFDIR}/passwdqc.conf
+share/examples/passwdqc/passwdqc.pc
 share/examples/passwdqc/pwqcheck.php
Index: ports/security/passwdqc/patches/patch-passwdqc_conf_5
===================================================================
RCS file: /cvs/ports/security/passwdqc/patches/patch-passwdqc_conf_5,v
diff -u -p -u -r1.6 patch-passwdqc_conf_5
--- ports/security/passwdqc/patches/patch-passwdqc_conf_5	11 Mar 2022 19:53:48 -0000	1.6
+++ ports/security/passwdqc/patches/patch-passwdqc_conf_5	24 Mar 2025 21:51:48 -0000
@@ -1,7 +1,7 @@
 Index: passwdqc.conf.5
 --- passwdqc.conf.5.orig
 +++ passwdqc.conf.5
-@@ -286,8 +286,7 @@ logging.
+@@ -294,8 +294,7 @@ logging.
  option).
  .Sh SEE ALSO
  .Xr getpwnam 3 ,
Index: ports/security/passwdqc/patches/patch-Makefile
===================================================================
RCS file: ports/security/passwdqc/patches/patch-Makefile
diff -N ports/security/passwdqc/patches/patch-Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ports/security/passwdqc/patches/patch-Makefile	24 Mar 2025 21:51:56 -0000
@@ -0,0 +1,7 @@
+Index: Makefile
+--- Makefile.orig
++++ Makefile
+@@ -205,2 +205,2 @@
+-$(PKGCONFIG): $(PKGCONFIG).in
++$(PKGCONFIG):
+ 	sed -e "s|@VERSION@|$(VERSION)|g" $< > $@

Reply via email to