aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2006-10-06 01:09:55 +0800
committervd <vd@FreeBSD.org>2006-10-06 01:09:55 +0800
commit1f5891fc475e72700a7a44eb40c6fc597ddcb0ff (patch)
treedb378e2d1999c2e8eaf1a22699f9501371f3c415
parent0c34bf9e6d44525c3cb3cce0f97bfbc835c64124 (diff)
downloadfreebsd-ports-gnome-1f5891fc475e72700a7a44eb40c6fc597ddcb0ff.tar.gz
freebsd-ports-gnome-1f5891fc475e72700a7a44eb40c6fc597ddcb0ff.tar.zst
freebsd-ports-gnome-1f5891fc475e72700a7a44eb40c6fc597ddcb0ff.zip
Upgrade:
* net/coda6_server and net/coda6_client from 6.0.7 to 6.1.1 and thus un-DEPRECATE them * devel/rvm from 1.10 to 1.13 * devel/lwp from 1.12 to 2.3 * devel/rpc2 from 1.28 to 2.2 These four are tightly related so I upgrade them in one.. well.. changeset
-rw-r--r--devel/lwp/Makefile17
-rw-r--r--devel/lwp/distinfo6
-rw-r--r--devel/lwp/files/patch-configure10
-rw-r--r--devel/rpc2/Makefile13
-rw-r--r--devel/rpc2/distinfo6
-rw-r--r--devel/rpc2/files/patch-secure_secure_init.c11
-rw-r--r--devel/rpc2/pkg-plist7
-rw-r--r--devel/rvm/Makefile12
-rw-r--r--devel/rvm/distinfo6
-rw-r--r--net/coda6_client/Makefile3
-rw-r--r--net/coda6_client/pkg-plist10
-rw-r--r--net/coda6_server/Makefile86
-rw-r--r--net/coda6_server/distinfo6
-rw-r--r--net/coda6_server/files/patch-coda-src_scripts_Makefile.in24
-rw-r--r--net/coda6_server/files/patch-coda-src_venus_fso1.cc11
-rw-r--r--net/coda6_server/files/patch-coda.h22
-rw-r--r--net/coda6_server/files/patch-configure25
-rw-r--r--net/coda6_server/files/patch-hostname33
-rw-r--r--net/coda6_server/files/patch-pioctl.h10
-rw-r--r--net/coda6_server/files/patch-srv.cc20
-rw-r--r--net/coda6_server/pkg-plist5
21 files changed, 157 insertions, 186 deletions
diff --git a/devel/lwp/Makefile b/devel/lwp/Makefile
index ba0888abb956..8656f5913cee 100644
--- a/devel/lwp/Makefile
+++ b/devel/lwp/Makefile
@@ -6,10 +6,12 @@
#
PORTNAME= lwp
-PORTVERSION= 1.12
-PORTREVISION= 1
+PORTVERSION= 2.3
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/lwp/src/
+MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/lwp/src/ \
+ ftp://ftp.wu-wien.ac.at/pub/systems/coda/src/ \
+ ftp://ftp.planetmirror.com/pub/coda/src/ \
+ ftp://ftp.nctu.edu.tw/mirror/Coda/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= A userspace thread library
@@ -17,12 +19,7 @@ COMMENT= A userspace thread library
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-USE_LDCONFIG= yes
-
-.include <bsd.port.pre.mk>
-.if ${ARCH} != "i386" && ${ARCH} != "alpha"
-BROKEN= "Does not compile on !i386 and !alpha"
-.endif
+USE_LDCONFIG= yes
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/lwp/distinfo b/devel/lwp/distinfo
index 50bc869ef130..7393f6257238 100644
--- a/devel/lwp/distinfo
+++ b/devel/lwp/distinfo
@@ -1,3 +1,3 @@
-MD5 (lwp-1.12.tar.gz) = 5b4139c9b1ac393de433683ed355425b
-SHA256 (lwp-1.12.tar.gz) = 0a61a7a91daf9b1b51890899503a99d018eb747ac9de755ad00f6d5fdc17465e
-SIZE (lwp-1.12.tar.gz) = 365064
+MD5 (lwp-2.3.tar.gz) = 8dfc35e6ef31598cfa35cb377e2387f8
+SHA256 (lwp-2.3.tar.gz) = fe2e6a094b2a5863319bb19efe0d54097fa110b1a953473ba20521dadbeeea2f
+SIZE (lwp-2.3.tar.gz) = 381102
diff --git a/devel/lwp/files/patch-configure b/devel/lwp/files/patch-configure
deleted file mode 100644
index 4b50e9c180b7..000000000000
--- a/devel/lwp/files/patch-configure
+++ /dev/null
@@ -1,10 +0,0 @@
---- configure.orig Thu Oct 11 06:14:08 2001
-+++ configure Sun Dec 1 08:37:18 2002
-@@ -6872,6 +6872,7 @@
-
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/devel/rpc2/Makefile b/devel/rpc2/Makefile
index ebe7ac68ac0f..b5787c114eea 100644
--- a/devel/rpc2/Makefile
+++ b/devel/rpc2/Makefile
@@ -6,18 +6,23 @@
#
PORTNAME= rpc2
-PORTVERSION= 1.28
+PORTVERSION= 2.2
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/rpc2/src/
+MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/rpc2/src/ \
+ ftp://ftp.wu-wien.ac.at/pub/systems/coda/src/ \
+ ftp://ftp.planetmirror.com/pub/coda/src/ \
+ ftp://ftp.nctu.edu.tw/mirror/Coda/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= An interprocess communication library
LIB_DEPENDS= lwp.2:${PORTSDIR}/devel/lwp
-GNU_CONFIGURE= yes
USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_PERL5= yes
-INSTALLS_SHLIB= yes
+
+USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/devel/rpc2/distinfo b/devel/rpc2/distinfo
index 72f4a1d28e20..407a923aab86 100644
--- a/devel/rpc2/distinfo
+++ b/devel/rpc2/distinfo
@@ -1,3 +1,3 @@
-MD5 (rpc2-1.28.tar.gz) = 851fe1bd5a23e255cb069f3776a61761
-SHA256 (rpc2-1.28.tar.gz) = 2ba3cb66d1c6c63675169e80bb062406b9e2a719459b4d5eec98360b96b29b24
-SIZE (rpc2-1.28.tar.gz) = 560597
+MD5 (rpc2-2.2.tar.gz) = 2609ed0e6ad81b77fe7613af1de40b97
+SHA256 (rpc2-2.2.tar.gz) = c6e26b7cdcec8334ad56111b3afadf48a0149f14210e9305963f3de18a44c69e
+SIZE (rpc2-2.2.tar.gz) = 629592
diff --git a/devel/rpc2/files/patch-secure_secure_init.c b/devel/rpc2/files/patch-secure_secure_init.c
new file mode 100644
index 000000000000..152f4e302162
--- /dev/null
+++ b/devel/rpc2/files/patch-secure_secure_init.c
@@ -0,0 +1,11 @@
+--- secure/secure_init.c.orig Thu Oct 5 14:51:00 2006
++++ secure/secure_init.c Thu Oct 5 14:52:06 2006
+@@ -13,6 +13,8 @@
+ Additional copyrights
+ #*/
+
++#include <netinet/in.h> /* ``struct sockaddr_in'' in (at least) FreeBSD */
++
+ #include <stdio.h>
+ #include <string.h>
+ #include <syslog.h>
diff --git a/devel/rpc2/pkg-plist b/devel/rpc2/pkg-plist
index d121188a500e..8b8ebe4cedde 100644
--- a/devel/rpc2/pkg-plist
+++ b/devel/rpc2/pkg-plist
@@ -8,17 +8,18 @@ include/rpc2/multi.h
include/rpc2/rpc2.h
include/rpc2/rpc2_addrinfo.h
include/rpc2/se.h
+include/rpc2/secure.h
include/rpc2/sftp.h
lib/libfail.a
lib/libfail.la
lib/libfail.so
-lib/libfail.so.6
+lib/libfail.so.8
lib/librpc2.a
lib/librpc2.la
lib/librpc2.so
-lib/librpc2.so.6
+lib/librpc2.so.8
lib/libse.a
lib/libse.la
lib/libse.so
-lib/libse.so.6
+lib/libse.so.8
@dirrm include/rpc2
diff --git a/devel/rvm/Makefile b/devel/rvm/Makefile
index 385dc13aa0cc..c48a44efc536 100644
--- a/devel/rvm/Makefile
+++ b/devel/rvm/Makefile
@@ -6,10 +6,12 @@
#
PORTNAME= rvm
-PORTVERSION= 1.10
-PORTREVISION= 1
+PORTVERSION= 1.13
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/rvm/src/
+MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/rvm/src/ \
+ ftp://ftp.wu-wien.ac.at/pub/systems/coda/src/ \
+ ftp://ftp.planetmirror.com/pub/coda/src/ \
+ ftp://ftp.nctu.edu.tw/mirror/Coda/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= A persistent VM library
@@ -18,6 +20,8 @@ LIB_DEPENDS= lwp.2:${PORTSDIR}/devel/lwp
USE_GMAKE= yes
GNU_CONFIGURE= yes
-INSTALLS_SHLIB= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/devel/rvm/distinfo b/devel/rvm/distinfo
index a7d49861aa21..fd42d49db9cc 100644
--- a/devel/rvm/distinfo
+++ b/devel/rvm/distinfo
@@ -1,3 +1,3 @@
-MD5 (rvm-1.10.tar.gz) = 284866164a3f016e944d1bd1854e23ba
-SHA256 (rvm-1.10.tar.gz) = 955c18e112bda7c2b5579b13077dfcf4353035c1ee1d61bd723dcbd1c5b55c66
-SIZE (rvm-1.10.tar.gz) = 524743
+MD5 (rvm-1.13.tar.gz) = d294a627330e21620207b0cdbe160bcb
+SHA256 (rvm-1.13.tar.gz) = 41c7dc98ca25b16a943b7a970af26149ae1aea6a5b18d7f7e08126f3ba8e731a
+SIZE (rvm-1.13.tar.gz) = 537401
diff --git a/net/coda6_client/Makefile b/net/coda6_client/Makefile
index 7fbb3befd550..5da94afae239 100644
--- a/net/coda6_client/Makefile
+++ b/net/coda6_client/Makefile
@@ -4,9 +4,6 @@
#
# $FreeBSD$
-PORTNAME= coda
-PORTVERSION= ${CODA_VERSION}
-
COMMENT= Client programs for a replicated high-performance network file system
MASTERDIR= ${.CURDIR}/../coda6_server
diff --git a/net/coda6_client/pkg-plist b/net/coda6_client/pkg-plist
index f174294a477d..2a133ffd4e61 100644
--- a/net/coda6_client/pkg-plist
+++ b/net/coda6_client/pkg-plist
@@ -1,30 +1,32 @@
+bin/au
bin/cfs
bin/clog
bin/cmon
+bin/coda_replay
bin/codacon
bin/cpasswd
bin/ctokens
bin/cunlog
bin/filerepair
bin/hoard
+bin/mkcodabf
bin/mklka
bin/parser
bin/removeinc
bin/repair
-bin/coda_replay
bin/spy
+bin/vcodacon
bin/xaskuser
bin/xfrepair
etc/coda/realms
etc/coda/sidekick.intr.ex
etc/coda/venus.conf.ex
-sbin/au
+sbin/asrlauncher
sbin/coda-client-logrotate
-sbin/coda-setup-ports
sbin/codaconfedit
sbin/sidekick
sbin/venus
sbin/venus-setup
sbin/volmunge
sbin/vutil
-@dirrm etc/coda
+@dirrmtry etc/coda
diff --git a/net/coda6_server/Makefile b/net/coda6_server/Makefile
index 5be573d7fb14..f6724344afad 100644
--- a/net/coda6_server/Makefile
+++ b/net/coda6_server/Makefile
@@ -5,56 +5,88 @@
# $FreeBSD$
PORTNAME= coda
-PORTVERSION= ${CODA_VERSION}
+PORTVERSION= 6.1.1
CATEGORIES= net
-MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/coda/src/
+# as of 5 Oct 2006 the archive is not present on ftp.wu-wien.ac.at
+# but maybe it'll appear there soon
+MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/coda/src/ \
+ ftp://ftp.planetmirror.com/pub/coda/src/ \
+ ftp://ftp.nctu.edu.tw/mirror/Coda/src/ \
+ ftp://ftp.wu-wien.ac.at/pub/systems/coda/src/
PKGNAMESUFFIX= -${CODA_SUITE}
-DISTNAME= coda-${PORTVERSION}
-MAINTAINER?= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Server programs for a replicated high-performance network file system
LIB_DEPENDS= lwp.2:${PORTSDIR}/devel/lwp \
- rpc2.6:${PORTSDIR}/devel/rpc2 \
+ rpc2.8:${PORTSDIR}/devel/rpc2 \
rvm.3:${PORTSDIR}/devel/rvm
-CONFLICTS= coda-server-5.*
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --mandir=${PREFIX}/man
ALL_TARGET= coda
INSTALL_TARGET= ${CODA_SUITE}-install
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
-
CODA_SUITE?= server
-CODA_VERSION?= 6.0.7
.if ${CODA_SUITE} == server
-MAN5= vicetab.5 passwd.coda.5
-MAN8= pdbtool.8 auth2.8 initpw.8 norton.8
+MAN5= backuplogs.5 \
+ dumpfile.5 \
+ dumplist.5 \
+ maxgroupid.5 \
+ passwd.coda.5 \
+ servers.5 \
+ vicetab.5 \
+ volumelist.5 \
+ vrdb.5
+MAN8= auth2.8 \
+ backup.8 \
+ bldvldb.sh.8 \
+ codasrv.8 \
+ createvol_rep.8 \
+ initpw.8 \
+ merge.8 \
+ norton.8 \
+ pdbtool.8 \
+ purgevol_rep.8 \
+ readdump.8 \
+ startserver.8 \
+ updateclnt.8 \
+ updatesrv.8 \
+ vice-setup.8 \
+ volutil.8 \
+ vutil.8
.else
-MAN1= clog.1 cpasswd.1 ctokens.1 cunlog.1 \
- repair.1 cfs.1 cmon.1 coda_replay.1 \
- hoard.1 spy.1
-MAN8= au.8 venus.8
+MAN1= au.1 \
+ cfs.1 \
+ clog.1 \
+ cmon.1 \
+ coda_replay.1 \
+ cpasswd.1 \
+ ctokens.1 \
+ cunlog.1 \
+ hoard.1 \
+ mkcodabf.1 \
+ repair.1 \
+ spy.1
+MAN8= venus-setup.8 \
+ venus.8 \
+ volmunge.8
.endif
.include <bsd.port.pre.mk>
.if ${CODA_SUITE} == client
.if ${OSVERSION} < 501106
-IGNORE= lacks kernel support on this version of FreeBSD
+IGNORE= lacks kernel support on this version of FreeBSD
.endif
-.if ${OSVERSION} >= 600000
-IGNORE= makes a kernel panic on this version of FreeBSD
+# this needs testing with the new version (6.1.1)
+#.if ${OSVERSION} >= 600000
+#IGNORE= makes a kernel panic on this version of FreeBSD
+#.endif
.endif
-.endif
-
-.if ${OSVERSION} > 505000
-BROKEN= does not compile
-.endif
-
-DEPRECATED= compiles neither on 5-STABLE nor 6-STABLE; current version is quite old
-EXPIRATION_DATE= 2006-10-11
.include <bsd.port.post.mk>
diff --git a/net/coda6_server/distinfo b/net/coda6_server/distinfo
index 5951da9781e9..4c0cfee33daf 100644
--- a/net/coda6_server/distinfo
+++ b/net/coda6_server/distinfo
@@ -1,3 +1,3 @@
-MD5 (coda-6.0.7.tar.gz) = 0f22c4f1743d7c6bc9d1c103e193905b
-SHA256 (coda-6.0.7.tar.gz) = 2cad6e7d4081e393db11df826da5b9f7233e5ddae30035f3f502c75e1c613b93
-SIZE (coda-6.0.7.tar.gz) = 1536304
+MD5 (coda-6.1.1.tar.gz) = 58916173c6e0fcdbeb0c1bbca9ee9e52
+SHA256 (coda-6.1.1.tar.gz) = c741ae187bd82cca4a3056ae21e0e77ac7e6c789738577e1468e0f3793d8b531
+SIZE (coda-6.1.1.tar.gz) = 1571873
diff --git a/net/coda6_server/files/patch-coda-src_scripts_Makefile.in b/net/coda6_server/files/patch-coda-src_scripts_Makefile.in
new file mode 100644
index 000000000000..5584c0f82a8e
--- /dev/null
+++ b/net/coda6_server/files/patch-coda-src_scripts_Makefile.in
@@ -0,0 +1,24 @@
+
+coda-setup-ports is useless with a recent /etc/services and it is the only
+file installed by both server and client thus remove it to avoid conflicting
+plists
+
+--- coda-src/scripts/Makefile.in.orig Wed Apr 27 03:12:50 2005
++++ coda-src/scripts/Makefile.in Thu Oct 5 19:36:14 2006
+@@ -25,14 +25,14 @@
+ # Need to conditionalize this
+ include $(TOPDIR)/Makeconf
+
+-VENUS-SCRIPTS = vutil volmunge venus-setup coda-setup-ports \
++VENUS-SCRIPTS = vutil volmunge venus-setup \
+ coda-client-logrotate
+
+ VOL-SCRIPTS = createvol_rep purgevol_rep bldvldb.sh
+ VICE-SCRIPTS = startserver codastart coda-server-logrotate
+ REINIT-SCRIPTS = partial-reinit.sh
+ UPGRADE-SCRIPTS = #pwdtopdbtool.py
+-VICE-SETUP = vice-setup vice-setup-rvm vice-setup-scm vice-setup-srvdir vice-setup-user vice-killvolumes coda-setup-ports
++VICE-SETUP = vice-setup vice-setup-rvm vice-setup-scm vice-setup-srvdir vice-setup-user vice-killvolumes
+
+ BACKUP-SCRIPTS = backup.sh tape.pl
+
diff --git a/net/coda6_server/files/patch-coda-src_venus_fso1.cc b/net/coda6_server/files/patch-coda-src_venus_fso1.cc
new file mode 100644
index 000000000000..e7be0d222e86
--- /dev/null
+++ b/net/coda6_server/files/patch-coda-src_venus_fso1.cc
@@ -0,0 +1,11 @@
+--- coda-src/venus/fso1.cc.orig Thu Oct 5 16:11:23 2006
++++ coda-src/venus/fso1.cc Thu Oct 5 16:18:40 2006
+@@ -2895,7 +2895,7 @@
+ char confstr[4];
+
+ close(pfd[1]);
+- if(setpgrp() < 0) { perror("setpgrp"); exit(EXIT_FAILURE); }
++ if(setpgid(0, 0) < 0) { perror("setpgid"); exit(EXIT_FAILURE); }
+
+ sprintf(confstr, "%d", conflict_type);
+
diff --git a/net/coda6_server/files/patch-coda.h b/net/coda6_server/files/patch-coda.h
deleted file mode 100644
index 5865405dde2d..000000000000
--- a/net/coda6_server/files/patch-coda.h
+++ /dev/null
@@ -1,22 +0,0 @@
-On Thu, Sep 18, 2003 at 07:50:18PM -0700, Kris Kennaway wrote:
-
-> http://bento.freebsd.org/errorlogs/i386-4-full/coda-server-6.0.2_1.log
->
-> Can you please investigate?
-
-Drop this file into ports/coda6_server/files/patch-aa (or disconnect it from
-the build - coda 6 is not very useful on freebsd 4).
-
---- lib-src/kernel-includes/coda.h.orig Fri Sep 19 18:34:03 2003
-+++ lib-src/kernel-includes/coda.h Fri Sep 19 18:34:19 2003
-@@ -125,8 +125,8 @@
- #define __BIT_TYPES_DEFINED__
- #endif
-
--/* FreeBSD 5.0 */
--#if __FreeBSD__ >= 5
-+/* FreeBSD 3.0 and above */
-+#if __FreeBSD__ >= 3
- #define __BIT_TYPES_DEFINED__
- #endif
-
diff --git a/net/coda6_server/files/patch-configure b/net/coda6_server/files/patch-configure
deleted file mode 100644
index 8d494fe471e9..000000000000
--- a/net/coda6_server/files/patch-configure
+++ /dev/null
@@ -1,25 +0,0 @@
---- configure.orig Wed Oct 20 20:43:56 2004
-+++ configure Tue Nov 16 23:58:20 2004
-@@ -3059,13 +3059,6 @@
- initsuffix='../etc'
- ;;
-
-- */coda* )
-- # If '/coda*' is already in the prefix, we don't need to add
-- # a coda subdirectory to the sysconfdir.
-- sysconfdir=${prefix}/etc
-- initsuffix='etc'
-- ;;
--
- * )
- # Otherwise append '/coda' so that we don't throw our configuration
- # files all over the place.
-@@ -3074,7 +3067,7 @@
- else
- sysconfdir=${ac_default_prefix}/etc/coda
- fi
-- initsuffix='etc'
-+ initsuffix='etc/rc.d'
- ;;
- esac
- echo "$as_me:$LINENO: result: ${sysconfdir}" >&5
diff --git a/net/coda6_server/files/patch-hostname b/net/coda6_server/files/patch-hostname
deleted file mode 100644
index 924cdf96916f..000000000000
--- a/net/coda6_server/files/patch-hostname
+++ /dev/null
@@ -1,33 +0,0 @@
---- coda-src/scripts/vice-setup.in.orig Tue Oct 5 18:36:16 2004
-+++ coda-src/scripts/vice-setup.in Wed Nov 17 00:40:31 2004
-@@ -318,7 +318,7 @@
- #
- # ${vicedir}/hostname
- #
--hn=`hostname -f`
-+hn=`hostname`
- echo $hn > ${vicedir}/hostname
-
- #
---- coda-src/scripts/vice-setup-scm.orig Tue Oct 5 18:36:16 2004
-+++ coda-src/scripts/vice-setup-scm Wed Nov 17 00:40:12 2004
-@@ -53,7 +53,7 @@
- # making hostname
- #
-
--hn=`hostname -f`
-+hn=`hostname`
- cd ${vicedir}/db
-
- if [ $numservers -eq 1 ]; then
---- coda-src/scripts/vice-setup-srvdir.orig Sat Sep 4 08:03:32 2004
-+++ coda-src/scripts/vice-setup-srvdir Wed Nov 17 11:00:10 2004
-@@ -32,7 +32,7 @@
- numservers=1
- . "`codaconfedit server.conf`"
-
--hn=`hostname -f`
-+hn=`hostname`
-
- n=1
- while [ $n -le $numservers ]; do
diff --git a/net/coda6_server/files/patch-pioctl.h b/net/coda6_server/files/patch-pioctl.h
index d2ca61184263..2bdeff78574a 100644
--- a/net/coda6_server/files/patch-pioctl.h
+++ b/net/coda6_server/files/patch-pioctl.h
@@ -1,11 +1,11 @@
---- coda-src/kerndep/pioctl.h.orig Thu Aug 26 17:23:04 2004
-+++ coda-src/kerndep/pioctl.h Tue Nov 16 22:04:33 2004
-@@ -104,7 +104,7 @@
+--- coda-src/kerndep/pioctl.h.orig Thu Oct 5 11:54:04 2006
++++ coda-src/kerndep/pioctl.h Thu Oct 5 11:54:20 2006
+@@ -81,7 +81,7 @@
/* unpacking macros */
#ifndef _IOC_NR
--#if defined(__CYGWIN32__) || defined(__NetBSD__)
-+#if defined(__CYGWIN32__) || defined(__NetBSD__) || defined(__FreeBSD__)
+-#if defined(__NetBSD__)
++#if defined(__NetBSD__) || defined(__FreeBSD__)
#define _IOC_TYPEMASK 0xff
#define _IOC_TYPESHIFT 8
#define _IOC_NRMASK 0xff
diff --git a/net/coda6_server/files/patch-srv.cc b/net/coda6_server/files/patch-srv.cc
deleted file mode 100644
index b070dc255870..000000000000
--- a/net/coda6_server/files/patch-srv.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- coda-src/vice/srv.cc.orig Fri Sep 3 16:22:14 2004
-+++ coda-src/vice/srv.cc Tue Nov 16 22:19:04 2004
-@@ -1204,6 +1204,7 @@
- void SwapLog()
- {
- struct timeval tp;
-+ time_t start;
-
- /* Need to chdir() again, since salvage may have put me elsewhere */
- if(chdir(vice_file("srv"))) {
-@@ -1216,7 +1217,8 @@
-
- /* Print out time/date, since date info has "scrolled off" */
- TM_GetTimeOfDay(&tp, 0);
-- SLog(0, "Coda Vice, version " PACKAGE_VERSION "\tlog started at %s", ctime(&tp.tv_sec));
-+ start=tp.tv_sec;
-+ SLog(0, "Coda Vice, version " PACKAGE_VERSION "\tlog started at %s", ctime(&start));
- }
-
- static void FileMsg()
diff --git a/net/coda6_server/pkg-plist b/net/coda6_server/pkg-plist
index e27aea93aded..8563044bd040 100644
--- a/net/coda6_server/pkg-plist
+++ b/net/coda6_server/pkg-plist
@@ -4,7 +4,7 @@ bin/rpc2ping
bin/rvmsizer
bin/smon2
etc/coda/server.conf.ex
-@dirrm etc/coda
+@dirrmtry etc/coda
sbin/auth2
sbin/backup
sbin/backup.sh
@@ -12,7 +12,6 @@ sbin/bldvldb.sh
sbin/codadump2tar
sbin/codaconfedit
sbin/coda-server-logrotate
-sbin/coda-setup-ports
sbin/codasrv
sbin/codastart
sbin/createvol_rep
@@ -25,10 +24,8 @@ sbin/parserecdump
sbin/partial-reinit.sh
sbin/pdbtool
sbin/printvrdb
-sbin/purgevol
sbin/purgevol_rep
sbin/readdump
-sbin/rpc2portmap
sbin/startserver
sbin/tape.pl
sbin/updateclnt