packages: inn/inn.spec - if history exists don't rebuild dbz - takes a LOT ...

blues blues at pld-linux.org
Fri Sep 4 16:23:29 CEST 2009


Author: blues                        Date: Fri Sep  4 14:23:29 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- if history exists don't rebuild dbz - takes a LOT of time.
  NOTE: 2.5.0 is new line

---- Files affected:
packages/inn:
   inn.spec (1.190 -> 1.191) 

---- Diffs:

================================================================
Index: packages/inn/inn.spec
diff -u packages/inn/inn.spec:1.190 packages/inn/inn.spec:1.191
--- packages/inn/inn.spec:1.190	Fri Jul  3 01:49:25 2009
+++ packages/inn/inn.spec	Fri Sep  4 16:23:23 2009
@@ -13,7 +13,7 @@
 Summary(tr.UTF-8):	INN, InterNet Haber Sistemi (haber sunucu)
 Name:		inn
 Version:	2.4.6
-Release:	1
+Release:	2
 License:	distributable
 Group:		Networking/Daemons
 Source0:	ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz
@@ -38,7 +38,7 @@
 Patch8:		%{name}-libdir.patch
 Patch9:		%{name}-asneeded.patch
 Patch10:	%{name}-nnrpd_no_trace.patch
-URL:		http://www.isc.org/sw/inn/
+URL:		https://www.isc.org/software/inn/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	bison
@@ -365,13 +365,13 @@
 	%{_bindir}/makehistory || { echo "Creating empty history"; :> history; }
 	chown news:news history
 	chmod 664 history
+	%{_bindir}/makedbz -s `wc -l < history` -f history
+	for i in dir hash index pag; do
+		[ -f history.n.$i ] && mv history.n.$i history.$i
+	done
+	chown news:news history.*
+	chmod 644 history.*
 fi
-%{_bindir}/makedbz -s `wc -l < history` -f history
-for i in dir hash index pag; do
-	[ -f history.n.$i ] && mv history.n.$i history.$i
-done
-chown news:news history.*
-chmod 644 history.*
 
 if [ ! -f /var/lib/news/.news.daily ]; then
 	:> /var/lib/news/.news.daily
@@ -634,6 +634,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.191  2009/09/04 14:23:23  blues
+- if history exists don't rebuild dbz - takes a LOT of time.
+  NOTE: 2.5.0 is new line
+
 Revision 1.190  2009/07/02 23:49:25  baggins
 - rel 1
 - switch to heimdal kerberos
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/inn/inn.spec?r1=1.190&r2=1.191&f=u



More information about the pld-cvs-commit mailing list