SHA256
1
0
forked from pool/pam
Commit Graph

303 Commits

Author SHA256 Message Date
Dominique Leuenberger
08dcec89bd Accepting request 1192585 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/1192585
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=140
2024-08-09 14:15:05 +00:00
04d4b5da95 No real change. Just use upstream patch reference, as it was just accepted by the upstream.
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=298
2024-08-08 10:24:54 +00:00
Dominique Leuenberger
25d4e8e01e Accepting request 1191852 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/1191852
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=139
2024-08-07 07:15:01 +00:00
ddbfd22f64 Accepting request 1191618 from home:vlefebvre:Linux-PAM
Prevent cursor escape from the login prompt [bsc#1194818]

OBS-URL: https://build.opensuse.org/request/show/1191618
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=297
2024-08-06 12:08:23 +00:00
Ana Guerrero
dea9f3048c Accepting request 1166585 from Linux-PAM
- Update to version 1.6.1
  - pam_env: fixed --disable-econf --enable-vendordir support.
  - pam_unix: do not warn if password aging is disabled.
  - pam_unix: try to set uid to 0 before unix_chkpwd invocation.
  - pam_unix: allow empty passwords with non-empty hashes.
  - Multiple minor bug fixes, build fixes, portability fixes,
    documentation improvements, and translation updates.
- Remove backports:
  - pam_env-fix_vendordir.patch
  - pam_env-fix-enable-vendordir-fallback.patch
  - pam_env-remove-escaped-newlines.patch
  - pam_unix-fix-password-aging-disabled.patch

OBS-URL: https://build.opensuse.org/request/show/1166585
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=138
2024-04-12 15:33:37 +00:00
Thorsten Kukuk
810c4f59c1 - Update to version 1.6.1
- pam_env: fixed --disable-econf --enable-vendordir support.
  - pam_unix: do not warn if password aging is disabled.
  - pam_unix: try to set uid to 0 before unix_chkpwd invocation.
  - pam_unix: allow empty passwords with non-empty hashes.
  - Multiple minor bug fixes, build fixes, portability fixes,
    documentation improvements, and translation updates.
- Remove backports:
  - pam_env-fix_vendordir.patch
  - pam_env-fix-enable-vendordir-fallback.patch
  - pam_env-remove-escaped-newlines.patch
  - pam_unix-fix-password-aging-disabled.patch

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=296
2024-04-10 07:30:15 +00:00
Ana Guerrero
c1e2ac3a9f Accepting request 1149714 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/1149714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=137
2024-02-25 13:04:39 +00:00
0158e751ab Accepting request 1149618 from home:vlefebvre:branches:Linux-PAM
Use autosetup

OBS-URL: https://build.opensuse.org/request/show/1149618
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=295
2024-02-23 08:28:16 +00:00
Ana Guerrero
55613a9b61 Accepting request 1145173 from Linux-PAM
- pam.tmpfiles: Make sure the content of the /run directories get
  removed in case of a soft-reboot

OBS-URL: https://build.opensuse.org/request/show/1145173
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=136
2024-02-11 14:45:03 +00:00
Thorsten Kukuk
42e12ae97c - pam.tmpfiles: Make sure the content of the /run directories get
removed in case of a soft-reboot

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=294
2024-02-07 13:33:52 +00:00
Ana Guerrero
fa2fb3c9ea Accepting request 1143388 from Linux-PAM
- Enable pam_canonicalize_user.so

OBS-URL: https://build.opensuse.org/request/show/1143388
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=135
2024-02-04 18:07:11 +00:00
Thorsten Kukuk
238a7db197 - Enable pam_canonicalize_user.so
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=293
2024-01-30 15:18:15 +00:00
Ana Guerrero
daf3dbbb29 Accepting request 1139944 from Linux-PAM
- Add post 1.6.0 release fixes for pam_env and pam_unix:
  - pam_env-fix-enable-vendordir-fallback.patch
  - pam_env-fix_vendordir.patch
  - pam_env-remove-escaped-newlines.patch
  - pam_unix-fix-password-aging-disabled.patch
- Update to version 1.6.0
  - Added support of configuration files with arbitrarily long lines.
  - build: fixed build outside of the source tree.
  - libpam: added use of getrandom(2) as a source of randomness if available.
  - libpam: fixed calculation of fail delay with very long delays.
  - libpam: fixed potential infinite recursion with includes.
  - libpam: implemented string to number conversions validation when parsing
    controls in configuration.
  - pam_access: added quiet_log option.
  - pam_access: fixed truncation of very long group names.
  - pam_canonicalize_user: new module to canonicalize user name.
  - pam_echo: fixed file handling to prevent overflows and short reads.
  - pam_env: added support of '\' character in environment variable values.
  - pam_exec: allowed expose_authtok for password PAM_TYPE.
  - pam_exec: fixed stack overflow with binary output of programs.
  - pam_faildelay: implemented parameter ranges validation.
  - pam_listfile: changed to treat \r and \n exactly the same in configuration.
  - pam_mkhomedir: hardened directory creation against timing attacks.
  - Please note that using *at functions leads to more open file handles
    during creation.
  - pam_namespace: fixed potential local DoS (CVE-2024-22365).
  - pam_nologin: fixed file handling to prevent short reads.
  - pam_pwhistory: helper binary is now built only if SELinux support is
    enabled.
  - pam_pwhistory: implemented reliable usernames handling when remembering

OBS-URL: https://build.opensuse.org/request/show/1139944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=134
2024-01-23 21:55:08 +00:00
Thorsten Kukuk
4352831aa4 - disable-examples.patch
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=292
2024-01-19 13:04:11 +00:00
Thorsten Kukuk
2563154862 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=291 2024-01-19 11:30:53 +00:00
Thorsten Kukuk
488d867f61 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=290 2024-01-19 11:24:46 +00:00
Thorsten Kukuk
5f4342b7e3 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=289 2024-01-19 11:23:06 +00:00
Thorsten Kukuk
3b382a8884 - Move pam_namespace to pam-extra due to systemd dependencies
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=288
2024-01-19 11:13:37 +00:00
Thorsten Kukuk
538371760f - Add post 1.6.0 release fixes for pam_env and pam_unix:
- pam_unix-fix-password-aging-disabled.patch

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=287
2024-01-19 09:49:30 +00:00
Thorsten Kukuk
bafc211753 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=286 2024-01-19 09:34:45 +00:00
Thorsten Kukuk
f0eb90949b - Add post 1.6.0 release fixes for pam_env:
- pam_env-fix-enable-vendordir-fallback.patch
  - pam_env-fix_vendordir.patch
  - pam_env-remove-escaped-newlines.patch

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=285
2024-01-19 09:33:12 +00:00
Thorsten Kukuk
e2402ccf1b OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=284 2024-01-18 17:01:37 +00:00
Thorsten Kukuk
37a6bd3211 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=283 2024-01-18 16:36:00 +00:00
Thorsten Kukuk
089f3fa0f4 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=282 2024-01-18 16:22:56 +00:00
Thorsten Kukuk
182f702c59 - disable-pam_env-test.patch: disable tst-pam_env-retval.c as it is
broken

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=281
2024-01-18 16:09:06 +00:00
Thorsten Kukuk
e352b2c661 - Update to version 1.6.0
- Added support of configuration files with arbitrarily long lines.
  - build: fixed build outside of the source tree.
  - libpam: added use of getrandom(2) as a source of randomness if available.
  - libpam: fixed calculation of fail delay with very long delays.
  - libpam: fixed potential infinite recursion with includes.
  - libpam: implemented string to number conversions validation when parsing
    controls in configuration.
  - pam_access: added quiet_log option.
  - pam_access: fixed truncation of very long group names.
  - pam_canonicalize_user: new module to canonicalize user name.
  - pam_echo: fixed file handling to prevent overflows and short reads.
  - pam_env: added support of '\' character in environment variable values.
  - pam_exec: allowed expose_authtok for password PAM_TYPE.
  - pam_exec: fixed stack overflow with binary output of programs.
  - pam_faildelay: implemented parameter ranges validation.
  - pam_listfile: changed to treat \r and \n exactly the same in configuration.
  - pam_mkhomedir: hardened directory creation against timing attacks.
  - Please note that using *at functions leads to more open file handles
    during creation.
  - pam_namespace: fixed potential local DoS (CVE-2024-22365).
  - pam_nologin: fixed file handling to prevent short reads.
  - pam_pwhistory: helper binary is now built only if SELinux support is
    enabled.
  - pam_pwhistory: implemented reliable usernames handling when remembering
    passwords.
  - pam_shells: changed to allow shell entries with absolute paths only.
  - pam_succeed_if: fixed treating empty strings as numerical value 0.
  - pam_unix: added support of disabled password aging.
  - pam_unix: synchronized password aging with shadow.

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=280
2024-01-18 09:18:10 +00:00
Ana Guerrero
6ea3349808 Accepting request 1108086 from Linux-PAM
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1108086
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=133
2023-09-01 12:19:14 +00:00
Thorsten Kukuk
add873f61e Accepting request 1105450 from home:kukuk:no-utmp
- Fix building without SELinux

OBS-URL: https://build.opensuse.org/request/show/1105450
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=279
2023-08-23 09:38:24 +00:00
Dominique Leuenberger
f7d843d9b6 Accepting request 1102711 from Linux-PAM
Backport of upstream fixes for ALP

OBS-URL: https://build.opensuse.org/request/show/1102711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=132
2023-08-09 15:23:52 +00:00
Thorsten Kukuk
8fc5e81cde - pam_access backports from upstream:
- pam_access-doc-IPv6-link-local.patch:
    Document only partial supported IPv6 link local addresses
  - pam_access-hostname-debug.patch:
    Don't print error if we cannot resolve a hostname, does not
    need to be a hostname
  - pam_shells-fix-econf-memory-leak.patch:
    Free econf keys variable
  - disable-examples.patch:
    Don't build examples

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=278
2023-08-07 10:24:04 +00:00
Dominique Leuenberger
99cb8ac03c Accepting request 1085766 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/1085766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=131
2023-05-13 15:16:51 +00:00
341833cbf9 Accepting request 1085746 from home:kukuk:cleanup
- Update to final 1.5.3 release:
  - configure: added --enable-logind option to use logind instead of utmp
    in pam_issue and pam_timestamp.
  - pam_modutil_getlogin: changed to use getlogin() from libc instead of
    parsing utmp.
  - Added libeconf support to pam_env and pam_shells.
  - Added vendor directory support to pam_access, pam_env, pam_group,
    pam_faillock, pam_limits, pam_namespace, pam_pwhistory, pam_sepermit,
    pam_shells, and pam_time.
  - pam_limits: changed to not fail on missing config files.
  - pam_pwhistory: added conf= option to specify config file location.
  - pam_pwhistory: added file= option to specify password history file
    location.
  - pam_shells: added shells.d support when libeconf and vendordir are enabled.
  - Deprecated pam_lastlog: this module is no longer built by default because
    it uses utmp, wtmp, btmp and lastlog, but none of them are Y2038 safe,
    even on 64bit architectures.
    pam_lastlog will be removed in one of the next releases, consider using
    pam_lastlog2 (from https://github.com/thkukuk/lastlog2) and/or
    pam_wtmpdb (from https://github.com/thkukuk/wtmpdb) instead.
  - Deprecated _pam_overwrite(), _pam_overwrite_n(), and _pam_drop_reply()
    macros provided by _pam_macros.h; the memory override performed by these
    macros can be optimized out by the compiler and therefore can no longer
    be relied upon.

OBS-URL: https://build.opensuse.org/request/show/1085746
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=277
2023-05-09 16:04:51 +00:00
Dominique Leuenberger
a121788e00 Accepting request 1080766 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/1080766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=130
2023-04-21 12:15:28 +00:00
Thorsten Kukuk
81568528fd Accepting request 1080765 from home:kukuk:cleanup
- pam-extra: add split provide

OBS-URL: https://build.opensuse.org/request/show/1080765
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=276
2023-04-20 10:12:45 +00:00
Thorsten Kukuk
e1066a3a40 Accepting request 1078636 from home:kukuk:cleanup
- pam-userdb: add split provide

OBS-URL: https://build.opensuse.org/request/show/1078636
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=275
2023-04-12 11:48:48 +00:00
Thorsten Kukuk
f6b50ba88e Accepting request 1078360 from home:kukuk:cleanup
- Drop pam-xauth_ownership.patch, got fixed in sudo itself
- Drop pam-bsc1177858-dont-free-environment-string.patch, was a 
  fix for above patch

- Use bcond selinux to disable SELinux
- Remove old pam_unix_* compat symlinks
- Move pam_userdb to own pam-userdb sub-package
- pam-extra contains now modules having extended dependencies like
  libsystemd
- Update to 1.5.3.90 git snapshot
- Drop merged patches:
  - pam-git.diff
  - docbook5.patch
  - pam_pwhistory-docu.patch
  - pam_xauth_data.3.xml.patch
- Drop Linux-PAM-1.5.2.90.tar.xz as we have to rebuild all
  documentation anyways and don't use the prebuild versions
- Move all devel manual pages to pam-manpages, too. Fixes the 
  problem that adjusted defaults not shown correct.

  docbook5
- For buggy bot: Makefile-pam_unix-nis.diff belonged to the other
- add macros.pam to abstract directory for pam modules
- pam-limit-nproc.patch: increased process limit to help
  Chrome/Chromuim users with really lots of tabs. New limit gets
- Update to current git (Linux-PAM-git-20140127.diff), which
- Explicitly add pam_systemd.so to list of modules in
- Remove pam_unix-login.defs.diff, not needed anymore
- Added libtool as BuildRequire, and autoreconf -i option to fix
  * manpage is left intact, as it was

OBS-URL: https://build.opensuse.org/request/show/1078360
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=274
2023-04-11 08:24:03 +00:00
Dominique Leuenberger
d77629b88f Accepting request 1073099 from Linux-PAM
- Add common-session-nonlogin and postlogin-* pam.d config files
  for https://github.com/SUSE/pam-config/pull/16, pam_lastlog2
  and upcoming pam_wtmpdb.

OBS-URL: https://build.opensuse.org/request/show/1073099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=129
2023-03-22 21:29:20 +00:00
Thorsten Kukuk
d8677436cd - Add common-session-nonlogin and postlogin-* pam.d config files
for https://github.com/SUSE/pam-config/pull/16, pam_lastlog2
  and upcoming pam_wtmpdb.

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=273
2023-03-20 10:36:11 +00:00
Dominique Leuenberger
9408d86815 Accepting request 1072045 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/1072045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=128
2023-03-18 23:30:06 +00:00
b0799e0d72 Accepting request 1070768 from home:gbelinassi
- Enable livepatching support on x86_64.

OBS-URL: https://build.opensuse.org/request/show/1070768
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=272
2023-03-15 09:05:09 +00:00
Dominique Leuenberger
006a604923 Accepting request 1060842 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/1060842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=127
2023-01-27 09:15:11 +00:00
7d61bc6b2a Accepting request 1060632 from home:schubi2
OBS-URL: https://build.opensuse.org/request/show/1060632
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=271
2023-01-25 10:56:16 +00:00
Dominique Leuenberger
a42fcc6da5 Accepting request 1045205 from Linux-PAM
- Also obsolete pam_unix-32bit to have clean upgrade path.

- Merge pam_unix back into pam, seperate package not needed anymore

- Update pam-git.diff to current upstream
  - pam_env: Use vendor specific pam_env.conf and environment as fallback
  - pam_shells: Use the vendor directory
  obsoletes pam_env_econf.patch
- Refresh docbook5.patch

OBS-URL: https://build.opensuse.org/request/show/1045205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=126
2022-12-25 14:14:17 +00:00
Dominique Leuenberger
a19e1ad91c - Also obsolete pam_unix-32bit to have clean upgrade path.
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=270
2022-12-24 13:32:42 +00:00
Thorsten Kukuk
e4217a82b6 Accepting request 1043315 from home:kukuk:tiu
OBS-URL: https://build.opensuse.org/request/show/1043315
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=269
2022-12-16 10:31:29 +00:00
Thorsten Kukuk
0d564d8dbe Accepting request 1043306 from home:kukuk:tiu
- Merge pam_unix back into pam, seperate package not needed anymore

- Update pam-git.diff to current upstream
  - pam_env: Use vendor specific pam_env.conf and environment as fallback
  - pam_shells: Use the vendor directory
  obsoletes pam_env_econf.patch
- Refresh docbook5.patch

OBS-URL: https://build.opensuse.org/request/show/1043306
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=268
2022-12-16 09:50:49 +00:00
Dominique Leuenberger
dbcb16eb1c Accepting request 1041656 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/1041656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=125
2022-12-10 20:17:22 +00:00
Thorsten Kukuk
5aa4f5ad81 Accepting request 1041655 from home:kukuk:tiu
- pam_pwhistory-docu.patch, docbook5.patch: convert docu to
  docbook5 
- pam-git.diff: update to current git
  - obsoletes pam-hostnames-in-access_conf.patch
  - obsoletes tst-pam_env-retval.c
- pam_env_econf.patch refresh

OBS-URL: https://build.opensuse.org/request/show/1041655
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=267
2022-12-08 14:52:25 +00:00
Dominique Leuenberger
cdda66e64b Accepting request 1037575 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/1037575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=124
2022-12-06 13:22:41 +00:00
Thorsten Kukuk
f8d6ec4fd6 Accepting request 1037574 from home:kukuk:tiu
- Move pam_env config files below /usr/etc

OBS-URL: https://build.opensuse.org/request/show/1037574
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=266
2022-11-23 12:21:53 +00:00