From 357fcc14d5b273fbaa67ef8e468a32a8d39ec7e4 Mon Sep 17 00:00:00 2001 From: r4sas Date: Tue, 20 Oct 2026 01:37:43 +0300 Subject: [PATCH] [deb] add ubuntu jammy packaging files, update upnp patch Signed-off-by: r4sas --- contrib/debian/jammy/control | 19 +++++++++++++++++++ contrib/debian/jammy/patches/01-upnp.patch | 20 ++++++++++++++++++++ contrib/debian/jammy/patches/series | 1 + debian/patches/01-upnp.patch | 4 ++-- 4 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 contrib/debian/jammy/control create mode 100644 contrib/debian/jammy/patches/01-upnp.patch create mode 100644 contrib/debian/jammy/patches/series diff --git a/contrib/debian/jammy/control b/contrib/debian/jammy/control new file mode 100644 index 00000000..424a797f --- /dev/null +++ b/contrib/debian/jammy/control @@ -0,0 +1,19 @@ +Source: i2pd +Section: net +Priority: optional +Maintainer: r4sas +Build-Depends: debhelper (>= 12~), libboost-program-options-dev (>= 1.74), libminiupnpc-dev, libssl-dev (>= 3.0), zlib1g-dev +Standards-Version: 4.3.0 +Homepage: http://i2pd.website/ +Vcs-Git: git://github.com/PurpleI2P/i2pd.git +Vcs-Browser: https://github.com/PurpleI2P/i2pd + +Package: i2pd +Architecture: any +Pre-Depends: ${misc:Pre-Depends}, adduser +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Full-featured C++ implementation of I2P client. + I2P (Invisible Internet Protocol) is a universal anonymous network layer. All + communications over I2P are anonymous and end-to-end encrypted, participants + don't reveal their real IP addresses. + diff --git a/contrib/debian/jammy/patches/01-upnp.patch b/contrib/debian/jammy/patches/01-upnp.patch new file mode 100644 index 00000000..3aba3de8 --- /dev/null +++ b/contrib/debian/jammy/patches/01-upnp.patch @@ -0,0 +1,20 @@ +Description: Enable UPnP usage in package and disable TORRENTS for jammy +Author: r4sas + +Reviewed-By: r4sas +Last-Update: 2026-10-19 + +--- i2pd.orig/Makefile ++++ i2pd/Makefile +@@ -31,9 +31,9 @@ # import source files lists + include filelist.mk + + USE_STATIC := $(or $(USE_STATIC),no) +-USE_UPNP := $(or $(USE_UPNP),no) ++USE_UPNP := $(or $(USE_UPNP),yes) + DEBUG := $(or $(DEBUG),yes) +-TORRENTS := $(or $(TORRENTS),yes) ++TORRENTS := $(or $(TORRENTS),no) + + # for debugging purposes only, when commit hash needed in trunk builds in i2pd version string + USE_GIT_VERSION := $(or $(USE_GIT_VERSION),no) diff --git a/contrib/debian/jammy/patches/series b/contrib/debian/jammy/patches/series new file mode 100644 index 00000000..f97fdf65 --- /dev/null +++ b/contrib/debian/jammy/patches/series @@ -0,0 +1 @@ +01-upnp.patch diff --git a/debian/patches/01-upnp.patch b/debian/patches/01-upnp.patch index 74d36c06..bfbecbbe 100644 --- a/debian/patches/01-upnp.patch +++ b/debian/patches/01-upnp.patch @@ -2,7 +2,7 @@ Description: Enable UPnP usage in package Author: r4sas Reviewed-By: r4sas -Last-Update: 2024-12-30 +Last-Update: 2026-10-19 --- i2pd.orig/Makefile +++ i2pd/Makefile @@ -13,5 +13,5 @@ Last-Update: 2024-12-30 -USE_UPNP := $(or $(USE_UPNP),no) +USE_UPNP := $(or $(USE_UPNP),yes) DEBUG := $(or $(DEBUG),yes) + TORRENTS := $(or $(TORRENTS),yes) - # for debugging purposes only, when commit hash needed in trunk builds in i2pd version string