-
-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1473 from pi-hole/development
Pi-hole FTL v5.19
- Loading branch information
Showing
42 changed files
with
1,654 additions
and
617 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,17 +24,17 @@ jobs: | |
steps: | ||
- | ||
name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v3.1.0 | ||
- | ||
name: "Calculate required variables" | ||
id: variables | ||
run: | | ||
GIT_TAG=${{ github.event.release.tag_name }} | ||
# If GIT_TAG is set then GIT BRANCH should be "master", else set it from GITHUB_REF | ||
GIT_BRANCH=$([ -n "${GIT_TAG}" ] && echo "master" || echo "${GITHUB_REF#refs/*/}") | ||
echo ::set-output name=GIT_BRANCH::${GIT_BRANCH} | ||
echo ::set-output name=GIT_TAG::${GIT_TAG} | ||
echo ::set-output name=OUTPUT_DIR::${GIT_TAG:-${GIT_BRANCH}} | ||
echo "GIT_BRANCH=${GIT_BRANCH}" >> $GITHUB_OUTPUT | ||
echo "GIT_TAG=${GIT_TAG}" >> $GITHUB_OUTPUT | ||
echo "OUTPUT_DIR=${GIT_TAG:-${GIT_BRANCH}}" >> $GITHUB_OUTPUT | ||
- | ||
name: "Check git branch name depth" | ||
env: | ||
|
@@ -53,7 +53,7 @@ jobs: | |
|
||
needs: smoke-tests | ||
|
||
container: ghcr.io/pi-hole/ftl-build:v1.19-${{ matrix.arch }} | ||
container: ghcr.io/pi-hole/ftl-build:v1.23-${{ matrix.arch }} | ||
|
||
strategy: | ||
fail-fast: false | ||
|
@@ -62,6 +62,9 @@ jobs: | |
include: | ||
- arch: x86_64 | ||
bin_name: pihole-FTL-linux-x86_64 | ||
- arch: x86_64 | ||
arch_extra: _full | ||
bin_name: pihole-FTL-linux-x86_64_full | ||
- arch: x86_64-musl | ||
bin_name: pihole-FTL-musl-linux-x86_64 | ||
- arch: x86_32 | ||
|
@@ -80,12 +83,12 @@ jobs: | |
bin_name: pihole-FTL-aarch64-linux-gnu | ||
|
||
env: | ||
CI_ARCH: ${{ matrix.arch }} | ||
CI_ARCH: ${{ matrix.arch }}${{ matrix.arch_extra }} | ||
|
||
steps: | ||
- | ||
name: Checkout code | ||
uses: actions/checkout@v3.0.2 | ||
uses: actions/checkout@v3.1.0 | ||
- | ||
name: "Fix ownership of repository" | ||
run: chown -R root . | ||
|
@@ -116,7 +119,7 @@ jobs: | |
- | ||
name: Upload artifacts to job for later processing | ||
if: github.event_name != 'pull_request' | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
name: tmp-binary-storage | ||
path: '${{ matrix.bin_name }}*' | ||
|
@@ -128,10 +131,10 @@ jobs: | |
steps: | ||
- | ||
name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v3.1.0 | ||
- | ||
name: Get Binaries built in previous jobs | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
id: download | ||
with: | ||
name: tmp-binary-storage | ||
|
@@ -142,10 +145,10 @@ jobs: | |
working-directory: ${{steps.download.outputs.download-path}} | ||
- | ||
name: Install SSH Key | ||
uses: shimataro/ssh-key-action@v2.3.1 | ||
uses: benoitchantre/setup-ssh-authentication-action@1.0.0 | ||
with: | ||
key: ${{ secrets.SSH_KEY }} | ||
known_hosts: ${{ secrets.KNOWN_HOSTS }} | ||
private-key: ${{ secrets.SSH_KEY }} | ||
known-hosts: ${{ secrets.KNOWN_HOSTS }} | ||
- | ||
name: Transfer Builds to Pi-hole server for pihole checkout | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
name: Syncing branches | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3.0.2 | ||
uses: actions/checkout@v3.1.0 | ||
- name: Opening pull request | ||
id: pull | ||
uses: tretuna/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# - Try to find DBus | ||
# Once done, this will define | ||
# | ||
# DBUS_FOUND - system has DBus | ||
# DBUS_INCLUDE_DIRS - the DBus include directories | ||
# DBUS_LIBRARIES - link these to use DBus | ||
# | ||
# Copyright (C) 2012 Raphael Kubo da Costa <[email protected]> | ||
# | ||
# 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. | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND ITS 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 ITS | ||
# 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. | ||
|
||
FIND_PACKAGE(PkgConfig) | ||
PKG_CHECK_MODULES(PC_DBUS QUIET dbus-1) | ||
|
||
FIND_LIBRARY(DBUS_LIBRARIES | ||
NAMES dbus-1 | ||
HINTS ${PC_DBUS_LIBDIR} | ||
${PC_DBUS_LIBRARY_DIRS} | ||
) | ||
|
||
FIND_PATH(DBUS_INCLUDE_DIR | ||
NAMES dbus/dbus.h | ||
HINTS ${PC_DBUS_INCLUDEDIR} | ||
${PC_DBUS_INCLUDE_DIRS} | ||
) | ||
|
||
GET_FILENAME_COMPONENT(_DBUS_LIBRARY_DIR ${DBUS_LIBRARIES} PATH) | ||
FIND_PATH(DBUS_ARCH_INCLUDE_DIR | ||
NAMES dbus/dbus-arch-deps.h | ||
HINTS ${PC_DBUS_INCLUDEDIR} | ||
${PC_DBUS_INCLUDE_DIRS} | ||
${_DBUS_LIBRARY_DIR} | ||
${DBUS_INCLUDE_DIR} | ||
PATH_SUFFIXES include | ||
) | ||
|
||
SET(DBUS_INCLUDE_DIRS ${DBUS_INCLUDE_DIR} ${DBUS_ARCH_INCLUDE_DIR}) | ||
|
||
INCLUDE(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(DBUS REQUIRED_VARS DBUS_INCLUDE_DIRS DBUS_LIBRARIES) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.