summaryrefslogtreecommitdiff
path: root/net/coda6_server/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/coda6_server/files')
-rw-r--r--net/coda6_server/files/patch-coda-src-venus-hdb.cc10
-rw-r--r--net/coda6_server/files/patch-coda-src-venus-user.cc19
-rw-r--r--net/coda6_server/files/patch-coda-src-venus-worker.cc24
-rw-r--r--net/coda6_server/files/patch-coda-src_kerndep_coda.h32
-rw-r--r--net/coda6_server/files/patch-coda-src_venus_vol__cml.cc12
-rw-r--r--net/coda6_server/files/patch-configure21
-rw-r--r--net/coda6_server/files/patch-lib-src-base-coda_getaddrinfo.c13
7 files changed, 0 insertions, 131 deletions
diff --git a/net/coda6_server/files/patch-coda-src-venus-hdb.cc b/net/coda6_server/files/patch-coda-src-venus-hdb.cc
deleted file mode 100644
index d2733a30e194..000000000000
--- a/net/coda6_server/files/patch-coda-src-venus-hdb.cc
+++ /dev/null
@@ -1,10 +0,0 @@
---- coda-src/venus/hdb.cc.orig 2008-12-16 15:12:10 UTC
-+++ coda-src/venus/hdb.cc
-@@ -58,7 +58,6 @@ extern "C" {
- #include <stdlib.h>
- #include <pwd.h>
- #include <fcntl.h>
--#include <utmp.h>
-
- #include <codadir.h>
-
diff --git a/net/coda6_server/files/patch-coda-src-venus-user.cc b/net/coda6_server/files/patch-coda-src-venus-user.cc
deleted file mode 100644
index 43aa13c9e667..000000000000
--- a/net/coda6_server/files/patch-coda-src-venus-user.cc
+++ /dev/null
@@ -1,19 +0,0 @@
---- coda-src/venus/user.cc.orig 2007-08-01 18:31:21 UTC
-+++ coda-src/venus/user.cc
-@@ -42,7 +42,6 @@ extern "C" {
- #include <netinet/in.h>
- #include <errno.h>
- #include <struct.h>
--#include <utmp.h>
- #include <pwd.h>
-
- #include <rpc2/rpc2.h>
-@@ -167,7 +166,7 @@ int AuthorizedUser(uid_t thisUser)
-
- int ConsoleUser(uid_t user)
- {
--#ifdef __CYGWIN32__
-+#if 1
- return(1);
-
- #elif defined(__linux__)
diff --git a/net/coda6_server/files/patch-coda-src-venus-worker.cc b/net/coda6_server/files/patch-coda-src-venus-worker.cc
deleted file mode 100644
index 90372459a815..000000000000
--- a/net/coda6_server/files/patch-coda-src-venus-worker.cc
+++ /dev/null
@@ -1,24 +0,0 @@
---- coda-src/venus/worker.cc.orig 2008-10-06 16:52:22 UTC
-+++ coda-src/venus/worker.cc
-@@ -397,17 +397,17 @@ void VFSMount()
- md[0].iov_base = (char *)"fstype"; md[0].iov_len = sizeof("fstype");
- md[1].iov_base = (char *)"coda"; md[1].iov_len = sizeof("coda");
- md[2].iov_base = (char *)"fspath"; md[2].iov_len = sizeof("fspath");
-- md[3].iov_base = venusRoot; md[3].iov_len = strlen(venusRoot) + 1;
-+ md[3].iov_base = (char *)venusRoot; md[3].iov_len = strlen((char *)venusRoot) + 1;
- md[4].iov_base = (char *)"from"; md[4].iov_len = sizeof("from");
-- md[5].iov_base = kernDevice; md[5].iov_len = strlen(kernDevice) + 1;
-+ md[5].iov_base = (char *)kernDevice; md[5].iov_len = strlen((char *)kernDevice) + 1;
- error = nmount(md, 6, 0);
- }
- #endif
-
- if (error < 0)
-- error = mount("coda", venusRoot, 0, kernDevice);
-+ error = mount("coda", (char *)venusRoot, 0, (char *)kernDevice);
- if (error < 0)
-- error = mount("cfs", venusRoot, 0, kernDevice);
-+ error = mount("cfs", (char *)venusRoot, 0, (char *)kernDevice);
- #if defined(__FreeBSD__) && !defined(__FreeBSD_version)
- #define MOUNT_CFS 19
- if (error < 0)
diff --git a/net/coda6_server/files/patch-coda-src_kerndep_coda.h b/net/coda6_server/files/patch-coda-src_kerndep_coda.h
deleted file mode 100644
index f7873b14d3ce..000000000000
--- a/net/coda6_server/files/patch-coda-src_kerndep_coda.h
+++ /dev/null
@@ -1,32 +0,0 @@
---- coda-src/kerndep/coda.h.orig 2007-08-01 18:32:36 UTC
-+++ coda-src/kerndep/coda.h
-@@ -184,13 +184,29 @@ struct venus_dirent {
-
- #ifndef _VENUS_DIRENT_T_
- #define _VENUS_DIRENT_T_ 1
-+#if defined(__FreeBSD__)
-+#include <sys/param.h>
-+#endif
-+#if defined(__FreeBSD__) && (__FreeBSD_version >= 1200031)
- struct venus_dirent {
-+ ino_t d_fileno; /* file number of entry */
-+ off_t d_off; /* directory offset of entry */
-+ uint16_t d_reclen; /* length of this record */
-+ uint8_t d_type; /* file type, see below */
-+ uint8_t d_pad0;
-+ uint16_t d_namlen; /* length of string in d_name */
-+ uint16_t d_pad1;
-+ char d_name[255 + 1]; /* name must be no longer than this */
-+};
-+#else
-+struct venus_dirent {
- unsigned int d_fileno; /* file number of entry */
- unsigned short d_reclen; /* length of this record */
- unsigned char d_type; /* file type, see below */
- unsigned char d_namlen; /* length of string in d_name */
- char d_name[CODA_MAXNAMLEN + 1];/* name must be no longer than this */
- };
-+#endif
- #undef DIRSIZ
- #define DIRSIZ(dp) ((sizeof (struct venus_dirent) - (CODA_MAXNAMLEN+1)) + \
- (((dp)->d_namlen+1 + 3) &~ 3))
diff --git a/net/coda6_server/files/patch-coda-src_venus_vol__cml.cc b/net/coda6_server/files/patch-coda-src_venus_vol__cml.cc
deleted file mode 100644
index 9755accb64cc..000000000000
--- a/net/coda6_server/files/patch-coda-src_venus_vol__cml.cc
+++ /dev/null
@@ -1,12 +0,0 @@
---- coda-src/venus/vol_cml.cc.orig 2008-10-06 16:52:54 UTC
-+++ coda-src/venus/vol_cml.cc
-@@ -3606,7 +3606,8 @@ static int WriteLinks(struct DirEntry *de, void *arg)
- {
- VnodeId vnode;
- Unique_t vunique;
-- char *name = de->name, *comp;
-+ char *name = de->name;
-+ const char *comp;
- size_t prefixlen;
- char namebuf[CODA_MAXPATHLEN];
- struct WriteLinksHook *hook = (struct WriteLinksHook *)arg;
diff --git a/net/coda6_server/files/patch-configure b/net/coda6_server/files/patch-configure
deleted file mode 100644
index 34cb1047cb6e..000000000000
--- a/net/coda6_server/files/patch-configure
+++ /dev/null
@@ -1,21 +0,0 @@
---- configure.orig 2008-12-19 22:04:04 UTC
-+++ configure
-@@ -20699,17 +20699,11 @@ echo "${ECHO_T}RedHat" >&6; }
- initdir='${prefix}'/${initdir}/rc.d/init.d
- initstyle=sysv
-
--elif test -d ${prefix}/${initdir}/rc.d ; then
-+else
- # probably FreeBSD or NetBSD's BSD-style init-scripts.
- { echo "$as_me:$LINENO: result: BSD style" >&5
- echo "${ECHO_T}BSD style" >&6; }
- initdir='${prefix}'/${initdir}/rc.d
-- initstyle=bsd
--
--else
-- { echo "$as_me:$LINENO: result: unknown, installing BSD scripts in ${initdir}" >&5
--echo "${ECHO_T}unknown, installing BSD scripts in ${initdir}" >&6; }
-- initdir='${prefix}'/${initdir}
- initstyle=bsd
- fi
-
diff --git a/net/coda6_server/files/patch-lib-src-base-coda_getaddrinfo.c b/net/coda6_server/files/patch-lib-src-base-coda_getaddrinfo.c
deleted file mode 100644
index 32b8c4b9f50c..000000000000
--- a/net/coda6_server/files/patch-lib-src-base-coda_getaddrinfo.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- lib-src/base/coda_getaddrinfo.c.orig 2007-07-20 21:34:55 UTC
-+++ lib-src/base/coda_getaddrinfo.c
-@@ -37,6 +37,10 @@ Coda are listed in the file CREDITS.
- #endif
-
- #include <sys/types.h>
-+#include <sys/param.h>
-+#include <netinet/in.h>
-+#include <arpa/nameser.h>
-+#include <resolv.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>