pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/mailman Allow IMAGE3_URL IMAGE3_IMG and IMAGE3_AL...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6dd0f0c3033a
branches: trunk
changeset: 480325:6dd0f0c3033a
user: lukem <lukem%pkgsrc.org@localhost>
date: Mon Sep 06 04:12:46 2004 +0000
description:
Allow IMAGE3_URL IMAGE3_IMG and IMAGE3_ALT to be specified in mm_cfg.py to
override the third image in the web pages (which is currently the "gnu head").
diffstat:
mail/mailman/Makefile | 3 +-
mail/mailman/distinfo | 5 ++-
mail/mailman/patches/patch-ae | 16 +++++++++++++-
mail/mailman/patches/patch-ah | 45 +++++++++++++++++++++++++++++++++++++++++++
4 files changed, 64 insertions(+), 5 deletions(-)
diffs (107 lines):
diff -r cbc01ed22f71 -r 6dd0f0c3033a mail/mailman/Makefile
--- a/mail/mailman/Makefile Mon Sep 06 02:56:07 2004 +0000
+++ b/mail/mailman/Makefile Mon Sep 06 04:12:46 2004 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2004/01/14 01:46:29 xtraeme Exp $
+# $NetBSD: Makefile,v 1.12 2004/09/06 04:12:46 lukem Exp $
DISTNAME= mailman-2.1.4
+PKGREVISION= 1
CATEGORIES= mail www
MASTER_SITES= http://www.list.org/ \
${MASTER_SITE_GNU:=mailman/}
diff -r cbc01ed22f71 -r 6dd0f0c3033a mail/mailman/distinfo
--- a/mail/mailman/distinfo Mon Sep 06 02:56:07 2004 +0000
+++ b/mail/mailman/distinfo Mon Sep 06 04:12:46 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2004/01/14 01:46:29 xtraeme Exp $
+$NetBSD: distinfo,v 1.4 2004/09/06 04:12:46 lukem Exp $
SHA1 (mailman-2.1.4.tgz) = b77d22283d5780b6d8449f19f86c210e4e58a032
Size (mailman-2.1.4.tgz) = 5779983 bytes
@@ -6,6 +6,7 @@
SHA1 (patch-ab) = 39f6294e53110bd1fd09b1e90ab46820f4d48e3f
SHA1 (patch-ac) = da26a9a02d0fc90e7a58edebdb3601a30c865821
SHA1 (patch-ad) = 665884b9dd1789e4abd430c762bdbfd707d48d30
-SHA1 (patch-ae) = a63c55b5a95f5d4b90645146595b7a06f71d87ac
+SHA1 (patch-ae) = 6c17de398014217be8f1c7a3b3a6f8d379fc0fb2
SHA1 (patch-af) = 985a619a055151d998cefd0c1b7280a0d55f889e
SHA1 (patch-ag) = f94f190e69ce892841b88574ec8e9f100b182ed9
+SHA1 (patch-ah) = 42296c52e30b1fcc1d42ef0f1b89c83414ca85df
diff -r cbc01ed22f71 -r 6dd0f0c3033a mail/mailman/patches/patch-ae
--- a/mail/mailman/patches/patch-ae Mon Sep 06 02:56:07 2004 +0000
+++ b/mail/mailman/patches/patch-ae Mon Sep 06 04:12:46 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.2 2003/12/23 11:02:13 xtraeme Exp $
+$NetBSD: patch-ae,v 1.3 2004/09/06 04:12:46 lukem Exp $
---- Mailman/Defaults.py.in.orig Sun Apr 20 00:02:03 2003
+--- Mailman/Defaults.py.in.orig 2003-12-14 03:34:17.000000000 +1100
+++ Mailman/Defaults.py.in
@@ -54,7 +54,7 @@ No = no = Off = off = False
# disable Mailman's logo footer altogther, hack
@@ -11,3 +11,15 @@
# The name of the Mailman favicon
SHORTCUT_ICON = 'mm-icon.png'
+@@ -64,6 +64,11 @@ MAILMAN_URL = 'http://www.gnu.org/softwa
+ #MAILMAN_URL = 'http://www.list.org/'
+ #MAILMAN_URL = 'http://mailman.sf.net/'
+
++# Details of third image
++IMAGE3_URL = 'http://www.gnu.org/'
++IMAGE3_IMG = 'gnu-head-tiny.jpg'
++IMAGE3_ALT = 'Gnu\'s Not Unix'
++
+ # Mailman needs to know about (at least) two fully-qualified domain names
+ # (fqdn); 1) the hostname used in your urls, and 2) the hostname used in email
+ # addresses for your domain. For example, if people visit your Mailman system
diff -r cbc01ed22f71 -r 6dd0f0c3033a mail/mailman/patches/patch-ah
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mailman/patches/patch-ah Mon Sep 06 04:12:46 2004 +0000
@@ -0,0 +1,45 @@
+$NetBSD: patch-ah,v 1.1 2004/09/06 04:12:46 lukem Exp $
+
+--- Mailman/htmlformat.py.orig 2003-09-22 12:58:13.000000000 +1000
++++ Mailman/htmlformat.py
+@@ -599,13 +599,15 @@ class DefinitionList(Container):
+ #
+ from mm_cfg import MAILMAN_URL
+ PYTHON_URL = 'http://www.python.org/'
+-GNU_URL = 'http://www.gnu.org/'
+
+ # The names of the image logo files. These are concatentated onto
+ # mm_cfg.IMAGE_LOGOS (not urljoined).
+ DELIVERED_BY = 'mailman.jpg'
+ PYTHON_POWERED = 'PythonPowered.png'
+-GNU_HEAD = 'gnu-head-tiny.jpg'
++
++from mm_cfg import IMAGE3_URL
++from mm_cfg import IMAGE3_IMG
++from mm_cfg import IMAGE3_ALT
+
+
+ def MailmanLogo():
+@@ -617,17 +619,17 @@ def MailmanLogo():
+ '<br>version %s' % (logo(DELIVERED_BY), mm_cfg.VERSION)
+ pylink = '<img src="%s" alt="Python Powered" border=0>' % \
+ logo(PYTHON_POWERED)
+- gnulink = '<img src="%s" alt="GNU\'s Not Unix" border=0>' % \
+- logo(GNU_HEAD)
+- t.AddRow([mmlink, pylink, gnulink])
++ image3link = '<img src="%s" alt="%s" border=0>' % \
++ (logo(IMAGE3_IMG), IMAGE3_ALT)
++ t.AddRow([mmlink, pylink, image3link])
+ else:
+ # use only textual links
+ version = mm_cfg.VERSION
+ mmlink = Link(MAILMAN_URL,
+ _('Delivered by Mailman<br>version %(version)s'))
+ pylink = Link(PYTHON_URL, _('Python Powered'))
+- gnulink = Link(GNU_URL, _("Gnu's Not Unix"))
+- t.AddRow([mmlink, pylink, gnulink])
++ image3link = Link(IMAGE3_URL, _(IMAGE3_ALT))
++ t.AddRow([mmlink, pylink, image3link])
+ return t
+
+
Home |
Main Index |
Thread Index |
Old Index