From 6589bb1add06004793490d897bacfee17cecc08e Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Sun, 7 Jan 2007 04:17:23 +0000 Subject: [PATCH] version bump as per bug #160619 - ebuild thanks to Ricardo Lanziano Package-Manager: portage-2.1.2_rc4-r6 --- net-libs/libssh/ChangeLog | 10 +++- net-libs/libssh/Manifest | 42 ++++++++++++++--- net-libs/libssh/files/digest-libssh-0.2 | 3 ++ .../libssh/files/makefile_no-examples.diff | 47 +++++++++++++++++++ net-libs/libssh/libssh-0.2.ebuild | 43 +++++++++++++++++ 5 files changed, 137 insertions(+), 8 deletions(-) create mode 100644 net-libs/libssh/files/digest-libssh-0.2 create mode 100644 net-libs/libssh/files/makefile_no-examples.diff create mode 100644 net-libs/libssh/libssh-0.2.ebuild diff --git a/net-libs/libssh/ChangeLog b/net-libs/libssh/ChangeLog index 8e1efa8ee5fb..3b3c9d838465 100644 --- a/net-libs/libssh/ChangeLog +++ b/net-libs/libssh/ChangeLog @@ -1,6 +1,12 @@ # 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 + +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 : ~amd64 per ka0ttics request diff --git a/net-libs/libssh/Manifest b/net-libs/libssh/Manifest index 491c3fb83559..f4a338b56b9f 100644 --- a/net-libs/libssh/Manifest +++ b/net-libs/libssh/Manifest @@ -1,16 +1,46 @@ -----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----- diff --git a/net-libs/libssh/files/digest-libssh-0.2 b/net-libs/libssh/files/digest-libssh-0.2 new file mode 100644 index 000000000000..dcbca060b3aa --- /dev/null +++ b/net-libs/libssh/files/digest-libssh-0.2 @@ -0,0 +1,3 @@ +MD5 8a76c03579a3e27046e6bafe88ffd171 libssh-0.2.tgz 329371 +RMD160 29b5d109f7962daa1f5e38197ff75b9603a39873 libssh-0.2.tgz 329371 +SHA256 46c3831fd563c54283ebef56e2cb11c27f47b1be9f6cb44f1465897dd7aea5ff libssh-0.2.tgz 329371 diff --git a/net-libs/libssh/files/makefile_no-examples.diff b/net-libs/libssh/files/makefile_no-examples.diff new file mode 100644 index 000000000000..b9ee07171d7b --- /dev/null +++ b/net-libs/libssh/files/makefile_no-examples.diff @@ -0,0 +1,47 @@ +--- 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) \ diff --git a/net-libs/libssh/libssh-0.2.ebuild b/net-libs/libssh/libssh-0.2.ebuild new file mode 100644 index 000000000000..13258e590ef8 --- /dev/null +++ b/net-libs/libssh/libssh-0.2.ebuild @@ -0,0 +1,43 @@ +# 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 +} -- 2.26.2