[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/redhat-eclipse-demo/FC-4 redhat-eclipse-demo.spec,1.1,1.2



Author: overholt

Update of /cvs/dist/rpms/redhat-eclipse-demo/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv21668/FC-4

Modified Files:
	redhat-eclipse-demo.spec 
Log Message:
Remove erroneous run-as-root stuff.


Index: redhat-eclipse-demo.spec
===================================================================
RCS file: /cvs/dist/rpms/redhat-eclipse-demo/FC-4/redhat-eclipse-demo.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- redhat-eclipse-demo.spec	28 Jul 2005 19:26:17 -0000	1.1
+++ redhat-eclipse-demo.spec	28 Jul 2005 20:11:11 -0000	1.2
@@ -1,7 +1,7 @@
 Summary: A canned Red Hat Eclipse demo
 Name: redhat-eclipse-demo
 Version: 1.0
-Release: 3
+Release: 2
 URL: http://intranet.ges.redhat.com/~green
 Group: demos
 BuildArch: noarch
@@ -19,8 +19,8 @@
 only accessible by localhost.
 
 %pre
-#/usr/sbin/adduser -c "eclipse-demo-cvsroot" \
-#   -s /sbin/nologin -r -d /var/lib/eclipse-demo-cvsroot eclipse-demo-cvsroot 2>/dev/null || :
+/usr/sbin/adduser -c "eclipse-demo-cvsroot" \
+   -s /sbin/nologin -r -d /var/lib/eclipse-demo-cvsroot eclipse-demo-cvsroot 2>/dev/null || :
 /usr/sbin/adduser -c "anoncvs" \
    -s /bin/sh -r -d /var/lib/eclipse-demo-cvsroot anoncvs 2>/dev/null || :
 echo "anoncvs" | passwd --stdin anoncvs >& /dev/null || :
@@ -53,8 +53,8 @@
         echo "eclipse-demo-cvspserver : 127.0.0.1" >> /etc/hosts.allow
 fi
 
-#chown -R eclipse-demo-cvsroot.eclipse-demo-cvsroot /var/lib/eclipse-demo-cvsroot
-#chmod -R go+wr /var/lib/eclipse-demo-cvsroot
+chown -R eclipse-demo-cvsroot.eclipse-demo-cvsroot /var/lib/eclipse-demo-cvsroot
+chmod -R go+wr /var/lib/eclipse-demo-cvsroot
 
 /etc/init.d/xinetd restart > /dev/null 2>&1
 
@@ -66,7 +66,7 @@
 sed -e '/^eclipse-demo-cvspserver.*$/d' /etc/hosts.allow > $tmpfile
 mv $tmpfile /etc/hosts.allow
 userdel -r anoncvs >& /dev/null
-#userdel -r eclipse-demo-cvsroot >& /dev/null
+userdel -r eclipse-demo-cvsroot >& /dev/null
 /etc/init.d/xinetd restart > /dev/null 2>&1
 
 %files
@@ -143,12 +143,9 @@
 /var/lib/eclipse-demo-cvsroot/fastjar/zipfile.h,v
 /var/lib/eclipse-demo-cvsroot/fastjar/.cvsignore,v
 /var/lib/eclipse-demo-cvsroot/fastjar/fastjar.texi,v
-%attr(777,root,root) %dir /var/lib/eclipse-demo-cvsroot
+%attr(777,eclipse-demo-cvsroot,eclipse-demo-cvsroot) %dir /var/lib/eclipse-demo-cvsroot
 
 %changelog
-* Wed Jul 13 2005 Andrew Overholt <overholt redhat com> 1.0-3
-- Run as root.
-
 * Wed May 25 2005 Anthony Green <green redhat com>
 - Rebuilt for FC4.
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]