pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/opensmtpd-extras



Module Name:    pkgsrc
Committed By:   vins
Date:           Sat Mar  2 19:25:29 UTC 2024

Modified Files:
        pkgsrc/mail/opensmtpd-extras: Makefile PLIST

Log Message:
mail/opensmtpd-extras: install sample configuration file for table-ldap


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/opensmtpd-extras/Makefile \
    pkgsrc/mail/opensmtpd-extras/PLIST

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-extras/Makefile
diff -u pkgsrc/mail/opensmtpd-extras/Makefile:1.2 pkgsrc/mail/opensmtpd-extras/Makefile:1.3
--- pkgsrc/mail/opensmtpd-extras/Makefile:1.2   Sat Mar  2 17:53:23 2024
+++ pkgsrc/mail/opensmtpd-extras/Makefile       Sat Mar  2 19:25:29 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2024/03/02 17:53:23 vins Exp $
+# $NetBSD: Makefile,v 1.3 2024/03/02 19:25:29 vins Exp $
 
 DISTNAME=              opensmtpd-extras-6.7.1_20240228
 CATEGORIES=            mail
@@ -67,7 +67,7 @@ CONFIGURE_ARGS+=      --with-filter-stub      \
 .include "options.mk"
 
 INSTALL_TARGET=                install-strip
-INSTALLATION_DIRS+=    libexec/opensmtpd
+INSTALLATION_DIRS+=    libexec/opensmtpd share/examples/opensmtpd
 
 pre-configure:
        cd ${WRKSRC} && ${PREFIX}/bin/libtoolize --copy --force
@@ -76,6 +76,12 @@ pre-configure:
        cd ${WRKSRC} && ${TOOLS_CMD.autoheader}
        cd ${WRKSRC} && ${TOOLS_CMD.automake} --foreign --add-missing --copy
 
+post-install:
+.for f in table-ldap.conf.example
+       ${INSTALL_DATA} ${WRKSRC}/extras/tables/table-ldap/${f} \
+               ${DESTDIR}${PREFIX}/share/examples/opensmtpd/${f:S/.example//}
+.endfor
+
 .include "../../security/libretls/buildlink3.mk"
 .include "../../devel/libevent/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
Index: pkgsrc/mail/opensmtpd-extras/PLIST
diff -u pkgsrc/mail/opensmtpd-extras/PLIST:1.2 pkgsrc/mail/opensmtpd-extras/PLIST:1.3
--- pkgsrc/mail/opensmtpd-extras/PLIST:1.2      Thu Feb 29 21:34:33 2024
+++ pkgsrc/mail/opensmtpd-extras/PLIST  Sat Mar  2 19:25:29 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2024/02/29 21:34:33 vins Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/03/02 19:25:29 vins Exp $
 libexec/opensmtpd/queue-null
 ${PLIST.python}libexec/opensmtpd/queue-python
 libexec/opensmtpd/queue-ram
@@ -18,3 +18,4 @@ man/man5/table-passwd.5
 ${PLIST.redis}man/man5/table-redis.5
 man/man5/table-socketmap.5
 ${PLIST.sqlite}man/man5/table-sqlite.5
+${PLIST.ldap}share/examples/opensmtpd/table-ldap.conf



Home | Main Index | Thread Index | Old Index