Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 134064 | Differences between
and this patch

Collapse All | Expand All

(-)heimdal-0.7.2.ebuild (-15 / +16 lines)
Lines 6-15 Link Here
6
#inherit libtool
6
#inherit libtool
7
7
8
DESCRIPTION="Kerberos 5 implementation from KTH"
8
DESCRIPTION="Kerberos 5 implementation from KTH"
9
SRC_URI="ftp://ftp.pdc.kth.se/pub/heimdal/src/${P/_rc/rc}.tar.gz"
9
SRC_URI="ftp://ftp.pdc.kth.se/pub/heimdal/src/snapshots/${P/_rc/rc}.tar.gz"
10
HOMEPAGE="http://www.pdc.kth.se/heimdal/"
10
HOMEPAGE="http://www.pdc.kth.se/heimdal/"
11
11
12
SLOT="0.7.2"
12
SLOT="0"
13
LICENSE="as-is"
13
LICENSE="as-is"
14
KEYWORDS="x86 ~ppc ~sparc"
14
KEYWORDS="x86 ~ppc ~sparc"
15
IUSE="ssl ldap berkdb ipv6 krb4"
15
IUSE="ssl ldap berkdb ipv6 krb4"
Lines 25-41 Link Here
25
	# circular dependency with USE="ldap kerberos"
25
	# circular dependency with USE="ldap kerberos"
26
	# -- Kain <kain@kain.org> 05 Dec 2002
26
	# -- Kain <kain@kain.org> 05 Dec 2002
27
27
28
S=${WORKDIR}/${P/_rc1/rc}
28
S=${WORKDIR}/${P/_rc/rc}
29
29
30
src_unpack() {
30
src_unpack() {
31
        unpack ${A}
31
	unpack ${A}
32
##        cd ${S} && epatch ${FILESDIR}/heimdal-0.7.1-procenv.patch
33
}
32
}
34
33
35
src_compile() {
34
src_compile() {
36
	echo $S
37
	echo $P
38
	echo $WORKDIR
39
35
40
	# I don't want an existing compile_et! I want a new one!
36
	# I don't want an existing compile_et! I want a new one!
41
	test -d foo || mkdir foo
37
	test -d foo || mkdir foo
Lines 43-53 Link Here
43
	chmod +x foo/compile_et
39
	chmod +x foo/compile_et
44
	PATH=$PWD/foo:$PATH
40
	PATH=$PWD/foo:$PATH
45
41
46
	# The libtool version provided is too old. Let's redo the libtool stuff
47
#	rm -f libtool ltconfig ltmain.sh ltcf-c.sh
48
#	libtoolize -c --force
49
#	autoreconf --force --install
50
51
	local myconf=""
42
	local myconf=""
52
	echo ${PORTAGE_TMPDIR}
43
	echo ${PORTAGE_TMPDIR}
53
44
Lines 65-71 Link Here
65
56
66
	myconf="${myconf} --enable-shared --enable-static"
57
	myconf="${myconf} --enable-shared --enable-static"
67
58
68
	myconf="${myconf} --prefix=/usr/${P/_rc/rc}"
59
#	myconf="${myconf} --prefix=/usr/${P/_rc/rc}"
60
	myconf="${myconf} --prefix=/usr/${PN}"
69
61
70
	CFLAGS="$CFLAGS -g"
62
	CFLAGS="$CFLAGS -g"
71
	econf ${myconf} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" || die
63
	econf ${myconf} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" || die
Lines 80-88 Link Here
80
72
81
	DESTDIR=${D} make install || die
73
	DESTDIR=${D} make install || die
82
74
75
	dodir /usr/bin
76
	ln -sfn /usr/${PN}/bin/krb5-config ${D}/usr/bin/
77
83
	dodir /etc/env.d
78
	dodir /etc/env.d
84
	< ${FILESDIR}/15heimdal sed -e "s,/heimdal/,/${P/_rc/rc}/,g" > ${D}/etc/env.d/15heimdal
79
	< ${FILESDIR}/15heimdal sed -e "s,/heimdal/,/${PN}/,g" > ${D}/etc/env.d/15heimdal
85
80
86
	dodoc COPYRIGHT ChangeLog README NEWS PROBLEMS TODO
81
	dodoc COPYRIGHT ChangeLog README NEWS PROBLEMS TODO
87
82
88
}
83
}
84
85
pkg_postinst() {
86
	ldconfig /usr/${PN}/lib
87
}
88
89

Return to bug 134064