Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Signed-off-by: Kyle Keen <keenerd@gmail.com>
|
|
Signed-off-by: Kyle Keen <keenerd@gmail.com>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
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>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
|
|
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
|
|
|
|
* 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>
|
|
|
|
KDE-specific test cases are marked as expected failures for the moment.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
This test only works if KDE packages are installed.
|
|
|
|
|
|
|
|
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>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Symbolic links ending with ".a" were checked for standard
permissions 644, which would usually fail.
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
|
|
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Previous pyalpm versions are no longer supported.
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
* 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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|