diff options
Diffstat (limited to 'source')
-rwxr-xr-x | source/d/git/git.SlackBuild | 6 | ||||
-rwxr-xr-x | source/d/gnucobol/gnucobol.SlackBuild | 11 | ||||
-rwxr-xr-x | source/l/sdl/sdl.SlackBuild | 37 | ||||
-rwxr-xr-x | source/n/NetworkManager/NetworkManager.SlackBuild | 6 | ||||
-rw-r--r-- | source/n/dovecot/doinst.sh | 4 | ||||
-rwxr-xr-x | source/n/dovecot/dovecot.SlackBuild | 7 | ||||
-rw-r--r-- | source/n/dovecot/dovecot.pam | 5 |
7 files changed, 62 insertions, 14 deletions
diff --git a/source/d/git/git.SlackBuild b/source/d/git/git.SlackBuild index e0a481c1..945280e8 100755 --- a/source/d/git/git.SlackBuild +++ b/source/d/git/git.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2011, 2016, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2008, 2009, 2010, 2011, 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=git VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | cut -d - -f 2 | rev | cut -f 3- -d . | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -130,7 +130,7 @@ if [ -d $PKG/usr/man ]; then ln -s $( readlink $eachpage ).gz $eachpage.gz rm $eachpage done - gzip -9 *.? + gzip -9 *.* ) done ) diff --git a/source/d/gnucobol/gnucobol.SlackBuild b/source/d/gnucobol/gnucobol.SlackBuild index e89e5037..5c7fc78a 100755 --- a/source/d/gnucobol/gnucobol.SlackBuild +++ b/source/d/gnucobol/gnucobol.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2013, 2014, 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2013, 2014, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=gnucobol VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -114,6 +114,13 @@ cp -a \ ABOUT-NLS AUTHORS COPYING* ChangeLog INSTALL NEWS* README* THANKS TODO \ $PKG/usr/doc/${PKGNAM}-$VERSION +# Compress manual pages: +find $PKG/usr/man -type f -exec gzip -9 {} \+ +for i in $( find $PKG/usr/man -type l ) ; do + ln -s $( readlink $i ).gz $i.gz + rm $i +done + # Compress info files, if any: if [ -d $PKG/usr/info ]; then ( cd $PKG/usr/info diff --git a/source/l/sdl/sdl.SlackBuild b/source/l/sdl/sdl.SlackBuild index ff8164ea..1f79c32d 100755 --- a/source/l/sdl/sdl.SlackBuild +++ b/source/l/sdl/sdl.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2011, 2013, 2016, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2008, 2009, 2010, 2011, 2013, 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,9 +27,10 @@ VERSION=${VERSION:-$(echo SDL-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | IMAGE=${IMAGE:-$(echo SDL_image-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} MIXER=${MIXER:-$(echo SDL_mixer-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} NET=${NET:-$(echo SDL_net-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +SOUND=${SOUND:-$(echo SDL_sound-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} TTF=${TTF:-$(echo SDL_ttf-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-7} +BUILD=${BUILD:-8} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -231,7 +232,6 @@ rm -rf SDL_ttf-$TTF tar xf $CWD/SDL_ttf-$TTF.tar.?z* || exit 1 cd SDL_ttf-$TTF || exit 1 -#zcat $CWD/SDL_ttf-2.0.8-noftinternals.diff.gz | patch -p1 --verbose || exit 1 zcat $CWD/SDL_ttf.shaded.text.diff.gz | patch -p1 --verbose || exit 1 chown -R root:root . @@ -252,10 +252,35 @@ CFLAGS="$SLKCFLAGS" \ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 -mkdir -p $PKG/usr/doc/SDL_ttf-$TTF +# Add SDL_sound: +cd $TMP +rm -rf SDL_sound-$SOUND +tar xf $CWD/SDL_sound-$SOUND.tar.?z* || exit 1 +cd SDL_sound-$SOUND || 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 {} \+ + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --mandir=/usr/man \ + --enable-shared=yes \ + --enable-static=no || exit 1 + +make $NUMJOBS || make || exit 1 +make install DESTDIR=$PKG || exit 1 + +mkdir -p $PKG/usr/doc/SDL_sound-$SOUND cp -a \ - CHANGES COPYING README \ - $PKG/usr/doc/SDL_ttf-$TTF + CHANGES COPYING CREDITS README TODO \ + $PKG/usr/doc/SDL_sound-$SOUND # Remove .la files from the package and the system (due to make install): pushd $PKG diff --git a/source/n/NetworkManager/NetworkManager.SlackBuild b/source/n/NetworkManager/NetworkManager.SlackBuild index 7aa2d919..5701e2fa 100755 --- a/source/n/NetworkManager/NetworkManager.SlackBuild +++ b/source/n/NetworkManager/NetworkManager.SlackBuild @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 2010, 2011, 2014, 2016 Robby Workman, Northport, Alabama, USA -# Copyright 2013, 2014, 2015, 2016, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2013, 2014, 2015, 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=NetworkManager VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: MARCH=$( uname -m ) @@ -150,6 +150,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ ln -sf nmtui.1 nmtui-connect.1 ln -sf nmtui.1 nmtui-edit.1 ln -sf nmtui.1 nmtui-hostname.1 + cd ../man5 + ln -sf NetworkManager.conf.5 nm-system-settings.conf.5 ) find $PKG/usr/man -type f -exec gzip -9 {} \+ diff --git a/source/n/dovecot/doinst.sh b/source/n/dovecot/doinst.sh index dc2d5700..17a37837 100644 --- a/source/n/dovecot/doinst.sh +++ b/source/n/dovecot/doinst.sh @@ -28,6 +28,10 @@ for file in etc/dovecot/*.conf.new etc/dovecot/*.ext.new etc/dovecot/conf.d/*.co config $file done +if [ -r etc/pam.d/dovecot.new ]; then + config etc/pam.d/dovecot.new +fi + # Make sure that the dovecot user/group (UID 94, GID 94), and the # postdrop user/group (UID 65, GID 95) exist on this system: if ! grep -q "^dovecot:" etc/passwd ; then diff --git a/source/n/dovecot/dovecot.SlackBuild b/source/n/dovecot/dovecot.SlackBuild index ac457aa7..f05b11e1 100755 --- a/source/n/dovecot/dovecot.SlackBuild +++ b/source/n/dovecot/dovecot.SlackBuild @@ -2,7 +2,7 @@ # Copyright 2006, 2010 Alan Hicks, Lizella, GA # Copyright 2013, 2014, 2015, 2016, 2017 Mario Preksavec, Zagreb, Croatia -# Copyright 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2017, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -96,6 +96,11 @@ cd $PKGNAM-$VERSION || exit 1 if [ ! -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then # no PAM # Ship config set up for authentication from /etc/passwd and /etc/shadow. zcat $CWD/dovecot.default.shadow.auth.diff.gz | patch -p1 --verbose || exit 1 +else # Yes, we have PAM: + mkdir -p $PKG/etc/pam.d + cp -a $CWD/dovecot.pam $PKG/etc/pam.d/dovecot.new + chown root:root $PKG/etc/pam.d/dovecot.new + chmod 644 $PKG/etc/pam.d/dovecot.new fi # Since this package installs working config files in /etc/dovecot, there isn't diff --git a/source/n/dovecot/dovecot.pam b/source/n/dovecot/dovecot.pam new file mode 100644 index 00000000..ccb91053 --- /dev/null +++ b/source/n/dovecot/dovecot.pam @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth required pam_nologin.so +auth include system-auth +account include system-auth +session include system-auth |