dev-libs/libbpf: Remove old snapshots
authorPatrick McLean <patrick.mclean@sony.com>
Fri, 14 Jun 2019 21:00:34 +0000 (14:00 -0700)
committerPatrick McLean <chutzpah@gentoo.org>
Fri, 14 Jun 2019 21:03:35 +0000 (14:03 -0700)
This is to force an upgrade to 0.0.3, which portage evaluates
as older than the currently existing snapshots.

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
dev-libs/libbpf/Manifest
dev-libs/libbpf/files/libbpf-0.20190404-makefile.patch [deleted file]
dev-libs/libbpf/files/libbpf-makefile.patch [deleted file]
dev-libs/libbpf/libbpf-0.20190311.ebuild [deleted file]
dev-libs/libbpf/libbpf-0.20190404.ebuild [deleted file]

index bd324ded2d4dc927973bff7ba0e54412f931513a..54697cb1a746350a7ef5e229b2b62d9a56b42052 100644 (file)
@@ -1,3 +1 @@
 DIST libbpf-0.0.3.tar.gz 127328 BLAKE2B eaa1be54f0a7fcc6fd41eb2adaad2f405f76db3bd7c7466a5484ead1cca5a9fe775e331838cd5645d7399cb5b1a5b2fcb3814fb45643660fd3f7d84b9986bae6 SHA512 ee489d968cd9a20a1f091dcd2696d3807ab0db2a001613684402de2c696391eea033f3bd961eaf1d0df95c1e15f4f0ccfb7003ff98c3f08f24a7e9a8db22cdad
-DIST libbpf-0.20190311.tar.gz 110782 BLAKE2B b660b2677abd3068aa37f390e817c755ee06cf683e357cad6a9537d8e509d53f24ac66e472148f5b66cbcdca7849db10fc34ff8e6f85bd54a0570a52846ff933 SHA512 dbac8efce3b4c6d4faf40b22de6f71bee630fc8b71aa96e13692ffff0474ed7aa5f66a3c1f5871ec1c27dc71b87bec3ce5138096590fb9238d4d696a722f358d
-DIST libbpf-0.20190404.tar.gz 115495 BLAKE2B a159d75163cee051e7784c20018020e650d88e3b011928b1a748199f88b22de713000d3557d083cbbfc3450b6ded9b891d0afb487611044cf2af93fd5691ff8c SHA512 724fe12c9a028a9b6d5a05ee679a3c7f687a32f403bbee3c90730005dac20e0a5e9e6c21df02780d329a88acf4ec525411e448f537b49ce2767de8eae6012661
diff --git a/dev-libs/libbpf/files/libbpf-0.20190404-makefile.patch b/dev-libs/libbpf/files/libbpf-0.20190404-makefile.patch
deleted file mode 100644 (file)
index 7bfe5eb..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/Makefile b/src/Makefile
-index 35b4818..c034531 100644
---- a/Makefile
-+++ b/Makefile
-@@ -36,7 +36,10 @@ OBJDIR ?= .
- OBJS := $(addprefix $(OBJDIR)/,bpf.o btf.o libbpf.o libbpf_errno.o netlink.o \
-       nlattr.o str_error.o libbpf_probes.o bpf_prog_linfo.o xsk.o)
-
--LIBS := $(OBJDIR)/libbpf.a
-+ifdef BUILD_STATIC
-+      LIBS := $(OBJDIR)/libbpf.a
-+endif
-+
- ifndef BUILD_STATIC_ONLY
-       LIBS += $(OBJDIR)/libbpf.so \
-               $(OBJDIR)/libbpf.so.$(VERSION) \
diff --git a/dev-libs/libbpf/files/libbpf-makefile.patch b/dev-libs/libbpf/files/libbpf-makefile.patch
deleted file mode 100644 (file)
index a98cbb8..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 7ea1ff1..75ca998 100644
---- a/Makefile
-+++ b/Makefile
-@@ -22,7 +22,9 @@ OBJDIR ?= .
- OBJS := $(addprefix $(OBJDIR)/,bpf.o btf.o libbpf.o libbpf_errno.o netlink.o \
-       nlattr.o str_error.o libbpf_probes.o bpf_prog_linfo.o xsk.o)
--LIBS := $(OBJDIR)/libbpf.a
-+ifdef BUILD_STATIC
-+      LIBS := $(OBJDIR)/libbpf.a
-+endif
- ifdef BUILD_SHARED
-       LIBS += $(OBJDIR)/libbpf.so
- endif
-@@ -52,7 +54,7 @@ $(OBJDIR)/libbpf.a: $(OBJS)
-       $(AR) rcs $@ $^
- $(OBJDIR)/libbpf.so: $(OBJS)
--      $(CC) -shared $(LDFLAGS) $^ -o $@
-+      $(CC) -shared $(LDFLAGS) $^ -Wl,-soname,libbpf.so -o $@
- $(OBJDIR)/%.o: %.c
-       $(CC) $(ALL_CFLAGS) -c $< -o $@
diff --git a/dev-libs/libbpf/libbpf-0.20190311.ebuild b/dev-libs/libbpf/libbpf-0.20190311.ebuild
deleted file mode 100644 (file)
index 114e79c..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2019 Sony Interactive Entertainment Inc.
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-EGIT_COMMIT="cb658e9724e3c34973eee913b1ff0cb9c50b8e53"
-
-HOMEPAGE="https://github.com/libbpf/libbpf"
-DESCRIPTION="Stand-alone build of libbpf from the Linux kernel"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2.1 BSD-2"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="static-libs"
-
-COMMON_DEPEND="virtual/libelf
-       !<=dev-util/bcc-0.7.0"
-DEPEND="${COMMON_DEPEND}
-       sys-kernel/linux-headers"
-RDEPEND="${COMMON_DEPEND}"
-
-S="${WORKDIR}/${PN}-${EGIT_COMMIT}/src"
-
-PATCHES=(
-       "${FILESDIR}/libbpf-makefile.patch"
-)
-
-src_prepare() {
-       # upstream doesn't provide a pkgconfig file, so
-       # let's make one
-       printf 'prefix=/usr\nexec_prefix=${prefix}\nlibdir=%s\n' \
-                       "/usr/$(get_libdir)" \
-               > ${PN}.pc
-       printf 'includedir=${prefix}/include\n\n' \
-               >> ${PN}.pc
-
-       printf 'Name: %s\nDescription: %s\nVersion: %s\nLibs: -lbpf %s\n' \
-                       "${PN}" \
-                       "${DESCRIPTION}" \
-                       "${PV}" \
-                       "$($(tc-getPKG_CONFIG) --libs libelf)" \
-               >> ${PN}.pc
-
-       default
-}
-
-src_compile() {
-       emake \
-               BUILD_SHARED=y \
-               LIBSUBDIR="$(get_libdir)" \
-               $(usex static-libs 'BUILD_STATIC=y' '' '' '') \
-               CC="$(tc-getCC)"
-}
-
-src_install() {
-       emake \
-               BUILD_SHARED=y \
-               LIBSUBDIR="$(get_libdir)" \
-               DESTDIR="${D}" \
-               $(usex static-libs 'BUILD_STATIC=y' '' '' '') \
-               install
-
-       insinto /usr/$(get_libdir)/pkgconfig
-       doins ${PN}.pc
-}
diff --git a/dev-libs/libbpf/libbpf-0.20190404.ebuild b/dev-libs/libbpf/libbpf-0.20190404.ebuild
deleted file mode 100644 (file)
index e26002c..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-EGIT_COMMIT="7c27c6306160f630c3c4f4b4971deb657126d681"
-
-HOMEPAGE="https://github.com/libbpf/libbpf"
-DESCRIPTION="Stand-alone build of libbpf from the Linux kernel"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2.1 BSD-2"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="static-libs"
-
-COMMON_DEPEND="virtual/libelf
-       !<=dev-util/bcc-0.7.0"
-DEPEND="${COMMON_DEPEND}
-       sys-kernel/linux-headers"
-RDEPEND="${COMMON_DEPEND}"
-
-S="${WORKDIR}/${PN}-${EGIT_COMMIT}/src"
-
-PATCHES=(
-       "${FILESDIR}/libbpf-0.20190404-makefile.patch"
-)
-
-src_prepare() {
-       # upstream doesn't provide a pkgconfig file, so
-       # let's make one
-       printf 'prefix=/usr\nexec_prefix=${prefix}\nlibdir=%s\n' \
-                       "/usr/$(get_libdir)" \
-               > ${PN}.pc
-       printf 'includedir=${prefix}/include\n\n' \
-               >> ${PN}.pc
-
-       printf 'Name: %s\nDescription: %s\nVersion: %s\nLibs: -lbpf %s\n' \
-                       "${PN}" \
-                       "${DESCRIPTION}" \
-                       "${PV}" \
-                       "$($(tc-getPKG_CONFIG) --libs libelf)" \
-               >> ${PN}.pc
-
-       default
-}
-
-src_compile() {
-       emake \
-               BUILD_SHARED=y \
-               LIBSUBDIR="$(get_libdir)" \
-               $(usex static-libs 'BUILD_STATIC=y' '' '' '') \
-               CC="$(tc-getCC)"
-}
-
-src_install() {
-       emake \
-               BUILD_SHARED=y \
-               LIBSUBDIR="$(get_libdir)" \
-               DESTDIR="${D}" \
-               $(usex static-libs 'BUILD_STATIC=y' '' '' '') \
-               install
-
-       insinto /usr/$(get_libdir)/pkgconfig
-       doins ${PN}.pc
-}