From c1b1f128994c0a5c6a7302104ff0025c3f9869e0 Mon Sep 17 00:00:00 2001 From: Eric Sandall Date: Thu, 29 Jun 2006 14:13:10 -0700 Subject: Converted procstatd to build_api 2 --- cluster/procstatd/BUILD | 33 +-------------------------------- cluster/procstatd/DETAILS | 7 ++----- cluster/procstatd/HISTORY | 9 +++++++++ cluster/procstatd/INSTALL | 19 +++++++++++++++++++ cluster/procstatd/PRE_BUILD | 7 +++++++ 5 files changed, 38 insertions(+), 37 deletions(-) create mode 100755 cluster/procstatd/INSTALL create mode 100755 cluster/procstatd/PRE_BUILD (limited to 'cluster/procstatd') diff --git a/cluster/procstatd/BUILD b/cluster/procstatd/BUILD index ceac4ab28e..8f58e6df93 100755 --- a/cluster/procstatd/BUILD +++ b/cluster/procstatd/BUILD @@ -1,32 +1 @@ -( - - patch -p1 < $SCRIPT_DIRECTORY/procstatd-1.4.2.config && - - sedit "s/PREFIX=.*$/PREFIX=\/usr/" Makefile && - sedit "s/share\///g" Makefile && - sedit "s/port = 7881/port = 7885/" parsecl.c && - - make && - make install && - - if spell_ok perl; then - cd webwatch - - install -m 644 webwatch.config /etc/webwatch.config.default - - install -m 755 clean_ipc /usr/bin - install -m 755 clean_procstatd /usr/bin - install -m 755 clean_prog /usr/bin - install -m 755 start_helper /usr/bin - install -m 755 clean_procstatd /usr/bin - install -m 755 webwatchd /usr/bin - - install -m 755 -d /usr/share/procstatd - for FILE in `ls -1 meter/*` ; - do - install -m 644 $FILE /usr/share/procstatd - done - fi - -) > $C_FIFO 2>&1 - +make diff --git a/cluster/procstatd/DETAILS b/cluster/procstatd/DETAILS index db5d91527d..d4bd04c2ca 100755 --- a/cluster/procstatd/DETAILS +++ b/cluster/procstatd/DETAILS @@ -4,13 +4,10 @@ SOURCE_HASH=sha512:e6ae2d22a04b966e2eff3044196531d772bb569798ea5ef61644d2a5a0044f8bad09ad8e24eb77328a0782dbae5599979b3ca817cb2b349469077fbc21394dca SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION SOURCE_URL[0]=http://www.phy.duke.edu/brahma/$SOURCE + LICENSE[0]=GPL + KEYWORDS="cluster" WEB_SITE=http://www.phy.duke.edu/brahma ENTERED=20020609 - UPDATED=20020619 - MAINTAINER=zoran@idi.ntnu.no - LICENSE=GPL - KEYWORDS="cluster" - BUILD_API=1 SHORT="daemon for gathering statistics about /proc" cat << EOF procstatd is a daemon that can be run either from userspace or inetd diff --git a/cluster/procstatd/HISTORY b/cluster/procstatd/HISTORY index b52d1dafe9..1883e832eb 100644 --- a/cluster/procstatd/HISTORY +++ b/cluster/procstatd/HISTORY @@ -1,3 +1,12 @@ +2006-06-29 Eric Sandall + * DETAILS: Removed BUILD_API=1, MAINTAINER, and UPDATED + Changed LICENSE to LICENSE[0] + * PRE_BUILD: Apply patch and sedits for building + * BUILD: Converted to build_api 2 + * INSTALL: Copied from BUILD + Converted to build_api 2 + Added "&&"s + 2006-06-12 Arwed v. Merkatz * DETAILS: inserted BUILD_API=1 line diff --git a/cluster/procstatd/INSTALL b/cluster/procstatd/INSTALL new file mode 100755 index 0000000000..f9d45c19e8 --- /dev/null +++ b/cluster/procstatd/INSTALL @@ -0,0 +1,19 @@ +default_install && + +if spell_ok perl; then + cd webwatch && + + install -m 644 webwatch.config /etc/webwatch.config.default && + + install -m 755 clean_ipc /usr/bin && + install -m 755 clean_procstatd /usr/bin && + install -m 755 clean_prog /usr/bin && + install -m 755 start_helper /usr/bin && + install -m 755 clean_procstatd /usr/bin && + install -m 755 webwatchd /usr/bin && + + install -m 755 -d /usr/share/procstatd && + for FILE in `ls -1 meter/*` ; do + install -m 644 $FILE /usr/share/procstatd + done +fi diff --git a/cluster/procstatd/PRE_BUILD b/cluster/procstatd/PRE_BUILD new file mode 100755 index 0000000000..d5d95b3d0c --- /dev/null +++ b/cluster/procstatd/PRE_BUILD @@ -0,0 +1,7 @@ +default_pre_build && +cd $SOURCE_DIRECTORY && + +patch -p1 < $SCRIPT_DIRECTORY/procstatd-1.4.2.config && +sedit "s/PREFIX=.*$/PREFIX=\/usr/" Makefile && +sedit "s/share\///g" Makefile && +sedit "s/port = 7881/port = 7885/" parsecl.c -- cgit v1.2.3