diff options
-rw-r--r-- | system/dump/README | 15 | ||||
-rw-r--r-- | system/dump/dump.SlackBuild | 30 | ||||
-rw-r--r-- | system/dump/dump.info | 8 |
3 files changed, 33 insertions, 20 deletions
diff --git a/system/dump/README b/system/dump/README index af53cb4a9a..0c31c545cb 100644 --- a/system/dump/README +++ b/system/dump/README @@ -14,16 +14,11 @@ You might want to read this post by Linus: and the counter-argument on: http://dump.sourceforge.net/isdumpdeprecated.html -Slackware's tar package already has rmt, therefore this SlackBuild +Slackware's tar package already has rmt, therefore this SlackBuild excludes it. -CONFLICT: The restore application conflicts with the tar package. +This SlackBuild disables the SELinux functionality and dependency. -On installing this dump package "/usr/sbin/restore" will be overwritten. - -Should you remove the dump package, you may note that this file will not be -deleted because it is "shared" with the tar package. You may opt to reinstall -the stock tar package after uninstalling the dump package. -Hint: # slackpkg reinstall tar - -This SlackBuild disables the SELinux functionality and dependency. +Note that Slackware comes with another "restore" command: /usr/sbin/restore +The package built by this SlackBuild however will install: /sbin/restore +Thus you might need to call the dump package restore by its full path. diff --git a/system/dump/dump.SlackBuild b/system/dump/dump.SlackBuild index 5fb369d53b..4dba8d5c77 100644 --- a/system/dump/dump.SlackBuild +++ b/system/dump/dump.SlackBuild @@ -2,11 +2,28 @@ # Slackware build script for dump -# Written by Chris Abela <chris.abela@maltats.com> -# 30.07.2010 +# Copyright 2012 Chris Abela, Malta +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=dump -VERSION=${VERSION:-0.4b43} +VERSION=${VERSION:-0.4b44} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -52,9 +69,10 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# rmt is available on Slack's tar package, so I am disabling it. -# The fully qualified mandir is necessary. +# rmt is available on Slack's tar package, so I am disabling it +# The full path for mandir is necessary CFLAGS="$SLKCFLAGS" \ +EXT2FS_LIBS="-lext2fs -lcom_err" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -69,7 +87,7 @@ CFLAGS="$SLKCFLAGS" \ --enable-transselinux=no make -make prefix=$PKG/usr install +make prefix=$PKG install # According to fhs-2.3, dump goes in /sbin find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/system/dump/dump.info b/system/dump/dump.info index 4fd2b0a8b2..6f3ffb58b2 100644 --- a/system/dump/dump.info +++ b/system/dump/dump.info @@ -1,10 +1,10 @@ PRGNAM="dump" -VERSION="0.4b43" +VERSION="0.4b44" HOMEPAGE="http://dump.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/dump/dump-0.4b43.tar.gz" -MD5SUM="a708cbac8a0f69dd55aecbb80bb290ca" +DOWNLOAD="http://downloads.sourceforge.net/dump/dump-0.4b44.tar.gz" +MD5SUM="daec97b1ad905c904eba926221f4be6d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Chris Abela" -EMAIL="chris.abela@maltats.com" +EMAIL="kristofru@gmail.com" |