Compare commits

...

9 Commits
6 ... 11

Author SHA1 Message Date
tobbenb
0ae4b647f7 Merge pull request #12 from tobbenb/winfilename
Set windows compatible filenames to true
2016-08-20 22:32:04 +02:00
tobbenb
c0109fc8eb Set windows compatible filenames to true 2016-08-20 18:43:21 +02:00
tobbenb
cd9107225e Merge pull request #9 from sparklyballs/fixinit
fix config copy in init file
2016-08-20 14:00:12 +02:00
sparklyballs
ae8822135e fix config copy in init file 2016-08-20 12:43:00 +01:00
sparklyballs
252113dc1b Merge pull request #8 from tobbenb/master
Change config to old path.
2016-08-17 11:47:38 +01:00
tobbenb
3f8e723f7d Changed config path to tobbenb/tvheadend style.
Changed config path to tobbenb/tvheadend. Changed dvr default config check from file to directory.
2016-08-17 10:04:39 +02:00
tobbenb
745ea0acf9 Change config to old path.
Changed config to tobbenb/tvheadend path. This way there should be no problem moving to the linuxserver version. Should have done this from the start!
2016-08-17 09:03:36 +02:00
sparklyballs
75e7fccee8 Merge pull request #6 from linuxserver/revert-5-revert-4-iconv
Revert "Revert "test iconv as possible fix for file types""
2016-08-16 17:42:27 +01:00
sparklyballs
04d2505e81 Revert "Revert "test iconv as possible fix for file types"" 2016-08-16 17:37:23 +01:00
5 changed files with 69 additions and 7 deletions

View File

@@ -21,6 +21,7 @@ RUN \
cmake \
coreutils \
ffmpeg-dev \
file \
findutils \
g++ \
gcc \
@@ -85,6 +86,23 @@ RUN \
wget \
zlib && \
# build libiconv
mkdir -p \
/tmp/iconv-src && \
curl -o \
/tmp/iconv.tar.gz -L \
http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz && \
tar xf /tmp/iconv.tar.gz -C \
/tmp/iconv-src --strip-components=1 && \
cd /tmp/iconv-src && \
./configure \
--prefix=/usr/local && \
patch -p1 -i \
/tmp/patches/libiconv-1-fixes.patch && \
make && \
make install && \
libtool --finish /usr/local/lib && \
# install perl modules
curl -L http://cpanmin.us | perl - App::cpanminus && \
cpanm HTML::TableExtract && \

View File

@@ -0,0 +1,46 @@
This file is part of MXE.
See index.html for further information.
Contains ad hoc patches for cross building.
From 47345f5dcfb91da8afed7c4e6c29faa2056db447 Mon Sep 17 00:00:00 2001
From: MXE
Date: Fri, 7 Jun 2013 17:44:24 +1000
Subject: [PATCH] remove gets since c++11 removed it
https://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00186.html
diff --git a/srclib/stdio.in.h b/srclib/stdio.in.h
index 473c84c..dfb59eb 100644
--- a/srclib/stdio.in.h
+++ b/srclib/stdio.in.h
@@ -679,22 +679,11 @@ _GL_WARN_ON_USE (getline, "getline is unportable - "
# endif
#endif
-#if @GNULIB_GETS@
-# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
-# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
-# undef gets
-# define gets rpl_gets
-# endif
-_GL_FUNCDECL_RPL (gets, char *, (char *s) _GL_ARG_NONNULL ((1)));
-_GL_CXXALIAS_RPL (gets, char *, (char *s));
-# else
-_GL_CXXALIAS_SYS (gets, char *, (char *s));
-# undef gets
-# endif
-_GL_CXXALIASWARN (gets);
/* It is very rare that the developer ever has full control of stdin,
- so any use of gets warrants an unconditional warning. Assume it is
- always declared, since it is required by C89. */
+ so any use of gets warrants an unconditional warning; besides, C11
+ removed it. */
+#undef gets
+#if HAVE_RAW_DECL_GETS
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#endif
--
1.8.2.3

View File

@@ -34,5 +34,5 @@
"omit-title": false,
"clean-title": false,
"whitespace-in-title": false,
"windows-compatible-filenames": false
"windows-compatible-filenames": true
}

View File

@@ -2,16 +2,14 @@
# make folders
mkdir -p \
/config/.hts/tvheadend/dvr/config \
/config/comskip
# copy config
[[ ! -e /config/.hts/tvheadend/dvr/config/7a5edfbe189851e5b1d1df19c93962f0 ]] && \
cp /defaults/7a5edfbe189851e5b1d1df19c93962f0 /config/.hts/tvheadend/dvr/config/7a5edfbe189851e5b1d1df19c93962f0
[[ ! -e /config/dvr/config ]] && \
(mkdir -p /config/dvr/config && cp /defaults/7a5edfbe189851e5b1d1df19c93962f0 /config/dvr/config/7a5edfbe189851e5b1d1df19c93962f0)
[[ ! -e /config/comskip/comskip.ini ]]
cp /defaults/comskip.ini.org /config/comskip/comskip.ini
# permissions
chown -R abc:abc \
/config \
/config/.hts
/config

View File

@@ -1,3 +1,3 @@
#!/usr/bin/with-contenv bash
exec \
s6-setuidgid abc /usr/bin/tvheadend -C
s6-setuidgid abc /usr/bin/tvheadend -C -c /config