Commit Graph

843 Commits

Author SHA256 Message Date
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
bbd0195d7b - Update to version 2.2.0+git20220225.739a708:
* a8aa5cb3 pam-modules: whitelist pam-fscrypt (bsc#1195623)
  * ace7a9af dbus-services: whitelist nvme-stas (bsc#1195236)
  * b4d67b66 FileDigestCheck: enable XML filtered digests for D-Bus services
  * 068981ae FileDigestCheck: emit special {group}-file-parse-error if XML is bad
  * 816017cb dbus-services: whitelist tukitd (bsc#1196149)
  * 67c21c1e dbus-services: whitelist kcron helper

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=872
2022-02-26 09:35:58 +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
1b249b13d2 Accepting request 940257 from home:pgajdos:python
- pytest-runner is not required for build

OBS-URL: https://build.opensuse.org/request/show/940257
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=854
2021-12-13 18:44:37 +00:00
Martin Liška
808150e0f8 - Update tarball naming to respect release version.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=853
2021-12-10 12:35:12 +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