Commit Graph

97 Commits

Author SHA256 Message Date
Michael Vetter
3fa4eb033a - bsc#1061838:
Revert: Requires: group(mail)
  Introduced circular dependency

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=46
2017-11-08 12:41:51 +00:00
Dominique Leuenberger
90eae380b9 Accepting request 536398 from Base:System
- Revert accidentalied prerequisites.
  Use PreReq for permissions
- Prequire group(shadow), group(root), user(root)
- bsc#1061838:
  Add Requires for group(mail)
- boo#1048645:
  Set suid bit for newuidmap and newgimap
- Revert the changes for bsc#1023895 back
  Pulls in too many deps into ring0.
  Next version of shadow plans to have no conditional man pages.
- run spec-cleaner
- bsc#1023895:
  man page contained invalid options because they depend
  on compile flags and we shipped pre built ones.
  New BuildRequires: docbook-xsl-stylesheets docbook_4 xml2po
  xsltproc
- Adjust requires (we need user/group root instead of aaa_base now)
- New upstream version 4.5
- Refreshed patches:
  * shadow-login_defs.patch
  * chkname-regex.patch
  * getdef-new-defs.patch
  * useradd-mkdirs.patch
- Upstreamed patches:
  * shadow-4.1.5.1-manfix.patch
  * shadow-4.1.5.1-errmsg.patch
  * shadow-4.1.5.1-backup-mode.patch
  * shadow-4.1.5.1-audit-owner.patch
  * shadow-4.2.1-defs-chroot.patch
  * shadow-4.2.1-merge-group.patch
  * Fix-user-busy-errors-at-userdel.patch
  * useradd-clear-tallylog.patch
- shadow-4.1.5.1-pam_group.patch
  dynamically added users via pam_group are not listed in groups
  databases but are still valid
- shadow.keyring: update keyring with current maintainer's keyid
  only - Serge Hallyn 'F1D08DB778185BF784002DFFE9FEEA06A85E3F9D'
- disable_new_audit_function.patch:
  Disable newer libaudit functionality for older distributions
- useradd: call external program "/sbin/pam_tally2" to reset
  failed login counter in "/var/log/tallylog"
  (bsc#980486, useradd-clear-tallylog.patch)
- add keyring, three public keys from https://pkg-shadow.alioth.debian.org/download.php
- bsc#1002975: Use permissions according to permissions package
  and dont try to manipulate them in %files section.
- boo#994486: Include shadow.5 manpage
  Previously this was provided by man-pages package in
  the man-pages-addons tarball which got removed later on.
- Add package dependency for aaa_base, fixing bnc#899409
  (was done by tbehrens@suse.com but not submitted to Factory)
- shadow 4.2.1 requested by fate#320422
- bsc#979069: Dont include shadow-4.1.5.1-bug935203-manpage.patch
- Dont set SUID bit yet. Once bsc#979282 is through, which will adapt the permissions package, we can enable the SUID bits.
  Remove the files used to circumvent the check.
- Remove:
    * shadow-rpmlintrc
    * shadow-subids
    * shadow-subids.easy
    * shadow-subids.secure
    * shadow-subids.paranoid
- Update to shadow-4.2.1:
  - add support for subuids/subgids via newuidmap/newgidmap
- Rename chkname-regex.diff to chkname-regex.patch
- Rename encryption_method_nis.diff to encryption_method_nis.patch
- Rename getdef-new-defs.diff to getdef-new-defs.patch
- Rename shadow-login_defs.diff to shadow-login_defs.patch
- Rename userdel-scripts.diff to userdel-script.patch
- Rename useradd-script.diff to useradd-script.patch
- Rename useradd-default.diff to useradd-default.patch
- Rename useradd-mkdirs.diff to useradd-mkdirs.patch
- Add fixes from Red Hat/Fedora:
  - shadow-4.1.5.1-audit-owner.patch.patch:
    - log owner changes for home directory
  - shadow-4.1.5.1-userdel-helpfix.patch.patch:
    - give a hint about what happens when you force the removal of a user
  - shadow-4.2.1-defs-chroot.patch.patch:
    - initialize uid_t uid_min and uid_t uid_max not before we need them
  - shadow-4.2.1-merge-group.patch.patch:
    - simplify by using a single call to snprintf()
- Add upstream fix
  - Fix-user-busy-errors-at-userdel.patch:
    - call sub_uid_close()
- Moved call from %verifyscript into %post:
  * Caused call to %service_add_post shadow.service shadow.timer
    during rpm -qV shadow
- Add systemd unit files to continuously check password & groupfile integrity
  * Idea from Arch Linux
  * pending request to systemd-presets-branding-openSUSE to enable by default
- Add patch useradd-mkdirs.diff: fix for bnc#865563, create all parts
  of the path
- Stop any systemd user manager instance in case a user entry will
  be deleted (bnc#849870).  Nevertheless a running process requires
  the option --force for the userdel command.
- Add ENCRYPT_METHOD_NIS for pam_unix.so (encryption_method_nis.diff)
- Add some fixes from Fedora:
  - shadow-4.1.5.1-backup-mode.patch: open backup file with correct
    permissions.
  - shadow-4.1.5.1-logmsg.patch: fix error message
  - shadow-4.1.5.1-errmsg.patch: print error reason
  - shadow-4.1.5.1-manfix.patch: fix manual page
- Cleanup login.defs and enable ENCRYPT_METHOD [bnc#802006]
- Fix getdef default variables (getdef-new-defs.diff)
- Fix default group value in /etc/default/useradd 
  (useradd-default.diff)
- Implement CHARACTER_CLASS support
  (chkname-regex.diff)
- Add support for useradd.local
  (useradd-script.diff)
- Fix spec file
- Adjust login.defs
  (shadow-login_defs.diff)
- Add userdel*.local script support and scrips
  (userdel-scripts.diff)
- Initial package [FATE#314473]

OBS-URL: https://build.opensuse.org/request/show/536398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=23
2017-10-25 15:47:32 +00:00
Michael Vetter
e2885781a8 Use PreReq for permissions
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=44
2017-10-23 15:29:51 +00:00
Dominique Leuenberger
01ba4a47d2 Accepting request 534237 from Base:System
- Revert accidentalied prerequisites.
- Prequire group(shadow), group(root), user(root)
- bsc#1061838:
  Add Requires for group(mail)

OBS-URL: https://build.opensuse.org/request/show/534237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=22
2017-10-20 14:13:22 +00:00
2bfc1c3004 Accepting request 533974 from home:adamm:branches:Base:System
- Revert accidentalied prerequisites.

OBS-URL: https://build.opensuse.org/request/show/533974
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=42
2017-10-16 14:25:24 +00:00
786e66108a Accepting request 533614 from home:Andreas_Schwab:Factory
- Prequire group(shadow), group(root), user(root)

OBS-URL: https://build.opensuse.org/request/show/533614
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=41
2017-10-12 09:42:41 +00:00
Michael Vetter
56e78a5480 - bsc#1061838:
Add Requires for group(mail)

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=40
2017-10-09 18:40:05 +00:00
Dominique Leuenberger
3200232fad Accepting request 526022 from Base:System
- boo#1048645:
  Set suid bit for newuidmap and newgimap
- Revert the changes for bsc#1023895 back
  Pulls in too many deps into ring0.
  Next version of shadow plans to have no conditional man pages.
- run spec-cleaner
- bsc#1023895:
  man page contained invalid options because they depend
  on compile flags and we shipped pre built ones.
  New BuildRequires: docbook-xsl-stylesheets docbook_4 xml2po
  xsltproc

OBS-URL: https://build.opensuse.org/request/show/526022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=21
2017-09-15 19:02:48 +00:00
Michael Vetter
e81ef12b85 - boo#1048645:
Set suid bit for newuidmap and newgimap

- Revert the changes for bsc#1023895 back
  Pulls in too many deps into ring0.
  Next version of shadow plans to have no conditional man pages.

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=38
2017-09-14 08:23:12 +00:00
Michael Vetter
e4491e0a36 Accepting request 522286 from home:jubalh:shadow-man
- run spec-cleaner
- bsc#1023895:
  man page contained invalid options because they depend
  on compile flags and we shipped pre built ones.
  New BuildRequires: docbook-xsl-stylesheets docbook_4 xml2po
  xsltproc

OBS-URL: https://build.opensuse.org/request/show/522286
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=37
2017-09-08 11:44:56 +00:00
Dominique Leuenberger
d3bb8ce039 Accepting request 502707 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/502707
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=20
2017-06-23 07:13:27 +00:00
Michael Vetter
08c07eada1 Accepting request 502542 from home:kukuk:sysusers
- Adjust requires (we need user/group root instead of aaa_base now)

OBS-URL: https://build.opensuse.org/request/show/502542
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=35
2017-06-09 17:55:04 +00:00
Dominique Leuenberger
b87ae2ad63 Accepting request 497756 from Base:System
- New upstream version 4.5
- Refreshed patches:
  * shadow-login_defs.patch
  * chkname-regex.patch
  * getdef-new-defs.patch
  * useradd-mkdirs.patch
- Upstreamed patches:
  * shadow-4.1.5.1-manfix.patch
  * shadow-4.1.5.1-errmsg.patch
  * shadow-4.1.5.1-backup-mode.patch
  * shadow-4.1.5.1-audit-owner.patch
  * shadow-4.2.1-defs-chroot.patch
  * shadow-4.2.1-merge-group.patch
  * Fix-user-busy-errors-at-userdel.patch
  * useradd-clear-tallylog.patch
- shadow-4.1.5.1-pam_group.patch
  dynamically added users via pam_group are not listed in groups
  databases but are still valid
- shadow.keyring: update keyring with current maintainer's keyid
  only - Serge Hallyn 'F1D08DB778185BF784002DFFE9FEEA06A85E3F9D'
- disable_new_audit_function.patch:
  Disable newer libaudit functionality for older distributions

OBS-URL: https://build.opensuse.org/request/show/497756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=19
2017-06-02 08:29:42 +00:00
e5a3dd9ef7 Add new patch to .changes
- shadow-4.1.5.1-pam_group.patch
  dynamically added users via pam_group are not listed in groups
  databases but are still valid

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=33
2017-05-23 12:40:04 +00:00
Michael Vetter
4cea964109 Accepting request 497707 from home:adamm:branches:Base:System
- New upstream version 4.5
- Refreshed patches:
  * shadow-login_defs.patch
  * chkname-regex.patch
  * getdef-new-defs.patch
  * useradd-mkdirs.patch
- Upstreamed patches:
  * shadow-4.1.5.1-manfix.patch
  * shadow-4.1.5.1-errmsg.patch
  * shadow-4.1.5.1-backup-mode.patch
  * shadow-4.1.5.1-audit-owner.patch
  * shadow-4.2.1-defs-chroot.patch
  * shadow-4.2.1-merge-group.patch
  * Fix-user-busy-errors-at-userdel.patch
  * useradd-clear-tallylog.patch
- shadow.keyring: update keyring with current maintainer's keyid
  only - Serge Hallyn 'F1D08DB778185BF784002DFFE9FEEA06A85E3F9D'
- disable_new_audit_function.patch:
  Disable newer libaudit functionality for older distributions

OBS-URL: https://build.opensuse.org/request/show/497707
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=32
2017-05-23 12:25:13 +00:00
Dominique Leuenberger
15a8410ab2 Accepting request 459646 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/459646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=18
2017-03-05 16:48:33 +00:00
94b8c653f8 Accepting request 459155 from home:jmoellers:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/459155
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=30
2017-02-22 10:32:41 +00:00
Dominique Leuenberger
9628dd278f Accepting request 438228 from Base:System
- add keyring, three public keys from https://pkg-shadow.alioth.debian.org/download.php

OBS-URL: https://build.opensuse.org/request/show/438228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=17
2016-11-04 19:49:38 +00:00
7832b33bde - add keyring, three public keys from https://pkg-shadow.alioth.debian.org/download.php
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=28
2016-11-02 07:48:48 +00:00
Dominique Leuenberger
ea3ed2beb9 Accepting request 436107 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/436107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=16
2016-10-23 10:49:51 +00:00
Michael Vetter
cd6ec5b6e3 Accepting request 436106 from home:jubalh:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/436106
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=26
2016-10-19 09:17:17 +00:00
Dominique Leuenberger
20577f7f48 Accepting request 427510 from Base:System
OBS-URL: https://build.opensuse.org/request/show/427510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=15
2016-09-17 12:32:42 +00:00
Michael Vetter
3eb2c8c563 - boo#994486: Include shadow.5 manpage
Previously this was provided by man-pages package in
  the man-pages-addons tarball which got removed later on.

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=25
2016-09-14 07:50:02 +00:00
Dominique Leuenberger
974d43b11f Accepting request 400383 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/400383
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=14
2016-07-03 10:18:20 +00:00
Michael Vetter
8017d9a3de - Add package dependency for aaa_base, fixing bnc#899409
(was done by tbehrens@suse.com but not submitted to Factory)

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=23
2016-05-31 06:53:18 +00:00
Michael Vetter
be3678aaf0 - shadow 4.2.1 requested by fate#320422
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=22
2016-05-30 11:56:16 +00:00
Michael Vetter
b4a2128e54 Accepting request 398913 from home:jubalh
OBS-URL: https://build.opensuse.org/request/show/398913
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=21
2016-05-30 10:38:25 +00:00
Dominique Leuenberger
3a6055b4e7 Accepting request 354525 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/354525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=13
2016-01-26 09:14:17 +00:00
Michael Vetter
5d813f9f9f Accepting request 353848 from home:favogt:branches:Base:System
Moved call from %verifyscript into %post:
 * Caused call to %service_add_post shadow.service shadow.timer during rpm -qV shadow

OBS-URL: https://build.opensuse.org/request/show/353848
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=19
2016-01-18 11:08:55 +00:00
Stephan Kulow
ddb1a079f9 Accepting request 317069 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/317069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=12
2015-07-21 11:25:20 +00:00
bac7fc27fa Accepting request 316943 from home:jkeil:branches:Base:System
- Add systemd unit files to continuously check password & groupfile integrity
  * Idea from Arch Linux
  * pending request to systemd-presets-branding-openSUSE to enable by default

OBS-URL: https://build.opensuse.org/request/show/316943
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=17
2015-07-16 09:52:01 +00:00
Stephan Kulow
02ef96ded8 Accepting request 228509 from Base:System
- Add patch useradd-mkdirs.diff: fix for bnc#865563, create all parts
  of the path (forwarded request 228508 from netsroth)

OBS-URL: https://build.opensuse.org/request/show/228509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=10
2014-04-06 07:54:11 +00:00
Thorsten Behrens
c2bce11198 Accepting request 228508 from home:netsroth:branches:Base:System
- Add patch useradd-mkdirs.diff: fix for bnc#865563, create all parts
  of the path

OBS-URL: https://build.opensuse.org/request/show/228508
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=15
2014-04-01 15:44:20 +00:00
Stephan Kulow
634dd6efcb Accepting request 207925 from Base:System
- Stop any systemd user manager instance in case a user entry will
  be deleted (bnc#849870).  Nevertheless a running process requires
  the option --force for the userdel command.

OBS-URL: https://build.opensuse.org/request/show/207925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=9
2013-12-13 11:01:07 +00:00
Dr. Werner Fink
70307c69f1 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=13
2013-11-22 10:17:20 +00:00
Stephan Kulow
213ce4aefe Accepting request 206650 from Base:System
- Add ENCRYPT_METHOD_NIS for pam_unix.so (encryption_method_nis.diff)

OBS-URL: https://build.opensuse.org/request/show/206650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=8
2013-11-12 15:36:51 +00:00
Thorsten Kukuk
d4599e2085 - Add ENCRYPT_METHOD_NIS for pam_unix.so (encryption_method_nis.diff)
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=11
2013-11-12 13:47:56 +00:00
Stephan Kulow
df842bb027 Accepting request 199398 from Base:System
- Add some fixes from Fedora:
  - shadow-4.1.5.1-backup-mode.patch: open backup file with correct
    permissions.
  - shadow-4.1.5.1-logmsg.patch: fix error message
  - shadow-4.1.5.1-errmsg.patch: print error reason
  - shadow-4.1.5.1-manfix.patch: fix manual page

OBS-URL: https://build.opensuse.org/request/show/199398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=6
2013-09-17 14:19:10 +00:00
Thorsten Kukuk
214efedae2 - Add some fixes from Fedora:
- shadow-4.1.5.1-backup-mode.patch: open backup file with correct
    permissions.
  - shadow-4.1.5.1-logmsg.patch: fix error message
  - shadow-4.1.5.1-errmsg.patch: print error reason
  - shadow-4.1.5.1-manfix.patch: fix manual page

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=9
2013-09-17 12:59:36 +00:00
Stephan Kulow
195844b0ad Accepting request 151269 from Base:System
- Cleanup login.defs and enable ENCRYPT_METHOD [bnc#802006]

OBS-URL: https://build.opensuse.org/request/show/151269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=5
2013-02-05 14:46:33 +00:00
Thorsten Kukuk
ca9b3f1aab - Cleanup login.defs and enable ENCRYPT_METHOD [bnc#802006]
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=7
2013-02-05 12:20:33 +00:00
Stephan Kulow
0a59f5fc14 Accepting request 141188 from Base:System
- Fix getdef default variables (getdef-new-defs.diff)

OBS-URL: https://build.opensuse.org/request/show/141188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=3
2012-11-14 16:02:21 +00:00
Thorsten Kukuk
c2ed51b410 - Fix getdef default variables (getdef-new-defs.diff)
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=5
2012-11-13 16:35:05 +00:00
Stephan Kulow
a9fc4f77e8 Accepting request 141094 from Base:System
- Fix default group value in /etc/default/useradd 
  (useradd-default.diff)

OBS-URL: https://build.opensuse.org/request/show/141094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=2
2012-11-13 16:10:27 +00:00
Thorsten Kukuk
5eb07eefb8 - Fix default group value in /etc/default/useradd
(useradd-default.diff)

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=3
2012-11-13 09:36:56 +00:00
Stephan Kulow
f1d2b7ec38 Accepting request 139684 from Base:System
FATE#314473: Replace pwdutils with shadow utilities

OBS-URL: https://build.opensuse.org/request/show/139684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=1
2012-11-08 06:55:56 +00:00
Thorsten Kukuk
37abeb5bf8 Accepting request 139680 from home:kukuk
FATE#314473: Replace pwdutils with shadow utilities

OBS-URL: https://build.opensuse.org/request/show/139680
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=1
2012-10-29 15:15:23 +00:00