diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2008-01-27 17:42:03 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2008-01-27 17:42:03 +0000 |
commit | 86c59c629cb796e2d7e63d22f86e35000fc9e43d (patch) | |
tree | 587f9fdeb2da43a9b941ef95a0aff0829fa013cb | |
parent | Add 0.36. (diff) | |
download | gentoo-2-86c59c629cb796e2d7e63d22f86e35000fc9e43d.tar.gz gentoo-2-86c59c629cb796e2d7e63d22f86e35000fc9e43d.tar.bz2 gentoo-2-86c59c629cb796e2d7e63d22f86e35000fc9e43d.zip |
initial ebuild
(Portage version: 2.1.3.19)
-rw-r--r-- | media-plugins/vdr-wapd/ChangeLog | 12 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/Manifest | 40 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/files/confd | 9 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/files/digest-vdr-wapd-0.9 | 3 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/files/rc-addon.sh | 10 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/files/vdr-wapd-0.9-gentoo.diff | 14 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/files/vdr-wapd-0.9_gcc-4.1.x.diff | 12 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/files/wapaccess | 5 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/files/waphosts | 10 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/metadata.xml | 10 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/vdr-wapd-0.9.ebuild | 28 |
11 files changed, 153 insertions, 0 deletions
diff --git a/media-plugins/vdr-wapd/ChangeLog b/media-plugins/vdr-wapd/ChangeLog new file mode 100644 index 000000000000..a75633db371f --- /dev/null +++ b/media-plugins/vdr-wapd/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for media-plugins/vdr-wapd +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-wapd/ChangeLog,v 1.1 2008/01/27 17:42:02 hd_brummy Exp $ + +*vdr-wapd-0.9 (27 Jan 2008) + + 27 Jan 2008; Joerg Bornkessel <hd_brummy@gentoo.org> + +files/vdr-wapd-0.9-gentoo.diff, +files/vdr-wapd-0.9_gcc-4.1.x.diff, + +files/confd, +files/rc-addon.sh, +files/wapaccess, +files/waphosts, + +metadata.xml, +vdr-wapd-0.9.ebuild: + initial ebuild + diff --git a/media-plugins/vdr-wapd/Manifest b/media-plugins/vdr-wapd/Manifest new file mode 100644 index 000000000000..8bc4c75894fe --- /dev/null +++ b/media-plugins/vdr-wapd/Manifest @@ -0,0 +1,40 @@ +AUX confd 278 RMD160 9fae71ed912b8a1f8fc63ea5c206d693af06a52f SHA1 93624dbcba64dc306f5e29f2568512b5aac4df37 SHA256 7ee1cdfe0b4bdc5ed839cbbb59f108d1a0bd92388e553063f6acc9e0060e84b7 +MD5 c782758c4df1a9b42f7d655966eebd32 files/confd 278 +RMD160 9fae71ed912b8a1f8fc63ea5c206d693af06a52f files/confd 278 +SHA256 7ee1cdfe0b4bdc5ed839cbbb59f108d1a0bd92388e553063f6acc9e0060e84b7 files/confd 278 +AUX rc-addon.sh 271 RMD160 aaac197fe137ae4a9d8073612e95e4aa46850150 SHA1 3983c4ea04dce3894662aae46ec669913108c938 SHA256 03d517658142d5764ba374e4c419bf53d5c4050acb5ea4370997e7952948a286 +MD5 7cdef257d96b8ce3f5726c0da17c3d78 files/rc-addon.sh 271 +RMD160 aaac197fe137ae4a9d8073612e95e4aa46850150 files/rc-addon.sh 271 +SHA256 03d517658142d5764ba374e4c419bf53d5c4050acb5ea4370997e7952948a286 files/rc-addon.sh 271 +AUX vdr-wapd-0.9-gentoo.diff 636 RMD160 60176403b9466c8533c383c3491bcb8f93b0f30e SHA1 76ba4ced01681074bdee4d00a5a2becbb8110149 SHA256 64c8aca191bf60a694cf7fc53f0e953f440ac15addd5ab2ea68a5099f84b1e4a +MD5 89990f0c762f8231c9583526d5a36eeb files/vdr-wapd-0.9-gentoo.diff 636 +RMD160 60176403b9466c8533c383c3491bcb8f93b0f30e files/vdr-wapd-0.9-gentoo.diff 636 +SHA256 64c8aca191bf60a694cf7fc53f0e953f440ac15addd5ab2ea68a5099f84b1e4a files/vdr-wapd-0.9-gentoo.diff 636 +AUX vdr-wapd-0.9_gcc-4.1.x.diff 484 RMD160 98f6d5904bf5ddd7758810af1e5accdac742f3ef SHA1 8d5e97343c7d141f26b7a4af12b500f97b9eec9c SHA256 6fbb7127fb35bd7e4e4b76699f155f377fe4fb32228a64b9b3d73685c5bec444 +MD5 24236dca8eda50ac47e6b9e0d2c82882 files/vdr-wapd-0.9_gcc-4.1.x.diff 484 +RMD160 98f6d5904bf5ddd7758810af1e5accdac742f3ef files/vdr-wapd-0.9_gcc-4.1.x.diff 484 +SHA256 6fbb7127fb35bd7e4e4b76699f155f377fe4fb32228a64b9b3d73685c5bec444 files/vdr-wapd-0.9_gcc-4.1.x.diff 484 +AUX wapaccess 258 RMD160 c51f7c2e0d311a810ddd00caa5b06b3828f08fcf SHA1 0c2dfa7d9eab38d1819f62cf4d255be3e233ba95 SHA256 192ce221d26cb303da3a4439a067c082949a88442e2fddebf91626add5bd3b10 +MD5 db50f9e81d2bce3163dd2b536150f6d5 files/wapaccess 258 +RMD160 c51f7c2e0d311a810ddd00caa5b06b3828f08fcf files/wapaccess 258 +SHA256 192ce221d26cb303da3a4439a067c082949a88442e2fddebf91626add5bd3b10 files/wapaccess 258 +AUX waphosts 234 RMD160 b44cd2214f371dc44830ca59e1c294daa7e0a07e SHA1 26cb7cfcfb0f052765234a31f0556c8b3efd2f8f SHA256 dccaaaca0f3837b4dd07508735fc34a802e2eb24f1e7a2b818405289ec5fc9a9 +MD5 d7eaab1dff469e9b0063d03221821777 files/waphosts 234 +RMD160 b44cd2214f371dc44830ca59e1c294daa7e0a07e files/waphosts 234 +SHA256 dccaaaca0f3837b4dd07508735fc34a802e2eb24f1e7a2b818405289ec5fc9a9 files/waphosts 234 +DIST vdr-wapd-0.9.tgz 31975 RMD160 f392c2c252aedb03d7c4081d72cb3683f6edf603 SHA1 b705aa007b9993141879ce2c2cc3225c57769839 SHA256 6d901dd352f2eb142dd070e11726cd74b05bb66f70b169e612b181dde738145e +EBUILD vdr-wapd-0.9.ebuild 803 RMD160 0bc045a347227d50065a8fa6baccff7ae00dce5d SHA1 f15701eb1d1e79ca2c59fa28f26772e8929b11bf SHA256 ec5bf4c7984e2116757bf41d7caa5c32267f513948fff0d6763618d0b3be7cb2 +MD5 aa8eefca9e144ca8298f4473049ac18f vdr-wapd-0.9.ebuild 803 +RMD160 0bc045a347227d50065a8fa6baccff7ae00dce5d vdr-wapd-0.9.ebuild 803 +SHA256 ec5bf4c7984e2116757bf41d7caa5c32267f513948fff0d6763618d0b3be7cb2 vdr-wapd-0.9.ebuild 803 +MISC ChangeLog 406 RMD160 764af30d7f3034a73762b5c58a2a179e7a70f9fc SHA1 ac51721f0b02ba6619250cd6c4d9c618dbf62e33 SHA256 35d7cca5b6ba3cf6cfc4740919511e030cd2b5424b212a73c74486053353a222 +MD5 21e3c6abea5763117d566f0baeb34c5f ChangeLog 406 +RMD160 764af30d7f3034a73762b5c58a2a179e7a70f9fc ChangeLog 406 +SHA256 35d7cca5b6ba3cf6cfc4740919511e030cd2b5424b212a73c74486053353a222 ChangeLog 406 +MISC metadata.xml 251 RMD160 b4bdfc1a9e947ad1d1f76c1942f02057d5cbc993 SHA1 6e174f6e4395999a9dafd53f523e079766c0b094 SHA256 b426b6e6d679a63de74d2c1a21e4da2381fb1b580b0180b041307471d67ab54f +MD5 3cafef7c72bb98475ad53d15e79ff845 metadata.xml 251 +RMD160 b4bdfc1a9e947ad1d1f76c1942f02057d5cbc993 metadata.xml 251 +SHA256 b426b6e6d679a63de74d2c1a21e4da2381fb1b580b0180b041307471d67ab54f metadata.xml 251 +MD5 c14488a3373f53bf71e90b31526565cc files/digest-vdr-wapd-0.9 226 +RMD160 f6a9e08c8e7c0421858c21f6f249166fcc081853 files/digest-vdr-wapd-0.9 226 +SHA256 5a45aabbb56b5833f6445151b5611c1d0fffd8838425ae8030822184dcb3c439 files/digest-vdr-wapd-0.9 226 diff --git a/media-plugins/vdr-wapd/files/confd b/media-plugins/vdr-wapd/files/confd new file mode 100644 index 000000000000..c48fcaf3e38d --- /dev/null +++ b/media-plugins/vdr-wapd/files/confd @@ -0,0 +1,9 @@ +# Global config file for vdr wapd plugin +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-wapd/files/confd,v 1.1 2008/01/27 17:42:03 hd_brummy Exp $ + +# Set the port where the plugin is listen on +# allowed values: port number +# default: 8888 +# +#WAPD_PORT="8888" + diff --git a/media-plugins/vdr-wapd/files/digest-vdr-wapd-0.9 b/media-plugins/vdr-wapd/files/digest-vdr-wapd-0.9 new file mode 100644 index 000000000000..7ec18aef8a77 --- /dev/null +++ b/media-plugins/vdr-wapd/files/digest-vdr-wapd-0.9 @@ -0,0 +1,3 @@ +MD5 31c193e247ead08e8f5fb76c1eb3d0ee vdr-wapd-0.9.tgz 31975 +RMD160 f392c2c252aedb03d7c4081d72cb3683f6edf603 vdr-wapd-0.9.tgz 31975 +SHA256 6d901dd352f2eb142dd070e11726cd74b05bb66f70b169e612b181dde738145e vdr-wapd-0.9.tgz 31975 diff --git a/media-plugins/vdr-wapd/files/rc-addon.sh b/media-plugins/vdr-wapd/files/rc-addon.sh new file mode 100644 index 000000000000..79c2785ad161 --- /dev/null +++ b/media-plugins/vdr-wapd/files/rc-addon.sh @@ -0,0 +1,10 @@ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-wapd/files/rc-addon.sh,v 1.1 2008/01/27 17:42:03 hd_brummy Exp $ +# +# rc-addon-script for plugin wapd +# +# Joerg Bornkessel hd_brummy@gentoo.org + +plugin_pre_vdr_start() { + + add_plugin_param "-p ${WAPD_PORT:=8888}" +} diff --git a/media-plugins/vdr-wapd/files/vdr-wapd-0.9-gentoo.diff b/media-plugins/vdr-wapd/files/vdr-wapd-0.9-gentoo.diff new file mode 100644 index 000000000000..70f7d733f045 --- /dev/null +++ b/media-plugins/vdr-wapd/files/vdr-wapd-0.9-gentoo.diff @@ -0,0 +1,14 @@ +diff -Naur wapd-0.9.orig/wapd.c wapd-0.9/wapd.c +--- wapd-0.9.orig/wapd.c 2008-01-27 17:38:18.000000000 +0100 ++++ wapd-0.9/wapd.c 2008-01-27 17:40:45.000000000 +0100 +@@ -85,8 +85,8 @@ + bool cPluginWapd::Start(void) + { + RegisterI18n(Phrases); +- if (WapHosts.Load(AddDirectory(ConfigDirectory(), "waphosts"), true) +- && WapAccess.Load(AddDirectory(ConfigDirectory(), "wapaccess"), true) ++ if (WapHosts.Load(AddDirectory(ConfigDirectory( "wapd" ), "waphosts"), true) ++ && WapAccess.Load(AddDirectory(ConfigDirectory( "wapd" ), "wapaccess"), true) + && (server = new cWapServer(tcpport))) + return true; + return false; diff --git a/media-plugins/vdr-wapd/files/vdr-wapd-0.9_gcc-4.1.x.diff b/media-plugins/vdr-wapd/files/vdr-wapd-0.9_gcc-4.1.x.diff new file mode 100644 index 000000000000..1fe4e9245061 --- /dev/null +++ b/media-plugins/vdr-wapd/files/vdr-wapd-0.9_gcc-4.1.x.diff @@ -0,0 +1,12 @@ +diff -Naur wapd-0.9.orig/wappasswd.c wapd-0.9/wappasswd.c +--- wapd-0.9.orig/wappasswd.c 2008-01-27 16:09:43.000000000 +0100 ++++ wapd-0.9/wappasswd.c 2008-01-27 16:12:11.000000000 +0100 +@@ -30,7 +30,7 @@ + { + if (argc != 3) exit(EXIT_FAILURE); + +- char *sset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./"; ++ const char *sset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./"; + char salt[3] = "AA"; + + srand((int) time((time_t *) NULL));
\ No newline at end of file diff --git a/media-plugins/vdr-wapd/files/wapaccess b/media-plugins/vdr-wapd/files/wapaccess new file mode 100644 index 000000000000..ca53653a9a5f --- /dev/null +++ b/media-plugins/vdr-wapd/files/wapaccess @@ -0,0 +1,5 @@ +# To create a new ''wapaccess'' file with a new user simply type: +# wappasswd username password >> /etc/vdr/plugins/wapd/wapaccess + +# To delete a user from ''wapaccess'' use your favourite text editor +# and remove the line ''username:passwordhash''. diff --git a/media-plugins/vdr-wapd/files/waphosts b/media-plugins/vdr-wapd/files/waphosts new file mode 100644 index 000000000000..9fea92a0f571 --- /dev/null +++ b/media-plugins/vdr-wapd/files/waphosts @@ -0,0 +1,10 @@ +# +# waphosts This file describes a number of host addresses that +# are allowed to connect to the port of the vdr-wapd +# plugin running on this system. +# Syntax: +# +# IP-Address[/Netmask] +# + +127.0.0.1 # always accept localhost diff --git a/media-plugins/vdr-wapd/metadata.xml b/media-plugins/vdr-wapd/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-wapd/metadata.xml @@ -0,0 +1,10 @@ +<?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> +</pkgmetadata> + diff --git a/media-plugins/vdr-wapd/vdr-wapd-0.9.ebuild b/media-plugins/vdr-wapd/vdr-wapd-0.9.ebuild new file mode 100644 index 000000000000..1ed4def269c5 --- /dev/null +++ b/media-plugins/vdr-wapd/vdr-wapd-0.9.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-wapd/vdr-wapd-0.9.ebuild,v 1.1 2008/01/27 17:42:02 hd_brummy Exp $ + +inherit vdr-plugin + +DESCRIPTION="VDR plugin: lets VDR listen to WAP requests to allow remote control by WML enabled browsers" +HOMEPAGE="http://www.heiligenmann.de/vdr/vdr/plugins/wapd.html" +SRC_URI="http://www.heiligenmann.de/vdr/download/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.44" + +PATCHES="${FILESDIR}/${P}_gcc-4.1.x.diff + ${FILESDIR}/${P}-gentoo.diff" + +src_install() { + vdr-plugin_src_install + + dobin "${S}/wappasswd" + + insinto /etc/vdr/plugins/wapd + doins "${FILESDIR}"/{waphosts,wapaccess} +} |