From 65659ac1ba29eafb8cda7c4c63360329b52f0fb2 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Thu, 16 Nov 2006 23:27:25 +0000 Subject: Debian packaging ! and adding of the packager into authors git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@85 7dcaeef0-15fb-0310-b436-a5af3365683c --- AUTHORS | 8 ++++++-- debian/changelog | 6 ++++++ debian/compat | 1 + debian/control | 43 +++++++++++++++++++++++++++++++++++++++++++ debian/copyright | 31 +++++++++++++++++++++++++++++++ debian/libssh-dev.docs | 1 + debian/libssh-dev.install | 2 ++ debian/libssh-dev.manpages | 1 + debian/libssh2.install | 1 + debian/rules | 22 ++++++++++++++++++++++ debian/watch | 22 ++++++++++++++++++++++ 11 files changed, 136 insertions(+), 2 deletions(-) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/libssh-dev.docs create mode 100644 debian/libssh-dev.install create mode 100644 debian/libssh-dev.manpages create mode 100644 debian/libssh2.install create mode 100644 debian/rules create mode 100644 debian/watch diff --git a/AUTHORS b/AUTHORS index 1a5d1bcb..bdf5fd43 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,9 +1,13 @@ Author(s): -Aris Adamantiadis (aka spacewalker) +Aris Adamantiadis (project initiator) -Contributor(s): Nick Zitzmann (mostly client SFTP stuff) Norbert Kiesel (getaddrinfo and other patches) Jean-Philippe Garcia Ballester (Port to libgcrypt and configure.in voodoo) + +Contributor(s): + +Laurent Bigonville (debian packaging) + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..ac40eb26 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +libssh (0.2~svn20061116-1) unstable; urgency=low + + * Initial release (Closes: #316872) + + -- Laurent Bigonville Thu, 16 Nov 2006 20:44:31 +0100 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..cfec3979 --- /dev/null +++ b/debian/control @@ -0,0 +1,43 @@ +Source: libssh +Section: libs +Priority: optional +Maintainer: Laurent Bigonville +Build-Depends: cdbs, debhelper (>= 5.0.0), libgcrypt11-dev, zlib1g-dev, doxygen +Standards-Version: 3.7.2 + +Package: libssh2 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A tiny C SSH library + 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 SFTP implementation, you can play with remote files easily. + +Package: libssh-dev +Section: libdevel +Architecture: any +Depends: libssh2 (= ${Source-Version}), libgcrypt11-dev, zlib1g-dev +Description: A tiny C SSH library. Development files and documentation + 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 SFTP implementation, you can play with remote files easily. + . + This package contains development files. + +Package: libssh2-dbg +Section: libdevel +Architecture: any +Depends: libssh2 (= ${Source-Version}) +Description: A tiny C SSH library. Debug symbols + 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 SFTP implementation, you can play with remote files easily. + . + This package contains debug symbols. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..31333b0d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Laurent Bigonville on +Thu, 16 Nov 2006 20:34:01 +0100. + +It was downloaded from http://www.0xbadc0de.be/ + +Upstream Author: Aris Adamantiadis (aka spacewalker) + +Copyright: 2003 Aris Adamantiadis + +License: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + + +The Debian packaging is (C) 2006, Laurent Bigonville and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/debian/libssh-dev.docs b/debian/libssh-dev.docs new file mode 100644 index 00000000..7ac84968 --- /dev/null +++ b/debian/libssh-dev.docs @@ -0,0 +1 @@ +doxygen/html/ diff --git a/debian/libssh-dev.install b/debian/libssh-dev.install new file mode 100644 index 00000000..9d25b38b --- /dev/null +++ b/debian/libssh-dev.install @@ -0,0 +1,2 @@ +debian/tmp/usr/include/* +debian/tmp/usr/lib/libssh.{a,la,so} diff --git a/debian/libssh-dev.manpages b/debian/libssh-dev.manpages new file mode 100644 index 00000000..ff25dc07 --- /dev/null +++ b/debian/libssh-dev.manpages @@ -0,0 +1 @@ +doxygen/man/man3/ssh_* diff --git a/debian/libssh2.install b/debian/libssh2.install new file mode 100644 index 00000000..7014e290 --- /dev/null +++ b/debian/libssh2.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libssh.so.* diff --git a/debian/rules b/debian/rules new file mode 100644 index 00000000..95c02b96 --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses cdbs. Originaly written by Robert Millan. +# This file is public domain. + +DEB_AUTO_CLEANUP_RCS := yes + +# Add here any variable or target overrides you need + + +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk +#include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_CONFIGURE_EXTRA_FLAGS = --with-libgcrypt --with-ssh1 +DEB_DBG_PACKAGE_libssh2 = libssh2-dbg + +clean:: + rm -rf .libs/ + rm -rf doxygen/ + +install/libssh-dev:: + doxygen diff --git a/debian/watch b/debian/watch new file mode 100644 index 00000000..59aaea3c --- /dev/null +++ b/debian/watch @@ -0,0 +1,22 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +#http://www.example.com/downloads.php libssh-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +http://0xbadc0de.be/libssh/libssh-(.*)\.tgz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/libssh-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for debscripts >= 2.9 +# http://sf.net/libssh/libssh-(.*)\.tar\.gz + + -- cgit v1.2.3