From 781df34c8ba2140ddb0c62fc756d902ef5f65689157e9ed829dc692797435733 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 4 Nov 2008 16:48:58 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libssh2_org?expand=0&rev=1 --- .gitattributes | 23 ++++++ .gitignore | 1 + baselibs.conf | 4 + libssh2-0.19.0+20080814.tar.bz2 | 3 + libssh2_org.changes | 43 +++++++++++ libssh2_org.spec | 127 ++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 201 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 libssh2-0.19.0+20080814.tar.bz2 create mode 100644 libssh2_org.changes create mode 100644 libssh2_org.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..629c483 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +libssh2-1 + obsoletes "libssh2- <= " + provides "libssh2- = " + diff --git a/libssh2-0.19.0+20080814.tar.bz2 b/libssh2-0.19.0+20080814.tar.bz2 new file mode 100644 index 0000000..98dde28 --- /dev/null +++ b/libssh2-0.19.0+20080814.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a214eca0c9090134f975ee712ab6996412cf192c7f204392c126df319dc6d0e +size 408945 diff --git a/libssh2_org.changes b/libssh2_org.changes new file mode 100644 index 0000000..641fc66 --- /dev/null +++ b/libssh2_org.changes @@ -0,0 +1,43 @@ +------------------------------------------------------------------- +Tue Oct 14 21:35:02 CEST 2008 - crrodriguez@suse.de + +- rename package to avoid all sorts of conflicts with the other + "libssh" package + +------------------------------------------------------------------- +Thu Aug 14 06:20:14 CEST 2008 - crrodriguez@suse.de + +- update current snap , version 20080814 + * Sean Peterson fixed a key re-exchange bug: + http://daniel.haxx.se/projects/libssh2/mail/libssh2-devel-archive-2008-06/0002.shtml + +------------------------------------------------------------------- +Thu Jun 26 04:53:36 CEST 2008 - crrodriguez@suse.de + +- update to version 0.19.0-20080626, two bugfixes + +------------------------------------------------------------------- +Mon Jun 23 20:47:59 CEST 2008 - crrodriguez@suse.de + +- no longer needs fno-strict-aliasing + +------------------------------------------------------------------- +Mon Jun 23 02:11:56 CEST 2008 - crrodriguez@suse.de + +- update to libssh2-0.19.0-20080622 + +------------------------------------------------------------------- +Sun Dec 23 07:22:12 CET 2007 - crrodriguez@suse.de + +- update to 0.18 final + +------------------------------------------------------------------- +Fri Aug 31 23:12:41 CEST 2007 - crrodriguez@suse.de + +- update snap + +------------------------------------------------------------------- +Sat Apr 14 03:41:03 UTC 2007 - judas_iscariote@shorewall.net + +- update snapshot. + diff --git a/libssh2_org.spec b/libssh2_org.spec new file mode 100644 index 0000000..3ae99ec --- /dev/null +++ b/libssh2_org.spec @@ -0,0 +1,127 @@ +# +# spec file for package libssh2_org (Version 0.19.0+20080814) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Summary: A library implementing the SSH2 protocol + +Name: libssh2_org +Version: 0.19.0+20080814 +Release: 2 +%define pkg_name libssh2 +Group: Development/Libraries/C and C++ +Source: http://heanet.dl.sourceforge.net/sourceforge/libssh2/%{pkg_name}-%{version}.tar.bz2 +Url: http://www.libssh2.org/ +License: BSD 3-Clause +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: openssl-devel pkgconfig zlib-devel + +%description +libssh2 is a library implementing the SSH2 protocol as defined by +Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION, +SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and +SECSH-PUBLICKEY. + + + +%define debug_package_requires libssh2-1 = %{version}-%{release} + +%package -n libssh2-1 +License: BSD 3-Clause +Summary: A library implementing the SSH2 protocol +Group: Development/Libraries/C and C++ +Provides: libssh2 = %{version} +Obsoletes: libssh2 < %{version} + +%description -n libssh2-1 +libssh2 is a library implementing the SSH2 protocol as defined by +Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION, +SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and +SECSH-PUBLICKEY. + + + +%package -n libssh2-devel +License: BSD 3-Clause +Summary: A library implementing the SSH2 protocol +Group: Development/Libraries/C and C++ +Requires: libssh2-1 = %{version} glibc-devel + +%description -n libssh2-devel +libssh2 is a library implementing the SSH2 protocol as defined by +Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION, +SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and +SECSH-PUBLICKEY. + + + +%prep +%setup -q -n %{pkg_name}-%{version} +# /me hides :-) +%{__rm} -f configure +%{__sed} -i -e s@/lib/libz@/%{_lib}/libz@g -e s@/lib/libcrypto@/%{_lib}/libcrypto@g configure.in +%{__sed} -i -e 's|LIBZ_LIBDIR=.*|LIBZ_LIBDIR=%{_libdir}|g' configure.in +%{__sed} -i -e 's|OPENSSL_LIBLINE=".*"| OPENSSL_LIBLINE="-lcrypto"|g' configure.in + +%build +./buildconf --force +%configure --disable-static --with-pic --disable-rpath --with-libz=%{_usr} --with-openssl=%{_usr} + +%install +%{__make} install DESTDIR=%{buildroot} +%{__rm} -f %{buildroot}%{_libdir}/*.la + +%check +%{__make} check + +%clean +%{__rm} -rf %{buildroot} + +%post -n libssh2-1 -p /sbin/ldconfig + +%postun -n libssh2-1 -p /sbin/ldconfig + +%files -n libssh2-1 +%defattr(-,root,root) +%{_libdir}/libssh2.so.1* + +%files -n libssh2-devel +%defattr(-,root,root) +%{_libdir}/libssh2.so +%{_includedir}/*.h +%{_mandir}/man3/* + +%changelog +* Tue Oct 14 2008 crrodriguez@suse.de +- rename package to avoid all sorts of conflicts with the other + "libssh" package +* Thu Aug 14 2008 crrodriguez@suse.de +- update current snap , version 20080814 + * Sean Peterson fixed a key re-exchange bug: + http://daniel.haxx.se/projects/libssh2/mail/libssh2-devel-archive-2008-06/0002.shtml +* Thu Jun 26 2008 crrodriguez@suse.de +- update to version 0.19.0-20080626, two bugfixes +* Mon Jun 23 2008 crrodriguez@suse.de +- no longer needs fno-strict-aliasing +* Mon Jun 23 2008 crrodriguez@suse.de +- update to libssh2-0.19.0-20080622 +* Sun Dec 23 2007 crrodriguez@suse.de +- update to 0.18 final +* Sat Sep 01 2007 crrodriguez@suse.de +- update snap +* Sat Apr 14 2007 judas_iscariote@shorewall.net +- update snapshot. diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4