diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-02-11 04:45:36 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-02-11 08:59:47 +0100 |
commit | e1ab44f93f91f5c967ac1b7143c7a8ac287d1a52 (patch) | |
tree | 34c8b4e186959832c23d97726c0646e23b701085 /source | |
parent | 0582d0c1740d0bce4f06ec9f682d87a766b50b57 (diff) | |
download | current-e1ab44f93f91f5c967ac1b7143c7a8ac287d1a52.tar.gz |
Tue Feb 11 04:45:36 UTC 202020200211044536
ap/man-pages-5.05-noarch-2.txz: Rebuilt.
Clean up /usr/man directory moving miscellaneous documentation to
/usr/doc/man-pages-5.05. Thanks to Xsane.
d/python-setuptools-45.2.0-x86_64-1.txz: Upgraded.
n/nfs-utils-2.4.3-x86_64-1.txz: Upgraded.
xap/mozilla-firefox-68.5.0esr-x86_64-1.txz: Upgraded.
This is a bugfix release.
For more information, see:
https://www.mozilla.org/en-US/firefox/68.5.0/releasenotes/
Diffstat (limited to 'source')
-rw-r--r-- | source/a/shadow/pam.d/system-auth | 70 | ||||
-rwxr-xr-x | source/ap/man-pages/man-pages.SlackBuild | 27 | ||||
-rw-r--r-- | source/n/nfs-utils/nfs-utils.2.4.3-rc2.patch | 359 | ||||
-rwxr-xr-x | source/n/nfs-utils/nfs-utils.SlackBuild | 3 |
4 files changed, 39 insertions, 420 deletions
diff --git a/source/a/shadow/pam.d/system-auth b/source/a/shadow/pam.d/system-auth index 5fa10c80..98b4afbc 100644 --- a/source/a/shadow/pam.d/system-auth +++ b/source/a/shadow/pam.d/system-auth @@ -1,7 +1,7 @@ #%PAM-1.0 # # Most of these PAM modules have man pages included, like -# PAM_UNIX(8) for example. +# pam_unix(8) for example. # ################## @@ -35,52 +35,30 @@ account required pam_unix.so account sufficient pam_succeed_if.so uid < 100 quiet account required pam_permit.so -##################### -# Password handling # -##################### -# -# If you have CrackLib installed and enabled -# -# Passwords will be checked against a huge dictionary and need to -# have at least 6 characters (cracklib can't use 5). Some options -# of cracklib modules are: -# -# difok Number of characters that needs to be different -# between old and new characters -# minlen Password minimal length -# retry How many times the user can try bad new passwords -# dcredit,ocredit,ucredit,lcredit -# Digiti, Others, Uppercase, Lowercase characters -# Positive numbers marks the max number of credits given -# by one character class. With dcredit=5 and minlen=6, you -# can't use a full numeric password because more than 5 -# digit characters doesn't count credits to achieve the -# minimal length -# Negative numbers determine that a password needs to have -# at least N characters -# -# You can see many other pam_cracklib options at pam_cracklib(8) manpage -# -# Also, the "use_authtok" option for pam_unix is for working with pam_cracklib -# in sharing the password stack. See pam_unix(8) for more details. -# -# If you need to use CrackLib to enforce your passwords, uncomment -# two statements: -#password requisite pam_cracklib.so retry=3 minlen=6 \ -# difok=1 dcredit=5 ocredit=5 ucredit=5 lcredit=5 -#password sufficient pam_unix.so nullok sha512 shadow minlen=6 try_first_pass use_authtok -# -# -- -# A less intense option for cracklib, is: -#password requisite pam_cracklib.so retry=3 -#password sufficient pam_unix.so nullok sha512 shadow minlen=6 try_first_pass use_authtok -# -- -# The default is the "traditional" way without CrackLib. -# Passwords need to have at least 8 characters. If you are using Cracklib, -# please comment the next statement. -password sufficient pam_unix.so nullok sha512 shadow minlen=8 +############################# +# Password quality checking # +############################# +# +# Please note that unless cracklib and libpwquality are installed, setting +# passwords will not work unless the lines for the pam_pwquality module are +# commented out and the line for the traditional no-quality-check password +# changing is uncommented. +# +# The pam_pwquality module will check the quality of a user-supplied password +# against the dictionary installed for cracklib. Other tests are (or may be) +# done as well - see: man pam_pwquality +# +# Default password quality checking with pam_pwquality. If you don't want +# password quality checking, comment out these two lines and uncomment the +# traditional password handling line below. +password requisite pam_pwquality.so minlen=6 retry=3 +password sufficient pam_unix.so nullok sha512 shadow minlen=6 try_first_pass use_authtok + +# Traditional password handling without pam_pwquality password checking. +# Commented out by default to use the two pam_pwquality lines above. +#password sufficient pam_unix.so nullok sha512 shadow minlen=6 -# ATTENTION: keep the line for pam_deny.so +# ATTENTION: always keep this line for pam_deny.so: password required pam_deny.so ######################### diff --git a/source/ap/man-pages/man-pages.SlackBuild b/source/ap/man-pages/man-pages.SlackBuild index 09bf90cb..db9bae93 100755 --- a/source/ap/man-pages/man-pages.SlackBuild +++ b/source/ap/man-pages/man-pages.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008-2019 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008-2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=man-pages VERSION=${VERSION:-$(echo man-pages-5.*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} ARCH=noarch -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information @@ -60,23 +60,17 @@ find man-pages-posix-2013-a \ -exec chmod 644 {} \+ mkdir -p $PKG/usr/man -cp -a man-pages-$VERSION/* $PKG/usr/man +cp -a man-pages-$VERSION/man? $PKG/usr/man -# The pthread manpages are the only POSIX ones that anyone -# has requested saving. If I missed anything important, let me know. -mv man-pages-posix-2013-a/man0p/pthread.h.0p $PKG/usr/man/man3/pthread.h.3p -mv man-pages-posix-2013-a/man3p/pthread_* $PKG/usr/man/man3 -cp man-pages-posix-2013-a/POSIX-COPYRIGHT $PKG/usr/man # Are these other POSIX manpages of any real usefulness here? # Granted there may be some historical interest, and it's nice # to have them in the source package for that reason, but it # seems to me that installing them on the system by default # isn't likely to help most people and may lead to confusion. - -# Also probably not needed in the package -rm -rf $PKG/usr/man/scripts -rm -f $PKG/usr/man/Makefile -rm -f $PKG/usr/man/Changes.old +# The pthread manpages are the only POSIX ones that anyone +# has requested saving. If I missed anything important, let me know. +cp -a man-pages-posix-2013-a/man0p/pthread.h.0p $PKG/usr/man/man3/pthread.h.3p +cp -a man-pages-posix-2013-a/man3p/pthread_* $PKG/usr/man/man3 # Compress the pages: echo "Compressing manpages..." @@ -101,6 +95,13 @@ rm -r $TEMPDIR # Some of the posix pages don't display correctly without this ( cd $PKG/usr/man ; ln -s man3 man3p ) +# Add a documentation directory: +mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION +cp -a \ + man-pages-$VERSION/{CONTRIBUTING,Changes,README,man-pages-5.05.Announce,man-pages-5.05.lsm} \ + man-pages-posix-2013-a/POSIX-COPYRIGHT \ + $PKG/usr/doc/${PKGNAM}-$VERSION + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/source/n/nfs-utils/nfs-utils.2.4.3-rc2.patch b/source/n/nfs-utils/nfs-utils.2.4.3-rc2.patch deleted file mode 100644 index 53228996..00000000 --- a/source/n/nfs-utils/nfs-utils.2.4.3-rc2.patch +++ /dev/null @@ -1,359 +0,0 @@ -diff --git a/aclocal/kerberos5.m4 b/aclocal/kerberos5.m4 -index faa5804..bf0e88b 100644 ---- a/aclocal/kerberos5.m4 -+++ b/aclocal/kerberos5.m4 -@@ -42,7 +42,9 @@ AC_DEFUN([AC_KERBEROS_V5],[ - -f $dir/lib32/libgssapi_krb5.a -o \ - -f $dir/lib32/libgssapi_krb5.so -o \ - -f $dir/lib64/libgssapi_krb5.a -o \ -- -f $dir/lib64/libgssapi_krb5.so \) ; then -+ -f $dir/lib64/libgssapi_krb5.so -o \ -+ -f $dir/lib/$(uname -m)-linux-gnu/libgssapi_krb5.a -o \ -+ -f $dir/lib/$(uname -m)-linux-gnu/libgssapi_krb5.so \) ; then - AC_DEFINE(HAVE_KRB5, 1, [Define this if you have MIT Kerberos libraries]) - KRBDIR="$dir" - gssapi_lib=gssapi_krb5 -diff --git a/configure.ac b/configure.ac -index 9ba9d4b..949ff9f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -510,6 +510,7 @@ AC_TYPE_PID_T - AC_TYPE_SIZE_T - AC_HEADER_TIME - AC_STRUCT_TM -+AC_CHECK_TYPES([struct file_handle]) - - dnl ************************************************************* - dnl Check for functions -diff --git a/support/junction/junction.c b/support/junction/junction.c -index ab6caa6..41cce26 100644 ---- a/support/junction/junction.c -+++ b/support/junction/junction.c -@@ -23,6 +23,10 @@ - * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <sys/types.h> - #include <sys/stat.h> - -diff --git a/support/junction/xml.c b/support/junction/xml.c -index 7005e95..813110b 100644 ---- a/support/junction/xml.c -+++ b/support/junction/xml.c -@@ -327,7 +327,7 @@ junction_parse_xml_read(const char *pathname, int fd, const char *name, - if (retval != FEDFS_OK) - return retval; - -- xlog(D_CALL, "%s: XML document contained in junction:\n%ld.%s", -+ xlog(D_CALL, "%s: XML document contained in junction:\n%zu.%s", - __func__, len, (char *)buf); - - retval = junction_parse_xml_buf(pathname, name, buf, len, doc); -diff --git a/support/misc/file.c b/support/misc/file.c -index e7c3819..06f6bb2 100644 ---- a/support/misc/file.c -+++ b/support/misc/file.c -@@ -18,6 +18,10 @@ - * along with nfs-utils. If not, see <http://www.gnu.org/licenses/>. - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <sys/stat.h> - - #include <string.h> -diff --git a/support/misc/mountpoint.c b/support/misc/mountpoint.c -index c6217f2..14d6731 100644 ---- a/support/misc/mountpoint.c -+++ b/support/misc/mountpoint.c -@@ -3,6 +3,10 @@ - * check if a given path is a mountpoint - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <string.h> - #include "xcommon.h" - #include <sys/stat.h> -diff --git a/support/nfs/cacheio.c b/support/nfs/cacheio.c -index 9dc4cf1..7c4cf37 100644 ---- a/support/nfs/cacheio.c -+++ b/support/nfs/cacheio.c -@@ -15,6 +15,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <nfslib.h> - #include <stdio.h> - #include <stdio_ext.h> -diff --git a/support/nfs/nfs_mntent.c b/support/nfs/nfs_mntent.c -index 05a4c68..25e5944 100644 ---- a/support/nfs/nfs_mntent.c -+++ b/support/nfs/nfs_mntent.c -@@ -9,7 +9,7 @@ - */ - - #include <stdio.h> --#include <string.h> /* for index */ -+#include <string.h> /* for strchr */ - #include <ctype.h> /* for isdigit */ - #include <sys/stat.h> /* for umask */ - #include <unistd.h> /* for ftruncate */ -@@ -176,7 +176,7 @@ nfs_getmntent (mntFILE *mfp) { - return NULL; - - mfp->mntent_lineno++; -- s = index (buf, '\n'); -+ s = strchr (buf, '\n'); - if (s == NULL) { - /* Missing final newline? Otherwise extremely */ - /* long line - assume file was corrupted */ -@@ -184,7 +184,7 @@ nfs_getmntent (mntFILE *mfp) { - fprintf(stderr, _("[mntent]: warning: no final " - "newline at the end of %s\n"), - mfp->mntent_file); -- s = index (buf, 0); -+ s = strchr (buf, 0); - } else { - mfp->mntent_errs = 1; - goto err; -diff --git a/tools/locktest/testlk.c b/tools/locktest/testlk.c -index b392f71..ea51f78 100644 ---- a/tools/locktest/testlk.c -+++ b/tools/locktest/testlk.c -@@ -81,7 +81,7 @@ main(int argc, char **argv) - if (fl.l_type == F_UNLCK) { - printf("%s: no conflicting lock\n", fname); - } else { -- printf("%s: conflicting lock by %d on (%ld;%ld)\n", -+ printf("%s: conflicting lock by %d on (%zd;%zd)\n", - fname, fl.l_pid, fl.l_start, fl.l_len); - } - return 0; -diff --git a/utils/mount/error.c b/utils/mount/error.c -index 562f312..986f066 100644 ---- a/utils/mount/error.c -+++ b/utils/mount/error.c -@@ -62,7 +62,7 @@ static int rpc_strerror(int spos) - char *tmp; - - if (estr) { -- if ((ptr = index(estr, ':'))) -+ if ((ptr = strchr(estr, ':'))) - estr = ++ptr; - - tmp = &errbuf[spos]; -diff --git a/utils/mount/fstab.c b/utils/mount/fstab.c -index eedbdda..146d8f4 100644 ---- a/utils/mount/fstab.c -+++ b/utils/mount/fstab.c -@@ -7,6 +7,10 @@ - * - Moved code to nfs-utils/support/nfs from util-linux/mount. - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <errno.h> - #include <stdio.h> - #include <fcntl.h> -@@ -57,7 +61,7 @@ mtab_does_not_exist(void) { - return var_mtab_does_not_exist; - } - --static int -+int - mtab_is_a_symlink(void) { - get_mtab_info(); - return var_mtab_is_a_symlink; -diff --git a/utils/mount/fstab.h b/utils/mount/fstab.h -index 313bf9b..8676c8c 100644 ---- a/utils/mount/fstab.h -+++ b/utils/mount/fstab.h -@@ -7,6 +7,7 @@ - #define _PATH_FSTAB "/etc/fstab" - #endif - -+int mtab_is_a_symlink(void); - int mtab_is_writable(void); - int mtab_does_not_exist(void); - void reset_mtab_info(void); -diff --git a/utils/mount/mount.c b/utils/mount/mount.c -index 91f1087..2be3dc2 100644 ---- a/utils/mount/mount.c -+++ b/utils/mount/mount.c -@@ -204,6 +204,13 @@ create_mtab (void) { - int flags; - mntFILE *mfp; - -+ /* Avoid writing if the mtab is a symlink to /proc/mounts, since -+ that would create a file /proc/mounts in case the proc filesystem -+ is not mounted, and the fchmod below would also fail. */ -+ if (mtab_is_a_symlink()) { -+ return; -+ } -+ - lock_mtab(); - - mfp = nfs_setmntent (MOUNTED, "a+"); -diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c -index 3861f84..e5186c7 100644 ---- a/utils/mountd/cache.c -+++ b/utils/mountd/cache.c -@@ -221,7 +221,7 @@ static void auth_unix_gid(int f) - xlog(L_ERROR, "auth_unix_gid: error writing reply"); - } - --#if USE_BLKID -+#ifdef USE_BLKID - static const char *get_uuid_blkdev(char *path) - { - /* We set *safe if we know that we need the -@@ -446,7 +446,7 @@ static int same_path(char *child, char *parent, int len) - if (count_slashes(p) != count_slashes(parent)) - return 0; - --#if HAVE_NAME_TO_HANDLE_AT -+#if defined(HAVE_NAME_TO_HANDLE_AT) && defined(HAVE_STRUCT_FILE_HANDLE) - struct { - struct file_handle fh; - unsigned char handle[128]; -diff --git a/utils/mountd/fsloc.c b/utils/mountd/fsloc.c -index cf42944..1b869b6 100644 ---- a/utils/mountd/fsloc.c -+++ b/utils/mountd/fsloc.c -@@ -128,7 +128,7 @@ static struct servers *method_list(char *data) - bool v6esc = false; - - xlog(L_NOTICE, "method_list(%s)", data); -- for (ptr--, listsize=1; ptr; ptr=index(ptr, ':'), listsize++) -+ for (ptr--, listsize=1; ptr; ptr=strchr(ptr, ':'), listsize++) - ptr++; - list = malloc(listsize * sizeof(char *)); - copy = strdup(data); -diff --git a/utils/nfsdcld/legacy.c b/utils/nfsdcld/legacy.c -index 07f477a..3c6bea6 100644 ---- a/utils/nfsdcld/legacy.c -+++ b/utils/nfsdcld/legacy.c -@@ -15,6 +15,10 @@ - * Boston, MA 02110-1301, USA. - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <stdio.h> - #include <dirent.h> - #include <string.h> -diff --git a/utils/nfsdcld/nfsdcld.c b/utils/nfsdcld/nfsdcld.c -index b064336..9297df5 100644 ---- a/utils/nfsdcld/nfsdcld.c -+++ b/utils/nfsdcld/nfsdcld.c -@@ -378,7 +378,7 @@ cld_not_implemented(struct cld_client *clnt) - bsize = cld_message_size(cmsg); - wsize = atomicio((void *)write, clnt->cl_fd, cmsg, bsize); - if (wsize != bsize) -- xlog(L_ERROR, "%s: problem writing to cld pipe (%ld): %m", -+ xlog(L_ERROR, "%s: problem writing to cld pipe (%zd): %m", - __func__, wsize); - - /* reopen pipe, just to be sure */ -@@ -409,7 +409,7 @@ cld_get_version(struct cld_client *clnt) - xlog(D_GENERAL, "Doing downcall with status %d", cmsg->cm_status); - wsize = atomicio((void *)write, clnt->cl_fd, cmsg, bsize); - if (wsize != bsize) { -- xlog(L_ERROR, "%s: problem writing to cld pipe (%ld): %m", -+ xlog(L_ERROR, "%s: problem writing to cld pipe (%zd): %m", - __func__, wsize); - ret = cld_pipe_open(clnt); - if (ret) { -@@ -459,7 +459,7 @@ reply: - xlog(D_GENERAL, "Doing downcall with status %d", cmsg->cm_status); - wsize = atomicio((void *)write, clnt->cl_fd, cmsg, bsize); - if (wsize != bsize) { -- xlog(L_ERROR, "%s: problem writing to cld pipe (%ld): %m", -+ xlog(L_ERROR, "%s: problem writing to cld pipe (%zd): %m", - __func__, wsize); - ret = cld_pipe_open(clnt); - if (ret) { -@@ -498,7 +498,7 @@ reply: - cmsg->cm_status); - wsize = atomicio((void *)write, clnt->cl_fd, cmsg, bsize); - if (wsize != bsize) { -- xlog(L_ERROR, "%s: problem writing to cld pipe (%ld): %m", -+ xlog(L_ERROR, "%s: problem writing to cld pipe (%zd): %m", - __func__, wsize); - ret = cld_pipe_open(clnt); - if (ret) { -@@ -548,7 +548,7 @@ reply: - cmsg->cm_status); - wsize = atomicio((void *)write, clnt->cl_fd, cmsg, bsize); - if (wsize != bsize) { -- xlog(L_ERROR, "%s: problem writing to cld pipe (%ld): %m", -+ xlog(L_ERROR, "%s: problem writing to cld pipe (%zd): %m", - __func__, wsize); - ret = cld_pipe_open(clnt); - if (ret) { -@@ -607,7 +607,7 @@ reply: - xlog(D_GENERAL, "Doing downcall with status %d", cmsg->cm_status); - wsize = atomicio((void *)write, clnt->cl_fd, cmsg, bsize); - if (wsize != bsize) { -- xlog(L_ERROR, "%s: problem writing to cld pipe (%ld): %m", -+ xlog(L_ERROR, "%s: problem writing to cld pipe (%zd): %m", - __func__, wsize); - ret = cld_pipe_open(clnt); - if (ret) { -@@ -667,7 +667,7 @@ reply: - xlog(D_GENERAL, "Doing downcall with status %d", cmsg->cm_status); - wsize = atomicio((void *)write, clnt->cl_fd, cmsg, bsize); - if (wsize != bsize) { -- xlog(L_ERROR, "%s: problem writing to cld pipe (%ld): %m", -+ xlog(L_ERROR, "%s: problem writing to cld pipe (%zd): %m", - __func__, wsize); - ret = cld_pipe_open(clnt); - if (ret) { -diff --git a/utils/nfsdcld/sqlite.c b/utils/nfsdcld/sqlite.c -index 23be797..09518e2 100644 ---- a/utils/nfsdcld/sqlite.c -+++ b/utils/nfsdcld/sqlite.c -@@ -512,7 +512,7 @@ sqlite_startup_query_grace(void) - current_epoch = tcur; - recovery_epoch = trec; - ret = 0; -- xlog(D_GENERAL, "%s: current_epoch=%lu recovery_epoch=%lu", -+ xlog(D_GENERAL, "%s: current_epoch=%"PRIu64" recovery_epoch=%"PRIu64, - __func__, current_epoch, recovery_epoch); - out: - sqlite3_finalize(stmt); -@@ -1223,7 +1223,7 @@ sqlite_grace_start(void) - - current_epoch = tcur; - recovery_epoch = trec; -- xlog(D_GENERAL, "%s: current_epoch=%lu recovery_epoch=%lu", -+ xlog(D_GENERAL, "%s: current_epoch=%"PRIu64" recovery_epoch=%"PRIu64, - __func__, current_epoch, recovery_epoch); - - out: -@@ -1282,7 +1282,7 @@ sqlite_grace_done(void) - } - - recovery_epoch = 0; -- xlog(D_GENERAL, "%s: current_epoch=%lu recovery_epoch=%lu", -+ xlog(D_GENERAL, "%s: current_epoch=%"PRIu64" recovery_epoch=%"PRIu64, - __func__, current_epoch, recovery_epoch); - - out: diff --git a/source/n/nfs-utils/nfs-utils.SlackBuild b/source/n/nfs-utils/nfs-utils.SlackBuild index 6b2eddf8..3a8b4450 100755 --- a/source/n/nfs-utils/nfs-utils.SlackBuild +++ b/source/n/nfs-utils/nfs-utils.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=nfs-utils VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -93,7 +93,6 @@ tar xvf $CWD/nfs-utils-$VERSION.tar.?z || exit 1 cd nfs-utils-$VERSION || exit 1 zcat $CWD/nfs-utils.lwrap.needs.lnsl.diff.gz | patch -p1 --verbose || exit 1 -zcat $CWD/nfs-utils.2.4.3-rc2.patch.gz | patch -p1 --verbose || exit 1 chown -R root:root . find . \ |