summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2003-08-14 15:28:35 +0000
committerChris PeBenito <pebenito@gentoo.org>2003-08-14 15:28:35 +0000
commitc59d39b3354cacea1b2f409f745ee467124f1f99 (patch)
tree4ef9c9a9dd02fbcf972b26e9ce0bc45257a939bd /sys-libs
parentnew upstream version (diff)
downloadhistorical-c59d39b3354cacea1b2f409f745ee467124f1f99.tar.gz
historical-c59d39b3354cacea1b2f409f745ee467124f1f99.tar.bz2
historical-c59d39b3354cacea1b2f409f745ee467124f1f99.zip
new upstream version
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libselinux/ChangeLog8
-rw-r--r--sys-libs/libselinux/Manifest5
-rw-r--r--sys-libs/libselinux/files/digest-libselinux-1.11
-rw-r--r--sys-libs/libselinux/files/libselinux-1.1-gentoo.diff36
-rw-r--r--sys-libs/libselinux/libselinux-1.1.ebuild38
5 files changed, 86 insertions, 2 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index dd9b1e36dc6a..e2510ef262b1 100644
--- a/sys-libs/libselinux/ChangeLog
+++ b/sys-libs/libselinux/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/libselinux
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.2 2003/08/04 20:16:01 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.3 2003/08/14 15:28:31 pebenito Exp $
+
+*libselinux-1.1 (14 Aug 2003)
+
+ 14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1.ebuild,
+ files/libselinux-1.1-gentoo.diff:
+ New upstream version
04 Aug 2003; Chris PeBenito <pebenito@gentoo.org>
files/libselinux-1.0-gentoo.diff:
diff --git a/sys-libs/libselinux/Manifest b/sys-libs/libselinux/Manifest
index 6e07f17ac2e6..5f682c3a40d4 100644
--- a/sys-libs/libselinux/Manifest
+++ b/sys-libs/libselinux/Manifest
@@ -1,5 +1,8 @@
MD5 717f87e8763e0467b99cf5568fd27f91 libselinux-1.0.ebuild 746
MD5 36bf0405b9d81999a4c53df2e5b6c748 metadata.xml 270
-MD5 6205210446e323e4bed09237fc3fd5ea ChangeLog 535
+MD5 2e717bb852ad6c933e7d3aed6ba9bddf ChangeLog 701
+MD5 e0d9d37f5ababe39e3a23546fa8ac54e libselinux-1.1.ebuild 748
MD5 fa6cb6d507ae7a7c1b4ccc7e673d37cc files/digest-libselinux-1.0 62
MD5 0618c08091c01107cf53015a85ac3fcb files/libselinux-1.0-gentoo.diff 8902
+MD5 4276fc22ccd5de38cc3ce45f83343f68 files/digest-libselinux-1.1 62
+MD5 ee2480e816c5fb6bdc78e94cf0a4d1f5 files/libselinux-1.1-gentoo.diff 1242
diff --git a/sys-libs/libselinux/files/digest-libselinux-1.1 b/sys-libs/libselinux/files/digest-libselinux-1.1
new file mode 100644
index 000000000000..fa57db84994f
--- /dev/null
+++ b/sys-libs/libselinux/files/digest-libselinux-1.1
@@ -0,0 +1 @@
+MD5 7460cc9e6590cafdda7f35eeabbd03fb libselinux-1.1.tgz 22733
diff --git a/sys-libs/libselinux/files/libselinux-1.1-gentoo.diff b/sys-libs/libselinux/files/libselinux-1.1-gentoo.diff
new file mode 100644
index 000000000000..5685fa0273ae
--- /dev/null
+++ b/sys-libs/libselinux/files/libselinux-1.1-gentoo.diff
@@ -0,0 +1,36 @@
+diff -urN libselinux-1.0.orig/Makefile libselinux-1.0/Makefile
+--- libselinux-1.0.orig/Makefile 2003-06-09 14:22:55.000000000 -0500
++++ libselinux-1.0/Makefile 2003-08-03 20:01:16.000000000 -0500
+@@ -1,6 +1,6 @@
+ all:
+- $(MAKE) -C src
+- $(MAKE) -C utils
++ $(MAKE) -C src EXTRA_CFLAGS="$(EXTRA_CFLAGS)"
++ $(MAKE) -C utils EXTRA_CFLAGS="$(EXTRA_CFLAGS)"
+
+ install:
+ $(MAKE) -C include install
+diff -urN libselinux-1.0.orig/src/Makefile libselinux-1.0/src/Makefile
+--- libselinux-1.0.orig/src/Makefile 2003-07-07 07:53:40.000000000 -0500
++++ libselinux-1.0/src/Makefile 2003-08-03 20:01:35.000000000 -0500
+@@ -9,7 +9,7 @@
+ TARGET=libselinux.so
+ LIBSO=$(TARGET).$(LIBVERSION)
+ OBJS= $(patsubst %.c,%.o,$(wildcard *.c))
+-CFLAGS = -Wall
++CFLAGS = -Wall $(EXTRA_CFLAGS)
+ override CFLAGS += -fPIC -I../include
+
+ all: $(LIBA) $(LIBSO)
+diff -urN libselinux-1.0.orig/utils/Makefile libselinux-1.0/utils/Makefile
+--- libselinux-1.0.orig/utils/Makefile 2003-07-07 07:53:42.000000000 -0500
++++ libselinux-1.0/utils/Makefile 2003-08-03 20:01:58.000000000 -0500
+@@ -2,7 +2,7 @@
+ PREFIX ?= $(DESTDIR)/usr
+ BINDIR ?= $(PREFIX)/bin
+
+-CFLAGS = -Wall
++CFLAGS = -Wall $(EXTRA_CFLAGS)
+ override CFLAGS += -I../include
+ LDLIBS += -L../src -lselinux -lattr
+
diff --git a/sys-libs/libselinux/libselinux-1.1.ebuild b/sys-libs/libselinux/libselinux-1.1.ebuild
new file mode 100644
index 000000000000..cc06e23aefb2
--- /dev/null
+++ b/sys-libs/libselinux/libselinux-1.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-1.1.ebuild,v 1.1 2003/08/14 15:28:31 pebenito Exp $
+
+IUSE=""
+
+DESCRIPTION="SELinux library (libselinux)"
+HOMEPAGE="http://www.nsa.gov/selinux"
+SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+
+DEPEND="virtual/glibc
+ !sys-apps/selinux-small
+ sys-apps/attr"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
+src_compile() {
+ cd ${S}/src
+ emake EXTRA_CFLAGS="${CFLAGS}"
+
+ cd ${S}/utils
+ emake EXTRA_CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ make DESTDIR="${D}" install
+}
+