View | Details | Raw Unified | Return to bug 266970
Collapse All | Expand All

(-)b/net/nss-pam-ldapd/Makefile (+5 lines)
Lines 1-9 Link Here
1
PORTNAME=		nss-pam-ldapd
1
PORTNAME=		nss-pam-ldapd
2
PORTVERSION=		0.9.12
2
PORTVERSION=		0.9.12
3
PORTREVISION=		1
3
CATEGORIES=		net
4
CATEGORIES=		net
4
MASTER_SITES=		http://arthurdejong.org/nss-pam-ldapd/ \
5
MASTER_SITES=		http://arthurdejong.org/nss-pam-ldapd/ \
5
			ZI
6
			ZI
6
7
8
PATCH_SITES=	https://github.com/arthurdejong/nss-pam-ldapd/commit/
9
PATCHFILES+=	2f6e65ab384917a9b2ee4b25a172acc107a640b3.diff:-p1
10
PATCHFILES+=	1c9b021e78dc67b9cdca5f9ad10cbde08418ee28.diff:-p1
11
7
MAINTAINER?=		zi@FreeBSD.org
12
MAINTAINER?=		zi@FreeBSD.org
8
COMMENT?=		Advanced fork of nss_ldap
13
COMMENT?=		Advanced fork of nss_ldap
9
WWW=		https://arthurdejong.org/nss-pam-ldapd/
14
WWW=		https://arthurdejong.org/nss-pam-ldapd/
(-)b/net/nss-pam-ldapd/distinfo (-1 / +5 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1649433966
1
TIMESTAMP = 1665441122
2
SHA256 (nss-pam-ldapd-0.9.12.tar.gz) = c6d661e74693cbf531a790631ca93b73f291fb23cc39465b09deb8da2bfb0e14
2
SHA256 (nss-pam-ldapd-0.9.12.tar.gz) = c6d661e74693cbf531a790631ca93b73f291fb23cc39465b09deb8da2bfb0e14
3
SIZE (nss-pam-ldapd-0.9.12.tar.gz) = 791983
3
SIZE (nss-pam-ldapd-0.9.12.tar.gz) = 791983
4
SHA256 (2f6e65ab384917a9b2ee4b25a172acc107a640b3.diff) = ae0070f28b67d0df164c85b7ba98a5048d85d9a43b28791ed313935839c8dbbc
5
SIZE (2f6e65ab384917a9b2ee4b25a172acc107a640b3.diff) = 3039
6
SHA256 (1c9b021e78dc67b9cdca5f9ad10cbde08418ee28.diff) = 82ca6448bd60c515cb6a67e0862797045414f6a2f9cda4607c555f142b50b518
7
SIZE (1c9b021e78dc67b9cdca5f9ad10cbde08418ee28.diff) = 301
(-)b/net/nss-pam-ldapd/files/patch-Makefile.am (+11 lines)
Added Link Here
1
--- Makefile.am.orig	2022-10-10 22:26:17 UTC
2
+++ Makefile.am
3
@@ -61,7 +61,7 @@ install-nslcd_conf:
4
 	  echo "$(DESTDIR)$(NSLCD_CONF_PATH) already exists, install will not overwrite"; \
5
 	else \
6
 	  $(mkinstalldirs) `dirname $(DESTDIR)$(NSLCD_CONF_PATH)`; \
7
-	  $(INSTALL) -m 600 $(srcdir)/nslcd.conf $(DESTDIR)$(NSLCD_CONF_PATH); \
8
+	  $(INSTALL) -m 600 $(srcdir)/nslcd.conf $(DESTDIR)$(NSLCD_CONF_PATH).sample; \
9
 	fi
10
 uninstall-nslcd_conf:
11
 	-rm -f $(DESTDIR)$(NSLCD_CONF_PATH)
(-)b/net/nss-pam-ldapd/files/patch-config.h.in (+12 lines)
Added Link Here
1
--- config.h.in.orig	2022-10-10 21:16:40 UTC
2
+++ config.h.in
3
@@ -30,6 +30,9 @@
4
 /* Define to 1 if you have the `clearenv' function. */
5
 #undef HAVE_CLEARENV
6
 
7
+/* Define to 1 if you have the `closefrom' function. */
8
+#undef HAVE_CLOSEFROM
9
+
10
 /* Define to 1 if you have the <ctype.h> header file. */
11
 #undef HAVE_CTYPE_H
12
 
(-)b/net/nss-pam-ldapd/files/patch-configure (+16 lines)
Added Link Here
1
--- configure.orig	2021-11-20 13:07:41 UTC
2
+++ configure
3
@@ -9684,6 +9684,13 @@ then :
4
 
5
 fi
6
 
7
+  ac_fn_c_check_func "$LINENO" "closefrom" "ac_cv_func_closefrom"
8
+if test "x$ac_cv_func_closefrom" = xyes
9
+then :
10
+  printf "%s\n" "#define HAVE_CLOSEFROM 1" >>confdefs.h
11
+
12
+fi
13
+
14
 
15
   # replace some functions if they are not on the system
16
   ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"

Return to bug 266970