mirror of
https://github.com/KenjiBrown/without-systemd.git
synced 2026-04-07 02:20:05 -04:00
sys-apps/hardenedtmpfiles-0.5 version bump
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
DIST hardenedtmpfiles-0.4.tar.gz 7651 BLAKE2B 3e2c31c125d0dc6d24f79ae4a341029743894aca688b5d8435083b4028b37ac67fa93349d10697ea3bf088e96c9fb73de0ba338a5d8ad84de3279fd12763a7fc SHA512 93847188a178b233c068a70d0a1974110f1496bb1b22618106cc95479774650665bd8f73e9fd366c7dd946c0fceec0de2cecfbde2e0518292cf9a037db0f2b5a
|
||||
DIST hardenedtmpfiles-0.5.tar.gz 8086 BLAKE2B 97f103f93808d2c3fb32fcda1bd06c9d57deb33854ef86e9ea38f92aa0ca85d0ef902c8b0728c4ef21fd5efe49f5a7e72650449c052cd29e9f8a5f74516f9a82 SHA512 5939f06b87fce73c1f3c8dbca2be6e0f4e8399e450eda239d01f6c8b464cc88ebf98abfbcb01aa20451b48ba1784b592b57318a057b17a42a41f7226d5585337
|
||||
EBUILD hardenedtmpfiles-0.4.ebuild 1423 BLAKE2B c95f13e2e388d53afea16892f3e418264e5d4c7ebada215f4197357ebba9fdcb12d2ce065c2d4a122636d62fb143eefce2c642cd2681e2746302c2a54190e93d SHA512 ce71321fc10f54d4d76818371207fa7848e84e7d9b3557f5ff927c1e967c315c411ba8a38fb0c4fbeff7f2485527ec10dc7669346c17cdb31d689a81679072e7
|
||||
EBUILD hardenedtmpfiles-0.5.ebuild 1423 BLAKE2B c95f13e2e388d53afea16892f3e418264e5d4c7ebada215f4197357ebba9fdcb12d2ce065c2d4a122636d62fb143eefce2c642cd2681e2746302c2a54190e93d SHA512 ce71321fc10f54d4d76818371207fa7848e84e7d9b3557f5ff927c1e967c315c411ba8a38fb0c4fbeff7f2485527ec10dc7669346c17cdb31d689a81679072e7
|
||||
MISC metadata.xml 351 BLAKE2B 758c1e90d003145d7f5a3eaadc796d1e9de90ee5296b8101011cbfe3a8bf7db3dc661b30d7cc24a054f591db32314fb084bde072e98f8bf4d9ed50d727436937 SHA512 ef87ae06ae87b0d08a54a263de575bdac3b74296385a43d3eee483640cb194b30df1d9d56a884ca5b9a31e61af0c215a0921a8bea9c83ef9120bf064c3d8568a
|
||||
|
||||
55
sys-apps/hardenedtmpfiles/hardenedtmpfiles-0.5.ebuild
Normal file
55
sys-apps/hardenedtmpfiles/hardenedtmpfiles-0.5.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit prefix
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/KenjiBrown/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/KenjiBrown/${PN}/archive/${PV}.tar.gz ->
|
||||
${P}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A standalone utility to process systemd-style tmpfiles.d files"
|
||||
HOMEPAGE="https://github.com/KenjiBrown/hardenedtmpfiles"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="!<sys-apps/openrc-0.23
|
||||
!sys-apps/opentmpfiles
|
||||
selinux? ( sec-policy/selinux-base-policy )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
hprefixify tmpfiles
|
||||
}
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
einstalldocs
|
||||
cd openrc
|
||||
for f in opentmpfiles-dev opentmpfiles-setup; do
|
||||
newconfd ${f}.confd ${f}
|
||||
newinitd ${f}.initd ${f}
|
||||
done
|
||||
}
|
||||
|
||||
add_service() {
|
||||
local initd=$1
|
||||
local runlevel=$2
|
||||
|
||||
elog "Auto-adding '${initd}' service to your ${runlevel} runlevel"
|
||||
mkdir -p "${EROOT}"etc/runlevels/${runlevel}
|
||||
ln -snf /etc/init.d/${initd} "${EROOT}"etc/runlevels/${runlevel}/${initd}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z $REPLACING_VERSIONS ]]; then
|
||||
add_service opentmpfiles-dev sysinit
|
||||
add_service opentmpfiles-setup boot
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user