Mike Frysinger
30e510ac79
convert to LDLIBS
...
The standard variable for adding -l flags is LDLIBS, not LIBS.
The default Makefile rules (which this code already relies on)
will use that when linking.
This also fixes a problem where we do not want to list -l flags
in the dependency of make targets. When you do that, make will
do a file search in /lib and /usr/lib (hardcoded) and expand the
path to those absolute files. This breaks when you try to cross-
compile miniupnpd for other platforms.
2014-04-29 16:53:29 -04:00
Mike Frysinger
77a2ce69b6
respect standard $PKG_CONFIG env var
...
Rather than hardcode `pkg-config`, allow people to set PKG_CONFIG to
point to a version customized for their build.
2014-04-29 16:47:01 -04:00
Thomas Bernard
bbe96a15b6
miniupnpd: adding HTTPS support
2014-04-09 15:35:06 +02:00
Thomas Bernard
08127b85d4
Merge branch 'portinuse'
...
Conflicts:
miniupnpd/Makefile.linux
2014-03-28 12:52:18 +01:00
Thomas Bernard
ad88cc0819
miniupnpd: start work to enable IPv6 PCP operations
2014-03-24 12:07:31 +01:00
Thomas Bernard
dcce22647d
miniupnpd: add testportinuse test program
2014-03-14 12:07:03 +01:00
Thomas Bernard
06764123fb
Merge remote branch 'origin/master' into portinuse
...
Conflicts:
miniupnpd/Makefile.linux
miniupnpd/natpmp.c
2014-03-13 14:19:44 +01:00
Thomas Bernard
f49a70aab0
miniupnpd/testgetifaddr.c: also test find_ipv6_addr()
2014-03-03 12:37:01 +01:00
Thomas Bernard
e5146cdf24
miniupnpd/Makefile.linux: fixes for testasyncsendto
...
also update dependencies
2014-03-03 12:35:12 +01:00
Thomas Bernard
cbc1a3c96a
miniupnpd: add sendto() queuing
2014-02-25 11:10:05 +01:00
Thomas Bernard
b2143eff94
implementation of queuing of messages to send.
2014-02-18 09:34:42 +01:00
Thomas Bernard
0734265092
Makefile.linux: update dependencies
2014-01-27 11:09:30 +01:00
Thomas Bernard
00adeeaaad
typo fix
2013-12-13 14:41:21 +01:00
Thomas Bernard
b9daf5cc27
testupnpdescgen.c: minor fix on getifaddr()
2013-12-13 12:35:36 +01:00
Thomas Bernard
9b72af6f36
Merge branch 'master' into portinuse
2013-12-13 12:29:01 +01:00
Peter Tatrai
9e1ffd5cd9
Add initial PCP support
2013-07-11 09:38:55 +02:00
Thomas Bernard
24ee64e2fa
comment...
2013-05-03 11:34:39 +02:00
Thomas Bernard
71dcf3565d
miniupnpd: Use pkg-config under linux to find libiptc.
...
Thanks to Olivier Langlois
2013-05-03 11:33:36 +02:00
Thomas Bernard
803899514e
use DESTDIR for install targets
...
fix #026
thanks to rofl0r
2013-02-09 16:17:23 +01:00
Thomas Bernard
0b715512b2
miniupnpd/Makefile.linux: update depend target
2013-02-07 16:56:51 +01:00
Thomas Bernard
91f34d6c38
Merge branch 'master' into portinuse
...
Conflicts:
README
2013-02-07 16:48:16 +01:00
Thomas Bernard
34c5af41ad
miniupnpd: install miniupnpd.8 man page in Makefile.linux
2012-08-24 20:13:15 +02:00
Thomas Bernard
013b0df388
miniupnpd: detect port in use / already forwarded
...
Patch submitted by David Kerr
2012-07-10 23:25:29 +02:00
Thomas Bernard
779a71bb6c
miniupnpd: IPv6 address used for LOCATION:
...
in UPNP_STRICT mode, the literal IPv6 address in "location:" of SSDP
messages is now the source address used to send the message.
For linux only at the moment
Also added testgetroute
2012-06-24 01:41:47 +02:00
Thomas Bernard
b32c1c7cc6
Disable -ansi in Makefile.linux
2012-06-08 20:17:35 +02:00
Thomas Bernard
4922f84ee4
add dependency to VERSION for config.h
2012-05-24 18:25:42 +02:00
Thomas Bernard
6d0a225420
Add more warning CFLAGS
2012-05-24 18:24:55 +02:00
Thomas Bernard
89212758f2
Move IPv6FirewallControl related code from upnpredirect.c to upnppinhole.c
2012-05-01 22:25:30 +02:00
Thomas Bernard
a0f540b1f4
Clean up settings of CFLAGS in Makefile's
2012-05-01 11:34:41 +02:00
Thomas Bernard
0440f0b8a7
Started to implement add_pinhole() for netfilter (linux)
2012-04-26 16:08:39 +02:00
Thomas Bernard
c3d979a9cd
add -Wdeclaration-after-statement to CFLAGS
2012-04-21 00:05:45 +02:00
Thomas Bernard
e982ebc9f5
Add command line arguments to genconfig.sh config script
2012-04-15 00:35:31 +02:00
Shawn Landen
5c224accbf
remove trailing whitespace from miniupnpd
2012-02-29 17:48:41 -08:00
Thomas Bernard
87a8a06640
automatic -lip4tc and -lip6tc in Makefile.linux
...
Added test of presence of /lib/libip4tc.so and /lib/libip6tc.so files in
Makefile.linux in order to add -lip4tc and -lip6tc to LIBS accordingly.
2012-02-03 16:12:22 +01:00
Thomas Bernard
0d96346588
Adding miniupnpd
2011-09-28 21:13:20 +02:00