Compare commits
9 Commits
Author | SHA1 | Date |
---|---|---|
Fedora Release Engineering | 009d3688ce | |
Jan F. Chadima | 75d1830fa4 | |
Jan F. Chadima | dbf805b498 | |
Rex Dieter | c927f7d006 | |
Jan F. Chadima | 82ca3071a0 | |
Jan F. Chadima | b0e523a136 | |
Jan F. Chadima | 357933cd00 | |
Bill Nottingham | 305d3ecc3e | |
Jesse Keating | 0e3d0e9945 |
|
@ -1 +0,0 @@
|
|||
libssh-0.2.tgz
|
|
@ -0,0 +1,2 @@
|
|||
libssh-0.4.4.tar.gz
|
||||
libssh-0.4.4.tar.gz.asc
|
21
Makefile
21
Makefile
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: libssh
|
||||
# $Id$
|
||||
NAME := libssh
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
|
@ -1 +0,0 @@
|
|||
libssh-0_2-2_fc11:HEAD:libssh-0.2-2.fc11.src.rpm:1237699857
|
|
@ -1,12 +0,0 @@
|
|||
diff -up libssh-0.2/libssh/Makefile.in.libdir libssh-0.2/libssh/Makefile.in
|
||||
--- libssh-0.2/libssh/Makefile.in.libdir 2009-06-01 17:36:23.726517145 +0200
|
||||
+++ libssh-0.2/libssh/Makefile.in 2009-06-01 17:37:31.506349284 +0200
|
||||
@@ -15,7 +15,7 @@ exec_prefix = @exec_prefix@
|
||||
bindir = $(exec_prefix)/bin
|
||||
incldir= $(prefix)/include
|
||||
infodir = $(prefix)/info
|
||||
-libdir = $(prefix)/lib/
|
||||
+libdir = @libdir@
|
||||
mandir = $(prefix)/man/man1
|
||||
|
||||
CC = @CC@
|
59
libssh.spec
59
libssh.spec
|
@ -1,26 +1,29 @@
|
|||
Name: libssh
|
||||
Version: 0.2
|
||||
Release: 4%{?dist}
|
||||
Version: 0.4.4
|
||||
Release: 1%{?dist}
|
||||
Summary: A library implementing the SSH2 protocol (0xbadc0de version)
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://0xbadc0de.be/?part=libssh
|
||||
Source0: http://0xbadc0de.be/libssh/%{name}-%{version}.tgz
|
||||
Patch0: libssh-0.2-libdir.patch
|
||||
#original URL: http://0xbadc0de.be/?part=libssh
|
||||
URL: http://www.libssh.org/
|
||||
Source0: http://www.libssh.org/files/%{name}-%{version}.tar.gz
|
||||
Source1: http://www.libssh.org/files/%{name}-%{version}.tar.gz.asc
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: cmake
|
||||
|
||||
%description
|
||||
The SSH library with
|
||||
-Full C library functions for manipulating a client-side SSH connection
|
||||
-Fully configurable sessions
|
||||
-Support for AES-128,AES-192,AES-256,blowfish, in cbc mode
|
||||
-use multiple SSH connections in a same process, at same time.
|
||||
-usable SFTP implementation
|
||||
-Public key and password authentication
|
||||
The ssh library was designed to be used by programmers needing a
|
||||
working SSH implementation by the mean of a library. The complete
|
||||
control of the client is made by the programmer. With libssh, you can
|
||||
remotely execute programs, transfer files, use a secure and transparent
|
||||
tunnel for your remote programs. With its Secure FTP implementation,
|
||||
you can play with remote files easily, without third-party programs
|
||||
others than libcrypto (from openssl).
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
|
@ -33,14 +36,16 @@ developing applications that use %{name}.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .libdir
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-shared
|
||||
make # doesn't build with %{?_smp_mflags}
|
||||
mkdir obj
|
||||
cd obj
|
||||
%cmake ..
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
cd obj
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} +
|
||||
chmod 644 $RPM_BUILD_ROOT/usr/include/libssh/*
|
||||
|
@ -54,7 +59,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS CHANGELOG COPYING README
|
||||
%doc AUTHORS BSD ChangeLog COPYING README
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
|
@ -63,6 +68,27 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%{_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Thu Jun 3 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.4-1
|
||||
- bounce versionn to 0.4.4 (#598592)
|
||||
|
||||
* Wed May 19 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.3-1
|
||||
- bounce versionn to 0.4.3 (#593288)
|
||||
|
||||
* Tue Mar 16 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.2-1
|
||||
- bounce versionn to 0.4.2 (#573972)
|
||||
|
||||
* Tue Feb 16 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.1-1
|
||||
- bounce versionn to 0.4.1 (#565870)
|
||||
|
||||
* Fri Dec 11 2009 Jan F. Chadima <jchadima@redhat.com> - 0.4.0-1
|
||||
- bounce versionn to 0.4.0 (#541010)
|
||||
|
||||
* Thu Nov 26 2009 Jan F. Chadima <jchadima@redhat.com> - 0.3.92-2
|
||||
- typo in spec file
|
||||
|
||||
* Thu Nov 26 2009 Jan F. Chadima <jchadima@redhat.com> - 0.3.92-1
|
||||
- bounce versionn to 0.3.92 (0.4 beta2) (#541010)
|
||||
|
||||
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.2-4
|
||||
- rebuilt with new openssl
|
||||
|
||||
|
@ -74,3 +100,4 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
* Mon Jun 01 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-1
|
||||
- Initial build
|
||||
|
||||
|
|
Loading…
Reference in New Issue