diff options
author | christos <christos@pkgsrc.org> | 2000-01-15 18:09:27 +0000 |
---|---|---|
committer | christos <christos@pkgsrc.org> | 2000-01-15 18:09:27 +0000 |
commit | 47b4471c9138f5f962c29555f412955e14df5532 (patch) | |
tree | e2d43e67106c7b943c88b698943df18a4df680bc /net/rdist6/patches | |
parent | 52b2167c3eac2ba3e9495333d75e59bcadfe6206 (diff) | |
download | pkgsrc-47b4471c9138f5f962c29555f412955e14df5532.tar.gz |
replace rdist-6.1.4 with freerdist-0.91. 6.1.4 is just too buggy.
Diffstat (limited to 'net/rdist6/patches')
-rw-r--r-- | net/rdist6/patches/patch-aa | 43 | ||||
-rw-r--r-- | net/rdist6/patches/patch-ab | 27 | ||||
-rw-r--r-- | net/rdist6/patches/patch-ac | 22 | ||||
-rw-r--r-- | net/rdist6/patches/patch-ad | 39 | ||||
-rw-r--r-- | net/rdist6/patches/patch-ae | 16 | ||||
-rw-r--r-- | net/rdist6/patches/patch-af | 26 | ||||
-rw-r--r-- | net/rdist6/patches/patch-ag | 20 | ||||
-rw-r--r-- | net/rdist6/patches/patch-ah | 34 |
8 files changed, 54 insertions, 173 deletions
diff --git a/net/rdist6/patches/patch-aa b/net/rdist6/patches/patch-aa index 83f0176845a..ba0a2c88198 100644 --- a/net/rdist6/patches/patch-aa +++ b/net/rdist6/patches/patch-aa @@ -1,12 +1,33 @@ -$NetBSD: patch-aa,v 1.3 1999/08/29 12:26:21 kim Exp $ +$NetBSD: patch-aa,v 1.4 2000/01/15 18:09:29 christos Exp $ ---- build/os-type.orig Mon Mar 23 19:01:57 1998 -+++ build/os-type Sun Aug 29 07:52:10 1999 -@@ -106,6 +106,7 @@ - ;; - "linux"*) OS=linux;; - "freebsd"*) OS="${osname}${osmajver}";; -+ "netbsd"*) OS="netbsd";; - # OpenBSD looks like freebsd2 right now - "openbsd"*) OS="freebsd2";; - "dgux"*) OS=dgux;; +--- mf/Makefile.var.orig Sat Jan 15 12:56:36 2000 ++++ mf/Makefile.var Sat Jan 15 12:58:20 2000 +@@ -50,7 +50,7 @@ + # RDIST_MODE - File mode of rdist (client) program + # RDISTD_MODE - File mode of rdistd (server) program + # +-BIN_DIR = /usr/local/bin ++BIN_DIR = $(PREFIX)/bin + BIN_OWNER = root + BIN_GROUP = bin + RDIST_MODE = 555 +@@ -64,8 +64,8 @@ + # MAN_GROUP - Name of group who owns man pages + # MAN_MODE - File mode for man pages + # +-MAN_1_DIR = /usr/local/man/man1 +-MAN_8_DIR = /usr/local/man/man8 ++MAN_1_DIR = $(PREFIX)/man/man1 ++MAN_8_DIR = $(PREFIX)/man/man8 + MAN_1_SECT = 1 + MAN_8_SECT = 8 + MAN_OWNER = root +@@ -77,7 +77,7 @@ + # CLIENT - Name of client program (rdist) in ${BIN} + # SERVER - Name of server program (rdistd) in ${BIN} + # +-CLIENT = rdist ++CLIENT = rdist6 + SERVER = rdistd + + # diff --git a/net/rdist6/patches/patch-ab b/net/rdist6/patches/patch-ab index c60d37f182e..928a81091fa 100644 --- a/net/rdist6/patches/patch-ab +++ b/net/rdist6/patches/patch-ab @@ -1,16 +1,13 @@ -$NetBSD: patch-ab,v 1.1 1999/08/29 12:26:21 kim Exp $ +$NetBSD: patch-ab,v 1.2 2000/01/15 18:09:30 christos Exp $ ---- include/defs.h.orig Mon Mar 23 18:28:14 1998 -+++ include/defs.h Sun Aug 29 07:50:07 1999 -@@ -403,7 +403,11 @@ - extern void error(char *, ...); - extern void fatalerr(char *, ...); - extern void message(int, char *, ...); -+#if defined(NETBSD) -+extern void setproctitle(const char *fmt, ...); -+#else - extern void setproctitle(char *fmt, ...); -+#endif /* NetBSD */ - #else - extern void debugmsg(); - extern void error(); +--- Makefile.local.orig Sat Jan 15 13:00:41 2000 ++++ Makefile.local Sat Jan 15 13:00:55 2000 +@@ -8,7 +8,7 @@ + # BIN_DIR variable, you would uncomment the following line + # or add your own line. + # +-BIN_DIR = /usr/local/bin ++BIN_DIR = ${PREFIX}/bin + + # + # Add any local definetions you want pass to the compiler to DEFS_LOCAL diff --git a/net/rdist6/patches/patch-ac b/net/rdist6/patches/patch-ac index 35901c4bc0c..76ded94d114 100644 --- a/net/rdist6/patches/patch-ac +++ b/net/rdist6/patches/patch-ac @@ -1,13 +1,11 @@ -$NetBSD: patch-ac,v 1.1 1999/08/29 12:26:22 kim Exp $ +$NetBSD: patch-ac,v 1.2 2000/01/15 18:09:30 christos Exp $ ---- include/filesys.h.orig Mon Dec 11 19:46:47 1995 -+++ include/filesys.h Sun Aug 29 07:50:07 1999 -@@ -111,7 +111,7 @@ - typedef struct statvfs statfs_t; - # define statfs(mp,sb) statvfs(mp,sb) - #else --#if defined(BSD386) || defined(__bsdi__) || defined(FREEBSD) || STATFS_TYPE == STATFS_OSF1 -+#if defined(BSD386) || defined(__bsdi__) || defined(FREEBSD) || defined(NETBSD) || STATFS_TYPE == STATFS_OSF1 - typedef struct statfs statfs_t; - #else - # include <sys/vfs.h> +--- config/mf.netbsd.orig Sat Jan 15 13:05:52 2000 ++++ config/mf.netbsd Sat Jan 15 13:05:59 2000 +@@ -53,6 +53,3 @@ + # System dependent options for compiling + # + #CFLAGS_OS = +- +-MAN_1_DIR = /usr/local/man/man1 +-MAN_8_DIR = /usr/local/man/man8 diff --git a/net/rdist6/patches/patch-ad b/net/rdist6/patches/patch-ad deleted file mode 100644 index 0ffe85b4b20..00000000000 --- a/net/rdist6/patches/patch-ad +++ /dev/null @@ -1,39 +0,0 @@ -$NetBSD: patch-ad,v 1.1 1999/08/29 12:26:22 kim Exp $ - ---- src/filesys-os.c.orig Thu Feb 15 14:01:04 1996 -+++ src/filesys-os.c Sun Aug 29 07:50:07 1999 -@@ -51,7 +51,9 @@ - - #if FSI_TYPE == FSI_GETFSSTAT - static struct statfs *mnt = NULL; -+#if !defined(NETBSD) - typedef u_long ulong; -+#endif /* !NetBSD */ - #endif /* FSI_GETFSSTAT */ - - #if FSI_TYPE == FSI_MNTCTL -@@ -179,6 +181,16 @@ - if (mnt->f_flags & M_RDONLY) - mntstruct.me_flags |= MEFLAG_READONLY; - #endif -+#if defined(NETBSD) -+ if (strcmp(mnt->f_fstypename, MOUNT_NFS)) { -+ (void) sprintf(remote_dev, "%s", mnt->f_mntfromname); -+ mntstruct.me_path = remote_dev; -+ mntstruct.me_type = METYPE_NFS; -+ } else { -+ mntstruct.me_path = mnt->f_mntonname; -+ mntstruct.me_type = METYPE_OTHER; -+ } -+#else - switch ((ulong)((struct statfs*)mnt)->f_type) { - case MOUNT_NFS: - (void) sprintf(remote_dev, "%s", mnt->f_mntfromname); -@@ -190,6 +202,7 @@ - mntstruct.me_type = METYPE_OTHER; - break; - } -+#endif /* !NetBSD */ - - mnt++; - entries_left--; diff --git a/net/rdist6/patches/patch-ae b/net/rdist6/patches/patch-ae deleted file mode 100644 index c7cd1eb7c4f..00000000000 --- a/net/rdist6/patches/patch-ae +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-ae,v 1.1 1999/08/29 12:26:22 kim Exp $ - ---- src/setargs.c.orig Wed Feb 9 20:04:58 1994 -+++ src/setargs.c Sun Aug 29 07:50:07 1999 -@@ -130,7 +130,11 @@ - /* - * Stdarg front-end to _setproctitle() - */ -+#if defined(NETBSD) -+extern void setproctitle(const char *fmt, ...) -+#else - extern void setproctitle(char *fmt, ...) -+#endif - { - static char buf[BUFSIZ]; - va_list args; diff --git a/net/rdist6/patches/patch-af b/net/rdist6/patches/patch-af deleted file mode 100644 index 4c2ee731fa4..00000000000 --- a/net/rdist6/patches/patch-af +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-af,v 1.1 1999/08/29 12:26:23 kim Exp $ - ---- src/message.c.orig Fri Jul 19 13:01:56 1996 -+++ src/message.c Sun Aug 29 07:50:08 1999 -@@ -467,10 +467,21 @@ - (void) sprintf(tempfile, "%s/%s", cp, _RDIST_TMP); - - msgfac->mf_filename = tempfile; -+#if defined(NETBSD) -+ { -+ int fd; -+ -+ if ((fd = mkstemp(msgfac->mf_filename)) < 0 || -+ (msgfac->mf_fptr = fdopen(fd, "w")) == NULL) -+ fatalerr("Cannot open notify file for writing: %s: %s.", -+ msgfac->mf_filename, SYSERR); -+ } -+#else - (void) mktemp(msgfac->mf_filename); - if ((msgfac->mf_fptr = fopen(msgfac->mf_filename, "w"))==NULL) - fatalerr("Cannot open notify file for writing: %s: %s.", - msgfac->mf_filename, SYSERR); -+#endif - debugmsg(DM_MISC, "Created notify temp file '%s'", - msgfac->mf_filename); - } diff --git a/net/rdist6/patches/patch-ag b/net/rdist6/patches/patch-ag deleted file mode 100644 index bad68b110fb..00000000000 --- a/net/rdist6/patches/patch-ag +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-ag,v 1.1 1999/08/29 12:26:23 kim Exp $ - ---- mf/Makefile.var.orig Mon Mar 23 20:11:06 1998 -+++ mf/Makefile.var Sun Aug 29 08:00:16 1999 -@@ -172,6 +172,7 @@ - config/mf.mipsos4 \ - config/mf.mipsos5 \ - config/mf.ncr \ -+ config/mf.netbsd \ - config/mf.nextstep2 \ - config/mf.nextstep3 \ - config/mf.osf1 \ -@@ -214,6 +215,7 @@ - config/os-mipsos4.h \ - config/os-mipsos5.h \ - config/os-ncr.h \ -+ config/os-netbsd.h \ - config/os-nextstep2.h \ - config/os-nextstep3.h \ - config/os-osf1.h \ diff --git a/net/rdist6/patches/patch-ah b/net/rdist6/patches/patch-ah deleted file mode 100644 index c60bdcc985e..00000000000 --- a/net/rdist6/patches/patch-ah +++ /dev/null @@ -1,34 +0,0 @@ -$NetBSD: patch-ah,v 1.1 1999/08/29 12:26:23 kim Exp $ - ---- Makefile.local.orig Mon Feb 5 13:50:27 1996 -+++ Makefile.local Sun Aug 29 07:50:08 1999 -@@ -8,7 +8,9 @@ - # BIN_DIR variable, you would uncomment the following line - # or add your own line. - # --#BIN_DIR = /usr/bin -+BIN_DIR= ${PREFIX}/bin -+ -+CLIENT= ${RDIST6_NAME} - - # - # Add any local definitions you want pass to the compiler to DEFS_LOCAL -@@ -28,6 +30,7 @@ - # - #OPT = -O - #OPT = -+OPT= -O - - # - # You may want to use your own C Compiler (such as GCC) by enabling -@@ -45,8 +48,8 @@ - # - # Site specific Man Page configuration. - # --#MAN_1_DIR = /usr/local/man/man1 --#MAN_8_DIR = /usr/local/man/man8 -+MAN_1_DIR = ${PREFIX}/man/man1 -+MAN_8_DIR = ${PREFIX}/man/man8 - #MAN_OWNER = bin - #MAN_GROUP = bin - #MAN_MODE = 644 |