File pam-python.changes of Package pam-python

-------------------------------------------------------------------
Thu Jun 30 18:31:37 UTC 2022 - Mihai Moldovan <ionic@ionic.de>

- Update to new upstream version 1.0.108-1+git19-gec2d2d2:
  + New: Move towards python3 support.
  + Bug: Fix overzealous local root exploit, allow distro site
         configuration.
- Build against Python 3, drop Python 2 support.
- Run tests..
- Install license via %license.
- Switch homepage to HTTPS scheme.
- Rework dependencies to %{python_module}-style ones.
- Modernize package by using %{buildroot} instead of
  $RPM_BUILD_ROOT variable, drop obsolete BuildRoot: tag and use
  the modern %{_pam_moduledir} macro (and provide a sane default
  for backwards-compatibility).
- Add Release: tag.
- Add baselibs.conf for multiarch support.
- Add BR: python-doc and patch to not require a network
  connection while building documentation.
- Disable tests for now. They require root access, since they
  want to change system files, but I haven't found a way to
  provide that.
- Add patch to let setup.py autodetect the correct -lpython...
  value, the currently hardcoded value broke after PEP3149.
- Re-enable tests.
- Pass down concrete python interpreter directly via PYTHON
  Makefile variable.
- Merge in changes from Mike Gabriel
  <mike.gabriel@das-netzwerkteam.de>:
    + Use Python3's PyUnicode_GET_LENGTH as Py23_String_Size,
      not PyBytes_Size.
    + src/test.py: Adjust test-pam_python{,3}.pam test module
      name according to what Python version runs the unit test.
    + src/test.py: StringType in Python3 is 'str', whereas
      'string' in Python2. Adjust test result check to that.
    + src/Makefile: Also clean-up src/__pycache__/ if it exists.
    + src/Makefile: Use Python3 compliant way of finding the
      correct symlink target for pam_python.so.
    + src/Makefile: Use python3 as $(PYTHON) by default.
    + Bump upstream version to 1.1.0. Now with complete Python3
      support (also in unit tests).
    + src/test-pam_python.pam.in: Use more tabs, make file more
      readable by the human eye.
    + src/Makefile: When creating symlink
      test-pam_$(PYTHON)-installed.pam, also duplicate that
      symlink as test-pam_$(PYTHON).pam (used by src/test.py).
    + src/Makefile: Fix sed expression (pam_python.so is spelled
      with underscore, not with dash).
- Make sure to link against libpython, but also use the correct
  ABI tag.

-------------------------------------------------------------------
Fri Sep 27 08:47:08 UTC 2019 - Malte Kraus <malte.kraus@suse.com>

- python scripts are now searched for in /lib64/security just like
  regular PAM modules on 64bit platforms

-------------------------------------------------------------------
Tue Sep 24 09:37:44 UTC 2019 - alexander_naumov@opensuse.org

- Update to version 1.0.7:
  * Bugfix: local root exploit (CVE-2019-16729)

- Adding 'python2.7' as a dependency
- Adding 'gcc' as a build dependency
- Remove not_null_argument_for_strcmp.patch

-------------------------------------------------------------------
Fri Jul 27 12:43:21 UTC 2018 - alexander_naumov@opensuse.org

- Adding werror.patch
  This patch remove warninig option -Werror. This option makes all
  warnings into errors.

-------------------------------------------------------------------
Thu Oct 05 14:18:33 UTC 2017 - alexander_naumov@opensuse.org

- Adding not_null_argument_for_strcmp.patch

-------------------------------------------------------------------
Wed May 10 08:38:56 UTC 2017 - jengelh@inai.de

- Resolve errors in description
- Drop unnecessary clean sections

-------------------------------------------------------------------
Wed Apr 19 13:55:53 UTC 2017 - alexander_naumov@opensuse.org

- Version 1.0.6 

openSUSE Build Service is sponsored by