File: fix-lists-url.dpatch

package info (click to toggle)
gforge 4.5.14-22etch13
  • links: PTS
  • area: main
  • in suites: etch
  • size: 13,004 kB
  • ctags: 11,918
  • sloc: php: 36,047; sql: 29,050; sh: 10,538; perl: 6,496; xml: 3,810; makefile: 341; python: 263; ansic: 256
file content (37 lines) | stat: -rw-r--r-- 1,407 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#! /bin/sh /usr/share/dpatch/dpatch-run
## 99-unnamed.dpatch by Christian Bayle <bayle@debian.org> and/or Roland Mas <lolando@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad gforge~/common/mail/MailingList.class gforge/common/mail/MailingList.class
--- gforge~/common/mail/MailingList.class	2006-05-30 20:10:38.000000000 +0200
+++ gforge/common/mail/MailingList.class	2006-07-21 14:47:17.000000000 +0200
@@ -322,7 +322,7 @@
 		if ($this->isPublic()) {
 			return 'http://'.$GLOBALS['sys_lists_host'].'/pipermail/'.$this->getName().'/';
 		} else {
-			return 'http://'.$GLOBALS['sys_lists_host'].'/mailman/private/'.$this->getName().'/';
+			return 'http://'.$GLOBALS['sys_lists_host'].'/cgi-bin/mailman/private/'.$this->getName().'/';
 		}
 	}
 	
@@ -332,7 +332,7 @@
 	 * @return string url of the info page
 	 */
 	function getExternalInfoUrl() {
-		return 'http://'.$GLOBALS['sys_lists_host'].'/mailman/listinfo/'.$this->getName();
+		return 'http://'.$GLOBALS['sys_lists_host'].'/cgi-bin/mailman/listinfo/'.$this->getName();
 	}
 	
 	/**
@@ -341,7 +341,7 @@
 	 * @return string url of the admin
 	 */
 	function getExternalAdminUrl() {
-		return 'http://'.$GLOBALS['sys_lists_host'].'/mailman/admin/'.$this->getName();
+		return 'http://'.$GLOBALS['sys_lists_host'].'/cgi-bin/mailman/admin/'.$this->getName();
 	}
 
 	/**