Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 131273 Details for
Bug 193012
version bump net-fs/coda to 6.9.4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gentoo style inits
coda-6.9.2-gentoo-init.patch (text/plain), 4.38 KB, created by
Nathan Goldstick
on 2007-09-19 06:22:32 UTC
(
hide
)
Description:
gentoo style inits
Filename:
MIME Type:
Creator:
Nathan Goldstick
Created:
2007-09-19 06:22:32 UTC
Size:
4.38 KB
patch
obsolete
>diff -ruaN coda-6.9.2.old/coda-src/scripts/Makefile.am coda-6.9.2/coda-src/scripts/Makefile.am >--- coda-6.9.2.old/coda-src/scripts/Makefile.am 2007-08-01 11:31:53.000000000 -0700 >+++ coda-6.9.2/coda-src/scripts/Makefile.am 2007-09-18 15:13:02.000000000 -0700 >@@ -8,9 +8,7 @@ > sbin_SCRIPTS += venus-setup > dist_sbin_SCRIPTS += volmunge > dist_man_MANS += venus-setup.8 volmunge.8 >-if SYSVINIT >-dist_init_SCRIPTS += venus.init >-endif >+dist_init_SCRIPTS += venus > endif > if BUILD_SERVER > sbin_SCRIPTS += bldvldb.sh createvol_rep purgevol_rep startserver vice-setup \ >@@ -20,11 +18,7 @@ > vice-setup-srvdir vice-setup-user > dist_man_MANS += bldvldb.sh.8 createvol_rep.8 maxgroupid.5 purgevol_rep.8 \ > startserver.8 vice-setup.8 volumelist.5 >-if SYSVINIT >-dist_init_SCRIPTS += auth2.init codasrv.init update.init >-else >-dist_init_SCRIPTS += rc.vice >-endif >-endif >+dist_init_SCRIPTS += auth2 codasrv updatecoda > EXTRA_DIST = findparents.sh volinfo.pl volsizes.pl >+endif > >diff -ruaN coda-6.9.2.old/coda-src/scripts/auth2 coda-6.9.2/coda-src/scripts/auth2 >--- coda-6.9.2.old/coda-src/scripts/auth2 1969-12-31 16:00:00.000000000 -0800 >+++ coda-6.9.2/coda-src/scripts/auth2 2007-09-18 15:13:02.000000000 -0700 >@@ -0,0 +1,33 @@ >+#!/sbin/runscript >+# Copyright 1999-2007 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Header: $ >+ >+depend() { >+ need net >+ use logger >+ after domainname >+} >+ >+start() { >+ if [ "`cat /var/lib/vice/hostname`" != "`cat /var/lib/vice/db/scm`" ] >+ then >+ FLAGS="$FLAGS -chk " >+ fi >+ >+ >+ ebegin "Starting auth2" >+ start-stop-daemon --start --background \ >+ --pidfile /var/lib/vice/auth2/pid \ >+ --make-pidfile --exec /usr/sbin/auth2 -- ${FLAGS} >+ eend $? >+} >+ >+stop() { >+ ebegin "Stopping auth2" >+ start-stop-daemon --stop \ >+ --pidfile /var/lib/vice/auth2/pid \ >+ --name auth2 >+ eend $? >+} >+ >diff -ruaN coda-6.9.2.old/coda-src/scripts/codasrv coda-6.9.2/coda-src/scripts/codasrv >--- coda-6.9.2.old/coda-src/scripts/codasrv 1969-12-31 16:00:00.000000000 -0800 >+++ coda-6.9.2/coda-src/scripts/codasrv 2007-09-18 15:13:02.000000000 -0700 >@@ -0,0 +1,29 @@ >+#!/sbin/runscript >+# Copyright 1999-2007 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Header: $ >+ >+depend() { >+ need net >+ use logger >+ after updatecoda >+ after auth2 >+ after domainname >+} >+ >+start() { >+ ebegin "Starting codasrv" >+ startserver >+ eend $? >+} >+ >+stop() { >+ ebegin "Stopping codasrv" >+ volutil shutdown >+ eend $? >+ >+ ebegin "Waiting for coda to shutdown" >+ sleep 20 # Allow coda to shutdown >+ eend $? >+} >+ >diff -ruaN coda-6.9.2.old/coda-src/scripts/updatecoda coda-6.9.2/coda-src/scripts/updatecoda >--- coda-6.9.2.old/coda-src/scripts/updatecoda 1969-12-31 16:00:00.000000000 -0800 >+++ coda-6.9.2/coda-src/scripts/updatecoda 2007-09-18 15:13:02.000000000 -0700 >@@ -0,0 +1,37 @@ >+#!/sbin/runscript >+# Copyright 1999-2007 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Header: $ >+ >+depend() { >+ need net >+ use logger >+ after auth2 >+ after domainname >+} >+ >+start() { >+ ebegin "Starting updatesrv" >+ start-stop-daemon --start --background \ >+ --exec /usr/sbin/updatesrv >+ eend $? >+ >+ ebegin "Starting updateclnt" >+ start-stop-daemon --start --background \ >+ --exec /usr/sbin/updateclnt -- \ >+ -h `cat /var/lib/vice/db/scm` & >+ eend $? >+} >+ >+stop() { >+ ebegin "Stopping updatesrv" >+ start-stop-daemon --stop --pidfile /var/lib/vice/misc/updatesrv.pid \ >+ --name updatesrv >+ eend $? >+ >+ ebegin "Stopping updateclnt" >+ start-stop-daemon --stop --pidfile /var/lib/vice/misc/updateclnt.pid \ >+ --name updatesrv >+ eend $? >+} >+ >diff -ruaN coda-6.9.2.old/coda-src/scripts/venus coda-6.9.2/coda-src/scripts/venus >--- coda-6.9.2.old/coda-src/scripts/venus 1969-12-31 16:00:00.000000000 -0800 >+++ coda-6.9.2/coda-src/scripts/venus 2007-09-18 15:14:02.000000000 -0700 >@@ -0,0 +1,30 @@ >+#!/sbin/runscript >+# Copyright 1999-2007 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Header: $ >+ >+depend() { >+ need net >+ after modules domainname >+} >+ >+start() { >+ ebegin "Starting venus" >+ start-stop-daemon --start --background \ >+ --pidfile /var/lib/coda/venus.cache/pid \ >+ --make-pidfile --exec /usr/sbin/venus >+ eend $? >+} >+ >+stop() { >+ ebegin "Stopping venus" >+ start-stop-daemon --stop \ >+ --pidfile /var/lib/coda/venus.cache/pid \ >+ --name venus >+ eend $? >+ >+ ebegin "Unmounting /mnt/coda" >+ umount /mnt/coda >+ eend $? >+} >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193012
:
131270
|
131272
|
131273
|
131274
|
131276
|
160297
|
160620
|
209345
|
209887
|
210617