Add build files for several containers containing networking software
This commit is contained in:
24
build/scripts/upnpproxy.sh
Normal file
24
build/scripts/upnpproxy.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
source /build/config
|
||||
set -x
|
||||
|
||||
## UPnP Proxy dependency
|
||||
$minimal_apt_get_install uuid-dev
|
||||
|
||||
## UPnP Proxy
|
||||
cd opt
|
||||
git clone git://git.savannah.nongnu.org/upnpproxy.git
|
||||
cd upnpproxy
|
||||
autoreconf || automake --add-missing
|
||||
./configure
|
||||
make
|
||||
make install
|
||||
|
||||
## Runit script
|
||||
mkdir /etc/service/upnpproxy
|
||||
mv /build/runit/upnpproxy /etc/service/upnpproxy/run
|
||||
|
||||
## Environment variables
|
||||
export UPNPPROXY_CONFIG=/host/etc/upnpproxy.conf
|
||||
echo -n $UPNPPROXY_CONFIG > /etc/container_environment/UPNPPROXY_CONFIG
|
||||
Reference in New Issue
Block a user