|
Line
Link Here
|
| 0 |
-- shadow-4.2.1-r2.ebuild |
0 |
++ shadow-4.3.0.ebuild |
|
Lines 1-14
Link Here
|
| 1 |
# Copyright 1999-2015 Gentoo Foundation |
1 |
# Copyright 1999-2016 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Id$ |
3 |
# $Id$ |
| 4 |
|
4 |
|
| 5 |
EAPI=4 |
5 |
EAPI=5 |
| 6 |
|
6 |
|
| 7 |
inherit eutils libtool toolchain-funcs pam multilib autotools |
7 |
inherit eutils libtool toolchain-funcs pam multilib autotools |
| 8 |
|
8 |
|
| 9 |
DESCRIPTION="Utilities to deal with user accounts" |
9 |
DESCRIPTION="Utilities to deal with user accounts" |
| 10 |
HOMEPAGE="http://shadow.pld.org.pl/ http://pkg-shadow.alioth.debian.org/" |
10 |
HOMEPAGE="http://shadow.pld.org.pl/ http://pkg-shadow.alioth.debian.org/" |
| 11 |
SRC_URI="http://pkg-shadow.alioth.debian.org/releases/${P}.tar.xz" |
11 |
#SRC_URI="http://pkg-shadow.alioth.debian.org/releases/${P}.tar.xz" |
|
|
12 |
SRC_URI="https://github.com/${PN}-maint/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
| 12 |
|
13 |
|
| 13 |
LICENSE="BSD GPL-2" |
14 |
LICENSE="BSD GPL-2" |
| 14 |
SLOT="0" |
15 |
SLOT="0" |
|
Lines 31-51
Link Here
|
| 31 |
xattr? ( sys-apps/attr )" |
32 |
xattr? ( sys-apps/attr )" |
| 32 |
DEPEND="${RDEPEND} |
33 |
DEPEND="${RDEPEND} |
| 33 |
app-arch/xz-utils |
34 |
app-arch/xz-utils |
|
|
35 |
app-text/docbook-xml-dtd |
| 36 |
dev-libs/libxslt |
| 34 |
nls? ( sys-devel/gettext )" |
37 |
nls? ( sys-devel/gettext )" |
| 35 |
RDEPEND="${RDEPEND} |
38 |
RDEPEND+=" |
| 36 |
pam? ( >=sys-auth/pambase-20150213 )" |
39 |
pam? ( >=sys-auth/pambase-20150213 )" |
| 37 |
|
40 |
|
| 38 |
PATCHES=( |
41 |
PATCHES=( |
| 39 |
"${FILESDIR}"/${PN}-4.1.3-dots-in-usernames.patch |
42 |
"${FILESDIR}"/${PN}-4.1.3-dots-in-usernames.patch |
| 40 |
"${FILESDIR}"/${P}-cross-size-checks.patch |
|
|
| 41 |
"${FILESDIR}"/${P}-verbose-error-when-uid-doesnt-match.patch |
| 42 |
) |
43 |
) |
| 43 |
|
44 |
|
| 44 |
src_prepare() { |
45 |
src_prepare() { |
| 45 |
epatch "${PATCHES[@]}" |
46 |
epatch "${PATCHES[@]}" |
| 46 |
epatch_user |
47 |
epatch_user |
| 47 |
# https://github.com/shadow-maint/shadow/pull/5 |
|
|
| 48 |
mv configure.{in,ac} || die |
| 49 |
eautoreconf |
48 |
eautoreconf |
| 50 |
#elibtoolize |
49 |
#elibtoolize |
| 51 |
} |
50 |
} |
|
Lines 55-60
Link Here
|
| 55 |
econf \ |
54 |
econf \ |
| 56 |
--without-group-name-max-length \ |
55 |
--without-group-name-max-length \ |
| 57 |
--without-tcb \ |
56 |
--without-tcb \ |
|
|
57 |
--enable-man \ |
| 58 |
--enable-shared=no \ |
58 |
--enable-shared=no \ |
| 59 |
--enable-static=yes \ |
59 |
--enable-static=yes \ |
| 60 |
$(use_with acl) \ |
60 |
$(use_with acl) \ |