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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 441 - (show annotations) (download)
Wed Jun 8 16:59:52 2005 UTC (9 years, 6 months ago) by flameeyes
File size: 1635 byte(s)
Updated to use gentoo's mirrors and freebsd-utils eclass.

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 pam
6
7 MY_PATCH=${PN}-5.3_rc1
8
9 DESCRIPTION="FreeBSD libexec things"
10 DEPEND="=sys-devel/freebsd-mk-defs-5.4*
11 =sys-kernel/freebsd-sources-5.4*
12 =sys-kernel/freebsd-headers-5.4*
13 =sys-libs/freebsd-lib-5.4*
14 pam? ( virtual/pam )"
15
16 SRC_URI="mirror://gentoo/${LIBEXEC}.tar.bz2
17 mirror://gentoo/${UBIN}.tar.bz2
18 mirror://gentoo/${BIN}.tar.bz2
19 mirror://gentoo/${CONTRIB}.tar.bz2
20 mirror://gentoo/${LIB}.tar.bz2
21 mirror://gentoo/${USBIN}.tar.bz2"
22
23 S=${WORKDIR}/libexec
24
25 IUSE="pf lukemftpd pam ssl kerberos ipv6 nis"
26
27 pkg_setup() {
28 use pf || mymakeopts="${mymakeopts} NO_PF= "
29 use lukemftpd && mymakeopts="${mymakeopts} WANT_LUKEMFTPD= "
30 use pam || mymakeopts="${mymakeopts} NOPAM= "
31 use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NOCRYPT= "
32 use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
33 use ipv6 || mymakeopts="${mymakeopts} NOINET6= "
34 use nis || mymakeopts="${mymakeopts} NO_NIS= "
35
36 mymakeopts="${mymakeopts} NO_SENDMAIL= "
37 }
38
39 src_unpack() {
40 unpack ${A}
41
42 cd ${S}
43 epatch ${FILESDIR}/${PN}-setXid.patch
44
45 cd ${S}/ypxfr
46 epatch ${FILESDIR}/${PN}-5.3_rc1-ypxfr-makefile.patch
47 }
48
49 src_compile() {
50 einfo "Building library dependencies for this package"
51
52 cd ${WORKDIR}/lib/libtelnet
53 fmake || die "Compilation of libtelnet failed"
54
55 einfo "Now building the package"
56 cd ${S}
57 fmake || die "fmake failed"
58 }
59
60 src_install() {
61 fmake DESTDIR=${D} install || die "fmake install failed"
62
63 for pamdfile in rsh rexecd telnetd; do
64 newpamd "${FILESDIR}/${pamdfile}.pamd" ${pamdfile}
65 done
66 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20