public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/liblockfile/
Date: Sat,  7 Aug 2021 06:47:36 +0000 (UTC)	[thread overview]
Message-ID: <1628318846.5bae2f9f147ddda63b9b82c79cc7994bd926c48b.sam@gentoo> (raw)

commit:     5bae2f9f147ddda63b9b82c79cc7994bd926c48b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  7 06:39:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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
+}


             reply	other threads:[~2021-08-07  6:47 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-07  6:47 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-10  4:12 [gentoo-commits] repo/gentoo:master commit in: net-libs/liblockfile/ WANG Xuerui
2022-10-24 15:52 Mike Gilbert
2022-01-06 22:17 James Le Cuirot
2021-12-07 20:23 Sam James
2021-12-07  6:26 Agostino Sarubbo
2021-12-06 15:23 Sam James
2021-12-06 15:20 Sam James
2021-12-05 19:30 Arthur Zamarin
2021-12-05 18:39 Sam James
2021-12-05  4:45 Sam James
2020-03-21 10:06 Mikle Kolyada
2020-02-09 12:02 Mikle Kolyada
2020-02-09 12:02 Mikle Kolyada
2019-12-28 15:49 Mikle Kolyada
2019-12-24 14:37 Mikle Kolyada
2019-12-16 16:23 Aaron Bauman
2019-12-15 14:15 Agostino Sarubbo
2019-12-15 14:07 Agostino Sarubbo
2019-12-15 13:36 Sergei Trofimovich
2019-12-15 13:24 Sergei Trofimovich
2019-12-15 11:38 Agostino Sarubbo
2019-12-13 22:37 Sergei Trofimovich
2019-12-13 14:37 Agostino Sarubbo
2019-12-13 12:54 Agostino Sarubbo
2019-08-07 13:44 Lars Wendler
2019-08-07 13:44 Lars Wendler
2019-07-05 21:16 Andreas K. Hüttel
2019-06-24 10:30 Michał Górny
2017-02-20  9:33 Lars Wendler
2017-02-20  9:33 Lars Wendler
2017-01-29 19:33 Fabian Groffen
2017-01-02 11:11 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1628318846.5bae2f9f147ddda63b9b82c79cc7994bd926c48b.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox