pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/editorconfig-core editorconfig-core: updated to ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/89f15ff33778
branches: trunk
changeset: 449078:89f15ff33778
user: adam <adam%pkgsrc.org@localhost>
date: Sat Mar 20 18:52:45 2021 +0000
description:
editorconfig-core: updated to 0.12.4
v0.12.4
Fix two OOM issues.
Fix one buffer overflow issue.
Fix one memory allocation error caused by strdup.
Upgrade CMake minimum to 3.5.1.
Other misc fixes.
v0.12.3
Bump required minimum cmake version to 2.8.12.
Support pcre2 and drop support for pcre.
v0.12.2
Add support for pkgconfig.
Memory leaks and crash fixes.
Improve error messages.
Add CI on AppVeyor.
Known issue: Test utf_8_char on AppVeyor won't pass.
diffstat:
devel/editorconfig-core/Makefile | 13 ++++--
devel/editorconfig-core/PLIST | 21 +++++++----
devel/editorconfig-core/distinfo | 11 ++---
devel/editorconfig-core/options.mk | 5 +-
devel/editorconfig-core/patches/patch-doc_CMakeLists.txt | 27 ----------------
5 files changed, 28 insertions(+), 49 deletions(-)
diffs (167 lines):
diff -r ceb829510e1f -r 89f15ff33778 devel/editorconfig-core/Makefile
--- a/devel/editorconfig-core/Makefile Sat Mar 20 18:17:54 2021 +0000
+++ b/devel/editorconfig-core/Makefile Sat Mar 20 18:52:45 2021 +0000
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.3 2019/11/03 10:39:10 rillig Exp $
-
-DISTNAME= editorconfig-core-c-0.12.1
+# $NetBSD: Makefile,v 1.4 2021/03/20 18:52:45 adam Exp $
+
+DISTNAME= editorconfig-core-c-0.12.4
PKGNAME= ${DISTNAME:S/c-//}
CATEGORIES= devel
-MASTER_SITES= http://downloads.sf.net/project/editorconfig/EditorConfig-C-Core/${PKGVERSION}/source/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=editorconfig/}
+GITHUB_PROJECT= editorconfig-core-c
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= nros%NetBSD.org@localhost
HOMEPAGE= http://www.editorconfig.org/
@@ -13,5 +15,6 @@
USE_CMAKE= yes
.include "options.mk"
-.include "../../devel/pcre/buildlink3.mk"
+
+.include "../../devel/pcre2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r ceb829510e1f -r 89f15ff33778 devel/editorconfig-core/PLIST
--- a/devel/editorconfig-core/PLIST Sat Mar 20 18:17:54 2021 +0000
+++ b/devel/editorconfig-core/PLIST Sat Mar 20 18:52:45 2021 +0000
@@ -1,18 +1,21 @@
-@comment $NetBSD: PLIST,v 1.1 2017/05/28 19:43:46 nros Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/03/20 18:52:45 adam Exp $
bin/editorconfig
bin/editorconfig-${PKGVERSION}
include/editorconfig/editorconfig.h
include/editorconfig/editorconfig_handle.h
+lib/cmake/EditorConfig/EditorConfigConfig.cmake
+lib/cmake/EditorConfig/EditorConfigConfigVersion.cmake
+lib/cmake/EditorConfig/EditorConfigTargets-noconfig.cmake
+lib/cmake/EditorConfig/EditorConfigTargets.cmake
lib/libeditorconfig.so
+lib/libeditorconfig.so.${PKGVERSION}
lib/libeditorconfig.so.0
-lib/libeditorconfig.so.${PKGVERSION}
lib/libeditorconfig_static.a
+lib/pkgconfig/editorconfig.pc
${PLIST.doc}man/man1/editorconfig.1
${PLIST.doc}man/man3/editorconfig.h.3
${PLIST.doc}man/man3/editorconfig_handle.h.3
${PLIST.doc}man/man5/editorconfig-format.5
-${PLIST.doc}share/doc/editorconfig/html/arrowdown.png
-${PLIST.doc}share/doc/editorconfig/html/arrowright.png
${PLIST.doc}share/doc/editorconfig/html/bc_s.png
${PLIST.doc}share/doc/editorconfig/html/bdwn.png
${PLIST.doc}share/doc/editorconfig/html/closed.png
@@ -20,7 +23,7 @@
${PLIST.doc}share/doc/editorconfig/html/dir_000001.html
${PLIST.doc}share/doc/editorconfig/html/doc.png
${PLIST.doc}share/doc/editorconfig/html/doxygen.css
-${PLIST.doc}share/doc/editorconfig/html/doxygen.png
+${PLIST.doc}share/doc/editorconfig/html/doxygen.svg
${PLIST.doc}share/doc/editorconfig/html/dynsections.js
${PLIST.doc}share/doc/editorconfig/html/editorconfig-format.html
${PLIST.doc}share/doc/editorconfig/html/editorconfig.html
@@ -31,7 +34,7 @@
${PLIST.doc}share/doc/editorconfig/html/editorconfig__handle_8h.js
${PLIST.doc}share/doc/editorconfig/html/editorconfig__handle_8h_source.html
${PLIST.doc}share/doc/editorconfig/html/files.html
-${PLIST.doc}share/doc/editorconfig/html/files.js
+${PLIST.doc}share/doc/editorconfig/html/files_dup.js
${PLIST.doc}share/doc/editorconfig/html/folderclosed.png
${PLIST.doc}share/doc/editorconfig/html/folderopen.png
${PLIST.doc}share/doc/editorconfig/html/globals.html
@@ -41,6 +44,8 @@
${PLIST.doc}share/doc/editorconfig/html/index.html
${PLIST.doc}share/doc/editorconfig/html/jquery.js
${PLIST.doc}share/doc/editorconfig/html/logo.png
+${PLIST.doc}share/doc/editorconfig/html/menu.js
+${PLIST.doc}share/doc/editorconfig/html/menudata.js
${PLIST.doc}share/doc/editorconfig/html/nav_f.png
${PLIST.doc}share/doc/editorconfig/html/nav_g.png
${PLIST.doc}share/doc/editorconfig/html/nav_h.png
@@ -53,14 +58,14 @@
${PLIST.doc}share/doc/editorconfig/html/resize.js
${PLIST.doc}share/doc/editorconfig/html/search/all_0.html
${PLIST.doc}share/doc/editorconfig/html/search/all_0.js
-${PLIST.doc}share/doc/editorconfig/html/search/close.png
+${PLIST.doc}share/doc/editorconfig/html/search/close.svg
${PLIST.doc}share/doc/editorconfig/html/search/defines_0.html
${PLIST.doc}share/doc/editorconfig/html/search/defines_0.js
${PLIST.doc}share/doc/editorconfig/html/search/files_0.html
${PLIST.doc}share/doc/editorconfig/html/search/files_0.js
${PLIST.doc}share/doc/editorconfig/html/search/functions_0.html
${PLIST.doc}share/doc/editorconfig/html/search/functions_0.js
-${PLIST.doc}share/doc/editorconfig/html/search/mag_sel.png
+${PLIST.doc}share/doc/editorconfig/html/search/mag_sel.svg
${PLIST.doc}share/doc/editorconfig/html/search/nomatches.html
${PLIST.doc}share/doc/editorconfig/html/search/pages_0.html
${PLIST.doc}share/doc/editorconfig/html/search/pages_0.js
diff -r ceb829510e1f -r 89f15ff33778 devel/editorconfig-core/distinfo
--- a/devel/editorconfig-core/distinfo Sat Mar 20 18:17:54 2021 +0000
+++ b/devel/editorconfig-core/distinfo Sat Mar 20 18:52:45 2021 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/05/28 19:43:46 nros Exp $
+$NetBSD: distinfo,v 1.2 2021/03/20 18:52:45 adam Exp $
-SHA1 (editorconfig-core-c-0.12.1.tar.gz) = d0a38c8b1e3f959f3b649f3521235d22bdba452c
-RMD160 (editorconfig-core-c-0.12.1.tar.gz) = ae5b9c56ed5d4016874d47131d1f431e7133a737
-SHA512 (editorconfig-core-c-0.12.1.tar.gz) = 7f0677da4288f7346e3072e4ded5c67fade01b33fac134a4456ad3d8de55d6f537cbf1a8f4a1eb9408a8e05a110ecfe606ac74679f4960138ae1285333c69d02
-Size (editorconfig-core-c-0.12.1.tar.gz) = 70468 bytes
-SHA1 (patch-doc_CMakeLists.txt) = 2de65470b9028652fc438b009bb181c2f474a03f
+SHA1 (editorconfig-core-c-0.12.4.tar.gz) = b5a10665cc27d5c6280dc0a98acccc2e07c3e97a
+RMD160 (editorconfig-core-c-0.12.4.tar.gz) = 6ba8b19ab2749e34be95a69e272812d858b64fc3
+SHA512 (editorconfig-core-c-0.12.4.tar.gz) = e275d4f77fddd31717a588be15a67a630e693efbddc5e1cf7e9b116b1c1a700fa9bafc1322733aa73a009c78519e00083b151bbc4a5ad55128df2c7360f9a163
+Size (editorconfig-core-c-0.12.4.tar.gz) = 72141 bytes
diff -r ceb829510e1f -r 89f15ff33778 devel/editorconfig-core/options.mk
--- a/devel/editorconfig-core/options.mk Sat Mar 20 18:17:54 2021 +0000
+++ b/devel/editorconfig-core/options.mk Sat Mar 20 18:52:45 2021 +0000
@@ -1,14 +1,13 @@
-# $NetBSD: options.mk,v 1.2 2019/11/03 10:39:10 rillig Exp $
+# $NetBSD: options.mk,v 1.3 2021/03/20 18:52:45 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.editorconfig-core
PKG_SUPPORTED_OPTIONS= doc
-PKG_SUGGESTED_OPTIONS=
-PLIST_VARS+= doc
.include "../../mk/bsd.options.mk"
###
### Build and install html documentation and man pages
###
+PLIST_VARS+= doc
.if !empty(PKG_OPTIONS:Mdoc)
BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
CMAKE_ARGS+= -DBUILD_DOCUMENTATION=ON
diff -r ceb829510e1f -r 89f15ff33778 devel/editorconfig-core/patches/patch-doc_CMakeLists.txt
--- a/devel/editorconfig-core/patches/patch-doc_CMakeLists.txt Sat Mar 20 18:17:54 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-$NetBSD: patch-doc_CMakeLists.txt,v 1.1 2017/05/28 19:43:46 nros Exp $
-*
-* This patch makes sure the man pages are installed in PKGMANDIR
-*
---- doc/CMakeLists.txt.orig 2015-09-14 17:36:42.000000000 +0000
-+++ doc/CMakeLists.txt
-@@ -107,17 +107,17 @@ if(BUILD_DOCUMENTATION)
- # we need to exclude it when installing man3. Same for
- # editorconfig-format.3
- install(DIRECTORY ${EC_MANPAGE3_DIR}
-- DESTINATION share/man
-+ DESTINATION ${CMAKE_INSTALL_MANDIR}
- PATTERN editorconfig.3 EXCLUDE
- PATTERN editorconfig-format.3 EXCLUDE
- REGEX ._include_. EXCLUDE)
-
- install(FILES
- ${EC_MANPAGE1_DIR}/editorconfig.1
-- DESTINATION share/man/man1)
-+ DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
- install(FILES
- ${EC_MANPAGE5_DIR}/editorconfig-format.5
-- DESTINATION share/man/man5)
-+ DESTINATION ${CMAKE_INSTALL_MANDIR}/man5)
-
- # "make clean" should also clean generated docs
- set_directory_properties(PROPERTIES
Home |
Main Index |
Thread Index |
Old Index