From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-dev:master commit in: sys-apps/setroubleshoot/, sys-apps/setroubleshoot-plugins/
Date: Wed, 20 Apr 2011 22:56:00 +0000 (UTC) [thread overview]
Message-ID: <36a3acd345da56c8049ccb4fdc9e28999d6e727d.blueness@gentoo> (raw)
commit: 36a3acd345da56c8049ccb4fdc9e28999d6e727d
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 22:48:58 2011 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 22:55:14 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=36a3acd3
sys-apps/setroubleshoot and sys-apps/setroubleshoot-plugins: moved from blueness overlay
Bug #275085
(Portage version: 2.1.9.42/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0xD0455535)
---
sys-apps/setroubleshoot-plugins/ChangeLog | 8 ++
sys-apps/setroubleshoot-plugins/metadata.xml | 9 +++
.../setroubleshoot-plugins-3.0.14.2.15.ebuild | 66 ++++++++++++++++++
sys-apps/setroubleshoot/ChangeLog | 6 ++
sys-apps/setroubleshoot/metadata.xml | 9 +++
.../setroubleshoot-3.0.32.1.16.ebuild | 71 ++++++++++++++++++++
6 files changed, 169 insertions(+), 0 deletions(-)
diff --git a/sys-apps/setroubleshoot-plugins/ChangeLog b/sys-apps/setroubleshoot-plugins/ChangeLog
new file mode 100644
index 0000000..57f986b
--- /dev/null
+++ b/sys-apps/setroubleshoot-plugins/ChangeLog
@@ -0,0 +1,8 @@
+
+
+*setroubleshoot-plugins-3.0.14.2.15 (17 Apr 2011)
+
+ 17 Apr 2011; Anthony G. Basile <blueness@gentoo.org>
+ +setroubleshoot-plugins-3.0.14.2.15.ebuild, +metadata.xml:
+ Initial commit
+
diff --git a/sys-apps/setroubleshoot-plugins/metadata.xml b/sys-apps/setroubleshoot-plugins/metadata.xml
new file mode 100644
index 0000000..d6fa4db
--- /dev/null
+++ b/sys-apps/setroubleshoot-plugins/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-plugins/setroubleshoot-plugins-3.0.14.2.15.ebuild b/sys-apps/setroubleshoot-plugins/setroubleshoot-plugins-3.0.14.2.15.ebuild
new file mode 100644
index 0000000..82e82dc
--- /dev/null
+++ b/sys-apps/setroubleshoot-plugins/setroubleshoot-plugins-3.0.14.2.15.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/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
+ python_need_rebuild
+ python_mod_optimize /usr/share/setroubleshoot/plugins
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/share/setroubleshoot/plugins
+}
diff --git a/sys-apps/setroubleshoot/ChangeLog b/sys-apps/setroubleshoot/ChangeLog
new file mode 100644
index 0000000..adb3702
--- /dev/null
+++ b/sys-apps/setroubleshoot/ChangeLog
@@ -0,0 +1,6 @@
+
+
+ 16 Apr 2011; Anthony G. Basile <blueness@gentoo.org>
+ setroubleshoot-3.0.32.1.16.ebuild:
+ Fixed SRC_URI
+
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..cd0e1eb
--- /dev/null
+++ b/sys-apps/setroubleshoot/setroubleshoot-3.0.32.1.16.ebuild
@@ -0,0 +1,71 @@
+# 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/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
+ sys-apps/dbus
+ x11-libs/gtk+
+ x11-libs/libnotify
+ www-client/htmlview"
+
+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
+ dodir /usr/share/setroubleshoot/plugins
+}
+
+pkg_postinst() {
+ PYTHON
+ python_need_rebuild
+ python_mod_optimize /usr/share/setroubleshoot/plugins
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/share/setroubleshoot/plugins
+}
next reply other threads:[~2011-04-20 22:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-20 22:56 Anthony G. Basile [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-03-18 3:22 [gentoo-commits] proj/hardened-dev:master commit in: sys-apps/setroubleshoot/, sys-apps/setroubleshoot-plugins/ Anthony G. Basile
2011-04-20 22:49 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=36a3acd345da56c8049ccb4fdc9e28999d6e727d.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