summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-11-06 11:27:21 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-11-06 11:27:21 -0500
commita9c5ef601792aba01769a5263d79fe252da58e11 (patch)
tree4edcdbbc7453b4035be788891be344708bbc1420 /redhat
parent801baeb391dc3711d735b51c4ef8d447592559dc (diff)
downloadbcfg2-a9c5ef601792aba01769a5263d79fe252da58e11.tar.gz
bcfg2-a9c5ef601792aba01769a5263d79fe252da58e11.tar.bz2
bcfg2-a9c5ef601792aba01769a5263d79fe252da58e11.zip
removed unused redhat specfile, export.sh
Diffstat (limited to 'redhat')
-rw-r--r--redhat/Makefile153
-rw-r--r--redhat/PACKAGE1
-rw-r--r--redhat/RELEASE1
-rw-r--r--redhat/VERSION1
-rw-r--r--redhat/bcfg2.spec.in327
5 files changed, 0 insertions, 483 deletions
diff --git a/redhat/Makefile b/redhat/Makefile
deleted file mode 100644
index f8f779557..000000000
--- a/redhat/Makefile
+++ /dev/null
@@ -1,153 +0,0 @@
-# -- generic Makefile for building RPM-based packages out of source
-# code control systems (git, cvs, svn)
-#
-# $Id: Makefile 46 2007-10-24 09:14:12Z robin $
-
-.SUFFIXES:
-.PHONY: clean mrclean distclean prepclean all default
-.PHONY: rpm rpmdist buildrpm buildrpmdist
-.PHONY: buildtarball buildtargz
-.PHONY: builddir distdir prepbuildtarball
-.PHONY: cvs-export git-export svn-export test-export
-.PHONY: cvs-clean git-clean svn-clean test-clean
-
-SCM_TYPE := git
-SCM_PATH := ../
-#CVSROOT := $(shell cat 2>/dev/null src/CVS/Root)
-#SVN_PATH := $(shell svn info ${SCM_PATH} 2>/dev/null | awk '/^URL:/{print $$2}')
-#SVN_REV := $(shell svn info ${SVN_PATH} 2>/dev/null | awk '/^Last Changed Rev:/{print $$4}')
-
-PACKAGE := $(shell cat PACKAGE)
-VERSION := $(shell cat VERSION)
-RELEASE := $(shell cat RELEASE)
-BASE_VER := ${VERSION}-${RELEASE}
-CURRENT_PACKAGE := $(PACKAGE)-$(BASE_VER)
-TARBALL := $(PACKAGE)-$(VERSION).tar
-
-DIRNAME := $(shell echo $${PWD})
-DIRBASE := $(shell basename $${PWD})
-
-
-default: rpmdist
-
-# -- the "rpmdist" target will build out of the SCM, but will
-# use the user's default build settings (which in many cases
-# is exposed as an RPM repository)
-#
-rpmdist: buildrpmdist distclean
-
-buildrpmdist: specfile buildtargz
- @rpmbuild \
- -ta ./build/$(TARBALL).gz
-
-# -- the "rpm" target will build out of the SCM, but will leave
-# the resulting package in the relative ./build/ directory
-#
-rpm: buildrpm $(SCM_TYPE)-clean
-
-# add "debug" to a target to see the values of all these vars
-debug:
- echo SCM_TYPE: ${SCM_TYPE} && \
- echo SCM_PATH: ${SCM_PATH} && \
- echo SVN_PATH: ${SVN_PATH} && \
- echo SVN_REV : ${SVN_REV} && \
- echo PACKAGE : ${PACKAGE} && \
- echo VERSION : ${VERSION} && \
- echo RELEASE : ${RELEASE} && \
- echo BASE_VER: ${BASE_VER} && \
- echo CURRENT_PACKAGE: ${CURRENT_PACKAGE} && \
- echo TARBALL: ${TARBALL} && \
- echo DIRNAME: ${DIRNAME} && \
- echo DIRBASE: ${DIRBASE}
-
-buildrpm: specfile buildtargz
- @rpmbuild \
- --define "_rpmdir ./build/" \
- --define "_sourcedir ./build/" \
- --define "_srcrpmdir ./build/" \
- -ta ./build/$(TARBALL).gz
-
-buildtarball: prepbuildtarball
- @tar \
- --create \
- --directory ./build/ \
- --file ./build/$(TARBALL) \
- --exclude misc/bcfg2.spec \
- ${CURRENT_PACKAGE}
-
-buildtargz: buildtarball
- @gzip -c < ./build/$(TARBALL) > ./build/$(TARBALL).gz
-
-# This target copies files that are not in svn into the build tree
-prepbuildtarball: $(SCM_TYPE)-export
- @cp ${PACKAGE}.spec ./build/${CURRENT_PACKAGE}/redhat/ && \
- cp -R scripts ./build/${CURRENT_PACKAGE}/redhat/
-
-specfile: $(PACKAGE).spec
-
-# create the spec file from the .in file and put in the build tree
-$(PACKAGE).spec: PACKAGE VERSION RELEASE $(PACKAGE).spec.in
- @sed -e "s|@PACKAGE@|$(PACKAGE)|" \
- -e "s|@VERSION@|$(VERSION)|" \
- -e "s|@RELEASE@|$(RELEASE)|" \
- $(PACKAGE).spec.in > $@
-test-clean:
- @cd .. \
- && rm "$(CURRENT_PACKAGE)"
-
-test-export: builddir
- @cd .. \
- && ln -snvf $(DIRBASE) $(CURRENT_PACKAGE) \
- && tar \
- --create \
- --dereference \
- --to-stdout \
- --exclude "*.git*" \
- --exclude "*.svn*" \
- --exclude "*/CVS/*" \
- --exclude "$(CURRENT_PACKAGE)/build/*" \
- $(CURRENT_PACKAGE) \
- | tar \
- --extract \
- --directory $(CURRENT_PACKAGE)/build/ \
- --file -
-
-git-export: builddir prepclean
- @cd ../ && git archive --format=tar --prefix=$(CURRENT_PACKAGE)/ HEAD \
- | (cd redhat/build && tar xf -)
-
-git-clean:
- @:
-
-cvs-export: builddir prepclean
- @cd ./build/ \
- && echo CURRENT_PACKAGE: ${CURRENT_PACKAGE} \
- && echo CVSROOT: ${CVSROOT} \
- && CVSROOT=${CVSROOT} cvs export -r HEAD -d$(CURRENT_PACKAGE) ${PACKAGE}
-
-cvs-clean:
- @:
-
-svn-export: builddir prepclean
- @cd ./build/ \
- && svn export $(SVN_PATH) $(CURRENT_PACKAGE)
-
-svn-clean:
- @rm -f bcfg2.spec 2>/dev/null || :
-
-builddir:
- @mkdir -p ./build
-
-distdir:
- @mkdir -p ./dist
-
-prepclean:
- @rm -rf ./build/$(CURRENT_PACKAGE)*
-
-clean:
- @rm -rf ./build/* ./dist/* 2>/dev/null || :
-
-mrclean: clean
-
-distclean: clean $(SCM_TYPE)-clean
- @rmdir ./build/ ./dist/ 2>/dev/null || :
diff --git a/redhat/PACKAGE b/redhat/PACKAGE
deleted file mode 100644
index 5b418ae6b..000000000
--- a/redhat/PACKAGE
+++ /dev/null
@@ -1 +0,0 @@
-bcfg2
diff --git a/redhat/RELEASE b/redhat/RELEASE
deleted file mode 100644
index ba66466c2..000000000
--- a/redhat/RELEASE
+++ /dev/null
@@ -1 +0,0 @@
-0.0
diff --git a/redhat/VERSION b/redhat/VERSION
deleted file mode 100644
index 1892b9267..000000000
--- a/redhat/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-1.3.2
diff --git a/redhat/bcfg2.spec.in b/redhat/bcfg2.spec.in
deleted file mode 100644
index 62097be93..000000000
--- a/redhat/bcfg2.spec.in
+++ /dev/null
@@ -1,327 +0,0 @@
-%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%endif
-
-Name: @PACKAGE@
-Version: @VERSION@
-Release: @RELEASE@
-
-%define __python python
-%{!?py_ver: %define py_ver %(%{__python} -c 'import sys;print(sys.version[0:3])')}
-%define pythonversion %{py_ver}
-%{!?_initrddir: %define _initrddir %{_sysconfdir}/rc.d/init.d}
-
-Summary: Configuration management system
-
-Group: Applications/System
-License: BSD
-URL: http://bcfg2.org
-Source0: ftp://ftp.mcs.anl.gov/pub/bcfg/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch: noarch
-
-%if 0%{?fedora} >= 8
-BuildRequires: python-setuptools-devel
-%else
-BuildRequires: python-setuptools
-%endif
-
-# RHEL 5 and 6 ship with sphinx 0.6, but sphinx 1.0 is available with
-# a different package name in EPEL.
-%if "%{_vendor}" == "redhat" && 0%{?rhel} != 0
-BuildRequires: python-sphinx10
-# the python-sphinx10 package doesn't set sys.path correctly, so we
-# have to do it for them
-%define pythonpath %(find %{python_sitelib} -name Sphinx*.egg)
-%else
-BuildRequires: python-sphinx >= 1.0
-%endif
-
-BuildRequires: python-lxml
-
-%if "%{py_ver}" == "2.4"
-Requires: python-elementtree
-%else if "%{py_ver}" < "2.5"
-Requires: python-lxml
-%endif
-Requires: python-nose
-Requires: initscripts
-Requires(post): /sbin/chkconfig
-Requires(preun): /sbin/chkconfig
-Requires(preun): /sbin/service
-Requires(postun): /sbin/service
-
-%description
-Bcfg2 helps system administrators produce a consistent, reproducible,
-and verifiable description of their environment, and offers
-visualization and reporting tools to aid in day-to-day administrative
-tasks. It is the fifth generation of configuration management tools
-developed in the Mathematics and Computer Science Division of Argonne
-National Laboratory.
-
-It is based on an operational model in which the specification can be
-used to validate and optionally change the state of clients, but in a
-feature unique to bcfg2 the client's response to the specification can
-also be used to assess the completeness of the specification. Using
-this feature, bcfg2 provides an objective measure of how good a job an
-administrator has done in specifying the configuration of client
-systems. Bcfg2 is therefore built to help administrators construct an
-accurate, comprehensive specification.
-
-Bcfg2 has been designed from the ground up to support gentle
-reconciliation between the specification and current client states. It
-is designed to gracefully cope with manual system modifications.
-
-Finally, due to the rapid pace of updates on modern networks, client
-systems are constantly changing; if required in your environment,
-Bcfg2 can enable the construction of complex change management and
-deployment strategies.
-
-%package server
-Summary: Configuration management server
-Group: System Environment/Daemons
-Requires: bcfg2 = %{version}-%{release}
-%if "%{py_ver}" < "2.6"
-Requires: python-ssl
-%endif
-Requires: python-lxml >= 0.9
-Requires: /usr/bin/openssl
-Requires: gamin-python
-Requires: python-daemon
-Requires(post): /sbin/chkconfig
-Requires(preun): /sbin/chkconfig
-Requires(preun): /sbin/service
-Requires(postun): /sbin/service
-
-%description server
-Configuration management server
-
-%package doc
-Summary: Configuration management system documentation
-Group: Documentation
-
-%description doc
-Configuration management system documentation
-
-%prep
-%setup -q -n %{name}-%{version}-%{release}
-
-# fixup some paths
-%{__perl} -pi -e 's@/etc/default@%{_sysconfdir}/sysconfig@g' debian/bcfg2.init
-%{__perl} -pi -e 's@/etc/default@%{_sysconfdir}/sysconfig@g' debian/bcfg2-server.init
-%{__perl} -pi -e 's@/etc/default@%{_sysconfdir}/sysconfig@g' tools/bcfg2-cron
-
-# don't start servers by default
-%{__perl} -pi -e 's@chkconfig: (\d+)@chkconfig: -@' debian/bcfg2.init
-%{__perl} -pi -e 's@chkconfig: (\d+)@chkconfig: -@' debian/bcfg2-server.init
-
-# get rid of extraneous shebangs
-for f in `find src/lib/Bcfg2 -name \*.py`
-do
- %{__sed} -i -e '/^#!/,1d' $f
-done
-
-%build
-%{__python} -c 'import setuptools; execfile("setup.py")' build
-
-%{?pythonpath: export PYTHONPATH="%{pythonpath}"}
-%{__python} -c 'import setuptools; execfile("setup.py")' build_sphinx
-
-%install
-rm -rf %{buildroot}
-%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
-
-mkdir -p %{buildroot}%{_sbindir}
-mkdir -p %{buildroot}%{_initrddir}
-mkdir -p %{buildroot}%{_sysconfdir}/cron.daily
-mkdir -p %{buildroot}%{_sysconfdir}/cron.hourly
-mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
-mkdir -p %{buildroot}%{_libexecdir}
-mkdir -p %{buildroot}%{_var}/lib/bcfg2
-mkdir -p %{buildroot}%{_var}/cache/bcfg2
-mkdir -p %{buildroot}%{_defaultdocdir}/bcfg2-doc-%{version}
-
-mv %{buildroot}%{_bindir}/bcfg2* %{buildroot}%{_sbindir}
-
-install -m 755 redhat/scripts/bcfg2.init %{buildroot}%{_initrddir}/bcfg2
-install -m 755 redhat/scripts/bcfg2-server.init %{buildroot}%{_initrddir}/bcfg2-server
-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}%{_libexecdir}/bcfg2-cron
-
-install -m 644 debian/bcfg2.default %{buildroot}%{_sysconfdir}/sysconfig/bcfg2
-
-mv build/sphinx/html/* %{buildroot}%{_defaultdocdir}/bcfg2-doc-%{version}
-
-touch %{buildroot}%{_sysconfdir}/bcfg2.conf
-touch %{buildroot}%{_sysconfdir}/bcfg2.key
-
-%clean
-rm -rf %{buildroot}
-
-%post
-/sbin/chkconfig --add bcfg2
-
-%preun
-if [ $1 = 0 ]; then
- /sbin/service bcfg2 stop >/dev/null 2>&1 || :
- /sbin/chkconfig --del bcfg2
-fi
-
-%postun
-if [ "$1" -ge "1" ]; then
- /sbin/service bcfg2 condrestart >/dev/null 2>&1 || :
-fi
-
-%post server
-/sbin/chkconfig --add bcfg2-server
-
-%preun server
-if [ $1 = 0 ]; then
- /sbin/service bcfg2-server stop >/dev/null 2>&1 || :
- /sbin/chkconfig --del bcfg2-server
-fi
-
-%postun server
-if [ "$1" -ge "1" ]; then
- /sbin/service bcfg2-server condrestart >/dev/null 2>&1 || :
-fi
-
-%files
-%defattr(-,root,root,-)
-%doc examples LICENSE COPYRIGHT README
-
-%ghost %attr(600,root,root) %config(noreplace) %{_sysconfdir}/bcfg2.conf
-
-%config(noreplace) %{_sysconfdir}/sysconfig/bcfg2
-%{_sysconfdir}/cron.daily/bcfg2
-%{_sysconfdir}/cron.hourly/bcfg2
-
-%{_initrddir}/bcfg2
-
-%{python_sitelib}/Bcfg2*.egg-info
-%dir %{python_sitelib}/Bcfg2
-%{python_sitelib}/Bcfg2/Compat.py*
-%{python_sitelib}/Bcfg2/__init__.py*
-%{python_sitelib}/Bcfg2/Logger.py*
-%{python_sitelib}/Bcfg2/Options.py*
-%{python_sitelib}/Bcfg2/Proxy.py*
-%{python_sitelib}/Bcfg2/version.py*
-%{python_sitelib}/Bcfg2/Client
-%{python_sitelib}/Bcfg2/Component.*
-%{python_sitelib}/Bcfg2/Logger.*
-%{python_sitelib}/Bcfg2/Options.*
-%{python_sitelib}/Bcfg2/Proxy.*
-%{python_sitelib}/Bcfg2/SSLServer.*
-%{python_sitelib}/Bcfg2/Statistics.*
-
-%{_sbindir}/bcfg2
-%{_mandir}/man1/bcfg2.1*
-%{_mandir}/man5/bcfg2.conf.5*
-
-%{_libexecdir}/bcfg2-cron
-
-%dir %{_var}/cache/bcfg2
-
-%files server
-%defattr(-,root,root,-)
-
-%ghost %attr(600,root,root) %config(noreplace) %{_sysconfdir}/bcfg2.key
-
-%{_initrddir}/bcfg2-server
-
-%dir %{python_sitelib}/Bcfg2
-%{python_sitelib}/Bcfg2/Cache.py*
-%{python_sitelib}/Bcfg2/Encryption.py*
-%{python_sitelib}/Bcfg2/SSLServer.py*
-%{python_sitelib}/Bcfg2/Statistics.py*
-%{python_sitelib}/Bcfg2/manage.py*
-%{python_sitelib}/Bcfg2/settings.py*
-%{python_sitelib}/Bcfg2/Server
-
-%{_datadir}/bcfg2
-
-%{_sbindir}/bcfg2-admin
-%{_sbindir}/bcfg2-build-reports
-%{_sbindir}/bcfg2-info
-%{_sbindir}/bcfg2-ping-sweep
-%{_sbindir}/bcfg2-lint
-%{_sbindir}/bcfg2-repo-validate
-%{_sbindir}/bcfg2-reports
-%{_sbindir}/bcfg2-server
-%{_sbindir}/bcfg2-yum-helper
-%{_sbindir}/bcfg2-test
-
-%{_mandir}/man5/bcfg2-lint.conf.5*
-%{_mandir}/man8/*.8*
-
-%dir %{_var}/lib/bcfg2
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{_defaultdocdir}/bcfg2-doc-%{version}
-
-%changelog
-* Mon Jul 01 2013 Sol Jerome <sol.jerome@gmail.com> 1.3.2-1
-- New upstream release
-
-* Thu Mar 21 2013 Sol Jerome <sol.jerome@gmail.com> 1.3.1-1
-- New upstream release
-
-* Fri Mar 15 2013 Sol Jerome <sol.jerome@gmail.com> 1.3.0-0.0
-- New upstream release
-
-* Tue Jan 29 2013 Sol Jerome <sol.jerome@gmail.com> 1.3.0-0.0rc2
-- New upstream release
-
-* Wed Jan 09 2013 Sol Jerome <sol.jerome@gmail.com> 1.3.0-0.0rc1
-- New upstream release
-
-* Tue Oct 30 2012 Sol Jerome <sol.jerome@gmail.com> 1.3.0-0.0pre2
-- New upstream release
-
-* Fri Aug 31 2012 Sol Jerome <sol.jerome@gmail.com> 1.3.0-0.0pre1
-- New upstream release
-
-* Thu Jan 27 2011 Chris St. Pierre <stpierreca@ornl.gov> 1.2.0pre1-0.0
-- Added -doc sub-package
-
-* Wed Jun 15 2009 Sol Jerome <solj@ices.utexas.edu> 1.0pre4-0.1
-- Remove python-cheetah dependency
-
-* Tue Oct 28 2008 Robin Bowes <robin@robinbowes.com> 0.9.6-0.2
-- spec file is now created dynamically so Version & Release
- can be hard-coded so SRPM can be rebuilt without the Makefile
-
-* Thu May 08 2008 Robin Bowes <robin@robinbowes.com> 0.9.6-0.1
-- Revised spec file to build directly from svn checkout using Makefile
-- copied lots of stuff from the "official" spec file
-
-* 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
-
-* Wed Dec 20 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-4
-- Yes, actually we need to require openssl
-
-* Wed Dec 20 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-3
-- Don't generate SSL cert in post script, it only needs to be done on
- the server and is handled by the bcfg2-admin tool.
-- Move the /etc/bcfg2.key file to the server package
-- Don't install a sample copy of the config file, just ghost it
-- Require gamin-python for the server package
-- Don't require openssl
-- Make the client a separate package so you don't have to have the
- client if you don't want it
-
-* Wed Dec 20 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-2
-- Add more documentation
-
-* Mon Dec 18 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-1
-- First version for Fedora Extras
-
-* Fri Sep 15 2006 Narayan Desai <desai@mcs.anl.gov> - 0.8.4-1
-- Initial log
-