parent
f0c38bf894
commit
16e904eb3d
Binary file not shown.
Binary file not shown.
@ -0,0 +1,8 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
ACCT_GROUP_ID=46
|
@ -0,0 +1,8 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
ACCT_GROUP_ID=47
|
Binary file not shown.
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="A user for pcsc-lite"
|
||||||
|
ACCT_USER_ID=47
|
||||||
|
ACCT_USER_GROUPS=( pcscd openct )
|
||||||
|
|
||||||
|
acct-user_add_deps
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST keepassxc-2.4.3-src.tar.xz 3301944 BLAKE2B ba95d5d48049367e7d3c39b5fdc9fc9816dfe2b257530068f229d1b5bd4eb9c137607f63bcce0aac4bc67ed41ee00c0385be800720acfdc3920c44444cade180 SHA512 893f1d18ab8051143d29c568ba87adcc42a13d28d0c3a7af04396cd91d6724f8a98d76d2e20ca15138c4642ec060d48b9e957857251f3a0df6066af08cd0765d
|
DIST keepassxc-2.4.3-src.tar.xz 3301944 BLAKE2B ba95d5d48049367e7d3c39b5fdc9fc9816dfe2b257530068f229d1b5bd4eb9c137607f63bcce0aac4bc67ed41ee00c0385be800720acfdc3920c44444cade180 SHA512 893f1d18ab8051143d29c568ba87adcc42a13d28d0c3a7af04396cd91d6724f8a98d76d2e20ca15138c4642ec060d48b9e957857251f3a0df6066af08cd0765d
|
||||||
DIST keepassxc-2.5.0-src.tar.xz 6752776 BLAKE2B 90c82d6a3c8144797fc0cd379bbb7e6745cd4512a47bd04eb61b52205b6efe3ad8036a0f2c0012de4e710b6184526916ac4a4453bca90e18ccd9e6db1b86e9e3 SHA512 45f76491892ee5377eb803079ee6db2987d66e569c8c53ebc706cb51a4b8f37675801df484f03d486803de2675a3a46bed5d2b211ff7be0b83daf9c2f8607d00
|
|
||||||
DIST keepassxc-2.5.1-src.tar.xz 6798880 BLAKE2B 428b5fb381c4a4c6f3b291ac203530a0ed07224edc10f55caaab243797a6c89cafcd08a9dcfcfad1dda2f73812397a4d7d6e26ef675627f29f7d4d7925a1aeb4 SHA512 5500a0e697758e7616754d1b612ad7a64485d9efa1aeb0c3714060db50ffd39ea0aaa0c42d86d17044b834f32e99172ea94bc2485d396a381c8e9212d8be8b37
|
DIST keepassxc-2.5.1-src.tar.xz 6798880 BLAKE2B 428b5fb381c4a4c6f3b291ac203530a0ed07224edc10f55caaab243797a6c89cafcd08a9dcfcfad1dda2f73812397a4d7d6e26ef675627f29f7d4d7925a1aeb4 SHA512 5500a0e697758e7616754d1b612ad7a64485d9efa1aeb0c3714060db50ffd39ea0aaa0c42d86d17044b834f32e99172ea94bc2485d396a381c8e9212d8be8b37
|
||||||
|
DIST keepassxc-2.5.2-src.tar.xz 6835848 BLAKE2B 4c536ec062295655c04a360ba3c94ff97078aa03b96e5bb29e246f6ad13cce16ba77bcf5e7232de4df669706bc612f6b157e3050f0d8b9eb4b1f47e4308af0d0 SHA512 f87408362e5fbba10e2e66ff1cead2f8495214197e142c16cd3c95ea47956570b6cfc561d7b593c9a962f476637b8bd6b5e21e2fc3e4f20224506bd97d16bb23
|
||||||
|
@ -0,0 +1,30 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MY_PN="PackageKit-Qt"
|
||||||
|
MY_P=${MY_PN}-${PV}
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="Qt PackageKit backend library"
|
||||||
|
HOMEPAGE="https://www.freedesktop.org/software/PackageKit/"
|
||||||
|
SRC_URI="https://github.com/hughsie/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0/1"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
dev-libs/libxslt
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
>=app-admin/packagekit-base-0.9
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtdbus:5
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
@ -0,0 +1,77 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit eutils systemd unpacker user
|
||||||
|
|
||||||
|
DESCRIPTION="general puppet client utils along with hiera and facter"
|
||||||
|
HOMEPAGE="https://puppetlabs.com/"
|
||||||
|
SRC_BASE="http://apt.puppetlabs.com/pool/stretch/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1stretch"
|
||||||
|
SRC_URI="
|
||||||
|
amd64? ( ${SRC_BASE}_amd64.deb )
|
||||||
|
x86? ( ${SRC_BASE}_i386.deb )"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="puppetdb selinux"
|
||||||
|
RESTRICT="strip"
|
||||||
|
|
||||||
|
CDEPEND="!app-admin/puppet
|
||||||
|
!dev-ruby/hiera
|
||||||
|
!dev-ruby/facter
|
||||||
|
!app-emulation/virt-what"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
${CDEPEND}
|
||||||
|
app-admin/augeas"
|
||||||
|
RDEPEND="${CDEPEND}
|
||||||
|
app-portage/eix
|
||||||
|
sys-apps/dmidecode
|
||||||
|
sys-libs/glibc
|
||||||
|
sys-libs/readline:0/7
|
||||||
|
sys-libs/ncurses:0[tinfo]
|
||||||
|
selinux? (
|
||||||
|
sys-libs/libselinux[ruby]
|
||||||
|
sec-policy/selinux-puppet
|
||||||
|
)
|
||||||
|
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
|
||||||
|
|
||||||
|
S=${WORKDIR}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup puppet
|
||||||
|
enewuser puppet -1 -1 /var/run/puppet puppet
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# conf.d
|
||||||
|
doconfd etc/default/puppet
|
||||||
|
doconfd etc/default/pxp-agent
|
||||||
|
# logrotate.d
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
doins etc/logrotate.d/pxp-agent
|
||||||
|
# puppet itself
|
||||||
|
insinto /etc/puppetlabs
|
||||||
|
doins -r etc/puppetlabs/*
|
||||||
|
# logdir for systemd
|
||||||
|
dodir var/log/puppetlabs/puppet/
|
||||||
|
fperms 0750 var/log/puppetlabs/puppet/
|
||||||
|
# the rest
|
||||||
|
insinto /opt
|
||||||
|
dodir opt/puppetlabs/puppet/cache
|
||||||
|
doins -r opt/*
|
||||||
|
fperms 0750 /opt/puppetlabs/puppet/cache
|
||||||
|
# init
|
||||||
|
newinitd "${FILESDIR}/puppet.initd" puppet
|
||||||
|
systemd_dounit lib/systemd/system/puppet.service
|
||||||
|
systemd_dounit lib/systemd/system/pxp-agent.service
|
||||||
|
systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
|
||||||
|
# symlinks
|
||||||
|
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
||||||
|
chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
|
||||||
|
dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
|
||||||
|
dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
|
||||||
|
dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
|
||||||
|
dosym ../../opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
DIST sysklogd-1.5.1.tar.gz 90011 BLAKE2B c40bd8d5769f7d3d4141d602c74ac41e05a140743d18c4923d9368da7ba193ccb89a6837173994f0b7a9c290cc23f64513040434d7ab8df81b5d09b73b0263ad SHA512 a72196a1a172d25be1c4791ef6256fe71fa2ba8c1383d230e646e93f8a65c3a57c535189726325da4c792fdb2e9cb119bba43c878816a8e78e78189fd32b12b7
|
DIST sysklogd-1.5.1.tar.gz 90011 BLAKE2B c40bd8d5769f7d3d4141d602c74ac41e05a140743d18c4923d9368da7ba193ccb89a6837173994f0b7a9c290cc23f64513040434d7ab8df81b5d09b73b0263ad SHA512 a72196a1a172d25be1c4791ef6256fe71fa2ba8c1383d230e646e93f8a65c3a57c535189726325da4c792fdb2e9cb119bba43c878816a8e78e78189fd32b12b7
|
||||||
DIST sysklogd-2.0.2.tar.gz 465933 BLAKE2B bc0181e43ca5996cfbf8a8a35d083f332e15f5c83215ec60b406cefc7817bb742d0ce094d6c0d9fe708d345db630a73ce408992d9aade18e5b69414ca4e2b2a6 SHA512 1e5e30162b1091c37801542ae44df3e5d1da09ead02dd74f81e1e35ebb2fea99bab372f00eca621340ca306a41629ccdfb3caa0d46db0fecf46e3030da932473
|
|
||||||
DIST sysklogd-2.0.3.tar.gz 466919 BLAKE2B d9ada06dadb5a43ca7102cb24eaffa0494af2743f4714bab7d362cf480835ea9c3fc51ee171e4eb3b90380d63abe78c759bdfc5d946ec4d5bf8fce748cd916b9 SHA512 95ed0465e37b438d624b0a78d74c1194c57d117890492b5773c9ccefa7aa2c1f54ed510e54a29019fb2d7274200370031fe822a9316c154e64a2a01cb912d7a8
|
DIST sysklogd-2.0.3.tar.gz 466919 BLAKE2B d9ada06dadb5a43ca7102cb24eaffa0494af2743f4714bab7d362cf480835ea9c3fc51ee171e4eb3b90380d63abe78c759bdfc5d946ec4d5bf8fce748cd916b9 SHA512 95ed0465e37b438d624b0a78d74c1194c57d117890492b5773c9ccefa7aa2c1f54ed510e54a29019fb2d7274200370031fe822a9316c154e64a2a01cb912d7a8
|
||||||
|
DIST sysklogd-2.1.tar.gz 560611 BLAKE2B 727f78a639d88fd67b5fe6106534a10f9b37717b0675772346b07691481d7d5297963d54d3e36eae7cf14431e8429eaf0da1c551970c7a916f4e6c891c7ad70c SHA512 48fa0eed0013a9ff0a8bae0fe35bb82f46e012d3754da424bce0bcd339b4e016a1cbc93b134c02342f8da6e42721cdcdb3d28c3c71c571748d77a234460cb0c7
|
||||||
DIST sysklogd_1.5-6.diff.gz 25677 BLAKE2B 3cb1f596490998b6002d4656a2321a500ce9941a37737c0b9d4702bbb87d7bc9ba21b68e06d175e3c1714a701adc6b3312e18a556ebc9ef395d8968762830cb5 SHA512 816961a835a43057569f62fd20d9f7b5e0bfcfcb173b68947457708504db3ce47e635956c8a9564f9bd577d8f3c49dfc725d321dfd3370b2de918363c30f838e
|
DIST sysklogd_1.5-6.diff.gz 25677 BLAKE2B 3cb1f596490998b6002d4656a2321a500ce9941a37737c0b9d4702bbb87d7bc9ba21b68e06d175e3c1714a701adc6b3312e18a556ebc9ef395d8968762830cb5 SHA512 816961a835a43057569f62fd20d9f7b5e0bfcfcb173b68947457708504db3ce47e635956c8a9564f9bd577d8f3c49dfc725d321dfd3370b2de918363c30f838e
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
# Config file for /etc/init.d/sysklogd
|
||||||
|
|
||||||
|
SYSLOGD="-m 0 -s -s -r 10M:10"
|
@ -0,0 +1,20 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||||
|
|
||||||
|
extra_started_commands="reload"
|
||||||
|
pidfile="/run/${RC_SVCNAME}.pid"
|
||||||
|
command="/usr/sbin/syslogd"
|
||||||
|
command_background="true"
|
||||||
|
command_args="-F ${SYSLOGD}"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need clock hostname
|
||||||
|
provide logger
|
||||||
|
}
|
||||||
|
|
||||||
|
reload() {
|
||||||
|
ebegin "Reloading configuration"
|
||||||
|
start-stop-daemon --signal HUP --pidfile ${pidfile}
|
||||||
|
eend $?
|
||||||
|
}
|
@ -1,94 +0,0 @@
|
|||||||
#!/sbin/openrc-run
|
|
||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
|
||||||
|
|
||||||
extra_started_commands="reload"
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
need clock hostname
|
|
||||||
provide logger
|
|
||||||
}
|
|
||||||
|
|
||||||
has_klogd() {
|
|
||||||
[ -x "/usr/sbin/klogd" ]
|
|
||||||
}
|
|
||||||
|
|
||||||
start_daemon() {
|
|
||||||
local retval=0
|
|
||||||
local daemon="$1"
|
|
||||||
local options="$2"
|
|
||||||
local fg_opt=""
|
|
||||||
|
|
||||||
case "${daemon}" in
|
|
||||||
syslogd)
|
|
||||||
fg_opt="-F"
|
|
||||||
;;
|
|
||||||
klogd)
|
|
||||||
fgopt="-n"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
return 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
ebegin "sysklogd -> start: ${daemon}"
|
|
||||||
start-stop-daemon --start --exec /usr/sbin/"${daemon}" \
|
|
||||||
-b -m --pidfile /var/run/"${daemon}".pid \
|
|
||||||
-- ${options} ${fg_opt}
|
|
||||||
retval=$?
|
|
||||||
eend ${retval} "Failed to start ${daemon}"
|
|
||||||
|
|
||||||
return ${retval}
|
|
||||||
}
|
|
||||||
|
|
||||||
stop_daemon() {
|
|
||||||
local retval=0
|
|
||||||
local daemon="$1"
|
|
||||||
|
|
||||||
[ -z "${daemon}" ] && return 1
|
|
||||||
|
|
||||||
ebegin "sysklogd -> stop: ${daemon}"
|
|
||||||
# syslogd can be stubborn some times (--retry 15)...
|
|
||||||
start-stop-daemon --stop --retry 15 --quiet --pidfile /var/run/"${daemon}".pid
|
|
||||||
retval=$?
|
|
||||||
eend ${retval} "Failed to stop ${daemon}"
|
|
||||||
|
|
||||||
return ${retval}
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
start_daemon "syslogd" "${SYSLOGD}" || return 1
|
|
||||||
|
|
||||||
# klogd do not always start proper if started too early
|
|
||||||
sleep 1
|
|
||||||
|
|
||||||
if has_klogd && ! start_daemon "klogd" "${KLOGD}" ; then
|
|
||||||
stop_daemon "syslogd"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
if has_klogd ; then
|
|
||||||
stop_daemon "klogd" || return 1
|
|
||||||
fi
|
|
||||||
stop_daemon "syslogd" || return 1
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
reload() {
|
|
||||||
local ret=0
|
|
||||||
|
|
||||||
ebegin "Reloading configuration"
|
|
||||||
|
|
||||||
start-stop-daemon --signal HUP --pidfile /var/run/syslogd.pid
|
|
||||||
ret=$((${ret} + $?))
|
|
||||||
if has_klogd ; then
|
|
||||||
start-stop-daemon --signal USR1 --pidfile /var/run/klogd.pid
|
|
||||||
ret=$((${ret} + $?))
|
|
||||||
fi
|
|
||||||
|
|
||||||
eend ${ret}
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue