public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfastjson/files/, dev-libs/libfastjson/
@ 2016-03-15  8:55 Patrice Clement
  0 siblings, 0 replies; 2+ messages in thread
From: Patrice Clement @ 2016-03-15  8:55 UTC (permalink / raw
  To: gentoo-commits

commit:     91b00fa6020d3ac78542cf7217fcbe6e1740c652
Author:     Thomas D <whissi <AT> whissi <DOT> de>
AuthorDate: Mon Mar 14 19:11:35 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 08:40:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91b00fa6

dev-libs/libfastjson: Add libfastjson to the tree.

libfastjson will be a requirement for the upcoming app-admin/rsyslog-8.17.0 ebuild.

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1050

 dev-libs/libfastjson/Manifest                      |  1 +
 ...fix-for-implicit-declaration-of-vasprintf.patch | 27 ++++++++++++
 dev-libs/libfastjson/libfastjson-0.99.2.ebuild     | 48 ++++++++++++++++++++++
 dev-libs/libfastjson/metadata.xml                  | 16 ++++++++
 4 files changed, 92 insertions(+)

diff --git a/dev-libs/libfastjson/Manifest b/dev-libs/libfastjson/Manifest
new file mode 100644
index 0000000..2bbace0
--- /dev/null
+++ b/dev-libs/libfastjson/Manifest
@@ -0,0 +1 @@
+DIST libfastjson-0.99.2.tar.gz 366602 SHA256 6ff053d455243a81014f37b4d81c746d9b8d40256a56326c3a7921c8bf458dfd SHA512 4b57697cbb901bc12a26d98c3d6df998aba373d4f38339189c9bd3e5a32777fa4796039fe82581337e576fa93c6deb87759eba04326134f587064c82e1b3daaf WHIRLPOOL 56010125b4ba905aba3fa7ad69faf38237426c1ef5cbaad90458fe31e96b86719d2766d2099928dc22aa7d98a64d079a3bd9de31702b28547d1f1d416170d487

diff --git a/dev-libs/libfastjson/files/libfastjson-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch b/dev-libs/libfastjson/files/libfastjson-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch
new file mode 100644
index 0000000..8772cf4
--- /dev/null
+++ b/dev-libs/libfastjson/files/libfastjson-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch
@@ -0,0 +1,27 @@
+From d895b1327814fad6846fec9370fade177a587aa3 Mon Sep 17 00:00:00 2001
+From: Thomas D.
+Date: Tue, 8 Mar 2016 16:05:08 +0100
+Subject: [PATCH] printbuf.c: Fix for implicit declaration of function
+ 'vasprintf'
+
+Using the same q'n'd fix from eabae907c9d991143e17da278a239819f2e8ae1c for
+printbuf.c as well.
+---
+ printbuf.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/printbuf.c b/printbuf.c
+index 18237f6..d529d23 100644
+--- a/printbuf.c
++++ b/printbuf.c
+@@ -15,6 +15,7 @@
+ 
+ #include "config.h"
+ 
++#define _GNU_SOURCE
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-- 
+2.7.2
+

diff --git a/dev-libs/libfastjson/libfastjson-0.99.2.ebuild b/dev-libs/libfastjson/libfastjson-0.99.2.ebuild
new file mode 100644
index 0000000..1c5e9e0
--- /dev/null
+++ b/dev-libs/libfastjson/libfastjson-0.99.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Fork of the json-c library, which is optimized for liblognorm processing"
+HOMEPAGE="http://www.rsyslog.com/tag/libfastjson/"
+SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+
+# subslot = soname version
+SLOT="0/3.0.0"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+	local PATCHES=(
+		"${FILESDIR}"/${PN}-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch
+	)
+
+	default
+
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable static-libs static)
+		--disable-rdrand
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	local DOCS=( AUTHORS ChangeLog )
+	default
+
+	find "${ED}"usr/lib* -name '*.la' -delete || die
+}

diff --git a/dev-libs/libfastjson/metadata.xml b/dev-libs/libfastjson/metadata.xml
new file mode 100644
index 0000000..1dbc276
--- /dev/null
+++ b/dev-libs/libfastjson/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>whissi@whissi.de</email>
+		<name>Thomas D. (Whissi)</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<upstream>
+		<bugs-to>https://github.com/rsyslog/libfastjson/issues</bugs-to>
+		<remote-id type="github">rsyslog/libfastjson</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfastjson/files/, dev-libs/libfastjson/
@ 2018-05-21 19:02 Thomas Deutschmann
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Deutschmann @ 2018-05-21 19:02 UTC (permalink / raw
  To: gentoo-commits

commit:     aed92624dfbfb33040868135d49ee455302ffa92
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon May 21 18:54:47 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon May 21 18:54:47 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed92624

dev-libs/libfastjson: drop old

Package-Manager: Portage-2.3.38, Repoman-2.3.9

 dev-libs/libfastjson/Manifest                      |  4 --
 ...fix-for-implicit-declaration-of-vasprintf.patch | 27 -------------
 dev-libs/libfastjson/libfastjson-0.99.2.ebuild     | 47 ----------------------
 dev-libs/libfastjson/libfastjson-0.99.4.ebuild     | 40 ------------------
 dev-libs/libfastjson/libfastjson-0.99.6.ebuild     | 40 ------------------
 dev-libs/libfastjson/libfastjson-0.99.7.ebuild     | 40 ------------------
 6 files changed, 198 deletions(-)

diff --git a/dev-libs/libfastjson/Manifest b/dev-libs/libfastjson/Manifest
index 37f2f9c8f2d..3b7b2dfd27e 100644
--- a/dev-libs/libfastjson/Manifest
+++ b/dev-libs/libfastjson/Manifest
@@ -1,5 +1 @@
-DIST libfastjson-0.99.2.tar.gz 366602 BLAKE2B 99674f5914974ba8c1df6cef5203c46de78b87ef709178bd7aa754a4dbe5fef28001c028adae174c6b41ed883a2cd378b9c3713fc2d4ec6db69c67dd010231c6 SHA512 4b57697cbb901bc12a26d98c3d6df998aba373d4f38339189c9bd3e5a32777fa4796039fe82581337e576fa93c6deb87759eba04326134f587064c82e1b3daaf
-DIST libfastjson-0.99.4.tar.gz 424989 BLAKE2B c6c3c6ad81bf4363d70623be2171cffa9b169dc2c7139c097a934cfe97cff861dd7a6d6048702822e786ea7838c0fee6d80329ade1831249b47e54ef8ffacf5b SHA512 b38f01469021093f21b43550e7574d2bad7b57a28b62f27cb1d2a57e33d2cb29208d20d978bdebe5a82a9736dfcfd7ec0a0fa945762702f4389d69850c2cfeb3
-DIST libfastjson-0.99.6.tar.gz 431066 BLAKE2B 0611e8998cf59d988ab75ddbb38b264266da141d088380986081206e7840f393797a47b4a23a32a947f7c720da907c8cb48b9886d6a673cd74f8ab4135392909 SHA512 b3b4a5ba959723ffbf8d8218c97c696ccbb781e8c2563ede6ffd7bcbdfcf75495deba5c2b8952c6c215b78dd9cfa728c95cf56bde9b1cfa7ebd6ba68b5b8f166
-DIST libfastjson-0.99.7.tar.gz 433298 BLAKE2B a97bb7ee704cf0e6b669cb16ec382150df9831c48679c352efb0c9cd44abae040d1d4e48f257292b05be11298cbe9e6ddca7792183befec59552d5a92956806c SHA512 e33942dd90af1dffaf328d2db03951dcb7aabf4f7ed499116a5986516af6971a5e2a244a1a2a72d5ee6c496c9a27e7ace165fb0337706c649b1d97c8f0d2f75d
 DIST libfastjson-0.99.8.tar.gz 433819 BLAKE2B f988c01de8e7becc5a848825c18151fec2b80f81eb5b50e459b1a3bb535f5521fb63e9350eb133eb984f57f42c5f529220a0c9461eb4689e1421ad815c4c4d87 SHA512 1e7eb7eaae2c6ccb78b77ac883808e1d311b03bad083dc72ab7712765a2ed139accd762850d60f54c6fe0ad48c4385714818fd2c8ed76700ce3546e5aff1c823

diff --git a/dev-libs/libfastjson/files/libfastjson-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch b/dev-libs/libfastjson/files/libfastjson-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch
deleted file mode 100644
index 8772cf403df..00000000000
--- a/dev-libs/libfastjson/files/libfastjson-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From d895b1327814fad6846fec9370fade177a587aa3 Mon Sep 17 00:00:00 2001
-From: Thomas D.
-Date: Tue, 8 Mar 2016 16:05:08 +0100
-Subject: [PATCH] printbuf.c: Fix for implicit declaration of function
- 'vasprintf'
-
-Using the same q'n'd fix from eabae907c9d991143e17da278a239819f2e8ae1c for
-printbuf.c as well.
----
- printbuf.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/printbuf.c b/printbuf.c
-index 18237f6..d529d23 100644
---- a/printbuf.c
-+++ b/printbuf.c
-@@ -15,6 +15,7 @@
- 
- #include "config.h"
- 
-+#define _GNU_SOURCE
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
--- 
-2.7.2
-

diff --git a/dev-libs/libfastjson/libfastjson-0.99.2.ebuild b/dev-libs/libfastjson/libfastjson-0.99.2.ebuild
deleted file mode 100644
index 78c9df42e56..00000000000
--- a/dev-libs/libfastjson/libfastjson-0.99.2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools
-
-DESCRIPTION="Fork of the json-c library, which is optimized for liblognorm processing"
-HOMEPAGE="http://www.rsyslog.com/tag/libfastjson/"
-SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-
-# subslot = soname version
-SLOT="0/3.0.0"
-
-KEYWORDS="amd64 arm arm64 hppa x86"
-IUSE="static-libs"
-
-DEPEND=""
-RDEPEND=""
-
-src_prepare() {
-	local PATCHES=(
-		"${FILESDIR}"/${PN}-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch
-	)
-
-	default
-
-	eautoreconf
-}
-
-src_configure() {
-	local myeconfargs=(
-		$(use_enable static-libs static)
-		--disable-rdrand
-	)
-
-	econf "${myeconfargs[@]}"
-}
-
-src_install() {
-	local DOCS=( AUTHORS ChangeLog )
-	default
-
-	find "${ED}"usr/lib* -name '*.la' -delete || die
-}

diff --git a/dev-libs/libfastjson/libfastjson-0.99.4.ebuild b/dev-libs/libfastjson/libfastjson-0.99.4.ebuild
deleted file mode 100644
index 6717d30a0b6..00000000000
--- a/dev-libs/libfastjson/libfastjson-0.99.4.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools
-
-DESCRIPTION="Fork of the json-c library, which is optimized for liblognorm processing"
-HOMEPAGE="http://www.rsyslog.com/tag/libfastjson/"
-SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
-LICENSE="MIT"
-SLOT="0/4.0.0"
-KEYWORDS="amd64 arm ~arm64 hppa x86"
-IUSE="static-libs"
-
-DEPEND=">=sys-devel/autoconf-archive-2015.02.04"
-RDEPEND=""
-
-src_prepare() {
-	default
-
-	eautoreconf
-}
-
-src_configure() {
-	local myeconfargs=(
-		--enable-compile-warnings=yes
-		$(use_enable static-libs static)
-		--disable-rdrand
-	)
-
-	econf "${myeconfargs[@]}"
-}
-
-src_install() {
-	local DOCS=( AUTHORS ChangeLog )
-	default
-
-	find "${ED}"usr/lib* -name '*.la' -delete || die
-}

diff --git a/dev-libs/libfastjson/libfastjson-0.99.6.ebuild b/dev-libs/libfastjson/libfastjson-0.99.6.ebuild
deleted file mode 100644
index f18b6ab8970..00000000000
--- a/dev-libs/libfastjson/libfastjson-0.99.6.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit autotools
-
-DESCRIPTION="Fork of the json-c library, which is optimized for liblognorm processing"
-HOMEPAGE="http://www.rsyslog.com/tag/libfastjson/"
-SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
-LICENSE="MIT"
-SLOT="0/4.1.0"
-KEYWORDS="amd64 ~arm ~arm64 hppa sparc x86"
-IUSE="static-libs"
-
-DEPEND=">=sys-devel/autoconf-archive-2015.02.04"
-RDEPEND=""
-
-src_prepare() {
-	default
-
-	eautoreconf
-}
-
-src_configure() {
-	local myeconfargs=(
-		--enable-compile-warnings=yes
-		$(use_enable static-libs static)
-		--disable-rdrand
-	)
-
-	econf "${myeconfargs[@]}"
-}
-
-src_install() {
-	local DOCS=( AUTHORS ChangeLog )
-	default
-
-	find "${ED}"usr/lib* -name '*.la' -delete || die
-}

diff --git a/dev-libs/libfastjson/libfastjson-0.99.7.ebuild b/dev-libs/libfastjson/libfastjson-0.99.7.ebuild
deleted file mode 100644
index 684987488e6..00000000000
--- a/dev-libs/libfastjson/libfastjson-0.99.7.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit autotools
-
-DESCRIPTION="Fork of the json-c library, which is optimized for liblognorm processing"
-HOMEPAGE="http://www.rsyslog.com/tag/libfastjson/"
-SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
-LICENSE="MIT"
-SLOT="0/4.2.0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
-IUSE="static-libs"
-
-DEPEND=">=sys-devel/autoconf-archive-2015.02.04"
-RDEPEND=""
-
-src_prepare() {
-	default
-
-	eautoreconf
-}
-
-src_configure() {
-	local myeconfargs=(
-		--enable-compile-warnings=yes
-		$(use_enable static-libs static)
-		--disable-rdrand
-	)
-
-	econf "${myeconfargs[@]}"
-}
-
-src_install() {
-	local DOCS=( AUTHORS ChangeLog )
-	default
-
-	find "${ED}"usr/lib* -name '*.la' -delete || die
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-21 19:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-15  8:55 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfastjson/files/, dev-libs/libfastjson/ Patrice Clement
  -- strict thread matches above, loose matches on Subject: below --
2018-05-21 19:02 Thomas Deutschmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox