sks-ecc (0.93-1) debian-dir only changes

Summary

 debian/README.Debian                          |   10 +++
 debian/changelog                              |   34 +++++++++++++
 debian/compat                                 |    1 
 debian/control                                |   36 ++++++++++++++
 debian/copyright                              |   66 ++++++++++++++++++++++++++
 debian/patches/01_Makefile.patch              |   50 +++++++++++++++++++
 debian/patches/02_Manpage_binary_rename.patch |   34 +++++++++++++
 debian/patches/series                         |    2 
 debian/rules                                  |   62 ++++++++++++++++++++++++
 debian/sks-ecc-doc.dirs                       |    1 
 debian/sks-ecc-doc.docs                       |    2 
 debian/sks-ecc-doc.install                    |    1 
 debian/sks-ecc.dirs                           |    1 
 debian/sks-ecc.manpages                       |    1 
 14 files changed, 301 insertions(+)

    
download this patch

Patch contents

--- sks-ecc-0.93.orig/debian/patches/series
+++ sks-ecc-0.93/debian/patches/series
@@ -0,0 +1,2 @@
+01_Makefile.patch -p1
+02_Manpage_binary_rename.patch -p1
--- sks-ecc-0.93.orig/debian/patches/01_Makefile.patch
+++ sks-ecc-0.93/debian/patches/01_Makefile.patch
@@ -0,0 +1,50 @@
+Index: sks-ecc-0.93/Makefile
+===================================================================
+--- sks-ecc-0.93.orig/Makefile	2007-11-24 16:38:47.000000000 +0100
++++ sks-ecc-0.93/Makefile	2007-11-24 16:45:55.000000000 +0100
+@@ -15,11 +15,12 @@
+ # ***** Some defs/flags have mandatory alternative, some not
+ # ******************************
+ 
+-CFLAGS	+= -s
++#CFLAGS	+= -s
+ CFLAGS	+=  -DVERSION='"$(VER)"'
+ 
+-INST = /usr/local/bin
++#INST = /usr/local/bin
+ #INST = $(HOME)/bin
++INST = $(DESTDIR)/usr/bin
+ 
+ # ******* If you don't have 'libtommath' installed
+ LTM = tfm
+@@ -33,11 +34,11 @@
+ # specify architecture here
+ #ARCH=i386
+ #ARCH=pentium4
+-ARCH=k8
+-CFLAGS += -march=$(ARCH)
++#ARCH=k8
++#CFLAGS += -march=$(ARCH)
+ 
+ # specify language ES, EN or input as command-line option i.e.: 'make SLANG=0'
+-SLANG=$(ES)
++SLANG=$(EN)
+ 
+ CFLAGS	+= -DSKS_LANG=$(SLANG)
+ 
+@@ -49,7 +50,7 @@
+ #-Wsign-compare -W -Wno-unused -Wshadow -Werror
+ 
+ #  optimize for SPEED(don't include SIZE options)
+-CFLAGS += -O3 -funroll-loops
++CFLAGS += -O2 -funroll-loops
+ CFLAGS += -fomit-frame-pointer 
+ CFLAGS += -DFULLTABLES
+ 
+@@ -222,5 +223,5 @@
+ 	rm -f sks.exe
+ 	
+ install: sks
+-	cp sks $(INST)
++	cp sks $(INST)/sks-ecc
+ 
--- sks-ecc-0.93.orig/debian/patches/02_Manpage_binary_rename.patch
+++ sks-ecc-0.93/debian/patches/02_Manpage_binary_rename.patch
@@ -0,0 +1,34 @@
+Index: sks-ecc-0.93/sks.1
+===================================================================
+--- sks-ecc-0.93.orig/sks.1	2007-11-24 16:43:15.000000000 +0100
++++ sks-ecc-0.93/sks.1	2007-11-24 16:44:30.000000000 +0100
+@@ -1,16 +1,16 @@
+ ." Text automatically generated by txt2man-1.4.7
+-.TH SKS 1 "abril 21, 2006" "sks 0.92" ""
++.TH SKS-ECC 1 "abril 21, 2006" "sks-ecc 0.92" ""
+ .SH NAME
+-\fBsks \- Provides public key encryption/authentication
++\fBsks-ecc \- Provides public key encryption/authentication
+ \fB
+ .SH SYNOPSIS
+ .nf
+ .fam C
+-\fBsks\fP \fIcommand\fP [\fIargs\fP]
++\fBsks-ecc\fP \fIcommand\fP [\fIargs\fP]
+ .fam T
+ .fi
+ .SH DESCRIPTION
+-\fBsks\fP is a public key application for encryption/authentication, based on Elliptic Curve Cryptografy (ECC). Its minimalist design points to simple, light, fast, easy to use and multiplatform product, unencumbered by patents that is indeed distributed under GPL. All these features are given along with high quality cryptografy.
++\fBsks-ecc\fP is a public key application for encryption/authentication, based on Elliptic Curve Cryptografy (ECC). Its minimalist design points to simple, light, fast, easy to use and multiplatform product, unencumbered by patents that is indeed distributed under GPL. All these features are given along with high quality cryptografy.
+ .PP
+ Its cryptografic elements are:
+ .IP \(bu 3
+@@ -117,7 +117,7 @@
+ .SH BUGS
+ Report bugs to <mpancorbo@gmail.com>.
+ .SH COPYRIGHT
+-Copyright © 2004-2006 M. Pancorbo \- All Rights Reserved
++Copyright \(co 2004-2006 M. Pancorbo \- All Rights Reserved
+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, Inc.
+ .SH SEE ALSO
+ Complete manual and design notes (in spanish):
--- sks-ecc-0.93.orig/debian/changelog
+++ sks-ecc-0.93/debian/changelog
@@ -0,0 +1,34 @@
+sks-ecc (0.93-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control
+   + www-browser is now a suggest instead of a recommend.
+   + Homepage field added.
+
+ -- Nacho Barrientos Arias <nacho@debian.org>  Sat, 24 Nov 2007 16:34:12 +0100
+
+sks-ecc (0.92c-1) unstable; urgency=low
+
+  * New upstream release.
+   + Minor fix for 64-bit architectures.
+  * debian/rules
+   + Switching to quilt for patch management.
+   + Removing useless debhelper calls.
+  * debian/control
+   + Build-depending on quilt accordingly to debian/rules change.
+   + Now building using default GCC version (gcc-3.4 build-dep dropped).
+   + Sks-ecc-doc enhances sks-ecc instead of recommend it.
+   + Sks-ecc-doc now recommends www-browser virtual package.
+   + New maintainer email address.
+  * debian/README.Debian
+   + Minor changes.
+  * debian/patches
+   + Reorganized. All changes from orig file are now handled using quilt.
+
+ -- Nacho Barrientos Arias <nacho@debian.org>  Tue, 29 May 2007 19:53:20 +0200
+
+sks-ecc (0.92b-1) unstable; urgency=low
+
+  * Initial release (Closes: #362793) 
+
+ -- Nacho Barrientos Arias <chipi@criptonita.com>  Sun,  7 May 2006 16:15:18 +0200
--- sks-ecc-0.93.orig/debian/rules
+++ sks-ecc-0.93/debian/rules
@@ -0,0 +1,62 @@
+#!/usr/bin/make -f
+
+include /usr/share/quilt/quilt.make
+
+configure: configure-stamp
+configure-stamp: patch
+	dh_testdir
+	touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean: unpatch 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	[ ! -f $(CURDIR)/sks-ecc.1 ] || rm $(CURDIR)/sks-ecc.1
+	$(MAKE) clean
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	cp $(CURDIR)/sks.1 $(CURDIR)/sks-ecc.1
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/sks-ecc
+
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i
+	dh_installdocs -i
+	dh_install -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a
+	dh_installdocs -a
+	dh_installman -a
+	dh_shlibdeps -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- sks-ecc-0.93.orig/debian/control
+++ sks-ecc-0.93/debian/control
@@ -0,0 +1,36 @@
+Source: sks-ecc
+Section: utils
+Priority: optional
+Maintainer: Nacho Barrientos Arias <nacho@debian.org>
+Uploaders: Ricardo Mones <mones@debian.org>
+Build-Depends: debhelper (>= 5), zlib1g-dev, quilt 
+Standards-Version: 3.7.2
+Homepage: http://sks.merseine.nu
+
+Package: sks-ecc
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: sks-ecc-doc
+Description: Cryptographic tool based on ECC
+ SKS is a public-key, command-line application for encryption/authentication,
+ based on Elliptic Curve Cryptography (ECC). His minimalist design points to
+ a simple, light, fast, easy-to-use and multiplatform software. All these 
+ features are satisfied with this high quality cryptography kit that has 
+ the following elements:
+ .
+  * Public key module: elliptic curve over GF (2^191).
+  * Symmetric-key module: AES 192-bits key, with CTR mode.
+  * Hash (for signatures, HMAC and passwords): TIGER (192 bits).
+  * PRNG module.
+
+Package: sks-ecc-doc
+Section: doc
+Enhances: sks-ecc
+Suggests: www-browser
+Architecture: all
+Description: Documentation for sks-ecc, a cryptographic tool based on ECC
+ SKS is a public-key, command-line application for encryption/authentication,
+ based on Elliptic Curve Cryptography (ECC). 
+ .
+ This package provides original README file and the user guide shipped in 
+ upstream's tarball (written in Spanish).
--- sks-ecc-0.93.orig/debian/compat
+++ sks-ecc-0.93/debian/compat
@@ -0,0 +1 @@
+5
--- sks-ecc-0.93.orig/debian/copyright
+++ sks-ecc-0.93/debian/copyright
@@ -0,0 +1,66 @@
+This package was debianized by Nacho Barrientos Arias <nacho@debian.org> on
+Sat, 15 Apr 2006 15:13:18 +0200.
+
+Copyright (C) 2004-2006, Manuel Pancorbo Castro <mpancorbo@gmail.com>
+
+It was downloaded from http://sks.merseine.nu/
+
+License:
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program 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 General Public License for more details.
+
+On Debian GNU/Linux systems, a full copy of GNU License, can be found at 
+/usr/share/common-licenses/GPL.
+
+This software includes code developed by Tom St Denis as a group of 
+mathematical and crypto libs (libtommath and libtomcrypto):
+License: 
+
+ These kits are categorized as public domain.
+
+More info on http://libtomcrypt.com/
+
+Sources contain part of zlib sources, but aren't used in Debian package 
+building (See README.Debian)
+License:
+
+ (C) 1995-2003 Jean-loup Gailly and Mark Adler
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+
+  Jean-loup Gailly        Mark Adler
+  jloup@gzip.org          madler@alumni.caltech.edu
+
+If you use the zlib library in a product, we would appreciate *not*
+receiving lengthy legal documents to sign. The sources are provided
+for free but without warranty of any kind.  The library has been
+entirely written by Jean-loup Gailly and Mark Adler; it does not
+include third-party code.
+
+If you redistribute modified sources, we would appreciate that you include
+in the file ChangeLog history information documenting your changes. Please
+read the FAQ for more information on the distribution of modified source
+versions.
+
--- sks-ecc-0.93.orig/debian/README.Debian
+++ sks-ecc-0.93/debian/README.Debian
@@ -0,0 +1,10 @@
+sks-ecc Debian notes
+--------------------
+
+Although zlib sources are included in sks-ecc orig file, the package is 
+configured to dynamic link (at runtime) with Debian's zlib package. 
+
+You should be able to get extra documentation (only Spanish) installing 
+sks-ecc-doc package.
+
+-- Nacho Barrientos Arias <nacho@debian.org>
--- sks-ecc-0.93.orig/debian/sks-ecc.dirs
+++ sks-ecc-0.93/debian/sks-ecc.dirs
@@ -0,0 +1 @@
+usr/bin
--- sks-ecc-0.93.orig/debian/sks-ecc-doc.docs
+++ sks-ecc-0.93/debian/sks-ecc-doc.docs
@@ -0,0 +1,2 @@
+README.txt
+LEEME.txt
--- sks-ecc-0.93.orig/debian/sks-ecc-doc.dirs
+++ sks-ecc-0.93/debian/sks-ecc-doc.dirs
@@ -0,0 +1 @@
+usr/share/doc/sks-ecc-doc/usersguide-es/
--- sks-ecc-0.93.orig/debian/sks-ecc.manpages
+++ sks-ecc-0.93/debian/sks-ecc.manpages
@@ -0,0 +1 @@
+sks-ecc.1
--- sks-ecc-0.93.orig/debian/sks-ecc-doc.install
+++ sks-ecc-0.93/debian/sks-ecc-doc.install
@@ -0,0 +1 @@
+doc/* /usr/share/doc/sks-ecc-doc/usersguide-es/