public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libcorkipset/
Date: Thu,  1 Mar 2018 10:40:31 +0000 (UTC)	[thread overview]
Message-ID: <1519900299.e0c1121d1d1dd1820ed673fdbe1cf6c690aa39dd.dlan@gentoo> (raw)

commit:     e0c1121d1d1dd1820ed673fdbe1cf6c690aa39dd
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  1 10:31:39 2018 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Mar  1 10:31:39 2018 +0000
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 00000000000..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 00000000000..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 <ipset%#include <libcorkipset%' \
+		-e 's%#include "ipset%#include "libcorkipset%' \
+		-i include/ipset/*.h \
+			*/*/*/*.c \
+			*/*/*/*.c.in \
+			*/*/*.c */*.c || die
+
+	mv include/{,libcork}ipset || die
+
+	cmake-utils_src_prepare
+}

diff --git a/net-libs/libcorkipset/metadata.xml b/net-libs/libcorkipset/metadata.xml
new file mode 100644
index 00000000000..71236b13f4e
--- /dev/null
+++ b/net-libs/libcorkipset/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>dlan@gentoo.org</email>
+		<name>Yixun Lan</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">rogers0/libcorkipset</remote-id>
+	</upstream>
+</pkgmetadata>


             reply	other threads:[~2018-03-01 10:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-01 10:40 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-06-24 22:06 [gentoo-commits] repo/gentoo:master commit in: net-libs/libcorkipset/ Yixun Lan
2020-12-23 12:47 Yixun Lan
2021-12-03  1:23 Yixun Lan
2022-02-28 13:48 Yixun Lan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1519900299.e0c1121d1d1dd1820ed673fdbe1cf6c690aa39dd.dlan@gentoo \
    --to=dlan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox