rpms/monotone/FC-4 monotone.init,1.7,1.8 monotone.spec,1.15,1.16
Roland McGrath (roland)
fedora-extras-commits at redhat.com
Mon May 8 19:50:54 UTC 2006
Author: roland
Update of /cvs/extras/rpms/monotone/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12745
Modified Files:
monotone.init monotone.spec
Log Message:
Fix service script genkey subcommand.
Index: monotone.init
===================================================================
RCS file: /cvs/extras/rpms/monotone/FC-4/monotone.init,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- monotone.init 11 Apr 2006 22:29:29 -0000 1.7
+++ monotone.init 8 May 2006 19:50:54 -0000 1.8
@@ -112,9 +112,10 @@
if
passphrase=`random_passphrase` &&
{ echo $passphrase; echo $passphrase; } |
- runuser -s /bin/bash - ${MONOTONE_USER:-monotone} -c \
- "$MT $MONOTONE_RCOPTS $MONOTONE_DBOPTS \
- genkey $MONOTONE_KEYID" > /dev/null 2>&1 &&
+ (umask 027; $MT $MONOTONE_RCOPTS $MONOTONE_DBOPTS \
+ genkey $MONOTONE_KEYID > /dev/null 2>&1) &&
+ /bin/chgrp ${MONOTONE_GROUP:-monotone} \
+ "$MONOTONE_KEYDIR/$MONOTONE_KEYID" &&
cat > $tmp <<EOF &&
function get_passphrase(keyid)
return "$passphrase"
Index: monotone.spec
===================================================================
RCS file: /cvs/extras/rpms/monotone/FC-4/monotone.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- monotone.spec 11 Apr 2006 22:29:29 -0000 1.15
+++ monotone.spec 8 May 2006 19:50:54 -0000 1.16
@@ -1,6 +1,6 @@
Name: monotone
Version: 0.26
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A free, distributed version control system
Group: Development/Tools
@@ -166,6 +166,9 @@
%changelog
+* Mon May 8 2006 Roland McGrath <roland at redhat.com> - 0.26-2
+- Fix service script genkey subcommand.
+
* Mon Apr 10 2006 Roland McGrath <roland at redhat.com> - 0.26-1
- Updated for 0.25 release.
- Major changes; see UPGRADE doc file for details.
More information about the fedora-extras-commits
mailing list