30 Commits

Author SHA256 Message Date
9699663afc Accepting request 1240176 from home:schubi2
- pwquality.conf moved from /etc/security to /usr/lib/security
This is already supported. I have updated the docu upstream:
https://github.com/libpwquality/libpwquality/pull/95

OBS-URL: https://build.opensuse.org/request/show/1240176
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=50
2025-01-27 08:33:00 +00:00
3728c279ec Accepting request 1236837 from home:dimstar:Factory
- Add libpwquality-fix-python-install.patch: Fix installation of
  python bindings after moving to setuptools.

Without splitting root from prefix, setuptools installs all the files into the .egg directory, which in turn makes python not find the files it looks for:

> python3 -c "import pwquality"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pwquality'
> rpm -ql python3-pwquality
/usr/lib64/python3.11/site-packages/pwquality-1.4.5-py3.11-linux-x86_64.egg
/usr/lib64/python3.11/site-packages/pwquality-1.4.5-py3.11-linux-x86_64.egg/EGG-INFO
/usr/lib64/python3.11/site-packages/pwquality-1.4.5-py3.11-linux-x86_64.egg/EGG-INFO/PKG-INFO
/usr/lib64/python3.11/site-packages/pwquality-1.4.5-py3.11-linux-x86_64.egg/EGG-INFO/SOURCES.txt
/usr/lib64/python3.11/site-packages/pwquality-1.4.5-py3.11-linux-x86_64.egg/EGG-INFO/dependency_links.txt
/usr/lib64/python3.11/site-packages/pwquality-1.4.5-py3.11-linux-x86_64.egg/EGG-INFO/native_libs.txt
/usr/lib64/python3.11/site-packages/pwquality-1.4.5-py3.11-linux-x86_64.egg/EGG-INFO/not-zip-safe
/usr/lib64/python3.11/site-packages/pwquality-1.4.5-py3.11-linux-x86_64.egg/EGG-INFO/top_level.txt
/usr/lib64/python3.11/site-packages/pwquality-1.4.5-py3.11-linux-x86_64.egg/__pycache__
/usr/lib64/python3.11/site-packages/pwquality-1.4.5-py3.11-linux-x86_64.egg/__pycache__/pwquality.cpython-311.pyc
/usr/lib64/python3.11/site-packages/pwquality-1.4.5-py3.11-linux-x86_64.egg/pwquality.cpython-311-x86_64-linux-gnu.so
/usr/lib64/python3.11/site-packages/pwquality-1.4.5-py3.11-linux-x86_64.egg/pwquality.py

OBS-URL: https://build.opensuse.org/request/show/1236837
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=48
2025-01-10 11:05:57 +00:00
98ba75f52e - Drop python 2.x support (it's been 4 years).
- Add python3-setuptools BuildRequires which is needed for
  distutils.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=46
2024-11-28 10:13:46 +00:00
8991238c5d Accepting request 1225747 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
- drop python 2.x support (it's been 4 years)
- add setuptools which is needed for distutils

OBS-URL: https://build.opensuse.org/request/show/1225747
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=45
2024-11-28 10:13:12 +00:00
9a41b88a5a Accepting request 1134321 from home:gcomes.obs
- add: prereq "pam-config" in baselibs.conf
  * post scriptlet in pam_pwquality-32bit runs: pam-config

OBS-URL: https://build.opensuse.org/request/show/1134321
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=43
2023-12-21 10:25:43 +00:00
62f653cc5e New upstream release
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=41
2022-12-26 14:57:16 +00:00
a564228a56 Accepting request 1045356 from home:AndreasStieger:branches:GNOME:Factory
libpwquality 1.4.5

OBS-URL: https://build.opensuse.org/request/show/1045356
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=40
2022-12-26 14:55:45 +00:00
747452a250 Accepting request 947068 from GNOME:Next
- Add python-rpm-macros to BuildRequires (boo#1194757).

OBS-URL: https://build.opensuse.org/request/show/947068
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=39
2022-01-19 17:25:13 +00:00
9a1c8431e5 Accepting request 922054 from GNOME:Next
- Use %_pam_moduledir instead of hardcoding %{_lib}/security
  (boo#1191042).

Fixed bugref

OBS-URL: https://build.opensuse.org/request/show/922054
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=38
2021-09-29 07:18:36 +00:00
07dab403ac Accepting request 860978 from home:jmoellers:branches:GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/860978
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=36
2021-01-11 13:54:57 +00:00
106899ef3e Accepting request 843287 from home:dannysauer:branches:openSUSE:Factory
Update to 1.4.4

Now with abbreviated changelog, per request.

OBS-URL: https://build.opensuse.org/request/show/843287
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=34
2020-10-22 13:47:15 +00:00
Richard Brown
6391f4fac1 Accepting request 828311 from home:dirkmueller:branches:GNOME:Factory
- update to 1.4.2:
  * Fix regression in handling retry, enforce_for_root, and
    local_users_only options introduced with the previous
    release.

OBS-URL: https://build.opensuse.org/request/show/828311
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=32
2020-08-24 08:48:42 +00:00
05d8a54b57 Accepting request 807113 from home:favogt:branches:Virtualization:Appliances:Images:openSUSE-Tumbleweed
- Register with pam-config in %post(un)

OBS-URL: https://build.opensuse.org/request/show/807113
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=30
2020-05-20 10:36:51 +00:00
eedb1c24eb Accepting request 799551 from home:kukuk:branches:GNOME:Factory
- Add baselibs.conf

OBS-URL: https://build.opensuse.org/request/show/799551
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=28
2020-05-03 08:50:03 +00:00
4f89534974 Accepting request 731981 from GNOME:Next
- Update to version 1.4.1:
  + Minor bugfix update of the library.
- Drop libpwquality-pythons.patch: Fixed upstream. Following this,
  drop autoconf, automake and libtool BuildRequires and autoreconf
  call.
- Use modern macros.

OBS-URL: https://build.opensuse.org/request/show/731981
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=26
2019-09-24 08:56:45 +00:00
a97a9f4b9f Accepting request 731944 from home:lnussel:branches:GNOME:Factory
- Do not recommend lang package. The lang package already has a
  supplements.

OBS-URL: https://build.opensuse.org/request/show/731944
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=25
2019-09-19 15:05:27 +00:00
f50f2171a6 Accepting request 581257 from GNOME:Next
spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/581257
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=23
2018-03-05 13:56:51 +00:00
27dbd82121 Accepting request 562604 from home:jengelh:branches:GNOME:Factory
- Update RPM groups and summaries.

OBS-URL: https://build.opensuse.org/request/show/562604
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=21
2018-01-08 19:34:04 +00:00
c0c4129b93 Accepting request 562475 from openSUSE:Factory:Staging:O
- Switch url to https://github.com/libpwquality/libpwquality/
- Update to release 1.4.0:
  * Fix possible buffer overflow with data from /dev/urandom
    in pwquality_generate().
  * Do not try to check presence of too short username in password.
    (thanks to Nikos Mavrogiannopoulos)
  * Make the user name check optional (via usercheck option).
  * Add an 'enforcing' option to make the checks to be warning-only
    in PAM.
  * The difok = 0 setting will disable all old password similarity
    checks except new and old passwords being identical.
  * Updated translations from Zanata.
- Add patch libpwquality-pythons.patch to avoid duping pythondir
- Make python3 default and enable py2 only when needed

OBS-URL: https://build.opensuse.org/request/show/562475
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=20
2018-01-08 14:34:31 +00:00
35d81bddd4 Accepting request 540166 from home:pluskalm:branches:GNOME:Factory
- Build python3 version of bindings as well

OBS-URL: https://build.opensuse.org/request/show/540166
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=18
2017-11-10 14:47:10 +00:00
Bjørn Lie
de680cc531 Accepting request 423623 from home:zhangxiaofei:branches:GNOME:Factory
SLE sync

OBS-URL: https://build.opensuse.org/request/show/423623
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=16
2016-09-01 08:53:14 +00:00
c6c57d2815 Accepting request 318593 from GNOME:Next
Not sure if this is stable or unstable

OBS-URL: https://build.opensuse.org/request/show/318593
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=14
2015-07-28 09:29:24 +00:00
cc319200d0 Accepting request 246080 from home:dimstar:branches:GNOME:Factory
Update to 1.2.4 - note: we have the python2 package; not sure if anything uses it - otherwise we can just switch it to be P3

OBS-URL: https://build.opensuse.org/request/show/246080
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=12
2014-08-23 13:36:11 +00:00
87d8e3a05f OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=11 2014-08-15 11:50:57 +00:00
05e1990f5b Accepting request 244810 from home:mlin7442:branches:GNOME:Factory
do not hard requires cracklib-dict-full, fix conflict issue in installation-images-openSUSE with cryptsetup

OBS-URL: https://build.opensuse.org/request/show/244810
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=10
2014-08-15 11:49:20 +00:00
9f73031a46 Accepting request 198774 from home:dimstar:branches:GNOME:Factory
Update to 1.2.3

OBS-URL: https://build.opensuse.org/request/show/198774
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=8
2013-09-13 08:22:34 +00:00
8cac4b8a4c Accepting request 180483 from home:dimstar:branches:GNOME:Factory
Update to 1.2.2 - tweak post review

OBS-URL: https://build.opensuse.org/request/show/180483
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=6
2013-06-23 13:46:56 +00:00
bdc030dd80 Accepting request 146299 from home:Zaitor:branches:GNOME:Factory
Update

OBS-URL: https://build.opensuse.org/request/show/146299
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=4
2013-01-04 09:00:46 +00:00
Vincent Untz
ef7bda13f0 Accepting request 133316 from home:vuntz:branches:GNOME:Factory
Cleanup + update to 1.2.0

OBS-URL: https://build.opensuse.org/request/show/133316
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=2
2012-09-07 21:37:17 +00:00
Vincent Untz
65d4bf2ebf Accepting request 132849 from GNOME:Next
New package...

OBS-URL: https://build.opensuse.org/request/show/132849
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=1
2012-09-07 21:05:25 +00:00