public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpwquality/
Date: Sat,  5 Sep 2015 16:26:21 +0000 (UTC)	[thread overview]
Message-ID: <1441470370.0ef07ae4dd5ff1c08c9ba8ca4231fca4c49f3cc7.pacho@gentoo> (raw)

commit:     0ef07ae4dd5ff1c08c9ba8ca4231fca4c49f3cc7
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  5 16:26:10 2015 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Sep  5 16:26:10 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ef07ae4

dev-libs/libpwquality: Version bump

Package-Manager: portage-2.2.20.1

 dev-libs/libpwquality/Manifest                  |  1 +
 dev-libs/libpwquality/libpwquality-1.3.0.ebuild | 76 +++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/dev-libs/libpwquality/Manifest b/dev-libs/libpwquality/Manifest
index 901bc53..aaadbea 100644
--- a/dev-libs/libpwquality/Manifest
+++ b/dev-libs/libpwquality/Manifest
@@ -1,2 +1,3 @@
 DIST libpwquality-1.2.3.tar.bz2 367794 SHA256 b11c79ce7b03cdf878fccb653e67bd430155cc6fd224efbbb3e78842f752516a SHA512 1591f40feee4ad95d666887fbd04fc675ff2630a2cd080a7ef616f59af543751ef34910a085d880e8d75051ebeee747847b8015e66a7c315b955df62f926ccd2 WHIRLPOOL 9aff4c547758a2bc2d918f2411371f3b35231c6846d77b497275176842f8f48df3b66f419ddaee88e1fccc2e1a6b947e5b1e72215db74dbc978089d7c0afdf5b
 DIST libpwquality-1.2.4.tar.bz2 394060 SHA256 9ad67be364a66dc8b334a473c77d9f531137ee0e9d85d81f567f410a375857c7 SHA512 63ead296320e8eadc1a3341c28b015f9dbbf30e610e9226a11018d81aeb412d0e211753ebdb45f959c35cedfc6ed580bba9e6b0f8822c3b5f38062428f637049 WHIRLPOOL 94166db5bba425fb19a9a27fe27eb082716e887b90fa2d2bd64e56f4d9202c6cc1f7f16779185a5c44ce3145f8a8df92ecca9b6628ae63daba99aca4d5a9c1a9
+DIST libpwquality-1.3.0.tar.bz2 423910 SHA256 74d2ea90e103323c1f2d6a6cc9617cdae6877573eddb31aaf31a40f354cc2d2a SHA512 c3817c7a5ca962b161911b97b413a0db7c34a99ba2cd191435024abdbe060e248c0f88436f24d3992dcb1b00d34b88afb731ef1fd23efc3ad1abe56d4d7d53ea WHIRLPOOL b6451083551a13be259d1a81eb089889d9ee430c30afb2555aa2e5e7c4240febc71b152ce3c210b592a56db8988fc88a827d8e9f368c5aa478d5babf4e316b8c

diff --git a/dev-libs/libpwquality/libpwquality-1.3.0.ebuild b/dev-libs/libpwquality/libpwquality-1.3.0.ebuild
new file mode 100644
index 0000000..7827b61
--- /dev/null
+++ b/dev-libs/libpwquality/libpwquality-1.3.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit eutils multilib pam python-r1 toolchain-funcs
+
+DESCRIPTION="Library for password quality checking and generating random passwords"
+HOMEPAGE="https://fedorahosted.org/libpwquality/"
+SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.bz2"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="pam python static-libs"
+
+RDEPEND="
+	>=sys-libs/cracklib-2.8:=
+	pam? ( virtual/pam )
+	python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}
+	>=sys-devel/gettext-0.18.2
+	virtual/pkgconfig
+"
+
+src_prepare() {
+	# ensure pkgconfig files go in /usr
+	sed -e 's:\(pkgconfigdir *=\).*:\1 '${EPREFIX}/usr/$(get_libdir)'/pkgconfig:' \
+		-i src/Makefile.{am,in} || die "sed failed"
+	use python && python_copy_sources
+}
+
+src_configure() {
+	# Install library in /lib for pam
+	configuring() {
+		local sitedir
+		econf \
+			--libdir="${EPREFIX}/$(get_libdir)" \
+			$(use_enable pam) \
+			--with-securedir="${EPREFIX}/$(getpam_mod_dir)" \
+			$(use_enable python python-bindings) \
+			$(usex python "--with-pythonsitedir=$(use python && python_get_sitedir)" "") \
+			$(use_enable static-libs static)
+	}
+	if_use_python_python_foreach_impl configuring
+}
+
+src_compile() {
+	if_use_python_python_foreach_impl default
+}
+
+src_test() {
+	if_use_python_python_foreach_impl default
+}
+
+src_install() {
+	if_use_python_python_foreach_impl default
+	if use static-libs; then
+		# Do not install static libs in /lib
+		mkdir -p "${ED}usr/$(get_libdir)"
+		mv "${ED}$(get_libdir)/libpwquality.a" "${ED}/usr/$(get_libdir)/" || die
+		gen_usr_ldscript libpwquality.so
+	fi
+	prune_libtool_files --modules
+}
+
+if_use_python_python_foreach_impl() {
+	if use python; then
+		python_foreach_impl run_in_build_dir "$@"
+	else
+		"$@"
+	fi
+}


             reply	other threads:[~2015-09-05 16:26 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-05 16:26 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-09-05 16:27 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpwquality/ Pacho Ramos
2015-10-03  8:30 Markus Meier
2016-03-30 23:48 Mike Frysinger
2016-03-30 23:48 Mike Frysinger
2017-01-04 22:37 Gilles Dartiguelongue
2017-04-28 14:40 Manuel Rüger
2017-08-27 10:03 Gilles Dartiguelongue
2017-11-04 13:04 Sergei Trofimovich
2017-11-06 20:49 Tobias Klausmann
2017-11-18 13:20 Sergei Trofimovich
2017-11-23 20:47 Sergei Trofimovich
2017-12-02 10:41 Sergei Trofimovich
2017-12-27  8:35 Markus Meier
2018-01-17 19:18 Mike Gilbert
2018-03-02 17:07 Mart Raudsepp
2018-03-13 23:02 Mart Raudsepp
2019-08-04 13:58 Alexey Shvetsov
2019-08-04 14:45 Alexey Shvetsov
2019-08-04 20:09 Mart Raudsepp
2019-08-04 20:09 Mart Raudsepp
2019-09-17 17:08 Mart Raudsepp
2019-10-12 18:59 Mikle Kolyada
2019-12-04 20:32 Matt Turner
2019-12-08 11:58 Mikle Kolyada
2019-12-08 11:59 Mikle Kolyada
2019-12-09  0:10 Aaron Bauman
2019-12-09  9:11 Agostino Sarubbo
2019-12-09  9:14 Agostino Sarubbo
2019-12-24 20:36 Sergei Trofimovich
2020-01-01 15:25 Agostino Sarubbo
2020-01-11 20:32 Mart Raudsepp
2020-01-11 20:32 Mart Raudsepp
2020-01-26 22:39 Thomas Deutschmann
2020-01-27  8:10 Sergei Trofimovich
2020-01-27  9:45 Mikle Kolyada
2020-01-27 12:44 Agostino Sarubbo
2020-01-27 14:28 Agostino Sarubbo
2020-01-28  7:41 Agostino Sarubbo
2020-02-11 10:52 Agostino Sarubbo
2020-04-08 20:40 Göktürk Yüksek
2020-04-14 17:05 Mart Raudsepp
2020-04-30  7:09 Sergei Trofimovich
2020-05-01  8:35 Mart Raudsepp
2020-10-21 11:54 David Seifert
2020-11-11  4:25 Matt Turner
2021-03-15 18:06 Sergei Trofimovich
2021-03-16 18:10 Sergei Trofimovich
2021-04-12 16:02 Sam James
2021-04-13 15:00 Sam James
2022-04-16 20:09 Matt Turner
2022-04-22  0:20 Sam James
2022-04-22  0:20 Sam James
2022-05-05  2:40 WANG Xuerui
2022-05-08 19:04 Jakov Smolić
2022-05-08 19:05 Jakov Smolić
2022-05-08 19:05 Jakov Smolić
2022-05-13 20:24 Arthur Zamarin
2022-05-29 20:17 Andreas K. Hüttel
2022-10-30  1:50 Matt Turner
2022-11-05  9:44 Arthur Zamarin
2022-11-05  9:58 Arthur Zamarin
2022-11-05 18:58 Arthur Zamarin
2022-11-16 18:10 Arthur Zamarin
2022-11-18 17:34 Mart Raudsepp
2022-12-04  3:03 Matt Turner
2022-12-16 20:30 Arthur Zamarin
2022-12-16 20:57 Arthur Zamarin
2022-12-17  6:45 Arthur Zamarin
2022-12-22 11:13 Arthur Zamarin
2022-12-22 11:15 Arthur Zamarin
2024-03-01 16:29 Sam James
2024-03-11 21:33 Sam James
2024-04-06 21:07 Arthur Zamarin
2024-04-07  6:27 Arthur Zamarin
2024-04-07  6:56 Arthur Zamarin
2024-04-07  9:14 Arthur Zamarin
2024-04-09 22:46 Sam James
2024-04-28 19:11 Ionen Wolkens
2024-04-29 19:16 Andrew Ammerlaan
2024-05-28 12:04 Michał Górny
2024-05-28 12:35 Sam James
2024-05-28 12:35 Sam James
2024-05-28 13:19 Sam James
2024-05-28 13:19 Sam James

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=1441470370.0ef07ae4dd5ff1c08c9ba8ca4231fca4c49f3cc7.pacho@gentoo \
    --to=pacho@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