/[gentoo-alt]/trunk/sys-libs/freebsd-pam-modules/freebsd-pam-modules-5.4-r1.ebuild
Gentoo

Contents of /trunk/sys-libs/freebsd-pam-modules/freebsd-pam-modules-5.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 388 - (show annotations) (download)
Mon May 23 10:39:51 2005 UTC (9 years, 3 months ago) by flameeyes
File size: 1023 byte(s)
New revision, this time installs correctly (pamd, not envd). Pam.d files are in $FILESDIR instead than in an external tarball, as they are quite less than before.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit freebsd-utils flag-o-matic pam
6
7 DESCRIPTION="FreeBSD's base system libraries"
8 SLOT="0"
9 SRC_URI="mirror://gentoo/${LIB}.tar.bz2
10 mirror://gentoo/${CONTRIB}.tar.bz2"
11
12 DEPEND="=sys-devel/freebsd-mk-defs-5.4*
13 =sys-kernel/freebsd-sources-5.4*
14 =sys-kernel/freebsd-headers-5.4*
15 sys-libs/openpam
16 kerberos? ( dev-libs/openssl
17 virtual/krb5 )"
18
19 S=${WORKDIR}/lib/libpam
20
21 IUSE="kerberos nis"
22
23 pkg_setup() {
24 mymakeopts="${mymakeopts} NO_OPENSSH= "
25 use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
26 use nis || mymakeopts="${mymakeopts} NO_NIS= "
27 }
28
29 src_unpack() {
30 unpack ${A}
31
32 cd ${WORKDIR}/${LIB}
33
34 # Fixed locations
35 epatch ${FILESDIR}/freebsd-lib-fixmakefiles.patch
36 }
37
38 src_compile() {
39 fmake || die "emake failed"
40 }
41
42 src_install() {
43 fmake DESTDIR=${D} install || die "Install failed"
44
45 dodoc "${FILESDIR}/5.4/README.pamd" "${FILESDIR}/5.4/convert.pl"
46 dopamd "${FILESDIR}/5.4/pam.d/"*
47 }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20