From 87a8fcfefacd46bdc12099c4e2db4a7f59306839 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sun, 4 Aug 2019 16:15:52 +0200 Subject: [PATCH] libsepol: initial commit --- libsepol/.footprint | 70 +++++++++++++++++++++++++++++++++++++++++++++ libsepol/.md5sum | 1 + libsepol/.signature | 5 ++++ libsepol/Pkgfile | 16 +++++++++++ 4 files changed, 92 insertions(+) create mode 100644 libsepol/.footprint create mode 100644 libsepol/.md5sum create mode 100644 libsepol/.signature create mode 100644 libsepol/Pkgfile diff --git a/libsepol/.footprint b/libsepol/.footprint new file mode 100644 index 000000000..89e5f7636 --- /dev/null +++ b/libsepol/.footprint @@ -0,0 +1,70 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/chkcon +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/sepol/ +-rw-r--r-- root/root usr/include/sepol/boolean_record.h +-rw-r--r-- root/root usr/include/sepol/booleans.h +drwxr-xr-x root/root usr/include/sepol/cil/ +-rw-r--r-- root/root usr/include/sepol/cil/cil.h +-rw-r--r-- root/root usr/include/sepol/context.h +-rw-r--r-- root/root usr/include/sepol/context_record.h +-rw-r--r-- root/root usr/include/sepol/debug.h +-rw-r--r-- root/root usr/include/sepol/errcodes.h +-rw-r--r-- root/root usr/include/sepol/handle.h +-rw-r--r-- root/root usr/include/sepol/ibendport_record.h +-rw-r--r-- root/root usr/include/sepol/ibendports.h +-rw-r--r-- root/root usr/include/sepol/ibpkey_record.h +-rw-r--r-- root/root usr/include/sepol/ibpkeys.h +-rw-r--r-- root/root usr/include/sepol/iface_record.h +-rw-r--r-- root/root usr/include/sepol/interfaces.h +-rw-r--r-- root/root usr/include/sepol/kernel_to_cil.h +-rw-r--r-- root/root usr/include/sepol/kernel_to_conf.h +-rw-r--r-- root/root usr/include/sepol/module.h +-rw-r--r-- root/root usr/include/sepol/module_to_cil.h +-rw-r--r-- root/root usr/include/sepol/node_record.h +-rw-r--r-- root/root usr/include/sepol/nodes.h +-rw-r--r-- root/root usr/include/sepol/policydb.h +drwxr-xr-x root/root usr/include/sepol/policydb/ +-rw-r--r-- root/root usr/include/sepol/policydb/avrule_block.h +-rw-r--r-- root/root usr/include/sepol/policydb/avtab.h +-rw-r--r-- root/root usr/include/sepol/policydb/conditional.h +-rw-r--r-- root/root usr/include/sepol/policydb/constraint.h +-rw-r--r-- root/root usr/include/sepol/policydb/context.h +-rw-r--r-- root/root usr/include/sepol/policydb/ebitmap.h +-rw-r--r-- root/root usr/include/sepol/policydb/expand.h +-rw-r--r-- root/root usr/include/sepol/policydb/flask.h +-rw-r--r-- root/root usr/include/sepol/policydb/flask_types.h +-rw-r--r-- root/root usr/include/sepol/policydb/hashtab.h +-rw-r--r-- root/root usr/include/sepol/policydb/hierarchy.h +-rw-r--r-- root/root usr/include/sepol/policydb/link.h +-rw-r--r-- root/root usr/include/sepol/policydb/mls_types.h +-rw-r--r-- root/root usr/include/sepol/policydb/module.h +-rw-r--r-- root/root usr/include/sepol/policydb/polcaps.h +-rw-r--r-- root/root usr/include/sepol/policydb/policydb.h +-rw-r--r-- root/root usr/include/sepol/policydb/services.h +-rw-r--r-- root/root usr/include/sepol/policydb/sidtab.h +-rw-r--r-- root/root usr/include/sepol/policydb/symtab.h +-rw-r--r-- root/root usr/include/sepol/policydb/util.h +-rw-r--r-- root/root usr/include/sepol/port_record.h +-rw-r--r-- root/root usr/include/sepol/ports.h +-rw-r--r-- root/root usr/include/sepol/roles.h +-rw-r--r-- root/root usr/include/sepol/sepol.h +-rw-r--r-- root/root usr/include/sepol/user_record.h +-rw-r--r-- root/root usr/include/sepol/users.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libsepol.a +lrwxrwxrwx root/root usr/lib/libsepol.so -> libsepol.so.1 +-rwxr-xr-x root/root usr/lib/libsepol.so.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libsepol.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man3/ +-rw-r--r-- root/root usr/share/man/man3/sepol_check_context.3.gz +-rw-r--r-- root/root usr/share/man/man3/sepol_genbools.3.gz +-rw-r--r-- root/root usr/share/man/man3/sepol_genusers.3.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/chkcon.8.gz +-rw-r--r-- root/root usr/share/man/man8/genpolbools.8.gz +-rw-r--r-- root/root usr/share/man/man8/genpolusers.8.gz diff --git a/libsepol/.md5sum b/libsepol/.md5sum new file mode 100644 index 000000000..901a98b53 --- /dev/null +++ b/libsepol/.md5sum @@ -0,0 +1 @@ +2fdefe870a61424d8f2d5d37551c6259 libsepol-2.9.tar.gz diff --git a/libsepol/.signature b/libsepol/.signature new file mode 100644 index 000000000..98bd9364a --- /dev/null +++ b/libsepol/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF35GGs2J66ebLEFt/CvNtUJps73OteEUc1PpjPABZDYGkOts4d1kgPMUkjwPo/N4lkxoC6Dc073MCIxbLd/Pcbg4= +SHA256 (Pkgfile) = 52fda08b1ff4edf378b24ddb2565b4dae33b9928f41fb9c0fc599380fd71d528 +SHA256 (.footprint) = e64e6b1918645863171fc29f2617679a02d17c4b7cd183cf7088fa9df28d92f6 +SHA256 (libsepol-2.9.tar.gz) = a34b12b038d121e3e459b1cbaca3c9202e983137819c16baf63658390e3f1d5d diff --git a/libsepol/Pkgfile b/libsepol/Pkgfile new file mode 100644 index 000000000..36eafd5b1 --- /dev/null +++ b/libsepol/Pkgfile @@ -0,0 +1,16 @@ +# Description: SELinux binary policy manipulation librarys +# URL: http://userspace.selinuxproject.org +# Maintainer: Tim Biermann, tbier at posteo dot de + +name=libsepol +version=2.9 +release=1 +source=(https://github.com/SELinuxProject/selinux/releases/download/20190315/$name-$version.tar.gz) + +build() { + cd $name-$version + make + make DESTDIR=$PKG SHLIBDIR=/usr/lib install + + rm -r $PKG/usr/share/man/ru +}