Merge branch 'willysr'

This commit is contained in:
Willy Sudiarto Raharjo 2013-04-03 21:30:21 +07:00
commit 48d83cd57e
56 changed files with 388 additions and 154 deletions

View file

@ -17,20 +17,6 @@ your $HOME, like $HOME/.config and $HOME/.cache and $HOME/.local. If you
switch back and forth between different desktop environments, sometimes those
settings can get polluted.
Sun Mar 24 02:44:53 UTC 2013
A couple of users have reported Caja (the file manager) crashing with an error
message telling the user to run Caja with the --sync option. Please let me
know if you run into this. Before doing so, however, please consider backing
up or clearing out some of the hidden directories in your $HOME, like
$HOME/.config and $HOME/.cache. If you switch back and forth between
different desktop environments, sometimes those settings can get polluted.
Fri Mar 22 16:45:28 UTC 2013
Mate-screensaver in /testing doesn't seem to work -- at least, the locking
feature does not seem to work in my testing. I tried it with xscreensaver
disabled and also uninstalled but it never kicked in. More testing is
necessary.
Fri Mar 22 16:44:59 UTC 2013
Help menus and help buttons do not work -- this is a known issue per a MATE
upstream developer and scheduled to be fixed at some point but not in the next

View file

@ -2,21 +2,20 @@ MATE SlackBuilds
================
Here are some SlackBuild scripts to build and install the MATE desktop
environment on Slackware. Currently, they build and install MATE 1.5 which is
the development branch of the upcoming 1.6 release, due at the end of March or
early April, 2013.
environment on Slackware. Currently, they build and install MATE 1.6 which is
the stable branch released on April, 2013.
How to install:
1. Clone the Git repo or download a tarball/zip of the repo. Run the
'mate-build-base.sh' in the msb root directory which will build and install
all the base (required) packages. Note, there are also some dependencies in
the /deps directory. There are a total of 25 packages and they
do not replace any stock Slackware packages. The SlackBuilds will use wget to
download the sources. Or, you can also manually download the sources from:
http://pub.mate-desktop.org/releases/1.5/ and the download locations for each
dependency and put each source into the corresponding directory within 'base'
and 'deps'.
the /deps directory. There are a total of 24 packages and they
do not replace any stock Slackware packages (except for dconf). The SlackBuilds
will use wget to download the sources. Or, you can also manually download the
sources from: http://pub.mate-desktop.org/releases/1.6/ and the download
locations for each dependency and put each source into the corresponding
directory within 'base' and 'deps'.
2. Optionally, build and install any of the extra packages in the /extra
directory. If you want to build and install them all, then you can use the
@ -38,3 +37,5 @@ manager if it is listed. Same with mate-keyring from /extra - if you
installed that, you might want to disable the gnome-keyring entries.
5. Enjoy and let me know of any issues. Thanks!
6. Users running Slackware{64}-Current are advised to read CURRENT.TXT

View file

@ -1,5 +1,9 @@
The following is list of to-do items for MATE on Slackware:
Wed Apr 3 14:26:41 UTC 2013
Provide dependencies for testing/mate-system-monitor. For now, you can build
the needed packages from SBo.
Fri Mar 22 16:47:15 UTC 2013
Determine whether mate-polkit is really needed or whether MATE can rely on
polkit-gnome which is installed by default in Slackware. This was discussed

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libmatekbd
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -1,12 +0,0 @@
|-----handy-ruler------------------------------------------------------|
libmatenotify: libmatenotify (fork of libnotify for the MATE desktop)
libmatenotify:
libmatenotify: libmatenotify provides a notification library.
libmatenotify:
libmatenotify:
libmatenotify:
libmatenotify:
libmatenotify:
libmatenotify:
libmatenotify: Homepage: http://www-mate-desktop.org
libmatenotify:

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libmateweather
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libmatewnck
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,14 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-backgrounds
VERSION=${VERSION:-1.5.0}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
ARCH=noarch
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-common
VERSION=${VERSION:-1.5.2}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-control-center
VERSION=${VERSION:-1.5.5}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-desktop
VERSION=${VERSION:-1.5.8}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-dialogs
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-doc-utils
VERSION=${VERSION:-1.5.0}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -3,6 +3,7 @@
# Slackware build script for mate-file-manager
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-file-manager
VERSION=${VERSION:-1.5.5}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +37,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}
@ -75,6 +76,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Adding --sync parameter in caja.desktop
sed -i 's/Exec=caja/Exec=caja --sync/' data/caja.desktop.in.in
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./autogen.sh \

View file

@ -23,14 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-icon-theme
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
ARCH=noarch
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-menus
VERSION=${VERSION:-1.5.0}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-notification-daemon
VERSION=${VERSION:-1.5.2}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-panel
VERSION=${VERSION:-1.5.6}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-polkit
VERSION=${VERSION:-1.5.0}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-session-manager
VERSION=${VERSION:-1.5.2}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-settings-daemon
VERSION=${VERSION:-1.5.7}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,14 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-themes
VERSION=${VERSION:-1.5.2}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
ARCH=noarch
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-window-manager
VERSION=${VERSION:-1.5.5}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libmatekeyring
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-applets
VERSION=${VERSION:-1.5.2}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-calc
VERSION=${VERSION:-1.5.2}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-character-map
VERSION=${VERSION:-1.5.0}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-document-viewer
VERSION=${VERSION:-1.5.0}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-file-archiver
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-file-manager-gksu
VERSION=${VERSION:-1.5.0}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-file-manager-image-converter
VERSION=${VERSION:-1.5.0}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-file-manager-open-terminal
VERSION=${VERSION:-1.5.0}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-file-manager-sendto
VERSION=${VERSION:-1.5.0}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,14 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-icon-theme-faenza
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
ARCH=noarch
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-image-viewer
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-keyring
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-media
VERSION=${VERSION:-1.5.2}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-menu-editor
VERSION=${VERSION:-1.5.0}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-power-manager
VERSION=${VERSION:-1.5.2}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-sensors-applet
VERSION=${VERSION:-1.5.2}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-terminal
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-text-editor
VERSION=${VERSION:-1.5.0}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -40,7 +40,6 @@ for dir in \
base/mate-common \
deps/rarian \
base/mate-doc-utils \
base/libmatenotify \
base/libmatekbd \
base/libmateweather \
base/mate-icon-theme \

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-bluetooth
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -37,6 +37,8 @@ MSBROOT=$(pwd)
# Loop for all packages
for dir in \
pam \
pam_unix2 \
mate-netspeed \
mate-screensaver \
mate-system-monitor \

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-netspeed
VERSION=${VERSION:-1.5.2}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-screensaver
VERSION=${VERSION:-1.5.2}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}
@ -116,6 +116,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/etc/pam.d/
install -m644 $CWD/mate-screensaver.pam $PKG/etc/pam.d/mate-screensaver
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh

View file

@ -0,0 +1,2 @@
#%PAM-1.0
auth required pam_unix_auth.so

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-system-monitor
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mate-utils
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
wget http://pub.mate-desktop.org/releases/1.6/$PRGNAM-$VERSION.tar.xz
fi
NUMJOBS=${NUMJOBS:-" -j8 "}

145
testing/pam/pam.SlackBuild Normal file
View file

@ -0,0 +1,145 @@
#!/bin/sh
# Copyright 2010 Vincent Batts, vbatts@hashbangbash.com
# Copyright 2010, 2011 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Heavily modified by Willy Sudiarto Raharjo for MSB project
# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
#
# 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.
SRCNAM=Linux-PAM
PRGNAM=pam
VERSION=${VERSION:-1.1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
if [ ! -f $SRCNAM-$VERSION.tar.bz2 ]; then
wget http://www.linux-pam.org/library/Linux-PAM-1.1.6.tar.bz2
fi
NUMJOBS=${NUMJOBS:-" -j8 "}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/msb}
PKG=$TMP/package-$SRCNAM
OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* || exit 1
cd $SRCNAM-$VERSION || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
patch -p1 < $CWD/pam_destdir.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/ \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--includedir=/usr/include/security \
--datarootdir=/usr/share \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-read-both-confs \
--disable-prelude \
--disable-selinux \
--build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
# this is a pam helper, that can only be called from pam
chown root:shadow $PKG/sbin/unix_chkpwd
chmod g+s $PKG/sbin/unix_chkpwd
# Strip binaries:
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
# Compress and if needed symlink the man pages:
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING* Copyright NEWS README* \
$PKG/usr/doc/$PRGNAM-$VERSION
rm -f $PKG/usr/doc/$PRGNAM-$VERSION/index.html
# fix some missing symlinks from old pam for compatibility
cd $PKG/usr/lib${LIBDIRSUFFIX}/security
ln -s pam_unix.so pam_unix_acct.so
ln -s pam_unix.so pam_unix_auth.so
ln -s pam_unix.so pam_unix_passwd.so
ln -s pam_unix.so pam_unix_session.so
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}

View file

@ -0,0 +1,38 @@
From d7e6b921cd34f7ad8fc4d05065c75d13ba330896 Mon Sep 17 00:00:00 2001
From: Tomas Mraz <tmraz@fedoraproject.org>
Date: Fri, 17 Aug 2012 12:46:40 +0000
Subject: Add missing $(DESTDIR) when making directories on install.
modules/pam_namespace/Makefile.am: Add missing $(DESTDIR) when making
$(namespaceddir) on install.
modules/pam_sepermit/Makefile.am: Add missing $(DESTDIR) when making
$(sepermitlockdir) on install.
---
diff --git a/modules/pam_namespace/Makefile.am b/modules/pam_namespace/Makefile.am
index a28f196..ebb00f3 100644
--- a/modules/pam_namespace/Makefile.am
+++ b/modules/pam_namespace/Makefile.am
@@ -40,7 +40,7 @@ if HAVE_UNSHARE
secureconf_SCRIPTS = namespace.init
install-data-local:
- mkdir -p $(namespaceddir)
+ mkdir -p $(DESTDIR)$(namespaceddir)
endif
diff --git a/modules/pam_sepermit/Makefile.am b/modules/pam_sepermit/Makefile.am
index cfc5594..bc82275 100644
--- a/modules/pam_sepermit/Makefile.am
+++ b/modules/pam_sepermit/Makefile.am
@@ -35,7 +35,7 @@ if HAVE_LIBSELINUX
securelib_LTLIBRARIES = pam_sepermit.la
install-data-local:
- mkdir -p $(sepermitlockdir)
+ mkdir -p $(DESTDIR)$(sepermitlockdir)
endif
if ENABLE_REGENERATE_MAN
noinst_DATA = README pam_sepermit.8 sepermit.conf.5
--
cgit v0.9.1

19
testing/pam/slack-desc Normal file
View file

@ -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 ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
pam: pam (Pluggable Authentication Modules)
pam:
pam: PAM = Pluggable Authentication Modules. Basically, it is a flexible
pam: mechanism for authenticating users. PAM provides a way to develop
pam: programs that are independent of authentication scheme. However,
pam: these programs will need "authentication modules" (and libpam) at
pam: run-time in order to work.
pam:
pam:
pam: Homepage: http://www.linux-pam.org/
pam:

View file

@ -0,0 +1,20 @@
Index: pam_unix2-2.9.1/src/read-files.c
===================================================================
--- pam_unix2-2.9.1.orig/src/read-files.c
+++ pam_unix2-2.9.1/src/read-files.c
@@ -30,8 +30,14 @@
#include <errno.h>
#include <fcntl.h>
#include <nss.h>
-#include <bits/libc-lock.h>
+#include <pthread.h>
#define __libc_lock_t pthread_mutex_t
+#define __libc_lock_define_initialized(CLASS,NAME) \
+ CLASS __libc_lock_t NAME = PTHREAD_MUTEX_INITIALIZER;
+#define __libc_lock_lock(NAME) \
+ pthread_mutex_lock, (&(NAME))
+#define __libc_lock_unlock(NAME) \
+ pthread_mutex_unlock, (&(NAME))
#include "read-files.h"

View file

@ -1,17 +1,17 @@
#!/bin/sh
# Slackware build script for pam_unix2
# Slackware build script for libmatenotify
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# 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
# 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,
@ -22,8 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libmatenotify
VERSION=${VERSION:-1.5.0}
PRGNAM=pam_unix2
VERSION=${VERSION:-2.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -35,17 +35,12 @@ if [ -z "$ARCH" ]; then
esac
fi
if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then
wget http://pub.mate-desktop.org/releases/1.5/$PRGNAM-$VERSION.tar.xz
if [ ! -f $PRGNAM-$VERSION.tar.bz2 ]; then
wget ftp://ftp.archlinux.org/other/pam_unix2/pam_unix2-2.9.1.tar.bz2
fi
NUMJOBS=${NUMJOBS:-" -j8 "}
CWD=$(pwd)
TMP=${TMP:-/tmp/msb}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@ -60,14 +55,18 @@ else
LIBDIRSUFFIX=""
fi
set -e
CWD=$(pwd)
TMP=${TMP:-/tmp/msb}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -75,25 +74,32 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
patch -p1 < $CWD/pam_unix.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./autogen.sh \
--prefix=/usr \
./configure \
--prefix=/ \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--includedir=/usr/include/security \
--datarootdir=/usr/share \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--build=$ARCH-slackware-linux
--disable-selinux \
--build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make
make install DESTDIR=$PKG
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Strip binaries:
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
# Compress and link manpages
# Compress and if needed symlink the man pages:
if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man
for manpagedir in $(find . -type d -name "man*") ; do
@ -108,16 +114,14 @@ if [ -d $PKG/usr/man ]; then
)
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cp -a \
AUTHORS COPYING ChangeLog NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
ABOUT-NLS COPYING ChangeLog INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}

View file

@ -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 ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
pam_unix2: pam_unix2 (Module for traditional password authentication )
pam_unix2:
pam_unix2: pam_unix2 is the standard Unix authentication module.
pam_unix2: The authentication component performs the task of checking the
pam_unix2: users credentials (password).
pam_unix2:
pam_unix2: Credentials information is obtained from the /etc/passwd and the
pam_unix2: /etc/shadow file as well if shadow is enabled.
pam_unix2:
pam_unix2:
pam_unix2: