From d63ea8a2fe1484dae8f23d388bf9e5e93bd0afb9 Mon Sep 17 00:00:00 2001 From: Daniel Joseph Barnhart Clark Date: Wed, 11 Nov 2009 19:30:54 +0000 Subject: No longer being maintained, no one expressed interest on mailing list, so removing from trunk. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5569 ce84e21b-d406-0410-9b95-82705330c041 --- encap/src/encap-profiles/Makefile | 225 --------- encap/src/encap-profiles/bcfg2-0.9.5pre2.ep | 520 --------------------- encap/src/encap-profiles/bcfg2-cheetah-2.0rc8.ep | 105 ----- .../src/encap-profiles/bcfg2-elementtree-1.2.6.ep | 76 --- encap/src/encap-profiles/bcfg2-gzip-1.2.4b.ep | 109 ----- encap/src/encap-profiles/bcfg2-m2crypto-0.17.ep | 115 ----- encap/src/encap-profiles/bcfg2-openssl-0.9.8e.ep | 104 ----- encap/src/encap-profiles/bcfg2-pkg-config-0.22.ep | 81 ---- encap/src/encap-profiles/bcfg2-python-2.4.4.ep | 167 ------- .../src/encap-profiles/bcfg2-python-apt-0.5.10.ep | 106 ----- .../bcfg2-python-apt-0.6.16.2ubuntu8.ep | 106 ----- .../src/encap-profiles/bcfg2-python-apt-0.6.19.ep | 106 ----- encap/src/encap-profiles/bcfg2-readline-5.2.ep | 81 ---- encap/src/encap-profiles/bcfg2-setuptools-0.6c6.ep | 112 ----- encap/src/encap-profiles/bcfg2-swig-1.3.31.ep | 117 ----- encap/src/encap-profiles/bcfg2-zlib-1.2.3.ep | 100 ---- encap/src/encap-profiles/ep2target | 46 -- encap/src/encap-profiles/m4-1.4.4.sh | 100 ---- encap/src/encap-profiles/makeself-2.1.4.ep | 63 --- encap/src/encap-profiles/ostiary-3.4.ep | 139 ------ encap/src/encap-profiles/patch-2.5.9.ep | 56 --- encap/src/encap-profiles/reports/Makefile | 90 ---- encap/src/encap-profiles/reports/README | 7 - .../encap-profiles/reports/bcfg2-django-0.96.ep | 1 - .../reports/bcfg2-mod_python-3.3.1.ep | 1 - .../encap-profiles/reports/bcfg2-pysqlite-2.3.4.ep | 1 - encap/src/encap-profiles/reports/ep2target | 1 - encap/src/encap-profiles/reports/sqlite-3.4.0.ep | 1 - encap/src/encap-profiles/runit-1.7.2.ep | 345 -------------- encap/src/encap-profiles/server/Makefile | 94 ---- encap/src/encap-profiles/server/README | 6 - .../server/bcfg2-cheetah-doc-0.9.16a1.ep | 63 --- .../src/encap-profiles/server/bcfg2-gamin-0.1.8.ep | 85 ---- .../encap-profiles/server/bcfg2-glib-2.12.12.ep | 86 ---- .../encap-profiles/server/bcfg2-libxml2-2.6.29.ep | 99 ---- .../encap-profiles/server/bcfg2-libxslt-1.1.21.ep | 97 ---- .../src/encap-profiles/server/bcfg2-lxml-1.2.1.ep | 114 ----- .../encap-profiles/server/bcfg2-pyrex-0.9.5.1a.ep | 103 ---- encap/src/encap-profiles/server/ep2target | 1 - .../encap-profiles/server/ostiary-doc-20060801.ep | 62 --- 40 files changed, 3891 deletions(-) delete mode 100644 encap/src/encap-profiles/Makefile delete mode 100644 encap/src/encap-profiles/bcfg2-0.9.5pre2.ep delete mode 100644 encap/src/encap-profiles/bcfg2-cheetah-2.0rc8.ep delete mode 100644 encap/src/encap-profiles/bcfg2-elementtree-1.2.6.ep delete mode 100644 encap/src/encap-profiles/bcfg2-gzip-1.2.4b.ep delete mode 100644 encap/src/encap-profiles/bcfg2-m2crypto-0.17.ep delete mode 100644 encap/src/encap-profiles/bcfg2-openssl-0.9.8e.ep delete mode 100644 encap/src/encap-profiles/bcfg2-pkg-config-0.22.ep delete mode 100644 encap/src/encap-profiles/bcfg2-python-2.4.4.ep delete mode 100644 encap/src/encap-profiles/bcfg2-python-apt-0.5.10.ep delete mode 100644 encap/src/encap-profiles/bcfg2-python-apt-0.6.16.2ubuntu8.ep delete mode 100644 encap/src/encap-profiles/bcfg2-python-apt-0.6.19.ep delete mode 100644 encap/src/encap-profiles/bcfg2-readline-5.2.ep delete mode 100644 encap/src/encap-profiles/bcfg2-setuptools-0.6c6.ep delete mode 100644 encap/src/encap-profiles/bcfg2-swig-1.3.31.ep delete mode 100644 encap/src/encap-profiles/bcfg2-zlib-1.2.3.ep delete mode 100755 encap/src/encap-profiles/ep2target delete mode 100755 encap/src/encap-profiles/m4-1.4.4.sh delete mode 100644 encap/src/encap-profiles/makeself-2.1.4.ep delete mode 100644 encap/src/encap-profiles/ostiary-3.4.ep delete mode 100644 encap/src/encap-profiles/patch-2.5.9.ep delete mode 100644 encap/src/encap-profiles/reports/Makefile delete mode 100644 encap/src/encap-profiles/reports/README delete mode 100644 encap/src/encap-profiles/reports/bcfg2-django-0.96.ep delete mode 100644 encap/src/encap-profiles/reports/bcfg2-mod_python-3.3.1.ep delete mode 100644 encap/src/encap-profiles/reports/bcfg2-pysqlite-2.3.4.ep delete mode 120000 encap/src/encap-profiles/reports/ep2target delete mode 100644 encap/src/encap-profiles/reports/sqlite-3.4.0.ep delete mode 100644 encap/src/encap-profiles/runit-1.7.2.ep delete mode 100644 encap/src/encap-profiles/server/Makefile delete mode 100644 encap/src/encap-profiles/server/README delete mode 100644 encap/src/encap-profiles/server/bcfg2-cheetah-doc-0.9.16a1.ep delete mode 100644 encap/src/encap-profiles/server/bcfg2-gamin-0.1.8.ep delete mode 100644 encap/src/encap-profiles/server/bcfg2-glib-2.12.12.ep delete mode 100644 encap/src/encap-profiles/server/bcfg2-libxml2-2.6.29.ep delete mode 100644 encap/src/encap-profiles/server/bcfg2-libxslt-1.1.21.ep delete mode 100644 encap/src/encap-profiles/server/bcfg2-lxml-1.2.1.ep delete mode 100644 encap/src/encap-profiles/server/bcfg2-pyrex-0.9.5.1a.ep delete mode 120000 encap/src/encap-profiles/server/ep2target delete mode 100644 encap/src/encap-profiles/server/ostiary-doc-20060801.ep (limited to 'encap/src/encap-profiles') diff --git a/encap/src/encap-profiles/Makefile b/encap/src/encap-profiles/Makefile deleted file mode 100644 index 7ebfc294c..000000000 --- a/encap/src/encap-profiles/Makefile +++ /dev/null @@ -1,225 +0,0 @@ -# $Id$ - -.PHONY : test log all install clean distclean uninstall encaps bcfg2only bcfg2bump -.SUFFIXES : -.SUFFIXES : .ep .sh .installed .packaged .d - -export ENCAP_CONTACT = dclark@pobox.com -export BASEDIR = /usr/local -export ENCAPDIR := ${BASEDIR}/encap -export EPKG := ${BASEDIR}/bin/epkg -export MKENCAP := ${BASEDIR}/bin/mkencap -export SHELL = /bin/sh -srcdir = . -export EP2TARGET := $(srcdir)/ep2target -PAGER ?= more -export PKG_CONFIG_PATH = ${BASEDIR}/lib/bcfg2/lib/pkgconfig - -BCFG2 := $(basename $(wildcard bcfg2-[0-9].[0-9]*.ep)) -BCFG2_CHEETAH := $(basename $(wildcard bcfg2-cheetah-[0-9].[0-9]*.ep)) -BCFG2_ELEMENTTREE := $(basename $(wildcard bcfg2-elementtree-*.ep)) -BCFG2_GZIP := $(basename $(wildcard bcfg2-gzip-*.ep)) -BCFG2_M2CRYPTO := $(basename $(wildcard bcfg2-m2crypto-*.ep)) -BCFG2_OPENSSL := $(basename $(wildcard bcfg2-openssl-*.ep)) -BCFG2_PKG_CONFIG := $(basename $(wildcard bcfg2-pkg-config-*.ep)) -BCFG2_PYTHON := $(basename $(wildcard bcfg2-python-[0-9].[0-9]*.ep)) -BCFG2_READLINE := $(basename $(wildcard bcfg2-readline-*.ep)) -BCFG2_SETUPTOOLS := $(basename $(wildcard bcfg2-setuptools-*.ep)) -BCFG2_SWIG := $(basename $(wildcard bcfg2-swig-*.ep)) -BCFG2_ZLIB := $(basename $(wildcard bcfg2-zlib-*.ep)) -M4 := $(basename $(wildcard m4-*.sh)) -MAKESELF := $(basename $(wildcard makeself-*.ep)) -OSTIARTY := $(basename $(wildcard ostiary-[0-9].[0-9]*.ep)) -PATCH := $(basename $(wildcard patch-*.ep)) -RUNIT := $(basename $(wildcard runit-[0-9].[0-9]*.ep)) - -sources_ep := $(sort $(BCFG2) $(BCFG2_CHEETAH) $(BCFG2_ELEMENTTREE) $(BCFG2_GZIP) $(BCFG2_M2CRYPTO) $(BCFG2_OPENSSL) $(BCFG2_PKG_CONFIG) $(BCFG2_PYTHON) $(BCFG2_READLINE) $(BCFG2_SETUPTOOLS) $(BCFG2_SWIG) $(BCFG2_ZLIB) $(MAKESELF) $(OSTIARTY) $(PATCH) $(RUNIT)) - -sources_sh := $(M4) - -# Only compile bcfg2-python-apt on known Debian and Ubuntu -# systems (as python-apt is distribution-specific) -UNAME := $(shell uname) - -ifeq ($(UNAME),Linux) -DISTRO := $(shell cat /etc/issue | grep ^[a-zA-Z] | head -1) -UNAMEM := $(shell uname -m) -endif - -ifeq ($(DISTRO),Debian GNU/Linux 3.1 \n \l) -BCFG2_PYTHON_APT = bcfg2-python-apt-0.5.10 -OS = linux_debian_sarge -endif - -ifeq ($(DISTRO),Debian GNU/Linux 4.0 \n \l) -BCFG2_PYTHON_APT = bcfg2-python-apt-0.6.19 -OS = linux_debian_etch -endif - -ifeq ($(DISTRO),Debian GNU/Linux testing/unstable \n \l) -BCFG2_PYTHON_APT = bcfg2-python-apt-0.6.19 -OS = linux_debian_sid -endif - -ifeq ($(DISTRO),Ubuntu 6.06.1 LTS \n \l) -BCFG2_PYTHON_APT = bcfg2-python-apt-0.6.16.2ubuntu8 -OS = linux_ubuntu_dapper -endif - -ifeq ($(DISTRO),Red Hat Linux release 6.0 (Hedwig)) -OS = linux_redhat_60 -endif - -ifeq ($(DISTRO),Red Hat Linux release 7.2 (Enigma)) -OS = linux_redhat_72 -endif - -ifeq ($(DISTRO),Red Hat Enterprise Linux AS release 4 (Nahant Update 4)) -OS = linux_redhat_rhel4 -endif - -ifeq ($(DISTRO),Red Hat Enterprise Linux AS release 4 (Nahant Update 5)) -OS = linux_redhat_rhel4 -endif - -ifeq ($(DISTRO),Welcome to SuSE SLES 8 (powered by UnitedLinux 1.0) (i586)) -OS = linux_suse_sles8 -endif - -ifeq ($(DISTRO),Welcome to SUSE Linux Enterprise Server 10 (i586) - Kernel \r (\l).) -OS = linux_suse_sles10 -endif - -ifeq ($(DISTRO),Welcome to SUSE Linux Enterprise Server 10 (x86_64) - Kernel \r (\l).) -OS = linux_suse_sles10 -endif - -ifdef BCFG2_PYTHON_APT -sources_ep += $(BCFG2_PYTHON_APT) -endif - -## Get ARCH for GNU/Linux distributions... -ARCH = ix86 -ifeq ($(UNAMEM),x86_64) -ARCH = x86_64 -endif - -## Finally, set PLATFORM for GNU/Linux distributions... -PLATFORM = -ifeq ($(UNAME),Linux) -PLATFORM = -p ${ARCH}-${OS} -endif - -export MKENCAPCMD := ${BASEDIR}/bin/mkencap $(PLATFORM) - -# List of all sources... -sources := $(sort $(sources_ep) $(sources_sh)) - -%.installed : %.ep # Clean, compile and install an encap package - @printf "***** START .ep.installed for |$*| ***** \n" - -$(EPKG) -q -r $(ENCAPDIR)/$* - -rm -rf $(ENCAPDIR)/$* - -$(MKENCAPCMD) -m /usr/local/bin/m4 -b -DUP $(srcdir)/$*.ep > ./$*.log 2>&1 - -$(MKENCAPCMD) -m /usr/local/bin/m4 -b -T $(srcdir)/$*.ep >> ./$*.log 2>&1 - $(MKENCAPCMD) -m /usr/local/bin/m4 -b -CBI $(srcdir)/$*.ep >> ./$*.log 2>&1 - $(EPKG) -q -i $(ENCAPDIR)/$* - test -h $(BASEDIR)/var/encap/$* - touch ./$*.installed - @printf "***** STOP .ep.installed for |$*| ***** \n" - -%.installed : %.sh # Create and install a "fake" encap package - @printf "***** START .sh.installed for |$*| ***** \n" - -$(EPKG) -q -r $(ENCAPDIR)/$* - -rm -rf $(ENCAPDIR)/$* - chmod 755 $(srcdir)/$*.sh && $(srcdir)/$*.sh - $(EPKG) -q -i $(ENCAPDIR)/$* - test -h $(BASEDIR)/var/encap/$* - touch ./$*.installed - @printf "***** STOP .sh.installed for |$*| ***** \n" - -%.packaged : %.installed # Create .tar.gz encap packages - @printf "***** START .installed.packaged for |$*| ***** \n" - -rm $(ENCAPDIR)/$*-*.tar.gz - -(cd $(ENCAPDIR) && $(MKENCAPCMD) -ef $*) - -(cd $(ENCAPDIR) && $(MKENCAPCMD) -c $*) - mv $(ENCAPDIR)/$*-encap-*.tar.gz ./ - touch ./$*.packaged - @printf "***** STOP .installed.packaged for |$*| ***** \n" - -%.d : %.ep # Create dependancy files from .ep files - @printf "***** START .d.ep for |$*| ***** \n" - chmod 755 $(EP2TARGET) && $(EP2TARGET) $< > $@ - @printf "***** STOP .d.ep for |$*| ***** \n" - -%.d : %.sh # Create dependancy files from .sh files - @printf "***** START .d.sh for |$*| ***** \n" - chmod 755 $(EP2TARGET) && $(EP2TARGET) $< > $@ - @printf "***** STOP .d.sh for |$*| ***** \n" - -log : - ( $(MAKE) install > ./make.log 2>&1 \ - && $(MAKE) encaps >> ./make.log 2>&1 ) & - -all : install encaps - -.DELETE_ON_ERROR : # delete the target of a rule if it has changed and its - # commands exit with a nonzero exit status - -install : $(EPKG) $(MKENCAP) $(EP2TARGET) $(M4).installed $(addsuffix .installed,$(sources)) - -encaps : $(EPKG) $(MKENCAP) $(EP2TARGET) $(addsuffix .packaged,$(sources)) - -clean : - -(rm ./*.log; rm ./*.packaged; rm ./*.gz; rm ./*~) - -distclean : clean - -rm ./*.d - -uninstall : distclean - -(find $(BASEDIR)/lib/bcfg2 | grep "\.pyc" | xargs -n1 rm) - -(ENCAPS="m4 patch runit makeself ostiary bcfg2"; \ - for ENCAP in $${ENCAPS}; do \ - $(EPKG) -q -r $(ENCAPDIR)/$${ENCAP}-*; \ - rm -rf $(ENCAPDIR)/$${ENCAP}-*; \ - rm ./$${ENCAP}-*.installed; \ - done) - -rm -rf $(BASEDIR)/lib/bcfg2 - -bcfg2only : - $(MAKE) -t; sleep 2; touch $(srcdir)/$(BCFG2).ep; $(MAKE) - -bcfg2bump : - @if [ "$(NEW)x" != "x" ]; then NEW="$(NEW)"; fi && \ - if [ "$(OLD)x" != "x" ]; then OLD="$(OLD)"; fi && \ - if [ "$(FORCE)x" != "x" ]; then FORCE="$(FORCE)"; fi && \ - if [ "$${OLD}x" != "x" -a "$${NEW}x" != "x" ]; then \ - OLDBASE="`printf "%s\n" "$${OLD}" | sed 's:\.ep::g'`"; \ - NEWBASE="`printf "%s\n" "$${NEW}" | sed 's:\.ep::g'`"; \ - if [ "$${FORCE}x" != "yesmamx" ]; then \ - printf "About to 'svn mv %s %s'\n" "$$OLD" "$$NEW"; \ - printf "\tand edit the later as appropriate.\n"; \ - printf "And then 'rm %s%s'...\n" "$$OLDBASE" ".*"; \ - printf "Press 'return' to continue, or 'ctrl-c' to exit. "; \ - read THROWAWAY; \ - fi; \ - svn mv $${OLD} $${NEW} && \ - sed s:$${OLDBASE}:$${NEWBASE}:g $${NEW} > $${NEW}.tmp && \ - mv $${NEW}.tmp $${NEW} && \ - rm $${OLDBASE}.*; \ - printf "Changes to %s are:\n" "$${NEW}"; \ - if [ "$${FORCE}x" != "yesmamx" ]; then \ - svn diff $${NEW} | $(PAGER); \ - printf "'svn commit %s %s -m \"EncapPackages: Bumped bcfg2 .ep version to %s\"'? \n" "$${OLD}" "$${NEW}" "$${NEW}"; \ - printf "Press 'return' to commit, or 'ctrl-c' to exit. "; \ - read THROWAWAY; \ - else \ - svn diff $${NEW}; \ - fi; \ - svn commit $${OLD} $${NEW} -m "EncapPackages: Bumped bcfg2 .ep version to $${NEW}"; \ - else \ - printf "Set the OLD, NEW (and optionally FORCE) environment "; \ - printf "variables. Example:\n"; \ - printf "\tOLD=bcfg2-0.8.3pre5.ep NEW=bcfg2-0.8.3.ep $(MAKE) bcfg2bump\n";\ - fi - -include $(addsuffix .d,$(sources)) diff --git a/encap/src/encap-profiles/bcfg2-0.9.5pre2.ep b/encap/src/encap-profiles/bcfg2-0.9.5pre2.ep deleted file mode 100644 index 7e5411a70..000000000 --- a/encap/src/encap-profiles/bcfg2-0.9.5pre2.ep +++ /dev/null @@ -1,520 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - - - - - -/usr/local/bin/b2-python setup.py build \ ---build-base=${builddir}/build - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages -PYTHONPATH="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages" /usr/local/bin/b2-python setup.py install \ ---prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 - - - -/usr/local/bin/b2-python setup.py clean - - - - - - - - - - - - -&1 -printf "*** exec /usr/local/bin/chpst -e /usr/local/etc/default/bcfg2-client/env ./bcfg2-client.sh ...\n" -exec /usr/local/bin/chpst -e /usr/local/etc/default/bcfg2-client/env ./bcfg2-client.sh -]]> - -&1 -exec /usr/local/bin/svlogd -tt /usr/local/var/svlogd/bcfg2-client -]]> - -&1 -/usr/local/bin/chpst -e /usr/local/etc/default/bcfg2-server/env /bin/sh -c '\ - printf "*** exec /usr/local/bin/bcfg2-server ${OPTIONS} ...\n"' -exec /usr/local/bin/chpst -e /usr/local/etc/default/bcfg2-server/env /bin/sh -c '\ - exec /usr/local/bin/bcfg2-server ${OPTIONS}' -]]> - -&1 -exec /usr/local/bin/svlogd -tt /usr/local/var/svlogd/bcfg2-server -]]> - - ${BASEDIR}/postinstall.log 2>&1 3>&1 -else - printf "\npostinstall: already ran\n\t${BASEDIR}/b2-regexplace.sh, not running again...\n" >> ${BASEDIR}/postinstall.log -fi - -# Make sure log directories exist -test -d /usr/local/var || mkdir /usr/local/var -test -d $SVLOGD || mkdir $SVLOGD -test -d $SVLOGD/bcfg2-client || mkdir $SVLOGD/bcfg2-client -test -d $SVLOGD/bcfg2-server || mkdir $SVLOGD/bcfg2-server - -# Make sure environment directories exist -test -d /usr/local/etc || mkdir /usr/local/etc -test -d $DEFAULT || mkdir $DEFAULT -test -d $DEFAULT/bcfg2-client || mkdir $DEFAULT/bcfg2-client -test -d $DEFAULT/bcfg2-client/env || mkdir $DEFAULT/bcfg2-client/env -test -d $DEFAULT/bcfg2-server || mkdir $DEFAULT/bcfg2-server -test -d $DEFAULT/bcfg2-server/env || mkdir $DEFAULT/bcfg2-server/env - -# Put in default client environment if it didn't exist -if [ ! -f $DEFAULT/bcfg2-client/.SENTINEL ]; then - touch $DEFAULT/bcfg2-client/.SENTINEL - echo "-q -v -d -n" > $DEFAULT/bcfg2-client/env/OPTIONS - echo "3600" > $DEFAULT/bcfg2-client/env/RUN_INTERVAL_SECONDS -fi - -# Put in default server environment if it didn't exist -if [ ! -f $DEFAULT/bcfg2-server/.SENTINEL ]; then - touch $DEFAULT/bcfg2-server/.SENTINEL - echo "-v" > $DEFAULT/bcfg2-server/env/OPTIONS -fi -]]> - - - - -description Bcfg2 - Provides a declarative interface to system configuration -prereq pkgspec >= bcfg2-python-2.4.4 -prereq pkgspec >= bcfg2-elementtree-1.2.6 -prereq pkgspec >= bcfg2-m2crypto-0.17 - - - diff --git a/encap/src/encap-profiles/bcfg2-cheetah-2.0rc8.ep b/encap/src/encap-profiles/bcfg2-cheetah-2.0rc8.ep deleted file mode 100644 index f58d82374..000000000 --- a/encap/src/encap-profiles/bcfg2-cheetah-2.0rc8.ep +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -/usr/local/bin/b2-python setup.py build_ext \ --I/usr/local/lib/bcfg2/include \ --L/usr/local/lib/bcfg2/lib \ --L/usr/local/lib/bcfg2/lib/python2.4/site-packages - - - -/usr/local/bin/b2-python setup.py build \ ---build-base=${builddir}/build - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages -PYTHONPATH="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages" /usr/local/bin/b2-python setup.py install \ ---prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 - - - -/usr/local/bin/b2-python setup.py clean --all - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description cheetah - the python-powered template engine - - - diff --git a/encap/src/encap-profiles/bcfg2-elementtree-1.2.6.ep b/encap/src/encap-profiles/bcfg2-elementtree-1.2.6.ep deleted file mode 100644 index e91fe8443..000000000 --- a/encap/src/encap-profiles/bcfg2-elementtree-1.2.6.ep +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - -/usr/local/bin/b2-python setup.py build \ ---build-base=${builddir}/build - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages -PYTHONPATH="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages" /usr/local/bin/b2-python setup.py install \ ---prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 - - - -/usr/local/bin/b2-python setup.py clean - - - - - -chmod -R o+r lib/bcfg2 -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description elementtree - Light-weight toolkit for XML processing - - - diff --git a/encap/src/encap-profiles/bcfg2-gzip-1.2.4b.ep b/encap/src/encap-profiles/bcfg2-gzip-1.2.4b.ep deleted file mode 100644 index efeba8822..000000000 --- a/encap/src/encap-profiles/bcfg2-gzip-1.2.4b.ep +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - 3 ? z_len : 3); - -+ /* Leave enough room in ifname or ofname for suffix: */ -+ if (strlen(iname) >= sizeof(ifname) - max_suffix_len) { -+ strncpy(ifname, iname, sizeof(ifname) - 1); -+ /* last byte of ifname is already zero and never overwritten */ -+ error("file name too long"); -+ } - strcpy(ifname, iname); - - /* If input file exists, return OK. */ -]]> - - -./configure \ - --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description gzip - The GNU compression utility - - - diff --git a/encap/src/encap-profiles/bcfg2-m2crypto-0.17.ep b/encap/src/encap-profiles/bcfg2-m2crypto-0.17.ep deleted file mode 100644 index 6b7fb0481..000000000 --- a/encap/src/encap-profiles/bcfg2-m2crypto-0.17.ep +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -/usr/local/bin/b2-python setup.py build_ext \ ---openssl=/usr/local/lib/bcfg2 \ --I/usr/local/lib/bcfg2/include/openssl \ --I/usr/local/lib/bcfg2/include \ --L/usr/local/lib/bcfg2/lib/ - - - -/usr/local/bin/b2-python setup.py build \ ---build-base=${builddir}/build - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages -PYTHONPATH="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages" /usr/local/bin/b2-python setup.py install \ ---prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 \ ---single-version-externally-managed \ ---record ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/python-install.log - - - -/usr/local/bin/b2-python setup.py clean - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description m2crypto - a crypto and SSL toolkit for Python -exclude lib/bcfg2/lib/python2.4/site-packages/site.py -exclude lib/bcfg2/lib/python2.4/site-packages/site.pyc -exclude lib/bcfg2/lib/python2.4/site-packages/easy-install.pth - - - diff --git a/encap/src/encap-profiles/bcfg2-openssl-0.9.8e.ep b/encap/src/encap-profiles/bcfg2-openssl-0.9.8e.ep deleted file mode 100644 index ebcd16408..000000000 --- a/encap/src/encap-profiles/bcfg2-openssl-0.9.8e.ep +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -if [ -f config.orig ]; then cp config.orig config; fi -cat config | sed s:CC\=ccc:CC\=gcc:g | sed s:CC\=cc:CC\=gcc:g > config.bcfg2 -mv config config.orig -cp config.bcfg2 config -chmod 755 config -./config \ - --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" \ - zlib-dynamic shared no-asm \ - -L/usr/local/lib/bcfg2/lib \ - -I/usr/local/lib/bcfg2/include - - - - ${MAKE} test || true - - - - - -# Put source back to pristine state -rm ${builddir}/config -cp ${builddir}/config.orig ${builddir}/config -chmod 755 ${builddir}/config -# Make man pages available from /usr/local/lib/bcfg2/man -mv lib/bcfg2/ssl/man lib/bcfg2/ -# Other stuff... -test -d bin || mkdir bin -ln -sf ../lib/bcfg2/bin/openssl bin/b2-openssl -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description openssl - SSL encryption tool and library - - - diff --git a/encap/src/encap-profiles/bcfg2-pkg-config-0.22.ep b/encap/src/encap-profiles/bcfg2-pkg-config-0.22.ep deleted file mode 100644 index 58b621b93..000000000 --- a/encap/src/encap-profiles/bcfg2-pkg-config-0.22.ep +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -./configure \ - --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" \ - --with-pc-path=/usr/local/lib/bcfg2/lib/pkgconfig - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description pkg-config - application and library compilation helper tool - - - diff --git a/encap/src/encap-profiles/bcfg2-python-2.4.4.ep b/encap/src/encap-profiles/bcfg2-python-2.4.4.ep deleted file mode 100644 index ea768cb25..000000000 --- a/encap/src/encap-profiles/bcfg2-python-2.4.4.ep +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - -PLATFORM_IF_MATCH(aix4.3.3) - -PLATFORM_ELSE -PLATFORM_ENDIF - - - - - - - - -if [ -f setup.py.orig ]; then cp setup.py.orig setup.py; fi -cat setup.py \ -| sed s:\/usr\/local\/:\/usr\/local\/lib\/bcfg2\/:g \ -> setup.py.bcfg2 -mv setup.py setup.py.orig -cp setup.py.bcfg2 setup.py -./configure \ - --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" \ -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - --with-gcc \ -PLATFORM_ENDIF - --enable-shared=no \ - --disable-ipv6 \ - --without-cxx \ - --without-libintl - - - - -/dev/null || exit 0 -ln -sf ../lib/bcfg2/bin/pydoc bin/b2-pydoc -ln -sf ../lib/bcfg2/bin/python bin/b2-python -# Remove some big stuff that bcfg2 doesn't need -if [ -d lib/bcfg2/lib/python2.4/test ]; then rm -rf lib/bcfg2/lib/python2.4/test; fi -if [ -d lib/bcfg2/lib/python2.4/idlelib ]; then rm -rf lib/bcfg2/lib/python2.4/idlelib; fi -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} -]]> - - -description python - scripting language - - - diff --git a/encap/src/encap-profiles/bcfg2-python-apt-0.5.10.ep b/encap/src/encap-profiles/bcfg2-python-apt-0.5.10.ep deleted file mode 100644 index a381cd433..000000000 --- a/encap/src/encap-profiles/bcfg2-python-apt-0.5.10.ep +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -/usr/local/bin/b2-python setup.py build_ext \ --I/usr/local/lib/bcfg2/include \ --L/usr/local/lib/bcfg2/lib \ --L/usr/local/lib/bcfg2/lib/python2.4/site-packages - - - -/usr/local/bin/b2-python setup.py build \ ---build-base=${builddir}/build - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages -PYTHONPATH="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages" /usr/local/bin/b2-python setup.py install \ ---prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 - - - -/usr/local/bin/b2-python setup.py clean --all - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description python-apt - python interface to libapt-pkg - - - diff --git a/encap/src/encap-profiles/bcfg2-python-apt-0.6.16.2ubuntu8.ep b/encap/src/encap-profiles/bcfg2-python-apt-0.6.16.2ubuntu8.ep deleted file mode 100644 index c85751dd4..000000000 --- a/encap/src/encap-profiles/bcfg2-python-apt-0.6.16.2ubuntu8.ep +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -/usr/local/bin/b2-python setup.py build_ext \ --I/usr/local/lib/bcfg2/include \ --L/usr/local/lib/bcfg2/lib \ --L/usr/local/lib/bcfg2/lib/python2.4/site-packages - - - -/usr/local/bin/b2-python setup.py build \ ---build-base=${builddir}/build - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages -PYTHONPATH="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages" /usr/local/bin/b2-python setup.py install \ ---prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 - - - -/usr/local/bin/b2-python setup.py clean --all - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description python-apt - python interface to libapt-pkg - - - diff --git a/encap/src/encap-profiles/bcfg2-python-apt-0.6.19.ep b/encap/src/encap-profiles/bcfg2-python-apt-0.6.19.ep deleted file mode 100644 index 47fd51c9b..000000000 --- a/encap/src/encap-profiles/bcfg2-python-apt-0.6.19.ep +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -/usr/local/bin/b2-python setup.py build_ext \ --I/usr/local/lib/bcfg2/include \ --L/usr/local/lib/bcfg2/lib \ --L/usr/local/lib/bcfg2/lib/python2.4/site-packages - - - -/usr/local/bin/b2-python setup.py build \ ---build-base=${builddir}/build - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages -PYTHONPATH="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages" /usr/local/bin/b2-python setup.py install \ ---prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 - - - -/usr/local/bin/b2-python setup.py clean --all - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description python-apt - python interface to libapt-pkg - - - diff --git a/encap/src/encap-profiles/bcfg2-readline-5.2.ep b/encap/src/encap-profiles/bcfg2-readline-5.2.ep deleted file mode 100644 index 6bae397d4..000000000 --- a/encap/src/encap-profiles/bcfg2-readline-5.2.ep +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -./configure \ - --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description readline - lets users edit command lines as they are typed in - - - diff --git a/encap/src/encap-profiles/bcfg2-setuptools-0.6c6.ep b/encap/src/encap-profiles/bcfg2-setuptools-0.6c6.ep deleted file mode 100644 index 34684060b..000000000 --- a/encap/src/encap-profiles/bcfg2-setuptools-0.6c6.ep +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -/usr/local/bin/b2-python setup.py build_ext \ --I/usr/local/lib/bcfg2/include \ --L/usr/local/lib/bcfg2/lib \ --L/usr/local/lib/bcfg2/lib/python2.4/site-packages - - - -/usr/local/bin/b2-python setup.py build \ ---build-base=${builddir}/build - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages -PYTHONPATH="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages" /usr/local/bin/b2-python setup.py install \ ---prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 - - - -/usr/local/bin/b2-python setup.py clean - - - - - -# Fix paths so they work with symlinks -mv ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages/easy-install.pth ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages/easy-install.pth.broken -mv ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages/setuptools.pth ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages/setuptools.pth.broken -cat ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages/easy-install.pth.broken | sed s:\.\/:\/usr\/local\/lib\/bcfg2\/lib\/python2.4\/site-packages\/:g > ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages/easy-install.pth -cat ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages/setuptools.pth.broken | sed s:\.\/:\/usr\/local\/lib\/bcfg2\/lib\/python2.4\/site-packages\/:g > ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages/setuptools.pth -rm ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages/*.broken -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description setuptools - work with python packages - - - diff --git a/encap/src/encap-profiles/bcfg2-swig-1.3.31.ep b/encap/src/encap-profiles/bcfg2-swig-1.3.31.ep deleted file mode 100644 index 2bfaf8497..000000000 --- a/encap/src/encap-profiles/bcfg2-swig-1.3.31.ep +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - -PLATFORM_IF_MATCH(aix) - -PLATFORM_ELSE -PLATFORM_ENDIF - - - - - - -./configure \ - --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" \ - --without-x \ - --without-tcl \ - --with-python=/usr/local/bin/b2-python \ - --without-perl5 \ - --without-java \ - --without-gcj \ - --without-guile \ - --without-mzscheme \ - --without-ruby \ - --without-php4 \ - --without-ocaml \ - --without-pike \ - --without-chicken \ - --without-csharp \ - --without-lua \ - --without-allegrocl \ - --without-clisp \ - --without-r - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description swig - generate scripting interfaces to C/C++ code - - - - - diff --git a/encap/src/encap-profiles/bcfg2-zlib-1.2.3.ep b/encap/src/encap-profiles/bcfg2-zlib-1.2.3.ep deleted file mode 100644 index cdcddd297..000000000 --- a/encap/src/encap-profiles/bcfg2-zlib-1.2.3.ep +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - -PLATFORM_IF_MATCH(solaris) - -PLATFORM_ELSE_IF_MATCH(linux) - -PLATFORM_ELSE -PLATFORM_ENDIF - - - - -./configure \ -PLATFORM_IF_MATCH(aix) -PLATFORM_ELSE - --shared \ -PLATFORM_ENDIF - --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" - - - - - -# Make man pages available from /usr/local/lib/bcfg2/man -mv lib/bcfg2/share/man lib/bcfg2/ -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description zlib - compression library - - - diff --git a/encap/src/encap-profiles/ep2target b/encap/src/encap-profiles/ep2target deleted file mode 100755 index ee0c8b4e4..000000000 --- a/encap/src/encap-profiles/ep2target +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh - -# Note: Solaris sed(1) requires a newline from stdin -SED="sed" -#SED="/opt/csw/bin/gsed" -#SED="/usr/xpg4/bin/sed" -#SED="/usr/ucb/sed" - -chomp() { - printf "%s\n" "$1" | ${SED} 's:^\ ::g' | ${SED} 's:\ $::g' -} - -cname() { - unset CTMP1 CTMP2 - for PART in `printf "%s\n" "$1" | ${SED} 's:-:\ :g'`; do - if [ ! "`printf "%s\n" "$PART" | cut -c1 | ${SED} 's:[0-9]:0:g'`x" = "0x" ]; then - CTMP1="${CTMP1} ${PART}" - fi - done - CTMP2="`chomp "$CTMP1" | ${SED} 's:\ :_:g' | ${SED} 's:\+:X:g' | tr [a-z] [A-Z]`" - printf "\$(%s)%s" "`basename "$CTMP2"`" "$2" -} - -builddeps() { - unset DEPSTMP - for LINE in `grep " ${ENCAP_PKGNAME}.log - -if [ -f "${ENCAP_PKGNAME}.ep" ]; then rm ${ENCAP_PKGNAME}.ep; fi -cat > ${ENCAP_PKGNAME}.ep << EOF - - - - - - - - - - - - - - - -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description m4 - GNU implementation of the traditional Unix macro processor - - - -EOF - -if [ -f m4-fake ]; then rm m4-fake; fi -cat > m4-fake << EOF -#!/bin/sh -cat \$4 -EOF -chmod 755 m4-fake - -CURDIR="`pwd`" - -printf "Environment variables:\n" \ - >> ${ENCAP_PKGNAME}.log -env >> ${ENCAP_PKGNAME}.log - -printf "\nsrcdir:|%s| pwd:|%s| \$0:|%s|\n" "${srcdir}" "`pwd`" "$0" \ - >> ${ENCAP_PKGNAME}.log - -printf "\n%s :\n" "`ls -l ${ENCAP_PKGNAME}.ep`" \ - >> ${ENCAP_PKGNAME}.log -cat ${ENCAP_PKGNAME}.ep >> ${ENCAP_PKGNAME}.log - -printf "\n\n%s :\n" "`ls -l m4-fake`" \ - >> ${ENCAP_PKGNAME}.log -cat m4-fake >> ${ENCAP_PKGNAME}.log - -printf "\n${MKENCAP} -m ${CURDIR}/m4-fake -b -DUP ${ENCAP_PKGNAME}.ep :\n" \ - >> ${ENCAP_PKGNAME}.log -( ${MKENCAP} -m ${CURDIR}/m4-fake -b -DUP ${ENCAP_PKGNAME}.ep || true ) \ - >> ${ENCAP_PKGNAME}.log 2>&1 - -printf "\n${MKENCAP} -m ${CURDIR}/m4-fake -b -T ${ENCAP_PKGNAME}.ep :\n" \ - >> ${ENCAP_PKGNAME}.log -( ${MKENCAP} -m ${CURDIR}/m4-fake -b -T ${ENCAP_PKGNAME}.ep || true ) \ - >> ${ENCAP_PKGNAME}.log 2>&1 - -printf "\n${MKENCAP} -m ${CURDIR}/m4-fake -b -CBI ${ENCAP_PKGNAME}.ep :\n" \ - >> ${ENCAP_PKGNAME}.log -( ${MKENCAP} -m ${CURDIR}/m4-fake -b -CBI ${ENCAP_PKGNAME}.ep ) \ - >> ${ENCAP_PKGNAME}.log 2>&1 - -rm m4-fake >> ${ENCAP_PKGNAME}.log 2>&1 -rm ${ENCAP_PKGNAME}.ep >> ${ENCAP_PKGNAME}.log 2>&1 - -exit 0 diff --git a/encap/src/encap-profiles/makeself-2.1.4.ep b/encap/src/encap-profiles/makeself-2.1.4.ep deleted file mode 100644 index 871db7745..000000000 --- a/encap/src/encap-profiles/makeself-2.1.4.ep +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - -: - - - -: - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/bin || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/bin -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man/man1 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man/man1 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/makeself || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/makeself -if [ -d ${builddir}/${ENCAP_PKGNAME}.run ]; then rmdir ${builddir}/${ENCAP_PKGNAME}.run; fi -cp ${builddir}/* ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/makeself -mv ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/makeself/*.sh ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/bin -mv ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/makeself/*.1 ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man/man1 - - - -: - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description makeself - Make self-extractable archives on Unix - - - diff --git a/encap/src/encap-profiles/ostiary-3.4.ep b/encap/src/encap-profiles/ostiary-3.4.ep deleted file mode 100644 index 519c908da..000000000 --- a/encap/src/encap-profiles/ostiary-3.4.ep +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -# /usr/local/etc stuff -test -d share || mkdir share -test -d share/doc || mkdir share/doc -test -d share/doc/ostiary || mkdir share/doc/ostiary -test -d share/doc/ostiary/examples || mkdir share/doc/ostiary/examples -mv etc/ostiary.cfg share/doc/ostiary/examples/ostiary.cfg -rmdir etc -# daemons should be in /usr/local/sbin -test -d sbin || mkdir sbin -mv bin/ostiaryd sbin/ostiaryd -# runit stuff -test -d var || mkdir var -test -d etc || mkdir etc -test -d etc/sv || mkdir etc/sv -test -d etc/sv/ostiary || mkdir etc/sv/ostiary -test -d etc/sv/ostiary/log || mkdir etc/sv/ostiary/log -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - -&1 -exec /usr/local/sbin/ostiaryd -c /usr/local/etc/ostiary.cfg -v -D -]]> - -&1 -exec /usr/local/bin/svlogd -tt /usr/local/var/svlogd/ostiary -]]> - - $LOG 2>&1 -printf "Running ostiary postinstall script...\n" -date -test -d /var/run || mkdir /var/run -test -d /usr/local/var/svlogd || mkdir /usr/local/var/svlogd -test -d /usr/local/var/svlogd/ostiary || mkdir /usr/local/var/svlogd/ostiary -printf "Finished ostiary postinstall script.\n" -]]> - - - - -description Ostiary - Simple, Secure Remote Script Execution - - - diff --git a/encap/src/encap-profiles/patch-2.5.9.ep b/encap/src/encap-profiles/patch-2.5.9.ep deleted file mode 100644 index 6df246d45..000000000 --- a/encap/src/encap-profiles/patch-2.5.9.ep +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description patch - apply a diff file to an original - - - diff --git a/encap/src/encap-profiles/reports/Makefile b/encap/src/encap-profiles/reports/Makefile deleted file mode 100644 index e2f1529e5..000000000 --- a/encap/src/encap-profiles/reports/Makefile +++ /dev/null @@ -1,90 +0,0 @@ -# $Id$ - -.PHONY : test log all install clean distclean encaps rename -.SUFFIXES : -.SUFFIXES : .ep .installed .packaged .d - -export BASEDIR = /usr/local -export ENCAPDIR := ${BASEDIR}/encap -export EPKG := ${BASEDIR}/bin/epkg -export MKENCAP := ${BASEDIR}/bin/mkencap -export SHELL = /bin/sh -srcdir = . -export EP2TARGET := $(srcdir)/ep2target -PAGER ?= more - -BCFG2_DJANGO := $(basename $(wildcard bcfg2-django-*.ep)) -BCFG2_MOD_PYTHON := $(basename $(wildcard bcfg2-mod_python-*.ep)) -BCFG2_PYSQLITE := $(basename $(wildcard bcfg2-pysqlite-*.ep)) -SQLITE := $(basename $(wildcard sqlite-*.ep)) - -sources := $(BCFG2_DJANGO) $(BCFG2_MOD_PYTHON) $(BCFG2_PYSQLITE) $(SQLITE) - -%.installed : %.ep # Clean, compile and install an encap package - @printf "***** START .ep.installed for |$*| ***** \n" - -$(EPKG) -q -r $(ENCAPDIR)/$* - -rm -rf $(ENCAPDIR)/$* - -$(MKENCAP) -m /usr/local/bin/m4 -b -DUP $(srcdir)/$*.ep > ./$*.log 2>&1 - -$(MKENCAP) -m /usr/local/bin/m4 -b -T $(srcdir)/$*.ep >> ./$*.log 2>&1 - $(MKENCAP) -m /usr/local/bin/m4 -b -CBI $(srcdir)/$*.ep >> ./$*.log 2>&1 - $(EPKG) -q -i $(ENCAPDIR)/$* - test -h $(BASEDIR)/var/encap/$* - touch ./$*.installed - @printf "***** STOP .ep.installed for |$*| ***** \n" - -%.packaged : %.installed # Create .tar.gz encap packages - @printf "***** START .installed.packaged for |$*| ***** \n" - -rm $(ENCAPDIR)/$*-*.tar.gz - -(cd $(ENCAPDIR) && $(MKENCAP) -e $*) - -(cd $(ENCAPDIR) && $(MKENCAP) -c $*) - mv $(ENCAPDIR)/$*-encap-*.tar.gz ./ - touch ./$*.packaged - @printf "***** STOP .installed.packaged for |$*| ***** \n" - -%.d : %.ep # Create dependancy files from .ep files - @printf "***** START .d.ep for |$*| ***** \n" - $(EP2TARGET) $< > $@ - @printf "***** STOP .d.ep for |$*| ***** \n" - -log : - ( $(MAKE) install > ./make.log 2>&1 \ - && $(MAKE) encaps >> ./make.log 2>&1 \ - && $(MAKE) rename >> ./make.log 2>&1 ) & - -all : install encaps rename - -.DELETE_ON_ERROR : # delete the target of a rule if it has changed and its - # commands exit with a nonzero exit status - -install : $(EPKG) $(MKENCAP) $(EP2TARGET) $(M4).installed $(addsuffix .installed,$(sources)) - -encaps : $(EPKG) $(MKENCAP) $(EP2TARGET) $(addsuffix .packaged,$(sources)) - -rename : encaps - if [ "$(OS)x" != "x" ]; then OS="$(OS)"; fi && \ - if [ "$${OS}x" != "x" ]; then \ - for OLDNAME in `(ls . | grep .*-encap-.*.tar.gz) || break`; do \ - NEWNAME="`printf "%s\n" "$${OLDNAME}" \ - | awk -F- '{$$NF = "OSDIST.tar.gz" ; print}' \ - | sed s:\ :-:g | sed s:OSDIST:\$${OS}:g`" ; \ - if [ "$${OLDNAME}x" != "$${NEWNAME}x" ]; then \ - mv ./$${OLDNAME} ./$${NEWNAME}; \ - fi; \ - done; \ - fi - for OLDNAME in `(ls . | grep .*-doc-.*-encap-.*.tar.gz) || break`; do \ - NEWNAME="`printf "%s\n" "$${OLDNAME}" \ - | awk -F- '{$$NF = "OSDIST.tar.gz" ; print}' \ - | sed s:\ :-:g | sed s:OSDIST:share:g`" ; \ - if [ "$${OLDNAME}x" != "$${NEWNAME}x" ]; then \ - mv ./$${OLDNAME} ./$${NEWNAME}; \ - fi; \ - done; - -clean : - -(rm ./*.log; rm ./*.packaged; rm ./*.gz; rm ./*~) - -distclean : clean - -rm ./*.d - -include $(addsuffix .d,$(sources)) diff --git a/encap/src/encap-profiles/reports/README b/encap/src/encap-profiles/reports/README deleted file mode 100644 index 36f4dd9bc..000000000 --- a/encap/src/encap-profiles/reports/README +++ /dev/null @@ -1,7 +0,0 @@ -You must build and install the client packages in ".." and the server -packages in "../server" before building here. - -Type "make". - -Bcfg2 Reports do not work on all of the platforms supported by Bcfg2 client. -GNU/Linux on x86_32 or x86_64 are recommended. diff --git a/encap/src/encap-profiles/reports/bcfg2-django-0.96.ep b/encap/src/encap-profiles/reports/bcfg2-django-0.96.ep deleted file mode 100644 index 65f1991a7..000000000 --- a/encap/src/encap-profiles/reports/bcfg2-django-0.96.ep +++ /dev/null @@ -1 +0,0 @@ -http://www.djangoproject.com/download/0.96/tarball/ diff --git a/encap/src/encap-profiles/reports/bcfg2-mod_python-3.3.1.ep b/encap/src/encap-profiles/reports/bcfg2-mod_python-3.3.1.ep deleted file mode 100644 index d60cf7cdf..000000000 --- a/encap/src/encap-profiles/reports/bcfg2-mod_python-3.3.1.ep +++ /dev/null @@ -1 +0,0 @@ -http://www.eng.lsu.edu/mirrors/apache/httpd/modpython/mod_python-3.3.1.tgz diff --git a/encap/src/encap-profiles/reports/bcfg2-pysqlite-2.3.4.ep b/encap/src/encap-profiles/reports/bcfg2-pysqlite-2.3.4.ep deleted file mode 100644 index 31e41d79e..000000000 --- a/encap/src/encap-profiles/reports/bcfg2-pysqlite-2.3.4.ep +++ /dev/null @@ -1 +0,0 @@ -http://initd.org/pub/software/pysqlite/releases/2.3/2.3.4/pysqlite-2.3.4.tar.gz diff --git a/encap/src/encap-profiles/reports/ep2target b/encap/src/encap-profiles/reports/ep2target deleted file mode 120000 index 6a7aaa552..000000000 --- a/encap/src/encap-profiles/reports/ep2target +++ /dev/null @@ -1 +0,0 @@ -../ep2target \ No newline at end of file diff --git a/encap/src/encap-profiles/reports/sqlite-3.4.0.ep b/encap/src/encap-profiles/reports/sqlite-3.4.0.ep deleted file mode 100644 index 935380227..000000000 --- a/encap/src/encap-profiles/reports/sqlite-3.4.0.ep +++ /dev/null @@ -1 +0,0 @@ -http://www.sqlite.org/sqlite-3.4.0.tar.gz diff --git a/encap/src/encap-profiles/runit-1.7.2.ep b/encap/src/encap-profiles/runit-1.7.2.ep deleted file mode 100644 index 66ebcdeb9..000000000 --- a/encap/src/encap-profiles/runit-1.7.2.ep +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - -PLATFORM_IF_MATCH(aix\|solaris2.6) - -PLATFORM_ELSE -PLATFORM_ENDIF - -PLATFORM_IF_MATCH(solaris) - -PLATFORM_ELSE -PLATFORM_ENDIF - -PLATFORM_IF_MATCH(solaris2.6) - -PLATFORM_ELSE -PLATFORM_ENDIF - - - - -./package/compile -./package/check - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/bin || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/bin -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/runit || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/runit -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man/man8 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man/man8 -cp command/* ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/bin -cp -r doc/* ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/runit -cp -r etc ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/runit -cp -r package ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/runit -cp man/* ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/man/man8 - - - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - - - - - - -/dev/null -then - echo 'inittab contains an SV: line. I assume that runsvdir is already running. -' -else - echo 'Adding runsvdir to inittab...' - rm -f /etc/inittab'{new}' - cat /etc/inittab inittab.boot > /etc/inittab'{new}' - mv -f /etc/inittab'{new}' /etc/inittab - kill -HUP 1 - echo 'init should start runsvdir now. -' -fi -]]> - -/dev/null -then - echo 'Backing up inittab to .inittab.backup...' - rm -f /etc/.inittab.backup - cp -f /etc/inittab /etc/.inittab.backup - echo 'Removing svscan lines from inittab...' - rm -f /etc/inittab'{new}' - grep -v SV: /etc/inittab > /etc/inittab'{new}' - mv -f /etc/inittab'{new}' /etc/inittab - kill -HUP 1 - echo 'init should stop runsvdir now. -' -else - echo 'inittab does not contain a runsvdir line. -' -fi -]]> - - $LOG 2>&1 - -printf "Running runit postinstall script...\n" -date - -case `uname` in - AIX|SunOS) PS="ps -ef" ;; - *) PS="ps auxw" ;; -esac - -printf "1: Make sure required directories exist...\n" -test -d /usr/local/var || mkdir /usr/local/var -test -d /usr/local/var/svlogd || mkdir /usr/local/var/svlog -test -d /usr/local/var/service || mkdir /usr/local/var/service -test -d /usr/local/etc || mkdir /usr/local/etc -test -d /usr/local/etc/default || mkdir /usr/local/etc/default -test -d /usr/local/etc/sv || mkdir /usr/local/etc/sv - -printf "\n2: Currently running runsv and svlogd processes:\n" -$PS | grep [r]unsv -$PS | grep [s]vlogd - -printf "\n3: Killing any running runsv and svlogd processes...\n" -$PS | grep [r]unsv | awk '{print $2}' | xargs -n1 -i{} kill -15 -{} 2>/dev/null -$PS | grep [s]vlogd | awk '{print $2}' | xargs -n1 -i{} kill -15 -{} 2>/dev/null -sleep 2 -$PS | grep [r]unsv | awk '{print $2}' | xargs -n1 -i{} kill -9 -{} 2>/dev/null -$PS | grep [s]vlogd | awk '{print $2}' | xargs -n1 -i{} kill -9 -{} 2>/dev/null - -printf "\n4: Currently running runsv and svlogd processes:\n" -$PS | grep [r]unsv -$PS | grep [s]vlogd - -printf "\n5: Removing any stale state information in /usr/local/etc/sv...\n" -for service in `ls /usr/local/etc/sv`; do - test -d /usr/local/etc/sv/$service/supervise && rm -rf /usr/local/etc/sv/$service/supervise - test -d /usr/local/etc/sv/$service/log/supervise && rm -rf /usr/local/etc/sv/$service/log/supervise -done - -printf "\n6: Re-enabling services that were installed before package was removed...\n" -if [ -d /usr/local/var/service/.disabled ]; then - for service in `ls /usr/local/var/service/.disabled`; do - if [ -h /usr/local/var/service/$service ]; then - printf "A new version of $service exists, removing old version...\n" - rm /usr/local/var/service/.disabled/$service - else - printf "Re-enabling service $service...\n" - mv /usr/local/var/service/.disabled/$service /usr/local/var/service/ - fi - done -fi - -printf "\n7: Making runsvdir run all the time...\n" -if [ -f /etc/inittab ]; then - printf "Installing to /etc/inittab ...\n" - cd ${ENCAP_SOURCE}/${ENCAP_PKGNAME} && ./inittab-install -fi - -if [ -d /etc/event.d ]; then - printf "Installing to /etc/event.d/SV (Upstart) ...\n" - initctl stop SV 2>/dev/null || true - cd ${ENCAP_SOURCE}/${ENCAP_PKGNAME} && cp upstart.boot /etc/event.d/SV - initctl start SV -fi - -printf "\n8: Finished runit postinstall script.\n" -]]> - -/dev/null || printf "No services to disable.\n" -printf "Waiting 10 seconds for runsv processes to die...\n" -sleep 10 -printf "All sv processes runnning now...\n" -$PS | grep [s]v -printf "If there are any runsv or svlogd processes still running, you will need\n" -printf "to kill them manually.\n" - -printf "\n4: Now shutting down the runsvdir processes...\n" -# Stop the "runsvdir" process { -if [ -f /etc/inittab ]; then - printf "Removing from /etc/inittab ...\n" - cd ${ENCAP_SOURCE}/${ENCAP_PKGNAME} && ./inittab-remove -fi -if [ -d /etc/event.d ]; then - if [ -f /etc/event.d/SV ]; then - printf "Removing /etc/event.d/SV (Upstart) ...\n" - initctl stop SV || printf "SV already stopped...\n" - rm /etc/event.d/SV - fi -fi -# } Stop the "runsvdir" process -sleep 2 -printf "All sv processes runnning now...\n" -$PS | grep [s]v -printf "runsvdir should no longer be running.\n" - -printf "\n5: Removing any old state from /usr/local/etc/sv directories...\n" -for service in `ls /usr/local/etc/sv`; do - test -d /usr/local/etc/sv/$service/supervise && rm -rf /usr/local/etc/sv/$service/supervise - test -d /usr/local/etc/sv/$service/log/supervise && rm -rf /usr/local/etc/sv/$service/log/supervise -done - -printf "\n6: Finished runit preremove script.\n" -]]> - - -description runit - a UNIX init scheme with service supervision - - - diff --git a/encap/src/encap-profiles/server/Makefile b/encap/src/encap-profiles/server/Makefile deleted file mode 100644 index 35c5cc752..000000000 --- a/encap/src/encap-profiles/server/Makefile +++ /dev/null @@ -1,94 +0,0 @@ -# $Id$ - -.PHONY : test log all install clean distclean encaps rename -.SUFFIXES : -.SUFFIXES : .ep .installed .packaged .d - -export BASEDIR = /usr/local -export ENCAPDIR := ${BASEDIR}/encap -export EPKG := ${BASEDIR}/bin/epkg -export MKENCAP := ${BASEDIR}/bin/mkencap -export SHELL = /bin/sh -srcdir = . -export EP2TARGET := $(srcdir)/ep2target -PAGER ?= more - -BCFG2_CHEETAH_DOC := $(basename $(wildcard bcfg2-cheetah-doc-*.ep)) -BCFG2_GAMIN := $(basename $(wildcard bcfg2-gamin-*.ep)) -BCFG2_GLIB := $(basename $(wildcard bcfg2-glib-*.ep)) -BCFG2_LIBXML2 := $(basename $(wildcard bcfg2-libxml2-*.ep)) -BCFG2_LIBXSLT := $(basename $(wildcard bcfg2-libxslt-*.ep)) -BCFG2_LXML := $(basename $(wildcard bcfg2-lxml-*.ep)) -BCFG2_PYREX := $(basename $(wildcard bcfg2-pyrex-*.ep)) -OSTIARTY_DOC := $(basename $(wildcard ostiary-doc-*.ep)) - -sources := $(BCFG2_CHEETAH_DOC) $(BCFG2_GAMIN) $(BCFG2_GLIB) $(BCFG2_LIBXML2) $(BCFG2_LIBXSLT) $(BCFG2_LXML) $(BCFG2_PYREX) $(OSTIARTY_DOC) - -%.installed : %.ep # Clean, compile and install an encap package - @printf "***** START .ep.installed for |$*| ***** \n" - -$(EPKG) -q -r $(ENCAPDIR)/$* - -rm -rf $(ENCAPDIR)/$* - -$(MKENCAP) -m /usr/local/bin/m4 -b -DUP $(srcdir)/$*.ep > ./$*.log 2>&1 - -$(MKENCAP) -m /usr/local/bin/m4 -b -T $(srcdir)/$*.ep >> ./$*.log 2>&1 - $(MKENCAP) -m /usr/local/bin/m4 -b -CBI $(srcdir)/$*.ep >> ./$*.log 2>&1 - $(EPKG) -q -i $(ENCAPDIR)/$* - test -h $(BASEDIR)/var/encap/$* - touch ./$*.installed - @printf "***** STOP .ep.installed for |$*| ***** \n" - -%.packaged : %.installed # Create .tar.gz encap packages - @printf "***** START .installed.packaged for |$*| ***** \n" - -rm $(ENCAPDIR)/$*-*.tar.gz - -(cd $(ENCAPDIR) && $(MKENCAP) -e $*) - -(cd $(ENCAPDIR) && $(MKENCAP) -c $*) - mv $(ENCAPDIR)/$*-encap-*.tar.gz ./ - touch ./$*.packaged - @printf "***** STOP .installed.packaged for |$*| ***** \n" - -%.d : %.ep # Create dependancy files from .ep files - @printf "***** START .d.ep for |$*| ***** \n" - $(EP2TARGET) $< > $@ - @printf "***** STOP .d.ep for |$*| ***** \n" - -log : - ( $(MAKE) install > ./make.log 2>&1 \ - && $(MAKE) encaps >> ./make.log 2>&1 \ - && $(MAKE) rename >> ./make.log 2>&1 ) & - -all : install encaps rename - -.DELETE_ON_ERROR : # delete the target of a rule if it has changed and its - # commands exit with a nonzero exit status - -install : $(EPKG) $(MKENCAP) $(EP2TARGET) $(M4).installed $(addsuffix .installed,$(sources)) - -encaps : $(EPKG) $(MKENCAP) $(EP2TARGET) $(addsuffix .packaged,$(sources)) - -rename : encaps - if [ "$(OS)x" != "x" ]; then OS="$(OS)"; fi && \ - if [ "$${OS}x" != "x" ]; then \ - for OLDNAME in `(ls . | grep .*-encap-.*.tar.gz) || break`; do \ - NEWNAME="`printf "%s\n" "$${OLDNAME}" \ - | awk -F- '{$$NF = "OSDIST.tar.gz" ; print}' \ - | sed s:\ :-:g | sed s:OSDIST:\$${OS}:g`" ; \ - if [ "$${OLDNAME}x" != "$${NEWNAME}x" ]; then \ - mv ./$${OLDNAME} ./$${NEWNAME}; \ - fi; \ - done; \ - fi - for OLDNAME in `(ls . | grep .*-doc-.*-encap-.*.tar.gz) || break`; do \ - NEWNAME="`printf "%s\n" "$${OLDNAME}" \ - | awk -F- '{$$NF = "OSDIST.tar.gz" ; print}' \ - | sed s:\ :-:g | sed s:OSDIST:share:g`" ; \ - if [ "$${OLDNAME}x" != "$${NEWNAME}x" ]; then \ - mv ./$${OLDNAME} ./$${NEWNAME}; \ - fi; \ - done; - -clean : - -(rm ./*.log; rm ./*.packaged; rm ./*.gz; rm ./*~) - -distclean : clean - -rm ./*.d - -include $(addsuffix .d,$(sources)) diff --git a/encap/src/encap-profiles/server/README b/encap/src/encap-profiles/server/README deleted file mode 100644 index 983d9f1ba..000000000 --- a/encap/src/encap-profiles/server/README +++ /dev/null @@ -1,6 +0,0 @@ -You must build and install the client packages in ".." before building here. - -Type "make". - -Bcfg2 Server does not work on all of the platforms supported by Bcfg2 client. -GNU/Linux on x86_32 or x86_64 are recommended. diff --git a/encap/src/encap-profiles/server/bcfg2-cheetah-doc-0.9.16a1.ep b/encap/src/encap-profiles/server/bcfg2-cheetah-doc-0.9.16a1.ep deleted file mode 100644 index 1c671b58b..000000000 --- a/encap/src/encap-profiles/server/bcfg2-cheetah-doc-0.9.16a1.ep +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - -: - - - -: - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/cheetah || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/cheetah -cp -R * ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/cheetah - - - -: - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description cheetah-doc - cheetah template system documentation - - - diff --git a/encap/src/encap-profiles/server/bcfg2-gamin-0.1.8.ep b/encap/src/encap-profiles/server/bcfg2-gamin-0.1.8.ep deleted file mode 100644 index 5dd204e8a..000000000 --- a/encap/src/encap-profiles/server/bcfg2-gamin-0.1.8.ep +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -./configure \ - --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description Gamin - The File Alteration Monitor -prereq pkgspec >= bcfg2-glib-2.12.12 - - - diff --git a/encap/src/encap-profiles/server/bcfg2-glib-2.12.12.ep b/encap/src/encap-profiles/server/bcfg2-glib-2.12.12.ep deleted file mode 100644 index 0d6f8cfa4..000000000 --- a/encap/src/encap-profiles/server/bcfg2-glib-2.12.12.ep +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -./configure \ - --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description glib - data structure handling, portability wrappers, and interfaces - - - diff --git a/encap/src/encap-profiles/server/bcfg2-libxml2-2.6.29.ep b/encap/src/encap-profiles/server/bcfg2-libxml2-2.6.29.ep deleted file mode 100644 index a00d59e95..000000000 --- a/encap/src/encap-profiles/server/bcfg2-libxml2-2.6.29.ep +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -./configure \ - --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" \ - --without-iconv \ -PLATFORM_IF_MATCH(aix) -PLATFORM_ELSE - --enable-shared \ -PLATFORM_ENDIF - --enable-ipv6=no \ - --with-python=/usr/local/lib/bcfg2 \ - --with-zlib=/usr/local/lib/bcfg2 - - - - - -# Remove doc - it's big # not any more, since it's server-only -#if [ -d lib/bcfg2/share/doc ]; then rm -rf lib/bcfg2/share/doc; fi -#if [ -d lib/bcfg2/share/gtk-doc ]; then rm -rf lib/bcfg2/share/gtk-doc; fi -# Make convieniance links -test -d bin || mkdir bin -ln -sf ../lib/bcfg2/bin/xmllint bin/b2-xmllint -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description libxml2 - XML C library for the Gnome project - - - diff --git a/encap/src/encap-profiles/server/bcfg2-libxslt-1.1.21.ep b/encap/src/encap-profiles/server/bcfg2-libxslt-1.1.21.ep deleted file mode 100644 index 640b82e50..000000000 --- a/encap/src/encap-profiles/server/bcfg2-libxslt-1.1.21.ep +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -./configure \ - --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" \ - --without-iconv \ -PLATFORM_IF_MATCH(aix) -PLATFORM_ELSE - --enable-shared \ -PLATFORM_ENDIF - --with-crypto=no \ - --with-libxml-prefix=/usr/local/lib/bcfg2 \ - --with-libxml-include-prefix=/usr/local/lib/bcfg2/include \ - --with-libxml-libs-prefix=/usr/local/lib/bcfg2/lib \ - --enable-ipv6=no \ - --with-python=/usr/local/lib/bcfg2 \ - --with-zlib=/usr/local/lib/bcfg2 - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description libxslt - XSLT C processing library - - - diff --git a/encap/src/encap-profiles/server/bcfg2-lxml-1.2.1.ep b/encap/src/encap-profiles/server/bcfg2-lxml-1.2.1.ep deleted file mode 100644 index 443638fec..000000000 --- a/encap/src/encap-profiles/server/bcfg2-lxml-1.2.1.ep +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -/usr/local/bin/b2-python setup.py build_ext \ --I/usr/local/lib/bcfg2/include \ --L/usr/local/lib/bcfg2/lib \ --lexslt \ --L/usr/local/lib/bcfg2/lib/python2.4/site-packages - - - -/usr/local/bin/b2-python setup.py build \ ---build-base=${builddir}/build - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages -PYTHONPATH="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages" /usr/local/bin/b2-python setup.py install \ ---prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 \ ---single-version-externally-managed \ ---record ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/python-install.log - - - -/usr/local/bin/b2-python setup.py clean -make clean - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description lxml - A Pythonic binding for the libxml2 and libxslt libraries - - - diff --git a/encap/src/encap-profiles/server/bcfg2-pyrex-0.9.5.1a.ep b/encap/src/encap-profiles/server/bcfg2-pyrex-0.9.5.1a.ep deleted file mode 100644 index c27d45af9..000000000 --- a/encap/src/encap-profiles/server/bcfg2-pyrex-0.9.5.1a.ep +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - -PLATFORM_IF_MATCH(linux) -PLATFORM_ELSE - -PLATFORM_ENDIF - - - - - - - - -: - - - -/usr/local/bin/b2-python setup.py build \ ---build-base=${builddir}/build - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages -PYTHONPATH="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages" /usr/local/bin/b2-python setup.py install \ ---prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 - - - -/usr/local/bin/b2-python setup.py clean - - - - - -chmod -R o+r lib/bcfg2 -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description pyrex - a language for writing python extension modules - - - diff --git a/encap/src/encap-profiles/server/ep2target b/encap/src/encap-profiles/server/ep2target deleted file mode 120000 index 6a7aaa552..000000000 --- a/encap/src/encap-profiles/server/ep2target +++ /dev/null @@ -1 +0,0 @@ -../ep2target \ No newline at end of file diff --git a/encap/src/encap-profiles/server/ostiary-doc-20060801.ep b/encap/src/encap-profiles/server/ostiary-doc-20060801.ep deleted file mode 100644 index 75db01462..000000000 --- a/encap/src/encap-profiles/server/ostiary-doc-20060801.ep +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - -: - - - -: - - - -test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc -test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/ostiary || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/ostiary -cp * ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/ostiary - - - -: - - - - - -# Make "this encap is installed" sentinal file available in /usr/local/var/encap -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} - - - -description ostiary-doc - documentation from ostiary website - - - -- cgit v1.2.3-1-g7c22