-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
packaging: add debian build and args for script
Added debian 10, 11, 12 and Ubuntu 20.04 Dockerfiles. Added arguments selector in build_packages.sh to choose what to build. Make build parallels and wait for all to finish at end. Change-Id: I307fcac3e9b02eb821841309779f9268549aaeb0
- Loading branch information
1 parent
6aeaaa5
commit 31d31f8
Showing
11 changed files
with
308 additions
and
51 deletions.
There are no files selected for viewing
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 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
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,34 @@ | ||
FROM debian:10 | ||
|
||
WORKDIR /build | ||
|
||
ENV EMAIL="[email protected]" | ||
ENV DEBFULLNAME="Savoir-faire Linux" | ||
|
||
RUN apt-get update && \ | ||
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ | ||
apt-get install -y \ | ||
dialog apt-utils make devscripts build-essential debmake lintian \ | ||
&& apt-get clean && \ | ||
mkdir -p /build/debs | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
build-essential pkg-config cmake dpkg-dev gcc g++ git wget \ | ||
libtool autotools-dev autoconf automake sbuild autopkgtest debhelper debhelper-compat \ | ||
cython3 python3-dev python3-setuptools python3-build python3-virtualenv \ | ||
libncurses5-dev libreadline-dev nettle-dev libcppunit-dev \ | ||
libgnutls28-dev libuv1-dev libjsoncpp-dev libargon2-dev libunistring-dev \ | ||
libssl-dev libfmt-dev libasio-dev libmsgpack-dev libyaml-cpp-dev \ | ||
systemd \ | ||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/* | ||
|
||
ARG PKG_NAME | ||
COPY deb-${PKG_NAME}.tar.gz /build/${PKG_NAME}.tar.gz | ||
|
||
CMD tar -xzf ${PKG_NAME}.tar.gz && \ | ||
cd ${PKG_NAME} && \ | ||
debmake -b "dhtnet:bin" -y && \ | ||
debuild && \ | ||
cd .. && \ | ||
rm -Rf ${PKG_NAME} ${PKG_NAME}.tar.gz && \ | ||
cp /build/*.deb /build/debs/ |
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,34 @@ | ||
FROM debian:11 | ||
|
||
WORKDIR /build | ||
|
||
ENV EMAIL="[email protected]" | ||
ENV DEBFULLNAME="Savoir-faire Linux" | ||
|
||
RUN apt-get update && \ | ||
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ | ||
apt-get install -y \ | ||
dialog apt-utils make devscripts build-essential debmake lintian \ | ||
&& apt-get clean && \ | ||
mkdir -p /build/debs | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
build-essential pkg-config cmake dpkg-dev gcc g++ git wget \ | ||
libtool autotools-dev autoconf automake sbuild autopkgtest debhelper debhelper-compat \ | ||
cython3 python3-dev python3-setuptools python3-build python3-virtualenv \ | ||
libncurses5-dev libreadline-dev nettle-dev libcppunit-dev \ | ||
libgnutls28-dev libuv1-dev libjsoncpp-dev libargon2-dev libunistring-dev \ | ||
libssl-dev libfmt-dev libasio-dev libmsgpack-dev libyaml-cpp-dev \ | ||
systemd \ | ||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/* | ||
|
||
ARG PKG_NAME | ||
COPY deb-${PKG_NAME}.tar.gz /build/${PKG_NAME}.tar.gz | ||
|
||
CMD tar -xzf ${PKG_NAME}.tar.gz && \ | ||
cd ${PKG_NAME} && \ | ||
debmake -b "dhtnet:bin" -y && \ | ||
debuild && \ | ||
cd .. && \ | ||
rm -Rf ${PKG_NAME} ${PKG_NAME}.tar.gz && \ | ||
cp /build/*.deb /build/debs/ |
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,34 @@ | ||
FROM debian:12 | ||
|
||
WORKDIR /build | ||
|
||
ENV EMAIL="[email protected]" | ||
ENV DEBFULLNAME="Savoir-faire Linux" | ||
|
||
RUN apt-get update && \ | ||
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ | ||
apt-get install -y \ | ||
dialog apt-utils make devscripts build-essential debmake lintian \ | ||
&& apt-get clean && \ | ||
mkdir -p /build/debs | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
build-essential pkg-config cmake dpkg-dev gcc g++ git wget \ | ||
libtool autotools-dev autoconf automake sbuild autopkgtest debhelper debhelper-compat \ | ||
cython3 python3-dev python3-setuptools python3-build python3-virtualenv \ | ||
libncurses5-dev libreadline-dev nettle-dev libcppunit-dev \ | ||
libgnutls28-dev libuv1-dev libjsoncpp-dev libargon2-dev libunistring-dev \ | ||
libssl-dev libfmt-dev libasio-dev libmsgpack-dev libyaml-cpp-dev \ | ||
systemd \ | ||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/* | ||
|
||
ARG PKG_NAME | ||
COPY deb-${PKG_NAME}.tar.gz /build/${PKG_NAME}.tar.gz | ||
|
||
CMD tar -xzf ${PKG_NAME}.tar.gz && \ | ||
cd ${PKG_NAME} && \ | ||
debmake -b "dhtnet:bin" -y && \ | ||
debuild && \ | ||
cd .. && \ | ||
rm -Rf ${PKG_NAME} ${PKG_NAME}.tar.gz && \ | ||
cp /build/*.deb /build/debs/ |
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 |
---|---|---|
@@ -1,5 +1,14 @@ | ||
dhtnet (0.2.0-1) UNRELEASED; urgency=low | ||
dhtnet (0.3.0-1) UNRELEASED; urgency=low | ||
|
||
* Include UPnP support | ||
|
||
-- Louis Maillard <[email protected]> Mon, 29 Jul 2024 09:30:00 -0400 | ||
|
||
dhtnet (0.2.0) unstable; urgency=low | ||
|
||
* Initial release. | ||
* Add binaries dnc, dhtnet-crmgr, dsh, dvpn | ||
* Include documentation as man pages | ||
* Dynamic library available as libdhtnet.so | ||
|
||
-- Louis Maillard <[email protected]> Wed, 17 Jul 2024 09:27:39 -0400 |
Oops, something went wrong.