From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QuNUU-0002Wf-Nu for garchives@archives.gentoo.org; Fri, 19 Aug 2011 11:43:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B5D721C077; Fri, 19 Aug 2011 11:43:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CAACD21C077 for ; Fri, 19 Aug 2011 11:43:51 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 39B631B4087 for ; Fri, 19 Aug 2011 11:43:51 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2230) id EFB4A20051; Fri, 19 Aug 2011 11:43:49 +0000 (UTC) From: "Tomas Chvatal (scarabeus)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, scarabeus@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in net-irc/quassel/files: quasselcore.init X-VCS-Repository: gentoo-x86 X-VCS-Files: quasselcore.init X-VCS-Directories: net-irc/quassel/files X-VCS-Committer: scarabeus X-VCS-Committer-Name: Tomas Chvatal Content-Type: text/plain; charset=utf8 Message-Id: <20110819114349.EFB4A20051@flycatcher.gentoo.org> Date: Fri, 19 Aug 2011 11:43:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 93dff5038a8b633e5c44e5b40ebd2f22 scarabeus 11/08/19 11:43:49 Modified: quasselcore.init Log: Fix initscript wrt ipv6. Patch by Diego (flameeyes). Fixes bug #379861. =20 (Portage version: 2.1.10.3/cvs/Linux x86_64, RepoMan options: --force) Revision Changes Path 1.8 net-irc/quassel/files/quasselcore.init file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/quassel/fi= les/quasselcore.init?rev=3D1.8&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/quassel/fi= les/quasselcore.init?rev=3D1.8&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/quassel/fi= les/quasselcore.init?r1=3D1.7&r2=3D1.8 Index: quasselcore.init =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/files/quasselcore.init,= v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- quasselcore.init 4 Nov 2010 14:22:45 -0000 1.7 +++ quasselcore.init 19 Aug 2011 11:43:49 -0000 1.8 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/files/quasselcore.ini= t,v 1.7 2010/11/04 14:22:45 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/files/quasselcore.ini= t,v 1.8 2011/08/19 11:43:49 scarabeus Exp $ =20 depend() { need localmount net @@ -16,9 +16,7 @@ =20 checkconfig() { # set defaults - LISTEN=3D${LISTEN:-"0.0.0.0"} LOGLEVEL=3D${LOGLEVEL:-"Info"} - PORT=3D${PORT:-"4242"} =20 # check config folder if [ ! -d "${CONFIGDIR}" ]; then @@ -45,14 +43,14 @@ start-stop-daemon --start --user "${QUASSEL_USER}" --background --make= -pidfile \ --pidfile "${PID}" \ --exec "${CORE}" -- --logfile=3D"${LOGFILE}" --loglevel=3D"${LOGLEVEL}= " \ - --listen=3D"${LISTEN}" --port=3D"${PORT}" \ + ${LISTEN:+--listen=3D"${LISTEN}"} ${PORT:+--port=3D"${PORT}"} \ --configdir=3D"${CONFIGDIR}" else # running on baselayout-1 start-stop-daemon --start --chuid "${QUASSEL_USER}" --background --mak= e-pidfile \ --pidfile "${PID}" --env HOME=3D"${CONFIGDIR}" \ --exec "${CORE}" -- --logfile=3D"${LOGFILE}" --loglevel=3D"${LOGLEVEL}= " \ - --listen=3D"${LISTEN}" --port=3D"${PORT}" \ + ${LISTEN:+--listen=3D"${LISTEN}"} ${PORT:+--port=3D"${PORT}"} \ --configdir=3D"${CONFIGDIR}" fi eend $?