While working on the source code on behalf of
inAccessNetworks[1] and for the needs of the ePerSpace
project [2], I've found convenient some enhancement in
the Makefile. Additionally I've found confusing the
chosen name 'upnpd' for the binary (I guess there might
be other upnp daemons out there) and the fact that
configuration files are installed under /etc/linuxigd
(instead of /etc/upnpd).
Therefore, I picked a more appropriate (IMHO) name
'upnp-igd' and install under /etc/upnp-igd.
Additional changes:
- cross compiling support through TARGET variable
- support of the DESTDIR variable in install section
(usefull for building rpm)
- trivial strip and install-strip targets
- minor change in config.c to handle the minus
character in the name
- save the PID under /var/run/upnp-igd.pid (usefull for
writting init scripts using e.g. start-stop-daemon)
- man page changed to reflect name change
The patch is against a fresh cvs check out and my tree
using diff -wuirN.
I'm sorry for not posting the various changes as
seperate patches but I didn't have the time to post,
defend and maintain my modifications at the time they
were implemented. Please let me know if this is a
problem or if any clarifications/corrections are needed.
---
[1] http://www.inaccessnetworks.com/
[2] http://www.ist-eperspace.org/
linux-igd_newname.diff