diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-plugins/vdr-wapd |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/vdr-wapd')
-rw-r--r-- | media-plugins/vdr-wapd/Manifest | 16 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/files/confd | 8 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/files/rc-addon.sh | 9 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/files/vdr-wapd-0.9-as-needed.patch | 16 | ||||
-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/wapd.mk | 108 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/files/waphosts | 10 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/metadata.xml | 8 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/vdr-wapd-0.9.ebuild | 29 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/vdr-wapd-0.9_p1-r1.ebuild | 44 | ||||
-rw-r--r-- | media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild | 36 |
13 files changed, 315 insertions, 0 deletions
diff --git a/media-plugins/vdr-wapd/Manifest b/media-plugins/vdr-wapd/Manifest new file mode 100644 index 000000000000..271d9cae2d1d --- /dev/null +++ b/media-plugins/vdr-wapd/Manifest @@ -0,0 +1,16 @@ +AUX confd 154 SHA256 cd2ca26d865885ab2b52763bc5d51060f1db65b2d25d3727441316c455f64b17 SHA512 e112f4faf9842fadb12c5357bfec6813b5666a8bb08d89ee7c4b11d92a0b86d773a5ef0a1318286346af43a326394f096aa1a7eafb145742532e84fc2c611732 WHIRLPOOL b5c3390966511c7145e146f75546172689f4d1fd81a7c96c654b212af5ece7632199f6399a5a7d300a36a05837278d8879e1c02d1ec723ffa6b0501550a43d3b +AUX rc-addon.sh 150 SHA256 3ad67cc282b262b666429bfb252e5f38aaed289cffd46671b075880765855007 SHA512 44221015f5f1ee3e788495c2fdd3a32d818cf909b75d96bdf3dccbea83acc8d55bfd6fd675a9afe1bb72ec5564f850a92adad05e34878ea6bdd9d9a05727dff6 WHIRLPOOL 3e98a5628162178f4575a82cb33f725b5580bcc9d95292b5e61e7b6c9bfb77ab653e6856a9be15b36e793f8e797b73fadf5ddc7b4f3ad2552faa861693645aca +AUX vdr-wapd-0.9-as-needed.patch 539 SHA256 77fbdb3b8864f0e47bbcdca6dbaf186c9daf513bd44f3f147d1bf846128715af SHA512 1e85f499f96a713a7821f4b3967077992b29fd34dca9036f61ad47de885c252ae019ea173bee2fe50c586442d7f496478eec6d0fffa223774f4f6c88122ca90d WHIRLPOOL cf01b7f70567f0f1d7bb56124df4ad8027a5aec90e7d5e50077590d725743ddcd7755a86f94d083eb70d46627525766830738267740c345631e6a3a2da8cc05f +AUX vdr-wapd-0.9-gentoo.diff 636 SHA256 64c8aca191bf60a694cf7fc53f0e953f440ac15addd5ab2ea68a5099f84b1e4a SHA512 eaa697b5cacc95c837233eba3d4baeb98f0670587306d045cc747b0ad665cf7bca6048671bc124c55bafcbd6c93f3d39e805dfc71b2d49553409ca6e837c9305 WHIRLPOOL d4d34f06d257e69f3c5a8b3c1ebfa4784c4396c993ff52b643be416b10b66e57855a34807b4410c51ed182906f89af3daaee006149be5d6429fb5320e20e01f6 +AUX vdr-wapd-0.9_gcc-4.1.x.diff 484 SHA256 6fbb7127fb35bd7e4e4b76699f155f377fe4fb32228a64b9b3d73685c5bec444 SHA512 7112d05e2e379ecec2bdaefc9620dbaf63f9bb9ca8b883befd14717f33dfeb5c28e05ff0bff68569986c0916031dc77b8a03a101e3a89c6f1c879158513b3fd7 WHIRLPOOL a4194d8691e606aeae1974f4d954756f843ca4eae44728ef964c914a7cd432e3e1b556ccae27945e75d859e4c59dadbfd9345b717688b76bcbbce61298d5fbc7 +AUX wapaccess 258 SHA256 192ce221d26cb303da3a4439a067c082949a88442e2fddebf91626add5bd3b10 SHA512 11644a95c9336892a530af70a63dddb3e47921e990e5d0ae58513ab24b555089665c82266a240008326d215b51e03bf89511921c8fe6fee05533d214020e01ff WHIRLPOOL 41aa80ee2749e63577cc63254fab926aa6b59eb224e41a8e51efba95da1fdd452f93705474e18780de092bba2a70017d70defaf33a365d20615c32afa4602fe6 +AUX wapd.mk 2560 SHA256 0cc92c935af5e4728aa3cce4cc0a50a948cd81e0c5a2ff44ab24eb569cd16314 SHA512 cd4a3de021b40b4a802280e484794e26c7b408ed80890c2c2b783fd6b6e136e731b9afd43f347c68e632f95e15d6e99f043a3e0a520356a871c4f32630232e2c WHIRLPOOL a127cf4a07b939179793d2a4742e5ea804cd62716d38de4a2a48ad8ff407b2f954b07f51de22703a47f2a450fd3ec829c79f83c6eb22fcceff7fd200bbdd581e +AUX waphosts 234 SHA256 dccaaaca0f3837b4dd07508735fc34a802e2eb24f1e7a2b818405289ec5fc9a9 SHA512 f71b863e68a81f7e89c8fbf1b7cb96486f7a9d46d35b18a7b25cb59c931905a26cc279b23df7fbc869e6a335886e64ddcf58e45fdd41c6336727414af7aa2533 WHIRLPOOL 9fa73b9ce3f9516eef0d17dee7e858142063c4e63f0d26958914e159ca8b11578a63bb4b1520e7d9f12ee3470d58576aa9edf4327061386e24ad76c8fa7a1e76 +DIST vdr-wapd-0.9.tgz 31975 SHA256 6d901dd352f2eb142dd070e11726cd74b05bb66f70b169e612b181dde738145e SHA512 787bc433896e01efb482507251f4a6cb878ce40b869625ff5b7177f64f4dba4b4dcffa648c39d1d8c1930da5fb98db9155ebc40ed349bf2093a5e10f7314f1dd WHIRLPOOL 71cbc3269ceddd582ac62207ff3a48d8df6a824da4fb3300aec4894278f75d41bcea9103be1f27a1f352ce06478b4b1a4f481524775ee0734e05b5b41f097fbe +DIST wapd-0.9-patch1.diff.gz 3091 SHA256 e54d67c5090a40fcf1acc6ee4b4999950ecee8714c8db9823af1be59fcbd1931 SHA512 16dd9225bd0f40f668317ee8a957c0b113a261fe779931b546634fa8e09de3431359d7b8d3846b4781021438bcc660fc714bf17699dacc94af1fd16885a00450 WHIRLPOOL 613a0cabd994c1d38b3f0dde848543cdddeb65b895e856a93daf647ad9a7737498f6fe89ed3af9fe699acf8b6f39ace3be5aac6d82de6c03e44a831cbfbd1289 +EBUILD vdr-wapd-0.9.ebuild 680 SHA256 ba5259b14e3797406172f520bd39c25e4e80ee9a8557ffcd52b30f55acd4c82b SHA512 a41403be4c1958c4a5c04b4c8f73b0c1cc96010419e1462d8c51f7b9420fbbcbcb9b1b4a1e95ef20c66edcf575482f3bd4875b5855f6387d5059615829b71e9c WHIRLPOOL df727f1fc9755e1881d6541a498fc33794a858811cbc1b1c6c8b9ac2e498a0a4708dcc4a367275669d6f1222292dd71d6b44958bd7ca43d141cbb7d0182f70e6 +EBUILD vdr-wapd-0.9_p1-r1.ebuild 1031 SHA256 c93a804fec1d0d68ba0da02026bf515688c75f1b153cae11f0263c94c299acf5 SHA512 16b6a99dab4cac1d8bff75bc74337bc4b18e4a0f3d9515c5cfca38e8ce1744294f2b5ca14907f2ca5b2b7f4a8e53fd8bae87c2b5fc260785b35521c927c108ef WHIRLPOOL e30772cc9018cfd0968b54d13b0149363aa712711a06a695e79334177d3b650f127f801a30ac843c87668ae7916c42deb2ecf7a96c26a94a16e10f92d0bbce71 +EBUILD vdr-wapd-0.9_p1.ebuild 889 SHA256 5d73d16694edefd0b1a167a18e428dc08d0d1cf9c0bc32a186ffd5b552587907 SHA512 dedba0d28c4e57588c70bd8b0f7e7ec09fd378cf4b759ee227878e2013c0ab747e64bbe5e3f530ae50f0f5949f449f6dda2c2c8107ca402c593c99262aa08fca WHIRLPOOL 7aef2c413e289c6ce78e0044fda1574b65d075488281a684539e4be4f33bebf44868d8596e02d57abd9a5b21550563737768741889878f1182e6ccab0d10ef6e +MISC ChangeLog 3307 SHA256 7bfc517af988fc311dcf184ed700dde90e9f6bed83df27a7953d3ff60bc34900 SHA512 cd671f0b8125808e025c1df5661efce33690cb7bf912f38df32fe25a86d6bd6054d7f44ce1fb200d377b7523325b57fb38a93a746856566a4ed89a89e3637144 WHIRLPOOL f93ac6742961a8a7ab57cc7accd0da7a6f7d29f5031631ebca1c5475a0baf1d346921c4eb8f8ef04640759c87a358cf0b1052839f1ebc992069a8c49559c1e99 +MISC ChangeLog-2015 1521 SHA256 7c03a8f806c9e72572019c9376ce904abcef4a12c50aef0ddbcd60bb00ba4163 SHA512 681345158075fae0dd6518f33d0307bc38732069e1d8bbdd291c1b90acd1bc16a80001531a7135370d784881fcbe203ad4d923d6ca31e1ce3eac1b39627be5fb WHIRLPOOL 219f4eed9d4feea57d703f6d7fa6c7ddac258e7563dab483b95710b2c52b76cfc7e4dcea98606db94708143365c0042759d2c0f6609d2a7601919f039ed146db +MISC metadata.xml 243 SHA256 161359b6e9eddec137a431eea66785e070bbc25fab3ae1b57f900e411fc37fe7 SHA512 f7d6e467a5a96c0afdd42df3c0f3866240defc5bbea5ccddf4c0b1a3c004225af5d46dab67d45a5ac34535391584f3b3727fe79ef6cef1a11413636bbc35cf06 WHIRLPOOL ebf59815181c251040396bb44206b875f6d996abcff030fdbf8355b47d6ea8c4f2669847ea1af194112de469258d7ca09ed77b682924ca495958a65f957dbf39 diff --git a/media-plugins/vdr-wapd/files/confd b/media-plugins/vdr-wapd/files/confd new file mode 100644 index 000000000000..b20420fa5ce5 --- /dev/null +++ b/media-plugins/vdr-wapd/files/confd @@ -0,0 +1,8 @@ +# Global config file for vdr wapd plugin + +# 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/rc-addon.sh b/media-plugins/vdr-wapd/files/rc-addon.sh new file mode 100644 index 000000000000..80cc477f0d0e --- /dev/null +++ b/media-plugins/vdr-wapd/files/rc-addon.sh @@ -0,0 +1,9 @@ +# +# 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-as-needed.patch b/media-plugins/vdr-wapd/files/vdr-wapd-0.9-as-needed.patch new file mode 100644 index 000000000000..f37032064ab6 --- /dev/null +++ b/media-plugins/vdr-wapd/files/vdr-wapd-0.9-as-needed.patch @@ -0,0 +1,16 @@ +--- wapd-0.9.orig/Makefile 2008-01-16 16:29:10.000000000 +0100 ++++ wapd-0.9/Makefile 2009-10-20 11:32:24.494591965 +0200 +@@ -76,11 +76,11 @@ + all: libvdr-$(PLUGIN).so wappasswd + + libvdr-$(PLUGIN).so: $(OBJS) +- $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@ ++ $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ $(LIBS) + @cp $@ $(LIBDIR)/$@.$(APIVERSION) + + wappasswd: wappasswd.c +- $(CXX) $(CXXFLAGS) $(LIBS) -o wappasswd wappasswd.c ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o wappasswd wappasswd.c $(LIBS) + + dist: clean + @-rm -rf $(TMPDIR)/$(ARCHIVE) 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/wapd.mk b/media-plugins/vdr-wapd/files/wapd.mk new file mode 100644 index 000000000000..23b93e621f8a --- /dev/null +++ b/media-plugins/vdr-wapd/files/wapd.mk @@ -0,0 +1,108 @@ +# +# Makefile for a Video Disk Recorder plugin +# + +# The official name of this plugin. +# This name will be used in the '-P...' option of VDR to load the plugin. +# By default the main source file also carries this name. + +PLUGIN = wapd + +### The version number of this plugin (taken from the main source file): + +VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g') + +### The directory environment: + +# Use package data if installed...otherwise assume we're under the VDR source directory: +PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) +LIBDIR = $(call PKGCFG,libdir) +LOCDIR = $(call PKGCFG,locdir) +PLGCFG = $(call PKGCFG,plgcfg) +# +TMPDIR ?= /tmp + +### The compiler options: + +export CFLAGS = $(call PKGCFG,cflags) +export CXXFLAGS = $(call PKGCFG,cxxflags) + +### The version number of VDR's plugin API: + +APIVERSION = $(call PKGCFG,apiversion) + +### Allow user defined options to overwrite defaults: + +-include $(PLGCFG) + +### The name of the distribution archive: + +ARCHIVE = $(PLUGIN)-$(VERSION) +PACKAGE = vdr-$(ARCHIVE) + +### The name of the shared object file: + +SOFILE = libvdr-$(PLUGIN).so + +### Includes and Defines (add further entries here): + +INCLUDES += + +DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' + +### Enable this for debugging + +# DEFINES += -DWAPD_DEBUG + +### Enable this to replace WML output with HTML + +# DEFINES += -DWAPD_HTML + +### The object files (add further files here): + +OBJS = $(PLUGIN).o server.o tools.o access.o + +LIBS += -lcrypt + +### The main target: + +all: $(SOFILE) wappasswd + +### Implicit rules: + +%.o: %.c + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< + +### Dependencies: + +MAKEDEP = $(CXX) -MM -MG +DEPFILE = .dependencies +$(DEPFILE): Makefile + @$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ + +-include $(DEPFILE) + +### Targets: + +$(SOFILE): $(OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ $(LIBS) + +wappasswd: wappasswd.c + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o wappasswd wappasswd.c $(LIBS) + +install-lib: $(SOFILE) + install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) + +install: install-lib + +dist: $(I18Npo) clean + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @mkdir $(TMPDIR)/$(ARCHIVE) + @cp -a * $(TMPDIR)/$(ARCHIVE) + @tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE) + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @echo Distribution package created as $(PACKAGE).tgz + +clean: + @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ wappasswd 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..27f419c289c3 --- /dev/null +++ b/media-plugins/vdr-wapd/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</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..96c920a7dc81 --- /dev/null +++ b/media-plugins/vdr-wapd/vdr-wapd-0.9.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit vdr-plugin-2 + +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-2_src_install + + dobin "${S}/wappasswd" + + insinto /etc/vdr/plugins/wapd + doins "${FILESDIR}"/{waphosts,wapaccess} +} diff --git a/media-plugins/vdr-wapd/vdr-wapd-0.9_p1-r1.ebuild b/media-plugins/vdr-wapd/vdr-wapd-0.9_p1-r1.ebuild new file mode 100644 index 000000000000..df82c5d2bfcf --- /dev/null +++ b/media-plugins/vdr-wapd/vdr-wapd-0.9_p1-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit vdr-plugin-2 + +MY_P="${PN}-${PV%_p*}" + +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/${MY_P}.tgz + http://www.heiligenmann.de/vdr/download/${MY_P#vdr-}-patch1.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.44" + +PATCHES=("${FILESDIR}/${MY_P}_gcc-4.1.x.diff" + "${FILESDIR}/${MY_P}-gentoo.diff" + "${WORKDIR}/${MY_P#vdr-}-patch1.diff") + +S="${WORKDIR}/${MY_P#vdr-}" + +src_prepare() { + cp "${FILESDIR}/wapd.mk" "${S}/Makefile" + + vdr-plugin-2_src_prepare + + sed -e "s:RegisterI18n://RegisterI18n:" -i wapd.c + vdr_remove_i18n_include server.c wapd.c +} + +src_install() { + vdr-plugin-2_src_install + + dobin "${S}/wappasswd" + + insinto /etc/vdr/plugins/wapd + doins "${FILESDIR}"/{waphosts,wapaccess} +} diff --git a/media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild b/media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild new file mode 100644 index 000000000000..baa9dbaffaed --- /dev/null +++ b/media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit vdr-plugin-2 + +MY_P="${PN}-${PV%_p*}" + +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/${MY_P}.tgz + http://www.heiligenmann.de/vdr/download/${MY_P#vdr-}-patch1.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.44" + +PATCHES=("${FILESDIR}/${MY_P}_gcc-4.1.x.diff" + "${FILESDIR}/${MY_P}-gentoo.diff" + "${WORKDIR}/${MY_P#vdr-}-patch1.diff" + "${FILESDIR}/${MY_P}-as-needed.patch") + +S="${WORKDIR}/${MY_P#vdr-}" + +src_install() { + vdr-plugin-2_src_install + + dobin "${S}/wappasswd" + + insinto /etc/vdr/plugins/wapd + doins "${FILESDIR}"/{waphosts,wapaccess} +} |