Thomas BERNARD
|
943e28bdaa
|
Merge pull request #296 from btolfa/miniupnpc-modern-cmake
Modernize and cleanup CMakeLists.txt
|
2018-05-07 11:24:22 +02:00 |
Thomas Bernard
|
d2bbdee995
|
fix typo introduced in 00abd9e6c8
|
2018-05-03 09:54:02 +02:00 |
Thomas Bernard
|
a92138345b
|
add option LEASEFILE_USE_REMAINING_TIME
new function lease_file_rewrite()
that is called just before exiting, and when SIGUSR2 is received
see #295
|
2018-05-02 09:40:12 +02:00 |
Thomas Bernard
|
d0e7958617
|
lease_file_remove(): replace strncpy/strncat by snprintf()
|
2018-05-01 13:04:20 +02:00 |
Thomas Bernard
|
f6ac854f0f
|
miniupnpd: fix storing of unlimited lease time in lease_file
see #295
|
2018-05-01 11:26:49 +02:00 |
Thomas Bernard
|
17773f0a72
|
if LEASEFILE_USE_REMAINING_TIME is defined, only the remaining time is stored
see #295
|
2018-04-30 17:25:26 +02:00 |
Thomas Bernard
|
00abd9e6c8
|
miniupnpd: store UNIX time in lease_file
fixes #295
|
2018-04-30 16:59:40 +02:00 |
Thomas Bernard
|
61703ad8b1
|
miniupnpc/lisdevices.c: remove warnings. fix leak
|
2018-04-30 16:44:15 +02:00 |
Thomas Bernard
|
073642d7e4
|
test2
|
2018-04-30 16:39:28 +02:00 |
Thomas Bernard
|
cc3541e6cf
|
appveyor: version
|
2018-04-30 16:35:07 +02:00 |
Thomas Bernard
|
f65d34433f
|
miniupnpc/listdevices: remove duplicates
|
2018-04-30 16:26:29 +02:00 |
Thomas BERNARD
|
bdfd7bb562
|
miniupnpc/listdevices: show devices sorted by XML desc URL
|
2018-04-30 01:59:38 +02:00 |
Tengiz Sharafiev
|
530b272350
|
Modernize and cleanup CMakeLists.txt
[Effective Modern CMake](https://gist.github.com/mbinna/c61dbb39bca0e4fb7d1f73b0d66a4fd1)
- Set the minimum required version for CMake to 3.5
- Added `UPNPC_BUILD_SAMPLE` option for building sample client application (upnpc.c)
- Added interface target library `miniupnpc-private` for common settings like compile
definitions, flags and include directories. It helps to keep global scope clean.
https://cmake.org/cmake/help/v3.11/manual/cmake-buildsystem.7.html#interface-libraries
- Replaced `-fPIC` compile option with `POSITION_INDEPENDENT_CODE` target property
https://cmake.org/cmake/help/v3.11/prop_tgt/POSITION_INDEPENDENT_CODE.html#prop_tgt:POSITION_INDEPENDENT_CODE
- Set usage requirements for `libminiupnpc-*` targets for more convenient
usage through `add_subdirectory()` (as cmake subproject)
https://cmake.org/cmake/help/v3.11/manual/cmake-buildsystem.7.html#build-specification-and-usage-requirements
- Removed old and outdated code from CMakeLists.txt
|
2018-04-27 21:38:25 +07:00 |
Thomas Bernard
|
491ee9f8bf
|
miniupnpd/upnpevents.c: Add log when error
|
2018-04-27 00:08:06 +02:00 |
Thomas Bernard
|
0e3dd7b3fa
|
appveyor: message
|
2018-04-26 22:49:06 +02:00 |
Thomas Bernard
|
a78750c6ca
|
appveyor: push artifacts
|
2018-04-26 22:38:24 +02:00 |
Thomas Bernard
|
b7e1b2ef09
|
miniupnpc/miniupnpcmodule.c: small fix
|
2018-04-26 22:27:05 +02:00 |
Thomas Bernard
|
4931404b8a
|
miniupnpc: build python module with appveyor
|
2018-04-26 22:17:53 +02:00 |
Thomas Bernard
|
9663c55c61
|
miniupnpc/Makefile.mingw: Support cross compiling for Ming32
fixes #293
|
2018-04-26 22:13:06 +02:00 |
Thomas Bernard
|
239d048489
|
Merge branch 'pf_use_ext_ip_addr'
|
2018-04-22 21:27:44 +02:00 |
Thomas Bernard
|
5dcd40aece
|
netfilter/iptpinhole.c: remove warning: implicit declaration of function 'upnp_time'
fixes ef94635100
|
2018-04-22 21:24:30 +02:00 |
Thomas Bernard
|
0366cd0ba0
|
replace strlen(s) > 0 by s[0] != '\0'
see #292
|
2018-04-22 21:21:58 +02:00 |
Thomas Bernard
|
2b6fa0839f
|
no more strlen(xxx) == 0.
Fixes #292
|
2018-04-20 17:19:52 +02:00 |
Thomas Bernard
|
9d569438d3
|
update MS VS 2010 project files
|
2018-04-20 16:34:44 +02:00 |
Thomas Bernard
|
154d27c773
|
miniupnpc/upnpc.c: 2017=>2018
|
2018-04-20 16:34:42 +02:00 |
Thomas Bernard
|
53e8185725
|
miniupnpd/pf: set dst address in rule if use_ext_ip_addr is set
fixes #231
|
2018-04-12 11:36:12 +02:00 |
Thomas Bernard
|
1fe8d21cf2
|
fixes #272
|
2018-04-12 10:49:53 +02:00 |
Thomas Bernard
|
eaaf4f10ae
|
miniupnpd: introduce upnp_gettimeofday() which is monotonic :)
fixes #288
|
2018-04-12 10:07:11 +02:00 |
Thomas Bernard
|
0d0b4d2372
|
.gitignore: add miniupnpc.pc
|
2018-04-10 09:47:18 +02:00 |
Thomas Bernard
|
0bbff2bb0f
|
miniupnpd: update Changelog
see 82ec7bc3df
|
2018-04-06 13:00:23 +02:00 |
Thomas Bernard
|
f8acab6d38
|
miniupnpc: increments API_VERSION to 17
|
2018-04-06 12:48:24 +02:00 |
Thomas Bernard
|
284db0bb49
|
miniupnpc: use SOCKET type instead of int for copilation under Win64
see #289
|
2018-04-06 12:21:36 +02:00 |
yangfl
|
82ec7bc3df
|
miniupnpd: Add options for netfilter scripts
|
2018-03-16 23:57:39 +08:00 |
Thomas Bernard
|
a4af4a66b2
|
miniupnpc: cleanup includes in upnpcommands.h
see #289
|
2018-03-14 00:36:12 +01:00 |
Thomas Bernard
|
8945a6ee15
|
miniupnpc/miniwget.c: remove useless test
see #289
|
2018-03-14 00:23:10 +01:00 |
Thomas Bernard
|
ef94635100
|
miniupnpd: time() => upnp_time()
I had forgotten some
see #288
|
2018-03-14 00:09:42 +01:00 |
Thomas Bernard
|
9516c9a007
|
miniupnpd: fix warnings
|
2018-03-13 11:53:33 +01:00 |
Thomas Bernard
|
dd2aa84204
|
miniupnpd: use monotonic clock for timeouts, etc.
fixes #288
also changed set_startup_time()
|
2018-03-13 11:43:07 +01:00 |
Thomas Bernard
|
2d783f6e69
|
minissdpd: remove warning when IPV6 is disabled
|
2018-03-12 20:14:30 +01:00 |
Thomas Bernard
|
d62ea5eea0
|
Fixes #290
|
2018-03-12 20:12:01 +01:00 |
Thomas Bernard
|
4a4269a673
|
minissdpd: update config.h. Automatically update version in config.h
|
2018-02-23 15:00:18 +01:00 |
Thomas Bernard
|
f4a1a5e328
|
minissdpd: update Changelog. minor modifs
|
2018-02-23 14:02:23 +01:00 |
Thomas Bernard
|
ca779d47dc
|
minissdpd: Fix compilation with IPv6 disabled
see #285
|
2018-02-23 13:22:50 +01:00 |
Thomas Bernard
|
b8c957a3a8
|
minissdpd: remove all references to GetIfAddrIPv4()
fixes #285
GetIfADdrIPv4() was removed in commit 63179a1f7f
|
2018-02-23 13:05:04 +01:00 |
Thomas Bernard
|
ce2673118d
|
miniupnpc: disable call to MiniSSDPd when -m option is used
fixes #269
|
2018-02-22 15:58:25 +01:00 |
Thomas Bernard
|
90b8f3711c
|
miniupnpc: add miniupnpc.pc for pkg-config
fixes #281
|
2018-02-22 15:31:34 +01:00 |
Thomas Bernard
|
f0511d761b
|
miniupnpd: Add -1 option
fixes #277
see #282
|
2018-02-22 14:02:52 +01:00 |
Thomas Bernard
|
9efd7fda66
|
ChangeLog for #282
|
2018-02-22 13:53:39 +01:00 |
Thomas Bernard
|
80779ff4f7
|
Fix commit 6cbf0ba
Use the "flags" global variable to store the option value
Save a lot of complexity.
|
2018-02-22 13:47:48 +01:00 |
Nye Liu
|
c6bf0ba6f3
|
Allow runtime override of igd to v1 for people running binaries with v2 enabled
Towards miniupnp/miniupnp#277
|
2018-02-19 22:14:05 -08:00 |