file: bump version to 5.25
authorMarko Ratkaj <marko.ratkaj@sartura.hr>
Thu, 24 Sep 2015 09:08:44 +0000 (11:08 +0200)
committerLuka Perkov <luka@openwrt.org>
Sun, 27 Sep 2015 21:42:05 +0000 (23:42 +0200)
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
libs/file/Makefile

index 39bf0bdd7dfc8fb46c044ceb9245b18bfd585e01..90ab6f4cc60b319aa9c62440dd799fd19aae14b2 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=file
-PKG_VERSION:=5.20
+PKG_VERSION:=5.25
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.astron.com/pub/file/
-PKG_MD5SUM:=5d5e13eb3e0e13839da869a31790faf2
+PKG_MD5SUM:=e6a972d4e10d9e76407a432f4a63cd4c
 
 PKG_LICENSE:=BSD-2c
 PKG_LICENSE_FILES:=COPYING
@@ -83,6 +83,9 @@ define Package/file/install
        $(SED) "/^#/d" $(PKG_INSTALL_DIR)/usr/share/file/magic
        $(SED) "/^$$$$/d" $(PKG_INSTALL_DIR)/usr/share/file/magic
        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/file/magic $(1)/usr/share/misc/
+
+       # For some reason both "magic" and "magic.mgc" MUST exist
+       ln -sf magic $(1)/usr/share/misc/magic.mgc
 endef
 
 define Package/libmagic/install