Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: mail/opensmtpd/Makefile
- ===================================================================
- RCS file: /cvsroot/pkgsrc/mail/opensmtpd/Makefile,v
- retrieving revision 1.6
- diff -u -p -r1.6 Makefile
- --- mail/opensmtpd/Makefile 12 Dec 2015 01:24:13 -0000 1.6
- +++ mail/opensmtpd/Makefile 3 Feb 2016 16:45:00 -0000
- @@ -1,8 +1,8 @@
- # $NetBSD: Makefile,v 1.6 2015/12/12 01:24:13 wiedi Exp $
- -VERSION= 5.3.3p1
- +VERSION= 5.7.3p2
- DISTNAME= opensmtpd-${VERSION}
- -PKGREVISION= 1
- +#PKGREVISION= 1
- CATEGORIES= mail net
- MASTER_SITES= http://www.opensmtpd.org/archives/
- Index: mail/opensmtpd/distinfo
- ===================================================================
- RCS file: /cvsroot/pkgsrc/mail/opensmtpd/distinfo,v
- retrieving revision 1.3
- diff -u -p -r1.3 distinfo
- --- mail/opensmtpd/distinfo 3 Nov 2015 23:27:11 -0000 1.3
- +++ mail/opensmtpd/distinfo 3 Feb 2016 16:45:00 -0000
- @@ -1,9 +1,10 @@
- $NetBSD: distinfo,v 1.3 2015/11/03 23:27:11 agc Exp $
- -SHA1 (opensmtpd-5.3.3p1.tar.gz) = a7fc3a15b5dc622410fcedf51bbe62e6b6d64df3
- -RMD160 (opensmtpd-5.3.3p1.tar.gz) = 97f63e37fa6ce1f5f58d816088c5b356f99167c3
- -SHA512 (opensmtpd-5.3.3p1.tar.gz) = 8ea72773dca4f907d2b8285fc7abcd5c4c19ceb50b547cc4a217ec296a222f8134bfc4bc7707439b0c5d58b5354f92ebed65966179d7598c4793cad4370b087b
- -Size (opensmtpd-5.3.3p1.tar.gz) = 343733 bytes
- -SHA1 (patch-configure.ac) = ed819952951700c057c11200095a72972aafc1f9
- +SHA1 (opensmtpd-5.7.3p2.tar.gz) = 4d1edc5811a80ec26de040227a298a742c494e72
- +RMD160 (opensmtpd-5.7.3p2.tar.gz) = 5d6faebea3a303e5effeafbef5def597bfac434e
- +SHA512 (opensmtpd-5.7.3p2.tar.gz) = bac0b8d6a6969a5e49a1d45b2c74cb2f3da44d06b12c7162500adf3ca312751020762bc8301075a9d7634d94cf51f978d04fac327f843680646e9e687737c42f
- +Size (opensmtpd-5.7.3p2.tar.gz) = 709074 bytes
- +SHA1 (patch-configure.ac) = 7ae25ffb591709a639b5deaab340600e23aebe30
- +SHA1 (patch-mk_smtpd_Makefile.am) = 24b9f98c83b69db48f38309495fddf3d52471851
- SHA1 (patch-smtpd_Makefile.am) = 4267002ecadceaf68868b9d782d5e6f8571ebc36
- -SHA1 (patch-smtpd_queue_fsqueue.c) = 80dae37705378c022c1a76d31ea54a3f907b6c1a
- +SHA1 (patch-smtpd_queue_fs.c) = 4cf53412daa25f53511d9b8c9d196fbe366ab31d
- Index: mail/opensmtpd/patches/patch-configure.ac
- ===================================================================
- RCS file: /cvsroot/pkgsrc/mail/opensmtpd/patches/patch-configure.ac,v
- retrieving revision 1.1
- diff -u -p -r1.1 patch-configure.ac
- --- mail/opensmtpd/patches/patch-configure.ac 18 Nov 2013 22:50:01 -0000 1.1
- +++ mail/opensmtpd/patches/patch-configure.ac 3 Feb 2016 16:45:00 -0000
- @@ -1,14 +1,14 @@
- -$NetBSD: patch-configure.ac,v 1.1 2013/11/18 22:50:01 pettai Exp $
- +$NetBSD$
- Add sys/statvfs for NetBSD
- ---- configure.ac.orig 2013-05-16 15:19:59.000000000 +0000
- +--- configure.ac.orig 2016-02-02 07:40:06.000000000 +0000
- +++ configure.ac
- -@@ -261,6 +261,7 @@ AC_CHECK_HEADERS([ \
- +@@ -338,6 +338,7 @@ AC_CHECK_HEADERS([ \
- sys/ndir.h \
- sys/pstat.h \
- sys/statfs.h \
- + sys/statvfs.h \
- + sys/time.h \
- sys/un.h \
- - ucred.h \
- - util.h \
- + time.h \
- Index: mail/opensmtpd/patches/patch-mk_smtpd_Makefile.am
- ===================================================================
- RCS file: mail/opensmtpd/patches/patch-mk_smtpd_Makefile.am
- diff -N mail/opensmtpd/patches/patch-mk_smtpd_Makefile.am
- --- /dev/null 1 Jan 1970 00:00:00 -0000
- +++ mail/opensmtpd/patches/patch-mk_smtpd_Makefile.am 3 Feb 2016 16:45:00 -0000
- @@ -0,0 +1,29 @@
- +$NetBSD$
- +
- +Install the configuration file in the example directory instead.
- +
- +--- mk/smtpd/Makefile.am.orig 2016-02-03 13:29:37.000000000 +0000
- ++++ mk/smtpd/Makefile.am
- +@@ -151,17 +151,16 @@ $(CONFIGFILES): $(CONFIGFILES_IN)
- +
- + # smtpd.conf
- + # newaliases makemap
- ++
- ++EXAMPLE_DIR=@EXAMPLE_DIR@
- ++
- + install-exec-hook: $(CONFIGFILES) $(MANPAGES)
- +- $(MKDIR_P) $(DESTDIR)$(sysconfdir)
- ++ $(MKDIR_P) $(DESTDIR)$(EXAMPLE_DIR)
- + $(MKDIR_P) $(DESTDIR)$(bindir)
- + $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)5
- + $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)8
- +
- +- @if [ ! -f $(DESTDIR)$(sysconfdir)/smtpd.conf ]; then \
- +- $(INSTALL) -m 644 smtpd.conf.out $(DESTDIR)$(sysconfdir)/smtpd.conf; \
- +- else \
- +- echo "$(DESTDIR)$(sysconfdir)/smtpd.conf already exists, install will not overwrite"; \
- +- fi
- ++ $(INSTALL) -m 644 smtpd.conf.out $(DESTDIR)$(EXAMPLE_DIR)/smtpd.conf
- +
- + $(INSTALL) -m 644 aliases.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/aliases.5
- + $(INSTALL) -m 644 forward.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/forward.5
- Index: mail/opensmtpd/patches/patch-smtpd_Makefile.am
- ===================================================================
- RCS file: mail/opensmtpd/patches/patch-smtpd_Makefile.am
- diff -N mail/opensmtpd/patches/patch-smtpd_Makefile.am
- --- mail/opensmtpd/patches/patch-smtpd_Makefile.am 18 Nov 2013 22:50:01 -0000 1.1
- +++ /dev/null 1 Jan 1970 00:00:00 -0000
- @@ -1,29 +0,0 @@
- -$NetBSD: patch-smtpd_Makefile.am,v 1.1 2013/11/18 22:50:01 pettai Exp $
- -
- -Install the configuration file in the example directory
- -
- ---- smtpd/Makefile.am.orig 2013-03-08 18:22:39.000000000 +0000
- -+++ smtpd/Makefile.am
- -@@ -154,17 +154,16 @@ $(CONFIGFILES): $(CONFIGFILES_IN)
- -
- - # smtpd.conf
- - # newaliases makemap
- -+
- -+EXAMPLE_DIR=@EXAMPLE_DIR@
- -+
- - install-exec-hook: $(CONFIGFILES) $(MANPAGES)
- -- $(MKDIR_P) $(DESTDIR)$(sysconfdir)
- -+ $(MKDIR_P) $(DESTDIR)$(EXAMPLE_DIR)
- - $(MKDIR_P) $(DESTDIR)$(bindir)
- - $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)5
- - $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)8
- -
- -- @if [ ! -f $(DESTDIR)$(sysconfdir)/smtpd.conf ]; then \
- -- $(INSTALL) -m 644 smtpd.conf.out $(DESTDIR)$(sysconfdir)/smtpd.conf; \
- -- else \
- -- echo "$(DESTDIR)$(sysconfdir)/smtpd.conf already exists, install will not overwrite"; \
- -- fi
- -+ $(INSTALL) -m 644 smtpd.conf.out $(DESTDIR)$(EXAMPLE_DIR)/smtpd.conf
- -
- - ln -f $(DESTDIR)$(sbindir)/smtpctl$(EXEEXT) \
- - $(DESTDIR)$(bindir)/mailq$(EXEEXT);
- Index: mail/opensmtpd/patches/patch-smtpd_queue_fs.c
- ===================================================================
- RCS file: mail/opensmtpd/patches/patch-smtpd_queue_fs.c
- diff -N mail/opensmtpd/patches/patch-smtpd_queue_fs.c
- --- /dev/null 1 Jan 1970 00:00:00 -0000
- +++ mail/opensmtpd/patches/patch-smtpd_queue_fs.c 3 Feb 2016 16:45:00 -0000
- @@ -0,0 +1,19 @@
- +$NetBSD$
- +
- +NetBSD uses statvfs, not statfs.
- +
- +--- smtpd/queue_fs.c.orig 2016-02-03 13:18:36.000000000 +0000
- ++++ smtpd/queue_fs.c
- +@@ -30,6 +30,12 @@
- + #ifdef HAVE_SYS_STATFS_H
- + #include <sys/statfs.h>
- + #endif
- ++#ifdef HAVE_SYS_STATVFS_H
- ++#include <sys/statvfs.h>
- ++#ifdef __NetBSD__
- ++define statfs statvfs
- ++#endif
- ++#endif
- +
- + #include <ctype.h>
- + #include <dirent.h>
- Index: mail/opensmtpd/patches/patch-smtpd_queue_fsqueue.c
- ===================================================================
- RCS file: mail/opensmtpd/patches/patch-smtpd_queue_fsqueue.c
- diff -N mail/opensmtpd/patches/patch-smtpd_queue_fsqueue.c
- --- mail/opensmtpd/patches/patch-smtpd_queue_fsqueue.c 18 Nov 2013 22:50:01 -0000 1.1
- +++ /dev/null 1 Jan 1970 00:00:00 -0000
- @@ -1,18 +0,0 @@
- -$NetBSD: patch-smtpd_queue_fsqueue.c,v 1.1 2013/11/18 22:50:01 pettai Exp $
- -
- -NetBSD use statvfs, not statfs.
- -
- ---- smtpd/queue_fsqueue.c.orig 2013-05-16 15:19:59.000000000 +0000
- -+++ smtpd/queue_fsqueue.c
- -@@ -26,5 +26,11 @@
- - #ifdef HAVE_SYS_STATFS_H
- - #include <sys/statfs.h>
- - #endif
- -+#ifdef HAVE_SYS_STATVFS_H
- -+#include <sys/statvfs.h>
- -+#ifdef __NetBSD__
- -+#define statfs statvfs
- -+#endif
- -+#endif
- - #include <sys/param.h>
- - #include <sys/mount.h>
Advertisement
Add Comment
Please, Sign In to add comment