summaryrefslogtreecommitdiffstats
path: root/encap
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-08-01 12:49:39 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-08-01 12:49:39 +0000
commit14a4b057d24a2b21adfa4baa85480a47f9fb9884 (patch)
tree82736f768e2f55b4cd133006d0252a7e2df2eb95 /encap
parent8b6e761baac8bb93e631da2e405d3f1e49b01916 (diff)
downloadbcfg2-14a4b057d24a2b21adfa4baa85480a47f9fb9884.tar.gz
bcfg2-14a4b057d24a2b21adfa4baa85480a47f9fb9884.tar.bz2
bcfg2-14a4b057d24a2b21adfa4baa85480a47f9fb9884.zip
Added documentation package for daemontools (just mirrors of websites,
should make man pages from them at some point) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2020 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap')
-rw-r--r--encap/TODO7
-rw-r--r--encap/daemontools-doc-20060731.ep58
-rw-r--r--encap/epkg/README4
3 files changed, 65 insertions, 4 deletions
diff --git a/encap/TODO b/encap/TODO
index 0693c929d..ccb1927ca 100644
--- a/encap/TODO
+++ b/encap/TODO
@@ -2,5 +2,8 @@
* Use daemontools to run the bcfg2 service under the encap packaging scheme
* Create bcfg2 "run" script (look at init scripts for other platforms)
* Modify Makefile, README, bcfg2-0.8.2.ep to work with daemontools
- * Create .ep for daemontools doc tarball at
- http://www.dclark.us/mirror/daemontools/daemontools-doc-20060731.tar.gz
+ * Announce to mailing list:
+ * daemontools stuff
+ * encap support for Solaris (sparc and x86)
+ * Binary epkg archive at
+ http://www.pobox.com/users/dclark/mirror/bcfg2-encaps
diff --git a/encap/daemontools-doc-20060731.ep b/encap/daemontools-doc-20060731.ep
new file mode 100644
index 000000000..dee918647
--- /dev/null
+++ b/encap/daemontools-doc-20060731.ep
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+
+<!-- $Id$ -->
+
+<encap_profile
+ profile_ver="1.0"
+ pkgspec="daemontools-doc-20060731"
+>
+
+<environment
+ variable="PATH"
+PLATFORM_IF_MATCH(solaris)
+ value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:"
+PLATFORM_ELSE
+ value="/usr/local/lib/bcfg2/bin:/usr/local/bin:"
+PLATFORM_ENDIF
+ type="prepend"
+/>
+
+<source
+url="http://www.pobox.com/users/dclark/mirror/daemontools/daemontools-doc-20060731.tar.gz"
+ use_objdir="no"
+>
+
+<configure>
+:
+</configure>
+
+<build>
+:
+</build>
+
+<install>
+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/daemontools || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/daemontools
+cp -R * ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/share/doc/daemontools
+</install>
+
+<clean>
+:
+</clean>
+
+</source>
+
+<prepackage>
+mkdir var 2>/dev/null || exit 0
+mkdir var/encap 2>/dev/null || exit 0
+touch var/encap/${ENCAP_PKGNAME}
+</prepackage>
+
+<encapinfo>
+description daemontools-doc - documentation from daemontools websites
+</encapinfo>
+
+</encap_profile>
diff --git a/encap/epkg/README b/encap/epkg/README
index 2d43fe862..99355280b 100644
--- a/encap/epkg/README
+++ b/encap/epkg/README
@@ -5,11 +5,11 @@ Solaris/x86 10) to compile it.
You'll need to manually download the versions of packages you want to
this directory, edit the Makefile to refer to those versions,
-decompress/Guntar the distributions, and then run make (or gmake on
+decompress/untar the distributions, and then run make (or gmake on
non-GNU platforms)
All of the software is available from http://www.dclark.us/mirror (or
-google for it).
+Google for it).
Once you have a working epkg distribution, you should:
* cd /usr/local/encap