From a2b3951f39aca9c210ef564e931e2290296dce72 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 20 Dec 2012 18:25:05 +0000 Subject: Add "make instalation-manifest" as a first cut at something that will automate construction of things like the pkg-plist for a FreeBSD port. This is a fairly nasty kludge, but we're kind of trapped at the intersection of two different build systems (autoconf and disttools) and a laundry list of platform-specific packaging systems, so anything we do here is likely to be nasty, and almost anything is better than trying to maintain packing lists for all those systems by hand. svn path=/trunk/; revision=4938 --- rcynic/installation-scripts/manifest.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 rcynic/installation-scripts/manifest.sh (limited to 'rcynic/installation-scripts/manifest.sh') diff --git a/rcynic/installation-scripts/manifest.sh b/rcynic/installation-scripts/manifest.sh new file mode 100644 index 00000000..26872b1a --- /dev/null +++ b/rcynic/installation-scripts/manifest.sh @@ -0,0 +1,23 @@ +#!/bin/sh - +# $Id$ + +echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%% +echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/bin +echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/dev +echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/etc +echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/etc/trust-anchors +echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/var +echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/data + +echo >>${abs_top_builddir}/installation-manifest F %%RCYNICJAILDIR%%/bin/rcynic +echo >>${abs_top_builddir}/installation-manifest F %%RCYNICJAILDIR%%/bin/rsync +echo >>${abs_top_builddir}/installation-manifest F %%RCYNICJAILDIR%%/bin/rcynic-html + +# Not sure what to do about %%RCYNICJAILDIR%%/${libdir}/* on Linux, as we +# don't know what goes there until we compute the transitive closure +# of ldd dependencies. Ick. Ignore for now. + +case "${host_os}" in +freebsd*) echo >>${abs_top_builddir}/installation-manifest F %%RCDIR%%/rcynic;; +darwin*) echo >>${abs_top_builddir}/installation-manifest F /Library/StartupItems/RCynic;; +esac -- cgit v1.2.3