public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/blueness:master commit in: sys-apps/setroubleshoot/
Date: Sat, 16 Apr 2011 02:21:59 +0000 (UTC)	[thread overview]
Message-ID: <cb9f83e1352d876751bb0614dfda90cc4556b6d9.blueness@gentoo> (raw)

commit:     cb9f83e1352d876751bb0614dfda90cc4556b6d9
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 16 02:21:54 2011 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Apr 16 02:21:54 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=cb9f83e1

sys-apps/setroubleshoot: Initial commit, bug #275085

(Portage version: 2.1.9.42/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0xD0455535)

---
 sys-apps/setroubleshoot/Manifest                   |   14 ++++
 sys-apps/setroubleshoot/metadata.xml               |    9 +++
 .../setroubleshoot-3.0.32.1.16.ebuild              |   66 ++++++++++++++++++++
 3 files changed, 89 insertions(+), 0 deletions(-)

diff --git a/sys-apps/setroubleshoot/ChangeLog b/sys-apps/setroubleshoot/ChangeLog
new file mode 100644
index 0000000..e69de29

diff --git a/sys-apps/setroubleshoot/Manifest b/sys-apps/setroubleshoot/Manifest
new file mode 100644
index 0000000..08a482a
--- /dev/null
+++ b/sys-apps/setroubleshoot/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST setroubleshoot-3.0.32-1.fc16.src.rpm 1583162 RMD160 1d6edbc7b54c73029338b42becb83f718cbbc0b1 SHA1 a9c20be1ce079d1143f463edbb25b11519bb7451 SHA256 1f527dbcc8799d362279d9f7582f65ca42ae3b7ad4ac28fd489e02c7229afbc2
+EBUILD setroubleshoot-3.0.32.1.16.ebuild 1504 RMD160 20affd6c2c9d369c297c1a8bbfcce59cb160c0c2 SHA1 767b1804b039ec0dc6b63712ba7ec8a97ad00ea8 SHA256 33507f2b7053b1498f839bb38d1f121b0e9da80d58bf5a5ad87e02b9821c085d
+MISC ChangeLog 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+MISC metadata.xml 260 RMD160 cb2578f6f6e6e46e5ae92dd8a6efaad01a9d869c SHA1 a750ecea19925d6e802e9d79d43f5290e662977f SHA256 93446a91438fa65f110ad12ca91f6e30d22e8b35e09cf4b178c1a6cf5d6e591f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEAREIAAYFAk2o/UIACgkQl5yvQNBFVTVNiQCfTio1s9TwuIF/U3gIKDwuY7+w
+/ZQAn0iJ/n52OitE8IDTT8KD5ToOZ0eV
+=5tkt
+-----END PGP SIGNATURE-----

diff --git a/sys-apps/setroubleshoot/metadata.xml b/sys-apps/setroubleshoot/metadata.xml
new file mode 100644
index 0000000..d6fa4db
--- /dev/null
+++ b/sys-apps/setroubleshoot/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>selinux</herd>
+	<maintainer>
+		<email>blueness@gentoo.org</email>
+		<name>Anthony G. Basile</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/sys-apps/setroubleshoot/setroubleshoot-3.0.32.1.16.ebuild b/sys-apps/setroubleshoot/setroubleshoot-3.0.32.1.16.ebuild
new file mode 100644
index 0000000..944abf3
--- /dev/null
+++ b/sys-apps/setroubleshoot/setroubleshoot-3.0.32.1.16.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit versionator rpm eutils python
+
+MY_PV="$(replace_version_separator 3 -)"
+comp=($(get_all_version_components))
+count=$(get_version_component_count)
+last="$(( 2 * ${count} - 2 ))"
+MY_PV="${MY_PV%${comp[$last]}}"
+MY_PV="${MY_PV}fc${comp[$last]}"
+S="${WORKDIR}/${PN}-${comp[0]}${comp[1]}${comp[2]}${comp[3]}${comp[4]}"
+
+DESCRIPTION="Tool to analyse AVC Messages"
+HOMEPAGE="https://fedorahosted.org/setroubleshoot"
+SRC_URI="mirror://fedora/pub/fedora/linux/development/rawhide/source/SRPMS/${PN}-${MY_PV}.src.rpm"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="selinux"
+
+DEPEND="dev-util/intltool"
+RDEPEND="sys-apps/policycoreutils
+	sys-libs/libselinux"
+
+src_unpack() {
+	srcrpm_unpack
+}
+
+src_configure() {
+	mv -f py-compile py-compile.ori \
+		|| die "mv -f py-compile py-compile.orig failed."
+	ln -s $(type -P true) py-compile \
+		|| die "ln -s $(type -P true) py-compile failed."
+	econf --prefix=/usr \
+		--libdir=/usr/$(get_libdir) \
+		--libexecdir=/usr/$(get_libdir) \
+		--localstatedir=/var \
+		|| die "Configure failure"
+}
+
+src_compile() {
+	emake || die "Make failure"
+}
+
+src_install() {
+	make DESTDIR="${D}" install \
+		|| die "Install failure"
+
+	rm -rf "${D}/usr/share/doc"
+	dodoc AUTHORS ChangeLog README
+}
+
+pkg_postinst() {
+	python_version
+	python_need_rebuild
+	python_mod_optimize /usr/share/setroubleshoot/plugins
+}
+
+pkg_postrm() {
+	python_mod_cleanup
+}



             reply	other threads:[~2011-04-16  2:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-16  2:21 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-04-16  2:40 [gentoo-commits] dev/blueness:master commit in: sys-apps/setroubleshoot/ Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cb9f83e1352d876751bb0614dfda90cc4556b6d9.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox