/[gentoo-x86]/net-misc/openvpn-auth-ldap/openvpn-auth-ldap-2.0.4_pre20131110.ebuild
Gentoo

Contents of /net-misc/openvpn-auth-ldap/openvpn-auth-ldap-2.0.4_pre20131110.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Nov 12 17:42:23 2013 UTC (6 years, 2 months ago) by ercpe
Branch: MAIN
CVS Tags: HEAD
LDAP authentication plugin for OpenVPN. Big thanks to jlec for fixing the build system.

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6
7 inherit eutils autotools flag-o-matic
8
9 DESCRIPTION="LDAP authentication and authorization plugin for OpenVPN 2.x"
10 HOMEPAGE="https://code.google.com/p/openvpn-auth-ldap/"
11 SRC_URI="http://dev.gentoo.org/~ercpe/distfiles/${CATEGORY}/${PN}/${P}.tar.bz2"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16
17 IUSE=""
18
19 RDEPEND="net-misc/openvpn
20 net-nds/openldap"
21 DEPEND="dev-util/re2c
22 sys-devel/gcc[objc]
23 ${RDEPEND}"
24
25 S="${WORKDIR}/${P}"
26
27 src_prepare() {
28 sed \
29 -e '/test/d' \
30 -i Makefile.in || die
31 epatch \
32 "${FILESDIR}"/${PV}-objc.patch \
33 "${FILESDIR}"/${PV}-gentoo.patch
34 eautoreconf
35 }
36
37 src_configure() {
38 econf \
39 --with-openvpn="${EPREFIX}/usr/include" \
40 --with-openldap="${EPREFIX}/usr/include" \
41 --with-objc-runtime=GNU
42 }
43
44 src_compile() {
45 emake -C tools
46 emake -C src TRConfigParser.h
47 default
48 }
49
50 src_install() {
51 default
52 dodoc auth-ldap.conf
53 }

  ViewVC Help
Powered by ViewVC 1.1.20