summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-05-10Support for lrz/lzo (FS#44900)Kyle Keen1-1/+5
2015-02-20Adjust tests broken by pacman 4.2Kyle Keen1-2/+2
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2015-02-20Basic mingw support (FS#43552)Kyle Keen3-9/+31
Signed-off-by: Kyle Keen <keenerd@gmail.com>
2013-11-02Check if the description is set in a PKGBUILDJelle van der Waa2-0/+8
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2013-04-07Tag version 3.2.5.3.2.5Rémy Oudompheng2-1/+6
Changes: - support "SKIP" in checksums (FS#34647) - export CARCH correctly to parsepkgbuild (FS#32568) - recognize .MTREE as package metadata (FS#34591) Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2013-04-07Fix exporting of CARCH to parsepkgbuild (FS#32568)Rémy Oudompheng2-3/+26
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2013-04-07Add missing import.Rémy Oudompheng1-0/+1
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2013-04-07Accept "SKIP" as checksum value, a new pacman feature (FS#34647)Rémy Oudompheng2-3/+28
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2013-04-07Adjust tests broken by pacman 4.1Rémy Oudompheng2-3/+3
2013-04-07Add .MTREE to list of valid pathsEric Bélanger1-1/+1
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2012-05-12Tag version 3.2.43.2.4Rémy Oudompheng2-1/+4
2012-05-03fhs: add another example in testcase.Rémy Oudompheng1-0/+4
2012-05-03fhs: update valid and invalid pathsTom Gundersen1-2/+3
* Remove /var/lock form valid paths. It is already forbidden, so should not be valid. * Forbid most of /lib. We want to empty /lib over time. This explicitly allows /lib/modules as getting rid of it would require a coordinated rebuild. * Prod people into emptying /{s,}bin. To the extent possible these dirs should be emptied and moved to /usr/bin. In particular we want to avoid new or third-party packages putting stuff here. * Disallow installing in /srv. /srv is admin territory, similar to /home. No package should put stuff there. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-03-04Tag release 3.2.33.2.3Rémy Oudompheng1-1/+1
2012-03-04Tweak test suite to avoid relying on installed packages.Rémy Oudompheng4-8/+9
KDE-specific test cases are marked as expected failures for the moment.
2012-02-26Add rubypaths rule warning against usage of usr/lib/ruby/site_ruby.Rémy Oudompheng3-0/+16
2012-02-26Add test case for elfexecstack.Rémy Oudompheng1-0/+37
2012-02-26Fix testsuite using os.uname() instead of `arch` command.Rémy Oudompheng1-1/+1
2012-02-26use pure python for exec stack checkDave Reisner1-8/+15
Instead of pulling prelink as a dependency, use a pure python library, pyelftools, for reading the program headers. This could be useful elsewhere to replace parsing of things such as readelf.
2012-02-04Release version 3.2.23.2.2Rémy Oudompheng1-1/+1
2012-02-04Update NEWS file for release 3.2.2Rémy Oudompheng1-4/+6
2012-02-04Mark a test for KDE-specific rules as expected failure.Rémy Oudompheng1-0/+3
This test only works if KDE packages are installed.
2012-02-04Correct detection of wrong licenses (FS#27489).Rémy Oudompheng2-1/+67
2012-02-04Fix testing package lookup (FS#27973).Rémy Oudompheng3-3/+13
2011-10-29Add a rule to warn about executable stacks (FS#26458)Rémy Oudompheng3-12/+54
2011-10-23Add elftextrel rule (FS#26434)Rémy Oudompheng4-3/+53
This rule detects text relocations in ELF files using the eu-findtextrel utility from elfutils. Text relocations are usually indicative of bad coding/building practices. Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-10-20Release version 3.2.13.2.1Rémy Oudompheng2-1/+7
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-10-20Do not report wrong permissions for symbolic links (FS#26536).Rémy Oudompheng2-3/+8
Symbolic links ending with ".a" were checked for standard permissions 644, which would usually fail. Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-10-15filenames: test compatibility with non-UTF8 filenamesRémy Oudompheng1-4/+8
2011-10-15Correct typo.Rémy Oudompheng1-1/+1
2011-10-15glibfiles: fix wrong file pattern for Glib schemasRémy Oudompheng2-2/+2
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-10-14Release version 3.23.2Rémy Oudompheng2-1/+3
2011-10-14Refine glibfiles rules to avoid warnings in glib2 (FS#25829).Rémy Oudompheng1-2/+7
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-10-14Avoid usage of bytes keyword as a variable name.Rémy Oudompheng1-3/+3
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-10-14Make util.read_carefully() private.Rémy Oudompheng1-3/+3
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-10-14Fix expected test output due to soname change in pacmanRémy Oudompheng1-2/+2
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-10-14Consider archives as binary files in anyelf rule (FS#24854)Rémy Oudompheng2-2/+39
Archive files are not exactly ELF files and are arch-dependent in most cases. Although they might theoretically contain anything, it is reasonable to treat them like ELF files. Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-09-16Honor TMPDIR environment variableDan McGee1-1/+1
If we use the `mktemp --tmpdir` option, we are able to honor TMPDIR without much difficulty. Change the template to not hardcode '/tmp'. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-09-16Remove PkgdirRuleDan McGee3-20/+0
It is now unused, and caused confusion regarding the sandbox directory stuff. Ideally it should never need to be used again, as all rules should operate directly on the tarball. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-08-27Update NEWS file.Rémy Oudompheng1-0/+7
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-08-27Adapt to pyalpm 0.5 API.Rémy Oudompheng3-22/+16
Previous pyalpm versions are no longer supported. Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-08Allow usage with newer versions of pyalpm.Rémy Oudompheng1-9/+15
2011-06-02Convert sodepends to use pyalpmworkingDan McGee1-22/+17
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-02Main file cleanups and simplificationDan McGee2-23/+16
* Do each import separate as is normal python convention * Fix some comment grammar and word usage * Rename verify_package() to open_package() to signify what it actually does, and remove a lot of unnecessary code in the process Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-02Don't assume local DB when looking up providersDan McGee1-3/+3
Fixes the first warning in the following output. It is clearly invalid due to the fact that I don't even have [testing] enabled on this machine. $ ./namcap-devel -r shebangdepends pyalpm-0.4.2-1-i686.pkg.tar.xz pyalpm W: Dependency 'python3' on your system is a testing release pyalpm W: Dependency included and not needed ('pacman') Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-02Fix carch ruleDan McGee3-22/+36
We need to use re.search() rather than re.match() most of the time in this rule. Also simplify it, add some more architectures to look for, and update the tests accordingly so they are actually correct and match what the rule is trying to do. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-02Remove unnecessary codeDan McGee1-5/+1
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-02Follow standard Python class naming conventionsDan McGee6-8/+6
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-05-08Correct packaging issues.Rémy Oudompheng2-2/+2
2011-05-08Release version 3.13.1.0Rémy Oudompheng2-1/+2
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>