pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/serialmail Modernize patch filenames.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd2094d28510
branches:  trunk
changeset: 367399:bd2094d28510
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Sep 01 03:46:36 2017 +0000

description:
Modernize patch filenames.

diffstat:

 mail/serialmail/distinfo                       |   8 +-
 mail/serialmail/patches/patch-Makefile         |  53 +++++++++++++++++++++++
 mail/serialmail/patches/patch-aa               |  58 --------------------------
 mail/serialmail/patches/patch-ab               |  16 -------
 mail/serialmail/patches/patch-ac               |  53 -----------------------
 mail/serialmail/patches/patch-hier.c           |  58 ++++++++++++++++++++++++++
 mail/serialmail/patches/patch-leapsecs__read.c |  16 +++++++
 7 files changed, 131 insertions(+), 131 deletions(-)

diffs (295 lines):

diff -r 0fff1ecf8d75 -r bd2094d28510 mail/serialmail/distinfo
--- a/mail/serialmail/distinfo  Fri Sep 01 03:43:12 2017 +0000
+++ b/mail/serialmail/distinfo  Fri Sep 01 03:46:36 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2017/09/01 03:43:12 schmonz Exp $
+$NetBSD: distinfo,v 1.9 2017/09/01 03:46:36 schmonz Exp $
 
 SHA1 (serialmail-0.75.tar.gz) = 76f8d5ae698cff25b3227e51cc99fff1f4a8b137
 RMD160 (serialmail-0.75.tar.gz) = 2d12152b9c7d007f76b4d129c2795cd192ba9f83
 SHA512 (serialmail-0.75.tar.gz) = f0c7f14330b44f12f8e5f3590416d707bb2daaca84db8fcd236ae05855269005a726d946269c0cbb25f51238fba350420e0e3a1d57f0ab227c447fafcae497dc
 Size (serialmail-0.75.tar.gz) = 55079 bytes
-SHA1 (patch-aa) = 489ae2af99233087fcfb56dd899fe7283401bf7e
-SHA1 (patch-ab) = e9325df21f6dd114c0bc9327708c82f8b692c1d5
-SHA1 (patch-ac) = 4f3c3b0f1a65da9c0598ae6b34ab6b1c2a421eb3
+SHA1 (patch-Makefile) = 4f3c3b0f1a65da9c0598ae6b34ab6b1c2a421eb3
+SHA1 (patch-hier.c) = 489ae2af99233087fcfb56dd899fe7283401bf7e
+SHA1 (patch-leapsecs__read.c) = e87ceb41f8c1e4c650d5601eaf61fa2fadf98607
diff -r 0fff1ecf8d75 -r bd2094d28510 mail/serialmail/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/serialmail/patches/patch-Makefile    Fri Sep 01 03:46:36 2017 +0000
@@ -0,0 +1,53 @@
+$NetBSD: patch-Makefile,v 1.1 2017/09/01 03:46:36 schmonz Exp $
+
+DESTDIR support, and avoid building catpages.
+
+--- Makefile.orig      1998-11-15 02:28:23.000000000 +0000
++++ Makefile
+@@ -28,6 +28,14 @@ auto-str.o: \
+ compile auto-str.c substdio.h readwrite.h exit.h
+       ./compile auto-str.c
+ 
++auto_destdir.c: \
++auto-str conf-destdir
++      ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c
++
++auto_destdir.o: \
++compile auto_destdir.c
++      ./compile auto_destdir.c
++
+ auto_home.c: \
+ auto-str conf-home
+       ./auto-str auto_home `head -1 conf-home` > auto_home.c
+@@ -240,9 +248,9 @@ compile hier.c auto_home.h
+       ./compile hier.c
+ 
+ install: \
+-load install.o hier.o auto_home.o strerr.a substdio.a open.a error.a \
++load install.o hier.o auto_destdir.o strerr.a substdio.a open.a error.a \
+ str.a
+-      ./load install hier.o auto_home.o strerr.a substdio.a \
++      ./load install hier.o auto_destdir.o strerr.a substdio.a \
+       open.a error.a str.a 
+ 
+ install.o: \
+@@ -251,8 +259,8 @@ exit.h
+       ./compile install.c
+ 
+ instcheck: \
+-load instcheck.o hier.o auto_home.o strerr.a substdio.a error.a str.a
+-      ./load instcheck hier.o auto_home.o strerr.a substdio.a \
++load instcheck.o hier.o auto_destdir.o strerr.a substdio.a error.a str.a
++      ./load instcheck hier.o auto_destdir.o strerr.a substdio.a \
+       error.a str.a 
+ 
+ instcheck.o: \
+@@ -260,7 +268,7 @@ compile instcheck.c strerr.h error.h rea
+       ./compile instcheck.c
+ 
+ it: \
+-man prog install instcheck
++prog install instcheck
+ 
+ leapsecs.0: \
+ leapsecs.3
diff -r 0fff1ecf8d75 -r bd2094d28510 mail/serialmail/patches/patch-aa
--- a/mail/serialmail/patches/patch-aa  Fri Sep 01 03:43:12 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2017/01/02 03:33:52 schmonz Exp $
-
-Install docs following hier(7), don't install catpages, set reasonable
-permissions, and avoid overwriting "setlock" from sysutils/daemontools.
-
---- hier.c.orig        1998-11-15 02:28:23.000000000 +0000
-+++ hier.c
-@@ -2,36 +2,27 @@
- 
- void hier()
- {
--  h(auto_home,-1,-1,02755);
-+  h(auto_home,-1,-1,0755);
- 
--  d(auto_home,"bin",-1,-1,02755);
--  d(auto_home,"doc",-1,-1,02755);
--  d(auto_home,"doc/serialmail",-1,-1,02755);
--  d(auto_home,"man",-1,-1,02755);
--  d(auto_home,"man/man1",-1,-1,02755);
--  d(auto_home,"man/cat1",-1,-1,02755);
-+  d(auto_home,"bin",-1,-1,0755);
-+  d(auto_home,"share/doc",-1,-1,0755);
-+  d(auto_home,"share/doc/serialmail",-1,-1,0755);
-+  d(auto_home,"@PKGMANDIR@",-1,-1,0755);
-+  d(auto_home,"@PKGMANDIR@/man1",-1,-1,0755);
- 
-   c(auto_home,"bin","serialqmtp",-1,-1,0755);
-   c(auto_home,"bin","serialsmtp",-1,-1,0755);
-   c(auto_home,"bin","maildirqmtp",-1,-1,0755);
-   c(auto_home,"bin","maildirsmtp",-1,-1,0755);
-   c(auto_home,"bin","maildirserial",-1,-1,0755);
--  c(auto_home,"bin","setlock",-1,-1,0755);
- 
--  c(auto_home,"man/man1","serialqmtp.1",-1,-1,0644);
--  c(auto_home,"man/cat1","serialqmtp.0",-1,-1,0644);
--  c(auto_home,"man/man1","serialsmtp.1",-1,-1,0644);
--  c(auto_home,"man/cat1","serialsmtp.0",-1,-1,0644);
--  c(auto_home,"man/man1","maildirqmtp.1",-1,-1,0644);
--  c(auto_home,"man/cat1","maildirqmtp.0",-1,-1,0644);
--  c(auto_home,"man/man1","maildirsmtp.1",-1,-1,0644);
--  c(auto_home,"man/cat1","maildirsmtp.0",-1,-1,0644);
--  c(auto_home,"man/man1","maildirserial.1",-1,-1,0644);
--  c(auto_home,"man/cat1","maildirserial.0",-1,-1,0644);
--  c(auto_home,"man/man1","setlock.1",-1,-1,0644);
--  c(auto_home,"man/cat1","setlock.0",-1,-1,0644);
-+  c(auto_home,"@PKGMANDIR@/man1","serialqmtp.1",-1,-1,0644);
-+  c(auto_home,"@PKGMANDIR@/man1","serialsmtp.1",-1,-1,0644);
-+  c(auto_home,"@PKGMANDIR@/man1","maildirqmtp.1",-1,-1,0644);
-+  c(auto_home,"@PKGMANDIR@/man1","maildirsmtp.1",-1,-1,0644);
-+  c(auto_home,"@PKGMANDIR@/man1","maildirserial.1",-1,-1,0644);
- 
--  c(auto_home,"doc/serialmail","FROMISP",-1,-1,0644);
--  c(auto_home,"doc/serialmail","TOISP",-1,-1,0644);
--  c(auto_home,"doc/serialmail","AUTOTURN",-1,-1,0644);
-+  c(auto_home,"share/doc/serialmail","FROMISP",-1,-1,0644);
-+  c(auto_home,"share/doc/serialmail","TOISP",-1,-1,0644);
-+  c(auto_home,"share/doc/serialmail","AUTOTURN",-1,-1,0644);
- }
diff -r 0fff1ecf8d75 -r bd2094d28510 mail/serialmail/patches/patch-ab
--- a/mail/serialmail/patches/patch-ab  Fri Sep 01 03:43:12 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2012/04/15 00:20:49 schmonz Exp $
-
-Fix to the included libtai, brought over from devel/libtai:
-
-#include <unistd.h> in leapsecs_read.c so we can read leapsecs.dat.
-
---- leapsecs_read.c.orig       1998-09-04 22:33:37.000000000 -0400
-+++ leapsecs_read.c
-@@ -2,6 +2,7 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <errno.h>
-+#include <unistd.h>
- extern int errno;
- #include "tai.h"
- #include "leapsecs.h"
diff -r 0fff1ecf8d75 -r bd2094d28510 mail/serialmail/patches/patch-ac
--- a/mail/serialmail/patches/patch-ac  Fri Sep 01 03:43:12 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2017/09/01 03:43:12 schmonz Exp $
-
-DESTDIR support, and avoid building catpages.
-
---- Makefile.orig      1998-11-15 02:28:23.000000000 +0000
-+++ Makefile
-@@ -28,6 +28,14 @@ auto-str.o: \
- compile auto-str.c substdio.h readwrite.h exit.h
-       ./compile auto-str.c
- 
-+auto_destdir.c: \
-+auto-str conf-destdir
-+      ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c
-+
-+auto_destdir.o: \
-+compile auto_destdir.c
-+      ./compile auto_destdir.c
-+
- auto_home.c: \
- auto-str conf-home
-       ./auto-str auto_home `head -1 conf-home` > auto_home.c
-@@ -240,9 +248,9 @@ compile hier.c auto_home.h
-       ./compile hier.c
- 
- install: \
--load install.o hier.o auto_home.o strerr.a substdio.a open.a error.a \
-+load install.o hier.o auto_destdir.o strerr.a substdio.a open.a error.a \
- str.a
--      ./load install hier.o auto_home.o strerr.a substdio.a \
-+      ./load install hier.o auto_destdir.o strerr.a substdio.a \
-       open.a error.a str.a 
- 
- install.o: \
-@@ -251,8 +259,8 @@ exit.h
-       ./compile install.c
- 
- instcheck: \
--load instcheck.o hier.o auto_home.o strerr.a substdio.a error.a str.a
--      ./load instcheck hier.o auto_home.o strerr.a substdio.a \
-+load instcheck.o hier.o auto_destdir.o strerr.a substdio.a error.a str.a
-+      ./load instcheck hier.o auto_destdir.o strerr.a substdio.a \
-       error.a str.a 
- 
- instcheck.o: \
-@@ -260,7 +268,7 @@ compile instcheck.c strerr.h error.h rea
-       ./compile instcheck.c
- 
- it: \
--man prog install instcheck
-+prog install instcheck
- 
- leapsecs.0: \
- leapsecs.3
diff -r 0fff1ecf8d75 -r bd2094d28510 mail/serialmail/patches/patch-hier.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/serialmail/patches/patch-hier.c      Fri Sep 01 03:46:36 2017 +0000
@@ -0,0 +1,58 @@
+$NetBSD: patch-hier.c,v 1.3 2017/09/01 03:46:36 schmonz Exp $
+
+Install docs following hier(7), don't install catpages, set reasonable
+permissions, and avoid overwriting "setlock" from sysutils/daemontools.
+
+--- hier.c.orig        1998-11-15 02:28:23.000000000 +0000
++++ hier.c
+@@ -2,36 +2,27 @@
+ 
+ void hier()
+ {
+-  h(auto_home,-1,-1,02755);
++  h(auto_home,-1,-1,0755);
+ 
+-  d(auto_home,"bin",-1,-1,02755);
+-  d(auto_home,"doc",-1,-1,02755);
+-  d(auto_home,"doc/serialmail",-1,-1,02755);
+-  d(auto_home,"man",-1,-1,02755);
+-  d(auto_home,"man/man1",-1,-1,02755);
+-  d(auto_home,"man/cat1",-1,-1,02755);
++  d(auto_home,"bin",-1,-1,0755);
++  d(auto_home,"share/doc",-1,-1,0755);
++  d(auto_home,"share/doc/serialmail",-1,-1,0755);
++  d(auto_home,"@PKGMANDIR@",-1,-1,0755);
++  d(auto_home,"@PKGMANDIR@/man1",-1,-1,0755);
+ 
+   c(auto_home,"bin","serialqmtp",-1,-1,0755);
+   c(auto_home,"bin","serialsmtp",-1,-1,0755);
+   c(auto_home,"bin","maildirqmtp",-1,-1,0755);
+   c(auto_home,"bin","maildirsmtp",-1,-1,0755);
+   c(auto_home,"bin","maildirserial",-1,-1,0755);
+-  c(auto_home,"bin","setlock",-1,-1,0755);
+ 
+-  c(auto_home,"man/man1","serialqmtp.1",-1,-1,0644);
+-  c(auto_home,"man/cat1","serialqmtp.0",-1,-1,0644);
+-  c(auto_home,"man/man1","serialsmtp.1",-1,-1,0644);
+-  c(auto_home,"man/cat1","serialsmtp.0",-1,-1,0644);
+-  c(auto_home,"man/man1","maildirqmtp.1",-1,-1,0644);
+-  c(auto_home,"man/cat1","maildirqmtp.0",-1,-1,0644);
+-  c(auto_home,"man/man1","maildirsmtp.1",-1,-1,0644);
+-  c(auto_home,"man/cat1","maildirsmtp.0",-1,-1,0644);
+-  c(auto_home,"man/man1","maildirserial.1",-1,-1,0644);
+-  c(auto_home,"man/cat1","maildirserial.0",-1,-1,0644);
+-  c(auto_home,"man/man1","setlock.1",-1,-1,0644);
+-  c(auto_home,"man/cat1","setlock.0",-1,-1,0644);
++  c(auto_home,"@PKGMANDIR@/man1","serialqmtp.1",-1,-1,0644);
++  c(auto_home,"@PKGMANDIR@/man1","serialsmtp.1",-1,-1,0644);
++  c(auto_home,"@PKGMANDIR@/man1","maildirqmtp.1",-1,-1,0644);
++  c(auto_home,"@PKGMANDIR@/man1","maildirsmtp.1",-1,-1,0644);
++  c(auto_home,"@PKGMANDIR@/man1","maildirserial.1",-1,-1,0644);
+ 
+-  c(auto_home,"doc/serialmail","FROMISP",-1,-1,0644);
+-  c(auto_home,"doc/serialmail","TOISP",-1,-1,0644);
+-  c(auto_home,"doc/serialmail","AUTOTURN",-1,-1,0644);
++  c(auto_home,"share/doc/serialmail","FROMISP",-1,-1,0644);
++  c(auto_home,"share/doc/serialmail","TOISP",-1,-1,0644);
++  c(auto_home,"share/doc/serialmail","AUTOTURN",-1,-1,0644);
+ }
diff -r 0fff1ecf8d75 -r bd2094d28510 mail/serialmail/patches/patch-leapsecs__read.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/serialmail/patches/patch-leapsecs__read.c    Fri Sep 01 03:46:36 2017 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-leapsecs__read.c,v 1.1 2017/09/01 03:46:36 schmonz Exp $
+
+Fix to the included libtai, brought over from devel/libtai:
+
+#include <unistd.h> in leapsecs_read.c so we can read leapsecs.dat.
+
+--- leapsecs_read.c.orig       1998-11-15 02:28:23.000000000 +0000
++++ leapsecs_read.c
+@@ -2,6 +2,7 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <errno.h>
++#include <unistd.h>
+ extern int errno;
+ #include "tai.h"
+ #include "leapsecs.h"



Home | Main Index | Thread Index | Old Index