From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-auth/passwdqc: passwdqc-1.3.0.ebuild metadata.xml ChangeLog |
Date: | Tue, 07 Jul 2015 08:15:01 |
Message-Id: | 20150707081455.A7EA8753@oystercatcher.gentoo.org |
1 | vapier 15/07/07 08:14:55 |
2 | |
3 | Added: passwdqc-1.3.0.ebuild metadata.xml ChangeLog |
4 | Log: |
5 | Version bump based on last pam_passwdqc package #491836 by Florian Steinel. |
6 | |
7 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-auth/passwdqc/passwdqc-1.3.0.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/passwdqc/passwdqc-1.3.0.ebuild?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/passwdqc/passwdqc-1.3.0.ebuild?rev=1.1&content-type=text/plain |
14 | |
15 | Index: passwdqc-1.3.0.ebuild |
16 | =================================================================== |
17 | # Copyright 1999-2015 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/sys-auth/passwdqc/passwdqc-1.3.0.ebuild,v 1.1 2015/07/07 08:14:55 vapier Exp $ |
20 | |
21 | EAPI="5" |
22 | |
23 | inherit pam eutils toolchain-funcs multilib |
24 | |
25 | DESCRIPTION="Password strength checking library (and PAM module)" |
26 | HOMEPAGE="http://www.openwall.com/passwdqc/" |
27 | SRC_URI="http://www.openwall.com/${PN}/${P}.tar.gz" |
28 | |
29 | LICENSE="Openwall BSD public-domain" |
30 | SLOT="0" |
31 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux" |
32 | IUSE="pam utils" |
33 | |
34 | RDEPEND=" |
35 | pam? ( |
36 | virtual/pam |
37 | !<sys-auth/pam_passwdqc-1.3.0 |
38 | )" |
39 | DEPEND="${RDEPEND}" |
40 | |
41 | src_prepare() { |
42 | epatch "${FILESDIR}"/${PN}-1.3.0-build.patch |
43 | sed -i \ |
44 | -e 's:`uname -s`:Linux:' \ |
45 | Makefile || die |
46 | } |
47 | |
48 | _emake() { |
49 | emake \ |
50 | LIBDIR="$(get_libdir)" \ |
51 | CFLAGS="${CFLAGS} ${CPPFLAGS}" \ |
52 | LDFLAGS="${LDFLAGS}" \ |
53 | CC="$(tc-getCC)" \ |
54 | LD="$(tc-getCC)" \ |
55 | "$@" |
56 | } |
57 | |
58 | src_compile() { |
59 | # The use of wrapped targets defeats the Makefile dep tracking. |
60 | # Build all the targets explicitly after the library. |
61 | _emake lib |
62 | if use pam || use utils ; then |
63 | _emake $(usev pam) $(usev utils) |
64 | fi |
65 | } |
66 | |
67 | src_install() { |
68 | _emake \ |
69 | DESTDIR="${ED}" \ |
70 | install_lib $(usex pam install_pam '') $(usex utils install_utils '') |
71 | dodoc README PLATFORMS INTERNALS |
72 | } |
73 | |
74 | pkg_postinst() { |
75 | if use pam ; then |
76 | elog "To activate pam_passwdqc use pam_passwdqc.so instead" |
77 | elog "of pam_cracklib.so in /etc/pam.d/system-auth." |
78 | elog "Also, if you want to change the parameters, read up" |
79 | elog "on the pam_passwdqc(8) man page." |
80 | fi |
81 | } |
82 | |
83 | |
84 | |
85 | 1.1 sys-auth/passwdqc/metadata.xml |
86 | |
87 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/passwdqc/metadata.xml?rev=1.1&view=markup |
88 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/passwdqc/metadata.xml?rev=1.1&content-type=text/plain |
89 | |
90 | Index: metadata.xml |
91 | =================================================================== |
92 | <?xml version="1.0" encoding="UTF-8"?> |
93 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
94 | <pkgmetadata> |
95 | <herd>pam</herd> |
96 | <maintainer> |
97 | <email>pam-bugs@g.o</email> |
98 | </maintainer> |
99 | <use> |
100 | <flag name='utils'>Install pwqcheck and pwqgen helper utilities</flag> |
101 | </use> |
102 | <longdescription> |
103 | Password strength checking for PAM aware password changing programs. This is an alternative to the default cracklib. |
104 | </longdescription> |
105 | <longdescription lang="ja"> |
106 | パスワード変更プログラムに反応する PAM のパスワード強度検査機能です。これはデフォルトの cracklib の代替です。 |
107 | </longdescription> |
108 | </pkgmetadata> |
109 | |
110 | |
111 | |
112 | 1.1 sys-auth/passwdqc/ChangeLog |
113 | |
114 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/passwdqc/ChangeLog?rev=1.1&view=markup |
115 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/passwdqc/ChangeLog?rev=1.1&content-type=text/plain |
116 | |
117 | Index: ChangeLog |
118 | =================================================================== |
119 | # ChangeLog for sys-auth/passwdqc |
120 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
121 | # $Header: /var/cvsroot/gentoo-x86/sys-auth/passwdqc/ChangeLog,v 1.1 2015/07/07 08:14:55 vapier Exp $ |
122 | |
123 | *passwdqc-1.3.0 (07 Jul 2015) |
124 | |
125 | 07 Jul 2015; Mike Frysinger <vapier@g.o> |
126 | +files/passwdqc-1.3.0-build.patch, +metadata.xml, +passwdqc-1.3.0.ebuild: |
127 | Version bump based on last pam_passwdqc package #491836 by Florian Steinel. |