mirror of
https://github.com/KenjiBrown/without-systemd.git
synced 2026-04-07 05:00:05 -04:00
sys-apps/tmpfilesd-0.1.2
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
AUX tmpfilesd-clean 51 BLAKE2B 7d27a24f9f46a297436b244d10ba5ed684d956437e03f191eb842ce7b7c47258f4d4eded090710c1c49b8e9f605dfe48188efaf579821c8ee4ba2a3ee0676674 SHA512 86ead978377868c02bc4c615299febbd96f4c80f3e0f67b2ee73fd3ca66488240c85e585bb9efc6392f3bd7edf1bf0ba76db18a0fe2ec645a71790b7df3d4251
|
||||
AUX tmpfilesd-dev.initd 326 BLAKE2B 26bdb25b009e5dc827ffe7bac8cedbbeec769fe5cafb548ee3954cff9aa9c0e929a3016e46ae9031e3f41c36a383b8e1fbc41ef2fef8ba982d0fded4376dacaa SHA512 aa071f44c059b3e91991de06a33117ce06cbbedd4b743481c19815fd4279019422790b642ca41ff08240cef11e42c3b16d20984c31a47bff62d0e75ed6dee600
|
||||
AUX tmpfilesd-setup.initd 309 BLAKE2B d1826d2ef6e8ac0e189ec5bc352d435b34aa1b7052b73bea214260da839f40d27aacb9181d423ef0ba73c47b7719af26baf34921dea9794b8174882d104805c8 SHA512 290e786fa684c148ba24b7768c611e55c8992462064bbeffc6fd5e71045bb67ab61e67c6e175c58478a35dcb6020990179060aecbeb9bea0458bde7be3c30d80
|
||||
EBUILD tmpfilesd-9999.ebuild 2050 BLAKE2B 5f3fdeeb6de957eceb74300a1ffe0134f4cda0a787d2a9f124a718a2080b91ffa979d51afebf0dc50d1c9aaa4a4873f14c59ed49168bb4844654ed375948e47c SHA512 05d3bb8d00a72820fb24eaf6a4cd5f3b965ff1641f480ffe62aed5d0d380fc973793a084cca062fc5b150dfa51c21af4d825bd5a333b1c5bcf64f50f9294530e
|
||||
DIST tmpfilesd-0.1.0.tar.gz 16594 BLAKE2B 191e6e5f5491ffba5a951b64d3b8f1c63c90be3d399933c6c568b966e56a6f25246df87d158981744ca4d1f0257ce000e857a56166a07cf29d11a02121c91926 SHA512 9797baac4ebad9902687b547c1bbccb3394f328aa5ff79a450d8222de0cdc42c9c6c73fd9dff7a0e065a993fcd36d6245c62a046131440e9ce762a15f927b806
|
||||
DIST tmpfilesd-0.1.1.tar.gz 21644 BLAKE2B b97e977ae6a4130ddcd986a96f2f81b45d5e3c0913626d7ce4a38b0dbba6bde4c640491ca18badc17fa9636337965bae2284d2c0637671cdd3e2197f03aefe7e SHA512 fbe4d6e193d7eb82a3e0f227d79c580b1564d36bcdd37ccd9a4e2ee07bfcfcf16b2bbf2adab5abc99701258af00318323680a851c4e836fa7358efb0afe276da
|
||||
DIST tmpfilesd-0.1.2.tar.gz 22174 BLAKE2B f30a27e14341e14464f04912bfdf84b4f726ec0e1616cd6d9d0f6dffa86f92bc6a0bed66e17fb82cf78b8c204cca0a441aa8c6fef6d35664bb6dc6ab629c7c53 SHA512 3227f33d165ce07887ce25176ef1a801e50cdb8666aa053bb99d20c280e4448046af3373d4b7f177183d0f489cc41746b3c1e8fabe3ca8b96e708d9c88e7d2cf
|
||||
EBUILD tmpfilesd-0.1.0.ebuild 2188 BLAKE2B d1d4a67558ed1e58fc8fc3d16a62917ac0773e50e8ac713c1ebeedc003bacbab818b3ff2731707e52acc5b34d586e946798e28ebda82b723b081e6477711cc57 SHA512 b65085397f2b5dc328f1d6556ea19f41e3ae212ab0af30ee4ac0b1eff1991abb5ef5a02f2e9f51111fc5661fa7d3edeaf55841ade2129cb313b3866a2c790fe4
|
||||
EBUILD tmpfilesd-0.1.1.ebuild 1522 BLAKE2B 84552bb252cd0dfdbdaf01694ea62695a28eb4610ae841ebb22644518723857a1614b6b98b7bd13733172ab2e449cce9e189a6472162da78d5ded00c023836ac SHA512 ba192635ab6e96ad74d67452f21057f658afb8ac5f9002b3861d12177ad33b40d53de10ac0fb2fea2573e5c9a03472c82b8b089a43338f5667a49c64f410c237
|
||||
EBUILD tmpfilesd-0.1.2.ebuild 1522 BLAKE2B 84552bb252cd0dfdbdaf01694ea62695a28eb4610ae841ebb22644518723857a1614b6b98b7bd13733172ab2e449cce9e189a6472162da78d5ded00c023836ac SHA512 ba192635ab6e96ad74d67452f21057f658afb8ac5f9002b3861d12177ad33b40d53de10ac0fb2fea2573e5c9a03472c82b8b089a43338f5667a49c64f410c237
|
||||
EBUILD tmpfilesd-9999.ebuild 1522 BLAKE2B 84552bb252cd0dfdbdaf01694ea62695a28eb4610ae841ebb22644518723857a1614b6b98b7bd13733172ab2e449cce9e189a6472162da78d5ded00c023836ac SHA512 ba192635ab6e96ad74d67452f21057f658afb8ac5f9002b3861d12177ad33b40d53de10ac0fb2fea2573e5c9a03472c82b8b089a43338f5667a49c64f410c237
|
||||
MISC metadata.xml 338 BLAKE2B 924465e40fbfba90989180d6b963eeb53c84dffe507da0cdb6f8274917b4392299ebbe910c7772c4baf07200816a72ad5168e9142cc23ea6ab27a008130e7ce4 SHA512 191c4613d18a73a3cb89e33ee0986c6a1479f4dd8d7ed6a476fe8bd32a9eef6a6e0e1572969e31a752ce4105434519f2b205ddcfac2811e3beaacebfcef4988b
|
||||
|
||||
72
sys-apps/tmpfilesd/tmpfilesd-0.1.0.ebuild
Normal file
72
sys-apps/tmpfilesd/tmpfilesd-0.1.0.ebuild
Normal file
@@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit tmpfiles
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/juur/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/juur/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="systemd-tmpfiles replacement; includes support for sysvinit style enviroments"
|
||||
HOMEPAGE="https://github.com/juur/tmpfilesd"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "/tmpfiles-d/d" Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --bindir="${EPREFIX}"/bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
einstalldocs
|
||||
cd misc
|
||||
dotmpfiles tmpfiles-d/etc.conf # Sets /etc/localtime to UTC
|
||||
dotmpfiles tmpfiles-d/legacy.conf # Not sure if this is needed
|
||||
dotmpfiles tmpfiles-d/sap.conf # harmless if not using sap; Consider USE=sap
|
||||
#dotmpfiles tmpfiles-d/systemd-nologin.conf # should be provided by systemd
|
||||
#dotmpfiles tmpfiles-d/systemd.conf # should be provided by systemd
|
||||
dotmpfiles tmpfiles-d/tmp.conf # harmless
|
||||
dotmpfiles tmpfiles-d/var.conf # changed permissions should be investigated
|
||||
dotmpfiles tmpfiles-d/x11.conf # Xorg creates these. Consider USE=X
|
||||
exeinto /etc/cron.daily
|
||||
doexe "${FILESDIR}"/tmpfilesd-clean
|
||||
for f in tmpfilesd-dev tmpfilesd-setup; do
|
||||
newconfd tmpfilesd.sysconfig ${f}
|
||||
newinitd "${FILESDIR}/${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() {
|
||||
tmpfiles_process etc.conf
|
||||
tmpfiles_process legacy.conf
|
||||
tmpfiles_process sap.conf
|
||||
#tmpfiles_process systemd-nologin.conf # should be provided by systemd
|
||||
#tmpfiles_process systemd.conf # should be provided by systemd
|
||||
tmpfiles_process tmp.conf
|
||||
tmpfiles_process var.conf
|
||||
tmpfiles_process x11.conf
|
||||
if [[ -z $REPLACING_VERSIONS ]]; then
|
||||
add_service tmpfilesd-dev sysinit
|
||||
add_service tmpfilesd-setup boot
|
||||
fi
|
||||
}
|
||||
60
sys-apps/tmpfilesd/tmpfilesd-0.1.1.ebuild
Normal file
60
sys-apps/tmpfilesd/tmpfilesd-0.1.1.ebuild
Normal file
@@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit tmpfiles
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/juur/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/juur/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="systemd-tmpfiles replacement; includes support for sysvinit style enviroments"
|
||||
HOMEPAGE="https://github.com/juur/tmpfilesd"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "/tmpfiles-d/d" Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --bindir="${EPREFIX}"/bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
einstalldocs
|
||||
cd misc
|
||||
dotmpfiles tmpfiles-d/tmp.conf # harmless
|
||||
dotmpfiles tmpfiles-d/var.conf # changed permissions should be investigated
|
||||
exeinto /etc/cron.daily
|
||||
doexe "${FILESDIR}"/tmpfilesd-clean
|
||||
for f in tmpfilesd-dev tmpfilesd-setup; do
|
||||
newconfd tmpfilesd.sysconfig ${f}
|
||||
newinitd "${FILESDIR}/${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() {
|
||||
tmpfiles_process tmp.conf
|
||||
tmpfiles_process var.conf
|
||||
if [[ -z $REPLACING_VERSIONS ]]; then
|
||||
add_service tmpfilesd-dev sysinit
|
||||
add_service tmpfilesd-setup boot
|
||||
fi
|
||||
}
|
||||
60
sys-apps/tmpfilesd/tmpfilesd-0.1.2.ebuild
Normal file
60
sys-apps/tmpfilesd/tmpfilesd-0.1.2.ebuild
Normal file
@@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit tmpfiles
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/juur/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/juur/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="systemd-tmpfiles replacement; includes support for sysvinit style enviroments"
|
||||
HOMEPAGE="https://github.com/juur/tmpfilesd"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "/tmpfiles-d/d" Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --bindir="${EPREFIX}"/bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
einstalldocs
|
||||
cd misc
|
||||
dotmpfiles tmpfiles-d/tmp.conf # harmless
|
||||
dotmpfiles tmpfiles-d/var.conf # changed permissions should be investigated
|
||||
exeinto /etc/cron.daily
|
||||
doexe "${FILESDIR}"/tmpfilesd-clean
|
||||
for f in tmpfilesd-dev tmpfilesd-setup; do
|
||||
newconfd tmpfilesd.sysconfig ${f}
|
||||
newinitd "${FILESDIR}/${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() {
|
||||
tmpfiles_process tmp.conf
|
||||
tmpfiles_process var.conf
|
||||
if [[ -z $REPLACING_VERSIONS ]]; then
|
||||
add_service tmpfilesd-dev sysinit
|
||||
add_service tmpfilesd-setup boot
|
||||
fi
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -7,6 +7,9 @@ inherit tmpfiles
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/juur/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/juur/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="systemd-tmpfiles replacement; includes support for sysvinit style enviroments"
|
||||
@@ -28,14 +31,8 @@ src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
einstalldocs
|
||||
cd misc
|
||||
dotmpfiles tmpfiles-d/etc.conf # Sets /etc/localtime to UTC
|
||||
dotmpfiles tmpfiles-d/legacy.conf # Not sure if this is needed
|
||||
dotmpfiles tmpfiles-d/sap.conf # harmless if not using sap; Consider USE=sap
|
||||
#dotmpfiles tmpfiles-d/systemd-nologin.conf # should be provided by systemd
|
||||
#dotmpfiles tmpfiles-d/systemd.conf # should be provided by systemd
|
||||
#dotmpfiles tmpfiles-d/tmp.conf # should be provided by systemd
|
||||
dotmpfiles tmpfiles-d/tmp.conf # harmless
|
||||
dotmpfiles tmpfiles-d/var.conf # changed permissions should be investigated
|
||||
dotmpfiles tmpfiles-d/x11.conf # Xorg creates these. Consider USE=X
|
||||
exeinto /etc/cron.daily
|
||||
doexe "${FILESDIR}"/tmpfilesd-clean
|
||||
for f in tmpfilesd-dev tmpfilesd-setup; do
|
||||
@@ -54,14 +51,8 @@ add_service() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process etc.conf
|
||||
tmpfiles_process legacy.conf
|
||||
tmpfiles_process sap.conf
|
||||
#tmpfiles_process systemd-nologin.conf # should be provided by systemd
|
||||
#tmpfiles_process systemd.conf # should be provided by systemd
|
||||
#tmpfiles_process tmp.conf # should be provided by systemd
|
||||
tmpfiles_process tmp.conf
|
||||
tmpfiles_process var.conf
|
||||
tmpfiles_process x11.conf
|
||||
if [[ -z $REPLACING_VERSIONS ]]; then
|
||||
add_service tmpfilesd-dev sysinit
|
||||
add_service tmpfilesd-setup boot
|
||||
|
||||
Reference in New Issue
Block a user