summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-02-01 23:51:02 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-02-01 23:51:02 +0000
commit4654401ee1cff559c2f4af7344870c487de13276 (patch)
tree20e6c27b8dc5e682b78666174698654ee98d25a4
parent3162939da7bd489a76f0f117923850bc5025355d (diff)
downloadbcfg2-4654401ee1cff559c2f4af7344870c487de13276.tar.gz
bcfg2-4654401ee1cff559c2f4af7344870c487de13276.tar.bz2
bcfg2-4654401ee1cff559c2f4af7344870c487de13276.zip
Version bump to 0.9.1a
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2766 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--debian/changelog6
-rw-r--r--gentoo/bcfg2-0.9.1a.ebuild51
-rw-r--r--misc/bcfg2.spec13
3 files changed, 65 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index 95c1eb753..400338dff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+bcfg2 (0.9.1a-0.2) unstable; urgency=low
+
+ * brown paper bag release
+
+ -- Narayan Desai <desai@mcs.anl.gov> Thu, 1 Feb 2007 17:49:01 -0600
+
bcfg2 (0.9.1-0.1) unstable; urgency=low
* new release
diff --git a/gentoo/bcfg2-0.9.1a.ebuild b/gentoo/bcfg2-0.9.1a.ebuild
new file mode 100644
index 000000000..76e5bee0c
--- /dev/null
+++ b/gentoo/bcfg2-0.9.1a.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="Bcfg2 is a configuration management tool. Package includes client
+and server."
+HOMEPAGE="http://www.mcs.anl.gov/cobalt/bcfg2"
+
+# handle the "pre" case
+MY_P="${P/_/}"
+SRC_URI="ftp://ftp.mcs.anl.gov/pub/bcfg/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="app-portage/gentoolkit
+ dev-python/elementtree
+ dev-python/pyopenssl
+ dev-python/lxml
+ ( || ( app-admin/gamin
+ app-admin/fam ) )"
+
+RDEPEND=""
+
+src_compile() {
+ python setup.py build
+}
+
+src_install() {
+ install -d ${D}/usr/sbin
+ install -d ${D}/etc/init.d
+ exeinto /etc/init.d
+ exeopts -m0755
+ newexe ${FILESDIR}/bcfg2-server.rc bcfg2-server
+ python setup.py install \
+ --root=${D} \
+ --record=PY_SERVER_LIBS \
+ --install-scripts /usr/sbin
+}
+
+pkg_postinst () {
+ depscan.sh
+}
+
+pkg_postrm () {
+ depscan.sh
+}
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec
index 001487f92..f743fad3b 100644
--- a/misc/bcfg2.spec
+++ b/misc/bcfg2.spec
@@ -4,7 +4,7 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: bcfg2
-Version: 0.9.1
+Version: 0.9.1a
Release: %{release}
Summary: Configuration management system
@@ -72,14 +72,14 @@ Bcfg2 client
%{__install} -d %{buildroot}%{_sysconfdir}/default
%{__install} -d %{buildroot}%{_sysconfdir}/cron.daily
%{__install} -d %{buildroot}%{_sysconfdir}/cron.hourly
-%{__install} -d %{buildroot}%{_libdir}/bcfg2
+%{__install} -d %{buildroot}%{_prefix}/lib/bcfg2
%{__mv} %{buildroot}/usr/bin/bcfg2* %{buildroot}%{_sbindir}
%{__install} -m 755 debian/buildsys/common/bcfg2.init %{buildroot}%{_initrddir}/bcfg2
%{__install} -m 755 debian/buildsys/common/bcfg2-server.init %{buildroot}%{_initrddir}/bcfg2-server
%{__install} -m 755 debian/bcfg2.default %{buildroot}%{_sysconfdir}/default/bcfg2
%{__install} -m 755 debian/bcfg2.cron.daily %{buildroot}%{_sysconfdir}/cron.daily/bcfg2
%{__install} -m 755 debian/bcfg2.cron.hourly %{buildroot}%{_sysconfdir}/cron.hourly/bcfg2
-%{__install} -m 755 tools/bcfg2-cron %{buildroot}%{_libdir}/bcfg2/bcfg2-cron
+%{__install} -m 755 tools/bcfg2-cron %{buildroot}%{_prefix}/lib/bcfg2/bcfg2-cron
%clean
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} || exit 2
@@ -95,7 +95,7 @@ Bcfg2 client
%config(noreplace) %{_sysconfdir}/default/bcfg2
%{_sysconfdir}/cron.hourly/bcfg2
%{_sysconfdir}/cron.daily/bcfg2
-%{_libdir}/bcfg2/bcfg2-cron
+%{_prefix}/lib/bcfg2/bcfg2-cron
%post -n bcfg2-server
/sbin/chkconfig --add bcfg2-server
@@ -118,9 +118,12 @@ Bcfg2 client
%{_sbindir}/bcfg2-server
%{_mandir}/man8/*.8*
-%dir %{_libdir}/bcfg2
+%dir %{_prefix}/lib/bcfg2
%changelog
+* Fri Feb 2 2007 Mike Brady <mike.brady@devnull.net.nz> 0.9.1
+- Removed use of _libdir due to Red Hat x86_64 issue.
+
* Fri Dec 22 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-5
- Server needs client library files too so put them in main package