Commit Graph

589 Commits

Author SHA1 Message Date
Thomas Bernard ac5e908881
miniupnpc/CMakeLists.txt: use project VERSION/DESCRIPTION/HOMEPAGE_URL 2022-10-15 17:36:28 +02:00
Thomas Bernard 89ac1d6bf6
miniupnpc: add URL in generated miniupnpc.pc 2022-10-15 17:29:40 +02:00
Thomas Bernard 9350846757
miniupnpc: add Homepage url, version and desc in miniupnpc.pc generated by CMake build 2022-10-15 17:29:40 +02:00
Thomas Bernard 5a398006b9
miniupnpc/CMakeLists.txt: generate and install miniupnpc.pc
fixes #574
2022-10-15 17:29:39 +02:00
mmyjona 72d3183e2d
fix netbsd build 2022-09-15 04:51:57 -07:00
fanquake b62ae38f3c
build: use lowercase x in _WIN32_WINNT define
For consistency with all other usages of `_WIN32_WINNT` throughout the
code, and to match the mingw-w64 headers.
2022-09-10 10:44:30 +01:00
fanquake d66ff5e488
build: add distfile to miniupnpc make clean target 2022-08-31 12:50:47 +01:00
fanquake d40daa6f22
build: respect CFLAGS in makefile.mingw
Similar to the other Makefile.
2022-07-27 15:52:37 +01:00
Thomas Bernard 6d59337a57 MS VS project: upnpc-shared.exe for exe using the .dll 2022-05-15 16:38:15 +02:00
Abdullah 9ae617b232
Fix capitalisation of GitHub (#608)
* Fixed capitalisation of GitHub
2022-05-06 09:18:23 +02:00
Biswapriyo Nath 9e99c44adb
cmake: Fix static library name in mingw
This corrects the static library name to libminiupnpc.a.
Otherwise 'lib' is prepended twice, like liblibminiupnpc.a.
2022-04-01 20:41:28 +05:30
Zahary Karadjov 689d1fdd04 Fix the build on NixOS
On NixOS, the lsb_release command returns strings such as "NixOS"
and "22.04" (with the quotes included). This leads to compilation
problems because the updateminiupnpcstrings.sh scripts ends up
creating a C file with the following content:

The fix is to simply strip the quotes from the lsb_release output.
2022-03-21 19:37:25 +02:00
Thomas Bernard 51f185fd13
upnpc.c: use of @ to replace local lan address
example :
$ upnpc-static -a @ 9999 9999 TCP

fixes #532
2022-02-20 00:27:34 +01:00
Sergey Ponomarev af812c8775
Refine LICENSE so github can understand it ;)
see #592
also replace project specific files to symbolic link
2022-02-19 18:38:48 +01:00
Sergey Ponomarev 1479881003 minixml.c sync sources
In the commit a0573e2518
was fixed a buffer overflow in the minixml.c but it wasn't copied to upnpc-async.
To make comparison simpler the header was also synced
2022-01-27 11:29:16 +02:00
Thomas BERNARD 327c400e4f
Merge pull request #589 from scribam/winsock-deprecated-no-warnings
miniupnpc/cmake: add _WINSOCK_DEPRECATED_NO_WARNINGS definition
2022-01-22 18:01:25 +01:00
Thomas BERNARD 4509935d56
Merge pull request #587 from fanquake/mingw_pkg_config
mingw: add minimal pkg-config support
2022-01-22 17:55:33 +01:00
scribam bcaee022a3 miniupnpc/cmake: add _WINSOCK_DEPRECATED_NO_WARNINGS definition 2022-01-04 19:32:39 +01:00
fanquake 1f46c250d9
doc: add windres to mingw *nix build command 2022-01-03 10:08:45 +08:00
fanquake 30630daa22
mingw: add minimal pkg-config support 2022-01-03 10:02:12 +08:00
Thomas Bernard dc7dd30a0c pymoduletest.py: migrate to python 3 2021-11-09 19:56:15 +01:00
Thomas Bernard f1dc690c3d
pythonmodule: allow to specify root desc url as selectigd() argument
fixes #571
2021-11-09 19:55:22 +01:00
Thomas BERNARD 77876aea5f
Merge pull request #555 from SpaceIm/fix/cmake-cross-build-ios
CMake: fix cross-build to iOS/tvOS/watchOS
2021-10-17 10:42:35 +02:00
heitbaum f82b0563a7 miniupnpc/CMakeLists.txt: fix install for headers 2021-10-01 00:00:27 +10:00
Thomas Bernard dc82d25cb1
Makefile.mingw: use CI_COMMIT_SHORT_SHA from gitlab-ci 2021-09-30 01:49:30 +02:00
Michał Górny ed1dc4bb5c Makefile: fix install rules to account for $(BUILD)
Fix missing references to $(BUILD) in the install rules, as well
as incorrect shared library symlink name.  Otherwise, the 'install'
phase fails either being unable to find files:

    make: *** No rule to make target 'miniupnpc.pc', needed by 'install'.  Stop.

or trying to create the symlink in the wrong subdirectory:

    ln: failed to create symbolic link '/tmp/z/usr/lib/build/libminiupnpc.so': No such file or directory
2021-09-29 08:28:27 +02:00
Thomas Bernard 36a65e3d84 miniupnpc/Changelog.txt: VERSION 2.2.3 2021-09-28 23:55:53 +02:00
Thomas Bernard 2df8120326 miniupnpc version 2.2.3 2021-09-28 23:47:00 +02:00
Thomas Bernard d4610f4a38
updateminiupnpcstrings.sh: fix. "rm -v" is nonstandard 2021-09-28 23:46:17 +02:00
Thomas Bernard d61d3e6b66
miniupnpcmodules.c: #include <structmember.h>
à la place de #include "structmember.h"
2021-09-28 23:45:41 +02:00
Thomas Bernard ee071c62f0 Merge branch 'include-dir' 2021-09-28 22:48:47 +02:00
Thomas Bernard 6d8c22e82b miniupnpc/Makefile: clean testaddr_is_reserved 2021-09-28 22:45:41 +02:00
Thomas Bernard 1fa653117d
update MANIFEST.in 2021-08-22 23:26:10 +02:00
Thomas Bernard 811d9bc778
update Changelog.txt 2021-08-22 23:26:10 +02:00
Thomas Bernard 3cbb28b74a
fix setupmingw32.py 2021-08-22 23:26:10 +02:00
Thomas Bernard 6600cdf792
miniupnpc: fix Makefile.mingw 2021-08-22 23:26:09 +02:00
Thomas Bernard eba48d0f4e
update VC++ projects 2021-08-22 23:26:09 +02:00
Thomas Bernard 177cac1368
updateminiupnpcstrings.sh: mktemp 2021-08-22 23:26:09 +02:00
Thomas Bernard f1f3b6a5fc
fix build of miniupnpcstrings.h 2021-08-22 23:26:09 +02:00
Thomas Bernard 4975eeabe2
update CMakeLists.txt
CMakeLists.txt: always includes minissdpc.c
2021-08-22 23:26:09 +02:00
Thomas Bernard 92b1c8198d
WIP. Reorganize src build directories 2021-08-22 23:26:04 +02:00
Thomas Bernard 874a3aba9e
miniupnpc: move public .h files to include/ subdir
fixes #540
2021-08-22 23:21:54 +02:00
Thomas Bernard 384268ac46
LICENSE / README : 2021 2021-08-22 23:15:53 +02:00
Thomas Bernard 2066ccbbdb Makefile: flags for ASAN 2021-08-21 12:57:13 +02:00
Thomas Bernard 2c4acd0d50 Makefile: use CPPFLAGS instead of CFLAGS for -D 2021-08-21 12:40:11 +02:00
Thomas Bernard 2cc539ae27 upnpdev.h: 2021 2021-08-21 11:46:50 +02:00
Ștefan Talpalaru d04473c67f
miniupnpc: don't assume '.' is in the Windows PATH 2021-08-17 02:48:36 +02:00
SpaceIm da771539c1 fix cross-build to iOS/tvOS/watchOS 2021-07-19 22:35:31 +02:00
Thomas Bernard 97b7ec1ad2
normalize use of __STDC_VERSION__ 2021-06-17 09:25:26 +02:00
fanquake 8f9ce751ba
Fix __STDC_VERSION__ check in upnpdev.h 2021-06-17 14:48:34 +08:00