diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-02-23 07:41:54 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-02-23 07:41:54 +0000 |
commit | b62028dcc38251b9c395235027ec68cc75c331a2 (patch) | |
tree | ea847b5b00e173739985cd984a9a8440b2a3b75e /sys-apps/collectl/files | |
parent | Version bump. (diff) | |
download | gentoo-2-b62028dcc38251b9c395235027ec68cc75c331a2.tar.gz gentoo-2-b62028dcc38251b9c395235027ec68cc75c331a2.tar.bz2 gentoo-2-b62028dcc38251b9c395235027ec68cc75c331a2.zip |
Remove old.
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/collectl/files')
-rw-r--r-- | sys-apps/collectl/files/collectl-3.4.0-install.patch | 55 | ||||
-rw-r--r-- | sys-apps/collectl/files/collectl-3.4.1-install.patch | 22 |
2 files changed, 0 insertions, 77 deletions
diff --git a/sys-apps/collectl/files/collectl-3.4.0-install.patch b/sys-apps/collectl/files/collectl-3.4.0-install.patch deleted file mode 100644 index 647059c01553..000000000000 --- a/sys-apps/collectl/files/collectl-3.4.0-install.patch +++ /dev/null @@ -1,55 +0,0 @@ -add DESTDIR support - ---- INSTALL -+++ INSTALL -@@ -1,18 +1,22 @@ - #!/bin/bash - --BINDIR=/usr/bin --DOCDIR=/usr/share/doc/collectl --SHRDIR=/usr/share/collectl -+#DESTDIR= -+BINDIR=$DESTDIR/usr/bin -+DOCDIR=$DESTDIR/usr/share/doc/collectl -+SHRDIR=$DESTDIR/usr/share/collectl - -+mkdir -p $BINDIR - mkdir -p $DOCDIR - mkdir -p $SHRDIR - mkdir -p $SHRDIR/util --mkdir -p /var/log/collectl -+mkdir -p $DESTDIR/etc/init.d -+mkdir -p $DESTDIR/usr/share/man/man1 -+mkdir -p $DESTDIR/var/log/collectl - - cp collectl.pl $BINDIR/collectl --cp collectl.conf /etc --cp initd/* /etc/init.d --cp man1/* /usr/share/man/man1 -+cp collectl.conf $DESTDIR/etc -+cp initd/* $DESTDIR/etc/init.d -+cp man1/* $DESTDIR/usr/share/man/man1 - - cp docs/* $DOCDIR - cp GPL ARTISTIC COPYING $DOCDIR -@@ -28,15 +32,17 @@ - cp col2tlviz.pl $SHRDIR/util - - # Force in case redoing the install and files already zipped --gzip -f /usr/share/man/man1/collectl* -+gzip -f $DESTDIR/usr/share/man/man1/collectl* - --chmod 755 /etc/init.d/collectl* --chmod 444 /etc/collectl.conf -+chmod 755 $DESTDIR/etc/init.d/collectl* -+chmod 444 $DESTDIR/etc/collectl.conf - chmod 755 $BINDIR/collectl - chmod 444 $DOCDIR/ARTISTIC $DOCDIR/COPYING $DOCDIR/GPL - chmod 755 $SHRDIR/util/* - chmod 444 $SHRDIR/formatit.ph $SHRDIR/*expr.ph $SHRDIR/vmstat.ph - -+[[ -n $DESTDIR ]] && exit 0 -+ - # remove any stale versions in case the names/numbers used have changed. - # on new ROCKS installion 'rm' isn't there yet! [thanks roy] - if [ -x /bin/rm ] ; then diff --git a/sys-apps/collectl/files/collectl-3.4.1-install.patch b/sys-apps/collectl/files/collectl-3.4.1-install.patch deleted file mode 100644 index 2d230513b719..000000000000 --- a/sys-apps/collectl/files/collectl-3.4.1-install.patch +++ /dev/null @@ -1,22 +0,0 @@ -DESTDIR doesnt require clean up of things outside of DESTDIR - ---- INSTALL -+++ INSTALL -@@ -7,7 +7,7 @@ - SHRDIR=$DESTDIR/usr/share/collectl - MANDIR=$DESTDIR/usr/share/man/man1 - ETCDIR=$DESTDIR/etc --INITDIR=$DESTDIR/$ETCDIR/init.d -+INITDIR=$ETCDIR/init.d - - mkdir -p $BINDIR - mkdir -p $DOCDIR -@@ -46,6 +46,8 @@ - chmod 755 $SHRDIR/util/* - chmod 444 $SHRDIR/formatit.ph $SHRDIR/*expr.ph $SHRDIR/vmstat.ph - -+[[ ${DESTDIR} != "/" ]] && exit 0 -+ - # remove any stale versions in case the names/numbers used have changed. - # on new ROCKS installion 'rm' isn't there yet! [thanks roy] - if [ -x /bin/rm ] ; then |