summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/vdr-pin
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-plugins/vdr-pin')
-rw-r--r--media-plugins/vdr-pin/Manifest2
-rw-r--r--media-plugins/vdr-pin/files/reccmds.pin.conf6
-rw-r--r--media-plugins/vdr-pin/files/reccmds.pin.conf-0.0.166
-rw-r--r--media-plugins/vdr-pin/files/vdr-pin-0.1.9.diff13
-rw-r--r--media-plugins/vdr-pin/files/vdr-pin.sh5
-rw-r--r--media-plugins/vdr-pin/metadata.xml12
-rw-r--r--media-plugins/vdr-pin/vdr-pin-0.1.14.ebuild42
-rw-r--r--media-plugins/vdr-pin/vdr-pin-0.1.9.ebuild36
8 files changed, 122 insertions, 0 deletions
diff --git a/media-plugins/vdr-pin/Manifest b/media-plugins/vdr-pin/Manifest
new file mode 100644
index 000000000000..5ce2f593c8f5
--- /dev/null
+++ b/media-plugins/vdr-pin/Manifest
@@ -0,0 +1,2 @@
+DIST vdr-pin-0.1.14.tgz 48771 SHA256 4eebfb75b3c591ea1aedf0ee62607cf466828a0d9cb5e3cd1dc2ff47da008ef2 SHA512 0eb2f6f7587ec6e3d5731e48b5b37687900d8698f698c745ccacf2e41fc59c71277e020c195db77342ca997331fbf0c629bd178db734e45098844529b9e5430a WHIRLPOOL 73d90d0f08af812c0e6a8558d79a2757ba6e3d37faa575fce9443de21351b2bd8f7a243555c4fe1dd5b24814f28ea8d562f58a9a3e73e4a6b0d96bd74438db5f
+DIST vdr-pin-0.1.9.tgz 42006 SHA256 15410df9dcb1e3c0c0734c83b19d309278d72b2cfb56dc81967d5bc3b0dc777c
diff --git a/media-plugins/vdr-pin/files/reccmds.pin.conf b/media-plugins/vdr-pin/files/reccmds.pin.conf
new file mode 100644
index 000000000000..7591c0c8e705
--- /dev/null
+++ b/media-plugins/vdr-pin/files/reccmds.pin.conf
@@ -0,0 +1,6 @@
+#
+# protects / unprotects records by a PIN
+#
+
+Set PIN protection: /usr/share/vdr/plugins/pin/fskprotect.sh protect
+Unset PIN protection: /usr/share/vdr/plugins/pin/fskprotect.sh unprotect
diff --git a/media-plugins/vdr-pin/files/reccmds.pin.conf-0.0.16 b/media-plugins/vdr-pin/files/reccmds.pin.conf-0.0.16
new file mode 100644
index 000000000000..483e62cffec9
--- /dev/null
+++ b/media-plugins/vdr-pin/files/reccmds.pin.conf-0.0.16
@@ -0,0 +1,6 @@
+# $Id$
+#
+# creats protected records, only visibly with the right pin
+#
+FSK Schutz hinzufügen: /usr/share/vdr/pin/bin/fskprotect.sh protect
+FSK Schutz entfernen: /usr/share/vdr/pin/bin/fskprotect.sh unprotect
diff --git a/media-plugins/vdr-pin/files/vdr-pin-0.1.9.diff b/media-plugins/vdr-pin/files/vdr-pin-0.1.9.diff
new file mode 100644
index 000000000000..54e0b6cb16db
--- /dev/null
+++ b/media-plugins/vdr-pin/files/vdr-pin-0.1.9.diff
@@ -0,0 +1,13 @@
+diff -Naur pin-0.1.9.orig/Makefile pin-0.1.9/Makefile
+--- pin-0.1.9.orig/Makefile 2010-12-02 17:01:55.000000000 +0100
++++ pin-0.1.9/Makefile 2010-12-02 17:02:50.000000000 +0100
+@@ -104,8 +104,7 @@
+ plugin: libvdr-$(PLUGIN).so
+
+ fskcheck: $(CMDOBJS)
+- $(CXX) $(CXXFLAGS) $(CMDOBJS) -o $@
+- @cp $@ $(FSKCHKDIR)
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(CMDOBJS) -o $@
+
+ libvdr-$(PLUGIN).so: $(OBJS)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
diff --git a/media-plugins/vdr-pin/files/vdr-pin.sh b/media-plugins/vdr-pin/files/vdr-pin.sh
new file mode 100644
index 000000000000..4ab92bd2f146
--- /dev/null
+++ b/media-plugins/vdr-pin/files/vdr-pin.sh
@@ -0,0 +1,5 @@
+# $Id$
+#
+# protect the record...
+touch $1/protection.fsk
+echo "Die Aufzeichnung $1 wurde geschützt..."
diff --git a/media-plugins/vdr-pin/metadata.xml b/media-plugins/vdr-pin/metadata.xml
new file mode 100644
index 000000000000..c07666634ae5
--- /dev/null
+++ b/media-plugins/vdr-pin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>media-tv</herd>
+ <maintainer>
+ <email>vdr@gentoo.org</email>
+ <name>Gentoo VDR Project</name>
+ </maintainer>
+ <longdescription>
+ With this Plugin one knows records with a pin code before the access by children protected
+ </longdescription>
+</pkgmetadata>
diff --git a/media-plugins/vdr-pin/vdr-pin-0.1.14.ebuild b/media-plugins/vdr-pin/vdr-pin-0.1.14.ebuild
new file mode 100644
index 000000000000..5aaf0e603045
--- /dev/null
+++ b/media-plugins/vdr-pin/vdr-pin-0.1.14.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit vdr-plugin-2
+
+VERSION="1379" # every bump, new version
+
+DESCRIPTION="VDR plugin: enable/disable parentalrating in records"
+HOMEPAGE="http://projects.vdr-developer.org/projects/plg-${VDRPLUGIN}"
+SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
+KEYWORDS="~amd64 ~x86"
+
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND=">=media-video/vdr-2.0.2-r1[pinplugin]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ vdr-plugin-2_src_prepare
+
+ sed -i "s:INCLUDES += -I\$(VDRINCDIR):INCLUDES += -I\$(VDRDIR)/include:" Makefile
+}
+
+src_install() {
+ vdr-plugin-2_src_install
+
+ dobin fskcheck
+
+ insinto /usr/share/vdr/plugins/${VDRPLUGIN}
+ doins "${S}"/scripts/fskprotect.sh
+
+ insinto /usr/share/vdr/record
+ newins "${S}"/scripts/cut.sh 20-preserve-pin-after-cut.sh
+
+ insinto /etc/vdr/reccmds
+ doins "${FILESDIR}"/reccmds.pin.conf
+}
diff --git a/media-plugins/vdr-pin/vdr-pin-0.1.9.ebuild b/media-plugins/vdr-pin/vdr-pin-0.1.9.ebuild
new file mode 100644
index 000000000000..b266d51a2396
--- /dev/null
+++ b/media-plugins/vdr-pin/vdr-pin-0.1.9.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+DESCRIPTION="VDR plugin: pin PlugIn"
+HOMEPAGE="http://www.jwendel.de"
+SRC_URI="http://www.jwendel.de/vdr/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.6.0[pinplugin]"
+
+src_prepare() {
+ vdr-plugin-2_src_prepare
+
+ epatch "${FILESDIR}/${P}.diff"
+}
+
+src_install() {
+ vdr-plugin-2_src_install
+
+ dobin fskcheck
+
+ into /usr/share/vdr/pin
+ dobin "${S}"/scripts/*.sh
+
+ insinto /etc/vdr/reccmds
+ newins "${FILESDIR}"/reccmds.pin.conf-0.0.16 reccmds.pin.conf
+}