Skip to content

Commit a6be323

Browse files
committed
update debian packaging files
Signed-off-by: R4SAS <[email protected]>
1 parent ac594db commit a6be323

File tree

11 files changed

+18
-74
lines changed

11 files changed

+18
-74
lines changed

debian/compat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10
1+
9

debian/control

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,16 @@ Section: net
33
Priority: optional
44
Maintainer: r4sas <[email protected]>
55
Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.17.2~), gcc (>= 4.7) | clang (>= 3.3), libboost-system-dev (>= 1.46), libboost-date-time-dev (>= 1.46), libboost-filesystem-dev (>= 1.46), libboost-program-options-dev (>= 1.46), libminiupnpc-dev, libssl-dev, zlib1g-dev
6-
Standards-Version: 3.9.6
6+
Standards-Version: 3.9.8
77
Homepage: http://i2pd.website/
88
Vcs-Git: git://github.com/PurpleI2P/i2pd.git
99
Vcs-Browser: https://github.com/PurpleI2P/i2pd
1010

1111
Package: i2pd
1212
Architecture: any
13-
Pre-Depends: adduser
13+
Pre-Depends: ${misc:Pre-Depends}, adduser
1414
Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base,
1515
Description: Full-featured C++ implementation of I2P client.
1616
I2P (Invisible Internet Protocol) is a universal anonymous network layer. All
1717
communications over I2P are anonymous and end-to-end encrypted, participants
1818
don't reveal their real IP addresses.
19-
.
20-
This package contains the full-featured C++ implementation of I2P router.
21-
22-
Package: i2pd-dbg
23-
Architecture: any
24-
Priority: extra
25-
Section: debug
26-
Depends: i2pd (= ${binary:Version}), ${misc:Depends}
27-
Description: i2pd debugging symbols
28-
I2P (Invisible Internet Protocol) is a universal anonymous network layer. All
29-
communications over I2P are anonymous and end-to-end encrypted, participants
30-
don't reveal their real IP addresses.
31-
.
32-
This package contains symbols required for debugging.

debian/copyright

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ Files: *
66
Copyright: 2013-2020 PurpleI2P
77
License: BSD-3-clause
88

9-
Files: qt/i2pd_qt/android/src/org/kde/necessitas/ministro/IMinistro.aidl
10-
qt/i2pd_qt/android/src/org/kde/necessitas/ministro/IMinistroCallback.aidl
11-
qt/i2pd_qt/android/src/org/qtproject/qt5/android/bindings/QtActivity.java
12-
qt/i2pd_qt/android/src/org/qtproject/qt5/android/bindings/QtApplication.java
13-
Copyright: 2011-2013 BogDan Vatra <[email protected]>
14-
License: BSD-2-Clause
15-
169
Files: debian/*
1710
Copyright: 2013-2015 Kill Your TV <[email protected]>
1811
2014-2016 hagen <[email protected]>
@@ -49,28 +42,6 @@ License: BSD-3-clause
4942
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
5043
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5144

52-
License: BSD-2-Clause
53-
Redistribution and use in source and binary forms, with or without
54-
modification, are permitted provided that the following conditions
55-
are met:
56-
1. Redistributions of source code must retain the above copyright
57-
notice, this list of conditions and the following disclaimer.
58-
2. Redistributions in binary form must reproduce the above copyright
59-
notice, this list of conditions and the following disclaimer in the
60-
documentation and/or other materials provided with the distribution.
61-
.
62-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
63-
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
64-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
65-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR
66-
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
67-
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
68-
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
69-
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
70-
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
71-
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
72-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
73-
7445
License: GPL-2+
7546
This package is free software; you can redistribute it and/or modify
7647
it under the terms of the GNU General Public License as published by

debian/docs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
11
README.md
2-
contrib/i2pd.conf
3-
contrib/subscriptions.txt
4-
contrib/tunnels.conf
5-
contrib/tunnels.d

debian/i2pd.dirs

Lines changed: 0 additions & 2 deletions
This file was deleted.

debian/i2pd.install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
i2pd usr/sbin/
2-
contrib/i2pd.conf etc/i2pd/
2+
contrib/i2pd.conf etc/i2pd/
33
contrib/tunnels.conf etc/i2pd/
44
contrib/subscriptions.txt etc/i2pd/
55
contrib/certificates/ usr/share/i2pd/

debian/postinst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ case "$1" in
1212
# Create user and group as a system user.
1313
if getent passwd $I2PDUSER > /dev/null 2>&1; then
1414
groupadd -f $I2PDUSER || true
15-
usermod -s "/bin/false" -e 1 $I2PDUSER > /dev/null || true
1615
else
1716
adduser --system --quiet --group --home $I2PDHOME $I2PDUSER
1817
fi
@@ -23,7 +22,7 @@ case "$1" in
2322
chmod 640 $LOGFILE
2423
chown -f ${I2PDUSER}:adm $LOGFILE
2524
mkdir -p -m0750 $I2PDHOME
26-
chown -f -R -P ${I2PDUSER}:${I2PDUSER} ${I2PDHOME}
25+
chown -f -P ${I2PDUSER}:${I2PDUSER} ${I2PDHOME}
2726
;;
2827
abort-upgrade|abort-remove|abort-deconfigure)
2928
echo "Aborting upgrade"

debian/rules

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
11
#!/usr/bin/make -f
2-
# -*- makefile -*-
3-
4-
# Uncomment this to turn on verbose mode.
52
#export DH_VERBOSE=1
63

7-
DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
8-
#DPKG_EXPORT_BUILDFLAGS = 1
9-
#include /usr/share/dpkg/buildflags.mk
10-
#CXXFLAGS+=$(CPPFLAGS)
11-
#PREFIX=/usr
124

13-
%:
14-
dh $@ --parallel
15-
# dh_apparmor --profile-name=usr.sbin.i2pd -pi2pd
5+
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6+
7+
8+
include /usr/share/dpkg/architecture.mk
169

17-
override_dh_strip:
18-
dh_strip --dbg-package=i2pd-dbg
10+
export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic -O3
1911

20-
## uncomment this if you have "missing info" problem when building package
21-
#override_dh_shlibdeps:
22-
# dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
12+
export DEB_LDFLAGS_MAINT_APPEND =
13+
14+
15+
%:
16+
dh $@ --parallel

0 commit comments

Comments
 (0)