[Midnightbsd-cvs] mports: ports-mgmt/portupgrade: Make a first pass at fixing portcvsweb
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Sep 23 00:38:18 EDT 2008
Log Message:
-----------
Make a first pass at fixing portcvsweb
Modified Files:
--------------
mports/ports-mgmt/portupgrade:
Makefile (r1.9 -> r1.10)
Added Files:
-----------
mports/ports-mgmt/portupgrade/files:
patch-portcvsweb (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/ports-mgmt/portupgrade/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -L ports-mgmt/portupgrade/Makefile -L ports-mgmt/portupgrade/Makefile -u -r1.9 -r1.10
--- ports-mgmt/portupgrade/Makefile
+++ ports-mgmt/portupgrade/Makefile
@@ -8,7 +8,7 @@
PORTNAME= portupgrade
PORTVERSION= 2.4.6
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= ports-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
--- /dev/null
+++ ports-mgmt/portupgrade/files/patch-portcvsweb
@@ -0,0 +1,28 @@
+--- bin/portcvsweb.orig Tue Sep 23 00:33:59 2008
++++ bin/portcvsweb Tue Sep 23 00:35:14 2008
+@@ -38,7 +38,7 @@
+
+ BROWSER = ENV['BROWSER'] || 'w3m:lynx:links:firefox:mozilla:netscape'
+
+-OS_DEFAULT = 'FreeBSD'
++OS_DEFAULT = 'MidnightBSD'
+
+ MAKEFILE = 'Makefile'
+
+@@ -46,7 +46,7 @@
+ NEXTLINE = "\n%*s" % [5 + COLUMNSIZE, '']
+
+ module PortCvsWeb
+- CVSTAGS = ['FreeBSD', 'NetBSD', 'OpenBSD']
++ CVSTAGS = ['MidnightBSD', 'FreeBSD', 'NetBSD', 'OpenBSD']
+ CVSTAG_RE = /\$(#{CVSTAGS.join('|')}):\s+(\S+),v\s*(\d[\d.]*)/
+
+ PathInfo = Struct.new(:dir, :file, :path)
+@@ -276,6 +276,7 @@
+
+ class Uri_CvsWeb < Uri_Base
+ URI_BASE = {
++ 'MidnightBSD' => 'http://www.midnightbsd.org/cgi-bin/cvsweb.cgi/',
+ 'FreeBSD' => 'http://www.FreeBSD.org/cgi/cvsweb.cgi/',
+ 'NetBSD' => 'http://cvsweb.netbsd.org/bsdweb.cgi/',
+ 'OpenBSD' => 'http://www.openbsd.org/cgi-bin/cvsweb/',
More information about the Midnightbsd-cvs
mailing list