SHA256
1
0
forked from pool/rpmlint
Commit Graph

214 Commits

Author SHA256 Message Date
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
472848675b - Update to version master:
* security checks: add link to openSUSE wiki to error message details

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=625
2018-10-08 11:12:48 +00:00
716ca7d8fd - Update to version 84.87+git20180703.88daa4e:
* Adjust order of output as well

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=601
2018-07-03 12:54:05 +00:00
40e7ac70b4 - Update to version 84.87+git20180703.03176da:
* adjust reference testoutput for removal of badness

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=600
2018-07-03 12:46:35 +00:00
e67391f602 - Update rpmlint-checks to version master:
* New file 5.33 does identify pie executables now (bsc#1097339)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=599
2018-07-03 12:33:55 +00:00
c570150c6e - add Lua/NodeJS related groups to list of valid groups
- Update rpmlint-checks to version master:
  * Blacklist python test folder in python packages
  * Error out on /etc/bash_completion.d in packages
  * Do not use otherproviders() SUSEism

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=593
2018-06-04 09:20:58 +00:00
ab93dd072b - Update to version 84.87+git20180220.6f1f0aa:
* polkit: adjust reference output to match corresponding change in rpmlint-checks

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=573
2018-02-20 14:15:21 +00:00
1411277d1e - Update to version 84.87+git20180218.1142fcc:
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=569
2018-02-18 14:57:08 +00:00
95afc7bd76 - Update to version 84.87+git20180218.9a5c783:
* Update polkit ref tests

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=568
2018-02-18 14:55:19 +00:00
e420fc7839 - Update rpmlint-checks to version master:
* polkit: make untracked privileges also an error

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=564
2018-02-08 15:38:49 +00:00
6d377a1258 - Update to version 84.87+git20180202.3df4ae7:
* Add testcases for MenuXDGCheck.py

- Update rpmlint-checks to version master:
  * Support uppercase tag macros used by RPM 4.14

- Update to version 84.87+git20180202.3df4ae7:
  * Add testcases for MenuXDGCheck.py

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=563
2018-02-08 13:51:40 +00:00
0520e8267a * Rewrite BashismsCheck to actually work
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=552
2017-11-25 10:11:14 +00:00
e42f7f42c0 * Open paths within the rpm file itself
* Fix python warning
  * BashismCheck: Only check regular files

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=550
2017-11-24 16:54:34 +00:00
11225a2e61 - Update to version master:
* Open paths within the rpm file itself
  * Fix python warning

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=549
2017-11-24 16:45:07 +00:00
b34d205dac - Update to version master:
* Fix warnings
  * Add new rpmlint check for new %{_fillupdir} macro (boo#1069468)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=548
2017-11-24 10:13:20 +00:00
cb46d50929 - Update rpmlint-tests to version master:
* Add Flake8 travis check
  * Fix scriptprog invocation
  * Print the duplicated filenames sorted to be stable accross multiple calls

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=544
2017-11-03 08:11:30 +00:00
d4965a48b4 - Update to version 84.87+git20171011.8b163ac:
* Trying to fixup the erlang check

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=533
2017-10-11 11:32:42 +00:00
32659a246a - Update to version master:
* Python 3.x porting of the ErlangCheck

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=531
2017-10-11 08:04:24 +00:00
9bc0827209 - Update to version 84.87+git20171011.856375f:
* Add unit test for ErlangCheck

- Update to version master:
  * Treat strongly versioned libs also as compliant (bsc#723726)
  * LibraryPolicy: allow %%_licensedir in packages (used by %license)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=524
2017-10-11 06:45:21 +00:00
f4f7fdbc53 - Update to version 84.87+git20171010.a53d9bd:
* Remove appdata related tests, those are upstream now

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=523
2017-10-10 12:23:18 +00:00
92b014372d - Update to version 84.87+git20171009.dfac67b:
* Adjust output for enabled non-std group checks
- Update rpmlint-checks to version master:
  * Fix false positives for -theme- -> -branding- rename
  * Stop leaking filedescriptors
  * Pythonic fixes
  * Drop CheckAppdata (there is AppDataCheck upstream)
  * Tighten ELF check
  * Tiny code formatting cleanup
  * Tighten the branding policy reporting a bit to make it less confusing

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=519
2017-10-10 09:22:46 +00:00
070235a841 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=506 2017-09-30 16:38:21 +00:00
6358689fd4 - Update to version 84.87+git20170930.921e051:
* Update reference files against rpmlint 1.10
  drop 0001-Update-varrun-test-for-Leap-42.2-severity-reduction.patch
  rpmlint-pie-factory.patch, rpmlint-pie-leap42.patch:
  this belongs into git

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=505
2017-09-30 16:20:40 +00:00
1ce530fa60 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=502 2017-09-30 14:56:50 +00:00
613f1d6bc0 * Port LibraryPolicyCheck to Python 3.x
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=501
2017-09-30 14:56:31 +00:00
680daa4eb0 * Add TmpFilesCheck
* Flake8 / Stop leaking filedescriptors
- Update rpmlint-tests:
  * Stop leaking filedescriptors
  * Address various deprecation warnings
  * Avoid leaking fds and further Python 3.x porting
- drop sourced-dirs.diff, fix-shared-library-matching.diff,
       suse-python-abi-check.diff, add-check-for-tmpfiles-created-at-r.diff: obsolete
      ignore-readelf-ar-error.diff, remove-ghostfile-checks.diff

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=499
2017-09-30 08:27:35 +00:00
b2de5e99ae - Update to version master:
* Stop leaking filedescriptors
  * Address various deprecation warnings

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=498
2017-09-30 07:54:06 +00:00
46062032f5 - Update to version master:
* Flake8 fixes
  * Properly anchor systemd path checks
  * Python 3.x porting

- Update rpmlint-checks:
  * Flake8 fixes
  * Properly anchor systemd path checks
  * Python 3.x porting

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=495
2017-09-29 12:08:51 +00:00
aca89521ba - Update to version 84.87+git20170928.27b6cb3:
* Adjustments for newer rpmlint

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=489
2017-09-28 21:17:43 +00:00
4fa0fae5a0 - Update to version 84.87+git20170928.d2c55ee:
* Remove some outdated sysv init check, we have switched to systemd
- add suse-skip-macro-expansion.diff: rename from remove-expand-macros.diff

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=483
2017-09-28 18:23:54 +00:00
3eec33df17 - Update to version master:
* Ignore trailing whitespace in permission files (bsc#1060738)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=481
2017-09-28 09:32:24 +00:00
973f679e05 - Update to version master:
* remote unused/outdated checks

- Update to version 84.87+git20170418.092177d:
  * Remove initscript related tests, systemd FTW!

- Update to version master:
  * remote unused/outdated checks

- Update to version 84.87+git20170418.092177d:
  * Remove initscript related tests, systemd FTW!

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=450
2017-04-19 08:02:59 +00:00
fe2f2cd612 - Update to version 84.87+git20170320.f92cea5:
* Adjust for new init script check

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=442
2017-03-20 14:23:35 +00:00
4ac315cd5b * Prevent a false-positive in systemd
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=437
2017-03-09 16:30:39 +00:00
9c8f75c3fb update sysv check
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=433
2017-03-09 15:36:55 +00:00
7a660e3aaf - Update to version 84.87+git20161214.5500838
* add checks for shlib-policy-name-error and "no dependency on *lib*"

- rpmlint-checks:
  * Check for old SysVinit scripts and the usage of insserv

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=432
2017-03-09 15:21:57 +00:00
a29c886d0f fix syntax error
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=404
2016-09-06 13:31:33 +00:00
e0f3b8e0ba - rpmlint-checks:
* Make checks python3 compatible
  * Fix update-alternatives check when it's quoted

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=402
2016-08-31 13:21:28 +00:00
0a289acc67 - Update to version 13.2+git20160725.8d99488:
* add check for calls to gethostbyname and similar
  * add check for correct invocation of chroot

- rpmlint-checks:
  * Fix typo in BrandingPolicyCheck.py

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=398
2016-07-25 14:31:52 +00:00
5dd3f12a68 - Update to version 13.2+git20151130.b31588d:
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=356
2015-11-30 14:59:24 +00:00
e07db28f57 - Update to version 13.2+git20151130.bdc5774:
+ don't rely on /etc/motd

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=355
2015-11-30 14:31:26 +00:00
2a67d76fbf - Update to version 13.2+git20151130.4729923:
+ add shared library tests

- fix shared library matching (fix-shared-library-matching.diff)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=354
2015-11-30 13:31:03 +00:00
10aae0a3f2 - Update to version 13.2+git20151113.ff9879a:
+ adjust for tmpfiles fix

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=348
2015-11-13 12:28:21 +00:00
0eb46b4494 - Update to version 13.2+git20151110.e8d6260:
+ fixed two new warnings

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=346
2015-11-10 12:40:20 +00:00
43848ac058 - Speedup CheckBuildDate check
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=341
2015-10-14 14:20:29 +00:00
d61b2e51fe - Update to version 13.2+git20150520.a374c88:
+ add tmpfiles.d checks

- skip files handled by tmpfile mechnism in regular ghost file check
  (move-ghost-file-check-to-TmpFilesCh.diff)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=329
2015-05-20 08:02:50 +00:00
5ad6c8a066 - Update to version 13.2+git20150519.278efdf:
+ add ghost file checks
  + print names of failed tests

- fix update_git.sh
- make sure tmpfiles are listed in %files
  (add-check-for-tmpfiles-created-at-r.diff)
- don't complain about missingok ghost files
  (fix-ghost-file-handling.diff)
- remove obsolete check for %defattr in spec files
  (remove-files-attr-not-set-check.diff)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=328
2015-05-19 12:23:59 +00:00
40f2807a3f - Update to version 13.2+git20150410.6161e60:
+ build our own non-PIE binaries, as the distribution slowly gets converted to all PIE binaries

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=320
2015-04-21 09:00:27 +00:00
65c7367a11 - Update to version 13.2+git20150310.00c9b55:
+ fix reference output when new bash is used

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=312
2015-03-10 12:56:45 +00:00