Compare commits
61 Commits
2634460f63
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
acd60dbeb4 | ||
|
|
3b9d465ae4 | ||
|
|
edba879ba3 | ||
|
|
5098cb39cc | ||
|
|
4cbfe8b05f | ||
|
|
b6b03b7ec7 | ||
|
|
37bba6abff | ||
|
|
d16fbbcc85 | ||
|
|
dd69e0fbcc | ||
|
|
f4e712fb40 | ||
|
|
2d3ac51b1f | ||
|
|
d18a54c4f2 | ||
|
|
820f43f74c | ||
|
|
b70ccb6e4c | ||
|
|
a65790654e | ||
|
|
5c9813fb64 | ||
|
|
d79eb93b0b | ||
|
|
c41c3a4853 | ||
|
|
8bd1fba2bb | ||
|
|
491fe7d044 | ||
|
|
ce61f979e1 | ||
|
|
e18164f6f6 | ||
|
|
4487382823 | ||
|
|
3c393bec89 | ||
|
|
74372151be | ||
|
|
0b03b9fece | ||
|
|
c26bbe0f03 | ||
|
|
667afdabe2 | ||
|
|
f76c2545ea | ||
|
|
08f7c2a48f | ||
|
|
344ef81bf7 | ||
|
|
b6a9e9ba86 | ||
|
|
17cfa83619 | ||
|
|
f8ffaa65ed | ||
|
|
83de8acae7 | ||
|
|
a193c86b1e | ||
|
|
3bf357b62b | ||
|
|
45cef18bdf | ||
|
|
4f775d68bc | ||
|
|
1aad2ca792 | ||
|
|
23fa7fd556 | ||
|
|
494d7268d9 | ||
|
|
cb40c0d618 | ||
|
|
5fe3e36c66 | ||
|
|
2a6f6639a1 | ||
|
|
f2d9eda4d2 | ||
|
|
ab9ca84926 | ||
|
|
52e5b7836f | ||
|
|
3b79e49c0c | ||
|
|
b198d9c0c4 | ||
|
|
8d99bf16b5 | ||
|
|
f5a3844da5 | ||
|
|
e5e6fc5480 | ||
|
|
bb294402ca | ||
|
|
d012519c70 | ||
|
|
76d80e3286 | ||
|
|
413b0467ec | ||
|
|
7ef32c197e | ||
|
|
c257657155 | ||
|
|
521e121948 | ||
|
|
7cdd7d2f49 |
@@ -5,26 +5,26 @@ FROM ${BUILD_FROM}
|
|||||||
# Set shell
|
# Set shell
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
|
||||||
ENV VERSION 0.9.3
|
ENV VERSION 0.10.1
|
||||||
|
|
||||||
# Setup base
|
# Setup base
|
||||||
# hadolint ignore=DL3003
|
# hadolint ignore=DL3003
|
||||||
RUN \
|
RUN \
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
nginx=1.22.1-r0 \
|
nginx \
|
||||||
php8-curl=8.0.26-r0 \
|
php81-curl \
|
||||||
php8-fpm=8.0.26-r0 \
|
php81-fpm \
|
||||||
php8-mbstring=8.0.26-r0 \
|
php81-mbstring \
|
||||||
php8-xml=8.0.26-r0 \
|
php81-xml \
|
||||||
php8=8.0.26-r0 \
|
php81 \
|
||||||
php8-sqlite3=8.0.26-r0 \
|
php81-sqlite3 \
|
||||||
php8-pdo=8.0.26-r0 \
|
php81-pdo \
|
||||||
php8-pdo_mysql=8.0.26-r0 \
|
php81-pdo_mysql \
|
||||||
php8-pdo_sqlite=8.0.26-r0 \
|
php81-pdo_sqlite \
|
||||||
php8-session=8.0.26-r0 \
|
php81-session \
|
||||||
php8-dom=8.0.26-r0 \
|
php81-dom \
|
||||||
php8-xmlreader=8.0.26-r0 \
|
php81-xmlreader \
|
||||||
php8-xmlwriter=8.0.26-r0 \
|
php81-xmlwriter \
|
||||||
\
|
\
|
||||||
&& curl -Ls "https://github.com/sabre-io/Baikal/releases/download/$VERSION/baikal-$VERSION.zip" -o baikal-$VERSION.zip \
|
&& curl -Ls "https://github.com/sabre-io/Baikal/releases/download/$VERSION/baikal-$VERSION.zip" -o baikal-$VERSION.zip \
|
||||||
&& unzip -q baikal-$VERSION.zip -d /var/www/ \
|
&& unzip -q baikal-$VERSION.zip -d /var/www/ \
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
---
|
---
|
||||||
name: Baikal
|
name: Baikal
|
||||||
slug: baikal
|
slug: baikal
|
||||||
version: 0.9.3
|
version: 0.10.1
|
||||||
description: Baikal is a Cal and CardDAV server, based on sabre/dav, that includes an administrative interface for easy management.
|
description: Baikal is a Cal and CardDAV server, based on sabre/dav, that includes an administrative interface for easy management.
|
||||||
url: https://github.com/d-two/hassio-addons
|
url: https://github.com/d-two/hassio-addons
|
||||||
startup: application
|
startup: services
|
||||||
init: false
|
init: false
|
||||||
webui: "[PROTO:ssl]://[HOST]:[PORT:80]"
|
webui: "[PROTO:ssl]://[HOST]:[PORT:80]"
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
@@ -5,4 +5,4 @@
|
|||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
bashio::log.info "Starting PHP-FPM..."
|
bashio::log.info "Starting PHP-FPM..."
|
||||||
|
|
||||||
exec php-fpm8 --nodaemonize
|
exec php-fpm81 --nodaemonize
|
||||||
|
|||||||
@@ -7,31 +7,33 @@ ARG OSCAM_VERSION
|
|||||||
RUN \
|
RUN \
|
||||||
echo "**** install build packages ****" && \
|
echo "**** install build packages ****" && \
|
||||||
apk add --no-cache --virtual=build-dependencies \
|
apk add --no-cache --virtual=build-dependencies \
|
||||||
gcc \
|
build-base \
|
||||||
g++ \
|
libdvbcsa-dev \
|
||||||
libusb-dev \
|
libusb-dev \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
make \
|
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
pcsc-lite-dev \
|
pcsc-lite-dev \
|
||||||
subversion \
|
|
||||||
tar \
|
|
||||||
shadow && \
|
shadow && \
|
||||||
echo "**** install runtime packages ****" && \
|
echo "**** install runtime packages ****" && \
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
ccid \
|
ccid \
|
||||||
curl \
|
libdvbcsa \
|
||||||
libcrypto1.1 \
|
openssl \
|
||||||
libssl1.1 \
|
|
||||||
libusb \
|
libusb \
|
||||||
pcsc-lite \
|
pcsc-lite \
|
||||||
pcsc-lite-libs && \
|
pcsc-lite-libs && \
|
||||||
echo "**** compile oscam ****" && \
|
echo "**** compile oscam ****" && \
|
||||||
if [ -z ${OSCAM_VERSION+x} ]; then \
|
if [ -z ${OSCAM_VERSION+x} ]; then \
|
||||||
OSCAM_VERSION=$(svn info --show-item revision https://svn.streamboard.tv/oscam/trunk ); \
|
OSCAM_VERSION=$(curl -s https://git.streamboard.tv/api/v4/projects/11/repository/tags | jq -r '.[0].name'); \
|
||||||
fi && \
|
fi && \
|
||||||
svn checkout https://svn.streamboard.tv/oscam/trunk@${OSCAM_VERSION} /tmp/oscam-svn && \
|
mkdir -p /tmp/oscam && \
|
||||||
cd /tmp/oscam-svn && \
|
curl -o \
|
||||||
|
/tmp/oscam.tar.gz -L \
|
||||||
|
"https://git.streamboard.tv/common/oscam/-/archive/${OSCAM_VERSION}/oscam-${OSCAM_VERSION}.tar.gz" && \
|
||||||
|
tar xf \
|
||||||
|
/tmp/oscam.tar.gz -C \
|
||||||
|
/tmp/oscam --strip-components=1 && \
|
||||||
|
cd /tmp/oscam && \
|
||||||
./config.sh \
|
./config.sh \
|
||||||
--enable all \
|
--enable all \
|
||||||
--disable \
|
--disable \
|
||||||
@@ -58,7 +60,7 @@ RUN \
|
|||||||
/tmp/omnikey && \
|
/tmp/omnikey && \
|
||||||
curl -o \
|
curl -o \
|
||||||
/tmp/omnikey.tar.gz -L \
|
/tmp/omnikey.tar.gz -L \
|
||||||
"https://www3.hidglobal.com/sites/default/files/drivers/ifdokccid_linux_x86_64-v4.2.8.tar.gz" && \
|
"https://raw.githubusercontent.com/d-two/hassio-addons/main/oscam/ifdokccid_linux_x86_64-v4.2.8.tar.gz" && \
|
||||||
tar xzf \
|
tar xzf \
|
||||||
/tmp/omnikey.tar.gz -C \
|
/tmp/omnikey.tar.gz -C \
|
||||||
/tmp/omnikey --strip-components=2 && \
|
/tmp/omnikey --strip-components=2 && \
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
"description": "This add-on allows you to have a OSCAM-Server.",
|
"description": "This add-on allows you to have a OSCAM-Server.",
|
||||||
"arch": ["armv7", "aarch64", "amd64"],
|
"arch": ["armv7", "aarch64", "amd64"],
|
||||||
"startup": "application",
|
"startup": "application",
|
||||||
|
"webui": "http://[HOST]:[PORT:8888]",
|
||||||
"boot": "auto",
|
"boot": "auto",
|
||||||
"init": false,
|
"init": false,
|
||||||
"uart": true,
|
"uart": true,
|
||||||
|
|||||||
BIN
oscam/ifdokccid_linux_x86_64-v4.2.8.tar.gz
Normal file
BIN
oscam/ifdokccid_linux_x86_64-v4.2.8.tar.gz
Normal file
Binary file not shown.
@@ -20,7 +20,10 @@ The architectures supported by this image are:
|
|||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
- coming soon
|
cifsdomain: workgroup (optional)
|
||||||
|
cifspassword: password
|
||||||
|
cifsusername: username
|
||||||
|
networkdisks: //192.168.137.100/path/to/games
|
||||||
|
|
||||||
### Ports
|
### Ports
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
name: Ps3NetServer
|
name: Ps3NetServer
|
||||||
slug: ps3netserver
|
slug: ps3netserver
|
||||||
version: 0.1.1-NAS
|
version: 0.1.3-NAS
|
||||||
description: This is a Docker container for ps3netsrv (or ps3netsvr).
|
description: This is a Docker container for ps3netsrv (or ps3netsvr).
|
||||||
url: https://github.com/d-two/hassio-addons/tree/main/ps3netsrv
|
url: https://github.com/d-two/hassio-addons/tree/main/ps3netsrv
|
||||||
startup: application
|
startup: application
|
||||||
@@ -22,6 +22,6 @@ privileged:
|
|||||||
- DAC_READ_SEARCH
|
- DAC_READ_SEARCH
|
||||||
schema:
|
schema:
|
||||||
cifsdomain: str?
|
cifsdomain: str?
|
||||||
cifspassword: str?
|
cifspassword: str
|
||||||
cifsusername: str?
|
cifsusername: str
|
||||||
networkdisks: str?
|
networkdisks: str
|
||||||
|
|||||||
@@ -5,5 +5,29 @@
|
|||||||
# Runs the ps3netsrv
|
# Runs the ps3netsrv
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
bashio::log.info "Starting Ps3NetSrv.... (Share)"
|
if bashio::config.has_value 'networkdisks'; then
|
||||||
exec ps3netsrv /mnt/Share
|
|
||||||
|
# Define variables
|
||||||
|
MOREDISKS=$(bashio::config 'networkdisks')
|
||||||
|
|
||||||
|
# Clean data
|
||||||
|
MOREDISKS=${MOREDISKS// \/\//,\/\/}
|
||||||
|
MOREDISKS=${MOREDISKS//, /,}
|
||||||
|
MOREDISKS=${MOREDISKS// /"\040"}
|
||||||
|
|
||||||
|
# Mounting disks
|
||||||
|
# shellcheck disable=SC2086
|
||||||
|
for disk in ${MOREDISKS//,/ }; do # Separate comma separated values
|
||||||
|
|
||||||
|
# Clean name of network share
|
||||||
|
# shellcheck disable=SC2116,SC2001
|
||||||
|
disk=$(echo $disk | sed "s,/$,,") # Remove / at end of name
|
||||||
|
disk="${disk//"\040"/ }" #replace \040 with
|
||||||
|
diskname="${disk//\\//}" #replace \ with /
|
||||||
|
diskname="${diskname##*/}" # Get only last part of the name
|
||||||
|
|
||||||
|
bashio::log.info "Starting Ps3NetSrv.... ($diskname)"
|
||||||
|
exec ps3netsrv /mnt/"$diskname"
|
||||||
|
break
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user