mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-21 18:28:05 +00:00
rename macro UPNP_VERSION to MINIUPNPD_DATE
(a more meaningful name)
This commit is contained in:
parent
e13525c3e7
commit
50c68a9f03
@ -40,9 +40,7 @@ CONFIGFILE="config.h.tmp"
|
|||||||
CONFIGFILE_FINAL="config.h"
|
CONFIGFILE_FINAL="config.h"
|
||||||
CONFIGMACRO="CONFIG_H_INCLUDED"
|
CONFIGMACRO="CONFIG_H_INCLUDED"
|
||||||
|
|
||||||
# version reported in XML descriptions
|
MINIUPNPD_DATE=`date +"%Y%m%d"`
|
||||||
#UPNP_VERSION=20070827
|
|
||||||
UPNP_VERSION=`date +"%Y%m%d"`
|
|
||||||
# Facility to syslog
|
# Facility to syslog
|
||||||
LOG_MINIUPNPD="LOG_DAEMON"
|
LOG_MINIUPNPD="LOG_DAEMON"
|
||||||
|
|
||||||
@ -90,7 +88,7 @@ echo "#include <inttypes.h>" >> ${CONFIGFILE}
|
|||||||
echo "" >> ${CONFIGFILE}
|
echo "" >> ${CONFIGFILE}
|
||||||
echo "#define MINIUPNPD_VERSION \"`cat VERSION`\"" >> ${CONFIGFILE}
|
echo "#define MINIUPNPD_VERSION \"`cat VERSION`\"" >> ${CONFIGFILE}
|
||||||
echo "" >> ${CONFIGFILE}
|
echo "" >> ${CONFIGFILE}
|
||||||
echo "#define UPNP_VERSION \"$UPNP_VERSION\"" >> ${CONFIGFILE}
|
echo "#define MINIUPNPD_DATE \"$MINIUPNPD_DATE\"" >> ${CONFIGFILE}
|
||||||
|
|
||||||
# OS Specific stuff
|
# OS Specific stuff
|
||||||
case $OS_NAME in
|
case $OS_NAME in
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#define WANDEV_MANUFACTURERURL "http://miniupnp.free.fr/"
|
#define WANDEV_MANUFACTURERURL "http://miniupnp.free.fr/"
|
||||||
#define WANDEV_MODELNAME "WAN Device"
|
#define WANDEV_MODELNAME "WAN Device"
|
||||||
#define WANDEV_MODELDESCRIPTION "WAN Device"
|
#define WANDEV_MODELDESCRIPTION "WAN Device"
|
||||||
#define WANDEV_MODELNUMBER UPNP_VERSION
|
#define WANDEV_MODELNUMBER MINIUPNPD_DATE
|
||||||
#define WANDEV_MODELURL "http://miniupnp.free.fr/"
|
#define WANDEV_MODELURL "http://miniupnp.free.fr/"
|
||||||
#define WANDEV_UPC "000000000000"
|
#define WANDEV_UPC "000000000000"
|
||||||
/* UPC is 12 digit (barcode) */
|
/* UPC is 12 digit (barcode) */
|
||||||
@ -32,7 +32,7 @@
|
|||||||
#define WANCDEV_MANUFACTURERURL WANDEV_MANUFACTURERURL
|
#define WANCDEV_MANUFACTURERURL WANDEV_MANUFACTURERURL
|
||||||
#define WANCDEV_MODELNAME "MiniUPnPd"
|
#define WANCDEV_MODELNAME "MiniUPnPd"
|
||||||
#define WANCDEV_MODELDESCRIPTION "MiniUPnP daemon"
|
#define WANCDEV_MODELDESCRIPTION "MiniUPnP daemon"
|
||||||
#define WANCDEV_MODELNUMBER UPNP_VERSION
|
#define WANCDEV_MODELNUMBER MINIUPNPD_DATE
|
||||||
#define WANCDEV_MODELURL "http://miniupnp.free.fr/"
|
#define WANCDEV_MODELURL "http://miniupnp.free.fr/"
|
||||||
#define WANCDEV_UPC "000000000000"
|
#define WANCDEV_UPC "000000000000"
|
||||||
/* UPC is 12 digit (barcode) */
|
/* UPC is 12 digit (barcode) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user