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

Collapse All | Expand All

(-)cyrus-sasl-2.1.22.ebuild (-10 / +9 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.22.ebuild,v 1.12 2006/09/16 21:07:59 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.22.ebuild,v 1.12 2006/09/16 21:07:59 vapier Exp $
4
4
5
inherit eutils gnuconfig flag-o-matic java-pkg multilib
5
inherit eutils gnuconfig flag-o-matic multilib java-pkg-opt-2
6
6
7
ntlm_patch=${P}-ntlm_impl-spnego.patch.gz
7
ntlm_patch=${P}-ntlm_impl-spnego.patch.gz
8
SASLAUTHD_CONF_VER=2.1.21
8
SASLAUTHD_CONF_VER=2.1.21
Lines 16-22 Link Here
16
SLOT="2"
16
SLOT="2"
17
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
17
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
18
# Removed 'static' USE flag because it is broken upstream, Bug #94137
18
# Removed 'static' USE flag because it is broken upstream, Bug #94137
19
IUSE="berkdb crypt gdbm ldap mysql postgres kerberos ssl java pam authdaemond sample urandom srp ntlm_unsupported_patch"
19
IUSE="berkdb crypt gdbm ldap mysql postgres kerberos ssl pam authdaemond sample urandom srp ntlm_unsupported_patch"
20
20
21
RDEPEND="berkdb? ( >=sys-libs/db-3.2 )
21
RDEPEND="berkdb? ( >=sys-libs/db-3.2 )
22
	gdbm? ( >=sys-libs/gdbm-1.8.0 )
22
	gdbm? ( >=sys-libs/gdbm-1.8.0 )
Lines 32-49 Link Here
32
			>=mail-mta/courier-0.46
32
			>=mail-mta/courier-0.46
33
		)
33
		)
34
	)
34
	)
35
	java? ( =virtual/jdk-1.4* )
35
	java? ( >=virtual/jre-1.4 )
36
	ntlm_unsupported_patch? ( >=net-fs/samba-3.0.9 )"
36
	ntlm_unsupported_patch? ( >=net-fs/samba-3.0.9 )"
37
DEPEND="${RDEPEND}
37
DEPEND="${RDEPEND}
38
	>=sys-apps/sed-4
38
	>=sys-apps/sed-4
39
	>=sys-devel/autoconf-2.58
39
	>=sys-devel/autoconf-2.58
40
	sys-devel/automake
40
	sys-devel/automake
41
	sys-devel/libtool"
41
	sys-devel/libtool
42
	java? ( >=virtual/jdk-1.4 )"
42
43
43
pkg_setup() {
44
pkg_setup() {
44
45
	use java && java-pkg_pkg_setup
46
47
	if use gdbm && use berkdb; then
45
	if use gdbm && use berkdb; then
48
		echo
46
		echo
49
		ewarn "You have both \"gdbm\" and \"berkdb\" in your USE flags."
47
		ewarn "You have both \"gdbm\" and \"berkdb\" in your USE flags."
Lines 67-73 Link Here
67
src_unpack() {
65
src_unpack() {
68
	unpack ${A} && cd "${S}"
66
	unpack ${A} && cd "${S}"
69
67
70
71
	# Fix default port name for rimap auth mechanism.
68
	# Fix default port name for rimap auth mechanism.
72
	sed -e '/define DEFAULT_REMOTE_SERVICE/s:imap:imap2:' \
69
	sed -e '/define DEFAULT_REMOTE_SERVICE/s:imap:imap2:' \
73
		-i saslauthd/auth_rimap.c || die "sed failed"
70
		-i saslauthd/auth_rimap.c || die "sed failed"
Lines 115-120 Link Here
115
}
112
}
116
113
117
src_compile() {
114
src_compile() {
115
	use java && export JAVAC="${JAVAC} ${JAVACFLAGS}"
116
118
	local myconf="--enable-login --enable-ntlm --enable-auth-sasldb --disable-krb4 --disable-otp"
117
	local myconf="--enable-login --enable-ntlm --enable-auth-sasldb --disable-krb4 --disable-otp"
119
#	myconf="${myconf} `use_enable static`" -- doesn't work upstream Bug #94137
118
#	myconf="${myconf} `use_enable static`" -- doesn't work upstream Bug #94137
120
	myconf="${myconf} `use_with ssl openssl`"
119
	myconf="${myconf} `use_with ssl openssl`"
Lines 217-226 Link Here
217
		rm -rf "${D}/usr/$(get_libdir)/java"
216
		rm -rf "${D}/usr/$(get_libdir)/java"
218
		docinto java
217
		docinto java
219
		dodoc "${S}/java/README" "${FILESDIR}/java.README.gentoo" "${S}"/java/doc/*
218
		dodoc "${S}/java/README" "${FILESDIR}/java.README.gentoo" "${S}"/java/doc/*
220
		mkdir "${D}/usr/share/doc/${PF}/java/Test/" \
219
		dodir /usr/share/doc/${PF}/java/Test
221
			|| die "failed to create ${D}/usr/share/doc/${PF}/java/Test/"
222
		cp "${S}"/java/Test/*.java "${D}/usr/share/doc/${PF}/java/Test/" \
220
		cp "${S}"/java/Test/*.java "${D}/usr/share/doc/${PF}/java/Test/" \
223
			|| die "failed to copy java files to ${D}/usr/share/doc/${PF}/java/Test/"
221
			|| die "failed to copy java files to ${D}/usr/share/doc/${PF}/java/Test/"
222
		java-pkg_regso "${D}/usr/$(get_libdir)/libjavasasl.so"
224
	fi
223
	fi
225
224
226
	docinto ""
225
	docinto ""

Return to bug 146647