mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
sys-apps/restorecond: bump to 3.0_rc2
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Jason Zaman <perfinion@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST restorecond-2.8.tar.gz 17740 BLAKE2B ad873acbbb7c56c29a8523a42dc053ea79036a15bed71b47a690d01d4012394b5ecf74ae75b27affb4007d754935ec90246f22ef3e0b9611556ec7baf59670db SHA512 5d72336782c3ad095746f8e6fa67e36448e5e76ca29586d8fe4962c64e505fa95c1458e8fc8f7d5bd589fff71b4be3758fb0cee3dacd2ccd0bc8476423e2540e
|
||||
DIST restorecond-2.9.tar.gz 18893 BLAKE2B fcdae1a4ec489f3f581212cdd3c13c5561feac3ee758f354dca75c97938c62b9ed04aedbd4b3b5cde09a5887247389262718145620d0b9749e364d1614f57241 SHA512 6de9dd4c6b8e5d8275221aba5df27437998f635cfe83a5da75de479e260ceea884a36253eb873a8d71e1a77ed67544d8657fb75fe409af1f630052ce73ec5d8a
|
||||
DIST restorecond-3.0-rc2.tar.gz 18794 BLAKE2B d95770e846a1541d601a20c7f27cb8464781942beeab2b700ae10aa88003d4b36bb20ac5d5a005dd8cd0e247cdcb84ab1c77e9e2f0e0d4389202640745b660e0 SHA512 b27483f286cbb9b1ac14e867f37afe555dd50c3f69559013f806113ecea7d4771db4c5585caaae68b6b489d0c794ad7c2f0ba3d94ed7d9cc8c13eadc7802fb45
|
||||
|
||||
55
sys-apps/restorecond/restorecond-3.0_rc2.ebuild
Normal file
55
sys-apps/restorecond/restorecond-3.0_rc2.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_RELEASEDATE="20191122"
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
IUSE=""
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
|
||||
S="${WORKDIR}/${MY_P}/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Daemon to watch for creation and set default SELinux fcontexts"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=sys-libs/libsepol-${PV}:=
|
||||
>=sys-libs/libselinux-${PV}:=
|
||||
dev-libs/dbus-glib
|
||||
dev-libs/libpcre:=
|
||||
>=sys-libs/libcap-1.10-r10:="
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/policycoreutils-2.7_pre"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i 's/-Werror//g' "${S}"/Makefile || die "Failed to remove Werror"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
rm -rf "${D}/etc/rc.d" || die
|
||||
|
||||
newinitd "${FILESDIR}/restorecond.init" restorecond
|
||||
}
|
||||
Reference in New Issue
Block a user