1 |
mrness 09/08/22 22:40:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libmilter-1.0.1.ebuild |
5 |
Removed: libmilter-8.14.3.ebuild |
6 |
Log: |
7 |
Use the real libmilter version iso sendmail version. |
8 |
Install libmilter library in both forms, static and dynamic (#245950). |
9 |
(Portage version: 2.1.6.13/cvs/Linux x86_64, RepoMan options: --force) |
10 |
|
11 |
Revision Changes Path |
12 |
1.20 mail-filter/libmilter/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/libmilter/ChangeLog?rev=1.20&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/libmilter/ChangeLog?rev=1.20&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/libmilter/ChangeLog?r1=1.19&r2=1.20 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/mail-filter/libmilter/ChangeLog,v |
21 |
retrieving revision 1.19 |
22 |
retrieving revision 1.20 |
23 |
diff -u -r1.19 -r1.20 |
24 |
--- ChangeLog 9 May 2009 12:23:46 -0000 1.19 |
25 |
+++ ChangeLog 22 Aug 2009 22:40:17 -0000 1.20 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for mail-filter/libmilter |
28 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/libmilter/ChangeLog,v 1.19 2009/05/09 12:23:46 mrness Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libmilter/ChangeLog,v 1.20 2009/08/22 22:40:17 mrness Exp $ |
31 |
+ |
32 |
+*libmilter-1.0.1 (22 Aug 2009) |
33 |
+ |
34 |
+ 22 Aug 2009; Alin Năstac <mrness@g.o> files/gentoo.config.m4, |
35 |
+ +files/libmilter-sharedlib.patch, +libmilter-1.0.1.ebuild, |
36 |
+ -libmilter-8.14.3.ebuild: |
37 |
+ Use the real libmilter version iso sendmail version. Install libmilter |
38 |
+ library in both forms, static and dynamic (#245950). |
39 |
|
40 |
09 May 2009; Alin Năstac <mrness@g.o> libmilter-8.14.3.ebuild: |
41 |
Migrate to EAPI 2. |
42 |
|
43 |
|
44 |
|
45 |
1.1 mail-filter/libmilter/libmilter-1.0.1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/libmilter/libmilter-1.0.1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/libmilter/libmilter-1.0.1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: libmilter-1.0.1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2009 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/mail-filter/libmilter/libmilter-1.0.1.ebuild,v 1.1 2009/08/22 22:40:17 mrness Exp $ |
55 |
|
56 |
EAPI="2" |
57 |
|
58 |
inherit eutils toolchain-funcs |
59 |
|
60 |
# This library is part of sendmail, but it does not share the version number with it. |
61 |
# In order to find the right libmilter version number, check SMFI_VERSION definition |
62 |
# that can be found in ${S}/include/libmilter/mfapi.h (see also SM_LM_VRS_* defines). |
63 |
# For example, version 1.0.1 has a SMFI_VERSION of 0x01000001. |
64 |
SENDMAIL_VER=8.14.3 |
65 |
|
66 |
DESCRIPTION="The Sendmail Filter API (Milter)" |
67 |
HOMEPAGE="http://www.sendmail.org/" |
68 |
SRC_URI="ftp://ftp.sendmail.org/pub/sendmail/sendmail.${SENDMAIL_VER}.tar.gz" |
69 |
|
70 |
LICENSE="Sendmail" |
71 |
SLOT="0" |
72 |
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" |
73 |
IUSE="ipv6 poll" |
74 |
|
75 |
DEPEND="!mail-mta/sendmail" |
76 |
RDEPEND="${DEPEND}" |
77 |
|
78 |
S="${WORKDIR}/sendmail-${SENDMAIL_VER}" |
79 |
|
80 |
src_prepare() { |
81 |
epatch "${FILESDIR}"/${PN}-sharedlib.patch |
82 |
|
83 |
local CC="$(tc-getCC)" |
84 |
local ENVDEF="-DNETUNIX -DNETINET" |
85 |
use ipv6 && ENVDEF="${ENVDEF} -DNETINET6" |
86 |
use poll && ENVDEF="${ENVDEF} -DSM_CONF_POLL=1" |
87 |
|
88 |
sed -e "s:@@CFLAGS@@:${CFLAGS}:" \ |
89 |
-e "s:@@LDFLAGS@@:${LDFLAGS}:" \ |
90 |
-e "s:@@CC@@:${CC}:" \ |
91 |
-e "s:@@ENVDEF@@:${ENVDEF}:" \ |
92 |
"${FILESDIR}/gentoo.config.m4" > "${S}/devtools/Site/site.config.m4" \ |
93 |
|| die "failed to generate site.config.m4" |
94 |
} |
95 |
|
96 |
src_compile() { |
97 |
pushd libmilter |
98 |
emake -j1 MILTER_SOVER=${PV} || die "libmilter compilation failed" |
99 |
popd |
100 |
} |
101 |
|
102 |
src_install () { |
103 |
local MY_LIBDIR=/usr/$(get_libdir) |
104 |
dodir "${MY_LIBDIR}" |
105 |
emake DESTDIR="${D}" LIBDIR="${MY_LIBDIR}" MANROOT=/usr/share/man/man \ |
106 |
SBINOWN=root SBINGRP=root UBINOWN=root UBINGRP=root \ |
107 |
LIBOWN=root LIBGRP=root GBINOWN=root GBINGRP=root \ |
108 |
MANOWN=root MANGRP=root INCOWN=root INCGRP=root \ |
109 |
MSPQOWN=root CFOWN=root CFGRP=root \ |
110 |
MILTER_SOVER=${PV} \ |
111 |
install -C obj.*/libmilter \ |
112 |
|| die "install failed" |
113 |
|
114 |
dodoc libmilter/README |
115 |
dohtml libmilter/docs/* |
116 |
} |