1 |
ramereth 08/04/28 19:27:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cfengine-2.2.6.ebuild |
5 |
Log: |
6 |
Bump cfengine to 2.2.6, misc cleanups in the ebuild |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.81 net-misc/cfengine/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/cfengine/ChangeLog?rev=1.81&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/cfengine/ChangeLog?rev=1.81&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/cfengine/ChangeLog?r1=1.80&r2=1.81 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v |
19 |
retrieving revision 1.80 |
20 |
retrieving revision 1.81 |
21 |
diff -u -r1.80 -r1.81 |
22 |
--- ChangeLog 21 Mar 2007 21:05:41 -0000 1.80 |
23 |
+++ ChangeLog 28 Apr 2008 19:27:29 -0000 1.81 |
24 |
@@ -1,6 +1,21 @@ |
25 |
# ChangeLog for net-misc/cfengine |
26 |
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v 1.80 2007/03/21 21:05:41 marineam Exp $ |
28 |
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v 1.81 2008/04/28 19:27:29 ramereth Exp $ |
30 |
+ |
31 |
+*cfengine-2.2.6 (28 Apr 2008) |
32 |
+ |
33 |
+ 28 Apr 2008; Lance Albertson <ramereth@g.o> |
34 |
+ +files/cfengine-2.2.6-typo-fix.patch, +files/cfenvd.rc6, |
35 |
+ +files/cfexecd.rc6, +cfengine-2.2.6.ebuild: |
36 |
+ * Bump package to 2.2.6 |
37 |
+ - Update DESCRIPTION,HOMEPAGE,SRC_URI fields |
38 |
+ - Add portage-utils depend |
39 |
+ - Add typo patch for this specific version |
40 |
+ - Fix man pages that use /usr/local |
41 |
+ - Add init scripts for cfenvd & cfexecd |
42 |
+ - Fix documentation |
43 |
+ - Remove references to cfportage since upstream now has it builtin |
44 |
+ - Update postinst section |
45 |
|
46 |
*cfengine-2.1.22-r1 (21 Mar 2007) |
47 |
|
48 |
|
49 |
|
50 |
|
51 |
1.1 net-misc/cfengine/cfengine-2.2.6.ebuild |
52 |
|
53 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/cfengine/cfengine-2.2.6.ebuild?rev=1.1&view=markup |
54 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/cfengine/cfengine-2.2.6.ebuild?rev=1.1&content-type=text/plain |
55 |
|
56 |
Index: cfengine-2.2.6.ebuild |
57 |
=================================================================== |
58 |
# Copyright 1999-2008 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/cfengine-2.2.6.ebuild,v 1.1 2008/04/28 19:27:29 ramereth Exp $ |
61 |
|
62 |
inherit eutils |
63 |
|
64 |
DESCRIPTION="An automated suite of programs for configuring and maintaining |
65 |
Unix-like computers" |
66 |
HOMEPAGE="http://www.cfengine.org/" |
67 |
SRC_URI="http://www.cfengine.org/downloads/${P}.tar.gz" |
68 |
|
69 |
LICENSE="GPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" |
72 |
IUSE="" |
73 |
|
74 |
DEPEND=">=sys-libs/db-4 |
75 |
>=dev-libs/openssl-0.9.7 |
76 |
app-portage/portage-utils" |
77 |
|
78 |
src_unpack() { |
79 |
unpack ${A} |
80 |
epatch "${FILESDIR}/${P}"-typo-fix.patch |
81 |
} |
82 |
|
83 |
src_compile() { |
84 |
# Enforce /var/cfengine for historical compatibility |
85 |
econf \ |
86 |
--with-workdir=/var/cfengine \ |
87 |
--with-berkeleydb=/usr || die |
88 |
|
89 |
# Fix Makefile to skip doc,inputs, & contrib install to wrong locations |
90 |
sed -i -e 's/\(DIST_SUBDIRS.*\) contrib inputs doc/\1/' Makefile |
91 |
sed -i -e 's/\(SUBDIRS.*\) contrib inputs/\1/' Makefile |
92 |
sed -i -e 's/\(install-data-am.*\) install-docDATA/\1/' Makefile |
93 |
|
94 |
# Fix man pages |
95 |
sed -i -e 's/\/usr\/local/\/usr/' doc/*.8 |
96 |
|
97 |
emake || die |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
newinitd "${FILESDIR}"/cfservd.rc6 cfservd |
102 |
newinitd "${FILESDIR}"/cfenvd.rc6 cfenvd |
103 |
newinitd "${FILESDIR}"/cfexecd.rc6 cfexecd |
104 |
|
105 |
make DESTDIR="${D}" install || die |
106 |
dodoc AUTHORS ChangeLog README TODO INSTALL |
107 |
|
108 |
# Manually install doc and inputs |
109 |
doman doc/*.8 |
110 |
docinto examples |
111 |
dodoc inputs/*.example |
112 |
|
113 |
# Create cfengine working directory |
114 |
mkdir -p "${D}"/var/cfengine |
115 |
fperms 700 /var/cfengine |
116 |
keepdir /var/cfengine/bin |
117 |
keepdir /var/cfengine/inputs |
118 |
dodir /var/cfengine/modules |
119 |
} |
120 |
|
121 |
pkg_postinst() { |
122 |
if [ ! -f "/var/cfengine/ppkeys/localhost.priv" ] |
123 |
then |
124 |
einfo "Generating keys for localhost." |
125 |
/usr/sbin/cfkey |
126 |
fi |
127 |
|
128 |
# Copy cfagent into the cfengine tree otherwise cfexecd won't |
129 |
# find it. Most hosts cache their copy of the cfengine |
130 |
# binaries here. This is the default search location for the |
131 |
# binaries. |
132 |
|
133 |
cp /usr/sbin/cf{agent,servd,execd} /var/cfengine/bin/ |
134 |
|
135 |
einfo |
136 |
einfo "NOTE: The cfportage module has been deprecated in favor of the" |
137 |
einfo " upstream 'packages' action." |
138 |
einfo |
139 |
einfo "Init scripts for cfservd, cfenvd, and cfexecd are now provided." |
140 |
einfo |
141 |
einfo "To run cfengine out of cron every half hour modify your crontab:" |
142 |
einfo "0,30 * * * * /usr/sbin/cfexecd -F" |
143 |
einfo |
144 |
} |
145 |
|
146 |
|
147 |
|
148 |
-- |
149 |
gentoo-commits@l.g.o mailing list |