diff options
Diffstat (limited to 'dev-util/rats')
-rw-r--r-- | dev-util/rats/Manifest | 1 | ||||
-rw-r--r-- | dev-util/rats/rats-2.4.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-util/rats/Manifest b/dev-util/rats/Manifest index 4c46c7bd9099..abb479437bed 100644 --- a/dev-util/rats/Manifest +++ b/dev-util/rats/Manifest @@ -1,2 +1,3 @@ DIST rats-2.1.tar.gz 326930 SHA256 ec9fac2765b655c03cede8c5920de3226581f1e626be314bce95f4d0ac9aadd9 SHA512 2fdb670dc9559c453a6c69ee2d411e2626c0ee4cca4b59ceda878142008e136dfd11f8265c0719383212b38b0358a9cab1a29f1cc92a986fc800dd0c46bdf0d3 WHIRLPOOL 376a79cf05aad274296a7a17944ad4f4523e82c0db4c09f201dbcdc306ba803a8e8824cadc2526a05cb448c91ea35020dcd0b3ef56fc71976216b38b50758822 DIST rats-2.3.tar.gz 391573 SHA256 36872ab4ed55058821d49cd0d1f2c36f1505dae129a697083717a95924cd1478 SHA512 10ca0ca46515e6f9349f9325ab19a7e453a66e472036e22b602b77bd816fcddb8fa5c9fa936c6a8004f713af0eb11cd357a91668809b53666522d3aa08130ba1 WHIRLPOOL d1c8155b217bd8470b8f7ae38b9593a7a7c1f63b6877875444c5e3ed0bf11bb813151daa0a4dad59a3e9be0d87e1f05ab6dc3e10f4baca0062167dabf5229339 +DIST rats-2.4.tgz 393114 SHA256 2163ad111070542d941c23b98d3da231f13cf065f50f2e4ca40673996570776a SHA512 f402717fc935a2f9c2464e1623807575044258fd998cabc8f115c063141004b5978bad739021f109cbbd1abd84231155eb59671ae202aefb40e1fd6733d8ac6d WHIRLPOOL 78d0f0e1f18db8a4cabc77e50576c8f3040ecba2200b522b9bea0cad3518dba12cec66c539a46eed38fed50963694a68213a3e7874645d751621eb3261cafafb diff --git a/dev-util/rats/rats-2.4.ebuild b/dev-util/rats/rats-2.4.ebuild new file mode 100644 index 000000000000..e536a6cfee83 --- /dev/null +++ b/dev-util/rats/rats-2.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 +inherit eutils + +DESCRIPTION="RATS - Rough Auditing Tool for Security" +HOMEPAGE="https://code.google.com/p/rough-auditing-tool-for-security/" +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 ~x86-macos" +IUSE="" + +DEPEND="dev-libs/expat" + +src_prepare() { + edos2unix $(find "${S}" -name '*.[chl]' -o -name '*.in' -o -name '*.am') + #epatch "${FILESDIR}"/${PN}-2.1-add-getopt-trailing-null.patch + #epatch "${FILESDIR}"/${PN}-2.1-fix-null-pointers.patch +} + +src_configure() { + econf --datadir="${EPREFIX}/usr/share/${PN}/" +} + +src_install () { + einstall SHAREDIR="${ED}/usr/share/${PN}" MANDIR="${ED}/usr/share/man" + dodoc README README.win32 +} + +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." +} |