diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2003-08-04 04:19:33 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2003-08-04 04:19:33 +0000 |
commit | 5d62449ffd5f16c2070622fda827e4a1d269f541 (patch) | |
tree | 2818b65772b97782ca8c5ddb1f2f84c1e2640794 | |
parent | initial commit (diff) | |
download | gentoo-2-5d62449ffd5f16c2070622fda827e4a1d269f541.tar.gz gentoo-2-5d62449ffd5f16c2070622fda827e4a1d269f541.tar.bz2 gentoo-2-5d62449ffd5f16c2070622fda827e4a1d269f541.zip |
initial commit
-rw-r--r-- | sys-libs/libselinux/ChangeLog | 10 | ||||
-rw-r--r-- | sys-libs/libselinux/Manifest | 5 | ||||
-rw-r--r-- | sys-libs/libselinux/files/digest-libselinux-1.0 | 1 | ||||
-rw-r--r-- | sys-libs/libselinux/files/libselinux-1.0-gentoo.diff | 36 | ||||
-rw-r--r-- | sys-libs/libselinux/libselinux-1.0.ebuild | 38 | ||||
-rw-r--r-- | sys-libs/libselinux/metadata.xml | 9 |
6 files changed, 98 insertions, 1 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog new file mode 100644 index 000000000000..7d30a2482e54 --- /dev/null +++ b/sys-libs/libselinux/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2003/08/04 04:19:16 pebenito Exp $ + +*libselinux-1.0 (03 Aug 2003) + + 03 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild, + metadata.xml, files/libselinux-1.0-gentoo.diff: + Initial commit + diff --git a/sys-libs/libselinux/Manifest b/sys-libs/libselinux/Manifest index 64c03295ca41..7080c6dae6cb 100644 --- a/sys-libs/libselinux/Manifest +++ b/sys-libs/libselinux/Manifest @@ -1,2 +1,5 @@ -MD5 5ae237cc290686460abe2cfa58cbe564 libselinux-1.0.ebuild 1066 +MD5 717f87e8763e0467b99cf5568fd27f91 libselinux-1.0.ebuild 746 +MD5 36bf0405b9d81999a4c53df2e5b6c748 metadata.xml 270 +MD5 78302725e325e2da99beeb1ede503b67 ChangeLog 396 MD5 fa6cb6d507ae7a7c1b4ccc7e673d37cc files/digest-libselinux-1.0 62 +MD5 ee2480e816c5fb6bdc78e94cf0a4d1f5 files/libselinux-1.0-gentoo.diff 1242 diff --git a/sys-libs/libselinux/files/digest-libselinux-1.0 b/sys-libs/libselinux/files/digest-libselinux-1.0 new file mode 100644 index 000000000000..a81daf3114e8 --- /dev/null +++ b/sys-libs/libselinux/files/digest-libselinux-1.0 @@ -0,0 +1 @@ +MD5 8674a0f54e155573f1d7867b2c1e5564 libselinux-1.0.tgz 22466 diff --git a/sys-libs/libselinux/files/libselinux-1.0-gentoo.diff b/sys-libs/libselinux/files/libselinux-1.0-gentoo.diff new file mode 100644 index 000000000000..5685fa0273ae --- /dev/null +++ b/sys-libs/libselinux/files/libselinux-1.0-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.0.ebuild b/sys-libs/libselinux/libselinux-1.0.ebuild new file mode 100644 index 000000000000..9fd47ce4d8bb --- /dev/null +++ b/sys-libs/libselinux/libselinux-1.0.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.0.ebuild,v 1.1 2003/08/04 04:19:16 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 +} + diff --git a/sys-libs/libselinux/metadata.xml b/sys-libs/libselinux/metadata.xml new file mode 100644 index 000000000000..6b1fc4d87ba1 --- /dev/null +++ b/sys-libs/libselinux/metadata.xml @@ -0,0 +1,9 @@ +<pkgmetadata> +<herd>hardened</herd> +<maintainer> + <email>pebenito@gentoo.org</email> + <name>Chris PeBenito</name> + <description>Primary Maintainer</description> +</maintainer> +<longdescription>Base required libraries for SELinux userland</longdescription> +</pkgmetadata> |