From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 76C8D138359 for ; Thu, 27 Aug 2020 21:32:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C1DAE092F; Thu, 27 Aug 2020 21:32:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 57D01E0922 for ; Thu, 27 Aug 2020 21:32:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E3B1233BDFC for ; Thu, 27 Aug 2020 21:32:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC4BC2EE for ; Thu, 27 Aug 2020 21:32:30 +0000 (UTC) From: "Jörg Bornkessel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jörg Bornkessel" Message-ID: <1598563917.9686d9bc86cbc02fccce616245d2edfdac17be24.hd_brummy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/tntnet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/tntnet/tntnet-2.2.1-r1.ebuild dev-libs/tntnet/tntnet-2.2.1-r2.ebuild dev-libs/tntnet/tntnet-2.2.1-r3.ebuild X-VCS-Directories: dev-libs/tntnet/ X-VCS-Committer: hd_brummy X-VCS-Committer-Name: Jörg Bornkessel X-VCS-Revision: 9686d9bc86cbc02fccce616245d2edfdac17be24 X-VCS-Branch: master Date: Thu, 27 Aug 2020 21:32:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7d7e10d3-09a7-41d6-a8fd-6c1311bfdb8f X-Archives-Hash: 98372296c3b5f54fe371dd72741da473 commit: 9686d9bc86cbc02fccce616245d2edfdac17be24 Author: Joerg Bornkessel gentoo org> AuthorDate: Thu Aug 27 21:31:57 2020 +0000 Commit: Jörg Bornkessel gentoo org> CommitDate: Thu Aug 27 21:31:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9686d9bc dev-libs/tntnet: cleanup old, use=static-lib and installs '.a' files better handling for .a and .la files by use flag handling Closes: https://bugs.gentoo.org/737184 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Joerg Bornkessel gentoo.org> dev-libs/tntnet/tntnet-2.2.1-r1.ebuild | 92 ---------------------- ...tnet-2.2.1-r2.ebuild => tntnet-2.2.1-r3.ebuild} | 7 +- 2 files changed, 6 insertions(+), 93 deletions(-) diff --git a/dev-libs/tntnet/tntnet-2.2.1-r1.ebuild b/dev-libs/tntnet/tntnet-2.2.1-r1.ebuild deleted file mode 100644 index 617f01ca9a9..00000000000 --- a/dev-libs/tntnet/tntnet-2.2.1-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils - -DESCRIPTION="Modular, multithreaded web application server extensible with C++" -HOMEPAGE="http://www.tntnet.org/" -SRC_URI="http://www.tntnet.org/download/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~sparc ~x86" -IUSE="doc gnutls libressl server ssl examples" - -RDEPEND=">=dev-libs/cxxtools-2.2.1 - sys-libs/zlib[minizip] - ssl? ( - gnutls? ( - >=net-libs/gnutls-1.2.0 - dev-libs/libgcrypt:0 - ) - !gnutls? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - ) - )" -DEPEND="${RDEPEND} - virtual/pkgconfig - app-arch/zip" - -src_prepare() { - # Both fixed in the next release - epatch "${FILESDIR}"/${PN}-2.0-zlib-minizip.patch - rm framework/common/{ioapi,unzip}.[ch] || die - - # bug 423697 - sed -e "s:unzip.h:minizip/unzip.h:" -i framework/defcomp/unzipcomp.cpp - - eautoreconf - - sed -i -e 's:@localstatedir@:/var:' etc/tntnet/tntnet.xml.in || die -} - -src_configure() { - local myconf="" - - # Prefer gnutls above SSL - if use gnutls; then - einfo "Using gnutls for ssl support." - myconf="${myconf} --with-ssl=gnutls" - elif use ssl; then - einfo "Using openssl for ssl support." - myconf="${myconf} --with-ssl=openssl" - else - myconf="${myconf} --with-ssl=no" - fi - - # default enabled, will not compile without sdk - myconf="${myconf} --with-sdk" - - econf \ - $(use_with server) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc AUTHORS ChangeLog README TODO - if use doc; then - dodoc doc/*.pdf - fi - - if use examples; then - cd "${S}/sdk/demos" - emake clean - rm -rf .deps */.deps .libs */.libs - cd "${S}" - - insinto /usr/share/doc/${PF}/examples - doins -r sdk/demos/* - fi - - if use server; then - rm -f "${D}/etc/init.d/tntnet" - newinitd "${FILESDIR}/tntnet.initd" tntnet - fi -} - -# @stable ~26may2020 \ No newline at end of file diff --git a/dev-libs/tntnet/tntnet-2.2.1-r2.ebuild b/dev-libs/tntnet/tntnet-2.2.1-r3.ebuild similarity index 91% rename from dev-libs/tntnet/tntnet-2.2.1-r2.ebuild rename to dev-libs/tntnet/tntnet-2.2.1-r3.ebuild index 2a1e7bb6230..8f1ea542f98 100644 --- a/dev-libs/tntnet/tntnet-2.2.1-r2.ebuild +++ b/dev-libs/tntnet/tntnet-2.2.1-r3.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://www.tntnet.org/download/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~sparc ~x86" -IUSE="gnutls libressl server ssl examples" +IUSE="gnutls libressl server ssl examples static-libs" RDEPEND=">=dev-libs/cxxtools-2.2.1 sys-libs/zlib[minizip] @@ -91,4 +91,9 @@ src_install() { rm -f "${D}/etc/init.d/tntnet" newinitd "${FILESDIR}/tntnet.initd" tntnet fi + + # bug 737184 + if ! use static-libs; then + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die + fi }