diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-util/rats/rats-2.4-r1.ebuild | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-util/rats/rats-2.4-r1.ebuild')
-rw-r--r-- | dev-util/rats/rats-2.4-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/rats/rats-2.4-r1.ebuild b/dev-util/rats/rats-2.4-r1.ebuild new file mode 100644 index 000000000000..d252d30fb296 --- /dev/null +++ b/dev-util/rats/rats-2.4-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edos2unix + +DESCRIPTION="RATS - Rough Auditing Tool for Security" +HOMEPAGE="https://github.com/andrew-d/rough-auditing-tool-for-security" +# No tags available in the GitHub port +SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/rough-auditing-tool-for-security/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +RDEPEND="dev-libs/expat:=" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-2.4-fix-build-system.patch ) + +src_prepare() { + default + + local f + while IFS="" read -d $'\0' -r f; do + einfo "Converting ${f} from CRLF to LF" + edos2unix "${f}" + done < <(find \( -name '*.[chl]' -o -name '*.in' -o -name '*.am' \) -print0) +} + +src_configure() { + econf --datadir="${EPREFIX}/usr/share/${PN}/" +} + +pkg_postinst() { + ewarn "Please be careful when using this program with it's force language" + ewarn "option, '--language <LANG>' it may take huge amounts of memory when" + ewarn "it tries to treat binary files as some other type." +} |