diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2009-04-29 12:55:09 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2009-04-29 12:55:09 +0000 |
commit | 1d3107c4da15be40c7a4d08cfa744df8e736fdb2 (patch) | |
tree | fb6b276c9f42faa2785e86d6ed515939f36ffcda /patches/smartmontools | |
parent | 0cd577fbe7f2be7885099c9dd576b1a2a0c67916 (diff) | |
download | slackbuilds-1d3107c4da15be40c7a4d08cfa744df8e736fdb2.tar.gz slackbuilds-1d3107c4da15be40c7a4d08cfa744df8e736fdb2.tar.bz2 |
EOLing old patches
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@2175 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'patches/smartmontools')
-rw-r--r-- | patches/smartmontools/doinst.sh.gz | bin | 270 -> 0 bytes | |||
-rw-r--r-- | patches/smartmontools/slack-desc | 19 | ||||
-rwxr-xr-x | patches/smartmontools/smartmontools.SlackBuild | 94 |
3 files changed, 0 insertions, 113 deletions
diff --git a/patches/smartmontools/doinst.sh.gz b/patches/smartmontools/doinst.sh.gz Binary files differdeleted file mode 100644 index 7cf71d5a..00000000 --- a/patches/smartmontools/doinst.sh.gz +++ /dev/null diff --git a/patches/smartmontools/slack-desc b/patches/smartmontools/slack-desc deleted file mode 100644 index ce462947..00000000 --- a/patches/smartmontools/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' on -# the right side marks the last column you can put a character in. You must make -# exactly 11 lines for the formatting to be correct. It's also customary to -# leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -smartmontools: smartmontools (hard drive monitoring utilities) -smartmontools: -smartmontools: SMARTMONTOOLS contains utilities that control and monitor storage -smartmontools: devices using the Self-Monitoring, Analysis and Reporting Technology -smartmontools: (S.M.A.R.T.) system build into ATA and SCSI Hard Drives. This is used -smartmontools: to check the reliability of the hard drive and to predict drive -smartmontools: failures. SMARTMONTOOLS Version 5.x is designed to comply to the -smartmontools: ATA/ATAPI-5 specification (Revision 1). Future releases of -smartmontools: SMARTMONTOOLS (Versions 6.x and 7.x) will comply with the ATA/ATAPI-6 -smartmontools: and ATA/ATAPI-7 specifications. -smartmontools: diff --git a/patches/smartmontools/smartmontools.SlackBuild b/patches/smartmontools/smartmontools.SlackBuild deleted file mode 100755 index f4221d4a..00000000 --- a/patches/smartmontools/smartmontools.SlackBuild +++ /dev/null @@ -1,94 +0,0 @@ -#!/bin/bash -# -# got it from ftp://ftp.slackware.com/pub/slackware/slackware-current/source/a/smartmontools/smartmontools.SlackBuild -# small changes by rhatto -# - -CWD="`pwd`" - -if [ -f ~/.slackbuildrc ]; then - source ~/.slackbuildrc -elif [ -f /etc/slackbuildrc ]; then - source /etc/slackbuildrc -fi - -PACKAGE="smartmontools" -VERSION=${VERSION:=5.37} -ARCH=${ARCH:=i486} -BUILD=${BUILD:=1rha} -TMP=${TMP:=/tmp} -SRC_DIR=${SRC:=$CWD} -REPOS=${REPOS:=$TMP} - -if [ "$ARCH" == "x86_64" ]; then - LIBDIR=/usr/lib64 -else - LIBDIR=/usr/lib -fi - -RTOOL="wget" -PACKAGE_EXT="gz" -SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT" -URL="http://easynews.dl.sourceforge.net/sourceforge/smartmontools/$SRC" - -if [ "$PACKAGE_EXT" == "bz2" ]; then - tarflag="j" -else - tarflag="z" -fi - -TMP="$TMP/$PACKAGE" -PKG=$TMP/package-$PACKAGE -SRC_DIR="$SRC_DIR/$PACKAGE" -mkdir -p $TMP $SRC_DIR - -# TODO: signature checking -if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then - wget "$URL" -O "$SRC_DIR/$SRC" - #rm -f $SRC_DIR/$SRC.asc - #wget "$URL.asc" -O "$SRC_DIR/$SRC.asc" -fi - -if [ ! -d $TMP ]; then - mkdir -p $TMP # location to build the source -fi - -rm -rf $PKG -mkdir -p $PKG - -cd $TMP -rm -rf smartmontools-$VERSION -tar xvf$tarflag $SRC_DIR/$SRC -cd smartmontools-$VERSION -chown -R root:root . -./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - $ARCH-slackware-linux -make || exit 32 -make install DESTDIR=$PKG -# Not used on Slackware: -rm -rf $PKG/etc/rc.d -mv $PKG/etc/smartd.conf $PKG/etc/smartd.conf.new -gzip -9 $PKG/usr/man/man?/*.? -mv $PKG/usr/share/doc $PKG/usr -rmdir $PKG/usr/share -rm -f $PKG/usr/doc/smartmontools-$VERSION/CHANGELOG \ - $PKG/usr/doc/smartmontools-$VERSION/smartd.conf -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) -mkdir -p $PKG/install -zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh -cat $CWD/slack-desc > $PKG/install/slack-desc - -# Build the package: -cd $PKG -makepkg -l y -c n $REPOS/smartmontools-$VERSION-$ARCH-$BUILD.tgz - -# Clean up the extra stuff: -if [ "$CLEANUP" == "yes" ]; then - rm -rf $TMP -fi - |