Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/lsat/
Date: Mon, 17 Apr 2017 22:14:59
Message-Id: 1492467287.eb4e13336c7fa0966d47492fb071c86f71912167.monsieurp@gentoo
1 commit: eb4e13336c7fa0966d47492fb071c86f71912167
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 17 22:14:31 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 17 22:14:47 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb4e1333
7
8 app-admin/lsat: EAPI 6 bump.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 app-admin/lsat/lsat-0.9.7.1-r2.ebuild | 54 +++++++++++++++++++++++++++++++++++
13 1 file changed, 54 insertions(+)
14
15 diff --git a/app-admin/lsat/lsat-0.9.7.1-r2.ebuild b/app-admin/lsat/lsat-0.9.7.1-r2.ebuild
16 new file mode 100644
17 index 00000000000..ca91252d82d
18 --- /dev/null
19 +++ b/app-admin/lsat/lsat-0.9.7.1-r2.ebuild
20 @@ -0,0 +1,54 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +inherit eutils toolchain-funcs
27 +
28 +DESCRIPTION="The Linux Security Auditing Tool"
29 +HOMEPAGE="http://usat.sourceforge.net/"
30 +SRC_URI="http://usat.sourceforge.net/code/${P}.tgz"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~ppc ~x86"
35 +IUSE="minimal"
36 +
37 +DEPEND="dev-lang/perl" # pod2man
38 +RDEPEND="
39 + ${DEPEND}
40 + !minimal? (
41 + app-portage/portage-utils
42 + net-analyzer/nmap
43 + sys-apps/iproute2
44 + sys-apps/which
45 + sys-process/lsof
46 + )"
47 +
48 +PATCHES=(
49 + "${FILESDIR}/${P}-gentoo.patch"
50 + "${FILESDIR}/${P}-segfault-fix.patch"
51 +)
52 +
53 +HTML_DOCS=( modules.html changelog/changelog.html )
54 +
55 +src_prepare() {
56 + default
57 +
58 + # patch for segmentation fault see bug #184488
59 + sed -i Makefile.in \
60 + -e '/^LDFLAGS=/d' \
61 + -e '/^CFLAGS=/d' \
62 + || die "sed Makefile.in"
63 +}
64 +
65 +src_compile() {
66 + tc-export CC
67 + emake CFLAGS="${CFLAGS}" all manpage
68 +}
69 +
70 +src_install() {
71 + emake DESTDIR="${D}" install installman
72 + dodoc README* *.txt
73 + einstalldocs
74 +}