consolidated repository cleanup

This commit is contained in:
Christer Edwards
2021-10-22 22:32:43 -06:00
commit 5aa30e7ce7
226 changed files with 5524 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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.

1
databases/influxdb/PKG Normal file
View File

@@ -0,0 +1 @@
influxdb

View File

@@ -0,0 +1,15 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/influxdb/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/influxdb/commits/master)
## influxdb
Bastille Template to bootstrap InfluxDB
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/influxdb
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/influxdb
```

View File

@@ -0,0 +1 @@
influxd restart

1
databases/influxdb/SYSRC Normal file
View File

@@ -0,0 +1 @@
influxd_enable=YES

View File

@@ -0,0 +1,3 @@
PKG mariadb105-server
SYSRC mysql_enable=YES
SERVICE mysql-server restart

View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019-2021, 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,17 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/mariadb/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/mariadb/commits/master)
## mariadb
Bastille template to bootstrap MariaDB Server
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/mariadb
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/mariadb
```

View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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.

1
databases/memcached/PKG Normal file
View File

@@ -0,0 +1 @@
memcached

View File

@@ -0,0 +1,15 @@
# Memcached
Bastille template to bootstrap Memcached
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/memcached/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/memcached/commits/master)
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/memcached
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/memcached
```

View File

@@ -0,0 +1 @@
memcached start

View File

@@ -0,0 +1,2 @@
memcached_enable=YES
memcached_flags=""

View File

@@ -0,0 +1,3 @@
PKG mysql57-server
SYSRC mysql_enable=YES
SERVICE mysql-server restart

View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019-2021, 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,15 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/mysql-server/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/mysql-server/commits/master)
## mysql
Bastille template to bootstrap MySQL
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/mysql-server
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/mysql-server
```

2
databases/percona/PKG Normal file
View File

@@ -0,0 +1,2 @@
percona57-server
percona57-client

View File

@@ -0,0 +1,15 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/percona/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/percona/commits/master)
## percona
Bastille Template: percona
Fetch and apply this template with:
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/percona
bastille template TARGET bastillebsd-templates/percona
```
## Description
This template installs a percona server and client.

View File

@@ -0,0 +1 @@
mysql-server start

1
databases/percona/SYSRC Normal file
View File

@@ -0,0 +1 @@
mysql_enable=YES

29
databases/redis/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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.

1
databases/redis/PKG Normal file
View File

@@ -0,0 +1 @@
redis

15
databases/redis/README.md Normal file
View File

@@ -0,0 +1,15 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/redis/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/redis/commits/master)
## redis
Bastille template to bootstrap Redis
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/redis
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/redis
```

1
databases/redis/SERVICE Normal file
View File

@@ -0,0 +1 @@
redis start

1
databases/redis/SYSRC Normal file
View File

@@ -0,0 +1 @@
redis_enable=YES

View File

@@ -0,0 +1,3 @@
PKG tile38
SYSRC tile38_enable=YES
SERVICE tile38 start

View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2020-2021, Brian Downs
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,15 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/tile38-server/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/tile38-server/commits/master)
## tile38
Bastille template to bootstrap Tile38
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/tile38-server
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/tile38-server
```

29
devel/jenkins/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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.

1
devel/jenkins/PKG Normal file
View File

@@ -0,0 +1 @@
jenkins

15
devel/jenkins/README.md Normal file
View File

@@ -0,0 +1,15 @@
# Jenkins
Bastille template to bootstrap Jenkins
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/jenkins/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/jenkins/commits/master)
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/jenkins
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/jenkins
```

1
devel/jenkins/SERVICE Normal file
View File

@@ -0,0 +1 @@
jenkins start

1
devel/jenkins/SYSRC Normal file
View File

@@ -0,0 +1 @@
jenkins_enable=YES

4
dns/dnsmasq/Bastillefile Normal file
View File

@@ -0,0 +1,4 @@
CMD mkdir -p /usr/local/netboot/tftpboot
PKG dnsmasq
SYSRC dnsmasq_enable=YES
SERVICE dnsmasq restart

29
dns/dnsmasq/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019-2021, 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
dns/dnsmasq/README.md Normal file
View File

@@ -0,0 +1,15 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/dnsmasq/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/dnsmasq/commits/master)
## dnsmasq
Bastille template to bootstrap dnsmasq
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/dnsmasq
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/dnsmasq
```

View File

@@ -0,0 +1,10 @@
PKG unbound ca_root_nss
CP usr /
SYSRC unbound_enable=YES
CMD chown unbound:wheel /usr/local/etc/unbound
CMD /usr/local/sbin/unbound-control-setup
CMD /usr/local/sbin/unbound-checkconf
SERVICE unbound restart
CMD sh /usr/local/etc/periodic/daily/999.adblock
CP etc /
CMD host omtrdc.net

View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2021, 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,18 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/unbound-adblock/badges/main/pipeline.svg)](https://gitlab.com/bastillebsd-templates/unbound-adblock/commits/main)
## unbound-adblock
Bastille template to bootstrap Unbound + adblock
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/unbound-adblock
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/unbound-adblock
```

View File

@@ -0,0 +1 @@
nameserver 127.0.0.1

View File

@@ -0,0 +1,36 @@
#!/bin/sh
BlocklistURL=${1:-"https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"}
AdBlockPath=${2:-"/usr/local/etc/unbound/adblock.conf"}
LogFile=${3:-"/var/log/adblock-update.log"}
ExporterPath=${4-"/var/tmp/node_exporter"}
## add timestamp to LogFile
if [ ! -f ${LogFile} ]; then
touch ${LogFile}
fi
echo $(date +%F) >> ${LogFile}
## add linecount of adblock file to LogFile
if [ ! -f ${AdBlockPath} ]; then
touch ${AdBlockPath}
fi
wc -l ${AdBlockPath} >> ${LogFile}
## fetch blocklist url & generate adblock.conf
fetch ${BlocklistURL} -o - | awk '/^0.0.0.0/ {print "local-zone: \""$2"\" redirect\nlocal-data: \""$2" A '0.0.0.0'\""}' > ${AdBlockPath}
## log new line count of adblock.conf
wc -l ${AdBlockPath} >> ${LogFile}
## end of log entry
echo "-----" >> ${LogFile}
## reload service
service unbound reload
if [ -d ${ExporterPath} ]; then
echo "# HELP node_unbound_adblock_count This is the count of adblock domains found in unbound" | tee "${ExporterPath}/node_unbound_adblock_count.prom"
echo "# TYPE node_unbound_adblock_count gauge" | tee -a "${ExporterPath}/node_unbound_adblock_count.prom"
echo "node_unbound_adblock_count $(wc -l ${AdBlockPath} | awk '{ print $1 }')" | tee -a "${ExporterPath}/node_unbound_adblock_count.prom"
fi

View File

@@ -0,0 +1,48 @@
server:
access-control: 127.0.0.0/8 allow
access-control: 10.0.0.0/8 allow
access-control: 172.16.0.0/12 allow
access-control: 192.168.0.0/16 allow
aggressive-nsec: yes
cache-max-ttl: 14400
cache-min-ttl: 1200
hide-identity: yes
hide-version: yes
interface: 127.0.0.1
prefetch: yes
rrset-roundrobin: yes
tls-cert-bundle: "/usr/local/share/certs/ca-root-nss.crt"
use-caps-for-id: yes
verbosity: 1
auto-trust-anchor-file: "/usr/local/etc/unbound/root.key"
include: "/usr/local/etc/unbound/adblock.conf"
## customize as needed
# num-threads: 4 # hw.ncpu
# msg-cache-slabs: 4 # hw.ncpu
# rrset-cache-slabs: 8
# infra-cache-slabs: 8
# key-cache-slabs: 8
# msg-cache-size: 128M
# rrset-cache-size: 256M
# outgoing-range: 8192
# num-queries-per-thread: 4096
remote-control:
control-enable: yes
control-interface: 127.0.0.1
control-use-cert: "yes"
server-key-file: "/usr/local/etc/unbound/unbound_server.key"
server-cert-file: "/usr/local/etc/unbound/unbound_server.pem"
control-key-file: "/usr/local/etc/unbound/unbound_control.key"
control-cert-file: "/usr/local/etc/unbound/unbound_control.pem"
forward-zone:
name: "."
forward-tls-upstream: yes
forward-addr: 1.1.1.1@853#one.one.one.one
forward-addr: 1.0.0.1@853#one.one.one.one
forward-addr: 8.8.4.4@853#dns.google
forward-addr: 8.8.8.8@853#dns.google
forward-addr: 9.9.9.9@853#dns.quad9.net

5
dns/unbound/CMD Normal file
View File

@@ -0,0 +1,5 @@
chown unbound:wheel /usr/local/etc/unbound
/usr/local/sbin/unbound-control-setup
/usr/local/sbin/unbound-checkconf && echo "nameserver 127.0.0.1" > /etc/resolv.conf
service unbound restart
host bastille.org

29
dns/unbound/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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.

1
dns/unbound/OVERLAY Normal file
View File

@@ -0,0 +1 @@
usr

1
dns/unbound/PKG Normal file
View File

@@ -0,0 +1 @@
ca_root_nss unbound

15
dns/unbound/README.md Normal file
View File

@@ -0,0 +1,15 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/unbound/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/unbound/commits/master)
## unbound
Bastille Template for an Unbound DNS container
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/unbound
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/unbound
```

1
dns/unbound/SYSRC Normal file
View File

@@ -0,0 +1 @@
unbound_enable=YES

View File

@@ -0,0 +1,45 @@
server:
access-control: 127.0.0.0/8 allow
access-control: 10.0.0.0/8 allow
access-control: 172.16.0.0/12 allow
access-control: 192.168.0.0/16 allow
aggressive-nsec: yes
cache-max-ttl: 14400
cache-min-ttl: 1200
hide-identity: yes
hide-version: yes
interface: 127.0.0.1
prefetch: yes
rrset-roundrobin: yes
tls-cert-bundle: "/usr/local/share/certs/ca-root-nss.crt"
use-caps-for-id: yes
verbosity: 1
auto-trust-anchor-file: "/usr/local/etc/unbound/root.key"
## customize as needed
# num-threads: 4 # hw.ncpu
# msg-cache-slabs: 4 # hw.ncpu
# rrset-cache-slabs: 4
# infra-cache-slabs: 4
# key-cache-slabs: 4
# msg-cache-size: 256M
# rrset-cache-size: 512M
# outgoing-range: 8192
# num-queries-per-thread: 4096
remote-control:
control-enable: yes
control-interface: 127.0.0.1
control-use-cert: "yes"
server-key-file: "/usr/local/etc/unbound/unbound_server.key"
server-cert-file: "/usr/local/etc/unbound/unbound_server.pem"
control-key-file: "/usr/local/etc/unbound/unbound_control.key"
control-cert-file: "/usr/local/etc/unbound/unbound_control.pem"
forward-zone:
name: "."
forward-addr: 1.1.1.1@53 #cloudflare dns
forward-addr: 1.0.0.1@53 #cloudflare dns
forward-addr: 8.8.4.4@53 #google dns
forward-addr: 8.8.8.8@53 #google dns
forward-addr: 9.9.9.9@53 #quad9 dns

29
java/openjdk/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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.

1
java/openjdk/PKG Normal file
View File

@@ -0,0 +1 @@
openjdk13

15
java/openjdk/README.md Normal file
View File

@@ -0,0 +1,15 @@
# OpenJDK
Bastille template to bootstrap OpenJDK
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/openjdk/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/openjdk/commits/master)
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/openjdk
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/openjdk
```

29
lang/golang/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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.

1
lang/golang/PKG Normal file
View File

@@ -0,0 +1 @@
go

15
lang/golang/README.md Normal file
View File

@@ -0,0 +1,15 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/golang/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/golang/commits/master)
## golang
Bastille template to bootstrap Golang
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/golang
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/golang
```

29
lang/luajit/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2020, 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.

1
lang/luajit/PKG Normal file
View File

@@ -0,0 +1 @@
luajit

18
lang/luajit/README.md Normal file
View File

@@ -0,0 +1,18 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/luajit/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/luajit/commits/master)
## luajit
Bastille template to bootstrap LuaJIT
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/luajit
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/luajit
```

29
lang/perl/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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.

1
lang/perl/PKG Normal file
View File

@@ -0,0 +1 @@
perl5-devel

15
lang/perl/README.md Normal file
View File

@@ -0,0 +1,15 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/perl/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/perl/commits/master)
## perl
Bastille Template to bootstrap perl5-devel
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/perl
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/perl
```

29
lang/php/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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.

1
lang/php/PKG Normal file
View File

@@ -0,0 +1 @@
php74

15
lang/php/README.md Normal file
View File

@@ -0,0 +1,15 @@
# PHP
Bastille template to bootstrap PHP
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/php/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/php/commits/master)
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/php
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/php
```

1
lang/php/SERVICE Normal file
View File

@@ -0,0 +1 @@
php-fpm start

1
lang/php/SYSRC Normal file
View File

@@ -0,0 +1 @@
php_fpm_enable=YES

1
lang/python/CMD Normal file
View File

@@ -0,0 +1 @@
python -VV

29
lang/python/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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.

1
lang/python/PKG Normal file
View File

@@ -0,0 +1 @@
python3 python

15
lang/python/README.md Normal file
View File

@@ -0,0 +1,15 @@
# Python
Bastille template to bootstrap Python
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/python/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/python/commits/master)
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/python
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/python
```

29
lang/ruby/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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.

1
lang/ruby/PKG Normal file
View File

@@ -0,0 +1 @@
ruby

15
lang/ruby/README.md Normal file
View File

@@ -0,0 +1,15 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/ruby/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/ruby/commits/master)
## ruby
Bastille template to bootstrap ruby
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/ruby
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/ruby
```

29
lang/rust/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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.

1
lang/rust/PKG Normal file
View File

@@ -0,0 +1 @@
rust

15
lang/rust/README.md Normal file
View File

@@ -0,0 +1,15 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/rust/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/rust/commits/master)
## rust
Bastille Template to bootstrap Rust
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/rust
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/rust
```

2
mail/postfix/CMD Normal file
View File

@@ -0,0 +1,2 @@
mkdir -p /usr/local/etc/mail
install -m 0644 /usr/local/share/postfix/mailer.conf.postfix /usr/local/etc/mail/mailer.conf

29
mail/postfix/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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.

1
mail/postfix/OVERLAY Normal file
View File

@@ -0,0 +1 @@
etc

1
mail/postfix/PKG Normal file
View File

@@ -0,0 +1 @@
postfix

15
mail/postfix/README.md Normal file
View File

@@ -0,0 +1,15 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/postfix/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/postfix/commits/master)
## postfix
Bastille template to bootstrap postfix
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/postfix
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/postfix
```

1
mail/postfix/SERVICE Normal file
View File

@@ -0,0 +1 @@
postfix start

2
mail/postfix/SYSRC Normal file
View File

@@ -0,0 +1,2 @@
postfix_enable=YES
sendmail_enable="NONE"

View File

@@ -0,0 +1,4 @@
daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"

View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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 @@
plexmediaserver-plexpass

View File

@@ -0,0 +1,18 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/plexmediaserver-plexpass/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/plexmediaserver-plexpass/commits/master)
## plexmediaserver-plexpass
Bastille template for PlexMediaServer PlexPass
## Bootstrap
```shell
ishmael ~ # bastille bootstrap https://gitlab.com/BastilleBSD-Templates/plexmediaserver-plexpass
```
## Usage
```shell
ishmael ~ # bastille template TARGET BastilleBSD-Templates/plexmediaserver-plexpass
```

View File

@@ -0,0 +1 @@
plexmediaserver_plexpass start

View File

@@ -0,0 +1 @@
plexmediaserver_plexpass_enable=YES

View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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 @@
plexmediaserver

View File

@@ -0,0 +1,18 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/plexmediaserver/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/plexmediaserver/commits/master)
## plexmediaserver
Bastille Template for a Plex Server Jail
## Bootstrap
```shell
ishmael ~ # bastille bootstrap https://gitlab.com/BastilleBSD-Templates/plexmediaserver
```
## Usage
```shell
ishmael ~ # bastille template TARGET BastilleBSD-Templates/plexmediaserver
```

View File

@@ -0,0 +1 @@
plexmediaserver start

View File

@@ -0,0 +1 @@
plexmediaserver_enable=YES

View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2019, Christer Edwards
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 @@
usr

1
net-mgmt/prometheus/PKG Normal file
View File

@@ -0,0 +1 @@
prometheus

View File

@@ -0,0 +1,17 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/prometheus/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/prometheus/commits/master)
## prometheus
Bastille Template to bootstrap Prometheus.
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/prometheus
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/prometheus
```

View File

@@ -0,0 +1 @@
prometheus start

Some files were not shown because too many files have changed in this diff Show More