[deb] add ubuntu jammy packaging files, update upnp patch

Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
r4sas
2026-10-20 01:37:43 +03:00
parent f8a12d9dc7
commit 357fcc14d5
4 changed files with 42 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
Source: i2pd
Section: net
Priority: optional
Maintainer: r4sas <r4sas@i2pmail.org>
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.
@@ -0,0 +1,20 @@
Description: Enable UPnP usage in package and disable TORRENTS for jammy
Author: r4sas <r4sas@i2pmail.org>
Reviewed-By: r4sas <r4sas@i2pmail.org>
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)
+1
View File
@@ -0,0 +1 @@
01-upnp.patch
+2 -2
View File
@@ -2,7 +2,7 @@ Description: Enable UPnP usage in package
Author: r4sas <r4sas@i2pmail.org>
Reviewed-By: r4sas <r4sas@i2pmail.org>
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