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 661F8139360 for ; Sat, 7 Aug 2021 06:47:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7483FE090F; Sat, 7 Aug 2021 06:47:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 5BAC7E090F for ; Sat, 7 Aug 2021 06:47:39 +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 10C8E342A9F for ; Sat, 7 Aug 2021 06:47:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58ECC7BD for ; Sat, 7 Aug 2021 06:47:36 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1628318846.5bae2f9f147ddda63b9b82c79cc7994bd926c48b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/liblockfile/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/liblockfile/Manifest net-libs/liblockfile/liblockfile-1.17.ebuild X-VCS-Directories: net-libs/liblockfile/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5bae2f9f147ddda63b9b82c79cc7994bd926c48b X-VCS-Branch: master Date: Sat, 7 Aug 2021 06:47:36 +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: 3cb83c5d-27fd-4b12-a1bb-933eeec9ad53 X-Archives-Hash: 6106adb09b46c88958353f5080bc241c commit: 5bae2f9f147ddda63b9b82c79cc7994bd926c48b Author: Sam James gentoo org> AuthorDate: Sat Aug 7 06:39:32 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Aug 7 06:47:26 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bae2f9f net-libs/liblockfile: add 1.17 Signed-off-by: Sam James gentoo.org> net-libs/liblockfile/Manifest | 1 + net-libs/liblockfile/liblockfile-1.17.ebuild | 65 ++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/net-libs/liblockfile/Manifest b/net-libs/liblockfile/Manifest index 25f238e989c..6246723ee12 100644 --- a/net-libs/liblockfile/Manifest +++ b/net-libs/liblockfile/Manifest @@ -1 +1,2 @@ DIST liblockfile-1.16.tar.gz 68591 BLAKE2B f41df23ee405425265dbf5ca66dacf8e5dac84f40c16d192f1afbb40399f2a68bb92f5e24bbf0d2fb7fc143a92f8fa2713ebccbab70ceb9e67d9c7ae21f42802 SHA512 ee75ecf0dd25744de4e3ce7d6b12483ead2deaf0cd6a527e8493100c5d714751fe97e057873c8c7b04a935f9b46a5ea502950f15d3ce54ecc63d997ab1cee33d +DIST liblockfile-1.17.tar.gz 69834 BLAKE2B a3c88174d96fb84dc1226102a1678aecec35945b89adb6e143f32674188ff7406f89b05f7219748bf0e9c6207ff3b28b5b800706ffc11b733c294e1e1c232784 SHA512 2169ac2219950d6ec7def6b5cc712cc04d1a185dc9c09b364c8d47b7b3d15c3482a2200b591872da87eb784717b2ba3537fbc39d7075c329cc8ba48039473a83 diff --git a/net-libs/liblockfile/liblockfile-1.17.ebuild b/net-libs/liblockfile/liblockfile-1.17.ebuild new file mode 100644 index 00000000000..82d39902f7c --- /dev/null +++ b/net-libs/liblockfile/liblockfile-1.17.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools toolchain-funcs + +DESCRIPTION="Implements functions designed to lock the standard mailboxes" +HOMEPAGE="https://github.com/miquels/liblockfile" +SRC_URI="https://github.com/miquels/liblockfile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" +IUSE="static-libs" + +RDEPEND="acct-group/mail" +DEPEND="${RDEPEND}" + +DOCS=( Changelog README ) + +PATCHES=( + "${FILESDIR}/${PN}-1.16-makefile.patch" +) + +src_prepare() { + default + + # I don't feel like making the Makefile portable + if [[ ${CHOST} == *-darwin* ]] ; then + cp "${FILESDIR}"/Makefile.Darwin.in Makefile.in || die + fi + + eautoreconf +} + +src_configure() { + local grp=mail + + if use prefix ; then + # We never want to use LDCONFIG + export LDCONFIG=${EPREFIX}/bin/true + # In unprivileged installs this is "mail" + grp=$(id -g) + fi + + local myeconfargs=( + --with-mailgroup=${grp} + --enable-shared + ) + + econf "${myeconfargs[@]}" +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + + if ! use static-libs ; then + find "${ED}" -type f -name "*.a" -delete || die + fi +}