pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/opensmtpd-table-ldap
Module Name: pkgsrc
Committed By: vins
Date: Mon Mar 10 07:57:40 UTC 2025
Modified Files:
pkgsrc/mail/opensmtpd-table-ldap: Makefile distinfo
Added Files:
pkgsrc/mail/opensmtpd-table-ldap/patches: patch-ber.h
Log Message:
opensmtpd-table-ldap: fix build on SunOS
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/opensmtpd-table-ldap/Makefile \
pkgsrc/mail/opensmtpd-table-ldap/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/opensmtpd-table-ldap/patches/patch-ber.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mail/opensmtpd-table-ldap/Makefile
diff -u pkgsrc/mail/opensmtpd-table-ldap/Makefile:1.1 pkgsrc/mail/opensmtpd-table-ldap/Makefile:1.2
--- pkgsrc/mail/opensmtpd-table-ldap/Makefile:1.1 Wed Dec 4 22:54:16 2024
+++ pkgsrc/mail/opensmtpd-table-ldap/Makefile Mon Mar 10 07:57:40 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2024/12/04 22:54:16 vins Exp $
+# $NetBSD: Makefile,v 1.2 2025/03/10 07:57:40 vins Exp $
DISTNAME= table-ldap-1.0
+PKGREVISION= 1
PKGNAME= ${DISTNAME:S|^|opensmtpd-|}
CATEGORIES= mail databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=opensmtpd/}
@@ -15,8 +16,11 @@ LICENSE= isc
CONFLICTS+= opensmtpd-extras-[0-9]*
DEPENDS+= opensmtpd>=7.6.0:../../mail/opensmtpd
+USE_FEATURES+= cdefs
USE_TOOLS+= autoconf automake autoreconf
+LDFLAGS.SunOS+= -lsocket
+
GNU_CONFIGURE= yes
SUBST_CLASSES+= dir
@@ -28,7 +32,7 @@ SUBST_SED.dir+= -e "s:libexec/smtpd:lib
INSTALLATION_DIRS+= share/examples/opensmtpd
pre-configure:
- set -e; cd ${WRKSRC} && autoreconf -fiv
+ ${RUN}set -e; cd ${WRKSRC} && autoreconf -fiv
post-install:
.for f in table-ldap.conf.example
Index: pkgsrc/mail/opensmtpd-table-ldap/distinfo
diff -u pkgsrc/mail/opensmtpd-table-ldap/distinfo:1.1 pkgsrc/mail/opensmtpd-table-ldap/distinfo:1.2
--- pkgsrc/mail/opensmtpd-table-ldap/distinfo:1.1 Wed Dec 4 22:54:16 2024
+++ pkgsrc/mail/opensmtpd-table-ldap/distinfo Mon Mar 10 07:57:40 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2024/12/04 22:54:16 vins Exp $
+$NetBSD: distinfo,v 1.2 2025/03/10 07:57:40 vins Exp $
BLAKE2s (table-ldap-1.0.tar.gz) = 073ddb2f133fa1765e5d23cb41ea82bebd3bab59f0ad7ca90becbf9f29f9b12d
SHA512 (table-ldap-1.0.tar.gz) = 556d1ea36427791a0f2fc4c985aa9ce0059131025e81e8ab64102c8e0b4d7dd2e699d5a317975e1caabe68ac3a0082551799f6c7e03483b5ffe7d82c0eb8bf9a
Size (table-ldap-1.0.tar.gz) = 32696 bytes
+SHA1 (patch-ber.h) = 438d3500abede03618a47bf4bd26be60b3775d8d
Added files:
Index: pkgsrc/mail/opensmtpd-table-ldap/patches/patch-ber.h
diff -u /dev/null pkgsrc/mail/opensmtpd-table-ldap/patches/patch-ber.h:1.1
--- /dev/null Mon Mar 10 07:57:40 2025
+++ pkgsrc/mail/opensmtpd-table-ldap/patches/patch-ber.h Mon Mar 10 07:57:40 2025
@@ -0,0 +1,20 @@
+$NetBSD: patch-ber.h,v 1.1 2025/03/10 07:57:40 vins Exp $
+
+Portability fix for pkgsrc.
+
+--- ber.h.orig 2025-03-10 07:42:21.524815621 +0000
++++ ber.h
+@@ -15,6 +15,13 @@
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
++#if defined(HAVE_NBCOMPAT_H)
++#include <nbcompat.h>
++#include <nbcompat/cdefs.h> /* __BEGIN_DECLS */
++#else
++#include <sys/cdefs.h>
++#endif
++
+ struct ber_element {
+ struct ber_element *be_next;
+ unsigned long be_type;
Home |
Main Index |
Thread Index |
Old Index