Lines 1-17
Link Here
|
1 |
# Copyright 1999-2007 Gentoo Foundation |
1 |
# Copyright 1999-2008 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 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_abl/pam_abl-0.2.3-r1.ebuild,v 1.5 2007/11/21 16:28:40 drac Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
inherit flag-o-matic pam toolchain-funcs |
5 |
inherit flag-o-matic pam toolchain-funcs |
6 |
|
6 |
|
7 |
DESCRIPTION="Provides auto blacklisting of hosts and users responsible for repeated failed authentication attempts" |
7 |
DESCRIPTION="Provides automatic blacklisting of repeated failed PAM authentication attempts" |
8 |
HOMEPAGE="http://www.hexten.net/pam_abl/" |
8 |
HOMEPAGE="http://www.hexten.net/pam_abl/" |
9 |
SRC_URI="mirror://sourceforge/${PN/_/-}/${P}.tar.gz" |
9 |
SRC_URI="mirror://sourceforge/${PN/_/-}/${P}.tar.gz" |
10 |
RESTRICT="" |
10 |
RESTRICT="" |
11 |
|
11 |
|
12 |
LICENSE="|| ( BSD GPL-2 )" |
12 |
LICENSE="|| ( BSD GPL-2 )" |
13 |
SLOT="0" |
13 |
SLOT="0" |
14 |
KEYWORDS="amd64 x86" |
14 |
KEYWORDS="~amd64 ~x86" |
15 |
IUSE="" |
15 |
IUSE="" |
16 |
|
16 |
|
17 |
DEPEND=">=sys-libs/pam-0.78-r2 |
17 |
DEPEND=">=sys-libs/pam-0.78-r2 |
Lines 27-32
Link Here
|
27 |
unpack ${A} |
27 |
unpack ${A} |
28 |
cd "${S}" |
28 |
cd "${S}" |
29 |
|
29 |
|
|
|
30 |
# fix as needed, see bug #248403 |
31 |
epatch "${FILESDIR}/${P}-as-needed.patch" |
32 |
|
30 |
# fix hardcoded values in Makefile |
33 |
# fix hardcoded values in Makefile |
31 |
sed -i -e "s:-Wall -fPIC:${CFLAGS} -Wall:" \ |
34 |
sed -i -e "s:-Wall -fPIC:${CFLAGS} -Wall:" \ |
32 |
-e "s:/lib/security:$(getpam_mod_dir):" \ |
35 |
-e "s:/lib/security:$(getpam_mod_dir):" \ |