summaryrefslogtreecommitdiffstats
path: root/encap/src/encap-profiles/ep2target
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2009-11-11 19:30:54 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2009-11-11 19:30:54 +0000
commitd63ea8a2fe1484dae8f23d388bf9e5e93bd0afb9 (patch)
treea28aed24c3d0606718a2a2a7a099447aab84a403 /encap/src/encap-profiles/ep2target
parent2535920830fc57f30fd6eb9c4b6569a100d40126 (diff)
downloadbcfg2-d63ea8a2fe1484dae8f23d388bf9e5e93bd0afb9.tar.gz
bcfg2-d63ea8a2fe1484dae8f23d388bf9e5e93bd0afb9.tar.bz2
bcfg2-d63ea8a2fe1484dae8f23d388bf9e5e93bd0afb9.zip
No longer being maintained, no one expressed interest on mailing list, so removing from trunk.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5569 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap/src/encap-profiles/ep2target')
-rwxr-xr-xencap/src/encap-profiles/ep2target46
1 files changed, 0 insertions, 46 deletions
diff --git a/encap/src/encap-profiles/ep2target b/encap/src/encap-profiles/ep2target
deleted file mode 100755
index ee0c8b4e4..000000000
--- a/encap/src/encap-profiles/ep2target
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-
-# Note: Solaris sed(1) requires a newline from stdin
-SED="sed"
-#SED="/opt/csw/bin/gsed"
-#SED="/usr/xpg4/bin/sed"
-#SED="/usr/ucb/sed"
-
-chomp() {
- printf "%s\n" "$1" | ${SED} 's:^\ ::g' | ${SED} 's:\ $::g'
-}
-
-cname() {
- unset CTMP1 CTMP2
- for PART in `printf "%s\n" "$1" | ${SED} 's:-:\ :g'`; do
- if [ ! "`printf "%s\n" "$PART" | cut -c1 | ${SED} 's:[0-9]:0:g'`x" = "0x" ]; then
- CTMP1="${CTMP1} ${PART}"
- fi
- done
- CTMP2="`chomp "$CTMP1" | ${SED} 's:\ :_:g' | ${SED} 's:\+:X:g' | tr [a-z] [A-Z]`"
- printf "\$(%s)%s" "`basename "$CTMP2"`" "$2"
-}
-
-builddeps() {
- unset DEPSTMP
- for LINE in `grep "<prereq package=\"" $1 \
- | ${SED} 's/\ //g' \
- | awk -F\" '{print $2}'`; do
- DEPSTMP="${DEPSTMP} `cname $LINE $2`"
- done
- chomp "$DEPSTMP"
-}
-
-installdeps() {
- unset DEPSTMP
- for LINE in `grep "prereq pkgspec" $1 \
- | awk '{print $4}'`; do
- DEPSTMP="${DEPSTMP} `cname $LINE $2`"
- done
- chomp "$DEPSTMP"
-}
-
-printf "%s : %s\n" "`cname $1 .installed`" "`builddeps $1 .installed`"
-printf "%s : %s\n" "`cname $1 .packaged`" "`installdeps $1 .packaged`"
-
-exit 0