diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2016-06-30 20:26:57 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 23:31:18 +0200 |
commit | d31c50870d0bee042ce660e445c9294a59a3a65b (patch) | |
tree | 6bfc0de3c95267b401b620c2c67859557dc60f97 /source/a/mcelog | |
parent | 76fc4757ac91ac7947a01fb7b53dddf9a78a01d1 (diff) | |
download | current-d31c50870d0bee042ce660e445c9294a59a3a65b.tar.gz current-d31c50870d0bee042ce660e445c9294a59a3a65b.tar.xz |
Slackware 14.2slackware-14.2
Thu Jun 30 20:26:57 UTC 2016
Slackware 14.2 x86_64 stable is released!
The long development cycle (the Linux community has lately been living in
"interesting times", as they say) is finally behind us, and we're proud to
announce the release of Slackware 14.2. The new release brings many updates
and modern tools, has switched from udev to eudev (no systemd), and adds
well over a hundred new packages to the system. Thanks to the team, the
upstream developers, the dedicated Slackware community, and everyone else
who pitched in to help make this release a reality.
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.
Have fun! :-)
Diffstat (limited to 'source/a/mcelog')
-rw-r--r-- | source/a/mcelog/mcelog-1.0pre3.tar.bz2.sign | 8 | ||||
-rwxr-xr-x | source/a/mcelog/mcelog.SlackBuild | 32 |
2 files changed, 16 insertions, 24 deletions
diff --git a/source/a/mcelog/mcelog-1.0pre3.tar.bz2.sign b/source/a/mcelog/mcelog-1.0pre3.tar.bz2.sign deleted file mode 100644 index 1f9c73a47..000000000 --- a/source/a/mcelog/mcelog-1.0pre3.tar.bz2.sign +++ /dev/null @@ -1,8 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.9 (GNU/Linux) -Comment: See http://www.kernel.org/signature.html for info - -iD8DBQBLV9g/yGugalF9Dw4RAlheAJ4t2DqUZX1ySR3QH8RdVHLYyePHawCcC/Ct -N94+oQu1HHumOx0V6Ft+2Fo= -=eEE6 ------END PGP SIGNATURE----- diff --git a/source/a/mcelog/mcelog.SlackBuild b/source/a/mcelog/mcelog.SlackBuild index 0a461cd80..1f5e1d7b8 100755 --- a/source/a/mcelog/mcelog.SlackBuild +++ b/source/a/mcelog/mcelog.SlackBuild @@ -23,13 +23,13 @@ PKGNAM=mcelog -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export ARCH=i486 ;; + i?86) export ARCH=i586 ;; arm*) export ARCH=arm ;; # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; @@ -47,11 +47,9 @@ mkdir -p $TMP $PKG cd $TMP rm -rf $PKGNAM-$VERSION -tar xvf $CWD/$PKGNAM-$VERSION.tar.bz2 || exit 1 +tar xvf $CWD/$PKGNAM-$VERSION.tar.xz || exit 1 cd $PKGNAM-$VERSION -zcat $CWD/mcelog.init.diff.gz | patch -p1 --verbose || exit 1 - chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -59,23 +57,25 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -make $NUMJOBS || make || exit 1 +zcat $CWD/mcelog.init.diff.gz | patch -p1 --verbose || exit 1 -mkdir -p $PKG/etc/mcelog $PKG/usr/sbin $PKG/usr/man/man8 -install -m 755 -p mcelog $PKG/usr/sbin/mcelog -install -m 644 -p mcelog.8 $PKG/usr/man/man8 -gzip -9 $PKG/usr/man/man8/mcelog.8 -install -m 644 -p -b mcelog.conf $PKG/etc/mcelog/mcelog.conf.new -for i in cache-error-trigger dimm-error-trigger page-error-trigger socket-memory-error-trigger ; do - install -m 755 -p -b triggers/$i $PKG/etc/mcelog -done +make $NUMJOBS DOCDIR=/usr/doc/mcelog-$VERSION MANDIR=/usr/man \ + || make DOCDIR=/usr/doc/mcelog-$VERSION MANDIR=/usr/man \ + || exit 1 -mkdir -p $PKG/etc/rc.d -install -m 755 -p mcelog.init $PKG/etc/rc.d/rc.mcelog.new +make install DOCDIR=/usr/doc/mcelog-$VERSION MANDIR=/usr/man DESTDIR=$PKG + +mv $PKG/etc/mcelog/mcelog.conf $PKG/etc/mcelog/mcelog.conf.new +rm -f $PKG/etc/mcelog/*~ mkdir -p $PKG/etc/logrotate.d install -m 644 -p mcelog.logrotate $PKG/etc/logrotate.d/mcelog.new +mkdir -p $PKG/etc/rc.d +install -m 755 -p mcelog.init $PKG/etc/rc.d/rc.mcelog.new + +gzip -9 $PKG/usr/man/man?/*.? + mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION cp -a \ CHANGES README* TODO* *.pdf \ |