diff options
-rw-r--r-- | encap/TODO | 7 | ||||
-rw-r--r-- | encap/daemontools-doc-20060731.ep | 58 | ||||
-rw-r--r-- | encap/epkg/README | 4 |
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 |