Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-fs/ncpfs: ncpfs-2.2.6-r1.ebuild ChangeLog
Date: Tue, 20 Apr 2010 09:34:35
Message-Id: 20100420093427.77E782C04B@corvid.gentoo.org
1 vapier 10/04/20 09:34:27
2
3 Modified: ChangeLog
4 Added: ncpfs-2.2.6-r1.ebuild
5 Log:
6 Clean up ebuild, respect env LDFLAGS, fix multilib pam issues #273486 by Rion, and fix sandbox violations w/ldconfig #273484 by Rion.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.25 net-fs/ncpfs/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/ncpfs/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/ncpfs/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/ncpfs/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-fs/ncpfs/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 14 May 2008 22:16:53 -0000 1.24
23 +++ ChangeLog 20 Apr 2010 09:34:27 -0000 1.25
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-fs/ncpfs
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-fs/ncpfs/ChangeLog,v 1.24 2008/05/14 22:16:53 flameeyes Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-fs/ncpfs/ChangeLog,v 1.25 2010/04/20 09:34:27 vapier Exp $
30 +
31 +*ncpfs-2.2.6-r1 (20 Apr 2010)
32 +
33 + 20 Apr 2010; Mike Frysinger <vapier@g.o> +ncpfs-2.2.6-r1.ebuild:
34 + Clean up ebuild, respect env LDFLAGS, fix multilib pam issues #273486 by
35 + Rion, and fix sandbox violations w/ldconfig #273484 by Rion.
36
37 14 May 2008; Diego Pettenò <flameeyes@g.o> ncpfs-2.2.6.ebuild:
38 Depend on virtual/pam as the code builds fine with OpenPAM.
39
40
41
42 1.1 net-fs/ncpfs/ncpfs-2.2.6-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/ncpfs/ncpfs-2.2.6-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/ncpfs/ncpfs-2.2.6-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ncpfs-2.2.6-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-fs/ncpfs/ncpfs-2.2.6-r1.ebuild,v 1.1 2010/04/20 09:34:27 vapier Exp $
52
53 EAPI="2"
54
55 inherit eutils pam
56
57 DESCRIPTION="Provides Access to Netware services using the NCP protocol"
58 HOMEPAGE="ftp://platan.vc.cvut.cz/pub/linux/ncpfs/"
59 SRC_URI="ftp://platan.vc.cvut.cz/pub/linux/${PN}/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
64 IUSE="nls pam php"
65
66 DEPEND="nls? ( sys-devel/gettext )
67 pam? ( virtual/pam )
68 php? ( || ( virtual/php virtual/httpd-php ) )"
69
70 src_prepare() {
71 # add patch for PHP extension sandbox violation
72 epatch "${FILESDIR}"/${PN}-2.2.5-php.patch
73 epatch "${FILESDIR}"/${P}-gcc4.patch
74 epatch "${FILESDIR}"/${P}-missing-includes.patch
75 sed -i '/ldconfig/d' lib/Makefile.in #273484
76 # hack inject LDFLAGS into the build
77 sed -i '/^LIBS/s:=:= @LDFLAGS@:' `find -name Makefile.in` || die
78 }
79
80 src_configure() {
81 econf \
82 $(use_enable nls) \
83 $(use_enable pam pam "$(getpam_mod_dir)") \
84 $(use_enable php)
85 }
86
87 src_install() {
88 dodir $(getpam_mod_dir) /usr/sbin /sbin
89 emake DESTDIR="${D}" install || die
90 dodoc FAQ README
91 }