# ChangeLog for net-libs/libssh
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v 1.7 2005/03/05 18:11:31 kingtaco Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v 1.8 2007/01/07 04:17:23 dragonheart Exp $
+
+*libssh-0.2 (07 Jan 2007)
+
+ 07 Jan 2007; Daniel Black <dragonheart@gentoo.org>
+ +files/makefile_no-examples.diff, +libssh-0.2.ebuild:
+ version bump as per bug #160619 - ebuild thanks to Ricardo Lanziano
05 Mar 2005; Mike Doty <kingtaco@gentoo.org> :
~amd64 per ka0ttics request
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 2fa4659593ebfd88a18f9495408c9497 ChangeLog 953
+AUX makefile_no-examples.diff 1420 RMD160 93a35e94233fc6030da206ca84dcf45c64569940 SHA1 a07b3a5bc1947f2bc88a61c601b896fd2937dabe SHA256 4afbb18c45cb99ab2556628d70679fd0f51c0dac890f611fffd975cdcc123172
+MD5 8e2f817130b33ff69ba98fccfcc186bd files/makefile_no-examples.diff 1420
+RMD160 93a35e94233fc6030da206ca84dcf45c64569940 files/makefile_no-examples.diff 1420
+SHA256 4afbb18c45cb99ab2556628d70679fd0f51c0dac890f611fffd975cdcc123172 files/makefile_no-examples.diff 1420
+DIST libssh-0.1.tgz 122663
+DIST libssh-0.11.tgz 303761
+DIST libssh-0.2.tgz 329371 RMD160 29b5d109f7962daa1f5e38197ff75b9603a39873 SHA1 bde7652da5a0f79127c3d5e4b9383d3a07619344 SHA256 46c3831fd563c54283ebef56e2cb11c27f47b1be9f6cb44f1465897dd7aea5ff
+EBUILD libssh-0.1.ebuild 828 RMD160 607388ea592812e0e471137e78fdc7868de466c3 SHA1 9e3b33cfff6dd75973b8ad860875a8072cdfa70e SHA256 478d1cc1ece9b6ea4ea9184de23d07f89c8c0e8ad95e1c620b35a2ff48116d5f
MD5 07e973007b7ebfc903df656c8635f3bf libssh-0.1.ebuild 828
-MD5 67176a673d5f792bc9cf28e4c632e49b metadata.xml 252
+RMD160 607388ea592812e0e471137e78fdc7868de466c3 libssh-0.1.ebuild 828
+SHA256 478d1cc1ece9b6ea4ea9184de23d07f89c8c0e8ad95e1c620b35a2ff48116d5f libssh-0.1.ebuild 828
+EBUILD libssh-0.11.ebuild 609 RMD160 d0dae61be837f6a610af8b24b87d5a84610f54e0 SHA1 76009f9e7480459391ea67a38c841670ae45a1e8 SHA256 708e27b4ef1076e1fdfc3bbfbe05708ace190fe75b29aa2d9920c39a8c543edf
MD5 f2de24b253e7f13c3fab7c1a2c892615 libssh-0.11.ebuild 609
+RMD160 d0dae61be837f6a610af8b24b87d5a84610f54e0 libssh-0.11.ebuild 609
+SHA256 708e27b4ef1076e1fdfc3bbfbe05708ace190fe75b29aa2d9920c39a8c543edf libssh-0.11.ebuild 609
+EBUILD libssh-0.2.ebuild 1039 RMD160 9bb17278c50bc3541ee675a8bba13c99a64f7837 SHA1 e896252d8a10d43b9584b9885535eef42ecbb63a SHA256 6a7bed132dc08b8b505417356db60bcee85a2695419851a60152a20fb021b1ee
+MD5 f2aee1d4aefdfa6779c9b949ca103b0f libssh-0.2.ebuild 1039
+RMD160 9bb17278c50bc3541ee675a8bba13c99a64f7837 libssh-0.2.ebuild 1039
+SHA256 6a7bed132dc08b8b505417356db60bcee85a2695419851a60152a20fb021b1ee libssh-0.2.ebuild 1039
+MISC ChangeLog 1163 RMD160 276abe9abcc42a0a6f3de1e083b84408c8f2ad18 SHA1 50f9d3f740e48f209fff97321fee5fbc5c5ff12c SHA256 643cc423a3cf35cb86ed2135001e1a30609fd705a7af0b4a24cee87756ace62c
+MD5 82ec88a60932fdc8ba7da9c6e99a883c ChangeLog 1163
+RMD160 276abe9abcc42a0a6f3de1e083b84408c8f2ad18 ChangeLog 1163
+SHA256 643cc423a3cf35cb86ed2135001e1a30609fd705a7af0b4a24cee87756ace62c ChangeLog 1163
+MISC metadata.xml 252 RMD160 cbb7f92b846801124df255d4db434a58d3348f8f SHA1 dac5fb61ca5f27cb21960f25aa4e06bff89dd6b5 SHA256 554e2ee0303c5e4a8b0296d896a4496658465f1f90f5f74a9ba5c65aeec59caa
+MD5 67176a673d5f792bc9cf28e4c632e49b metadata.xml 252
+RMD160 cbb7f92b846801124df255d4db434a58d3348f8f metadata.xml 252
+SHA256 554e2ee0303c5e4a8b0296d896a4496658465f1f90f5f74a9ba5c65aeec59caa metadata.xml 252
MD5 f3008419ae3b4a4b4f9e0781459a4510 files/digest-libssh-0.1 59
+RMD160 318b81e650c46be0417f45e085f9f4f66db37980 files/digest-libssh-0.1 59
+SHA256 7ffecbfa24fe969cd997946b178fbc61f2fe1d65d04bb3953e718c55e3a4ec02 files/digest-libssh-0.1 59
MD5 9c7a7f99638231c3b559910de8c1b897 files/digest-libssh-0.11 60
+RMD160 9d282c4e1056acba2dd6f2da4426be743e4b8cd9 files/digest-libssh-0.11 60
+SHA256 8d948dbe695309c87ad627e8d16db2f0ca789e07497850cd689b765f157d99a0 files/digest-libssh-0.11 60
+MD5 d07360b2fed7ce2c2eed1e9f5da4beb1 files/digest-libssh-0.2 223
+RMD160 a3a38f02be62c323a70e2f2e4afce8ce1d70e16f files/digest-libssh-0.2 223
+SHA256 b2d44989a37901bc4a3aaa4e45e1ea05d0d807abf1594fb15e56d84cc2465cb2 files/digest-libssh-0.2 223
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
+Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
-iD8DBQFCKfZd0K3RJaeXx6cRAlhxAKDd5vdFvgPp2MunHvkZA67uS7GVCACfd6Ro
-T7fXeXB6p99rF5KVycunSYU=
-=yYUU
+iD8DBQFFoHRamdTrptrqvGERAohXAJ4rB1pGL79zvAWiaObuTYX/tbPhMACfWLi8
+fkjWIlf6yNCVmx4vOrjvoaw=
+=erev
-----END PGP SIGNATURE-----
--- /dev/null
+--- libssh-0.2.orig/Makefile.in 2007-01-03 20:34:37.000000000 -0500
++++ libssh-0.2/Makefile.in 2007-01-03 20:36:41.000000000 -0500
+@@ -21,14 +21,12 @@
+ INSTALL = @INSTALL@
+ LN = @LN_S@
+ LIBTOOL = @LIBTOOL@
+-OBJECTS = sample.o samplesshd.o
+-APPS = samplessh samplesftp samplesshd
+ VERSION = 0.2
+ DISTLIB = libssh-$(VERSION)
+ CONFIG = include/libssh/config.h
+
+ .PHONY: all
+-all: $(CONFIG) SUBDIRS $(OBJECTS) $(APPS)
++all: $(CONFIG) SUBDIRS
+
+ .PHONY: SUBDIRS
+ SUBDIRS:
+@@ -40,12 +38,6 @@
+ % : %.o
+ $(LIBTOOL) --mode=link $(CC) -o $@ $< $(LDFLAGS) $(LIBS)
+
+-samplessh: sample.o
+- $(LIBTOOL) --mode=link $(CC) -o $@ $< $(LDFLAGS) $(LIBS)
+-
+-samplesftp: samplessh
+- $(LN) -f samplessh samplesftp
+-
+ $(CONFIG):
+ $(LN) -f ../../config.h $(CONFIG)
+
+@@ -94,14 +86,12 @@
+ install-doc: doc
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/libssh/html
+ $(INSTALL) doxygen/html/* $(DESTDIR)$(docdir)/libssh/html
+- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/libssh/examples
+- $(INSTALL) sample.c samplesshd.c $(DESTDIR)$(docdir)/libssh/examples
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3
+ $(INSTALL) doxygen/man/man3/* $(DESTDIR)$(mandir)/man3
+
+ .PHONY: clean
+ clean:
+- $(LIBTOOL) --mode=clean rm -f *~ *.o samplessh samplesftp samplesshd include/libssh/config.h
++ $(LIBTOOL) --mode=clean rm -f *~ *.o include/libssh/config.h
+ rm -rf doxygen
+ @for dir in ${subdirs}; do \
+ (cd $$dir && $(MAKE) clean) \
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/libssh-0.2.ebuild,v 1.1 2007/01/07 04:17:23 dragonheart Exp $
+
+inherit eutils
+
+DESCRIPTION="Access a working SSH implementation by means of a library"
+HOMEPAGE="http://0xbadc0de.be/?part=libssh"
+SRC_URI="http://www.0xbadc0de.be/libssh/${P}.tgz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="crypt examples"
+
+DEPEND="sys-libs/zlib
+ !crypt? ( dev-libs/openssl )
+ crypt? ( dev-libs/libgcrypt )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/makefile_no-examples.diff"
+}
+
+src_compile() {
+ econf \
+ $(use_with crypt) \
+ --disable-ssh1 \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ chmod a-x ${D}/usr/include/libssh/*
+ emake DESTDIR="${D}" install || die "install failed"
+ rm "${D}"/usr/include/libssh/ssh1.h
+ dodoc README CHANGELOG
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins sample.c samplesshd.c
+ fi
+}