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/patch-2.5.9.ep | 52 ++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 encap/tools/daemontools/patch-2.5.9.ep (limited to 'encap/tools/daemontools/patch-2.5.9.ep') diff --git a/encap/tools/daemontools/patch-2.5.9.ep b/encap/tools/daemontools/patch-2.5.9.ep new file mode 100644 index 000000000..3707a4c1f --- /dev/null +++ b/encap/tools/daemontools/patch-2.5.9.ep @@ -0,0 +1,52 @@ + + + + + + + + + + +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