[Build][201911] Fix the stretch/jessie mirror removed issue (#15083)

[Build] Fix the stretch/jessie mirror removed issue.
This commit is contained in:
xumia 2023-05-18 13:52:26 +08:00 committed by GitHub
parent 9d8c082415
commit 7aeb5d46ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
25 changed files with 103 additions and 73 deletions

View File

@ -81,9 +81,9 @@ if [[ $CONFIGURED_ARCH == armhf || $CONFIGURED_ARCH == arm64 ]]; then
# qemu arm bin executable for cross-building
sudo mkdir -p $FILESYSTEM_ROOT/usr/bin
sudo cp /usr/bin/qemu*static $FILESYSTEM_ROOT/usr/bin || true
sudo http_proxy=$http_proxy debootstrap --variant=minbase --arch $CONFIGURED_ARCH stretch $FILESYSTEM_ROOT http://deb.debian.org/debian
sudo http_proxy=$http_proxy debootstrap --variant=minbase --arch $CONFIGURED_ARCH stretch $FILESYSTEM_ROOT http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z
else
sudo http_proxy=$http_proxy debootstrap --variant=minbase --arch $CONFIGURED_ARCH stretch $FILESYSTEM_ROOT http://debian-archive.trafficmanager.net/debian
sudo http_proxy=$http_proxy debootstrap --variant=minbase --arch $CONFIGURED_ARCH stretch $FILESYSTEM_ROOT http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z
fi
## Config hostname and hosts, otherwise 'sudo ...' will complain 'sudo: unable to resolve host ...'

View File

@ -1,8 +1,8 @@
## Debian mirror on Microsoft Azure
## Ref: http://debian-archive.trafficmanager.net/
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch-backports main contrib non-free
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main contrib non-free

View File

@ -1,7 +1,7 @@
## Debian mirror for ARM repo
# ARM repo
deb [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
deb-src [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
deb-src [arch=arm64] http://security.debian.org stretch/updates main contrib non-free

View File

@ -1,7 +1,7 @@
## Debian mirror for ARM repo
# ARM repo
deb [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
deb-src [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
deb-src [arch=armhf] http://security.debian.org stretch/updates main contrib non-free

View File

@ -1,7 +1,7 @@
## Debian mirror on Microsoft Azure
## Ref: http://debian-archive.trafficmanager.net/
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ jessie main contrib non-free
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ jessie main contrib non-free
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ jessie/updates main contrib non-free
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ jessie/updates main contrib non-free
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ jessie main contrib non-free
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ jessie main contrib non-free
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z jessie/updates main contrib non-free
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z jessie/updates main contrib non-free

View File

@ -9,6 +9,10 @@ FROM {{ prefix }}debian:stretch
MAINTAINER Pavel Shirshov
# Configure the debian mirrors
COPY ["sources.list.{{ CONFIGURED_ARCH }}", "/etc/apt/sources.list"]
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d"]
## Remove retired jessie-updates repo
RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list

View File

@ -0,0 +1,4 @@
# Instruct apt-get to NOT check the "Valid Until" date in Release files
# Once the Debian team archives a repo, they stop updating this date
Acquire::Check-Valid-Until "false";

View File

@ -0,0 +1,8 @@
## Debian mirror on Microsoft Azure
## Ref: http://debian-archive.trafficmanager.net/
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main contrib non-free

View File

@ -0,0 +1,7 @@
## Debian mirror for ARM repo
# ARM repo
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
deb-src [arch=arm64] http://security.debian.org stretch/updates main contrib non-free

View File

@ -0,0 +1,7 @@
## Debian mirror for ARM repo
# ARM repo
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
deb-src [arch=armhf] http://security.debian.org stretch/updates main contrib non-free

View File

@ -1,8 +1,8 @@
## Debian mirror on Microsoft Azure
## Ref: http://debian-archive.trafficmanager.net/
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch-backports main contrib non-free
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main contrib non-free

View File

@ -1,8 +1,8 @@
## Debian mirror for ARM
## Not the repo mirror site can change in future, and needs to be updated to be in sync
deb [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
deb-src [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
deb [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free
deb [arch=arm64] http://ftp.debian.org/debian stretch-backports main
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main

View File

@ -1,8 +1,8 @@
## Debian mirror for ARM
## Not the repo mirror site can change in future, and needs to be updated to be in sync
deb [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
deb-src [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
deb [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free
deb [arch=armhf] http://ftp.debian.org/debian stretch-backports main
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main

View File

@ -1,3 +1,3 @@
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch-backports main contrib non-free
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main contrib non-free

View File

@ -1,9 +1,9 @@
deb [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
deb-src [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
deb [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
deb [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
deb-src [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
deb [arch=arm64] https://download.docker.com/linux/debian stretch stable
deb [arch=arm64] http://ftp.debian.org/debian stretch-backports main
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main

View File

@ -1,9 +1,9 @@
deb [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
deb-src [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
deb [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
deb [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
deb-src [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
deb [arch=armhf] https://download.docker.com/linux/debian stretch stable
deb [arch=armhf] http://ftp.debian.org/debian stretch-backports main
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main

View File

@ -11,28 +11,28 @@ MAINTAINER gulv@microsoft.com
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d/"]
RUN echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free" >> /etc/apt/sources.list && \
echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian stretch-backports main" >> /etc/apt/sources.list
RUN echo "deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free" > /etc/apt/sources.list && \
echo "deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free" >> /etc/apt/sources.list && \
echo "deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main" >> /etc/apt/sources.list
{%- if CONFIGURED_ARCH == "armhf" %}
RUN echo "deb [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list && \
echo "deb-src [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
echo "deb [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
RUN echo "deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free" > /etc/apt/sources.list && \
echo "deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free" >> /etc/apt/sources.list && \
echo "deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb [arch=armhf] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src [arch=armhf] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
echo 'deb [arch=armhf] http://ftp.debian.org/debian stretch-backports main' >> /etc/apt/sources.list
echo 'deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main' >> /etc/apt/sources.list
{%- elif CONFIGURED_ARCH == "arm64" %}
RUN echo "deb [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list && \
echo "deb-src [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
echo "deb [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
RUN echo "deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free" > /etc/apt/sources.list && \
echo "deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free" >> /etc/apt/sources.list && \
echo "deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb [arch=arm64] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src [arch=arm64] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
echo 'deb [arch=arm64] http://ftp.debian.org/debian stretch-backports main' >> /etc/apt/sources.list
echo 'deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main' >> /etc/apt/sources.list
{%- endif %}
## Make apt-get non-interactive

View File

@ -8,9 +8,9 @@ DERIVED_TARGETS = libhiredis0.14-dbgsym_$(HIREDIS_VERSION_FULL)_$(CONFIGURED_ARC
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
rm -rf hiredis-$(HIREDIS_VERSION)
wget -O hiredis_$(HIREDIS_VERSION).orig.tar.gz http://http.debian.net/debian/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION).orig.tar.gz
wget -O hiredis_$(HIREDIS_VERSION_FULL).debian.tar.xz http://http.debian.net/debian/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION_FULL).debian.tar.xz
wget -O hiredis_$(HIREDIS_VERSION_FULL).dsc http://http.debian.net/debian/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION_FULL).dsc
wget -O hiredis_$(HIREDIS_VERSION).orig.tar.gz http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION).orig.tar.gz
wget -O hiredis_$(HIREDIS_VERSION_FULL).debian.tar.xz http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION_FULL).debian.tar.xz
wget -O hiredis_$(HIREDIS_VERSION_FULL).dsc http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION_FULL).dsc
dpkg-source -x hiredis_$(HIREDIS_VERSION_FULL).dsc
pushd hiredis-$(HIREDIS_VERSION)

View File

@ -8,7 +8,7 @@ DERIVED_TARGETS = libip4tc0_$(IPTABLES_VERSION_FULL)_amd64.deb \
libiptc0_$(IPTABLES_VERSION_FULL)_amd64.deb \
libxtables12_$(IPTABLES_VERSION_FULL)_amd64.deb
IPTABLES_URL = http://deb.debian.org/debian/pool/main/i/iptables
IPTABLES_URL = http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/i/iptables
DSC_FILE = iptables_$(IPTABLES_VERSION_FULL).dsc
ORIG_FILE = iptables_$(IPTABLES_VERSION).orig.tar.bz2

View File

@ -10,8 +10,8 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
rm -rf ./makedumpfile-$(KDUMP_TOOLS_VERSION_BASE)
# Get makedumpfile release
wget http://deb.debian.org/debian/pool/main/m/makedumpfile/makedumpfile_$(KDUMP_TOOLS_VERSION_BASE).orig.tar.gz
wget http://deb.debian.org/debian/pool/main/m/makedumpfile/makedumpfile_$(KDUMP_TOOLS_VERSION).debian.tar.xz
wget http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/m/makedumpfile/makedumpfile_$(KDUMP_TOOLS_VERSION_BASE).orig.tar.gz
wget http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/m/makedumpfile/makedumpfile_$(KDUMP_TOOLS_VERSION).debian.tar.xz
tar -f makedumpfile_$(KDUMP_TOOLS_VERSION_BASE).orig.tar.gz -x
pushd ./makedumpfile-$(KDUMP_TOOLS_VERSION_BASE)
tar -f ../makedumpfile_$(KDUMP_TOOLS_VERSION).debian.tar.xz -x

View File

@ -5,7 +5,7 @@ SHELL = /bin/bash
MAIN_TARGET = $(LLDPD)
DERIVED_TARGETS = $(LIBLLDPCTL) $(LLDPD_DBG)
LLDP_URL = http://ftp.debian.org/debian/pool/main/l/lldpd
LLDP_URL = http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/l/lldpd
DSC_FILE = lldpd_$(LLDPD_VERSION_FULL).dsc
ORIG_FILE = lldpd_$(LLDPD_VERSION).orig.tar.gz

View File

@ -13,7 +13,7 @@ DERIVED_TARGETS = fancontrol_$(LM_SENSORS_VERSION_FULL)_all.deb \
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
rm -rf lm-sensors-$(LM_SENSORS_VERSION)
dget -u http://deb.debian.org/debian/pool/main/l/lm-sensors/lm-sensors_$(LM_SENSORS_VERSION_FULL).dsc
dget -u http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/l/lm-sensors/lm-sensors_$(LM_SENSORS_VERSION_FULL).dsc
git apply *.patch
pushd lm-sensors-$(LM_SENSORS_VERSION)
DEB_BUILD_OPTIONS=nocheck PROG_EXTRA=sensord dpkg-buildpackage -us -uc -b -j$(SONIC_CONFIG_MAKE_JOBS) --admindir $(SONIC_DPKG_ADMINDIR)

View File

@ -8,9 +8,9 @@ DERIVED_TARGETS = libmpdec-dev_$(MPDECIMAL_VERSION_FULL)_$(CONFIGURED_ARCH).deb
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
rm -rf mpdecimal-$(MPDECIMAL_VERSION)
wget -N -O mpdecimal_$(MPDECIMAL_VERSION).orig.tar.gz http://http.debian.net/debian/pool/main/m/mpdecimal/mpdecimal_$(MPDECIMAL_VERSION).orig.tar.gz
wget -N -O mpdecimal_$(MPDECIMAL_VERSION_FULL).debian.tar.xz http://http.debian.net/debian/pool/main/m/mpdecimal/mpdecimal_$(MPDECIMAL_VERSION_FULL).debian.tar.xz
wget -N -O mpdecimal_$(MPDECIMAL_VERSION_FULL).dsc http://http.debian.net/debian/pool/main/m/mpdecimal/mpdecimal_$(MPDECIMAL_VERSION_FULL).dsc
wget -N -O mpdecimal_$(MPDECIMAL_VERSION).orig.tar.gz http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/m/mpdecimal/mpdecimal_$(MPDECIMAL_VERSION).orig.tar.gz
wget -N -O mpdecimal_$(MPDECIMAL_VERSION_FULL).debian.tar.xz http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/m/mpdecimal/mpdecimal_$(MPDECIMAL_VERSION_FULL).debian.tar.xz
wget -N -O mpdecimal_$(MPDECIMAL_VERSION_FULL).dsc http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/m/mpdecimal/mpdecimal_$(MPDECIMAL_VERSION_FULL).dsc
dpkg-source -x mpdecimal_$(MPDECIMAL_VERSION_FULL).dsc
pushd mpdecimal-$(MPDECIMAL_VERSION)

View File

@ -15,9 +15,9 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
mkdir redis_build
pushd redis_build
wget -O redis_$(REDIS_VERSION).orig.tar.gz -N "http://http.debian.net/debian/pool/main/r/redis/redis_$(REDIS_VERSION).orig.tar.gz"
wget -O redis_$(REDIS_VERSION_FULL).dsc -N "http://http.debian.net/debian/pool/main/r/redis/redis_$(REDIS_VERSION_FULL).dsc"
wget -O redis_$(REDIS_VERSION_FULL).debian.tar.xz -N "http://http.debian.net/debian/pool/main/r/redis/redis_$(REDIS_VERSION_FULL).debian.tar.xz"
wget -O redis_$(REDIS_VERSION).orig.tar.gz -N "http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/r/redis/redis_$(REDIS_VERSION).orig.tar.gz"
wget -O redis_$(REDIS_VERSION_FULL).dsc -N "http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/r/redis/redis_$(REDIS_VERSION_FULL).dsc"
wget -O redis_$(REDIS_VERSION_FULL).debian.tar.xz -N "http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/r/redis/redis_$(REDIS_VERSION_FULL).debian.tar.xz"
dpkg-source -x redis_$(REDIS_VERSION_FULL).dsc
pushd redis-$(REDIS_VERSION)

@ -1 +1 @@
Subproject commit 58a77faa32bf2d3b8db50e90e5a809983716a432
Subproject commit ca480619336e516a2e41d7c496adfaef8651e3cf