From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-text/groonga/Manifest | 11 +++++ app-text/groonga/files/groonga.confd | 8 +++ app-text/groonga/files/groonga.initd | 20 ++++++++ app-text/groonga/groonga-5.0.3.ebuild | 91 +++++++++++++++++++++++++++++++++++ app-text/groonga/groonga-5.0.9.ebuild | 91 +++++++++++++++++++++++++++++++++++ app-text/groonga/groonga-6.1.2.ebuild | 91 +++++++++++++++++++++++++++++++++++ app-text/groonga/metadata.xml | 22 +++++++++ 7 files changed, 334 insertions(+) create mode 100644 app-text/groonga/Manifest create mode 100644 app-text/groonga/files/groonga.confd create mode 100644 app-text/groonga/files/groonga.initd create mode 100644 app-text/groonga/groonga-5.0.3.ebuild create mode 100644 app-text/groonga/groonga-5.0.9.ebuild create mode 100644 app-text/groonga/groonga-6.1.2.ebuild create mode 100644 app-text/groonga/metadata.xml (limited to 'app-text/groonga') diff --git a/app-text/groonga/Manifest b/app-text/groonga/Manifest new file mode 100644 index 000000000000..21f045a0eb8f --- /dev/null +++ b/app-text/groonga/Manifest @@ -0,0 +1,11 @@ +AUX groonga.confd 259 SHA256 7df19e8fcc0d7a684661851a36dd896c906182986b3e29b06b87568a7484e109 SHA512 489feed6a4c22eb2ac02be070dd84ed3eb677b4f250b7eacd5619c1749b322b302bdff36fc3586e83125ac7ef02569054c4f267ddd7b26e5aa378af428cbc8ea WHIRLPOOL d9462426fee215b1225491dbf4158f4d592c677a44ab7c98d9fa12d6671510774cf7b5c9bfa8642ceee70e1710ded59c009972af51dad8de9f83fd85530563e9 +AUX groonga.initd 715 SHA256 83e97ec13ffe257c487a1e8e5419bcf6117241c7cfbca5bf159ed615a8cbd38f SHA512 7b4f789c9201f40fee0d99b94554bc33aebf024da02794143317215713cea3f2a9fda2e87d2a8bb864a7d0c8a2c44e824c65deecd4c95360423f7d3a4f04f8c2 WHIRLPOOL 9a56d6ba015195dc4c6c9333609450713f6e85cc0b441007d925f71ac88ad291c62ebd45eb6775f4fc747122a2d3bbda18befa0991f1e7ddb8ec569a91ed1ab6 +DIST groonga-5.0.3.tar.gz 12421501 SHA256 d4f3e9d00cb16c0028cb32422fa666cbbfb32f47597988fd308931274d94cf52 SHA512 c4595054f46e150b0b95b3d1fb6a18098c93471ee0cdeefc54d266a710db57d6b68a6aceb1a61ede5ebb4e1b5518be64b9b96809bd85634b61c84c1923cbf158 WHIRLPOOL bbcf91770eb626dfaf5d01e04b6f4b2f4ee6fff8fad73cdca36c500560ce8d0b9dc606391b1ae0a23d2fd763ba4eddbc69f2eb8b692a5c3c59c1b21745d01de0 +DIST groonga-5.0.9.tar.gz 12851324 SHA256 4fb59009dca154ffb53f9b408dc296e6e215f8eda613a8ef184fa634e702d35d SHA512 6e89be8894737616cfcbd0edd92c94a25fb8a2f9c97bd0aab10c2d628664aa328384d6b953516fe96cec5b58fd229c42262caad4785ca9574c759d6d7177fba6 WHIRLPOOL 7f7ac215d4eb0eca0eb18e496a79c6023fe2040f2423c3b4b968d4923b800676c1ad2982880925880ffee5b92ff508b21132ecc2f9b7675612e147adfd13dd6c +DIST groonga-6.1.2.tar.gz 14028916 SHA256 6625d7e1b822da6c29391558fac51e4e3b99145635e96c6eff85e7e33139b0f7 SHA512 cd2dd667608fac856b36a824c5ea285da937cc11b6d4e5ad2f84581f6fbc714b4bb381515ec7b467ddccfad77c77c080000def653d9cdd8725c0f512c7b83f20 WHIRLPOOL ca0b53bb6def465830fb048ac8b83319ccac8e035facb76fb145a8f454336889fef04a8c774fbcfaf32a75cbf938005266f1cf80fc85e55888c4c5ee67bf8bb2 +EBUILD groonga-5.0.3.ebuild 2418 SHA256 5b95401c2bd1b894bd6427f0edcd55ca9a4803a7f428072f08b88370a458a8b5 SHA512 52c3e67423eb88c7626b9b831c2058af4eeda069589b9ff315350c57eb8e4c151bbfaff5702c6c474204a5699ef2548932d389bf75edffb94b286c7a18d7f0f1 WHIRLPOOL 62ece3eb51446043e407a2b6c542c20b340e9948dae7b4daf9b2b35cbf27c71f50eb573e93d1523a01b8409ccdbf69b3e5c47e84c790c9f6b9bf7d62436dd6cf +EBUILD groonga-5.0.9.ebuild 2418 SHA256 5b95401c2bd1b894bd6427f0edcd55ca9a4803a7f428072f08b88370a458a8b5 SHA512 52c3e67423eb88c7626b9b831c2058af4eeda069589b9ff315350c57eb8e4c151bbfaff5702c6c474204a5699ef2548932d389bf75edffb94b286c7a18d7f0f1 WHIRLPOOL 62ece3eb51446043e407a2b6c542c20b340e9948dae7b4daf9b2b35cbf27c71f50eb573e93d1523a01b8409ccdbf69b3e5c47e84c790c9f6b9bf7d62436dd6cf +EBUILD groonga-6.1.2.ebuild 2447 SHA256 938b908f996cb5bec2a0b157bca8e1e27c655b5ef9989e8d10211edbf6961579 SHA512 0770d4c27bee71d3fad3caf42b10ca0da006a1d20861c154e8f8b14edb19fb9f8e619b5f6b905a59eba8d3c17d982ec9b628b6d561b638df28da8fd3a9d48189 WHIRLPOOL ca3a48ae8f15fedd22d6ece506b0aa823e4aa0096bf1d46be01dda81cd42d219efd577b61fe54cf6b131edc62fcbdd1921f537e8eb148d1649525633735a1ed2 +MISC ChangeLog 2956 SHA256 44258eceff298fdb8701ccc1bd00d200668f132178889623d744a06d2162b874 SHA512 7ddaba4b976137471a5eaf67300a26aa2148b9647840bb2b0d11e6a02ee473ec0e5371575286e9e585c56fcb1cccb0b4e24d6973d1b2694a5a8c0e8b2375f75c WHIRLPOOL a973f463062b4d0fb1740da1ae288c37cfff056f9765d42b6dac06aaeb9c34960a1ac1fd5733bec5c8d20716c1d9857def02cc07b6de6c9e28baf001f097984c +MISC ChangeLog-2015 777 SHA256 6b72945f65f7db5ad000f9d40c0c4debbb94c0813b0706b694682847ebae339d SHA512 f3f8ef4a45e22c88d064b9cd3a0818c86b1b3527f7417713db5bab057d4bb9813d875d348cc9b429653ee419a0ba61347bfb4046da5aaa697b5e1e88cf66203c WHIRLPOOL 25203987f01a9f645872ffb42811b25cad31f26fef60598a70477dae7942825abce57b473aea47309d816e0d033f902b7601a939606a5888bfabceaffcf82684 +MISC metadata.xml 1205 SHA256 5f72653cfec44e15cc4bb81a05375d1f546a12ad6b319ed2d5681beb6f3bfb74 SHA512 a3206dfafcada30567bbf6762fdbd4562f72a1da607cc2928426133cbe84e29277c9605778e6a77f8cb6e2c129f1949389443caa1757c72372e7e8c546ee9c88 WHIRLPOOL 141c308771333759cfda5f2f343bd220a49239e0998647c6f5a9208a497145b65890564f3b7bb8fecd54b5d72f3d7e923e8d43dfe6a4ae5c5635246f1e883f58 diff --git a/app-text/groonga/files/groonga.confd b/app-text/groonga/files/groonga.confd new file mode 100644 index 000000000000..f70b8e5b8342 --- /dev/null +++ b/app-text/groonga/files/groonga.confd @@ -0,0 +1,8 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +#GROONGA_USER=groonga +#GROONGA_GROUP=groonga +#GROONGA_PID=/run/groonga/groonga.pid +#CONFIG_FILE=/etc/groonga/groonga.conf +DATABASE=/var/lib/groonga/db diff --git a/app-text/groonga/files/groonga.initd b/app-text/groonga/files/groonga.initd new file mode 100644 index 000000000000..7d11ab6f7984 --- /dev/null +++ b/app-text/groonga/files/groonga.initd @@ -0,0 +1,20 @@ +#!/sbin/openrc-run +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command=/usr/bin/groonga +command_args="-d --pid-path ${GROONGA_PID:-/run/groonga/groonga.pid} --config-path=${CONFIG_FILE:-/etc/groonga/groonga.conf} ${DATABASE}" +pidfile="${GROONGA_PID:-/run/groonga/groonga.pid}" +start_stop_daemon_args="--quiet --user ${GROONGA_USER:-groonga}:${GROONGA_GROUP:-groonga}" + +depend() { + use net +} + +start_pre() { + checkpath -d /run/groonga -o ${GROONGA_USER:-groonga}:${GROONGA_GROUP:-groonga} + if [ ! -e "${DATABASE}" ] ; then + einfo "Creating database ${DATABASE}" + su -s /bin/sh -c "/usr/bin/groonga -n ${DATABASE} quit" ${GROONGA_USER:-groonga} + fi +} diff --git a/app-text/groonga/groonga-5.0.3.ebuild b/app-text/groonga/groonga-5.0.3.ebuild new file mode 100644 index 000000000000..2663234e73a5 --- /dev/null +++ b/app-text/groonga/groonga-5.0.3.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils libtool user + +DESCRIPTION="An Embeddable Fulltext Search Engine" +HOMEPAGE="http://groonga.org/" +SRC_URI="http://packages.groonga.org/source/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="abort benchmark debug doc dynamic-malloc-change +exact-alloc-count examples fmalloc futex libedit libevent lzo mecab msgpack +nfkc sphinx static-libs uyield zeromq zlib" + +RDEPEND="benchmark? ( >=dev-libs/glib-2.8 ) + libedit? ( >=dev-libs/libedit-3 ) + libevent? ( dev-libs/libevent ) + lzo? ( dev-libs/lzo ) + mecab? ( >=app-text/mecab-0.80 ) + msgpack? ( dev-libs/msgpack ) + sphinx? ( >=dev-python/sphinx-1.0.1 ) + zeromq? ( net-libs/zeromq ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + virtual/pkgconfig + sphinx? ( dev-python/sphinx )" + +REQUIRED_USE=" abort? ( dynamic-malloc-change ) fmalloc? ( dynamic-malloc-change ) sphinx? ( doc )" + +pkg_setup() { + enewgroup groonga + enewuser groonga -1 -1 -1 groonga +} + +src_prepare() { + elibtoolize +} + +src_configure() { + # httpd is a bundled copy of nginx; disabled for security reasons + # prce only is used with httpd + # kytea and libstemmer are not available in portage + # ruby is only used for an http test + econf \ + --disable-groonga-httpd \ + --without-pcre \ + --without-kytea \ + --without-libstemmer \ + --with-log-path="${EROOT}var/log/${PN}.log" \ + --docdir="${EROOT}usr/share/doc/${P}" \ + --without-ruby \ + $(use_enable abort) \ + $(use_enable benchmark) \ + $(use_enable debug memory-debug) \ + $(use_enable doc document) \ + $(use_enable dynamic-malloc-change) \ + $(use_enable exact-alloc-count) \ + $(use_enable fmalloc) \ + $(use_enable futex) \ + $(use_enable libedit) \ + $(use_with libevent) \ + $(use_with lzo) \ + $(use_with mecab) \ + $(use_with msgpack message-pack "${EROOT}usr") \ + $(use_enable nfkc) \ + $(use_with sphinx sphinx-build) \ + $(use_enable static-libs static) \ + $(use_enable uyield) \ + $(use_enable zeromq) \ + $(use_with zlib) +} + +src_install() { + default + + prune_libtool_files + + newinitd "${FILESDIR}/${PN}.initd" ${PN} + newconfd "${FILESDIR}/${PN}.confd" ${PN} + + keepdir /var/{log,lib}/${PN} + fowners groonga:groonga /var/{log,lib}/${PN} + + dodoc README.md + + use examples || rm -r "${D}usr/share/${PN}" || die + # Extra init script + rm -r "${D}usr/sbin/groonga-httpd-restart" || die +} diff --git a/app-text/groonga/groonga-5.0.9.ebuild b/app-text/groonga/groonga-5.0.9.ebuild new file mode 100644 index 000000000000..2663234e73a5 --- /dev/null +++ b/app-text/groonga/groonga-5.0.9.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils libtool user + +DESCRIPTION="An Embeddable Fulltext Search Engine" +HOMEPAGE="http://groonga.org/" +SRC_URI="http://packages.groonga.org/source/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="abort benchmark debug doc dynamic-malloc-change +exact-alloc-count examples fmalloc futex libedit libevent lzo mecab msgpack +nfkc sphinx static-libs uyield zeromq zlib" + +RDEPEND="benchmark? ( >=dev-libs/glib-2.8 ) + libedit? ( >=dev-libs/libedit-3 ) + libevent? ( dev-libs/libevent ) + lzo? ( dev-libs/lzo ) + mecab? ( >=app-text/mecab-0.80 ) + msgpack? ( dev-libs/msgpack ) + sphinx? ( >=dev-python/sphinx-1.0.1 ) + zeromq? ( net-libs/zeromq ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + virtual/pkgconfig + sphinx? ( dev-python/sphinx )" + +REQUIRED_USE=" abort? ( dynamic-malloc-change ) fmalloc? ( dynamic-malloc-change ) sphinx? ( doc )" + +pkg_setup() { + enewgroup groonga + enewuser groonga -1 -1 -1 groonga +} + +src_prepare() { + elibtoolize +} + +src_configure() { + # httpd is a bundled copy of nginx; disabled for security reasons + # prce only is used with httpd + # kytea and libstemmer are not available in portage + # ruby is only used for an http test + econf \ + --disable-groonga-httpd \ + --without-pcre \ + --without-kytea \ + --without-libstemmer \ + --with-log-path="${EROOT}var/log/${PN}.log" \ + --docdir="${EROOT}usr/share/doc/${P}" \ + --without-ruby \ + $(use_enable abort) \ + $(use_enable benchmark) \ + $(use_enable debug memory-debug) \ + $(use_enable doc document) \ + $(use_enable dynamic-malloc-change) \ + $(use_enable exact-alloc-count) \ + $(use_enable fmalloc) \ + $(use_enable futex) \ + $(use_enable libedit) \ + $(use_with libevent) \ + $(use_with lzo) \ + $(use_with mecab) \ + $(use_with msgpack message-pack "${EROOT}usr") \ + $(use_enable nfkc) \ + $(use_with sphinx sphinx-build) \ + $(use_enable static-libs static) \ + $(use_enable uyield) \ + $(use_enable zeromq) \ + $(use_with zlib) +} + +src_install() { + default + + prune_libtool_files + + newinitd "${FILESDIR}/${PN}.initd" ${PN} + newconfd "${FILESDIR}/${PN}.confd" ${PN} + + keepdir /var/{log,lib}/${PN} + fowners groonga:groonga /var/{log,lib}/${PN} + + dodoc README.md + + use examples || rm -r "${D}usr/share/${PN}" || die + # Extra init script + rm -r "${D}usr/sbin/groonga-httpd-restart" || die +} diff --git a/app-text/groonga/groonga-6.1.2.ebuild b/app-text/groonga/groonga-6.1.2.ebuild new file mode 100644 index 000000000000..c2d0b8a7b0fa --- /dev/null +++ b/app-text/groonga/groonga-6.1.2.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils libtool user + +DESCRIPTION="An Embeddable Fulltext Search Engine" +HOMEPAGE="http://groonga.org/" +SRC_URI="http://packages.groonga.org/source/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="abort benchmark debug doc dynamic-malloc-change +exact-alloc-count examples fmalloc futex libedit libevent lzo mecab msgpack +nfkc sphinx static-libs uyield zeromq zlib" + +RDEPEND="benchmark? ( >=dev-libs/glib-2.8 ) + libedit? ( >=dev-libs/libedit-3 ) + libevent? ( dev-libs/libevent ) + lzo? ( dev-libs/lzo ) + mecab? ( >=app-text/mecab-0.80 ) + msgpack? ( dev-libs/msgpack ) + sphinx? ( >=dev-python/sphinx-1.0.1 ) + zeromq? ( net-libs/zeromq ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + virtual/pkgconfig + sphinx? ( dev-python/sphinx )" + +REQUIRED_USE=" abort? ( dynamic-malloc-change ) fmalloc? ( dynamic-malloc-change ) sphinx? ( doc )" + +pkg_setup() { + enewgroup groonga + enewuser groonga -1 -1 -1 groonga +} + +src_prepare() { + default_src_prepare + elibtoolize +} + +src_configure() { + # httpd is a bundled copy of nginx; disabled for security reasons + # prce only is used with httpd + # kytea and libstemmer are not available in portage + # ruby is only used for an http test + econf \ + --disable-groonga-httpd \ + --without-pcre \ + --without-kytea \ + --without-libstemmer \ + --with-log-path="${EROOT}var/log/${PN}.log" \ + --docdir="${EROOT}usr/share/doc/${P}" \ + --without-ruby \ + $(use_enable abort) \ + $(use_enable benchmark) \ + $(use_enable debug memory-debug) \ + $(use_enable doc document) \ + $(use_enable dynamic-malloc-change) \ + $(use_enable exact-alloc-count) \ + $(use_enable fmalloc) \ + $(use_enable futex) \ + $(use_enable libedit) \ + $(use_with libevent) \ + $(use_with lzo) \ + $(use_with mecab) \ + $(use_with msgpack message-pack "${EROOT}usr") \ + $(use_enable nfkc) \ + $(use_with sphinx sphinx-build) \ + $(use_enable static-libs static) \ + $(use_enable uyield) \ + $(use_enable zeromq) \ + $(use_with zlib) +} + +src_install() { + local DOCS=( README.md ) + default + + prune_libtool_files + + newinitd "${FILESDIR}/${PN}.initd" ${PN} + newconfd "${FILESDIR}/${PN}.confd" ${PN} + + keepdir /var/{log,lib}/${PN} + fowners groonga:groonga /var/{log,lib}/${PN} + + use examples || rm -r "${D}usr/share/${PN}" || die + # Extra init script + rm -r "${D}usr/sbin/groonga-httpd-restart" || die +} diff --git a/app-text/groonga/metadata.xml b/app-text/groonga/metadata.xml new file mode 100644 index 000000000000..937c8f296172 --- /dev/null +++ b/app-text/groonga/metadata.xml @@ -0,0 +1,22 @@ + + + + +grknight@gentoo.org + + + Enable query abortion + Build benchmark programs + Allow dynamic memory allocation change for testing + Atomic counting for memory alloc count + Make memory allocation failed in specified condition for debug + Use futex + Enable dev-libs/libevent used for suggestion + Use app-text/mecab for morphological analysis + Enable dev-libs/msgpack used for suggestion + Use nfkc based utf8 normalization + Enable document generation by app-misc/sphinx + Build for detecting race conditions + Enable net-libs/zeromq used for suggestion + + -- cgit v1.2.3