diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2011-04-25 13:37:00 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:45:18 +0200 |
commit | 75a4a592e5ccda30715f93563d741b83e0dcf39e (patch) | |
tree | 502f745607e77a2c4386ad38d818ddcafe81489c /source/a/pcmciautils | |
parent | b76270bf9e6dd375e495fec92140a79a79415d27 (diff) | |
download | current-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.gz |
Slackware 13.37slackware-13.37
Mon Apr 25 13:37:00 UTC 2011
Slackware 13.37 x86_64 stable is released!
Thanks to everyone who pitched in on this release: the Slackware team,
the folks producing upstream code, and linuxquestions.org for providing
a great forum for collaboration and testing.
The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a
dual-sided
32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware
project by picking up a copy from store.slackware.com. We're taking
pre-orders now, and offer a discount if you sign up for a subscription.
As always, thanks to the Slackware community for testing, suggestions,
and feedback. :-)
Have fun!
Diffstat (limited to 'source/a/pcmciautils')
-rw-r--r-- | source/a/pcmciautils/pcmciautils-017.tar.sign | 8 | ||||
-rwxr-xr-x | source/a/pcmciautils/pcmciautils.SlackBuild | 37 |
2 files changed, 30 insertions, 15 deletions
diff --git a/source/a/pcmciautils/pcmciautils-017.tar.sign b/source/a/pcmciautils/pcmciautils-017.tar.sign new file mode 100644 index 00000000..cd492c77 --- /dev/null +++ b/source/a/pcmciautils/pcmciautils-017.tar.sign @@ -0,0 +1,8 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) +Comment: See http://www.kernel.org/signature.html for info + +iD8DBQBLRLP8yGugalF9Dw4RAn4EAJ96T5HaIjfdqhIfp2/GeL18BgylOwCfZA+R +sWw0NvzDaf3ZKhgHZHNmGLs= +=A5s6 +-----END PGP SIGNATURE----- diff --git a/source/a/pcmciautils/pcmciautils.SlackBuild b/source/a/pcmciautils/pcmciautils.SlackBuild index dcf70895..fa458172 100755 --- a/source/a/pcmciautils/pcmciautils.SlackBuild +++ b/source/a/pcmciautils/pcmciautils.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pcmciautils -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,11 +23,21 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -VERSION=${VERSION:-015} -ARCH=${ARCH:-x86_64} +VERSION=${VERSION:-017} +BUILD=${BUILD:-1} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi + # parallel build will cause an error building ccdv: NUMJOBS=${NUMJOBS:-" -j1 "} -BUILD=${BUILD:-2} CWD=$(pwd) TMP=${TMP:-/tmp} @@ -37,7 +47,7 @@ rm -rf $PKG mkdir -p $TMP $PKG cd $TMP rm -rf pcmciautils-$VERSION -tar xvf $CWD/pcmciautils-$VERSION.tar.bz2 +tar xvf $CWD/pcmciautils-$VERSION.tar.bz2 || exit 1 cd pcmciautils-$VERSION chown -R root.root . find . \ @@ -58,16 +68,19 @@ make install DESTDIR=$PKG || exit 1 # Add some firmware: ( cd $PKG - tar xvf $CWD/cis-cs-3.2.8.tar.gz + tar xvf $CWD/cis-cs-3.2.8.tar.gz || exit 1 chown -R root:root lib -) +) || exit 1 rm -rf $PKG/etc/* mkdir -p $PKG/etc/pcmcia $PKG/etc/rc.d $PKG/lib/udev/rules.d cp -a $CWD/config/rc.pcmcia $PKG/etc/rc.d/rc.pcmcia.new chown root:root $PKG/etc/rc.d/rc.pcmcia.new -chmod 0755 $PKG/etc/rc.d/rc.pcmcia.new +# PCMCIA is the exception rather than the rule in 2011. +# Don't activate /etc/rc.d/rc.pcmcia on a new package install, +# leave that for the admin. +chmod 0644 $PKG/etc/rc.d/rc.pcmcia.new cp -a $CWD/config/config.opts $PKG/etc/pcmcia/config.opts.new chown root:root $PKG/etc/pcmcia/config.opts.new @@ -77,12 +90,6 @@ cp -a udev/60-pcmcia.rules $PKG/lib/udev/rules.d/60-pcmcia.rules chown root:root $PKG/lib/udev/rules.d/60-pcmcia.rules chmod 0644 $PKG/lib/udev/rules.d/60-pcmcia.rules -# Create some symlinks that the udev rules file wants -( cd $PKG/lib/udev - ln -s ../../sbin/pcmcia-check-broken-cis . - ln -s ../../sbin/pcmcia-socket-startup . -) - mv $PKG/usr/share/man $PKG/usr rmdir $PKG/usr/share @@ -102,7 +109,7 @@ if [ -d $PKG/usr/man ]; then fi mkdir -p $PKG/usr/doc/pcmciautils-$VERSION -cp COPYING* $PKG/usr/doc/pcmciautils-$VERSION +cp -a COPYING* README* doc/*.txt $PKG/usr/doc/pcmciautils-$VERSION mkdir $PKG/install zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh |