summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-29Merge branch 'master' of https://git.archlinux.org/namcapHEADmasterDan McGee29-283/+396
2017-07-07implement FS#27485, warn on unstripped filesJelle van der Waa2-0/+36
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2017-03-22Packages can symlink to files in depenencies (FS#53282)Kyle Keen2-1/+12
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2017-03-22More cruft removedKyle Keen2-6/+1
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2017-03-19Add systemd-{sysusers, tmpfiles} to externalhooksMichael Straube1-0/+2
Signed-off-by: Michael Straube <straubem at gmx.de> Signed-off-by: Kyle Keen <keenerd@gmail.com>
2017-03-19Clean some cruftKyle Keen12-86/+55
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2017-03-12More robust parsing (FS#53161)Kyle Keen1-1/+1
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2017-03-12Warn on use of undocumented makepkg functions (FS#43502)Kyle Keen3-0/+39
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2017-03-10tests: fix invalid provides >=Jelle van der Waa1-2/+2
provides>= is not valid according to man PKGBUILD and makepkg --printsrcinfo change it to provides= Signed-off-by: Jelle van der Waa <jelle at vdwaa.nl> Signed-off-by: Kyle Keen <keenerd@gmail.com>
2017-03-10Add fontconfig and xorg-mkfontdir to externalhooksMichael Straube1-0/+3
Add the commands run by fontconfig.hook and xorg-mkfontdir.hook to the externalhooks rule. Signed-off-by: Michael Straube <straubem at gmx.de> Signed-off-by: Kyle Keen <keenerd@gmail.com>
2017-03-04Extract validpgpkeys (from Nicohood)Kyle Keen1-0/+5
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-12-10Check for RELRO in ELF files (FS#26435)Kyle Keen2-0/+30
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-12-10Remove use of eu-findtextrel (FS#42700)Kyle Keen1-47/+24
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-12-10Summarize ELF files found in opt (FS#49489)Kyle Keen2-7/+19
Report a single Error that there are files in opt. Full paths may be found in the Info output. Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-08-18Fix API changes in pyelftools 0.24 (FS#50428)Kyle Keen2-2/+2
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-07-23Check ELF's rpaths for shared librariesKyle Keen1-2/+15
Updated version of Nicola Squartini's patch fixing FS#43239 Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-07-21Use elftools in rpathKyle Keen1-36/+19
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-07-21Consolidate all the adhoc file magic testsKyle Keen8-30/+32
This should also speed up namcap a little, since it replaces full extraction and tempfiles with a small in-place read(). Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-07-21Use elftools in sodependsKyle Keen1-47/+31
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-07-21/usr/src is okay (FS#49889)Kyle Keen1-1/+1
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-06-18Stricter shebang parsing (FS#49733)Kyle Keen3-3/+68
Also adds a test case for shebangdepends. Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-06-18Clean some cruftKyle Keen3-29/+16
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-05-17Fix java-runtime handling (FS#24296)Kyle Keen3-9/+22
Also fixes cases where "provides" were being ignored. Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-05-05Handle another 'provides' edge case.Kyle Keen1-0/+3
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-05-05Fix java-runtime handling (FS#24296)Kyle Keen3-9/+19
Also fixes cases where "provides" were being ignored. Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-04-28Restore and refactor accidentally removed testsKyle Keen9-61/+170
This introduces the 'pathdepends' check for an entire class of simple dependency errors. Previously these were mixed together with the .INSTALL tests. Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-04-28Tag version 3.2.73.2.7Kyle Keen3-2/+9
2016-04-28TyposKyle Keen2-2/+2
2016-04-28Remove old .INSTALL testsKyle Keen11-257/+6
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-04-27Add check for new install hooks.Kyle Keen4-0/+136
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-04-27pacman5 testsKyle Keen2-3/+3
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-02-01pacman 5 BUILDINFO (FS#47982)Kyle Keen1-1/+1
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-01-31Add a test for systemd files in /etc/systemd/system/James Harvey3-0/+48
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-01-31Add py_mtime ruleKyle Keen4-0/+161
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-01-31multilib packages depend on their regular counterpartsMaxime Gauduin1-0/+3
Multilib packages are usually stripped from everything that could conflict with their regular counterparts (bin, include, share) and thus depend on them. Currently namcap warns that they are not needed. There are of course a few exceptions, so instead of adding the regular package in smartdepend earlier in the script, skipping the warning seems to be the way to go. Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-01-31Add --version argumentRikard Falkeborn3-2/+48
* namcap --version or namcap -v prints the version and exits * Update manpage with the the new option * Add a test that the manpage version is the same as the program version Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-01-31Extract version from setup.pyRikard Falkeborn2-1/+27
This will make it possible to reuse the function, and avoid having the version number defined in multiple places. Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-01-31Update manpage version and dateRikard Falkeborn1-1/+1
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-01-31Remove obsolete version testRikard Falkeborn1-26/+0
This file has not been updated since version 2.3, and noone seems to care about it. Remove it. Signed-off-by: Kyle Keen <keenerd@gmail.com>
2016-01-22more CARCH variations (FS#47862)Kyle Keen1-7/+5
2015-10-30Tag version 3.2.63.2.6Kyle Keen2-1/+8
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2015-10-30Add a test for overlinking (unused shared libraries)Jan Alexander Steffens (heftig)4-1/+144
Based on the rpath code. Signed-off-by: Kyle Keen <keenerd@gmail.com>
2015-10-30Better handling of dependency loopsKyle Keen2-13/+28
2015-06-26Fix false 'included but already satisfied' (FS#43970)Kyle Keen2-21/+35
2015-06-25Update manpage for --list (FS#43320)Kyle Keen1-2/+5
2015-06-25CARCH variations (FS#45456)Kyle Keen1-2/+9
2015-06-25Generalized architecture specific dependsKyle Keen1-2/+6
2015-06-25Support architecture specific depends (FS#45455)Kyle Keen3-1/+6
2015-06-24Update mailing list to arch-projectsJelle van der Waa1-1/+1
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2015-06-24Add validpgpkeys as valid varJelle van der Waa2-1/+2
Signed-off-by: Kyle Keen <keenerd@gmail.com>