1 |
mrness 09/08/22 21:41:23 |
2 |
|
3 |
Modified: site.config.m4 sendmail |
4 |
Added: libmilter-sharedlib.patch |
5 |
Log: |
6 |
Migrate to EAPI 2. |
7 |
Quote variables. |
8 |
Install libmilter library in both forms, static and dynamic (#245950). |
9 |
Add "use dns" to init script (#213656). |
10 |
Fix QA pre-stripped binary warnings and honor LDFLAGS (#251946). |
11 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
12 |
|
13 |
Revision Changes Path |
14 |
1.5 mail-mta/sendmail/files/site.config.m4 |
15 |
|
16 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/sendmail/files/site.config.m4?rev=1.5&view=markup |
17 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/sendmail/files/site.config.m4?rev=1.5&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/sendmail/files/site.config.m4?r1=1.4&r2=1.5 |
19 |
|
20 |
Index: site.config.m4 |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/mail-mta/sendmail/files/site.config.m4,v |
23 |
retrieving revision 1.4 |
24 |
retrieving revision 1.5 |
25 |
diff -u -r1.4 -r1.5 |
26 |
--- site.config.m4 29 May 2005 16:17:49 -0000 1.4 |
27 |
+++ site.config.m4 22 Aug 2009 21:41:22 -0000 1.5 |
28 |
@@ -3,7 +3,9 @@ |
29 |
define(`confENVDEF', `@@confENVDEF@@') |
30 |
define(`confLIBS', `@@confLIBS@@') |
31 |
define(`confSTDIO_TYPE', `portable') |
32 |
-define(`confLDOPTS', `-Wl,-z,now -s') |
33 |
+define(`confLDOPTS', `-Wl,-z,now @@confLDOPTS@@') |
34 |
+define(`confLDOPTS_SO', `-shared') |
35 |
+define(`confCCOPTS_SO', `-fPIC') |
36 |
define(`confMANOWN', `root') |
37 |
define(`confMANGRP', `root') |
38 |
define(`confMANMODE', `644') |
39 |
|
40 |
|
41 |
|
42 |
1.7 mail-mta/sendmail/files/sendmail |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/sendmail/files/sendmail?rev=1.7&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/sendmail/files/sendmail?rev=1.7&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/sendmail/files/sendmail?r1=1.6&r2=1.7 |
47 |
|
48 |
Index: sendmail |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/mail-mta/sendmail/files/sendmail,v |
51 |
retrieving revision 1.6 |
52 |
retrieving revision 1.7 |
53 |
diff -u -r1.6 -r1.7 |
54 |
--- sendmail 26 Sep 2007 10:46:26 -0000 1.6 |
55 |
+++ sendmail 22 Aug 2009 21:41:22 -0000 1.7 |
56 |
@@ -1,11 +1,11 @@ |
57 |
#!/sbin/runscript |
58 |
# Copyright 1999-2004 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/files/sendmail,v 1.6 2007/09/26 10:46:26 lcars Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/files/sendmail,v 1.7 2009/08/22 21:41:22 mrness Exp $ |
62 |
|
63 |
depend() { |
64 |
need net |
65 |
- use logger antivirus |
66 |
+ use dns logger antivirus |
67 |
provide mta |
68 |
} |
69 |
|
70 |
|
71 |
|
72 |
|
73 |
1.1 mail-mta/sendmail/files/libmilter-sharedlib.patch |
74 |
|
75 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/sendmail/files/libmilter-sharedlib.patch?rev=1.1&view=markup |
76 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/sendmail/files/libmilter-sharedlib.patch?rev=1.1&content-type=text/plain |
77 |
|
78 |
Index: libmilter-sharedlib.patch |
79 |
=================================================================== |
80 |
diff -Nru sendmail-8.14.3.orig/devtools/M4/UNIX/milterlibrary.m4 sendmail-8.14.3/devtools/M4/UNIX/milterlibrary.m4 |
81 |
--- sendmail-8.14.3.orig/devtools/M4/UNIX/milterlibrary.m4 1970-01-01 01:00:00.000000000 +0100 |
82 |
+++ sendmail-8.14.3/devtools/M4/UNIX/milterlibrary.m4 2009-08-22 21:51:10.000000000 +0200 |
83 |
@@ -0,0 +1,39 @@ |
84 |
+divert(-1) |
85 |
+# |
86 |
+# Copyright (c) 1999-2001 Sendmail, Inc. and its suppliers. |
87 |
+# All rights reserved. |
88 |
+# |
89 |
+# By using this file, you agree to the terms and conditions set |
90 |
+# forth in the LICENSE file which can be found at the top level of |
91 |
+# the sendmail distribution. |
92 |
+# |
93 |
+# |
94 |
+# Definitions for Makefile construction for sendmail |
95 |
+# |
96 |
+divert(0)dnl |
97 |
+include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/links.m4')dnl |
98 |
+bldLIST_PUSH_ITEM(`bldC_PRODUCTS', bldCURRENT_PRODUCT)dnl |
99 |
+bldPUSH_TARGET(bldCURRENT_PRODUCT`.so' bldCURRENT_PRODUCT`.a')dnl |
100 |
+bldPUSH_INSTALL_TARGET(`install-'bldCURRENT_PRODUCT)dnl |
101 |
+bldPUSH_CLEAN_TARGET(bldCURRENT_PRODUCT`-clean')dnl |
102 |
+ |
103 |
+include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/defines.m4') |
104 |
+divert(bldTARGETS_SECTION) |
105 |
+bldCURRENT_PRODUCT.so: ${BEFORE} ${bldCURRENT_PRODUCT`OBJS'} |
106 |
+ ${CCLINK} ${LDOPTS_SO} -o bldCURRENT_PRODUCT.so -Wl,confSONAME,bldCURRENT_PRODUCT.so.${MILTER_SOVER} ${bldCURRENT_PRODUCT`OBJS'} -lc |
107 |
+bldCURRENT_PRODUCT.a: ${BEFORE} ${bldCURRENT_PRODUCT`OBJS'} |
108 |
+ ${AR} ${AROPTS} bldCURRENT_PRODUCT.a ${bldCURRENT_PRODUCT`OBJS'} |
109 |
+ ${RANLIB} ${RANLIBOPTS} bldCURRENT_PRODUCT.a |
110 |
+ifdef(`bldLINK_SOURCES', `bldMAKE_SOURCE_LINKS(bldLINK_SOURCES)') |
111 |
+ |
112 |
+install-`'bldCURRENT_PRODUCT: bldCURRENT_PRODUCT.so bldCURRENT_PRODUCT.a |
113 |
+ifdef(`bldINSTALLABLE', ` ifdef(`confMKDIR', `if [ ! -d ${DESTDIR}${bldINSTALL_DIR`'LIBDIR} ]; then confMKDIR -p ${DESTDIR}${bldINSTALL_DIR`'LIBDIR}; else :; fi ') |
114 |
+ ${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m ${UBINMODE} bldCURRENT_PRODUCT.so ${DESTDIR}${LIBDIR}/bldCURRENT_PRODUCT.so.${MILTER_SOVER} |
115 |
+ ${LN} ${LNOPTS} bldCURRENT_PRODUCT.so.${MILTER_SOVER} ${DESTDIR}${LIBDIR}/bldCURRENT_PRODUCT.so |
116 |
+ ${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} bldCURRENT_PRODUCT.a ${DESTDIR}${LIBDIR}') |
117 |
+ |
118 |
+bldCURRENT_PRODUCT-clean: |
119 |
+ rm -f ${OBJS} bldCURRENT_PRODUCT.so bldCURRENT_PRODUCT.a ${MANPAGES} |
120 |
+ |
121 |
+divert(0) |
122 |
+COPTS+= confCCOPTS_SO |
123 |
diff -Nru sendmail-8.14.3.orig/libmilter/Makefile.m4 sendmail-8.14.3/libmilter/Makefile.m4 |
124 |
--- sendmail-8.14.3.orig/libmilter/Makefile.m4 2008-04-08 07:23:44.000000000 +0200 |
125 |
+++ sendmail-8.14.3/libmilter/Makefile.m4 2009-08-22 21:53:35.000000000 +0200 |
126 |
@@ -9,7 +9,7 @@ |
127 |
SMSRCDIR=ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail') |
128 |
PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ') |
129 |
|
130 |
-bldPRODUCT_START(`library', `libmilter') |
131 |
+bldPRODUCT_START(`milterlibrary', `libmilter') |
132 |
define(`bldINSTALLABLE', `true') |
133 |
define(`LIBMILTER_EXTRAS', `errstring.c strl.c') |
134 |
APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL -Dsm_snprintf=snprintf') |