[interchange-cvs] interchange - jon modified 3 files

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Apr 14 08:10:05 EDT 2004


User:      jon
Date:      2004-04-14 12:10:05 GMT
Modified:  SPECS    interchange-logrotate interchange.spec
Added:     SPECS    interchange.cfg.patch
Log:
Update RPM specfile:

* Relocate global error.log to /var/log/interchange.
* Install te into /usr/bin.
* Minor logrotate tweaks.

Revision  Changes    Path
2.2       +5 -7      interchange/SPECS/interchange-logrotate


rev 2.2, prev_rev 2.1
Index: interchange-logrotate
===================================================================
RCS file: /var/cvs/interchange/SPECS/interchange-logrotate,v
retrieving revision 2.1
retrieving revision 2.2
diff -u -u -r2.1 -r2.2
--- interchange-logrotate	17 Jun 2002 21:39:19 -0000	2.1
+++ interchange-logrotate	14 Apr 2004 12:10:04 -0000	2.2
@@ -1,17 +1,15 @@
-/var/log/interchange/*.log {
-	rotate 4
-	weekly
-	compress
-}
-
-/var/log/interchange/*/error.log {
+/var/log/interchange/*.log /var/log/interchange/*/error.log {
 	rotate 4
 	weekly
 	compress
+	missingok
+	notifempty
 }
 
 /var/log/interchange/*/logs/usertrack {
 	rotate 12
 	monthly
 	compress
+	missingok
+	notifempty
 }



2.25      +17 -1     interchange/SPECS/interchange.spec


rev 2.25, prev_rev 2.24
Index: interchange.spec
===================================================================
RCS file: /var/cvs/interchange/SPECS/interchange.spec,v
retrieving revision 2.24
retrieving revision 2.25
diff -u -u -r2.24 -r2.25
--- interchange.spec	3 Dec 2003 19:39:12 -0000	2.24
+++ interchange.spec	14 Apr 2004 12:10:04 -0000	2.25
@@ -14,7 +14,7 @@
 
 Summary: Interchange web application platform
 Name: interchange
-Version: 5.0.0
+Version: 5.3.0
 Release: 1
 Vendor: Interchange Development Group
 Group: System Environment/Daemons
@@ -26,6 +26,7 @@
 Source2: interchange-init
 Source3: interchange-logrotate
 Source4: interchange-cron
+Source5: interchange.cfg.patch
 License: GPL
 Prereq: /sbin/chkconfig, /sbin/service, /usr/sbin/useradd, /usr/sbin/groupadd
 Requires: perl >= 5.6.0
@@ -93,6 +94,7 @@
 %__cp -p extra/HTML/Entities.pm $RPM_BUILD_ROOT$ICBASE/build
 %__cp -p extra/IniConf.pm $RPM_BUILD_ROOT$ICBASE/build
 %__cp -R -p eg extensions $RPM_BUILD_ROOT$ICBASE
+%__cp -p eg/te $RPM_BUILD_ROOT%_bindir
 
 # Tell Perl where to find IC libraries during build time
 export PERL5LIB=$RPM_BUILD_ROOT$ICBASE/lib
@@ -184,6 +186,9 @@
 %__mv interchange.cfg.dist $RPM_BUILD_ROOT$ETCBASE/interchange.cfg
 %__ln_s $ETCBASE/interchange.cfg
 
+# Move location of debug log to /var/log/interchange
+patch -p0 $ETCBASE/interchange.cfg < %SOURCE5
+
 # Put global error log in /var/log/interchange instead of IC software directory
 RPMICLOG=$LOGBASE/interchange/error.log
 %__rm -f error.log
@@ -250,6 +255,7 @@
 %dir %{_libdir}/interchange
 %{webdir}/html/interchange-5
 %{_mandir}/*/*
+%{_bindir}/te
 
 
 %files foundation-demo
@@ -380,6 +386,16 @@
 
 
 %changelog
+* Mon Apr 12 2004 Jon Jensen <jon at icdevgroup.org>
+- simplify logrotate params
+- rebuild for Interchange 5.3.0
+
+* Thu Apr 01 2004 Jon Jensen <jon at icdevgroup.org>
+- install eg/te into /usr/bin for easy access to tab-delimited file editor
+
+* Thu Jan 08 2004 Jon Jensen <jon at icdevgroup.org>
+- add patch moving debug log to /var/log/interchange
+
 * Wed Dec 03 2003 Jon Jensen <jon at icdevgroup.org> 5.0.0-1
 - Update for new release
 - Add new expired session/tmp removal script for cron



2.1                  interchange/SPECS/interchange.cfg.patch


rev 2.1, prev_rev 2.0








More information about the interchange-cvs mailing list