1 |
slords |
1.1 |
diff -r -u mailman-2.1.5.orig/misc/mailman.in mailman-2.1.5/misc/mailman.in |
2 |
|
|
--- mailman-2.1.5.orig/misc/mailman.in 2003-09-25 18:13:26.000000000 -0400 |
3 |
|
|
+++ mailman-2.1.5/misc/mailman.in 2004-09-03 10:21:59.000000000 -0400 |
4 |
|
|
@@ -24,7 +24,7 @@ |
5 |
|
|
# On Debian, type "update-rc.d mailman defaults" |
6 |
|
|
# On RedHat, and derivatives, install with "chkconfig --add mailman" |
7 |
|
|
# |
8 |
|
|
-# chkconfig: 2345 98 12 |
9 |
|
|
+# chkconfig: - 98 12 |
10 |
|
|
# description: Mailman is the GNU Mailing List Manager, a program that \ |
11 |
|
|
# manages electronic mail discussion groups. For more \ |
12 |
|
|
# on GNU Mailman see http://www.list.org |
13 |
|
|
diff -u mailman-2.1.2/Makefile.in.orig mailman-2.1.2/Makefile.in |
14 |
|
|
--- mailman-2.1.2/Makefile.in.orig 2003-05-02 17:13:05.000000000 -0400 |
15 |
|
|
+++ mailman-2.1.2/Makefile.in 2003-05-06 20:33:32.000000000 -0400 |
16 |
|
|
@@ -81,9 +81,20 @@ |
17 |
|
|
(cd $$d; $(MAKE)); \ |
18 |
|
|
done |
19 |
|
|
|
20 |
|
|
-install: doinstall update |
21 |
|
|
+install: doinstall |
22 |
|
|
+ |
23 |
|
|
+post-install: compile update |
24 |
|
|
|
25 |
|
|
doinstall: $(SUBDIRS) |
26 |
|
|
+ @$(srcdir)/mkinstalldirs $(DESTDIR)$(prefix) |
27 |
|
|
+ @chmod $(DIRMODE) $(DESTDIR)$(prefix) |
28 |
|
|
+ @$(DIRSETGID) $(DESTDIR)$(prefix) |
29 |
|
|
+ @$(srcdir)/mkinstalldirs $(DESTDIR)$(var_prefix) |
30 |
|
|
+ @chmod $(DIRMODE) $(DESTDIR)$(var_prefix) |
31 |
|
|
+ @$(DIRSETGID) $(DESTDIR)$(var_prefix) |
32 |
|
|
+ @$(srcdir)/mkinstalldirs $(DESTDIR)$(exec_prefix) |
33 |
|
|
+ @chmod $(DIRMODE) $(DESTDIR)$(exec_prefix) |
34 |
|
|
+ @$(DIRSETGID) $(DESTDIR)$(exec_prefix) |
35 |
|
|
@echo "Creating architecture independent directories..." |
36 |
|
|
@for d in $(VAR_DIRS); \ |
37 |
|
|
do \ |
38 |
|
|
@@ -124,6 +135,8 @@ |
39 |
|
|
do \ |
40 |
|
|
(cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \ |
41 |
|
|
done |
42 |
|
|
+ |
43 |
|
|
+compile: |
44 |
|
|
$(PYTHON) -c 'from compileall import *; compile_dir("$(DESTDIR)$(prefix)/Mailman")' |
45 |
|
|
|
46 |
|
|
# Only run bin/update if we aren't installing in DESTDIR, as this |