Vanilla Development Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS update: Vanilla/rpm



Date:	Sunday July 18, 1999 @ 3:39
Author:	tanner

Update of /home/netrek/cvsroot/Vanilla/rpm
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv13002/rpm

Modified Files:
	Vanilla.spec 
Log Message:
	* rpm/Vanilla.spec (preun): Need to remove the runlevel script
	before (preun) removing the package. 

	* rpm/Vanilla.spec (files): More symlinks from /usr/netrek/games /var/log/netrek.

	* rpm/Vanilla.spec (files): More %ghost files that are generated from the server.

	* rpm/Vanilla.spec (%ghost): touch /usr/games/netrek/log for %ghost entry.



****************************************

Index: Vanilla/rpm/Vanilla.spec
diff -u Vanilla/rpm/Vanilla.spec:1.17 Vanilla/rpm/Vanilla.spec:1.18
--- Vanilla/rpm/Vanilla.spec:1.17	Sat Jul 17 01:48:44 1999
+++ Vanilla/rpm/Vanilla.spec	Sun Jul 18 03:39:12 1999
@@ -110,14 +110,19 @@
 make LIBDIR=$RPM_BUILD_ROOT/usr/games/netrek install
 install -m 0644 $RPM_SOURCE_DIR/netrek.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/netrek
 install -m 0555 $RPM_SOURCE_DIR/netrek.init $RPM_BUILD_ROOT/etc/rc.d/init.d/netrek
+install -m 0644 $RPM_SOURCE_DIR/netrek.functions $RPM_BUILD_ROOT/etc/rc.d/init.d/functions-games
 install -m 0555 $RPM_SOURCE_DIR/netrek.crontab $RPM_BUILD_ROOT/etc/cron.hourly/netrek
 
 # Create the ghost of netrekd. The %post will do the actual symlink on
 # install.
 touch $RPM_BUILD_ROOT/usr/bin/netrekd
-touch $RPM_BUILD_ROOT/usr/games/netrek/rsa_key
 
-for f in god.LOG log logfile mesg.LOG newstartd.LOG updated.LOG errors.LOG; do
+for f in rsa_key log ERRORS motd_list rsa-keyfile .global .newstartd.pid god.LOG logfile \
+	rsa-keyfile~; do
+  touch $RPM_BUILD_ROOT/usr/games/netrek/$f
+done
+
+for f in god.LOG mesg.LOG newstartd.LOG updated.LOG errors.LOG; do
   touch $RPM_BUILD_ROOT/var/log/netrek/$f
 done
 
@@ -137,19 +142,13 @@
 # /var/log/netrek/newstartd.LOG to keep with the linux standards.
 ln -s /var/log/netrek/newstartd.LOG /usr/games/netrek/log
 ln -s /var/log/netrek/god.LOG /usr/games/netrek/god.LOG
-ln -s /var/log/netrek/logfile /usr/games/netrek/newstartd.LOG
-ln -s /var/log/netrek/ERRORS /usr/games/netrek/errors.LOG
+ln -s /var/log/netrek/newstartd.LOG /usr/games/netrek/logfile
+ln -s /var/log/netrek/errors.LOG /usr/games/netrek/ERRORS
 
 %preun
-rm -f /usr/bin/netrekd
-rm -f /usr/games/netrek/log
-rm -f /usr/games/netrek/god.LOG
-rm -f /usr/games/netrek/newstartd.LOG
-rm -f /usr/games/netrek/errors.LOG
-
+chkconfig --del netrek
 
 %postun
-chkconfig --del netrek
 
 %files
 %defattr(-, root, root)
@@ -162,8 +161,6 @@
 %dir /usr/games/netrek
 %dir /var/log/netrek
 %ghost /var/log/netrek/god.LOG
-%ghost /var/log/netrek/log
-%ghost /var/log/netrek/logfile
 %ghost /var/log/netrek/mesg.LOG
 %ghost /var/log/netrek/updated.LOG
 %ghost /var/log/netrek/newstartd.LOG
@@ -179,15 +176,23 @@
 %config /usr/games/netrek/.ports
 %config /usr/games/netrek/.time
 %config /usr/games/netrek/.motd_basep
-%config /usr/games/netrek/.reserved
 %config /usr/games/netrek/.tourn.map
 %config /usr/games/netrek/.nocount
 %config /usr/games/netrek/.banned
 %config /usr/games/netrek/.bypass
 %config /usr/games/netrek/.clue-bypass
 /etc/cron.hourly/netrek
+%ghost /usr/games/netrek/god.LOG
+%ghost /usr/games/netrek/logfile
 %ghost /usr/games/netrek/log
-/usr/games/netrek/rsa_key
+%ghost /usr/games/netrek/rsa_key
+%ghost %config /usr/games/netrek/.reserved
+%ghost /usr/games/netrek/motd_list
+%ghost /usr/games/netrek/rsa-keyfile
+%ghost /usr/games/netrek/rsa-keyfile~
+%ghost /usr/games/netrek/ERRORS
+%ghost %config /usr/games/netrek/.global
+%ghost /usr/games/netrek/.newstartd.pid
 /usr/games/netrek/ntserv
 /usr/games/netrek/daemonII
 /usr/games/netrek/puck