diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-06 03:33:06 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-06 03:33:06 +0000 |
commit | 49bd6bb2cc031a4985c85b195bb2c2d937324f3e (patch) | |
tree | 8794ba72e0a6b89258e9c6cec4e2a16c3aa14e17 /net-misc/dante | |
parent | we license under gpl2, not gpl2 or later (diff) | |
download | gentoo-2-49bd6bb2cc031a4985c85b195bb2c2d937324f3e.tar.gz gentoo-2-49bd6bb2cc031a4985c85b195bb2c2d937324f3e.tar.bz2 gentoo-2-49bd6bb2cc031a4985c85b195bb2c2d937324f3e.zip |
we license under gpl2, not gpl2 or later
Diffstat (limited to 'net-misc/dante')
-rw-r--r-- | net-misc/dante/files/dante-sockd-conf-1.1.14-r2 | 6 | ||||
-rw-r--r-- | net-misc/dante/files/dante-sockd-init | 6 | ||||
-rw-r--r-- | net-misc/dante/files/dante-sockd-init-1.1.14-r2 | 22 |
3 files changed, 17 insertions, 17 deletions
diff --git a/net-misc/dante/files/dante-sockd-conf-1.1.14-r2 b/net-misc/dante/files/dante-sockd-conf-1.1.14-r2 index cc86d49abe67..e35000774882 100644 --- a/net-misc/dante/files/dante-sockd-conf-1.1.14-r2 +++ b/net-misc/dante/files/dante-sockd-conf-1.1.14-r2 @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/files/dante-sockd-conf-1.1.14-r2,v 1.1 2003/12/23 10:48:10 robbat2 Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/files/dante-sockd-conf-1.1.14-r2,v 1.2 2004/03/06 03:29:17 vapier Exp $ # Number of processes to fork off # 1 is plenty for most users diff --git a/net-misc/dante/files/dante-sockd-init b/net-misc/dante/files/dante-sockd-init index 68325506fa21..cd3dd277d549 100644 --- a/net-misc/dante/files/dante-sockd-init +++ b/net-misc/dante/files/dante-sockd-init @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/files/dante-sockd-init,v 1.2 2003/02/14 23:05:09 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/files/dante-sockd-init,v 1.3 2004/03/06 03:29:17 vapier Exp $ depend() { need net diff --git a/net-misc/dante/files/dante-sockd-init-1.1.14-r2 b/net-misc/dante/files/dante-sockd-init-1.1.14-r2 index 161479a25c02..3c438f236084 100644 --- a/net-misc/dante/files/dante-sockd-init-1.1.14-r2 +++ b/net-misc/dante/files/dante-sockd-init-1.1.14-r2 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/files/dante-sockd-init-1.1.14-r2,v 1.1 2003/12/23 10:48:10 robbat2 Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/files/dante-sockd-init-1.1.14-r2,v 1.2 2004/03/06 03:29:17 vapier Exp $ SOCKD_OPT="-D" [ "${SOCKD_FORKDEPTH}" -gt 1 ] && SOCKD_OPT="${SOCKD_OPT} -N ${SOCKD_FORKDEPTH}" @@ -13,19 +13,19 @@ depend() { } checkconfig() { - # firstly check that it exists - if [ ! -f /etc/socks/sockd.conf ] ; then + # first check that it exists + if [ ! -f /etc/socks/sockd.conf ] ; then eerror "You need to setup /etc/socks/sockd.conf first" eerror "Examples are in /usr/share/doc/dante[version]/example" eerror "for info: info sockd.conf" return 1 fi - /usr/sbin/sockd -V - ret=$? - if [ $ret -ne 0 ]; then - eerror "Something is wrong with your configuration file" - return 1 - fi + /usr/sbin/sockd -V + ret=$? + if [ $ret -ne 0 ]; then + eerror "Something is wrong with your configuration file" + return 1 + fi } start() { |