rpms/rpcbind/devel rpcbind.init,1.6,1.7 rpcbind.spec,1.20,1.21
Steve Dickson (steved)
fedora-extras-commits at redhat.com
Mon Oct 15 16:08:03 UTC 2007
- Previous message (by thread): rpms/kcbench-data/devel kcbench-data-README, NONE, 1.1 kcbench-data.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/system-config-nfs/devel sources, 1.41, 1.42 system-config-nfs.spec, 1.45, 1.46
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: steved
Update of /cvs/pkgs/rpms/rpcbind/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13353
Modified Files:
rpcbind.init rpcbind.spec
Log Message:
- Fixed typo in Summary (bz 331811)
- Corrected init script (bz 247046)
Index: rpcbind.init
===================================================================
RCS file: /cvs/pkgs/rpms/rpcbind/devel/rpcbind.init,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- rpcbind.init 15 Sep 2007 15:58:21 -0000 1.6
+++ rpcbind.init 15 Oct 2007 16:07:30 -0000 1.7
@@ -25,46 +25,41 @@
# Source function library.
. /etc/init.d/functions
-# Get config.
-if [ -f /etc/sysconfig/network ]; then
- . /etc/sysconfig/network
-else
- echo $"Networking not configured - exiting"
- exit 1
-fi
prog="rpcbind"
-
-# Check that networking is up.
-if [ "$NETWORKING" = "no" ]; then
- exit 0
-fi
-
-[ -f /sbin/$prog ] || exit 0
-
[ -f /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
RETVAL=0
start() {
- echo -n $"Starting $prog: "
- daemon $prog $RPCBIND_ARGS
- RETVAL=$?
- echo
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
+ # Get config.
+ if [ -f /etc/sysconfig/network ]; then
+ . /etc/sysconfig/network
+ else
+ exit 6
+ fi
+ # Check that networking is up.
+ [ "$NETWORKING" = "no" ] || exit 6
+ [ -f /sbin/$prog ] || exit 5
+
+ echo -n $"Starting $prog: "
+ daemon $prog $RPCBIND_ARGS
+ RETVAL=$?
+ echo
+ [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
return $RETVAL
}
stop() {
- echo -n $"Stopping $prog: "
- killproc $prog
- RETVAL=$?
- echo
- [ $RETVAL -eq 0 ] && {
- rm -f /var/lock/subsys/$prog
- rm -f /var/run/rpcbind*
- }
+ echo -n $"Stopping $prog: "
+ killproc $prog
+ RETVAL=$?
+ echo
+ [ $RETVAL -eq 0 ] && {
+ rm -f /var/lock/subsys/$prog
+ rm -f /var/run/rpcbind*
+ }
return $RETVAL
}
Index: rpcbind.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rpcbind/devel/rpcbind.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- rpcbind.spec 17 Sep 2007 18:38:43 -0000 1.20
+++ rpcbind.spec 15 Oct 2007 16:07:30 -0000 1.21
@@ -2,8 +2,8 @@
Name: rpcbind
Version: 0.1.4
-Release: 8%{?dist}
-Summary: Universal Addresses to RPC Program Number Napper
+Release: 9%{?dist}
+Summary: Universal Addresses to RPC Program Number Mapper
Group: System Environment/Daemons
License: GPL
URL: http://nfsv4.bullopensource.org
@@ -127,6 +127,10 @@
%dir %attr(700,rpc,rpc) /var/lib/rpcbind
%changelog
+* Mon Oct 15 2007 Steve Dickson <steved at redhat.com> 0.1.4-9
+- Fixed typo in Summary (bz 331811)
+- Corrected init script (bz 247046)
+
* Sat Sep 15 2007 Steve Dickson <steved at redhat.com> 0.1.4-8
- Fixed typo in init script (bz 248285)
- Added autoconf rules to turn on secure host checking
- Previous message (by thread): rpms/kcbench-data/devel kcbench-data-README, NONE, 1.1 kcbench-data.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/system-config-nfs/devel sources, 1.41, 1.42 system-config-nfs.spec, 1.45, 1.46
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list