diff options
author | Christian Breunig <christian@breunig.cc> | 2024-07-12 20:53:19 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-12 20:27:09 +0000 |
commit | 9aa1a7351a5d686ce80323de5c22df059297718b (patch) | |
tree | d779fc4f01d7c7f8064f7bfff3f925ba4331a9f4 /packages/ddclient/build.sh | |
parent | f4512d7ad967d3b577c17a6e20d78dc08f36296c (diff) | |
download | vyos-build-9aa1a7351a5d686ce80323de5c22df059297718b.tar.gz vyos-build-9aa1a7351a5d686ce80323de5c22df059297718b.zip |
ddclient: T5797: switch to Debian SALSA repositorymergify/bp/sagitta/pr-694
Commit 368b89ef05 ("ddclient: T5797: Upgrade to ddclient 3.11.2") bumped the
ddclient version by using the build system from Debian SALSA repo and the
upstream ddclient source code.
Debian now provides the same version from the SALSA repos.
(cherry picked from commit 7f7030d928199ef3a10e4a2e34761d982e123052)
Diffstat (limited to 'packages/ddclient/build.sh')
-rwxr-xr-x | packages/ddclient/build.sh | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/packages/ddclient/build.sh b/packages/ddclient/build.sh deleted file mode 100755 index 82e9b899..00000000 --- a/packages/ddclient/build.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash -CWD=$(pwd) -set -e - -SRC_DEBIAN=ddclient-debian -SRC_GITHUB=ddclient-github - -if [ ! -d ${SRC_DEBIAN} ]; then - echo "${SRC_DEBIAN} directory does not exists, please 'git clone'" - exit 1 -fi - -if [ ! -d ${SRC_GITHUB} ]; then - echo "${SRC_GITHUB} directory does not exists, please 'git clone'" - exit 1 -fi - -echo "I: Copy Debian build instructions" -cp -a ${SRC_DEBIAN}/debian ${SRC_GITHUB} -# Preserve some of the Debian's default patches -cat > ${SRC_GITHUB}/debian/patches/series << EOF -maxinterval.diff -news.diff -EOF -# Remove vestigial documentation -sed -i '/README\.ssl/d' ${SRC_GITHUB}/debian/docs - -PATCH_DIR=${CWD}/patches -if [ -d ${PATCH_DIR} ]; then - for patch in $(ls ${PATCH_DIR}) - do - echo "I: Apply patch: ${patch} to main repository" - cp ${PATCH_DIR}/${patch} ${SRC_GITHUB}/debian/patches/ - echo ${patch} >> ${SRC_GITHUB}/debian/patches/series - done -fi - -cd ${SRC_GITHUB} - -echo "I: Ensure Debian build dependencies are met" -sudo mk-build-deps --install --tool "apt-get --yes --no-install-recommends" - -echo "I: Bump Debian Package version" -version="$(git describe --tags)" -dch -v "${version:1}+vyos0" "Patchset for miscellaneous fixes" -dch -a "Forward port to upstream version ${version:1}" - -echo "I: Build Debian Package" -dpkg-buildpackage -uc -us -tc -b |