Author: glen                         Date: Wed Mar  2 09:10:30 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- ignore cvsnt produced CVS dirs

---- Files affected:
packages/cvsweb:
   cvsweb.spec (1.49 -> 1.50) , cvsnt.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/cvsweb/cvsweb.spec
diff -u packages/cvsweb/cvsweb.spec:1.49 packages/cvsweb/cvsweb.spec:1.50
--- packages/cvsweb/cvsweb.spec:1.49    Wed Mar  2 10:08:47 2011
+++ packages/cvsweb/cvsweb.spec Wed Mar  2 10:10:24 2011
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):     Wizualny (WWW) interfejs do przeglÄ…dania repozytorium 
CVS
 Name:          cvsweb
 Version:       3.0.6
-Release:       4
+Release:       5
 Epoch:         1
 License:       BSD
 Group:         Development/Tools
@@ -15,6 +15,7 @@
 Patch0:                %{name}-config.patch
 Patch1:                %{name}-emptyscript.patch
 Patch2:                cveurl.patch
+Patch3:                cvsnt.patch
 BuildRequires: rpmbuild(macros) >= 1.268
 Requires:      diffutils
 # for %{_prefix}/lib/cgi-bin
@@ -73,6 +74,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 cp -a cvsweb.conf* samples
 
@@ -185,6 +187,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2011/03/02 09:10:24  glen
+- ignore cvsnt produced CVS dirs
+
 Revision 1.49  2011/03/02 09:08:47  glen
 - configurable to understand CVE links
 

================================================================
Index: packages/cvsweb/cvsnt.patch
diff -u /dev/null packages/cvsweb/cvsnt.patch:1.1
--- /dev/null   Wed Mar  2 10:10:30 2011
+++ packages/cvsweb/cvsnt.patch Wed Mar  2 10:10:24 2011
@@ -0,0 +1,12 @@
+--- cvsweb-3.0.6/cvsweb.cgi    2011-03-02 11:08:32.353458275 +0200
+--- cvsweb-3.0.6/cvsweb.cgi    2011-03-02 11:04:47.426931825 +0200
+@@ -990,6 +1002,9 @@
+     # Check whether to show the CVSROOT path
+     next if ($input{hidecvsroot} && $where eq '/' && $file eq 'CVSROOT');
+ 
++    # ignore CVSNT control dir
++    next if ($file eq 'CVS');
++
+     # Is it a directory?
+     my $isdir = -d catdir($fullname, $file);
+ 
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to