SPECS: sympa.spec - more todos

glen glen at pld-linux.org
Mon Mar 13 23:48:24 CET 2006


Author: glen                         Date: Mon Mar 13 22:48:24 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more todos

---- Files affected:
SPECS:
   sympa.spec (1.60 -> 1.61) 

---- Diffs:

================================================================
Index: SPECS/sympa.spec
diff -u SPECS/sympa.spec:1.60 SPECS/sympa.spec:1.61
--- SPECS/sympa.spec:1.60	Mon Mar 13 23:45:42 2006
+++ SPECS/sympa.spec	Mon Mar 13 23:48:19 2006
@@ -5,6 +5,7 @@
 # - resolve problem with apache1 or apache2 icons directory...
 # - no globs for suid/sgid files
 # - rc-scripts service not restarted (should explain why not)
+# - $HOSTNAME not present in all shells (see %%post)
 %include	/usr/lib/rpm/macros.perl
 Summary:	Sympa - a powerful multilingual List Manager with LDAP and SQL features
 Summary(fr):	Sympa est un gestionnaire de listes électroniques
@@ -157,10 +158,13 @@
 
 %post
 /sbin/chkconfig --add sympa
+# FIXME $HOSTNAME not present in all shells
+# TODO: use sed
 %{__perl} -pi -e "s|MYHOST|${HOSTNAME}|g" /etc/sympa/sympa.conf /etc/sympa/wwsympa.conf
 
 # Setup log facility for Sympa
 if [ -f /etc/syslog.conf ]; then
+	# TODO: touch sysklogd.spec/syslog-ng/metalog.spec/..... instead
 	if [ `grep -c sympa /etc/syslog.conf` -eq 0 ] ;then
 		typeset -i cntlog
 		cntlog=0
@@ -267,6 +271,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.61  2006/03/13 22:48:19  glen
+- more todos
+
 Revision 1.60  2006/03/13 22:45:42  glen
 - adapterized, added todos
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sympa.spec?r1=1.60&r2=1.61&f=u



More information about the pld-cvs-commit mailing list