Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-filter/dcc: dcc-1.3.154.ebuild ChangeLog
Date: Sat, 28 Dec 2013 04:50:28
Message-Id: 20131228045023.B58702004E@flycatcher.gentoo.org
1 robbat2 13/12/28 04:50:23
2
3 Modified: dcc-1.3.154.ebuild ChangeLog
4 Log:
5 Bring in DCC fixes from Bugzilla: #418417 (FreeBSD support, by Naohiro Aota <naota@g.o>), #463504 (Milter TCP, Stevan Bajić <stevan@×××××.ch>), #472338 (dccm timeout), #447816+#447814 (AR/RANLIB/CC variables; Fix by Michael Mair-Keimberger <bu9zilla@×××××.com>), #425956 (license for scripts).
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.2 mail-filter/dcc/dcc-1.3.154.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/dcc/dcc-1.3.154.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/dcc/dcc-1.3.154.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/dcc/dcc-1.3.154.ebuild?r1=1.1&r2=1.2
15
16 Index: dcc-1.3.154.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.154.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -p -w -b -B -u -u -r1.1 -r1.2
22 --- dcc-1.3.154.ebuild 28 Dec 2013 04:33:08 -0000 1.1
23 +++ dcc-1.3.154.ebuild 28 Dec 2013 04:50:23 -0000 1.2
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2013 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.154.ebuild,v 1.1 2013/12/28 04:33:08 robbat2 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.154.ebuild,v 1.2 2013/12/28 04:50:23 robbat2 Exp $
29
30 EAPI=5
31
32 @@ -10,9 +10,9 @@ DESCRIPTION="Distributed Checksum Cleari
33 HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
34 SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z"
35
36 -LICENSE="DCC"
37 +LICENSE="DCC GPL-2"
38 SLOT="0"
39 -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
40 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" # ~amd64-fbsd
41 IUSE="cgi ipv6 rrdtool milter"
42
43 RDEPEND="dev-lang/perl
44 @@ -29,10 +29,10 @@ dcc_libexec=/usr/sbin
45 dcc_man=/usr/share/man
46 dcc_rundir=/var/run/dcc
47
48 -PATCHES=( )
49 -#"${FILESDIR}"/dcc-1.3.140-configure-fix.patch # Merged upstream
50 +PATCHES=( "${FILESDIR}"/dcc-1.3.140-freebsd.patch )
51
52 src_configure() {
53 + tc-export CC AR RANLIB
54 local myconf
55 myconf="${myconf} --homedir=${dcc_homedir}"
56 myconf="${myconf} --bindir=/usr/bin"
57 @@ -49,6 +49,7 @@ src_configure() {
58 myconf="${myconf} --with-db-memory=64"
59 myconf="${myconf} --with-max-db-mem=128"
60 myconf="${myconf} --with-max-log-size=0"
61 + myconf="${myconf} --with-make-cmd=${MAKE:-make}"
62 myconf="${myconf} $(use_enable ipv6 IPv6)"
63 myconf="${myconf} $(use_with cgi cgibin ${dcc_cgibin})"
64 myconf="${myconf} $(use_enable milter dccm)"
65 @@ -60,10 +61,6 @@ src_configure() {
66 ./configure ${myconf} || die "configure failed!"
67 }
68
69 -src_compile() {
70 - emake CC="$(tc-getCC)" || die "emake failed!"
71 -}
72 -
73 moveconf() {
74 local into=/etc/dcc/
75 for i in $@; do
76 @@ -74,7 +71,7 @@ moveconf() {
77
78 src_install() {
79 # stolen from the RPM .spec and modified for gentoo
80 - MANOWN=root MANGRP=root export MANOWN MANGRP
81 + MANOWN=root MANGRP=$(id -g -n root) export MANOWN MANGRP
82 BINOWN="${MANOWN}" BINGRP="${MANGRP}" export BINOWN BINGRP
83 DCC_PROTO_HOMEDIR="${D}${dcc_homedir}" export DCC_PROTO_HOMEDIR
84 DCC_CGIBINDIR="${D}${dcc_cgibin}" export DCC_CGIBINDIR
85 @@ -88,7 +85,7 @@ src_install() {
86
87 # This package now takes "${D}" at compile-time!
88 # make DESTDIR="${D}" DCC_BINDIR="${D}"/usr/bin MANDIR="${D}"/usr/share/man/man DCC_HOMEDIR="${D}"${dcc_homedir} install || die
89 - emake install || die "emake install failed"
90 + emake install
91
92 # branding and setting reasonable defaults
93 sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
94
95
96
97 1.77 mail-filter/dcc/ChangeLog
98
99 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/dcc/ChangeLog?rev=1.77&view=markup
100 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/dcc/ChangeLog?rev=1.77&content-type=text/plain
101 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/dcc/ChangeLog?r1=1.76&r2=1.77
102
103 Index: ChangeLog
104 ===================================================================
105 RCS file: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v
106 retrieving revision 1.76
107 retrieving revision 1.77
108 diff -p -w -b -B -u -u -r1.76 -r1.77
109 --- ChangeLog 28 Dec 2013 04:33:08 -0000 1.76
110 +++ ChangeLog 28 Dec 2013 04:50:23 -0000 1.77
111 @@ -1,6 +1,13 @@
112 # ChangeLog for mail-filter/dcc
113 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
114 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.76 2013/12/28 04:33:08 robbat2 Exp $
115 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.77 2013/12/28 04:50:23 robbat2 Exp $
116 +
117 + 28 Dec 2013; Robin H. Johnson <robbat2@g.o>
118 + +files/dcc-1.3.140-freebsd.patch, dcc-1.3.154.ebuild, files/dcc.initd-1.3.154:
119 + Bring in DCC fixes from Bugzilla: #418417 (FreeBSD support, by Naohiro Aota
120 + <naota@g.o>), #463504 (Milter TCP, Stevan Bajić <stevan@×××××.ch>),
121 + #472338 (dccm timeout), #447816+#447814 (AR/RANLIB/CC variables; Fix by
122 + Michael Mair-Keimberger <bu9zilla@×××××.com>), #425956 (license for scripts).
123
124 *dcc-1.3.154 (28 Dec 2013)