Updated ebuild, closes #8216.
authorDaniel Ahlberg <aliz@gentoo.org>
Mon, 21 Oct 2002 06:34:54 +0000 (06:34 +0000)
committerDaniel Ahlberg <aliz@gentoo.org>
Mon, 21 Oct 2002 06:34:54 +0000 (06:34 +0000)
app-crypt/gnupg/ChangeLog
app-crypt/gnupg/gnupg-1.2.0.ebuild

index ca329c8f782f3cc02459f57f5799a629374d5b16..34d1c884ec26cd5bd25bba81e6ae31734d1a2eaa 100644 (file)
@@ -1,9 +1,13 @@
 # ChangeLog for app-crypt/gnupg
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.7 2002/10/18 10:38:19 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.8 2002/10/21 06:34:54 aliz Exp $
 
 *gnupg-1.2.0 (18 Oct 2002)
 
+  21 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> gnupg-1.2.0.ebuild :
+  Updated ebuild, contributed by Jacob Perkins <jap1@ionet.net> in #8216. 
+  Adds ldap support. 
+
   18 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> gnupg-1.2.0.ebuild :
   Version bump, found by Daniel Seyffer <gentoo-bugs@seyffer.de> in #8778.
 
index 6b0f4319bad878a604a9c3b570a22ae790f7a033..900be9a41e487764b3afb7d738083ac099199e22 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.2.0.ebuild,v 1.1 2002/10/18 10:38:19 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.2.0.ebuild,v 1.2 2002/10/21 06:34:54 aliz Exp $
 
-IUSE="nls"
+IUSE="zlib ldap nls"
 
 S="${WORKDIR}/${P}"
 DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
@@ -13,32 +13,33 @@ SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
 
-DEPEND=">=sys-libs/zlib-1.1.3"
+DEPEND="sys-devel/perl
+       zlib? ( sys-libs/zlib )
+       ldap? ( net-nds/openldap )"
 RDEPEND="nls? ( sys-devel/gettext )"
-       
+
 src_compile() {
        local myconf
-       use nls || myconf="--disable-nls"
+       use nls || myconf="${myconf} --disable-nls"
+       use ldap || myconf="${myconf} --disable-ldap"
+       use zlib || myconf="${myconf} --with-included-zlib"
 
+       #Still needed?
        # Bug #6387, --enable-m-guard causes bus error on sparcs
        if [ "${ARCH}" != "sparc" -a "${ARCH}" != "sparc64" ]; then
                myconf="${myconf} --enable-m-guard"
        fi
-       econf \
-               --enable-static-rnd=linux \
-               --host="${CHOST}" \
-               ${myconf} || die
 
+       econf ${myconf} || die
        emake || make || die
 }
 
 src_install () {
        make DESTDIR="${D}" install || die
-       dodoc ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS PROJECTS
-       dodoc README TODO VERSION
+       dodoc ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS PROJECTS README THANKS TODO VERSION
        docinto doc
        cd doc
-       dodoc  FAQ HACKING DETAILS ChangeLog
+       dodoc FAQ HACKING DETAILS ChangeLog OpenPGP
        docinto sgml
        dodoc gpg.sgml gpgv.sgml
        dohtml faq.html
@@ -51,9 +52,4 @@ pkg_postinst() {
        einfo "gpg is installed SUID root to make use of protected memory space"
        einfo "This is needed in order to have a secure place to store your passphrases,"
        einfo "etc. at runtime but may make some sysadmins nervous"
-       echo  " "
-       einfo "Note: this version is not backwards compatible with gnupg-1.0.6."
-       einfo "   To update your keyrings run: gpg --rebuild-keydb-caches"
-       einfo "   To backup your keyrings run: gpg --export-ownertrust"
-       einfo "   and copy the keyrings out of your ~/.gnupg directory."
 }