From owner-dev-commits-ports-main@freebsd.org Sat Aug 7 00:37:16 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 17A5F661269; Sat, 7 Aug 2021 00:37:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GhNhq4MgGz3r7L; Sat, 7 Aug 2021 00:37:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5C8A6179DD; Sat, 7 Aug 2021 00:37:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1770bFLR054682; Sat, 7 Aug 2021 00:37:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1770bFCB054681; Sat, 7 Aug 2021 00:37:15 GMT (envelope-from git) Date: Sat, 7 Aug 2021 00:37:15 GMT Message-Id: <202108070037.1770bFCB054681@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 8691cddccdd6 - main - sysutils/pam_xdg: update to s20210801 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8691cddccdd6e40634ae650b0acdcb8a44c0a950 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Aug 2021 00:37:16 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=8691cddccdd6e40634ae650b0acdcb8a44c0a950 commit 8691cddccdd6e40634ae650b0acdcb8a44c0a950 Author: Jan Beich AuthorDate: 2021-07-31 22:42:56 +0000 Commit: Jan Beich CommitDate: 2021-08-07 00:36:30 +0000 sysutils/pam_xdg: update to s20210801 Changes: https://git.sdaoden.eu/browse?p=s-toolbox.git;a=commitdiff;h=43445d6d87d9 --- sysutils/pam_xdg/Makefile | 4 +-- sysutils/pam_xdg/distinfo | 6 ++--- sysutils/pam_xdg/files/patch-pam__xdg.8 | 32 ------------------------ sysutils/pam_xdg/files/patch-pam__xdg.c | 44 --------------------------------- sysutils/pam_xdg/pkg-descr | 5 ++-- 5 files changed, 7 insertions(+), 84 deletions(-) diff --git a/sysutils/pam_xdg/Makefile b/sysutils/pam_xdg/Makefile index 7992e8c14983..05e5face00d1 100644 --- a/sysutils/pam_xdg/Makefile +++ b/sysutils/pam_xdg/Makefile @@ -1,5 +1,5 @@ PORTNAME= pam_xdg -PORTVERSION= s20210704 +PORTVERSION= s20210801 CATEGORIES= sysutils MAINTAINER= jbeich@FreeBSD.org @@ -11,7 +11,7 @@ USES= uidfix USE_GITHUB= yes GH_ACCOUNT= jbeich # mirror GH_PROJECT= s-toolbox -GH_TAGNAME= 6f22586 +GH_TAGNAME= 43445d6 PLIST_FILES= lib/${PORTNAME}.so \ share/man/man8/${PORTNAME}.8.gz diff --git a/sysutils/pam_xdg/distinfo b/sysutils/pam_xdg/distinfo index 8ee86dcaa873..8ebc1d2c7ea1 100644 --- a/sysutils/pam_xdg/distinfo +++ b/sysutils/pam_xdg/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1625354859 -SHA256 (jbeich-s-toolbox-s20210704-6f22586_GH0.tar.gz) = 18cba3878b9fb8f6afed578cd69d1c9bb9425ba1248ae5ce919db3f4fecca007 -SIZE (jbeich-s-toolbox-s20210704-6f22586_GH0.tar.gz) = 98443 +TIMESTAMP = 1627771376 +SHA256 (jbeich-s-toolbox-s20210801-43445d6_GH0.tar.gz) = fcaca0beed7fc1d22267eba3e65f5f36d711b70fa96e4a8e4bcb6194dd07bbe6 +SIZE (jbeich-s-toolbox-s20210801-43445d6_GH0.tar.gz) = 100159 diff --git a/sysutils/pam_xdg/files/patch-pam__xdg.8 b/sysutils/pam_xdg/files/patch-pam__xdg.8 deleted file mode 100644 index 27faf14757ea..000000000000 --- a/sysutils/pam_xdg/files/patch-pam__xdg.8 +++ /dev/null @@ -1,32 +0,0 @@ -- Chase option name used in the source -- Switch to OpenPAM include for local sessions - ---- pam_xdg.8.orig 2021-03-29 22:50:34 UTC -+++ pam_xdg.8 -@@ -28,7 +28,7 @@ - .Sh SYNOPSIS - . - .Nm --.Op Ar rundir -+.Op Ar runtime - .Op Ar notroot - . - . -@@ -47,7 +47,7 @@ into user sessions. - When linked into the PAM session system the runtime directory will be - created once a user creates his or her first login session. - Unless --.Ar rundir -+.Ar runtime - was given all XDG related environment variables will be created in all - user sessions with their default or computed values, otherwise only - .Ev XDG_RUNTIME_DIR . -@@ -61,7 +61,7 @@ In order to make use of this script, place the followi - file of desire under - .Pa /etc/pam.d , - best maybe --.Pa /etc/pam.d/common-session -+.Pa /etc/pam.d/system - if that exists (possibly adjusting paths): - . - .Bd -literal -offset indent diff --git a/sysutils/pam_xdg/files/patch-pam__xdg.c b/sysutils/pam_xdg/files/patch-pam__xdg.c deleted file mode 100644 index 417d054f009d..000000000000 --- a/sysutils/pam_xdg/files/patch-pam__xdg.c +++ /dev/null @@ -1,44 +0,0 @@ -- Prefer system PATH_MAX -- Add OpenPAM support -- Relax O_PATH optimization - ---- pam_xdg.c.orig 2021-03-29 22:50:34 UTC -+++ pam_xdg.c -@@ -52,6 +52,7 @@ - - #include - #include -+#include /* PATH_MAX */ - #include - #include - #include -@@ -60,11 +61,29 @@ - #include - - #include -+#if __has_include() - #include -+#else -+#include -+/* From freebsd-src/sys/contrib/openzfs/contrib/pam_zfs_key/pam_zfs_key.c */ -+static void -+pam_syslog(pam_handle_t *pamh __unused, int loglevel, const char *fmt, ...) -+{ -+ va_list args; -+ va_start(args, fmt); -+ vsyslog(loglevel, fmt, args); -+ va_end(args); -+} -+#endif - - /* _XOPEN_PATH_MAX POSIX 2008/Cor 1-2013 */ - #ifndef PATH_MAX - # define PATH_MAX 1024 -+#endif -+ -+/* Linux extension adopted by FreeBSD 13.1 */ -+#ifndef O_PATH -+# define O_PATH 0 - #endif - - static int a_xdg(int isopen, pam_handle_t *pamh, int flags, int argc, diff --git a/sysutils/pam_xdg/pkg-descr b/sysutils/pam_xdg/pkg-descr index 547ecba2419c..484ca266a98c 100644 --- a/sysutils/pam_xdg/pkg-descr +++ b/sysutils/pam_xdg/pkg-descr @@ -1,5 +1,4 @@ -Complete XDG Base Directories support via PAM, including injection of -according environment variables into user sessions, as well as creation -support for per-user $XDG_RUNTIME_DIR. +XDG Base Directories support via PAM: creation of $XDG_RUNTIME_DIRs, +injection of environment variables into sessions. WWW: https://www.sdaoden.eu/code.html#s-toolbox