dev-libs/zlog: Remove last-rited pkg

Closes: https://bugs.gentoo.org/925342
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-03-29 15:48:34 +01:00
parent b062392309
commit f90e0fc7b6
5 changed files with 0 additions and 104 deletions

View File

@@ -1 +0,0 @@
DIST zlog-v1.2.15.tar.gz 124794 BLAKE2B a60ef362269d48672c7f0f4321b6c4f50241c7c1abcc2c3a3a888d7838018edaba103cbb985fda02db719dcb8553bad3f84bfd715f3fdb34ad64557107d24e44 SHA512 88c741b58e7857c573e4da0b3999a23c00d339e45eb4f7d3e07c03dbe8ebf4cae62720208c9759871969bb4959d2f081b6a8955e229d3872f99cde3e650702e4

View File

@@ -1,59 +0,0 @@
--- a/src/makefile 2020-06-05 15:29:43.926423440 +0200
+++ b/src/makefile 2020-06-05 15:30:26.266501492 +0200
@@ -43,8 +43,6 @@
DYLIB_MAJOR_NAME=$(LIBNAME).$(DYLIBSUFFIX).$(ZLOG_MAJOR)
DYLIBNAME=$(LIBNAME).$(DYLIBSUFFIX)
DYLIB_MAKE_CMD=$(CC) -shared -Wl,-soname,$(DYLIB_MINOR_NAME) -o $(DYLIBNAME) $(LDFLAGS)
-STLIBNAME=$(LIBNAME).$(STLIBSUFFIX)
-STLIB_MAKE_CMD=ar rcs $(STLIBNAME)
# Installation related variables
PREFIX?=/usr/local
@@ -78,7 +76,6 @@
# not to mention dynamic linker .a preference...
DYLIB_MAKE_CMD=$(CC) -shared -Wl,-G,-b64 -maix64 -pthread -o $(DYLIBNAME) $(LDFLAGS)
REAL_CFLAGS+= -maix64
- STLIB_MAKE_CMD=OBJECT_MODE=64 ar rcs $(STLIBNAME) $(DYLIB_MAJOR_NAME)
endif
all: $(DYLIBNAME) $(BINS)
@@ -139,21 +136,17 @@
cp -f $(DYLIBNAME) $(DYLIB_MAJOR_NAME)
cp -f $(DYLIBNAME) $(DYLIB_MINOR_NAME)
-$(STLIBNAME): $(OBJ)
- $(STLIB_MAKE_CMD) $(OBJ)
-
dynamic: $(DYLIBNAME)
-static: $(STLIBNAME)
# Binaries:
-zlog-chk-conf: zlog-chk-conf.o $(STLIBNAME) $(DYLIBNAME)
+zlog-chk-conf: zlog-chk-conf.o $(DYLIBNAME)
$(CC) -o $@ zlog-chk-conf.o -L. -lzlog $(REAL_LDFLAGS)
.c.o:
$(CC) -std=c99 -pedantic -c $(REAL_CFLAGS) $<
clean:
- rm -rf $(DYLIBNAME) $(STLIBNAME) $(BINS) *.o *.gcda *.gcno *.gcov $(DYLIB_MINOR_NAME) $(DYLIB_MAJOR_NAME)
+ rm -rf $(DYLIBNAME) $(BINS) *.o *.gcda *.gcno *.gcov $(DYLIB_MINOR_NAME) $(DYLIB_MAJOR_NAME)
dep:
$(CC) -MM *.c
@@ -171,14 +164,13 @@
INSTALL?= cp -a
-install: $(DYLIBNAME) $(STLIBNAME)
+install: $(DYLIBNAME)
mkdir -p $(INSTALL_INCLUDE_PATH) $(INSTALL_LIBRARY_PATH) $(INSTALL_BINARY_PATH)
$(INSTALL) zlog.h $(INSTALL_INCLUDE_PATH)
$(INSTALL) zlog-chk-conf $(INSTALL_BINARY_PATH)
$(INSTALL) $(DYLIBNAME) $(INSTALL_LIBRARY_PATH)/$(DYLIB_MINOR_NAME)
cd $(INSTALL_LIBRARY_PATH) && ln -sf $(DYLIB_MINOR_NAME) $(DYLIB_MAJOR_NAME)
cd $(INSTALL_LIBRARY_PATH) && ln -sf $(DYLIB_MAJOR_NAME) $(DYLIBNAME)
- $(INSTALL) $(STLIBNAME) $(INSTALL_LIBRARY_PATH)
32bit:
@echo ""

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">HardySimpson/zlog</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,29 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="A reliable, thread safe, clear-model, pure C logging library"
HOMEPAGE="http://hardysimpson.github.io/zlog/"
SRC_URI="https://github.com/HardySimpson/${PN}/archive/${PV}.tar.gz -> ${PN}-v${PV}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
PATCHES="${FILESDIR}/zlog_no_static_lib.patch"
src_compile() {
emake CC="$(tc-getCC)"
}
src_test() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" test
}
src_install() {
emake LIBRARY_PATH="$(get_libdir)" PREFIX="${D}/usr" install
}

View File

@@ -728,13 +728,6 @@ sci-biology/biopandas
# Removal on 2024-03-28. Bug #878725.
sci-chemistry/nmrglue
# Arthur Zamarin <arthurzam@gentoo.org> (2024-02-23)
# A library without any reverse dependencies in tree. Maintainer-needed
# package. Has open security bug without handling. Has open bump for a
# long time.
# Removal: 2024-03-24. Bugs #925342, #837518.
dev-libs/zlog
# Sam James <sam@gentoo.org> (2024-02-18)
# Lots of changes, including a port to a new build system. Needs lots of testing.
=sys-apps/gentoo-functions-1*