Add adguardhome
Add .gitkeep on empty folder
This commit is contained in:
parent
51bcd703d6
commit
d7aa6ba89c
39 changed files with 112 additions and 3 deletions
34
ressources/adguardhome/adguardhome
Executable file
34
ressources/adguardhome/adguardhome
Executable file
|
@ -0,0 +1,34 @@
|
|||
#!/bin/bash
|
||||
|
||||
STEP="envinit prebuild build makedeb"
|
||||
|
||||
envinit() {
|
||||
apt install -y --no-install-recommends build-essential git wget ca-certificates dpkg fakeroot
|
||||
wget -qO - https://deb.nodesource.com/setup_16.x | bash
|
||||
wget -qO - https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor > /usr/share/keyrings/yarnkey.gpg
|
||||
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" > /etc/apt/sources.list.d/yarn.list
|
||||
apt-get update
|
||||
apt-get install -y nodejs yarn
|
||||
wget -qO - https://go.dev/dl/go1.17.7.linux-amd64.tar.gz | tar -C /usr/local -xz
|
||||
}
|
||||
|
||||
prebuild(){
|
||||
GIT_VERSION=$1
|
||||
git clone --depth 1 -b ${GIT_VERSION} https://github.com/AdguardTeam/AdGuardHome.git /tmp/adguardhome
|
||||
}
|
||||
|
||||
build() {
|
||||
cd /tmp/adguardhome
|
||||
PATH=$PATH:/usr/local/go/bin
|
||||
make
|
||||
}
|
||||
|
||||
makedeb(){
|
||||
GIT_VERSION=$1
|
||||
DEB_VERSION=$2
|
||||
PATH_DEB=/tmp/src/rootfs
|
||||
|
||||
cp /tmp/adguardhome/AdGuardHome ${PATH_DEB}/usr/bin/adguardhome
|
||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||
}
|
0
ressources/adguardhome/rootfs/DEBIAN/changelog
Normal file
0
ressources/adguardhome/rootfs/DEBIAN/changelog
Normal file
7
ressources/adguardhome/rootfs/DEBIAN/control
Normal file
7
ressources/adguardhome/rootfs/DEBIAN/control
Normal file
|
@ -0,0 +1,7 @@
|
|||
Package: adguardhome
|
||||
Version: %VERSION%
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Maintainer: Thomas Legay <thomas@syngate.fr>
|
||||
Description: adguardhome
|
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=AdGuard Home: Network-level blocker
|
||||
ConditionFileIsExecutable=/usr/bin/adguardhome
|
||||
After=syslog.target network-online.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/default/adguardhome
|
||||
StartLimitInterval=5
|
||||
StartLimitBurst=10
|
||||
ExecStart=/usr/bin/adguardhome -c /etc/adguardhome.yaml -w /var/lib/adguardhome
|
||||
WorkingDirectory=/var/lib/adguardhome
|
||||
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
0
ressources/adguardhome/rootfs/usr/bin/.gitkeep
Normal file
0
ressources/adguardhome/rootfs/usr/bin/.gitkeep
Normal file
0
ressources/authelia/rootfs/etc/authelia/.gitkeep
Normal file
0
ressources/authelia/rootfs/etc/authelia/.gitkeep
Normal file
0
ressources/authelia/rootfs/usr/bin/.gitkeep
Normal file
0
ressources/authelia/rootfs/usr/bin/.gitkeep
Normal file
0
ressources/element-web/rootfs/etc/element-web/.gitkeep
Normal file
0
ressources/element-web/rootfs/etc/element-web/.gitkeep
Normal file
0
ressources/gotify/rootfs/etc/gotify/.gitkeep
Normal file
0
ressources/gotify/rootfs/etc/gotify/.gitkeep
Normal file
0
ressources/gotify/rootfs/usr/bin/.gitkeep
Normal file
0
ressources/gotify/rootfs/usr/bin/.gitkeep
Normal file
0
ressources/gotify/rootfs/usr/share/grocy/.gitkeep
Normal file
0
ressources/gotify/rootfs/usr/share/grocy/.gitkeep
Normal file
0
ressources/gotify/rootfs/var/lib/gotify/.gitkeep
Normal file
0
ressources/gotify/rootfs/var/lib/gotify/.gitkeep
Normal file
1
ressources/grocy/rootfs/etc/grocy/.gitkeep
Normal file
1
ressources/grocy/rootfs/etc/grocy/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
1
ressources/grocy/rootfs/usr/share/grocy/.gitkeep
Normal file
1
ressources/grocy/rootfs/usr/share/grocy/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
1
ressources/grocy/rootfs/var/lib/grocy/.gitkeep
Normal file
1
ressources/grocy/rootfs/var/lib/grocy/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
1
ressources/mautrix-syncproxy/rootfs/usr/bin/.gitkeep
Normal file
1
ressources/mautrix-syncproxy/rootfs/usr/bin/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
1
ressources/mautrix-wsproxy/rootfs/usr/bin/.gitkeep
Normal file
1
ressources/mautrix-wsproxy/rootfs/usr/bin/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
1
ressources/rss-bridge/rootfs/etc/rss-bridge/.gitkeep
Normal file
1
ressources/rss-bridge/rootfs/etc/rss-bridge/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
1
ressources/tt-rss/rootfs/etc/tt-rss/.gitkeep
Normal file
1
ressources/tt-rss/rootfs/etc/tt-rss/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
1
ressources/tt-rss/rootfs/usr/share/tt-rss/.gitkeep
Normal file
1
ressources/tt-rss/rootfs/usr/share/tt-rss/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
1
ressources/tt-rss/rootfs/var/lib/tt-rss/.gitkeep
Normal file
1
ressources/tt-rss/rootfs/var/lib/tt-rss/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
1
ressources/wallabag/rootfs/etc/wallabag/.gitkeep
Normal file
1
ressources/wallabag/rootfs/etc/wallabag/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
1
ressources/wallabag/rootfs/usr/share/wallabag/.gitkeep
Normal file
1
ressources/wallabag/rootfs/usr/share/wallabag/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
1
ressources/wallabag/rootfs/var/lib/wallabag/.gitkeep
Normal file
1
ressources/wallabag/rootfs/var/lib/wallabag/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
1
ressources/zigbee2mqtt/rootfs/etc/zigbee2mqtt/.gitkeep
Normal file
1
ressources/zigbee2mqtt/rootfs/etc/zigbee2mqtt/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
Loading…
Add table
Add a link
Reference in a new issue