diff options
author | 2020-01-11 20:56:19 +0100 | |
---|---|---|
committer | 2020-01-11 20:56:19 +0100 | |
commit | 1784b45f5996ef39a4612c89b9c6959d8a5d6c55 (patch) | |
tree | 255bbc88e4dcb084d69a79b4a311785b8d55ba03 | |
parent | overlay/vdr/devel: remove developer version vdr-2.3.x (diff) | |
download | devel-1784b45f5996ef39a4612c89b9c6959d8a5d6c55.tar.gz devel-1784b45f5996ef39a4612c89b9c6959d8a5d6c55.tar.bz2 devel-1784b45f5996ef39a4612c89b9c6959d8a5d6c55.zip |
vdr/devel: new acct-user/vdr acct-group/vdr add pmasked for testing
acct-user/vdr
acct-group/vdr
=media-video/gentoo-gentoo-vdr-scripts-3.0_rc1
added pmasked for several local testing
after testing, we will this move to the maintree
Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --force
Manifest-Sign-Key: 0x68C51DE6D770E4A6!
Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
-rw-r--r-- | acct-group/vdr/Manifest | 20 | ||||
-rw-r--r-- | acct-group/vdr/metadata.xml | 12 | ||||
-rw-r--r-- | acct-group/vdr/vdr-0.ebuild | 10 | ||||
-rw-r--r-- | acct-user/vdr/Manifest | 20 | ||||
-rw-r--r-- | acct-user/vdr/metadata.xml | 17 | ||||
-rw-r--r-- | acct-user/vdr/vdr-0.ebuild | 36 | ||||
-rw-r--r-- | media-tv/gentoo-vdr-scripts/Manifest | 20 | ||||
-rw-r--r-- | media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-3.0_rc1.ebuild | 80 | ||||
-rw-r--r-- | media-tv/gentoo-vdr-scripts/metadata.xml | 18 | ||||
-rw-r--r-- | profiles/package.mask | 6 |
10 files changed, 223 insertions, 16 deletions
diff --git a/acct-group/vdr/Manifest b/acct-group/vdr/Manifest new file mode 100644 index 0000000..6fba3eb --- /dev/null +++ b/acct-group/vdr/Manifest @@ -0,0 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +EBUILD vdr-0.ebuild 201 BLAKE2B a8d61f6f25fcd2e915ea670c184f73655c3472e5eb1fa9c95078db6d2319f9a9e9afe5e0c6ae39ead7d8a5f3d752a44717e63ead51b3d5ceecaf0eba6145b7dd SHA512 2e8642ea5ffac9cf2cbec49b19b31ef60c2e3a340fb6d8541293be54e39ff29839f883a3cba96e1c530cc5d328b8994c1e19f29f25575ff33f95b3bda7028b6f +MISC metadata.xml 354 BLAKE2B 9112a116754a5c5da9161c12a2c7384f68e81be074f48af4b145de633aa9f94184ebd99af6fd866e6d78bc09fad034e46eae6fd5254c1134212a5af47ba86074 SHA512 88334d9e56a9b38a8bdde349eb93987d4d8238ab966e21496a43644609a1138a75282793646c8fc94a31a06ad6d5274432c3db745830cc35d9b86a2016ce3490 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 +Comment: Signed-off-by: Jörg Bornkessel <hd_brummy@gentoo.org> + +iQGTBAEBCAB9FiEEmjwdqGe+yMep/PbRaMUd5tdw5KYFAl4aKFtfFIAAAAAALgAo +aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDlB +M0MxREE4NjdCRUM4QzdBOUZDRjZEMTY4QzUxREU2RDc3MEU0QTYACgkQaMUd5tdw +5KY4BwgAvZKdNiEQYRtAJ84FnSL5ogm6coCiLUWMuYaELCIQrKsUQ1ob4QdIcWuC +/bFMkyD/R/CVkeVrujogDZP7bvi12kpTAZCDm3DXCyj9n+QAzzLuRGft1Q6QG174 +fC45QK9FG1ejOAhBQNIWDcmaFRBFzUkOJpxHqbaNPUCWsShmXqlFufG+j3JgUn8g +mliBtVZZeKUcYwZPmZZ+EihJB22Z8zzHVFMQyZzTGzcAUQkZteklIQTGuHh87E4G +QC+gjlnBkMVlXtJmNy1rJehZrxypqHGsIZqlgM/eT+AMDiCiNiFHACCJ5lsCF+hY +H/PZbWeIXimnZpyjvPayH2/2LAlDNg== +=4/DN +-----END PGP SIGNATURE----- diff --git a/acct-group/vdr/metadata.xml b/acct-group/vdr/metadata.xml new file mode 100644 index 0000000..bae98b2 --- /dev/null +++ b/acct-group/vdr/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>hd_brummy@gentoo.org</email> + <name>Joerg Bornkessel</name> +</maintainer> +<maintainer type="project"> + <email>vdr@gentoo.org</email> + <name>Gentoo Vdr Project</name> +</maintainer> +</pkgmetadata> diff --git a/acct-group/vdr/vdr-0.ebuild b/acct-group/vdr/vdr-0.ebuild new file mode 100644 index 0000000..7cf60f4 --- /dev/null +++ b/acct-group/vdr/vdr-0.ebuild @@ -0,0 +1,10 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit acct-group + +DESCRIPTION="A group for the VDR (VideoDiskRecorder)" + +ACCT_GROUP_ID=452 diff --git a/acct-user/vdr/Manifest b/acct-user/vdr/Manifest new file mode 100644 index 0000000..3d64d1a --- /dev/null +++ b/acct-user/vdr/Manifest @@ -0,0 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +EBUILD vdr-0.ebuild 771 BLAKE2B f3be51a20888a1a42313889294f1cd2701c4ce6fe4dc58eb07dd52ded2f95153d3229e2e71140828c89237075c58a64a9044f7180f5864b0ea51ebd1c71068e3 SHA512 eea726e671514eb6672c48d0931ee0a590c000556fc81a5b98b39ff55be13147f99ce3ddc514197d80bd295895c2cbc16028ce4fd4b8ef19e88d381fa44da862 +MISC metadata.xml 665 BLAKE2B ebcadbf927f7f69aa5f7d4216d148c67d2b761bc837537c3b3914fc7aaf5ad7175b2cf564d766a52071ee1f942c8561af9cceb43ecb811b84bfb75bce7a83130 SHA512 babb6011332b03af2a73acb98b61a6ee2011eeee9f93cb0c79b0d507a4e4f12d293f0038f51a3141e715c5723241055fb16144c7c8a0517f06aea4e30bc07646 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 +Comment: Signed-off-by: Jörg Bornkessel <hd_brummy@gentoo.org> + +iQGTBAEBCAB9FiEEmjwdqGe+yMep/PbRaMUd5tdw5KYFAl4aKGJfFIAAAAAALgAo +aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDlB +M0MxREE4NjdCRUM4QzdBOUZDRjZEMTY4QzUxREU2RDc3MEU0QTYACgkQaMUd5tdw +5KZ1IAf9EqTEIeVPgPoJ1G9PpmGoO+vA4TatdKqBNfKzdGVlacHDLtQ/6KUKDJyq +R8brtj7FzxTOOpjjdi+y3nm/0Ex7ZQCBjO5Jd+XLUSsV4l8Xof7RluM4oB3Z0J5J +Un2pFinAq9e5Hn/NjGoqoQ/5D1k7z5FTM/qJX59FHqDN+YadiPpf1qV6GYGjWSp5 +saP3A64LkBmlbx8fcoHy9Ib/H/iqI0+dStBleU5Qo7CbbrQWLYZZOWJAtAKeUple +5qpDlx0Pq/szY0aZNheYYzsVF7kpwrXhNfqEJbh5dm39e64GMY35ItL4wcl4BPnU +t0BGT+vnN47ONYUbSRiQ1ORyLFOlWA== +=qQCg +-----END PGP SIGNATURE----- diff --git a/acct-user/vdr/metadata.xml b/acct-user/vdr/metadata.xml new file mode 100644 index 0000000..09fdef0 --- /dev/null +++ b/acct-user/vdr/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>hd_brummy@gentoo.org</email> + <name>Joerg Bornkessel</name> +</maintainer> +<maintainer type="project"> + <email>vdr@gentoo.org</email> + <name>Gentoo Vdr Project</name> +</maintainer> +<use> + <flag name="graphlcd">add needed groups lp, usb for <pkg>media-plugin/vdr-graphlcd</pkg></flag> + <flag name="remote">add needed group input for <pkg>media-plugins/vdr-remote</pkg></flag> + <flag name="serial">add group uucp for access to serial/ttyS* for <pkg>media-plugins/vdr-serial</pkg></flag> +</use> +</pkgmetadata> diff --git a/acct-user/vdr/vdr-0.ebuild b/acct-user/vdr/vdr-0.ebuild new file mode 100644 index 0000000..cd6d862 --- /dev/null +++ b/acct-user/vdr/vdr-0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit acct-user + +DESCRIPTION="VDR (VideoDiskRecorder) user" + +IUSE="graphlcd remote serial systemd" + +ACCT_USER_ID=452 +ACCT_USER_HOME=/var/vdr +ACCT_USER_HOME_OWNER=vdr:vdr +ACCT_USER_HOME_PERMS=0775 +ACCT_USER_GROUPS=( audio cdrom vdr video ) + +acct-user_add_deps + +DEPEND+=" acct-group/vdr " +RDEPEND+=" acct-group/vdr " + +pkg_setup() { + # media-plugins/vdr-graphlcd + use graphlcd && ACCT_USER_GROUPS+=( lp usb ) + + # media-plugins/vdr-remote, _only_ on systemd crap + if use systemd; then + use remote && ACCT_USER_GROUPS+=( input ) + else + ewarn "\nuse-flag remote only needed on systemd\n" + fi + + # media-plugins/vdr-serial + use serial && ACCT_USER_GROUPS+=( uucp ) +} diff --git a/media-tv/gentoo-vdr-scripts/Manifest b/media-tv/gentoo-vdr-scripts/Manifest index 9482396..27adb9a 100644 --- a/media-tv/gentoo-vdr-scripts/Manifest +++ b/media-tv/gentoo-vdr-scripts/Manifest @@ -1,20 +1,22 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +DIST gentoo-vdr-scripts-3.0_rc1.tar.bz2 46962 BLAKE2B ad790680a5ece8df15939b09cb8cd389c89d4f262fcc1734936b0d6c42f546106d411b07be81b0471daa2b7f397fd4bfa935a9f4674b734d0b8b8cf4725c9467 SHA512 06db8eef1061fa87f887adea5194ea79997329c5145631c3009cf8247782000d3401bc492a519ff05ab5add95f7d9583882910fc72ab563935c6ee3965ba17f0 +EBUILD gentoo-vdr-scripts-3.0_rc1.ebuild 2291 BLAKE2B 38a0375c40a6b3015a029e39ca7c10a5634791f0979f3743c3c4a353835e8bf5cf46ee84c39df0bf7107829d5e3d1ce129eec137d0856a7878511ef5f025e31a SHA512 7825b841e4346a9cbd12bcb30e53671003fde89ddad80b4d5fe1b994166dcac59d6ab7d958bf4c424854d2ff25a9668f59f564fe002f71c7ddf2e1b9377ecabe EBUILD gentoo-vdr-scripts-9999.ebuild 1035 BLAKE2B 1772fdf80fe7508d84679b73ae68db510c093b93e2fd6421d4d22fdd1381321bd9ec76a4f8d8c7c13b2401737e3ae1b944b53efc95b6799e48af250564b80a81 SHA512 efe0d3f3709c1efbe98e6d238faa5fd5fdbc11e8a13642804753970289603cb7a3fcd564294288799e645311db04ff5cfdd60ea1a3e5bdcd04868ed2d0b8e2c0 -MISC metadata.xml 354 BLAKE2B 74ce746b4c49b338ad17df430f4aa1c11cad86684bf3c3003f2c2c2fc979435b53b5e30a997f009c53ea57d8441d09cc113b45ceaabc0a1d62f58e78ba73daae SHA512 9607950224075c12bcd9a43aef5cc3dd640cedee6689986713b10b2df1441a7694f8a527f03b66c15139dcaab917249ebd0899031432f545fe74a62aeabdce9d +MISC metadata.xml 456 BLAKE2B c703bb7781705223a6a89957a45e4215b83aec3830a158ed15d1d1a812cc6ac6a04d924f07e7de14ce51252f2056cc7e1d5c434ba37e275ef0097a2ee0a44ccf SHA512 4d568a384c73d5c3750cfa2248d3ec37d9e92dfc9c0c7b51fc8c840cf0fe499546f492b7b84cd79e1700050f329c4ac43879fe0a77d21d480f1a55e9ff3f3e0f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Signed-off-by: Jörg Bornkessel <hd_brummy@gentoo.org> -iQGTBAEBCAB9FiEEmjwdqGe+yMep/PbRaMUd5tdw5KYFAl31lXFfFIAAAAAALgAo +iQGTBAEBCAB9FiEEmjwdqGe+yMep/PbRaMUd5tdw5KYFAl4aKGJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDlB M0MxREE4NjdCRUM4QzdBOUZDRjZEMTY4QzUxREU2RDc3MEU0QTYACgkQaMUd5tdw -5KbTswgAmo9HPy0iX8goCbO7lB2P9zTU5b+T6u2UzTxA88I3fiFyA5jfit5dcUWA -TrTHORRRbvemP2lvnq9qh+WA0tn5DYML0S+6jXtmqS43R5oxT3kzaN3tiX0Na7EY -BAQgUPHEZsrM304BuYotq+LRWLUNdldTgDBDUaPpbqYXjEmEjMAXZ/J62IIWUKm0 -y18zuuKLbSihWyJ8OlG9sxy/X2X3c3tgs0BQWPGPjWSBnT9R7L4wA4L9DYJI/kRc -wPW+yhzeNad8VbW+FkS3wVgIlrHeo0URjtA37DqmX0nHNuHzsfjV8GYYzpposZSZ -3yKHzicBjrUAOcul2Uk5JktT5kEfAA== -=zOQV +5KbtLgf/cU39QKJXaLzHcp+arPiJMS1aDJu2RrOPhXgM02GkR44w4X1hHqtrjeeT +hq3E4S6XmIavF7rm4gOZd1Fs9LzMejumtaLz+cFSDgFKqsTD54kkNWpx/myoqGV7 +m6unH+2dOtaCelzaQk+KhlRHSSPf75zQXRqDReKSBc0ESo+w2mgeUxvO6PXnGflX +2u3xg2DE/KW5EhVbzkvA2w0A9BdoceZ2+WM9bHx49qwBwd70QbabgS1sDAueCewK +OhNGvV7fwsmMYCwPhplsM3n5JtPmmg5pxuSg7AVcijwMXg3oh4SwRTQdeE/IvVDW +19HYJaqui5snWUa7UqKNP7JM6wEhbw== +=pPNz -----END PGP SIGNATURE----- diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-3.0_rc1.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-3.0_rc1.ebuild new file mode 100644 index 0000000..b683a0d --- /dev/null +++ b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-3.0_rc1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Scripts necessary for use of vdr as a set-top-box" +HOMEPAGE="https://gitweb.gentoo.org/proj/gentoo-vdr-scripts.git/about/" +SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +IUSE="" + +DEPEND="acct-group/vdr + acct-user/vdr" +RDEPEND="app-admin/sudo + sys-process/wait_on_pid" + +S="${WORKDIR}/${PN}-${GVS_VERSION}" + +VDR_HOME=/var/vdr + +#pkg_setup() { +# enewgroup vdr + + # Add user vdr to these groups: + # video - accessing dvb-devices + # audio - playing sound when using software-devices + # cdrom - playing dvds/audio-cds ... +# enewuser vdr -1 "${VDR_HOME}" vdr,video,audio,cdrom +#} + +src_install() { + default + + # create necessary directories + diropts -ovdr -gvdr + keepdir "${VDR_HOME}" + + keepdir "${VDR_HOME}/shutdown-data" + keepdir "${VDR_HOME}/merged-config-files" + keepdir "${VDR_HOME}/dvd-images" +} + +VDRSUDOENTRY="vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh" + +pkg_postinst() { + elog "${CATEGORY}/${PN} supports an init script" + elog "to start a X server" + elog "Please refer for detailed info to" + elog "/usr/share/doc/${PF}/README.x11-setup\n" + + elog "systemd is supported by ${CATEGORY}/${PN}" + elog "This are described in the README.systemd file" + elog "in /usr/share/doc/${PF}/" + + einfo "nvram wakeup is supported optional." + einfo "To make use of it emerge sys-power/nvram-wakeup.\n" + + elog "Plugins which should be used are set via" + elog "the config-file called /etc/conf.d/vdr.plugins" + elog "or enabled them via the frontend eselect vdr-plugin.\n" + + if [[ -f "${EROOT}"/etc/conf.d/vdr.dvdswitch ]] && + grep -q ^DVDSWITCH_BURNSPEED= "${EROOT}"/etc/conf.d/vdr.dvdswitch + then + ewarn "You are setting DVDSWITCH_BURNSPEED in /etc/conf.d/vdr.dvdswitch" + ewarn "This no longer has any effect, please use" + ewarn "VDR_DVDBURNSPEED in /etc/conf.d/vdr.cd-dvd" + fi + + # backup routine for old /etc/sudoers entry + if grep -q /usr/share/vdr/bin/vdrshutdown-really.sh "${EROOT}"/etc/sudoers; then + ewarn "Please remove depricated entry from /etc/sudoers:" + ewarn "${VDRSUDOENTRY}" + ewarn "sudoers handling is supported by:" + ewarn "/etc/sudoers.d/vdr" + fi +} diff --git a/media-tv/gentoo-vdr-scripts/metadata.xml b/media-tv/gentoo-vdr-scripts/metadata.xml index 973d978..769dab2 100644 --- a/media-tv/gentoo-vdr-scripts/metadata.xml +++ b/media-tv/gentoo-vdr-scripts/metadata.xml @@ -1,11 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>vdr@gentoo.org</email> - <name>Gentoo VDR Project</name> - </maintainer> - <use> - <flag name="nvram">Add support for using nvram-wakeup to set wakeup time in bios</flag> - </use> +<maintainer type="person"> + <email>hd_brummy@gentoo.org</email> + <name>Joerg Bornkessel</name> +</maintainer> +<maintainer type="project"> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> +</maintainer> +<use> + <flag name="nvram">Add support for using nvram-wakeup to set wakeup time in bios</flag> +</use> </pkgmetadata> diff --git a/profiles/package.mask b/profiles/package.mask index 0de4e3c..8ef88c2 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -21,6 +21,12 @@ ## End example ## +# Joerg Bornkessel <hd_brummy@gentoo.org> ( 12/Jan/2020 ) +# temp pmasked for testing +acct_group/vdr +acct-user/vdr +=media-tv/gentoo-vdr-scripts-3.0_rc1 + # Joerg Bornkessel <hd_brummy@gentoo.org> ( 12/Feb/2015 ) # masked for removal ~12/mar/2015, dead on upstream since 2009, # not supported by extpatchng anymore |