diff options
Diffstat (limited to 'source/a/aaa_elflibs')
-rwxr-xr-x | source/a/aaa_elflibs/aaa_elflibs.SlackBuild | 73 | ||||
-rw-r--r-- | source/a/aaa_elflibs/slack-desc | 19 | ||||
-rw-r--r-- | source/a/aaa_elflibs/symlinks-to-tracked-libs | 55 | ||||
-rw-r--r-- | source/a/aaa_elflibs/tracked-files | 8 |
4 files changed, 155 insertions, 0 deletions
diff --git a/source/a/aaa_elflibs/aaa_elflibs.SlackBuild b/source/a/aaa_elflibs/aaa_elflibs.SlackBuild new file mode 100755 index 00000000..fd5ade86 --- /dev/null +++ b/source/a/aaa_elflibs/aaa_elflibs.SlackBuild @@ -0,0 +1,73 @@ +#!/bin/sh +# Copyright 2006, 2007, 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA +# 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. + + +PKGNAM=aaa_elflibs +VERSION=${VERSION:-13.0} +ARCH=${ARCH:-x86_64} +BUILD=${BUILD:-2} + +if [ "$ARCH" = "x86_64" ]; then + LIBDIRSUFFIX="64" +else + LIBDIRSUFFIX="" +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp} +PKG=$TMP/package-${PKGNAM} +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $PKG +cat $CWD/symlinks-to-tracked-libs \ + | sed -e "s#^/lib/#/lib${LIBDIRSUFFIX}/#" \ + -e "s#^/usr/lib/#/usr/lib${LIBDIRSUFFIX}/#" \ + | while read library ; do + ( [ ! -e $library ] && continue + echo "Adding $library" + mkdir -p $(dirname $library | cut -b2- ) + cd $(dirname $library | cut -b2- ) + rm -f $(basename $library) + cp -a $library . + rm -f $(readlink $library) + cp -a $(dirname $library)/$(readlink $library) . + ) +done +cat $CWD/tracked-files \ + | sed -e "s#^/lib/#/lib${LIBDIRSUFFIX}/#" \ + -e "s#^/usr/lib/#/usr/lib${LIBDIRSUFFIX}/#" \ + | while read library ; do + ( [ ! -e $library ] && continue + echo "Adding $library" + mkdir -p $(dirname $library | cut -b2- ) + cd $(dirname $library | cut -b2- ) + rm -f $(basename $library) + cp -a $library . + ) +done + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz + diff --git a/source/a/aaa_elflibs/slack-desc b/source/a/aaa_elflibs/slack-desc new file mode 100644 index 00000000..29a6c8fb --- /dev/null +++ b/source/a/aaa_elflibs/slack-desc @@ -0,0 +1,19 @@ +# 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------------------------------------------------------| +aaa_elflibs: aaa_elflibs (shared libraries needed by many programs) +aaa_elflibs: +aaa_elflibs: This is a collection of shared libraries needed to run Linux programs. +aaa_elflibs: ELF (Executable and Linking Format) is the standard Linux binary +aaa_elflibs: format. These libraries are gathered from other Slackware packages +aaa_elflibs: and are intended to give a fairly complete initial set of libraries. +aaa_elflibs: This package should be not upgraded or reinstalled (it could copy +aaa_elflibs: over newer library versions). +aaa_elflibs: +aaa_elflibs: +aaa_elflibs: diff --git a/source/a/aaa_elflibs/symlinks-to-tracked-libs b/source/a/aaa_elflibs/symlinks-to-tracked-libs new file mode 100644 index 00000000..b8c2c758 --- /dev/null +++ b/source/a/aaa_elflibs/symlinks-to-tracked-libs @@ -0,0 +1,55 @@ +/lib/libacl.so.1 +/lib/libattr.so.1 +/lib/libbz2.so.1 +/lib/libbz2.so.1.0 +/lib/libcap.so.2 +/lib/libdm.so.0 +/lib/libfuse.so.2 +/lib/libgpm.so.1 +/lib/libncurses.so.5 +/lib/libncursesw.so.5 +/lib/libsysfs.so.2 +/lib/libtermcap.so.2 +/usr/lib/libasound.so.2 +/usr/lib/libcurl.so.2 +/usr/lib/libcurl.so.3 +/usr/lib/libcurl.so.4 +/usr/lib/libexpat.so.0 +/usr/lib/libexpat.so.1 +/usr/lib/libform.so.5 +/usr/lib/libformw.so.5 +/usr/lib/libfreetype.so.6 +/usr/lib/libgdbm.so.2 +/usr/lib/libgdbm.so.3 +/usr/lib/libglib-2.0.so.0 +/usr/lib/libgmodule-2.0.so.0 +/usr/lib/libgmp.so.3 +/usr/lib/libgmpxx.so.3 +/usr/lib/libgobject-2.0.so.0 +/usr/lib/libgthread-2.0.so.0 +/usr/lib/libhistory.so.4 +/usr/lib/libhistory.so.5 +/usr/lib/libidn.so.11 +/usr/lib/libjpeg.so.62 +/usr/lib/liblber-2.3.so.0 +/usr/lib/libldap-2.3.so.0 +/usr/lib/libmenu.so.5 +/usr/lib/libmenuw.so.5 +/usr/lib/libmm.so.14 +/usr/lib/libmp.so.3 +/usr/lib/libpanel.so.5 +/usr/lib/libpanelw.so.5 +/usr/lib/libpcre.so.0 +/usr/lib/libpcreposix.so.0 +/usr/lib/libpng.so.3 +/usr/lib/libpng12.so.0 +/usr/lib/libpopt.so.0 +/usr/lib/libreadline.so.4 +/usr/lib/libreadline.so.5 +/usr/lib/libslang.so.1 +/usr/lib/libslang.so.2 +/usr/lib/libtiff.so.3 +/usr/lib/libusb-0.1.so.4 +/usr/lib/libvga.so.1 +/usr/lib/libvgagl.so.1 +/usr/lib/libz.so.1 diff --git a/source/a/aaa_elflibs/tracked-files b/source/a/aaa_elflibs/tracked-files new file mode 100644 index 00000000..16b731ba --- /dev/null +++ b/source/a/aaa_elflibs/tracked-files @@ -0,0 +1,8 @@ +/lib/libdb-3.1.so +/lib/libdb-3.3.so +/lib/libdb-4.2.so +/lib/libdb-4.4.so +/lib/libdevmapper.so.1.02 +/usr/lib/libcups.so.2 +/usr/lib/libcupsimage.so.2 +/usr/lib/libgcc_s.so.1 |