Browse Source

Merge pull request #475 from antonlacon/minidlna-1.1.x

minidlna: update to 1.1.4
lilik-openwrt-22.03
sbyx 10 years ago
parent
commit
9633a46993
3 changed files with 3 additions and 47 deletions
  1. +3
    -3
      multimedia/minidlna/Makefile
  2. +0
    -32
      multimedia/minidlna/patches/020-makefileam-tweaks.patch
  3. +0
    -12
      multimedia/minidlna/patches/030-upnphttp-fixPhilips.patch

+ 3
- 3
multimedia/minidlna/Makefile View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=minidlna PKG_NAME:=minidlna
PKG_VERSION:=1.1.3
PKG_VERSION:=1.1.4
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/minidlna PKG_SOURCE_URL:=@SF/minidlna
PKG_MD5SUM:=879027192c89e5376cdd2ae2d1aa33b4
PKG_MD5SUM:=67c9e91285bc3801fd91a5d26ea775d7
PKG_LICENSE:=GPL-2.0 BSD-3-Clause PKG_LICENSE:=GPL-2.0 BSD-3-Clause
PKG_LICENSE_FILES:=COPYING LICENCE.miniupnpd PKG_LICENSE_FILES:=COPYING LICENCE.miniupnpd
@ -75,7 +75,7 @@ CONFIGURE_ARGS +=\
define Package/minidlna/install define Package/minidlna/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/minidlna $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/minidlnad $(1)/usr/bin/minidlna
$(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/minidlna.init $(1)/etc/init.d/minidlna $(INSTALL_BIN) ./files/minidlna.init $(1)/etc/init.d/minidlna
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config


+ 0
- 32
multimedia/minidlna/patches/020-makefileam-tweaks.patch View File

@ -1,32 +0,0 @@
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,9 +19,9 @@
SUBDIRS=po
-sbin_PROGRAMS = minidlnad
+sbin_PROGRAMS = minidlna
check_PROGRAMS = testupnpdescgen
-minidlnad_SOURCES = minidlna.c upnphttp.c upnpdescgen.c upnpsoap.c \
+minidlna_SOURCES = minidlna.c upnphttp.c upnpdescgen.c upnpsoap.c \
upnpreplyparse.c minixml.c clients.c \
getifaddr.c process.c upnpglobalvars.c \
options.c minissdp.c uuid.c upnpevents.c \
@@ -38,7 +38,7 @@
flacoggflag = -logg
#endif
-minidlnad_LDADD = \
+minidlna_LDADD = \
@LIBJPEG_LIBS@ \
@LIBID3TAG_LIBS@ \
@LIBSQLITE3_LIBS@ \
@@ -49,7 +49,7 @@
@LIBICONV@ \
-lFLAC $(flacoggflag) $(vorbisflag)
-minidlnad_LDFLAGS = @STATIC_LDFLAGS@
+minidlna_LDFLAGS = @STATIC_LDFLAGS@
testupnpdescgen_SOURCES = testupnpdescgen.c upnpdescgen.c
testupnpdescgen_LDADD = \

+ 0
- 12
multimedia/minidlna/patches/030-upnphttp-fixPhilips.patch View File

@ -1,12 +0,0 @@
--- a/upnphttp.c
+++ b/upnphttp.c
@@ -1259,7 +1259,7 @@
int try_sendfile = 1;
#endif
- while( offset < end_offset )
+ while( offset <= end_offset )
{
#if HAVE_SENDFILE
if( try_sendfile )

Loading…
Cancel
Save