aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libselinux
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2018-12-16 20:56:39 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2018-12-16 20:56:39 +0000
commitffb345fd5e1f91b0e82aa379b98acd3e23afd4f9 (patch)
tree616625c6559f7bb659edadc7d6b690bae0ee9ca4 /testing/libselinux
parent2ee5e8ffbbdd4c5860017bb77d02c92bf347992d (diff)
downloadaports-ffb345fd5e1f91b0e82aa379b98acd3e23afd4f9.tar.bz2
aports-ffb345fd5e1f91b0e82aa379b98acd3e23afd4f9.tar.xz
testing/libselinux: move to community
Diffstat (limited to 'testing/libselinux')
-rw-r--r--testing/libselinux/0001-libselinux-allow-link-with-lfts.patch40
-rw-r--r--testing/libselinux/APKBUILD36
2 files changed, 0 insertions, 76 deletions
diff --git a/testing/libselinux/0001-libselinux-allow-link-with-lfts.patch b/testing/libselinux/0001-libselinux-allow-link-with-lfts.patch
deleted file mode 100644
index 744bc4222a..0000000000
--- a/testing/libselinux/0001-libselinux-allow-link-with-lfts.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 79e346397327277ab793868e2f9d4a29525b6bf3 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Tue, 21 Feb 2017 19:50:18 +0100
-Subject: [PATCH] libselinux: allow link with -lfts
-
-This makes it possible to build libselinux with the external libtfs for
-systems which does not implement the non-standard fts. For example musl
-libc.
-
- make FTS_LDFLAGS=-lfts
-
-Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
----
- libselinux/src/Makefile | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile
-index 5640a57..513a9e7 100644
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -92,6 +92,7 @@ LD_SONAME_FLAGS=-install_name,$(LIBSO)
- endif
-
- PCRE_LDFLAGS ?= -lpcre
-+FTS_LDFLAGS ?=
-
- override CFLAGS += -I../include -I$(INCLUDEDIR) -D_GNU_SOURCE $(DISABLE_FLAGS) $(PCRE_CFLAGS)
-
-@@ -143,7 +144,7 @@ $(LIBA): $(OBJS)
- $(RANLIB) $@
-
- $(LIBSO): $(LOBJS)
-- $(CC) $(CFLAGS) -shared -o $@ $^ $(PCRE_LDFLAGS) -ldl $(LDFLAGS) -L$(LIBDIR) -Wl,$(LD_SONAME_FLAGS)
-+ $(CC) $(CFLAGS) -shared -o $@ $^ $(PCRE_LDFLAGS) $(FTS_LDFLAGS) -ldl $(LDFLAGS) -L$(LIBDIR) -Wl,$(LD_SONAME_FLAGS)
- ln -sf $@ $(TARGET)
-
- $(LIBPC): $(LIBPC).in ../VERSION
---
-2.11.1
-
diff --git a/testing/libselinux/APKBUILD b/testing/libselinux/APKBUILD
deleted file mode 100644
index 6e70975b29..0000000000
--- a/testing/libselinux/APKBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=libselinux
-pkgver=2.6
-pkgrel=1
-pkgdesc="SELinux library and simple utilities"
-url="https://github.com/SELinuxProject/selinux/wiki"
-arch="all"
-license="Public-Domain"
-depends=""
-depends_dev=""
-# we need coreutils for ln --relative
-makedepends="$depends_dev pcre-dev linux-headers libsepol-dev fts-dev coreutils"
-install=""
-subpackages="$pkgname-dev $pkgname-doc $pkgname-utils"
-source="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014/libselinux-$pkgver.tar.gz
- "
-
-builddir="$srcdir/libselinux-$pkgver"
-
-build() {
- cd "$builddir"
- make PCRE_LDFLAGS="-lpcre -lfts" || return 1
-}
-
-package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
-}
-
-utils() {
- pkgdesc="SELinux libselinux utilies"
- mkdir -p "$subpkgdir"/usr
- mv "$pkgdir"/usr/sbin "$subpkgdir"/usr/
-}
-
-sha512sums="906e1bf98c669862ab4f4e883d511db8d739a5763dc857c9405ad3cc6c70766a482853d07134698a1a98257a8632cc756d0549a7640c2915d051714f502ff14b libselinux-2.6.tar.gz"