summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/a/pciutils/pciutils.SlackBuild
diff options
context:
space:
mode:
authorAdrien Nader <adrien@notk.org>2012-07-14 15:59:54 +0200
committerAdrien Nader <adrien@notk.org>2012-07-14 15:59:54 +0200
commit57add323bdbfc257f2f988a479af5ae15ddb2366 (patch)
treefe2949afeb42b6fbd2afcc8c9282cc652f88b543 /slackware64-current/source/a/pciutils/pciutils.SlackBuild
parent623edb68be3a913fd180319cda74f38b588f09f6 (diff)
Fri Jul 13 23:14:15 UTC 2012
It's Friday the 13th, and Mercury is going into retrograde... seems like the perfect time to break things! A few notes are in order here... first, we've switched to using openssl-1.0.1c, which changes the major number for the crypto and ssl libraries from .0 to .1, meaning everything linked with the previous version of openssl will need to be recompiled. The lib{crypto,ssl}.so.0 libraries were backed up into aaa_elflibs, but this only means that binaries linked with those libraries will start, not that SSL will continue to work for them. The hashing format in /etc/ssl/certs/ has changed, so any programs linking to the old libraries will not be able to use them. Next, Java has gone away due to licensing restrictions... Finally, these changes have broken Xfce as it exists in -current at the moment, but I'll try to do something about that soon. Thanks to Robby Workman and Eric Hameleers for lots of help on these updates! a/aaa_elflibs-14.0-x86_64-1.txz: Upgraded. a/cryptsetup-1.4.3-x86_64-1.txz: Upgraded. a/cups-1.5.3-x86_64-2.txz: Rebuilt. a/cxxlibs-6.0.17-x86_64-1.txz: Upgraded. a/dbus-1.4.20-x86_64-1.txz: Upgraded. a/grep-2.13-x86_64-1.txz: Upgraded. a/gzip-1.5-x86_64-1.txz: Upgraded. a/kernel-generic-3.2.23-x86_64-1.txz: Upgraded. a/kernel-huge-3.2.23-x86_64-1.txz: Upgraded. a/kernel-modules-3.2.23-x86_64-1.txz: Upgraded. a/lvm2-2.02.96-x86_64-1.txz: Upgraded. a/mdadm-3.2.5-x86_64-1.txz: Upgraded. a/mkinitrd-1.4.7-x86_64-1.txz: Upgraded. Thanks to Robby Workman. Added mdmon to initrd if RAID=1. Thanks to Marek Wodzinski. Add firmware needed by modules. Thanks to ecd102 on LQ. a/openssl-solibs-1.0.1c-x86_64-1.txz: Upgraded. a/pciutils-3.1.9-x86_64-1.txz: Upgraded. Moved the location of pci.ids to /usr/share/hwdata. a/sysvinit-2.88dsf-x86_64-1.txz: Upgraded. a/sysvinit-scripts-2.0-noarch-1.txz: Upgraded. a/udev-175-x86_64-1.txz: Upgraded. a/upower-0.9.17-x86_64-1.txz: Upgraded. a/usbutils-006-x86_64-1.txz: Upgraded. Moved the location of usb.ids to /usr/share/hwdata. a/util-linux-2.21.2-x86_64-1.txz: Upgraded. ap/cdrdao-1.2.3-x86_64-2.txz: Rebuilt. ap/cdrtools-3.01a07-x86_64-1.txz: Upgraded. ap/ghostscript-9.05-x86_64-3.txz: Rebuilt. ap/gphoto2-2.4.14-x86_64-1.txz: Upgraded. ap/gutenprint-5.2.8-x86_64-2.txz: Rebuilt. ap/hplip-3.12.6-x86_64-2.txz: Rebuilt. ap/man-pages-3.41-noarch-1.txz: Upgraded. ap/mc-4.8.1.3-x86_64-1.txz: Upgraded. ap/moc-2.5.0_alpha4-x86_64-2.txz: Rebuilt. ap/mysql-5.5.25a-x86_64-1.txz: Upgraded. d/doxygen-1.8.1.1-x86_64-1.txz: Upgraded. d/git-1.7.11.1-x86_64-1.txz: Upgraded. d/kernel-headers-3.2.23-x86-1.txz: Upgraded. d/llvm-3.0-x86_64-2.txz: Rebuilt. d/perl-5.16.0-x86_64-2.txz: Rebuilt. d/python-2.7.3-x86_64-2.txz: Rebuilt. d/ruby-1.9.3_p194-x86_64-2.txz: Rebuilt. d/subversion-1.7.5-x86_64-3.txz: Rebuilt. e/emacs-24.1-x86_64-2.txz: Rebuilt. k/kernel-source-3.2.23-noarch-1.txz: Upgraded. Changes to configuration: CONFIG_SCSI_ISCSI_ATTRS=m # CONFIG_BCMA is not set CONFIG_BRCMSMAC=m CONFIG_SCSI_ISCSI_ATTRS was made modular since the iSCSI userspace will not work with it built in. This change disallows building the QLogic 40xx (ISP4XXX) and 8022 (ISP82XX) into the huge kernel, but for the same reason those would not have worked for installation anyway. CONFIG_BCMA was turned off because including it prevents building the Broadcom BRCMSMAC driver, which is the only working choice for several adapters other than the proprietary wl driver. Unfortunately, removing BCMA removes support for bcm4331 from the b43 driver. However, adding the BRCMSMAC causes several new adaptors to gain support, including some that are becoming quite common in recent laptops, so overall this change should be a net gain. kde/amarok-2.5.0-x86_64-5.txz: Rebuilt. kde/calligra-2.4.3-x86_64-1.txz: Upgraded. kde/kdelibs-4.8.4-x86_64-2.txz: Rebuilt. kde/kdemultimedia-4.8.4-x86_64-2.txz: Rebuilt. kde/kdepim-4.8.4-x86_64-2.txz: Rebuilt. kdei/calligra-l10n-ca-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-ca\@valencia-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-cs-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-da-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-de-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-el-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-en_GB-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-es-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-et-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-fi-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-fr-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-hu-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-it-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-kk-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-nb-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-nds-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-nl-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-pl-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-pt-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-pt_BR-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-ru-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-sk-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-sv-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-uk-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-zh_CN-2.4.3-noarch-1.txz: Upgraded. kdei/calligra-l10n-zh_TW-2.4.3-noarch-1.txz: Upgraded. l/ConsoleKit-0.4.5-x86_64-1.txz: Upgraded. l/M2Crypto-0.21.1-x86_64-2.txz: Rebuilt. l/apr-util-1.4.1-x86_64-3.txz: Rebuilt. l/atk-2.4.0-x86_64-1.txz: Upgraded. l/babl-0.1.10-x86_64-1.txz: Upgraded. l/dbus-glib-0.98-x86_64-1.txz: Upgraded. l/dbus-python-1.1.0-x86_64-1.txz: Upgraded. l/desktop-file-utils-0.20-x86_64-1.txz: Upgraded. l/gdk-pixbuf2-2.26.1-x86_64-1.txz: Upgraded. l/gegl-0.2.0-x86_64-1.txz: Upgraded. l/glib2-2.32.3-x86_64-1.txz: Upgraded. l/gnome-icon-theme-3.4.0-x86_64-1.txz: Upgraded. l/gobject-introspection-1.32.1-x86_64-1.txz: Added. l/gst-plugins-base-0.10.36-x86_64-1.txz: Upgraded. l/gst-plugins-good-0.10.31-x86_64-1.txz: Upgraded. l/gstreamer-0.10.36-x86_64-1.txz: Upgraded. l/gtk+2-2.24.10-x86_64-1.txz: Upgraded. l/gtk+3-3.4.3-x86_64-1.txz: Added. l/jre-6u27-x86_64-1.txz: Removed. l/libarchive-2.8.5-x86_64-1.txz: Upgraded. l/libcddb-1.3.2-x86_64-2.txz: Rebuilt. l/libcdio-0.83-x86_64-1.txz: Upgraded. l/libcroco-0.6.5-x86_64-1.txz: Added. l/libgphoto2-2.4.14-x86_64-1.txz: Upgraded. Fixed to generate correct udev rules. Thanks to Brad Hermanson. l/libmsn-4.2.1-x86_64-2.txz: Rebuilt. l/libmtp-1.1.3-x86_64-1.txz: Upgraded. l/libnl3-3.2.11-x86_64-1.txz: Added. l/libnotify-0.7.5-x86_64-1.txz: Upgraded. l/libogg-1.3.0-x86_64-1.txz: Upgraded. l/libpcap-1.3.0-x86_64-1.txz: Upgraded. l/librsvg-2.36.1-x86_64-1.txz: Upgraded. l/libvncserver-0.9.9-x86_64-2.txz: Rebuilt. l/libvorbis-1.3.3-x86_64-1.txz: Upgraded. l/libwnck-2.30.7-x86_64-2.txz: Rebuilt. l/libxklavier-5.2.1-x86_64-1.txz: Upgraded. l/libyaml-0.1.4-x86_64-1.txz: Added. Thanks to Vincent Batts. l/loudmouth-1.4.3-x86_64-2.txz: Rebuilt. l/mozilla-nss-3.13.5-x86_64-1.txz: Added. l/neon-0.29.6-x86_64-2.txz: Rebuilt. l/notify-python-0.1.1-x86_64-3.txz: Rebuilt. l/pango-1.30.1-x86_64-1.txz: Upgraded. l/polkit-0.105-x86_64-1.txz: Upgraded. l/polkit-gnome-0.102-x86_64-1.txz: Upgraded. l/poppler-0.18.4-x86_64-1.txz: Upgraded. l/poppler-data-0.4.5-noarch-1.txz: Upgraded. l/pycurl-7.19.0-x86_64-2.txz: Rebuilt. l/pygobject-2.28.6-x86_64-1.txz: Upgraded. l/pygtk-2.24.0-x86_64-1.txz: Upgraded. l/qca-ossl-2.0.0_beta3-x86_64-2.txz: Rebuilt. l/qt-4.8.2-x86_64-1.txz: Upgraded. l/raptor-1.4.21-x86_64-1.txz: Removed. This package is no longer used -- everything links to raptor2 instead. Plus, it overlaps with raptor2's /usr/bin/rapper binary, so make sure after removing it that you've got the right copy of that, reinstalling raptor2 if needed. Thanks to Gérard Monpontet. l/redland-1.0.15-x86_64-4.txz: Rebuilt. l/seamonkey-solibs-2.10.1-x86_64-2.txz: Rebuilt. l/shared-mime-info-1.0-x86_64-1.txz: Upgraded. l/v4l-utils-0.8.8-x86_64-2.txz: Upgraded. l/virtuoso-ose-6.1.3-x86_64-3.txz: Rebuilt. n/NetworkManager-0.9.4.0-x86_64-1.txz: Upgraded. Link with Mozilla NSS rather than GnuTLS. n/alpine-2.02-x86_64-1.txz: Upgraded. Now using the re-alpine sources. n/bind-9.9.1_P1-x86_64-2.txz: Rebuilt. n/bluez-4.99-x86_64-1.txz: Upgraded. n/bluez-hcidump-2.4-x86_64-1.txz: Upgraded. n/ca-certificates-20120623-noarch-1.txz: Upgraded. n/curl-7.26.0-x86_64-2.txz: Rebuilt. n/cyrus-sasl-2.1.23-x86_64-4.txz: Rebuilt. n/dhcp-4.2.4-x86_64-1.txz: Upgraded. n/dhcpcd-5.5.6-x86_64-1.txz: Upgraded. n/epic5-1.1.3-x86_64-1.txz: Upgraded. n/fetchmail-6.3.21-x86_64-2.txz: Rebuilt. n/gnupg-1.4.12-x86_64-1.txz: Upgraded. n/gnupg2-2.0.19-x86_64-1.txz: Upgraded. n/gnutls-3.0.21-x86_64-1.txz: Upgraded. n/gpgme-1.3.2-x86_64-1.txz: Upgraded. n/htdig-3.2.0b6-x86_64-4.txz: Rebuilt. n/httpd-2.4.2-x86_64-3.txz: Rebuilt. n/imapd-2.02-x86_64-1.txz: Upgraded. Now using the re-alpine sources. n/iproute2-3.4.0-x86_64-1.txz: Upgraded. n/iptables-1.4.14-x86_64-1.txz: Upgraded. n/irssi-0.8.15-x86_64-6.txz: Rebuilt. n/iw-3.5-x86_64-1.txz: Upgraded. n/lftp-4.3.8-x86_64-1.txz: Upgraded. n/libassuan-2.0.3-x86_64-1.txz: Upgraded. n/libgcrypt-1.5.0-x86_64-1.txz: Upgraded. n/libgpg-error-1.10-x86_64-1.txz: Upgraded. n/links-2.7-x86_64-1.txz: Upgraded. n/lynx-2.8.7-x86_64-3.txz: Rebuilt. n/mailx-12.5-x86_64-1.txz: Upgraded. n/mutt-1.5.21-x86_64-2.txz: Rebuilt. n/net-snmp-5.6.1-x86_64-4.txz: Rebuilt. n/netatalk-2.0.5-x86_64-2.txz: Rebuilt. n/nettle-2.5-x86_64-1.txz: Added. n/nmap-6.01-x86_64-2.txz: Rebuilt. n/ntp-4.2.6p5-x86_64-2.txz: Rebuilt. n/openldap-client-2.4.31-x86_64-2.txz: Rebuilt. n/openssh-6.0p1-x86_64-2.txz: Rebuilt. n/openssl-1.0.1c-x86_64-1.txz: Upgraded. n/openvpn-2.2.2-x86_64-1.txz: Upgraded. n/p11-kit-0.12-x86_64-1.txz: Added. n/php-5.4.4-x86_64-1.txz: Upgraded. This release fixes a weakness in the DES implementation of crypt and a heap overflow issue in the phar extension. (* Security fix *) n/pidentd-3.0.19-x86_64-2.txz: Rebuilt. n/popa3d-1.0.2-x86_64-3.txz: Rebuilt. n/proftpd-1.3.4a-x86_64-2.txz: Rebuilt. n/samba-3.6.6-x86_64-1.txz: Upgraded. n/sendmail-8.14.5-x86_64-3.txz: Rebuilt. n/sendmail-cf-8.14.5-noarch-3.txz: Rebuilt. n/slrn-0.9.9p1-x86_64-4.txz: Rebuilt. n/snownews-1.5.12-x86_64-2.txz: Rebuilt. n/stunnel-4.53-x86_64-1.txz: Rebuilt. n/tcpdump-4.3.0-x86_64-1.txz: Upgraded. n/vsftpd-3.0.0-x86_64-2.txz: Rebuilt. n/wget-1.13.4-x86_64-1.txz: Upgraded. n/wpa_supplicant-1.0-x86_64-1.txz: Upgraded. x/fontconfig-2.9.0-x86_64-1.txz: Upgraded. x/mesa-8.0.4-x86_64-1.txz: Upgraded. x/pixman-0.26.2-x86_64-1.txz: Upgraded. x/xdg-user-dirs-0.14-x86_64-1.txz: Upgraded. x/xorg-server-1.12.3-x86_64-1.txz: Upgraded. x/xorg-server-xephyr-1.12.3-x86_64-1.txz: Upgraded. x/xorg-server-xnest-1.12.3-x86_64-1.txz: Upgraded. x/xorg-server-xvfb-1.12.3-x86_64-1.txz: Upgraded. xap/MPlayer-1.1_20120701-x86_64-1.txz: Upgraded. Latest 1.1 branch checkout. Thanks to alienBOB. xap/audacious-3.2.4-x86_64-1.txz: Upgraded. xap/audacious-plugins-3.2.4-x86_64-1.txz: Upgraded. xap/fluxbox-1.3.2-x86_64-1.txz: Upgraded. xap/fvwm-2.6.5-x86_64-1.txz: Upgraded. xap/gftp-2.0.19-x86_64-3.txz: Rebuilt. xap/gimp-2.8.0-x86_64-1.txz: Upgraded. xap/gkrellm-2.3.5-x86_64-2.txz: Rebuilt. xap/gucharmap-3.4.1-x86_64-1.txz: Upgraded. xap/mozilla-firefox-13.0.1-x86_64-2.txz: Rebuilt. Don't build in the main source directory. Thanks to ponce. xap/mozilla-thunderbird-13.0.1-x86_64-2.txz: Rebuilt. Don't build in the main source directory. Thanks to ponce. xap/pan-0.139-x86_64-1.txz: Upgraded. xap/pidgin-2.10.6-x86_64-1.txz: Upgraded. Fixes a security issue for users of MXit: Incorrect handing of inline images in incoming instant messages can cause a buffer overflow and in some cases can be exploited to execute arbitrary code. For more information, see: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3374 (* Security fix *) Link with Mozilla NSS rather than GnuTLS. xap/rdesktop-1.7.1-x86_64-3.txz: Rebuilt. xap/sane-1.0.22-x86_64-4.txz: Rebuilt. xap/seamonkey-2.10.1-x86_64-2.tx: Rebuilt. Don't build in the main source directory. Thanks to ponce. Removed nss.pc and nspr.pc symlinks. xap/windowmaker-0.95.3-x86_64-1.txz: Upgraded. xap/x3270-3.3.12ga7-x86_64-2.txz: Rebuilt. xap/xchat-2.8.8-x86_64-6.txz: Rebuilt. xap/xsane-0.998-x86_64-2.txz: Rebuilt. extra/jdk-6/jdk-6u27-x86_64-1.txz: Removed. isolinux/initrd.img: Rebuilt. Change location of usb.ids and pci.ids to /usr/share/hwdata. Patched busybox to fix wget -P option. Thanks to Kirill Smirnoff. Allow nic=auto for headless installs. Thanks to alienBOB. Fixed /sbin/probe for systems that mix HP RAID with regular hard drives. Thanks to mario. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'slackware64-current/source/a/pciutils/pciutils.SlackBuild')
-rwxr-xr-xslackware64-current/source/a/pciutils/pciutils.SlackBuild60
1 files changed, 42 insertions, 18 deletions
diff --git a/slackware64-current/source/a/pciutils/pciutils.SlackBuild b/slackware64-current/source/a/pciutils/pciutils.SlackBuild
index b3425b6a9..03268420e 100755
--- a/slackware64-current/source/a/pciutils/pciutils.SlackBuild
+++ b/slackware64-current/source/a/pciutils/pciutils.SlackBuild
@@ -24,7 +24,7 @@
VERSION=${VERSION:-$(echo pciutils-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
-NUMJOBS=${NUMJOBS:--j6}
+NUMJOBS=${NUMJOBS:--j3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -65,21 +65,19 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fetch the latest pci.ids:
-rm -f pci.ids
-sh update-pciids.sh
-# Now fix the update-pciids script and preinstall it before 'make install'
-# decides that it knows best
-zcat $CWD/pciutils.ids.dest.diff.gz | patch -p1 --verbose || exit 1
-mkdir -p $PKG/usr/sbin
-cat update-pciids.sh > $PKG/usr/sbin/update-pciids
-chmod 0755 $PKG/usr/sbin/update-pciids
+zcat $CWD/pciutils.dontcompress.diff.gz | patch -p1 || exit 1
+zcat $CWD/pciutils.update.pci.ids.url.diff.gz | patch -p1 || exit 1
+# Make and install the shared library
make \
PREFIX=/usr \
SBINDIR=/sbin \
LIBDIR=/usr/lib${LIBDIRSUFFIX} \
MANDIR=/usr/man \
+ IDSDIR=/usr/share/hwdata \
+ PCI_IDS=pci.ids \
+ PCI_COMPRESSED_IDS=0 \
+ SHARED=no \
OPT="$SLKCFLAGS" \
$NUMJOBS || exit 1
@@ -88,26 +86,52 @@ make install install-lib \
SBINDIR=/sbin \
LIBDIR=/usr/lib${LIBDIRSUFFIX} \
MANDIR=/usr/man \
+ IDSDIR=/usr/share/hwdata \
+ PCI_IDS=pci.ids \
+ PCI_COMPRESSED_IDS=0 \
+ SHARED=no \
DESTDIR=$PKG
-# Do not compress pci.ids - hal needs it uncompressed
+mkdir -p $PKG/usr/sbin
+mv $PKG/sbin/update-pciids $PKG/usr/sbin/update-pciids
+
+# Do not compress pci.ids
( cd $PKG/usr/share ; gzip -d pci.ids.gz )
-# Remove the update-pciids script that 'make install' placed
-rm -f $PKG/sbin/update-pciids
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+# Put a compat symlink in place
+ln -s hwdata/pci.ids $PKG/usr/share/pci.ids
+
+# Compress and link manpages, if any:
+if [ -d $PKG/usr/man ]; then
+ ( cd $PKG/usr/man
+ for manpagedir in $(find . -type d -name "man*") ; do
+ ( cd $manpagedir
+ for eachpage in $( find . -type l -maxdepth 1) ; do
+ ln -s $( readlink $eachpage ).gz $eachpage.gz
+ rm $eachpage
+ done
+ gzip -9 *.?
+ )
+ done
+ )
+fi
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
mkdir -p $PKG/usr/doc/pciutils-$VERSION
cp -a \
- ChangeLog README TODO \
+ COPYING* README TODO \
$PKG/usr/doc/pciutils-$VERSION
+# If there's a ChangeLog, installing at least part of the recent history
+# is useful, but don't let it get totally out of control:
+if [ -r ChangeLog ]; then
+ DOCSDIR=$(echo $PKG/usr/doc/*-$VERSION)
+ cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
+ touch -r ChangeLog $DOCSDIR/ChangeLog
+fi
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc