Bootstrap cleanup (#4)

* README cleanup

* template migration

* convert percona to new bastillefile format

* convert gitlab to bastillefile format

* convert php to bastillefile format

---------

Co-authored-by: Barry McCormick <bmccormick@debianbeast.maildragon.com>
This commit is contained in:
Barry McCormick
2023-10-08 10:48:01 -07:00
committed by GitHub
parent 79a809a407
commit 11e0766184
116 changed files with 1053 additions and 264 deletions

View File

@@ -0,0 +1,29 @@
## Change ARG values for customizing
ARG user=bazarr
ARG group=bazarr
ARG data_dir=/usr/local/bazarr
ARG out_port=6767
## allow_raw_sockets is helpful for troubleshooting (e.g. ping, traceroute) but is not a requirement.
#CONFIG set allow.raw_sockets;
#################################################################
###################### DO NOT EDIT #############################
CONFIG set allow.mlock=1;
CONFIG set enforce_statfs=1
RESTART
PKG bazarr
SYSRC bazarr_enable=YES
SYSRC bazarr_user="${user}"
SYSRC bazarr_group="${group}"
SYSRC bazarr_data_dir="${data_dir}"
SERVICE bazarr start
RDR tcp ${out_port} 6767
#################################################################
#################################################################
## The updater is disabled by default. The pkg-message gives instructions on how to enable the updater but keep in mind: this can break things like pkg check -s and pkg remove for bazarr when the built-in updater replaces files. If you like to use the updater in bazarr UI, remove (#)
#CMD rm /usr/local/share/bazarr/package_info
#CMD chown -R ${user}:${group} /usr/local/share/bazarr/bin
SERVICE bazarr restart

29
net-p2p/bazarr/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2023, Christer Edwards <christer.edwards@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE

15
net-p2p/bazarr/README.md Normal file
View File

@@ -0,0 +1,15 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/bazarr/badges/main/pipeline.svg)](https://gitlab.com/bastillebsd-templates/bazarr/commits/main)
## Bazarr
Bazarr is a companion application to Sonarr and Radarr that manages and downloads subtitles based on your requirements.
## Usage
```shell
bastille template TARGET bastillebsd-templates/bazarr
```
For more options edit `/usr/local/bastille/templates/bastillebsd-templates/bazarr/Bastillefile`

View File

@@ -0,0 +1,29 @@
## Change ARG values for customizing
ARG user=lidarr
ARG group=lidarr
ARG data_dir=/usr/local/lidarr
ARG out_port=8686
## allow_raw_sockets is helpful for troubleshooting (e.g. ping, traceroute) but is not a requirement.
#CONFIG set allow.raw_sockets;
#################################################################
###################### DO NOT EDIT #############################
CONFIG set allow.mlock=1;
CONFIG set enforce_statfs=1;
RESTART
PKG lidarr
SYSRC lidarr_enable=YES
SYSRC lidarr_user="${user}"
SYSRC lidarr_group="${group}"
SYSRC lidarr_data_dir="${data_dir}"
SERVICE lidarr start
RDR tcp ${out_port} 8686
#################################################################
#################################################################
## The updater is disabled by default. The pkg-message gives instructions on how to enable the updater but keep in mind: this can break things like pkg check -s and pkg remove for lidarr when the built-in updater replaces files. If you like to use the updater in lidarr UI, remove (#)
#CMD rm /usr/local/share/lidarr/package_info
#CMD chown -R ${user}:${group} /usr/local/share/lidarr/bin
SERVICE lidarr restart

29
net-p2p/lidarr/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2023, Christer Edwards <christer.edwards@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE

16
net-p2p/lidarr/README.md Normal file
View File

@@ -0,0 +1,16 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/lidarr/badges/main/pipeline.svg)](https://gitlab.com/bastillebsd-templates/lidarr/commits/main)
## Lidarr
Lidarr is a music collection manager for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new tracks from your favorite artists and will grab, sort and rename them. It can also be configured
to automatically upgrade the quality of files already downloaded when a better quality format becomes available.
## Usage
```shell
bastille template TARGET bastillebsd-templates/lidarr
```
For more options edit `/usr/local/bastille/templates/bastillebsd-templates/lidarr/Bastillefile`

View File

@@ -0,0 +1,29 @@
## Change ARG values for customizing
ARG user=prowlarr
ARG group=prowlarr
ARG data_dir=/usr/local/prowlarr
ARG out_port=9696
## allow_raw_sockets is helpful for troubleshooting (e.g. ping, traceroute) but is not a requirement.
#CONFIG set allow.raw_sockets;
#################################################################
###################### DO NOT EDIT #############################
CONFIG set allow.mlock=1; #
CONFIG set ip6=inherit; #
RESTART #
PKG prowlarr #
SYSRC prowlarr_enable=YES #
SYSRC prowlarr_user="${user}" #
SYSRC prowlarr_group="${group}" #
SYSRC prowlarr_data_dir="${data_dir}" #
SERVICE prowlarr start #
RDR tcp ${out_port} 9696 #
#################################################################
#################################################################
## The updater is disabled by default. The pkg-message gives instructions on how to enable the updater but keep in mind: this can break things like pkg check -s and pkg remove for prowlarr when the built-in updater replaces files. If you like to use the updater in Prowlarr UI, remove (#)
#CMD rm /usr/local/share/prowlarr/package_info
#CMD chown -R ${user}:${group} /usr/local/share/prowlarr/bin
SERVICE prowlarr restart

29
net-p2p/prowlarr/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2023, Christer Edwards <christer.edwards@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE

View File

@@ -0,0 +1,12 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/prowlarr/badges/main/pipeline.svg)](https://gitlab.com/bastillebsd-templates/prowlarr/commits/main)
## Prowlarr
Prowlarr is an indexer manager/proxy built on the popular arr .net/reactjs base stack to integrate with your various PVR apps. Prowlarr supports management of both Torrent Trackers and Usenet Indexers. It integrates seamlessly with Lidarr, Mylar3, Radarr, Readarr, and Sonarr offering complete management of your indexers with no per app Indexer setup required (we do it all).
## Usage
```shell
bastille template TARGET bastillebsd-templates/prowlarr
```
For more options edit `/usr/local/bastille/templates/bastillebsd-templates/Prowlarr/Bastillefile`

View File

@@ -0,0 +1,6 @@
CONFIG set allow.mlock=1;
CONFIG set ip6=inherit;
RESTART
PKG radarr
SYSRC radarr_enable="YES"
SERVICE radarr start

29
net-p2p/radarr/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2023, Christer Edwards <christer.edwards@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

11
net-p2p/radarr/README.md Normal file
View File

@@ -0,0 +1,11 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/radarr/badges/main/pipeline.svg)](https://gitlab.com/bastillebsd-templates/radarr/commits/main)
## Radarr
Bastille Template for Radarr
## Usage
```shell
bastille template TARGET bastillebsd-templates/radarr
```

View File

@@ -0,0 +1,6 @@
CONFIG set allow.mlock=1;
CONFIG set ip6=inherit;
RESTART
PKG sonarr
SYSRC sonarr_enable="YES"
SERVICE sonarr start

29
net-p2p/sonarr/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2023, Christer Edwards <christer.edwards@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

8
net-p2p/sonarr/README.md Normal file
View File

@@ -0,0 +1,8 @@
## sonarr
Bastille Template for Sonarr
## Usage
```shell
bastille template TARGET bastillebsd-templates/sonarr
```