summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2005-12-09 00:49:52 +0000
committerChris PeBenito <pebenito@gentoo.org>2005-12-09 00:49:52 +0000
commit516f2a45343d0284332f351014ab70ee73a94c8d (patch)
tree11d3a0d15a013cd19dbb9a3a18b15189530a7fb2
parentFix crash without ipod use flag enabled. Closes bug #114930. (diff)
downloadgentoo-2-516f2a45343d0284332f351014ab70ee73a94c8d.tar.gz
gentoo-2-516f2a45343d0284332f351014ab70ee73a94c8d.tar.bz2
gentoo-2-516f2a45343d0284332f351014ab70ee73a94c8d.zip
initial commit.
(Portage version: 2.0.53)
-rw-r--r--sys-libs/libsemanage/ChangeLog10
-rw-r--r--sys-libs/libsemanage/Manifest3
-rw-r--r--sys-libs/libsemanage/files/digest-libsemanage-1.41
-rw-r--r--sys-libs/libsemanage/libsemanage-1.4.ebuild47
-rw-r--r--sys-libs/libsemanage/metadata.xml10
5 files changed, 71 insertions, 0 deletions
diff --git a/sys-libs/libsemanage/ChangeLog b/sys-libs/libsemanage/ChangeLog
new file mode 100644
index 000000000000..7de2d3a3fea8
--- /dev/null
+++ b/sys-libs/libsemanage/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-libs/libsemanage
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.1 2005/12/09 00:49:52 pebenito Exp $
+
+*libsemanage-1.4 (09 Dec 2005)
+
+ 09 Dec 2005; Chris PeBenito <pebenito@gentoo.org> +metadata.xml,
+ +libsemanage-1.4.ebuild:
+ Initial commit.
+
diff --git a/sys-libs/libsemanage/Manifest b/sys-libs/libsemanage/Manifest
new file mode 100644
index 000000000000..8973f6c73ceb
--- /dev/null
+++ b/sys-libs/libsemanage/Manifest
@@ -0,0 +1,3 @@
+MD5 20301b8fcf12252f5e0de0cbe2b4b135 files/digest-libsemanage-1.4 63
+MD5 c3a7ebe5120272cd06e1e63c249301b4 libsemanage-1.4.ebuild 1116
+MD5 652c5e8a0a081bf4317359f04f65a603 metadata.xml 537
diff --git a/sys-libs/libsemanage/files/digest-libsemanage-1.4 b/sys-libs/libsemanage/files/digest-libsemanage-1.4
new file mode 100644
index 000000000000..6511533ca424
--- /dev/null
+++ b/sys-libs/libsemanage/files/digest-libsemanage-1.4
@@ -0,0 +1 @@
+MD5 063010d314da724b33de18883b71b8ee libsemanage-1.4.tgz 90030
diff --git a/sys-libs/libsemanage/libsemanage-1.4.ebuild b/sys-libs/libsemanage/libsemanage-1.4.ebuild
new file mode 100644
index 000000000000..9dc31c6f380a
--- /dev/null
+++ b/sys-libs/libsemanage/libsemanage-1.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-1.4.ebuild,v 1.1 2005/12/09 00:49:52 pebenito Exp $
+
+IUSE=""
+
+SEPOL_VER="1.10"
+SELNX_VER="1.28"
+
+inherit eutils multilib
+
+DESCRIPTION="SELinux kernel and policy management library"
+HOMEPAGE="http://www.nsa.gov/selinux"
+SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~mips"
+
+DEPEND=">=sys-libs/libsepol-${SEPOL_VER}
+ >=sys-libs/libselinux-${SELNX_VER}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # make portage CFLAGS work
+ sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" ${S}/src/Makefile \
+ || die "src Makefile CFLAGS fix failed."
+
+ # fix up paths for multilib
+ sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" ${S}/src/Makefile \
+ || die "Fix for multilib LIBDIR failed."
+ sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" ${S}/src/Makefile \
+ || die "Fix for multilib SHLIBDIR failed."
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install
+
+ # remove config file. the appropriate
+ # policy will install this file.
+ rm -fR ${D}/etc
+}
diff --git a/sys-libs/libsemanage/metadata.xml b/sys-libs/libsemanage/metadata.xml
new file mode 100644
index 000000000000..f3b156e537b0
--- /dev/null
+++ b/sys-libs/libsemanage/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>hardened</herd>
+<maintainer>
+ <email>pebenito@gentoo.org</email>
+ <name>Chris PeBenito</name>
+ <description>Primary Maintainer</description>
+</maintainer>
+</pkgmetadata>