Replaced deprecated libidn11-dev with libidn-dev across the project.

This update improves compatibility with newer distributions by modifying
dependency declarations in control files, Dockerfiles, and documentation.
This commit is contained in:
Sukchan Lee
2025-01-19 12:21:51 +09:00
parent aaa950e6cf
commit df11b05a1e
5 changed files with 15 additions and 7 deletions

2
debian/control vendored
View File

@@ -13,7 +13,7 @@ Build-Depends: debhelper (>= 11),
libgnutls28-dev,
libgcrypt-dev,
libssl-dev,
libidn11-dev,
libidn-dev | libidn11-dev,
libmongoc-dev,
libbson-dev,
libsctp-dev,

View File

@@ -22,7 +22,6 @@ RUN apt-get update && \
libgnutls28-dev \
libgcrypt-dev \
libssl-dev \
libidn11-dev \
libmongoc-dev \
libbson-dev \
libyaml-dev \
@@ -35,4 +34,9 @@ RUN apt-get update && \
ca-certificates \
netbase \
pkg-config && \
apt-get clean
if apt-cache show libidn-dev > /dev/null 2>&1; then \
apt-get install -y --no-install-recommends libidn-dev; \
else \
apt-get install -y --no-install-recommends libidn11-dev; \
fi && \
apt-get clean && rm -rf /var/lib/apt/lists/*

View File

@@ -22,7 +22,6 @@ RUN apt-get update && \
libgnutls28-dev \
libgcrypt-dev \
libssl-dev \
libidn11-dev \
libmongoc-dev \
libbson-dev \
libyaml-dev \
@@ -35,4 +34,9 @@ RUN apt-get update && \
ca-certificates \
netbase \
pkg-config && \
apt-get clean
if apt-cache show libidn-dev > /dev/null 2>&1; then \
apt-get install -y --no-install-recommends libidn-dev; \
else \
apt-get install -y --no-install-recommends libidn11-dev; \
fi && \
apt-get clean && rm -rf /var/lib/apt/lists/*

View File

@@ -61,7 +61,7 @@ $ sudo ip link set ogstun up
Install the dependencies for building the source code.
```bash
$ sudo apt install python3-pip python3-setuptools python3-wheel ninja-build build-essential flex bison git cmake libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn11-dev libmongoc-dev libbson-dev libyaml-dev libnghttp2-dev libmicrohttpd-dev libcurl4-gnutls-dev libnghttp2-dev libtins-dev libtalloc-dev meson
$ sudo apt install python3-pip python3-setuptools python3-wheel ninja-build build-essential flex bison git cmake libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn-dev libmongoc-dev libbson-dev libyaml-dev libnghttp2-dev libmicrohttpd-dev libcurl4-gnutls-dev libnghttp2-dev libtins-dev libtalloc-dev meson
```
Git clone.

View File

@@ -1356,7 +1356,7 @@ $ DIST=debian TAG=stretch docker-compose run dev
```bash
$ sudo dpkg --add-architecture armel
$ sudo apt update
$ sudo apt install libsctp-dev:armel libyaml-dev:armel libgnutls28-dev:armel libgcrypt-dev:armel libidn11-dev:armel libssl-dev:armel libmongoc-dev:armel libbson-dev:armel
$ sudo apt install libsctp-dev:armel libyaml-dev:armel libgnutls28-dev:armel libgcrypt-dev:armel libidn-dev:armel libssl-dev:armel libmongoc-dev:armel libbson-dev:armel
$ sudo apt install crossbuild-essential-armel
$ sudo apt install qemu
$ git clone https://github.com/{{ site.github_username }}/open5gs