head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q1:1.3.0.4 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.2 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.2.0.48 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.46 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.44 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.42 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.40 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.38 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.36 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.34 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.32 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.30 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.28 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.26 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.24 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.22 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.20 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.18 pkgsrc-2008Q1:1.2.0.16 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.14 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.12 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.10 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.8 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.6 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.4 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.2 pkgsrc-2006Q2-base:1.2 pkgsrc-20060520:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2012.05.18.03.21.06; author schnoebe; state dead; branches; next 1.3; 1.3 date 2011.10.03.23.45.27; author schnoebe; state Exp; branches; next 1.2; 1.2 date 2006.05.30.19.24.27; author wiz; state Exp; branches; next 1.1; 1.1 date 2006.05.20.23.38.16; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2006.05.20.23.38.16; author wiz; state Exp; branches; next ; desc @@ 1.4 log @Update to 1.0.23: changes from 1.0.22 to 1.0.23 ----------------------------- * have cvsd-buildroot look in all multiarch subdirectories of /lib for NSS libraries * portability improvement by Eric Schnoebelen * Debian packaging updates @ text @$NetBSD: patch-ad,v 1.3 2011/10/03 23:45:27 schnoebe Exp $ Update for NetBSD, and other BSDs. --- cvsd-buildroot.in.orig 2011-06-10 07:48:57.000000000 +0000 +++ cvsd-buildroot.in @@@@ -62,6 +62,8 @@@@ EXTRALIBS="$EXTRALIBS ld-elf.so" EXTRALIBS="$EXTRALIBS libnss_compat.so.2 libnss_files.so.2" # for OpenBSD: EXTRALIBS="$EXTRALIBS /usr/libexec/ld.so" +# for NetBSD +EXTRALIBS="$EXTRALIBS /usr/libexec/ld.elf_so /libexec/ld.elf_so" # for Solaris: EXTRALIBS="$EXTRALIBS /usr/lib/ld.so.1 nss_files.so.1" @@@@ -374,14 +376,16 @@@@ then fi fi -# for systems with strange password files (OpenBSD) +# for systems with strange password files (OpenBSD/NetBSD/FreeBSD) if [ -r /etc/master.passwd ] && [ -r /etc/pwd.db ] && [ -x /usr/sbin/pwd_mkdb ] then echo $ECHO_N "making $ROOT/etc/pwd.db...$ECHO_C" # convert /etc/passwd to /etc/master.passwd sed 's|\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\)|\1:\2:\3:\4::0:0:\5:\6:\7|' \ < "$ROOT/etc/passwd" > "$ROOT/etc/master.passwd" - /usr/sbin/pwd_mkdb -p -d "$ROOT/etc" "$ROOT/etc/master.passwd" + # NetBSD expects -d to be the new root directory. + /usr/sbin/pwd_mkdb -p -d "$ROOT/etc" "$ROOT/etc/master.passwd" 2>/dev/null|| \ + /usr/sbin/pwd_mkdb -p -d "$ROOT" "$ROOT/etc/master.passwd" 2>/dev/null echo "done." fi @ 1.3 log @Bring cvsd up to date as 1.0.22. Changelog: 2011-06-13 release 1.0.22 of cvsd changes since 1.0.21: + don't log EINTR on select() any more, not even in debug mode + fix for cvsd-buildroot to also work on multiarch setups + log address and port with bind() failures + Debian packaging updates 2010-09-08 release 1.0.21 of cvsd changes since 1.0.20: + handle failure to bind() as a fatal error now 2010-09-05 release 1.0.20 of cvsd changes since 1.0.19: + correctly listen on IPv4 and IPv6 addresses with recent Glibc versions by not depending on the order of address records returned by getaddrinfo() and work regardless of net.ipv6.bindv6only sysctl 2010-08-17 release 1.0.19 of cvsd changes since 1.0.18: + cvsd-buildroot: ignore commented out lines in CVSROOT/passwd files + cvsd-buildroot: set an umask for generated files + some documentation updates + change init script dependency on $remote_fs (for /usr) from Should to Required (thanks lintian) + Debian packaging improvements 2010-01-14 release 1.0.18 of cvsd changes since 1.0.17: + use simpler shell semantics in cvsd-buildroot to fix a problem with bash 4 + fix call to uname in the cvsd-buginfo script 2009-12-30 release 1.0.17 of cvsd changes since 1.0.16: + update to automake 1.11 + some small spelling fixes in documentation + changed references to home page and contact email addresses to use arthurdejong.org + Debian packaging improvements @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 1.0.11: changes from 1.0.10 to 1.0.11 ----------------------------- * cvsd-buildroot should now install libraries in the same directory structure as on the normal filesystem, resulting in better support for 64 bit systems * other small improvements to cvsd-buildroot, including better error handling and not overwriting devices * small code improvements @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1.1.1 2006/05/20 23:38:16 wiz Exp $ d3 3 a5 1 --- cvsd-buildroot.in.orig 2006-05-24 20:25:24.000000000 +0000 d7 1 a7 1 @@@@ -58,6 +58,8 @@@@ EXTRALIBS="$EXTRALIBS ld-elf.so" d16 1 a16 1 @@@@ -341,14 +343,16 @@@@ then @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 5 a7 3 --- cvsd-buildroot.in.orig 2004-07-29 22:53:14.000000000 +0300 +++ cvsd-buildroot.in 2004-09-13 14:26:18.000000000 +0300 @@@@ -51,2 +51,4 @@@@ d12 5 a16 1 @@@@ -294,3 +296,3 @@@@ d21 4 a24 1 @@@@ -301,3 +303,5 @@@@ d31 2 @ 1.1.1.1 log @Initial import of cvsd, a cvs pserver wrapper that chroots the pserver. Based on the work by Eric Schnoebelen and virtus@@ in pkgsrc-wip. DESCR: cvsd is a wrapper program for cvs in pserver mode. It will run 'cvs pserver' under a special uid/gid in a chroot jail. cvsd is run as a daemon and is controlled through a configuration file. It is relatively easy to configure and tools are provided for easily setting up a rootjail. This server can be useful if you want to run a public cvs pserver. You should however be aware of the security limitations of running a cvs pserver. If you want any kind of authentication you should really consider using secure shell as a secure authentication mechanism and transport. Passwords used in cvs pserver are transmitted in plaintext and this wrapper won't change that. This server adds a layer of security to cvs. cvs is a very powerful tool and is capable of running scripts and other things. By running cvs in a rootjail it is possible to limit the amount of "damage" cvs can do if it is exploited. It is generally a good idea to run cvsd without any write permissions to any directory on the system. @ text @@