Browse Source

Merge pull request #6028 from ldir-EDB0/miniupnpdtweaks

Miniupnpdtweaks
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
61137a5340
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      net/miniupnpd/Makefile
  2. +1
    -1
      net/miniupnpd/files/upnpd.config

+ 3
- 1
net/miniupnpd/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=miniupnpd
PKG_VERSION:=2.0.20180503
PKG_RELEASE:=1
PKG_RELEASE:=3
PKG_SOURCE_URL:=http://miniupnp.free.fr/files
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@ -39,6 +39,8 @@ define Build/Prepare
echo "$(VERSION_NUMBER)" | tr '() ' '_' >$(PKG_BUILD_DIR)/os.openwrt
endef
TARGET_CFLAGS += -flto -ffunction-sections -fdata-sections
TARGET_LDFLAGS += -flto -Wl,--gc-sections
MAKE_FLAGS += \
TARGET_OPENWRT=1 TEST=0 LIBS="" \
CC="$(TARGET_CC) -DIPTABLES_143 -lip4tc -luuid \


+ 1
- 1
net/miniupnpd/files/upnpd.config View File

@ -10,7 +10,7 @@ config upnpd config
# option external_iface wan
option internal_iface lan
option port 5000
option upnp_lease_file /var/upnp.leases
option upnp_lease_file /var/run/miniupnpd.leases
option igdv1 0
config perm_rule


Loading…
Cancel
Save