diff options
author | Adrien Nader <adrien@notk.org> | 2012-08-16 08:58:47 +0200 |
---|---|---|
committer | Adrien Nader <adrien@notk.org> | 2012-08-16 08:58:47 +0200 |
commit | 6a6dc754b086acba50c7b4eda734844292a8baa6 (patch) | |
tree | f4e05cbcc53a82d706dfc7778042bc16800abeb7 /slackware64-current/source/a/usb_modeswitch | |
parent | b238ae9f7d63f006d4bf6db98596f7fc6112ade5 (diff) |
Thu Aug 16 04:01:31 UTC 2012
Getting close! Hopefully we've cleared out most of the remaining issues
and are nearly ready here. We'll call this release candidate 2.
Unless there's a very good rationale, versions are frozen.
Any reports of remaining bugs will be gladly taken, though.
#include <more/cowbell.h>
a/aaa_base-14.0-x86_64-4.txz: Rebuilt.
Remove mention of HAL in the initial welcome email (mention udisks2
instead). Thanks to Dave Margell.
a/bash-4.2.037-x86_64-1.txz: Upgraded.
Added all the patches on ftp.gnu.org and rebuilt.
Thanks to Willy Sudiarto Raharjo.
a/btrfs-progs-20120810-x86_64-1.txz: Upgraded.
a/coreutils-8.18-x86_64-1.txz: Upgraded.
a/grep-2.13-x86_64-2.txz: Rebuilt.
Merged upstream patches to fix problems with sparse or compressed files,
and with filesystems that store tiny files within the metadata. This
should fix issues with compiling on filesystems such as btrfs and zfs.
Thanks to Robert Easter for the bug report.
a/kernel-generic-3.2.27-x86_64-1.txz: Upgraded.
a/kernel-huge-3.2.27-x86_64-1.txz: Upgraded.
a/kernel-modules-3.2.27-x86_64-1.txz: Upgraded.
a/lilo-23.2-x86_64-2.txz: Rebuilt.
Fixed two bugs in liloconfig.
Thanks to Citramonum on LQ.
a/logrotate-3.8.2-x86_64-1.txz: Upgraded.
a/minicom-2.6-x86_64-1.txz: Upgraded.
Thanks to Luiz Gustavo Zuliani for build script fixes.
a/shadow-4.1.4.3-x86_64-5.txz: Rebuilt.
Patched a bug where locale variables would be improperly sanitized from
the shell environment. Thanks to Serg Bormant.
a/smartmontools-5.43-x86_64-1.txz: Upgraded.
a/sysvinit-scripts-2.0-noarch-6.txz: Rebuilt.
In rc.6, run rc.yp (if executable) to shut down YP services.
In rc.6, fix comment and output notification of SIGTERM/SIGKILL.
Thanks to Jonathan Woithe.
a/usb_modeswitch-1.2.4-x86_64-1.txz: Upgraded.
a/util-linux-2.21.2-x86_64-5.txz: Rebuilt.
Patched segfault in "column" when using long options.
Thanks to B Watson.
ap/lxc-0.7.5-x86_64-1.txz: Upgraded.
ap/mpg123-1.14.4-x86_64-1.txz: Upgraded.
ap/rpm-4.10.0-x86_64-1.txz: Upgraded.
Thanks to Robby Workman.
d/ccache-3.1.8-x86_64-1.txz: Upgraded.
Thanks to Erik Jan Tromp.
d/kernel-headers-3.2.27-x86-1.txz: Upgraded.
d/libtool-2.4.2-x86_64-1.txz: Upgraded.
Thanks to Robby Workman.
e/emacs-24.1-x86_64-6.txz: Rebuilt.
Patched to fix a security flaw in the file-local variables code.
When the Emacs user option `enable-local-variables' is set to `:safe'
(the default value is t), Emacs should automatically refuse to evaluate
`eval' forms in file-local variable sections. Due to the bug, Emacs
instead automatically evaluates such `eval' forms. Thus, if the user
changes the value of `enable-local-variables' to `:safe', visiting a
malicious file can cause automatic execution of arbitrary Emacs Lisp
code with the permissions of the user. Bug discovered by Paul Ling.
For more information, see:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3479
(* Security fix *)
k/kernel-source-3.2.27-noarch-1.txz: Upgraded.
Enable heap randomization (CONFIG_BRK=N).
Thanks to Geoff Walton.
kde/amarok-2.6.0-x86_64-1.txz: Upgraded.
Thanks to Heinz Wiesinger.
l/db44-4.4.20-x86_64-3.txz: Rebuilt.
Renamed binaries to contain "db44" to avoid overlap with db48.
l/db48-4.8.30-x86_64-1.txz: Added.
l/fribidi-0.19.2-x86_64-3.txz: Rebuilt.
Fixed missing docs. Thanks to Erik Jan Tromp and Stuart Winter.
l/gst-plugins-base-0.10.36-x86_64-2.txz: Rebuilt.
l/gst-plugins-good-0.10.31-x86_64-3.txz: Rebuilt.
Added gio and soup plugins to enable playing files over http.
Thanks to Heinz Wiesinger.
l/gtk+2-2.24.10-x86_64-2.txz: Rebuilt.
Don't run "make install" in the SlackBuild, since $DESTDIR is now properly
handled for /etc/gtk-2.0/. Thanks to Adrien Nader.
l/liblastfm-1.0.1-x86_64-1.txz: Upgraded.
Thanks to Heinz Wiesinger.
l/libmtp-1.1.3-x86_64-2.txz: Rebuilt.
Removed empty 90-libmtp.rules.
Thanks to Iouri Kharon.
l/phonon-gstreamer-4.6.2-x86_64-1.txz: Upgraded.
l/polkit-0.105-x86_64-3.txz: Rebuilt.
Fixed typo in 20-plugdev-group-mount-override.pkla.
Thanks to Chess Griffin.
l/shared-mime-info-1.0-x86_64-2.txz: Rebuilt.
Minor fix to the install script.
Thanks to Citramonum on LQ.
l/t1lib-5.1.2-x86_64-3.txz: Rebuilt.
Patched various overflows, crashes, and pointer bugs.
For more information, see:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-2642
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0764
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1552
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1553
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1554
(* Security fix *)
n/NetworkManager-0.9.4.0-x86_64-2.txz: Rebuilt.
Patched to fix nmcli. Thanks to parcox on LQ.
n/gnutls-3.0.22-x86_64-1.txz: Upgraded.
n/network-scripts-14.00-noarch-3.txz: Rebuilt.
In rc.inet2, run rc.yp rather than sourcing it.
n/wget-1.14-x86_64-1.txz: Upgraded.
n/yptools-2.12-x86_64-3.txz: Rebuilt.
Fixed scripts to use /usr/lib${LIBDIRSUFFIX}/yp.
Thanks to Niki Kovacs.
Switched to a new rc.yp script supporting start|stop|restart.
If there's an existing script, it will be installed as a .new with the same
permissions as the existing rc.yp, which had defaulted to executable since
without editing it did nothing. Unless you plan to use YP, be aware that
moving the new script into place with 755 perms will cause a line of
(harmless) noise telling you that YP has not configured yet.
Thanks to Jonathan Woithe.
x/scim-1.4.14-x86_64-1.txz: Upgraded.
Thanks to Robby Workman.
xap/audacious-3.3.1-x86_64-1.txz: Upgraded.
xap/audacious-plugins-3.3.1-x86_64-1.txz: Upgraded.
xap/fvwm-2.6.5-x86_64-5.txz: Rebuilt.
Since we run dbus-launch in the startup script, don't start it in xinitrc.
Thanks to Robby Workman.
xap/geeqie-1.1-x86_64-1.txz: Upgraded.
xap/sane-1.0.22-x86_64-5.txz: Rebuilt.
Added pkgconfig file for sane-backends.
Thanks to Johannes Schöpfer and Jonathan Woithe.
xap/windowmaker-0.95.3-x86_64-3.txz: Rebuilt.
Fixed incorrect hard-coded paths in the menu generator code.
Thanks to Gary Langshaw.
isolinux/initrd.img: Rebuilt.
Upgraded to Linux kernel 3.2.27.
Include the staging/hv modules. Thanks to Victor Miasnikov.
Bind mount /dev in SeTconfig.
Support virtual devices such as /dev/vda and /dev/xvda in /sbin/probe.
Thanks to Ken Treadway.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
Upgraded to Linux kernel 3.2.27.
Include the staging/hv modules. Thanks to Victor Miasnikov.
Bind mount /dev in SeTconfig.
Support virtual devices such as /dev/vda and /dev/xvda in /sbin/probe.
Thanks to Ken Treadway.
Diffstat (limited to 'slackware64-current/source/a/usb_modeswitch')
6 files changed, 19 insertions, 13 deletions
diff --git a/slackware64-current/source/a/usb_modeswitch/device_reference.txt.gz b/slackware64-current/source/a/usb_modeswitch/device_reference.txt.gz index a2c4db164..bdfa7773e 100644 --- a/slackware64-current/source/a/usb_modeswitch/device_reference.txt.gz +++ b/slackware64-current/source/a/usb_modeswitch/device_reference.txt.gz @@ -1 +1 @@ -75cb89c87d85e0ffe74e5382ae87ffe8db2e18c0 +810566e4003455eb35c054f54b668f020f284f90 diff --git a/slackware64-current/source/a/usb_modeswitch/usb-modeswitch-1.1.6.tar.bz2 b/slackware64-current/source/a/usb_modeswitch/usb-modeswitch-1.1.6.tar.bz2 deleted file mode 100644 index 986b5ccdf..000000000 --- a/slackware64-current/source/a/usb_modeswitch/usb-modeswitch-1.1.6.tar.bz2 +++ /dev/null @@ -1 +0,0 @@ -cc7e71ba51361233fb2eee05e09706b90986fe6f diff --git a/slackware64-current/source/a/usb_modeswitch/usb-modeswitch-1.2.4.tar.bz2 b/slackware64-current/source/a/usb_modeswitch/usb-modeswitch-1.2.4.tar.bz2 new file mode 100644 index 000000000..88331a32b --- /dev/null +++ b/slackware64-current/source/a/usb_modeswitch/usb-modeswitch-1.2.4.tar.bz2 @@ -0,0 +1 @@ +d5b55466e186e8ecfbb0b3faa2e77a9dd21b8830 diff --git a/slackware64-current/source/a/usb_modeswitch/usb-modeswitch-data-20101222.tar.bz2 b/slackware64-current/source/a/usb_modeswitch/usb-modeswitch-data-20101222.tar.bz2 deleted file mode 100644 index 1e3aa7246..000000000 --- a/slackware64-current/source/a/usb_modeswitch/usb-modeswitch-data-20101222.tar.bz2 +++ /dev/null @@ -1 +0,0 @@ -adfc827c7bf46bc588cef45a481d3d73b99e9756 diff --git a/slackware64-current/source/a/usb_modeswitch/usb-modeswitch-data-20120812.tar.bz2 b/slackware64-current/source/a/usb_modeswitch/usb-modeswitch-data-20120812.tar.bz2 new file mode 100644 index 000000000..1ce6b47f3 --- /dev/null +++ b/slackware64-current/source/a/usb_modeswitch/usb-modeswitch-data-20120812.tar.bz2 @@ -0,0 +1 @@ +c7e151cefda063c033b213b5b0f5d842ca7b2e24 diff --git a/slackware64-current/source/a/usb_modeswitch/usb_modeswitch.SlackBuild b/slackware64-current/source/a/usb_modeswitch/usb_modeswitch.SlackBuild index 67b2070ab..b950a3d5d 100755 --- a/slackware64-current/source/a/usb_modeswitch/usb_modeswitch.SlackBuild +++ b/slackware64-current/source/a/usb_modeswitch/usb_modeswitch.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for usb_modeswitch. -# Copyright 2010 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010, 2012 Patrick J. Volkerding, Sebeka, Minnesota, USA # Copyright 2010 David Somero, Athens, TN, USA # All rights reserved. # @@ -24,8 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PKGNAM=usb_modeswitch -VERSION=${VERSION:-1.1.6} -DATAVER=${DATAVER:-20101222} +VERSION=${VERSION:-1.2.4} +DATAVER=${DATAVER:-20120812} BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: @@ -73,11 +73,15 @@ find . \ -exec chmod 644 {} \; make clean -gcc $SLKCFLAGS $LDFLAGS -lusb -Wall -o usb_modeswitch usb_modeswitch.c || exit 1 +# "make static" uses the embedded "jim" Tcl interpreter +make static -install -D -s -m 0755 usb_modeswitch $PKG/usr/sbin/usb_modeswitch -install -D -m 0755 usb_modeswitch.tcl $PKG/lib/udev/usb_modeswitch -install -D -m 0644 usb_modeswitch.conf $PKG/etc/usb_modeswitch.conf.new +install -D -s --mode=755 usb_modeswitch $PKG/usr/sbin/usb_modeswitch +install -D --mode=755 usb_modeswitch.sh $PKG/lib/udev/usb_modeswitch +install -D --mode=644 usb_modeswitch.conf $PKG/etc/usb_modeswitch.conf.new +install -D --mode=644 usb_modeswitch.1 $PKG/usr/man/man1/usb_modeswitch.1 +install -d $PKG/var/lib/usb_modeswitch +install -D -s --mode=755 usb_modeswitch_dispatcher $PKG/usr/sbin/usb_modeswitch_dispatcher mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION cp -a \ @@ -85,6 +89,10 @@ cp -a \ $PKG/usr/doc/$PKGNAM-$VERSION # http://www.draisberghof.de/usb_modeswitch/device_reference.txt.gz cat $CWD/device_reference.txt.gz > $PKG/usr/doc/$PKGNAM-$VERSION/device_reference.txt +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION/jim +cp -a \ + jim/{AUTHORS,LICENSE,README*} \ + $PKG/usr/doc/$PKGNAM-$VERSION/jim # 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: @@ -105,9 +113,7 @@ find . \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -install -D -m 0644 40-usb_modeswitch.rules $PKG/lib/udev/rules.d/40-usb_modeswitch.rules -mkdir -p $PKG/etc -cp -a usb_modeswitch.d $PKG/etc +make install DESTDIR=$PKG || exit 1 mkdir -p $PKG/usr/doc/usb-modeswitch-data-${DATAVER} cat ChangeLog | head -n 1000 > $PKG/usr/doc/usb-modeswitch-data-${DATAVER}/ChangeLog touch -r ChangeLog $PKG/usr/doc/usb-modeswitch-data-${DATAVER}/ChangeLog |