mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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
This commit is contained in:
1
net-libs/libcorkipset/Manifest
Normal file
1
net-libs/libcorkipset/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST libcorkipset-1.1.1.20150311_p8.tar.gz 78188 BLAKE2B cb32200a522c69b440963b11eb45e04a4ebc13a42e0067b51ffbbaa9ed15bc91e6dd4c58e6f11028f9cb309b63660e5a3bf33426157bedc6e4ddea626eb2450b SHA512 5bbce2727da1665e734981959ecb253b4052d8cc6c426fded7e1678b6e2505bc9f4c0ab3cd3b6a03f834f5e20bd1d670cc19f7491fe0ad5b7cb772e7309f5009
|
||||
39
net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
Normal file
39
net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
Normal file
@@ -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
|
||||
}
|
||||
11
net-libs/libcorkipset/metadata.xml
Normal file
11
net-libs/libcorkipset/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user