Skip to content

Commit

Permalink
Update textproc/groonga to 7.0.5. Add bl3.
Browse files Browse the repository at this point in the history
Based on a PR by @siepkes (TritonDataCenter#7).

Groonga 7.0.5
- [dump] --sort_hash_table option has been supported
- math_abs() function has been supported
- Ubuntu 16.10 (Yakkety Yak) support has been dropped

Groonga 7.0.4
- Supported Debian 9 (stretch)
- Added grndb log options
- Improved query performance

Groonga 7.0.3
- [select] Add document about Full text search with specific index name
- [load][dump] Supported Apache Arrow

Groonga 7.0.2
- Fixed a bug that data is lost by reindex
- Supported Ubuntu 17.04 (Zesty Zapus)
- Supported persistent cache
- Added function to use an existing table as condition patterns.

Groonga 7.0.1
- Dropped CentOS 5 support
- Fixed a problem about dynamically updated index size
- [experimental] Supported GRN_ORDER_BY_ESTIMATED_SIZE_ENABLE

Groonga 7.0.0
- Removed needless metadata updates on DB. It reduces the case that
  database lock remains even though select command is executed.
- lock_clear Changed to clear metadata lock by lock_clear against DB.
- Supported groonga-token-filter-stem package which provides stemming
  feature by TokenFilterStem token filter on CentOS 7.
- load Supported --output_errors yes option. If you specify "yes", you
  can get errors for each load failed record.

Groonga 6.1.5
- This release fixes an index search bug that index search may not
  return records that should be matched.

Groonga 6.1.4
- This release fixes an index search bug that index search may not
  return records that should be matched.

Groonga 6.1.3
- Reverted "Improved performance of updating inverted indexes in the
  worst case".

Groonga 6.1.2
- [load] Supported to show {"n_loaded_records": N} in response
- [load] Supported --output_ids yes parameter

Groonga 6.1.1
- Supported column value compression with Zstandard
- Changed to stop compressing small data

Groonga 6.1.0
- Supported to sort load table names by key instead of ID to make output
  stable
- Added document about index columns

Groonga 6.0.9
- Fixed index search bug
- Supported regular expression in location directive for groonga-httpd
  • Loading branch information
mamash committed Aug 29, 2017
1 parent 96699a5 commit 6a08539
Show file tree
Hide file tree
Showing 7 changed files with 122 additions and 144 deletions.
12 changes: 7 additions & 5 deletions textproc/groonga/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.61 2017/07/11 19:41:20 joerg Exp $
# $NetBSD: Makefile,v 1.62 2017/08/29 12:54:47 fhajny Exp $
#

DISTNAME= groonga-6.0.8
DISTNAME= groonga-7.0.5
CATEGORIES= textproc
MASTER_SITES= http://packages.groonga.org/source/groonga/

Expand Down Expand Up @@ -31,17 +31,19 @@ PKG_SYSCONFSUBDIR= ${PKGBASE}

BUILD_DEFS+= VARBASE

EXAMPLE_CONF_DIR= ${PREFIX}/share/examples/groonga

INSTALL_DIRS= ${BUILD_DIRS} vendor/onigmo-source
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples

CONF_FILES+= share/examples/${PKGBASE}/groonga.conf \
CONF_FILES+= ${EXAMPLE_CONF_DIR}/groonga.conf \
${PKG_SYSCONFDIR}/groonga.conf
CONF_FILES+= share/examples/groonga/synonyms.tsv \
CONF_FILES+= ${EXAMPLE_CONF_DIR}/synonyms.tsv \
${PKG_SYSCONFDIR}/synonyms.tsv

OWN_DIRS+= ${VARBASE}/log/${PKGBASE}

CHECK_WRKREF_SKIP+= bin/groonga
CHECK_WRKREF_SKIP+= bin/groonga
CHECK_INTERPRETER_SKIP+= share/groonga/examples/*

REPLACE_RUBY+= data/munin/groonga_cpu_time_
Expand Down
121 changes: 58 additions & 63 deletions textproc/groonga/PLIST

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions textproc/groonga/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# $NetBSD: buildlink3.mk,v 1.1 2017/08/29 12:54:47 fhajny Exp $

BUILDLINK_TREE+= groonga

.if !defined(GROONGA_BUILDLINK3_MK)
GROONGA_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.groonga+= groonga>=7.0.4
BUILDLINK_PKGSRCDIR.groonga?= ../../textproc/groonga
BUILDLINK_INCDIRS.groonga+= include/groonga

.include "../../devel/editline/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"

pkgbase := groonga
.include "../../mk/pkg-build-options.mk"

.if !empty(PKG_OPTIONS:Mgroonga-suggest-learner)
.include "../../devel/msgpack/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mlz4)
.include "../../archivers/lz4/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mmecab)
.include "../../textproc/mecab/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mzlib)
.include "../../devel/zlib/buildlink3.mk"
.endif

.endif # GROONGA_BUILDLINK3_MK

BUILDLINK_TREE+= -groonga
12 changes: 5 additions & 7 deletions textproc/groonga/distinfo
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
$NetBSD: distinfo,v 1.42 2016/09/11 16:06:53 taca Exp $
$NetBSD: distinfo,v 1.43 2017/08/29 12:54:47 fhajny Exp $

SHA1 (groonga-6.0.8.tar.gz) = e00954641ac1e8594f37853e6f9d2aab59496061
RMD160 (groonga-6.0.8.tar.gz) = 18ffe56b547204f0a5cf891f2ffae83016f46324
SHA512 (groonga-6.0.8.tar.gz) = 1f4effe375f58a2604851f5af58e004e5da098898a488a14a9da0e0806efb00ef01d0cbfae3312535241133e84707b2824dd88593d4ff29580ca22f7247ea7ec
Size (groonga-6.0.8.tar.gz) = 13704493 bytes
SHA1 (patch-data_scripts_Makefile.in) = 3ad802186af2d4a95286322546d29d33a1505928
SHA1 (patch-vendor_nginx-1.11.3_auto_install) = bc3c0557e18dd41dad20ab36933e160f3c557c78
SHA1 (groonga-7.0.5.tar.gz) = e47df917bfe9120f063d5206a05b354ac6da3d53
RMD160 (groonga-7.0.5.tar.gz) = eb7d818b4eef91774cfa64585c8bb927c7283726
SHA512 (groonga-7.0.5.tar.gz) = d5db9617fc6e799f14c687a435c1de46b4d30f77def60712531a3f4a76e9d67c836f07c91e7252d63eeb79629b47f73e612143139ff12226344315d35ac5e9ec
Size (groonga-7.0.5.tar.gz) = 14463662 bytes
31 changes: 16 additions & 15 deletions textproc/groonga/options.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.17 2016/09/11 16:06:53 taca Exp $
# $NetBSD: options.mk,v 1.18 2017/08/29 12:54:47 fhajny Exp $
#

PKG_OPTIONS_VAR= PKG_OPTIONS.groonga
Expand Down Expand Up @@ -66,36 +66,37 @@ OWN_DIRS+= ${VARBASE}/run/${PKGBASE}
OWN_DIRS+= ${VARBASE}/log/${PKGBASE}/httpd
BUILD_DEFS+= VARBASE

CONF_FILES+= share/examples/${PKGBASE}/httpd/fastcgi.conf \
CONF_FILES+= ${EXAMPLE_CONF_DIR}/httpd/fastcgi.conf \
${PKG_SYSCONFDIR}/httpd/fastcgi.conf
CONF_FILES+= share/examples/${PKGBASE}/httpd/fastcgi_params \
CONF_FILES+= ${EXAMPLE_CONF_DIR}/httpd/fastcgi_params \
${PKG_SYSCONFDIR}/httpd/fastcgi_params
CONF_FILES+= share/examples/${PKGBASE}/httpd/groonga-httpd.conf \
CONF_FILES+= ${EXAMPLE_CONF_DIR}/httpd/groonga-httpd.conf \
${PKG_SYSCONFDIR}/httpd/groonga-httpd.conf
CONF_FILES+= share/examples/${PKGBASE}/httpd/html/50x.html \
CONF_FILES+= ${EXAMPLE_CONF_DIR}/httpd/html/50x.html \
${PKG_SYSCONFDIR}/httpd/html/50x.html
CONF_FILES+= share/examples/${PKGBASE}/httpd/html/index.html \
CONF_FILES+= ${EXAMPLE_CONF_DIR}/httpd/html/index.html \
${PKG_SYSCONFDIR}/httpd/html/index.html
CONF_FILES+= share/examples/${PKGBASE}/httpd/koi-utf \
CONF_FILES+= ${EXAMPLE_CONF_DIR}/httpd/koi-utf \
${PKG_SYSCONFDIR}/httpd/koi-utf
CONF_FILES+= share/examples/${PKGBASE}/httpd/koi-win \
CONF_FILES+= ${EXAMPLE_CONF_DIR}/httpd/koi-win \
${PKG_SYSCONFDIR}/httpd/koi-win
CONF_FILES+= share/examples/${PKGBASE}/httpd/mime.types \
CONF_FILES+= ${EXAMPLE_CONF_DIR}/httpd/mime.types \
${PKG_SYSCONFDIR}/httpd/mime.types
CONF_FILES+= share/examples/${PKGBASE}/httpd/nginx.conf \
${PKG_SYSCONFDIR}/httpd/nginx.conf
CONF_FILES+= share/examples/${PKGBASE}/httpd/scgi_params \
CONF_FILES+= ${EXAMPLE_CONF_DIR}/httpd/scgi_params \
${PKG_SYSCONFDIR}/httpd/scgi_params
CONF_FILES+= share/examples/${PKGBASE}/httpd/uwsgi_params \
CONF_FILES+= ${EXAMPLE_CONF_DIR}/httpd/uwsgi_params \
${PKG_SYSCONFDIR}/httpd/uwsgi_params
CONF_FILES+= share/examples/${PKGBASE}/httpd/win-utf \
CONF_FILES+= ${EXAMPLE_CONF_DIR}/httpd/win-utf \
${PKG_SYSCONFDIR}/httpd/win-utf

SUBST_CLASSES+= confpath
SUBST_STAGE.confpath= pre-build
SUBST_FILES.confpath= vendor/nginx-1.11.3/objs/Makefile
SUBST_FILES.confpath= vendor/nginx-*/objs/Makefile
SUBST_SED.confpath= -e 's,\$$(DESTDIR)${PKG_SYSCONFDIR}/httpd,\$$(DESTDIR)${PREFIX}/share/examples/${PKGBASE}/httpd,g'

post-install:
${RM} -f ${DESTDIR}${PREFIX}/share/examples/groonga/httpd/*.default

.else
CONFIGURE_ARGS+= --disable-groonga-httpd
.endif
16 changes: 0 additions & 16 deletions textproc/groonga/patches/patch-data_scripts_Makefile.in

This file was deleted.

38 changes: 0 additions & 38 deletions textproc/groonga/patches/patch-vendor_nginx-1.11.3_auto_install

This file was deleted.

0 comments on commit 6a08539

Please sign in to comment.