summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2016-06-27 01:29:17 +0000
committerdelphij <delphij@FreeBSD.org>2016-06-27 01:29:17 +0000
commitf1bd70502f890a8668985030c0aecc3aeacb10ac (patch)
treeb8ace7bbb90fbad4c9272ff2656e8bd1ba0cf93f /lib
parent13c308de0c7cfd639629c469f9bc8442dc993d2b (diff)
parentacd3b1450f7e248d50e7881112092a574b9319b2 (diff)
downloadFreeBSD-src-f1bd70502f890a8668985030c0aecc3aeacb10ac.zip
FreeBSD-src-f1bd70502f890a8668985030c0aecc3aeacb10ac.tar.gz
MFV r302218: file 5.28.
Relnotes: yes MFC after: 2 weeks Approved by: re (gjb)
Diffstat (limited to 'lib')
-rw-r--r--lib/libmagic/Makefile6
-rw-r--r--lib/libmagic/config.h9
2 files changed, 12 insertions, 3 deletions
diff --git a/lib/libmagic/Makefile b/lib/libmagic/Makefile
index 76f3e7c..d578b70 100644
--- a/lib/libmagic/Makefile
+++ b/lib/libmagic/Makefile
@@ -54,4 +54,10 @@ ${mp}: ${mp:C/[0-9]/man/}
-e 's,__MAGIC__,${MAGICPATH}/magic,g' ${.ALLSRC} > ${.TARGET}
.endfor
+CLEANFILES+= ${INCS}
+.for inc in ${INCS}
+${inc}: ${inc}.in
+ sed -e 's,X.YY,${FILEVER:S,",,g:S,.,,g},g' ${.ALLSRC} > ${.TARGET}
+.endfor
+
.include <bsd.lib.mk>
diff --git a/lib/libmagic/config.h b/lib/libmagic/config.h
index 6fd2942..5997612 100644
--- a/lib/libmagic/config.h
+++ b/lib/libmagic/config.h
@@ -293,7 +293,7 @@
#define PACKAGE_NAME "file"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "file 5.27"
+#define PACKAGE_STRING "file 5.28"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "file"
@@ -302,7 +302,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
-#define PACKAGE_VERSION "5.27"
+#define PACKAGE_VERSION "5.28"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
@@ -333,7 +333,7 @@
/* Version number of package */
-#define VERSION "5.27"
+#define VERSION "5.28"
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
@@ -347,6 +347,9 @@
# endif
#endif
+/* Enable zlib compression support */
+#define ZLIBSUPPORT 1
+
/* Enable large inode numbers on Mac OS X 10.5. */
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
OpenPOWER on IntegriCloud