From 1883f2eb1b3f801e93f8f1064bf4794a31f61594 Mon Sep 17 00:00:00 2001 From: Daniel Joseph Barnhart Clark Date: Fri, 4 Aug 2006 00:31:01 +0000 Subject: * Replace ugly, brittle patch to fix paths for the encap packages to an ugly, hopefully less brittle search-and-replace function (this also removes the dependancy on GNU patch; patch is also called from the Server code, but the server should only be run on GNU/Linux anyway) * daemontools is still dependant on GNU patch, so moved that to a non-bcfg2-specific built-time prereq for daemontools. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2039 ce84e21b-d406-0410-9b95-82705330c041 --- encap/tools/daemontools/daemontools-0.76.ep | 2 ++ encap/tools/daemontools/patch-2.5.9.ep | 52 +++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 encap/tools/daemontools/patch-2.5.9.ep (limited to 'encap/tools') diff --git a/encap/tools/daemontools/daemontools-0.76.ep b/encap/tools/daemontools/daemontools-0.76.ep index 58ec6988f..86f42bb78 100644 --- a/encap/tools/daemontools/daemontools-0.76.ep +++ b/encap/tools/daemontools/daemontools-0.76.ep @@ -7,6 +7,8 @@ pkgspec="daemontools-0.76" > + + + + + + + + + + + +PLATFORM_IF_MATCH(linux) +PLATFORM_ELSE + +PLATFORM_ENDIF + + + + + + +mkdir var 2>/dev/null || exit 0 +mkdir var/encap 2>/dev/null || exit 0 +touch var/encap/${ENCAP_PKGNAME} + + + +description patch - Apply a diff file to an original + + + -- cgit v1.2.3-1-g7c22