[gentoo-commits] repo/gentoo:master commit in: net-libs/libcorkipset/

2022-02-28 Thread Yixun Lan
commit: 8353dfd2a0340e791aef7807f2cb062a33d3c4a8
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Feb 28 13:46:07 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Feb 28 13:47:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8353dfd2

net-libs/libcorkipset: port to cmake eclass

* fix git command not found issue
* update to EAPI=8
* port to cmake eclass

Closes: https://bugs.gentoo.org/721244
Closes: https://bugs.gentoo.org/834315
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 .../libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild | 18 ++
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild 
b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
index d6114f0e9bfb..0d69d8f7b40d 100644
--- a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
+++ b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit cmake-utils
+EAPI=8
+inherit cmake
 
 DATE=20150311
 MY_PV="${PV/.${DATE}_p/+${DATE}-}"
@@ -22,19 +22,21 @@ RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${PN}-debian-${MY_PX}"
 
+PATCHES=( "${S}"/debian/patches/ )
+
 src_prepare() {
-   rm -f "${S}"/debian/patches/0001*.patch || die
-   eapply "${S}"/debian/patches/*.patch
+   cmake_src_prepare
 
+   sed -i -e "/^version=/s/=.*$/=${MY_PX}/" version.sh || die
sed -e 's%#include 

[gentoo-commits] repo/gentoo:master commit in: net-libs/libcorkipset/

2021-12-02 Thread Yixun Lan
commit: c4ba281c679c52759eceb19f4c6f39eb257ad473
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Dec  2 09:36:07 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Dec  3 01:23:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4ba281c

net-libs/libcorkipset: keyword ~riscv

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild 
b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
index c811d6770717..d6114f0e9bfb 100644
--- a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
+++ b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/rogers0/${PN}/archive/debian/${MY_PV}.tar.gz -> ${P}
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE=""
 
 DEPEND="net-libs/libcork"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libcorkipset/

2020-12-23 Thread Yixun Lan
commit: b60ee37156ca56219818e5cb5f359ec62c1f7209
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Dec 23 12:46:07 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Dec 23 12:46:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b60ee371

net-libs/libcorkipset: fix -Werror build err

Closes: https://bugs.gentoo.org/754345
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Yixun Lan  gentoo.org>

 net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild 
b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
index 93acbfa1f31..c811d677071 100644
--- a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
+++ b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -32,6 +32,7 @@ src_prepare() {
*/*/*/*.c \
*/*/*/*.c.in \
*/*/*.c */*.c || die
+   sed -i -e "s/-Werror/-Wextra/" CMakeLists.txt || die
 
mv include/{,libcork}ipset || die
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/libcorkipset/

2019-06-24 Thread Yixun Lan
commit: 524774cd35d576a59296fe78e71df8c923a31cdc
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Jun 24 09:33:07 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Jun 24 22:06:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=524774cd

net-libs/libcorkipset: add arm/arm64 keyword

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Yixun Lan  gentoo.org>

 net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild 
b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
index fd8b1f85536..93acbfa1f31 100644
--- a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
+++ b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/rogers0/${PN}/archive/debian/${MY_PV}.tar.gz -> ${P}
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 IUSE=""
 
 DEPEND="net-libs/libcork"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libcorkipset/

2018-03-01 Thread Yixun Lan
commit: e0c1121d1d1dd1820ed673fdbe1cf6c690aa39dd
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Mar  1 10:31:39 2018 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Mar  1 10:31:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0c1121d

net-libs/libcorkipset: library for storing sets of IPv4 and IPv6 addresses

this is needed by shadowsocks-libev

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-libs/libcorkipset/Manifest |  1 +
 .../libcorkipset-1.1.1.20150311_p8.ebuild  | 39 ++
 net-libs/libcorkipset/metadata.xml | 11 ++
 3 files changed, 51 insertions(+)

diff --git a/net-libs/libcorkipset/Manifest b/net-libs/libcorkipset/Manifest
new file mode 100644
index 000..f80e70479e3
--- /dev/null
+++ b/net-libs/libcorkipset/Manifest
@@ -0,0 +1 @@
+DIST libcorkipset-1.1.1.20150311_p8.tar.gz 78188 BLAKE2B 
cb32200a522c69b440963b11eb45e04a4ebc13a42e0067b51ffbbaa9ed15bc91e6dd4c58e6f11028f9cb309b63660e5a3bf33426157bedc6e4ddea626eb2450b
 SHA512 
5bbce2727da1665e734981959ecb253b4052d8cc6c426fded7e1678b6e2505bc9f4c0ab3cd3b6a03f834f5e20bd1d670cc19f7491fe0ad5b7cb772e7309f5009

diff --git a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild 
b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
new file mode 100644
index 000..fd8b1f85536
--- /dev/null
+++ b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils
+
+DATE=20150311
+MY_PV="${PV/.${DATE}_p/+${DATE}-}"
+MY_PX="${PV/.${DATE}_p/-${DATE}-}"
+
+DESCRIPTION="A small C helper library for storing sets of IPv4 and IPv6 
addresses"
+HOMEPAGE="https://github.com/rogers0/libcorkipset;
+SRC_URI="https://github.com/rogers0/${PN}/archive/debian/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="net-libs/libcork"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-debian-${MY_PX}"
+
+src_prepare() {
+   rm -f "${S}"/debian/patches/0001*.patch || die
+   eapply "${S}"/debian/patches/*.patch
+
+   sed -e 's%#include 
+
+   
+   d...@gentoo.org
+   Yixun Lan
+   
+   
+   rogers0/libcorkipset
+   
+