SHA256
1
0
forked from pool/rpmlint
Commit Graph

198 Commits

Author SHA256 Message Date
Martin Liška
37e5aedcfa - Update to version 2.3.0+git20220714.7cb9607:
* Remove trailing ': x%' from 'package-with-huge-docs' error
  * Fix useless-provides
  * digest whitelists: remove now redundant sha256 algorithm specification
  * FileDigestCheck: use sha256 digest algorithm by default
  * dbus-services: adjust to PackageKit etc -> usr config file move (bsc#1201347)
  * dbus-services: adjust to cups etc -> usr config file move (bsc#1201346)
  * dbus-services: adjust to avahi etc -> usr config file move (bsc#1201345)
- Remove upstreamed patch skip-rpmlint-for-rpmlint.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=937
2022-07-15 11:59:24 +00:00
Martin Liška
48ecd051b2 - Revert to version 2.3.0+git20220712.761ddf0.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=930
2022-07-12 20:16:53 +00:00
Martin Liška
bfa8347627 - Update to version 2.3.0+git20220712.d55ac43:
* digest whitelists: remove now redundant sha256 algorithm specification
  * FileDigestCheck: use sha256 digest algorithm by default
  * dbus-services: adjust to PackageKit etc -> usr config file move (bsc#1201347)
  * dbus-services: adjust to cups etc -> usr config file move (bsc#1201346)
  * dbus-services: adjust to avahi etc -> usr config file move (bsc#1201345)
  * whitelistings: fill in some missing metadata
  * Improve syntax validation for digests.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=929
2022-07-12 19:49:54 +00:00
Martin Liška
079c12970b - Update to version 2.3.0+git20220711.46e6323:
* systemd-tmpfiles: drop version from libtss2-fapi1 filename

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=927
2022-07-11 12:43:33 +00:00
Martin Liška
efd5a00bb8 - Update to version 2.3.0+git20220707.07c9067:
* Add temporary workaround for systemd package.
  * dbus-services: adjust power-profiles-daemon to new path (bsc#1201125)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=925
2022-07-07 09:18:17 +00:00
Martin Liška
5baec825c3 - Update to version 2.3.0+git20220623.5aa24e0:
* checkbashism: fix stuck when run with Emacs
  * Add test for shell var detection in rpm-buildroot-usage
  * Fix rpm_buildroot_regex
  * Remove obsolete check no-cleaning-of-buildroot
  * Improve binary-or-shlib-defines-rpath error
  * Add `--file` as an alias for `--rpmlintrc`
  * Update shlib-policy-name-error score for openSUSE

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=924
2022-06-23 19:33:01 +00:00
Martin Liška
e641406a1f - Update to version 2.3.0+git20220615.aa4b7e2:
* Rework format reporting for shlib-policy-name-error.
  * Increase badness for binary-or-shlib-defines-rpath.
  * Revert "Use zypper for openSUSE."

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=922
2022-06-15 09:05:07 +00:00
203cee5f71 - Update to version 2.3.0+git20220610.33ea0cf:
* systemd-tmpfiles whitelisting: also ignore -mini variants of systemd and udev
  * dbus-services: move wpa_supplicant.conf to /usr
  * dbus-services: move dnsmasq.conf to /usr

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=921
2022-06-10 12:36:09 +00:00
29d82ac69d - Update to version 2.3.0+git20220609.905726e:
* systemd-tmpfiles check: raise badness to 10000 for strict config
  * systemd-tmpfiles: whitelist currenty set of affected packages
  * SystemdTmpfilesCheck: compare normalized lines for whitelistings

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=920
2022-06-09 08:24:17 +00:00
Martin Liška
49902b1b20 - Update to version 2.3.0+git20220525.d213f48:
* opensuse config: parse ValidLicenseExceptions
  * Report binary in shlib-policy-name-error error
  * Remove extra prints from tests.
  * Increase badness for executable-stack
- Remove disable-SystemdTmpfilesCheck.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=918
2022-05-25 19:43:51 +00:00
Martin Liška
5029479e2c - Update to version 2.3.0+git20220523.e71c7f8:
* SystemdTmpfilesCheck: add additional unit test for parsing logic
  * SystemdTmpfilesCheck: fix invalid member accesses
  * openSUSE: Do not allow files in /etc/NetworkManager/dispatcher.d anymore

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=914
2022-05-23 08:47:29 +00:00
Martin Liška
faf5bae3b3 - Update to version 2.3.0+git20220519.82b9e76:
* Release 2.3.0
  * Skip shared-library-without-dependency-information for python.
  * Skip undefined-non-weak-symbol for python packages.
  * SystemdTmpfilesCheck: new check to restrict systemd-tmpfiles configuration.
  * Skip undefined-non-weak-symbol for python packages.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=910
2022-05-20 06:28:45 +00:00
Martin Liška
01d3e96d1d - Update to version 2.2.0+git20220511.fc030cd:
* Add missing dependencies to setup.py
  * no-binary for all packages
  * Update docs about rpmlintrc auto-loading.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=908
2022-05-13 06:11:02 +00:00
Martin Liška
92e164351d - Update to version 2.2.0+git20220509.ea27381:
* Fix wrong git merge conflict resolution.
  * ErlangCheck: remove unneeded str() from the test

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=906
2022-05-09 07:23:00 +00:00
Martin Liška
b47588a67f - Update to version 2.2.0+git20220506.414c402:
* Temporarily disable binary-or-shlib-defines-rpath once boo#1199268 gets fixed
  * dbus-services: update tukitd config hash to latest reviewed version

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=905
2022-05-06 08:55:10 +00:00
Martin Liška
a1c968d5ce - Update to version 2.2.0+git20220503.b807a0d:
* dbus-services.toml: adjust whitelisting for switcheroo-control (bsc#1199065)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=904
2022-05-03 12:46:38 +00:00
Martin Liška
a8c5b53648 - Update to version 2.2.0+git20220502.c9ee67e:
* Resolve $ORIGIN in binary-or-shlib-defines-rpath check.
  * Remove empty lines after for loops.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=903
2022-05-02 06:50:12 +00:00
Martin Liška
9946f02738 Revert $ORIGIN in RUNPATH.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=902
2022-04-27 08:57:11 +00:00
Martin Liška
e34affc0fa - Update to version 2.2.0+git20220427.132e18a:
* support $ORIGIN in R{,UN}PATH.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=901
2022-04-27 08:30:34 +00:00
Martin Liška
2627595fca - Update to version 2.2.0+git20220425.0078554:
* Fix up binary-or-shlib-defines-rpath error

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=900
2022-04-26 06:56:02 +00:00
Martin Liška
62c59a55c3 - Update to version 2.2.0+git20220422.43144bd:
* Improve executable-stack error.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=898
2022-04-23 06:10:42 +00:00
Martin Liška
3e7c161430 - Update to version 2.2.0+git20220419.1dbd1ae:
* dbus-services: remove gconf-polkit entry which is no longer shipped in Factory
  * Distinguish exit code in --strict mode.
  * Remove FIXME as we have a test for it.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=896
2022-04-19 14:43:35 +00:00
Martin Liška
bba14f2f60 - Update to version 2.2.0+git20220413.2dafaf8:
* Add ergo user and group

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=894
2022-04-13 19:14:31 +00:00
Martin Liška
d0d949923a - Update to version 2.2.0+git20220411.c02b482:
* sudoers-whitelist: add another integration test whitelisting entry

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=892
2022-04-11 10:29:24 +00:00
Martin Liška
c77167bfad - Update to version 2.2.0+git20220406.bcfe5ad:
* sudoers whitelist: add preliminary ceph whitelisting (bsc#1196141)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=890
2022-04-06 09:46:02 +00:00
Martin Liška
721e63b261 - Update to version 2.2.0+git20220331.762044d:
* Port opensuse checks.
  * Additional name cleanup in pkg.py.
  * lint.py: remove _check_valid_suffix and use str in ().
  * pkg.py cleanup
  * sudoers whitelist: add test entry for rpmlint-integration-test OBS package
  * Re-init AlternativesCheck for each package.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=889
2022-03-31 13:40:21 +00:00
Martin Liška
8ede717fb9 - Update to version 2.2.0+git20220330.4d069ea:
* new whitelist restriction for /etc/sudoers.d (bsc#1172785)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=888
2022-03-30 10:35:29 +00:00
Martin Liška
79f422b54d - Update to version 2.2.0+git20220330.76fbb53:
* Re-init AlternativesCheck for each package.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=887
2022-03-30 07:41:47 +00:00
Martin Liška
a7dca19a29 - Update to version 2.2.0+git20220325.40598ec:
* dbus-services: whitelist usbguard (bsc#1196621)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=885
2022-03-26 05:38:31 +00:00
Martin Liška
9ef3b2799d - Update to version 2.2.0+git20220324.fe80080:
* Test again for non-breaking space in test_tags.py.
  * dbus-services: add missing config whitelist for tukitd (bsc#1196149)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=883
2022-03-24 08:22:44 +00:00
Martin Liška
62e1b4524c - Update to version 2.2.0+git20220323.1c77669:
* Enhance --time-report
  * dbus services: adjust to accountsservice path move (bsc#1197354)
  * dbus services: NetworkManager-vpnc config locations (bsc#1197053)
  * dbus services: adjust NetworkManager-pptp config locations (bsc#1197054)
  * Use zypper for openSUSE.
  * Add SUSE version checks in spec files (#292).

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=882
2022-03-23 12:11:19 +00:00
Martin Liška
c711406579 - Update to version 2.2.0+git20220322.91ea8dc:
* Remove garbage chars (c2a0 c2a0) from file.
  * Add only small badge for repology.
  * Add packaging status.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=881
2022-03-22 09:12:47 +00:00
Martin Liška
c56c0b697c - Update to version 2.2.0+git20220308.a867f4a:
* test_whitelist_syntax: extend the check to cover also digest entry structure
  * dbus whitelist: fix nodigests whitelisting, should contain the path
  * Remove extra empty lines.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=879
2022-03-09 19:09:53 +00:00
Martin Liška
822ecb17d8 - Update to version 2.2.0+git20220307.795b565:
* D-Bus whitelistings: kpmcore: don't couple service file to digest

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=877
2022-03-07 11:11:31 +00:00
Martin Liška
9bf9f415ea - Update to version 2.2.0+git20220303.8fe2218:
* missing alpha_3 hye added for Armenian

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=875
2022-03-03 14:46:23 +00:00
c57266dbe5 - Update to version 2.2.0+git20220303.3a948f5:
* D-Bus services whitelist: add kpmcore (bsc#1178848)
  * dbus-services whitelist: add test whitelisting to cover dbus-file-parse-error
  * tests: add test that verifies security whitelisting syntax
  * security whitelistings: harmonize bug list syntax

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=874
2022-03-03 14:17:18 +00:00
Martin Liška
346e8e8568 - Update to version 2.2.0+git20220228.7070352:
* FileDigestCheck: configure digest filter type per whitelisting entry
  * FileDigestCheck: also assert that a path key is present
  * dbus-services: adjust nm-priv-helper path (bsc#1194799)
  * dbus-services: whitelist nvme-stas (bsc#1195236)
  * FileDigestCheck: enable XML filtered digests for D-Bus services
  * FileDigestCheck: emit special {group}-file-parse-error if XML is bad

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=873
2022-03-01 07:47:25 +00:00
Martin Liška
e7065da139 - Update to version 2.2.0+git20220225.739a708.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=871
2022-02-25 21:33:29 +00:00
Martin Liška
c422cbf300 - Update to version 2.2.0+git20220223.8f7d3e1:
* Speed up pkg.grep by utilizating mmap.
  * Update package dependency name.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=870
2022-02-23 16:23:18 +00:00
Martin Liška
3813437374 - Update to version 2.2.0+git20220222.b4654f9:
* Small tweaks to report formatting.
  * Start with the biggest files first in BashismsCheck.
  * Add new option --checks.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=869
2022-02-22 13:22:08 +00:00
Martin Liška
dc2332c30f - Update to version 2.2.0+git20220221.0fec15f:
* Speed up BashismsCheck by using md5sum of file.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=868
2022-02-21 11:02:24 +00:00
Martin Liška
499168e373 - Update to version 2.2.0+git20220221.19e374d:
* Include rpm2cpio (decompression and extraction) in --time-report.
  * Print only on decimal digit in time report.
  * Speed up pkg.grep.
  * Fix superfluous variable.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=867
2022-02-21 10:10:50 +00:00
Martin Liška
cc383c0bd5 - Update to version 2.2.0+git20220211.709d2fa:
* Require at least Python 3.8.
  * FileDigestCheck: implement support for file digest filtering

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=866
2022-02-13 10:16:40 +00:00
Martin Liška
74d48d13e9 - Update to version 2.2.0+git20220204.4166915:
* tests: add test case for FileDigestGroup with multiple package names
  * FileDigestCheck: support additional `packages = ["pkg1", "pkg2"]` syntax
  * FileDigestCheck: refactor digest group parsing and normalization
  * FileMetadataCheck: support additional `packages = ["pkg1", "pkg2"]` syntax

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=865
2022-02-09 09:38:00 +00:00
Martin Liška
95e333cf36 - Update to version 2.2.0+git20220202.cf37318:
* pam-modules: remove now outdated entry for modules that moved into pam_unix

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=864
2022-02-02 14:26:28 +00:00
Martin Liška
5f3d2a4efa - Update to version 2.2.0+git20220127.05573d9:
* dbus-services: whitelist NetworkManager nm-priv-helper (bsc#1194799).

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=863
2022-01-27 17:27:48 +00:00
Martin Liška
689b513c38 - Update to version 2.2.0+git20220125.7caec47:
* Add new option --ignore-unused-rpmlintrc.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=862
2022-01-25 18:35:40 +00:00
Martin Liška
072c6060ea - Update to version 2.2.0+git20220121.4f4f673:
* Remove shared-library-not-executable for all shared libs.
  * Fix stupid mistake with shared-library-not-executable.
  * Remove duplicite argument for run_elf_checks and use PkgFile.
  * Set also LANGUAGE env. in ENGLISH_ENVIROMENT.
  * Fix LGTM warning about RE pattern.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=861
2022-01-22 09:17:45 +00:00
Martin Liška
4e83f814a4 - Update to version 2.2.0+git20220112.bfaf91a:
* pam module whitelist: adjust package name for pam_winbind (bsc#1194573)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=860
2022-01-13 08:25:12 +00:00
Martin Liška
352a54560b - Update to version 2.2.0+git20220106.43867d0:
* Use readelf --debug-dump=no-follow-links if available.
  * Do not use ObjdumpParser if not needed.
  * Add icingaweb2 group
  * Filter unused-rpmlintrc-filter for late checks.

- Update to version 2.2.0+git20220105.2ac5ee1:
  * Use different Python package for ZStandard

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=859
2022-01-07 12:54:29 +00:00
Martin Liška
81119fc5e3 - Update to version 2.2.0+git20220103.bda86d8:
* 64-bit powerpc targets do not have executable stack.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=858
2022-01-03 09:43:43 +00:00
Martin Liška
d200fba57b - Update to version 2.2.0+git20211221.2fbc146:
* fix connman-nmcompat whitelisting (bsc#1192827) - resides in a sub-package

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=857
2021-12-21 13:25:09 +00:00
Martin Liška
9ef6b3ea94 - Update to version 2.2.0+git20211216.95ed862:
* Do not expect precise order of suggestions in spellchecking.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=856
2021-12-16 12:55:03 +00:00
Martin Liška
211b274902 - Update to version 2.2.0+git20211215.5196826:
* Make missing-call-to-setgroups-before-setuid only warning.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=855
2021-12-16 10:50:16 +00:00
b380646d7c - Update to version 2.2+git20211210.51d1bd9:
* dbus-services whitelist: add connman nm compatibility interface (bsc#1192827)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=852
2021-12-10 10:41:43 +00:00
Martin Liška
c1ef482e15 - Update to version 2.2+git20211208.c7ec6c4:
* Fix typo in comment.
  * Release 2.2.0
  * configs/Fedora: Sync Fedora rpmlint policies back upstream

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=851
2021-12-08 09:24:04 +00:00
Martin Liška
466ae09f4e - Update to version 2.1+git20211130.83af44b:
* Add SUSE licenses generation script.
  * Sort input .rpm files so that the output is stable. (boo#1193189).

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=850
2021-11-30 13:23:13 +00:00
Martin Liška
02f13d88f6 - Update to version 2.1+git20211126.ebc84d5:
* allow rpmdiff for installed packages
  * Add diff.py wrapper script.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=849
2021-11-26 11:08:00 +00:00
Martin Liška
5b86163129 - Update to version 2.1+git20211125.fcbf5ab:
* Make missing-PT_GNU_STACK-section more sensitive.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=848
2021-11-26 08:26:16 +00:00
Martin Liška
7b22c47280 - Update to version 2.1+git20211122.36cebbc:
* dbus-services: fix package name for setroubleshoot entries

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=847
2021-11-23 07:16:56 +00:00
Martin Liška
4555b64b5f - Update to version 2.1+git20211118.f21c64f:
* duplicate postfix entry for postfix-bdb, whitelistings are tied to pacakges in rpmlint2 and need to be there for every package
  * Allow multiple spaces between paren

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=846
2021-11-20 08:22:13 +00:00
Martin Liška
9f93e12498 - Update to version 2.1+git20211113.372a30e:
* Misplaced spaces causes regex to not match.
  * Add debuginfod user and update message.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=845
2021-11-15 13:56:27 +00:00
Martin Liška
f8e1e22211 - Update to version 2.1+git20211110.8430dc4:
* polkit-rules-whitelist: follow-up whitelisting for gnome-initial-setup (bsc#1192542)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=844
2021-11-10 10:38:27 +00:00
Martin Liška
8729ad9e7d - Update to version 2.1+git20211109.f2e93f8:
* Add missing re.compile.
  * Prevent duplicate files in lint input

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=843
2021-11-10 07:56:46 +00:00
Martin Liška
bcf2223d4a - Update to version 2.1+git20211105.14a37df:
* Fix backward compatibility with rpmlintrc files.
  * Fixed bug where a valid symlink is reported as invalid.
    This appears to be a regression from rpmlint 1.
    Comparing the two reveals that the comparison of link
    to path.parent would never make sense, and comparing
    link to path.name would resemble rpmlint 1's behavior.
  * dbus-services: add setroubleshoot whitelisting (bsc#1186344)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=842
2021-11-06 08:11:54 +00:00
Martin Liška
4809fd889c - Update to version 2.1+git20211103.8d20461:
* permissions-whitelist: update texlive-filesystem digests
  * permissions-whitelist: update sendmail digests
  * Enhance error message of LibraryDependencyCheck.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=841
2021-11-03 09:33:27 +00:00
Martin Liška
61bdfd353e - Update to version 2.1+git20211101.f2e73fe:
* Fix no-library-dependency-for.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=840
2021-11-01 08:06:09 +00:00
Martin Liška
f84fc71b61 - Update to version 2.1+git20211027.7242d3d:
* dbus-services: adjust wicked whitelisting to new paths (bsc#1192033)
  * Add new LibraryDependencyCheck.
  * Rework the lib_regex pattern
  * security whitelistings: test whitelistings for file-digest-mismatch errors
  * scoring.toml: fix alphabetical order of permissions-file errors
  * security whitelistings: add badness for file-digest-mismatch errors

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=839
2021-10-31 13:29:32 +00:00
Martin Liška
9187d7ae8d Resolve conflicts.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=838
2021-10-23 06:22:47 +00:00
Martin Liška
adda6e96c2 - Update to version 2.1+git20211022.a5287ad:
* Mitigate Perl false positives for no-dependency-on.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=837
2021-10-22 19:03:35 +00:00
Martin Liška
917c15c3ca - Update to version 2.1+git20211021.74e867e:
* Checking libalternatives entries and links.
  * Fix -r argument.
  * opensuse.toml: add permissions-parse-error to BlockedFilters
  * dbus-services: adjust digest for test whitelisting (need a different file there)
  * polkit-rules-whitelist: fix package name for test whitelisting
  * Remove unused VS code settings.
  * Whitelisting pam_u2f module (bsc#1190790)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=836
2021-10-21 06:53:47 +00:00
Martin Liška
c7b5276592 - Update to version 2.1+git20211019.ca2517e:
* Ignore library names that have number in their names.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=835
2021-10-19 08:39:32 +00:00
Martin Liška
634727597a - Update to version 2.1+git20211018.b53feea:
* Tweak shlib-policy-name-error.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=834
2021-10-19 06:31:02 +00:00
Martin Liška
4cd1d357f0 - Update to version 2.1+git20211015.6dc5311:
* Drop badness of shlib-policy-name-error for now.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=833
2021-10-15 14:06:39 +00:00
Martin Liška
b90456b882 - Update to version 2.1+git20211014.e3fbbb9:
* Update shlib-policy-name-error.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=832
2021-10-14 12:25:27 +00:00
Martin Liška
76c44e84ec - Update to version 2.1+git20211014.bddee7c:
* Trigger shlib-policy-name-error only for lib* packages.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=831
2021-10-14 09:16:59 +00:00
Martin Liška
477ba7d3b3 - Update to version 2.1+git20211013.5ed66cd:
* Update wording for shlib-policy-name-error.
  * Fix changelog-time-in-future regarding timezones.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=830
2021-10-14 06:51:23 +00:00
Paolo Perego
2f162bbc3a Accepting request 924800 from home:pperego:branches:openSUSE:Factory
- Update to version 2.1+git20211012.c27e0fe:
  * Adding whitelisting for pam_ssh_agent_auth. bsc#1190983
  * Enable shlib-policy-name-error error.
  * Support %autochangelog in %changelog.
  * remove /run from disalloweddirs
  * Fix missing-dependency-on check.
  * dbus-services whitelisting: add power-profiles-daemon (bsc#1189900)
  * security whitelistings: add whitelistings for OBS integration test package
  * PolkitCheck: be robust against dead symlinks in actions directory

OBS-URL: https://build.opensuse.org/request/show/924800
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=828
2021-10-12 07:13:08 +00:00
51256fa68d Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint
- Install configs with 644.

- Update to Rpmlint 2.0:
  * RPMLint now is a "normal" Python application and now supports being imported
    like a standard Python module! This means that all the normal use-cases for
    RPMLint are still supported, but now you can make it a part of larger Python-based
    applications or services.
  * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy
    instead of Python code.
  * RPMLint now has an override system for the descriptions shown for various checks,
    so that distributions who want to give specific policy information can
    do so without patching the code.
  * RPMLint includes many more checks! Nearly all of the generally useful checks created
    by the openSUSE community have been merged into the tree, so distributions can now
    benefit from a wider offering of checks to implement policy enforcement.
  * RPMLint is Python 3 only and now supports Python 3.6 and newer.
  * RPMLint is now built and installed like a standard Python application using setuptools.
- Removed legacy patches:
  * invalid-filerequires.diff
  * no-badness-return.diff
  * no-doc-for-lib.diff
  * only-reg-files-are-scripts.diff
  * remove-ghostfile-checks.diff
  * rpm415-workaround.diff
  * rpmgroup-checks.diff
  * rpmlint-suse.diff
  * suse-binarieschecks.diff
  * suse-checks.diff
  * suse-filter-exception.diff
  * suse-filter-more-verbose.diff

OBS-URL: https://build.opensuse.org/request/show/901418
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 06:33:48 +00:00
804a3cc03a Accepting request 875382 from home:coolo:branches:openSUSE:Factory
- Update to version 84.87+git20210226.d6b66e2:
  * GitHub Actions: work around the missing
  * GitHub Actions: work around the missing `groupadd`
  * rclink2: fix test reference output
  * polkit: adjust polkit frobnicate action name

- Add accept-licenses-with-plus.patch to accept any license ending
  with a + (as indicated in the SPDX syntax)

- Remove licenses ending with + from valid license array

OBS-URL: https://build.opensuse.org/request/show/875382
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=768
2021-03-01 19:27:04 +00:00
Johannes Segitz
a3b9cd1f6d Accepting request 849108 from home:mgerstner:branches:devel:openSUSE:Factory:rpmlint
This is necessary for permissions sr#847756 to continue.

- Update to version master:
  * Permissions: be robust against variables.conf not existing
  * CheckSUIDPermissions: enhance parser to support new permissions variables

OBS-URL: https://build.opensuse.org/request/show/849108
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=759
2020-11-23 08:22:27 +00:00
Johannes Segitz
d8994ce7f2 Accepting request 823721 from home:mgerstner:branches:devel:openSUSE:Factory:rpmlint
- Update of rpmlint-tests to version 84.87+git20200724.ef05f7e:
  * use /usr/bin/su instead of /bin/su since the latter is no longer allowed

- Update of rpmlint-checks to version master:
  * Introduce new metadata whitelist type and related checks. Device files and
    world-writeable files will now be covered by new whitelists from
    rpmlint-security-whitelistings.
- config: Enable new CheckWorldWritable and CheckDeviceFiles

OBS-URL: https://build.opensuse.org/request/show/823721
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=743
2020-07-31 11:30:01 +00:00
Malte Kraus
f45585e94c Accepting request 790149 from home:mgerstner:branches:devel:openSUSE:Factory:rpmlint
- Update to version master:
  * Whitelisting: avoid duplicate checks / error messages for the same files
  * Whitelisting: fix whitelisting checks when files are symbolic links
  * Mention upstream repo in README

OBS-URL: https://build.opensuse.org/request/show/790149
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=718
2020-03-31 12:36:07 +00:00
Malte Kraus
86d5b008d6 - Update to version 84.87+git20200221.3ea152b:
* pam1 test: adjust reference output to newly added badness in rpmlint-Factory

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=715
2020-02-28 14:35:34 +00:00
Malte Kraus
525bafdf5d Accepting request 770508 from Base:System
- Update to version master:
  * CheckSUIDPermissions.py: fix permissions.d checks
  * add a lint to catch insecure mixed file/directory ownership similar to CVE-2019-3689

- Update to version 84.87+git20200206.7e2b64f:
  * permissions2: test that allowed permissions.d drop-ins work
  * test for new file-parent-ownership-mismatch lint

- Update to version master:
  * CheckSUIDPermissions.py: fix permissions.d checks
  * add a lint to catch insecure mixed file/directory ownership similar to CVE-2019-3689

- Update to version 84.87+git20200206.7e2b64f:
  * permissions2: test that allowed permissions.d drop-ins work
  * test for new file-parent-ownership-mismatch lint

OBS-URL: https://build.opensuse.org/request/show/770508
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=710
2020-02-07 08:54:41 +00:00
Johannes Segitz
32adcd543d Accepting request 768785 from home:jsegitz:branches:devel:openSUSE:Factory:rpmlint
- Update to version 84.87+git20200130.c0de5f4:
  * libzork4.spec: removed define for 'basename' in libzork4.spec. 
    This causes build errors because 'basename' is a builtin and it's 
    not used

- Update to version 84.87+git20200115.9339533:
  * use uname -m instead of uname -i as the latter is not portable
  * remove rpm directory upon make clean
  * Support for different output based on architecture. For that create a
    <NAME>.<ARCH>.ref file instead of <NAME>.ref E.g. debug.i386.ref
  * verify that new permissions paths need whitelisting

- Update to version master:
  * CheckCronJobs: correct cronjob-unauthorized-file explanation
  * Use named constants to check file modes
  * CheckSUIDPermissions.py: check new permission paths

OBS-URL: https://build.opensuse.org/request/show/768785
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=706
2020-01-30 15:50:27 +00:00
fb793effa8 - Update to version master:
* new common whitelisting code for CheckPolkitPrivs and CheckCronJobs

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=697
2019-12-10 14:48:51 +00:00
0b4213f78a Accepting request 732196 from home:mimi_vx:branches:devel:openSUSE:Factory:rpmlint
- Update to version 84.87+git20190920.e27d431:
  * Fix tests with disabled 'group' checks

- update add-check-for-a-non-zero-.text-segment-in-.a-archive.patch
  * dont check empty .text section on GHC libraries

OBS-URL: https://build.opensuse.org/request/show/732196
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=689
2019-09-20 17:01:55 +00:00
e95bf7fc29 - Update rpmlint-checks to version master:
* CheckFilelist: Add /usr/libexec to set of good prefixes

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=687
2019-09-17 12:36:10 +00:00
9cac9e4457 Accepting request 726708 from home:scarabeus_iv:branches:devel:openSUSE:Factory:rpmlint
- Update to version 84.87+git20190828.2c92180:
  * Revert "added LTO errors as expected for debug tests"

- Update to version 84.87+git20190828.8fa8ac5:
  * Do not use -flto for debug tests.

- Update to version 84.87+git20190828.2c92180:
  * Revert "added LTO errors as expected for debug tests"

- Update to version 84.87+git20190828.8fa8ac5:
  * Do not use -flto for debug tests.

- Do not validate rpm groups to avoid rpmlint warning as the group
  is not really mandatory

OBS-URL: https://build.opensuse.org/request/show/726708
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=684
2019-08-30 12:32:56 +00:00
87182c5b55 Accepting request 724712 from home:kukuk:etc
- Update to version master:
  * Allow /usr/etc as discussed on opensuse-factory and opensuse-packaging

- Update to version master:
  * Allow /usr/etc as discussed on opensuse-factory and opensuse-packaging

OBS-URL: https://build.opensuse.org/request/show/724712
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=682
2019-08-20 09:34:28 +00:00
611ecea41d Accepting request 716081 from home:jsegitz:branches:devel:openSUSE:Factory:rpmlint
- Update to version 84.87+git20190717.48212cf:
  * added LTO errors as expected for debug tests

OBS-URL: https://build.opensuse.org/request/show/716081
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=673
2019-07-17 15:14:51 +00:00
fd51a2954c - Update to rpmlint-checks to version master:
* CheckDBUSServices: add additional directory to cover
  * Xinetd check making sure no packages use it wrt fate#323373 (#26)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=671
2019-05-14 10:03:41 +00:00
ce9154a9db - Update to version 84.87+git20190318.caf1835:
* pie.spec: use /usr/bin/mount, since /bin/mount was removed from permissions

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=663
2019-03-18 08:53:31 +00:00
903ab2abc6 - Update to version master:
* CheckPolkitPrivs: fix new rules.d check to use extracted rpm path

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=660
2019-03-04 14:38:00 +00:00
7bd003f3d5 - Update rpmlint-checks to version master (bsc#1125314):
* coding style: fix indentation to satisfy flake8 travis-ci test
  * CheckPolkitPrivs: implement new check for files put into rules.d dirs
  * CheckPolkitPrivs: separate and refactor check for actions
  * CheckPolkitPrivs: separate and refactor check of polkit-default-privs.d
  * CheckPolkitPrivs: remove oudated PolicyKit path
  * CheckPolkitPrivs: clearer error message for files in /etc/polkit-default-privs.d

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=659
2019-02-27 12:05:41 +00:00
4fb2296510 - Update to version 84.87+git20190123.8914352:
* adjust ref for rpmlint 1.11

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=652
2019-01-23 22:07:54 +00:00
4f6987556b - Update to version master:
* Flake8 fix

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=647
2019-01-09 19:20:10 +00:00
c1f8eba3e1 ------------------------------------------------------------------
- Update to version 84.87+git20181018.60e0249:
  * Add test for %tmpfiles_create foo.conf with no full path

- Update rpmlint-checks to version master (bsc#1116686):
  * Ignore decoding errors as we're not sure we know the encoding
  * Use UTF-8 encoding when opening .pc file (#42)
  * whitelist otrs permission file (#41)
  * Relax various flake8 warnings
  * Handle '-n' option for %service_del_preun %service_del_postun
  * There isn't a good standard, whether the directory should be called 'tests/' or 'test/'

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=646
2019-01-09 19:04:28 +00:00
bc11f0cc49 - Update rpmlint-checks to version master:
* Use only one pattern that covers both cases
  * Add support to identify tmpfiles_create used with just a basename

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=627
2018-10-16 15:34:16 +00:00