2410 Commits

Author SHA1 Message Date
Thomas Bernard
8e5e40a8ce
miniupnpd/Makefile.linux: drop hack to support clock_gettime() with glibc before 2.17 2024-10-02 16:51:19 +02:00
Thomas Bernard
e0ecb78717
fix CONFIG_OPTIONS so call of configure are made with the same options
bug introduced in commit ddf32884
2024-10-02 16:30:36 +02:00
Ivan Shapovalov
f8397b941a
miniupnpd: Makefile: remove traces of pkg-config from Makefiles
Remove Makefile variables for pkg-config path to ensure other usages do
not get re-added to Makefiles by accident.
2024-10-02 16:15:07 +02:00
Ivan Shapovalov
d1fb15e40e
miniupnpd: Makefile: move libssl detection to configure
fix: use "openssl" pkg-config instead of "libssl"
(libcrypto was missing)

Improvement : libssl is linked only when needed
(IGD2 and HTTPS both enabled)
2024-10-02 16:13:47 +02:00
Thomas Bernard
6ab64d765b miniupnpd/configure: add --https --https-cert and --https-key 2024-10-02 00:25:16 +02:00
Thomas Bernard
e0f26840dd
miniupnpd/configure: fix CONFIG_MK existence test
fix d68edd90cf64ff8d6de79072204d421889a95b5a
(my fault)
2024-10-01 01:21:35 +02:00
Thomas Bernard
1c1c052d82 miniupnpd/INSTALL: talk about the libuuid/uuid-dev 2024-09-30 20:06:10 +02:00
Ivan Shapovalov
cd01381bb3 miniupnpd: Makefile: move libuuid detection to configure 2024-09-30 19:58:57 +02:00
Ivan Shapovalov
e9d63f63ef
miniupnpd: Makefile: move libnftnl, libmnl detection to configure 2024-09-30 19:51:44 +02:00
Ivan Shapovalov
a1b4085de6
miniupnpd: Makefile: remove obsolete parts of libiptc detection
If for some inexplicable reason there is no pkg-config in the system,
we are able to detect libiptc 1.4.3+ in configure via testing for
xtables.h, so the Gentoo-specific hack seems obsolete.
2024-09-30 19:50:34 +02:00
Ivan Shapovalov
1ee9301092
miniupnpd: configure: cleanup libiptc detection 2024-09-30 19:49:20 +02:00
Thomas Bernard
3b78208545 miniupnpd/configure: pkg_detect() output a message for a library not found 2024-09-30 19:47:13 +02:00
Thomas Bernard
5b83bee077
miniupnpd/INSTALL: update instructions for linux
It may still be a bit outdated...
2024-09-30 19:45:23 +02:00
Ivan Shapovalov
c0c35bb86e
miniupnpd: configure: add a helper for pkg-config and config.mk
Instead of open-coding pkg-config usage, add a helper to use it
consistently, writing the results to config.mk.
2024-09-30 16:56:43 +02:00
Ivan Shapovalov
2f851743e0
miniupnpd: Makefile: generate dep-files during compilation
Implement the "Auto-Dependency Generation"[1] writeup by Paul D. Smith
and generate dep-files at the compilation time instead of requiring a
separate preprocessor pass. This removes the `depend` target as it is
not needed anymore.

[1]: https://make.mad-scientist.net/papers/advanced-auto-dependency-generation/
2024-09-30 16:08:15 +02:00
Ivan Shapovalov
a715632987
miniupnpd: configure: check for OpenWrt consistently
Current OpenWrt build system always creates `./os.openwrt`, so there is
no point in checking for OpenWrt in any other way.
2024-09-30 00:47:02 +02:00
Ivan Shapovalov
0bdce75bc5
miniupnpd: configure: compute and set $OS_FAMILY for internal use 2024-09-30 00:43:41 +02:00
Ivan Shapovalov
2c889950f0
miniupnpd: Makefile: include other binaries objects in $(ALLOBJS) 2024-09-30 00:18:48 +02:00
Thomas BERNARD
f0ff3a4f4d miniupnpd: improve detection of iptables 1.4.16+ 2024-09-30 00:13:06 +02:00
Thomas BERNARD
f80bb2e111 miniupnpd/configure: message if libcap/libcap-ng detection is impossible 2024-09-30 00:12:48 +02:00
Ivan Shapovalov
d68edd90cf
miniupnpd: configure: generate config.mk consistently
(used only for Linux netfilter / nftables)
2024-09-27 18:07:48 +02:00
Thomas Bernard
b4d780358f
Makefile.bsd: fix install
see https://cgit.freebsd.org/ports/tree/net/miniupnpd/files/patch-Makefile.bsd
2024-09-27 17:50:05 +02:00
Ivan Shapovalov
77d14e391f miniupnpd: Makefile: do not override _FORTIFY_SOURCE if defined 2024-09-04 06:29:13 +02:00
Thomas Bernard
d07b0a1a9d Merge branch '768-fix-nft-parse_rule_nat'
fixes #773
fixes #768
2024-08-12 01:15:10 +02:00
Thomas Bernard
db26e82e22
miniupnpd: Hide the PCP nonce in descriptions returned by UPnP
should fix #759
2024-07-27 16:06:29 +02:00
Thomas Bernard
0ef0b9b238
miniupnpd: fix "make install" on BSD
1. default man directory to /usr/share/man
2. miniupnpd.conf and minupnpd.8 are in $(SRCDIR)

fixes #765
2024-07-27 15:39:51 +02:00
Thomas Bernard
792757fb27
netfilter_nft: Fixes parse_rule_nat()
the port for NAT destination is passed in REG2

should fix #768
2024-07-27 15:16:33 +02:00
Thomas Bernard
9cb5b5830f
miniupnpc: Add #define for UPNP_GetValidIGD() return values 2024-07-27 13:56:43 +02:00
Thomas Bernard
814e85540d
PCP: Check nonce when renewing IPv6 pinhole
fixes #748
2024-07-11 08:56:03 +02:00
Thomas BERNARD
3911bace98
Merge pull request #762 from fokkonaut/patch-1
Fix typo 'unsed' -> 'unset'
2024-07-03 00:54:26 +02:00
fokkonaut
ef8382360c
Fix typo 'unsed' -> 'unset'
Introduced in c0a50ce33e
2024-07-01 12:43:18 +02:00
Thomas Bernard
b9f21a9cfe miniupnpd version 2.3.7 miniupnpd_2_3_7 2024-06-23 00:32:25 +02:00
Thomas Bernard
0cf7acb0ee configure: show OS_MACHINE 2024-06-22 21:21:57 +02:00
Thomas Bernard
e113b31c5b miniupnpd: default NOTIFY interval of 900s minus a random value
a comment was forgotten in 9339f0e52c7a1d2024377e7a2446e80b93d334aa
2024-06-22 20:18:12 +02:00
Thomas Bernard
7a9800f234 enable_natpmp => enable_pcp_pmp
I forgot some changes in 02da7055fcec0dfd2903ab1e3f7d050f3ffb90e0
2024-06-22 20:17:22 +02:00
Thomas Bernard
ea207a21f6 "Usage:" not "Usage :" 2024-06-22 19:15:10 +02:00
Thomas Bernard
963d2ea07c
improve slightly miniupnpd.conf
see #680
2024-06-22 19:09:07 +02:00
Thomas Bernard
19a03c7c89 (c) 2024 2024-06-22 18:54:16 +02:00
Thomas Bernard
d235793dcb Merge branch 'pr-755'
fixes #755

thank you @rbgarga
2024-06-19 08:38:56 +02:00
Thomas Bernard
f1544a2910 setupmingw32.py: add long_description as well miniupnpc_2_2_8_test2 2024-06-17 00:26:42 +02:00
Kyle Altendorf
e6f83fd7c4
use DESCRIPTION instead 2024-06-17 00:24:59 +02:00
Kyle Altendorf
0f79d3bb87
Update setup.py 2024-06-17 00:24:59 +02:00
Kyle Altendorf
9e90c7c295
twine check wheels 2024-06-17 00:24:59 +02:00
Thomas Bernard
df0498c655
comments about USE_LIBPFCTL 2024-06-17 00:20:37 +02:00
Thomas Bernard
201c31a6cf
fix priv_delete_redirect_rule_check_desc() 2024-06-17 00:20:37 +02:00
Thomas Bernard
622d28fd37
fix tickets
see https://github.com/miniupnp/miniupnp/pull/671#issuecomment-2160247176
2024-06-17 00:20:37 +02:00
Thomas Bernard
2be63c9572
pfpinhole.c: use libpfctl 2024-06-17 00:20:37 +02:00
Thomas Bernard
938e9b19a2
miniupnpd/FreeBSD: use libpfctl 2024-06-17 00:20:32 +02:00
Thomas Bernard
8f8b89aa1e
tests for obsdrdr.c and pfpinhole.c 2024-06-17 00:18:57 +02:00
Thomas Bernard
036ae353b0
obsdrdr.c: use libpfctl 2024-06-17 00:18:56 +02:00