* [gentoo-commits] gentoo-x86 commit in net-misc/cfengine: cfengine-3.5.3.ebuild ChangeLog
@ 2014-03-03 14:08 Marc Schiffbauer (mschiff)
0 siblings, 0 replies; 2+ messages in thread
From: Marc Schiffbauer (mschiff) @ 2014-03-03 14:08 UTC (permalink / raw
To: gentoo-commits
mschiff 14/03/03 14:08:46
Modified: cfengine-3.5.3.ebuild ChangeLog
Log:
Fix configure with USE=mysql (bug #503022)
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x296C6CCA35A64134)
Revision Changes Path
1.2 net-misc/cfengine/cfengine-3.5.3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/cfengine-3.5.3.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/cfengine-3.5.3.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/cfengine-3.5.3.ebuild?r1=1.1&r2=1.2
Index: cfengine-3.5.3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/cfengine/cfengine-3.5.3.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cfengine-3.5.3.ebuild 27 Feb 2014 17:45:02 -0000 1.1
+++ cfengine-3.5.3.ebuild 3 Mar 2014 14:08:46 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/cfengine-3.5.3.ebuild,v 1.1 2014/02/27 17:45:02 mschiff Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/cfengine-3.5.3.ebuild,v 1.2 2014/03/03 14:08:46 mschiff Exp $
EAPI="5"
@@ -62,7 +62,7 @@
$(use_with qdbm) \
$(use_with tokyocabinet) \
$(use_with postgres postgresql) \
- $(use_with mysql mysql=check) \
+ $(use_with mysql mysql check) \
$(use_with libvirt) \
$(use_enable selinux)
1.168 net-misc/cfengine/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/ChangeLog?rev=1.168&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/ChangeLog?rev=1.168&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/ChangeLog?r1=1.167&r2=1.168
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -r1.167 -r1.168
--- ChangeLog 27 Feb 2014 17:45:02 -0000 1.167
+++ ChangeLog 3 Mar 2014 14:08:46 -0000 1.168
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/cfengine
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v 1.167 2014/02/27 17:45:02 mschiff Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v 1.168 2014/03/03 14:08:46 mschiff Exp $
+
+ 03 Mar 2014; Marc Schiffbauer <mschiff@gentoo.org> cfengine-3.5.3.ebuild:
+ Fix configure with USE=,ysql for some users. Fixes bug #503022 (thanks
+ tonich)
*cfengine-3.5.3 (27 Feb 2014)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-misc/cfengine: cfengine-3.5.3.ebuild ChangeLog
@ 2014-02-27 17:45 Marc Schiffbauer (mschiff)
0 siblings, 0 replies; 2+ messages in thread
From: Marc Schiffbauer (mschiff) @ 2014-02-27 17:45 UTC (permalink / raw
To: gentoo-commits
mschiff 14/02/27 17:45:03
Modified: ChangeLog
Added: cfengine-3.5.3.ebuild
Log:
Version bump to 3.5.3.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x296C6CCA35A64134)
Revision Changes Path
1.167 net-misc/cfengine/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/ChangeLog?rev=1.167&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/ChangeLog?rev=1.167&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/ChangeLog?r1=1.166&r2=1.167
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -r1.166 -r1.167
--- ChangeLog 22 Feb 2014 23:31:23 -0000 1.166
+++ ChangeLog 27 Feb 2014 17:45:02 -0000 1.167
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/cfengine
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v 1.166 2014/02/22 23:31:23 mschiff Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v 1.167 2014/02/27 17:45:02 mschiff Exp $
+
+*cfengine-3.5.3 (27 Feb 2014)
+
+ 27 Feb 2014; Marc Schiffbauer <mschiff@gentoo.org> +cfengine-3.5.3.ebuild,
+ +files/cfengine-3.5.3-ifconfig.patch:
+ Add 3.5.3 ebuild. Fixed USE=mysql. Removed html and tests USE flags. Fixes
+ #491838. Should fix #464358
*cfengine-3.4.5 (22 Feb 2014)
1.1 net-misc/cfengine/cfengine-3.5.3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/cfengine-3.5.3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/cfengine-3.5.3.ebuild?rev=1.1&content-type=text/plain
Index: cfengine-3.5.3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/cfengine-3.5.3.ebuild,v 1.1 2014/02/27 17:45:02 mschiff Exp $
EAPI="5"
inherit eutils autotools flag-o-matic
MY_PV="${PV//_beta/b}"
MY_PV="${MY_PV/_p/p}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="An automated suite of programs for configuring and maintaining
Unix-like computers"
HOMEPAGE="http://www.cfengine.org/"
SRC_URI="http://cfengine.com/source-code/download?file=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="GPL-3"
SLOT="3"
KEYWORDS="~amd64 ~arm ~ppc ~s390 ~sparc ~x86"
IUSE="acl examples libvirt mysql postgres +qdbm selinux tokyocabinet vim-syntax xml"
DEPEND="acl? ( virtual/acl )
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql-base )
selinux? ( sys-libs/libselinux )
tokyocabinet? ( dev-db/tokyocabinet )
qdbm? ( dev-db/qdbm )
libvirt? ( app-emulation/libvirt )
xml? ( dev-libs/libxml2:2 ) \
dev-libs/openssl
dev-libs/libpcre"
RDEPEND="${DEPEND}"
PDEPEND="vim-syntax? ( app-vim/cfengine-syntax )"
REQUIRED_USE="qdbm? ( !tokyocabinet )
tokyocabinet? ( !qdbm )
!tokyocabinet? ( qdbm )
!qdbm? ( tokyocabinet )"
S="${WORKDIR}/${MY_P}"
src_prepare() {
default
epatch "${FILESDIR}/${PN}-3.4.5-acl.patch"
epatch "${FILESDIR}/${P}-ifconfig.patch"
eautoreconf
}
src_configure() {
# Enforce /var/cfengine for historical compatibility
econf \
--enable-fhs \
--docdir=/usr/share/doc/${PF} \
--with-workdir=/var/cfengine \
--with-pcre \
$(use_with acl libacl) \
$(use_with qdbm) \
$(use_with tokyocabinet) \
$(use_with postgres postgresql) \
$(use_with mysql mysql=check) \
$(use_with libvirt) \
$(use_enable selinux)
# Fix Makefile to skip inputs, see below "examples"
#sed -i -e 's/\(SUBDIRS.*\) inputs/\1/' Makefile || die
# We install the documentation through portage
sed -i -e 's/\(install-data-am.*\) install-docDATA/\1/' Makefile || die
}
src_install() {
newinitd "${FILESDIR}"/cf-serverd.rc6 cf-serverd || die
newinitd "${FILESDIR}"/cf-monitord.rc6 cf-monitord || die
newinitd "${FILESDIR}"/cf-execd.rc6 cf-execd || die
emake DESTDIR="${D}" install || die
# fix ifconfig path in provided promises
find "${D}"/usr/share -name "*.cf" | xargs sed -i "s,/sbin/ifconfig,$(which ifconfig),g"
# Evil workaround for now..
mv "${D}"/usr/share/doc/${PN}/ "${D}"/usr/share/doc/${PF}
dodoc AUTHORS
if ! use examples; then
rm -rf "${D}"/usr/share/doc/${PF}/example*
fi
# Create cfengine working directory
dodir /var/cfengine/bin
fperms 700 /var/cfengine
# Copy cfagent into the cfengine tree otherwise cfexecd won't
# find it. Most hosts cache their copy of the cfengine
# binaries here. This is the default search location for the
# binaries.
for bin in promises agent monitord serverd execd runagent key; do
dosym /usr/sbin/cf-$bin /var/cfengine/bin/cf-$bin || die
done
}
pkg_postinst() {
echo
elog "NOTE: BDB (BerkelyDB) support has been removed as of ${PN}-3.3.0"
echo
einfo "Init scripts for cf-serverd, cf-monitord, and cf-execd are provided."
einfo
einfo "To run cfengine out of cron every half hour modify your crontab:"
einfo "0,30 * * * * /usr/sbin/cf-execd -F"
echo
elog "If you run cfengine the very first time, you MUST generate the keys for cfengine by running:"
elog "emerge --config ${CATEGORY}/${PN}"
# Fix old cf-servd, remove it after some releases.
local found=0
for fname in $(find /etc/runlevels/ -type f -or -type l -name 'cf-servd'); do
found=1
rm $fname
ln -s /etc/init.d/cf-serverd $(echo $fname | sed 's:cf-servd:cf-serverd:')
done
if [ "${found}" -eq 1 ]; then
echo
elog "/etc/init.d/cf-servd has been renamed to /etc/init.d/cf-serverd"
fi
}
pkg_config() {
if [ "${ROOT}" == "/" ]; then
if [ ! -f "/var/cfengine/ppkeys/localhost.priv" ]; then
einfo "Generating keys for localhost."
/usr/sbin/cf-key
fi
else
die "cfengine cfkey does not support any value of ROOT other than /."
fi
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-03 14:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-03 14:08 [gentoo-commits] gentoo-x86 commit in net-misc/cfengine: cfengine-3.5.3.ebuild ChangeLog Marc Schiffbauer (mschiff)
-- strict thread matches above, loose matches on Subject: below --
2014-02-27 17:45 Marc Schiffbauer (mschiff)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox