From 223385e5712ed0ed61e7464edd493b1d4b9291b5 Mon Sep 17 00:00:00 2001 From: Zhang Qiang Date: Thu, 3 Apr 2014 16:47:45 +0800 Subject: [PATCH] Add packaging files Change-Id: I530a2279d2b435c7c5b05351efe514137e471c48 --- .gbp.conf | 14 +++++ debian/changelog | 141 +++++++++++++++++++++++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 27 +++++++++ debian/copyright | 30 ++++++++++ debian/docs | 3 + debian/rules | 67 ++++++++++++++++++++++ 7 files changed, 283 insertions(+) create mode 100644 .gbp.conf create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100755 debian/rules diff --git a/.gbp.conf b/.gbp.conf new file mode 100644 index 0000000..6fb9953 --- /dev/null +++ b/.gbp.conf @@ -0,0 +1,14 @@ +[DEFAULT] +upstream-tag = upstream/%(version)s +patch-export = True +patch-export-ignore-path = (.gbp.conf|.gbs.conf|packaging/.*|debian/.*|.gitignore) +packaging-dir = packaging + +[git-buildpackage] +upstream-tag = upstream/%(version)s + +[git-dch] +upstream-tag = upstream/%(version)s + +[gbp-pq-rpm] +pq-branch = patch-queue/%(branch)s diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..26b9320 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,141 @@ +crypt-ssleay (0.64) precise; urgency=low + + * d/p/sslv2.patch: Add patch from Andreas J. König to disable sslv2 + Ubuntu's Openssl disabled sslv2, making this module fail to load. + (LP: #777848, #935271) + + -- Andreas Moog Mon, 27 Feb 2012 18:00:28 +0100 + +crypt-ssleay (0.57-2build2) precise; urgency=low + + * Rebuild for Perl 5.14. + + -- Colin Watson Tue, 15 Nov 2011 22:07:19 +0000 + +crypt-ssleay (0.57-2build1) oneiric; urgency=low + + * Rebuild for Perl 5.12. + + -- Colin Watson Mon, 09 May 2011 00:11:21 +0100 + +crypt-ssleay (0.57-2) unstable; urgency=low + + * debian/control updated Standards-Version (no changes needed) + * debian/control debian/compat updated compat level (lintian warning) + * debian/control remove URL in description because we now + have the Homepage: + + -- Noèl Köthe Fri, 24 Jul 2009 10:45:37 +0200 + +crypt-ssleay (0.57-1) unstable; urgency=low + + * new upstream release from 2007-09-17 + * debian/control updated Standards-Version + * debian/control added Homepage field + * fix debian-rules-ignores-make-clean-error lintian error + * added two example testscripts from the source package + (closes: #466055) + + -- Noèl Köthe Sun, 23 Mar 2008 14:59:38 +0100 + +crypt-ssleay (0.55-1) unstable; urgency=low + + * new upstream release from 2007-06-01 + * updated Standards-Version without changes + * corrected PWD lintian warning + + -- Noèl Köthe Mon, 18 Jun 2007 17:10:31 +0200 + +crypt-ssleay (0.51-5) unstable; urgency=low + + * Thanks for this "we dont inform mainatiner about this NMU":( + Closes: #334938, #334935 + + -- Noèl Köthe Sun, 23 Oct 2005 15:33:32 +0200 + +crypt-ssleay (0.51-4.1) unstable; urgency=high + + * Non-maintainer upload. + * Use SSL_library_init() before doing anything. closes: #334938, #334935 + + -- Joshua Kwan Sat, 22 Oct 2005 23:53:44 -0700 + +crypt-ssleay (0.51-4) unstable; urgency=low + + * added missing ${shlibs:Depends}; Thanks Matej + (closes: Bug#333782) + * updated Standards-Version + + -- Noèl Köthe Thu, 13 Oct 2005 21:51:30 +0200 + +crypt-ssleay (0.51-3) unstable; urgency=low + + * fixed typo in description + (closes: Bug#300000) + + -- Noèl Köthe Thu, 24 Mar 2005 18:00:37 +0100 + +crypt-ssleay (0.51-2) unstable; urgency=low + + * new maintainer. took from qa + (closes: Bug#279755) + * added homepage to description + + -- Noèl Köthe Sun, 07 Nov 2004 01:34:18 +0100 + +crypt-ssleay (0.51-1) unstable; urgency=low + + * New upstream release + + -- Stephen Zander Tue, 2 Mar 2004 00:46:34 -0800 + +crypt-ssleay (0.49-1) unstable; urgency=low + + * New maintainer + * New upstream release. + * All NMU changes merged into CVS, + Closes: #99388, #102354, #162465 + + -- Stephen Zander Mon, 24 Feb 2003 06:33:56 -0800 + +crypt-ssleay (0.45-1) unstable; urgency=low + + * New upstream release + * Added Perl copyright statement (Closes: #157530) + + -- Javier Fernandez-Sanguino Pen~a Mon, 20 Jan 2003 21:23:58 +0100 + +crypt-ssleay (0.29-3) unstable; urgency=low + + * Applied Brendan O'Dea's patch (thanks!) which adapts to perl + properly and following policy (Closes: #162017, #114597) + + -- Javier Fernandez-Sanguino Pen~a Wed, 25 Sep 2002 11:13:04 +0200 + +crypt-ssleay (0.29-2) unstable; urgency=low + + * Added build-depends for debhelper (Closes: #111982) + + -- Javier Fernandez-Sanguino Pen~a Tue, 11 Sep 2001 23:35:17 +0200 + +crypt-ssleay (0.29-1) unstable; urgency=low + + * New upstream release (Closes: #99388, #102354) + * Fixed lintian problems. + + -- Javier Fernandez-Sanguino Pen~a Sun, 9 Sep 2001 03:11:04 +0200 + +crypt-ssleay (0.23-2) unstable; urgency=low + + * Fixed dependancies (Closes: #95546, #108214) + + -- Javier Fernandez-Sanguino Pen~a Sat, 11 Aug 2001 12:46:02 +0200 + +crypt-ssleay (0.23-1) unstable; urgency=low + + * Initial Release. + * (Almost) Lintian clean, don't know how to fix the only warning given, though. + + -- Javier Fernandez-Sanguino Pen~a Mon, 9 Apr 2001 12:13:56 +0200 + + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3b225b3 --- /dev/null +++ b/debian/control @@ -0,0 +1,27 @@ +Source: crypt-ssleay +Section: perl +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Noèl Köthe +Standards-Version: 3.8.2 +Build-Depends: debhelper (>> 5.0.0), perl (>> 5.8.1), dpatch, cdbs, libssl-dev (>=0.9.8), openssl +Homepage: http://search.cpan.org/dist/Crypt-SSLeay/ + +Package: libcrypt-ssleay-perl +Architecture: any +Depends: ${shlibs:Depends}, ${perl:Depends}, libmime-base64-perl, liburi-perl +Description: Support for https protocol in LWP + This perl module provides support for the https protocol under LWP, so + that an LWP::UserAgent can make https GET & HEAD & POST requests. Please + see perldoc LWP for more information on POST requests. + . + The Crypt::SSLeay package contains Net::SSL, which is automatically + loaded by LWP::Protocol::https on https requests, and provides the + necessary SSL glue for that module to work via these deprecated modules: + Crypt::SSLeay::CTX, Crypt::SSLeay::Conn and Crypt::SSLeay::X509. + . + Work on Crypt::SSLeay has been continued only to provide https support + for the LWP - libwww perl libraries. If you want access to the OpenSSL + API via perl, check out Sampo's Net::SSLeay (available in Debian as + the libnet-ssleay-perl package). + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2c26b84 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by +Javier Fernandez-Sanguino Pen~a Mon, 9 Apr 2001 12:13:56 +0200 +Stephen Zander Mon, 24 Feb 2003 06:33:56 -0800 +Noèl Köthe Sun, 07 Nov 2004 01:34:18 +0100 + +It was downloaded from http://search.cpan.org/dist/Crypt-SSLeay/ + +From the README: + +COPYRIGHT + Copyright (c) 1999-2003 Joshua Chamas. + Copyright (c) 1998 Gisle Aas. + + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + +Perl is distributed under either the Artistic licence or the GPL. + +The full text of the GPL is available on Debian systems in +/usr/share/common-licenses/GPL + +The full text of the Artistic Licence is available on Debian systems in +/usr/share/common-licenses/Artistic. + +This package has been through multiple maintainers (for a list see +/usr/share/doc/libcrypt-ssleay-perl/changelog.Debian.gz). + +Current Debian specific changes are copyright (c) 2003 +Stephen Zander + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..8d8bf33 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +README +eg/* + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..518fc2e --- /dev/null +++ b/debian/rules @@ -0,0 +1,67 @@ +#! /usr/bin/make -f +# -*-makefile-*- +# debian/rules file for libcrypt-ssleay-perl + +PERL ?= /usr/bin/perl + +package := $(firstword $(shell dh_listpackages)) +prefix := $(CURDIR)/debian/$(package)/usr + +cflags := -g -Wall +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +cflags += -O2 +else +cflags += -O0 +endif + +export CFLAGS=$(cflags) +export CXXFLAGS=$(cflags) + +version := $(shell dpkg-parsechangelog | \ + sed -ne 's/^Version: *\([0-9]\+:\)*//p') + +tag: + cvs tag -c -F $(subst .,_,debian_version_$(version)) +ifeq ($(findstring -,$(version)),) + cvs tag -c -F $(subst .,_,upstream_version_$(version)) +endif + +build: build-stamp +build-stamp: + dh_testdir + $(PERL) ./Makefile.PL --default INSTALLDIRS=vendor PERL=$(PERL) + $(MAKE) LD_RUN_PATH= + touch $@ + +clean: checkroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +binary-indep: checkroot build + +binary-arch: checkroot build + dh_clean + dh_installdirs + + $(MAKE) pure_install PREFIX=$(prefix) + + dh_installchangelogs Changes + + dh_strip + dh_compress + dh_fixperms + dh_perl + dh_shlibdeps + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +checkroot: + dh_testdir + dh_testroot + +.PHONY: binary binary-arch binary-indep clean checkroot build -- 2.34.1