/branches/experimental/debian/nettle-dev.doc-base |
---|
File deleted |
/branches/experimental/debian/nettle-dev.install |
---|
File deleted |
/branches/experimental/debian/nettle-bin.links |
---|
File deleted |
/branches/experimental/debian/sexp-conv.1 |
---|
File deleted |
/branches/experimental/debian/nettle-dev.info |
---|
File deleted |
/branches/experimental/debian/nettle-bin.install |
---|
File deleted |
/branches/experimental/debian/nettle-dev.docs |
---|
File deleted |
/branches/experimental/debian/nettle-dev.examples |
---|
File deleted |
/branches/experimental/debian/libnettle3.install |
---|
File deleted |
/branches/experimental/debian/libhogweed1.links |
---|
File deleted |
/branches/experimental/debian/libnettle3.docs |
---|
File deleted |
/branches/experimental/debian/libhogweed1.install |
---|
File deleted |
/branches/experimental/debian/patches/10_cleanup.dpatch |
---|
0,0 → 1,21 |
#! /bin/sh /usr/share/dpatch/dpatch-run |
## 10_cleanup.dpatch by <magnus@kibibyte.se> |
## |
## DP: Clean up properly |
@DPATCH@ |
--- nettle-1.15.orig/Makefile.in |
+++ nettle-1.15/Makefile.in |
@@ -359,9 +359,10 @@ |
clean-here: |
-rm -f $(TARGETS) *.$(OBJEXT) *.p$(OBJEXT) *.s |
+ -rm -rf .lib |
distclean-here: clean-here |
- -rm -f config.h stamp-h config.log config.status \ |
+ -rm -f config.h stamp-h config.log config.status machine.m4 \ |
config.make config.m4 Makefile nettle-stdint.h *.asm *.d |
maintainer-clean-here: |
/branches/experimental/debian/patches/00list |
---|
1,2 → 1,3 |
10_cleanup |
20_link_with_gmp |
99_autotools_files |
/branches/experimental/debian/patches/20_link_with_gmp.dpatch |
---|
1,18 → 1,18 |
#! /bin/sh /usr/share/dpatch/dpatch-run |
## 20_link_with_gmp.dpatch by <magnus@kibibyte.se> |
## |
## DP: Link libhogweed.so.1 with -lgmp |
## DP: Link libnettle.so.2 with -lgmp |
@DPATCH@ |
diff -urNad nettle-1.15~/config.make.in nettle-1.15/config.make.in |
--- nettle-1.15~/config.make.in 2006-11-28 16:30:24.000000000 +0100 |
+++ nettle-1.15/config.make.in 2007-05-15 12:53:54.000000000 +0200 |
@@ -39,7 +39,7 @@ |
LIBHOGWEED_SONAME = @LIBHOGWEED_SONAME@ |
LIBHOGWEED_FILE = @LIBHOGWEED_FILE@ |
LIBHOGWEED_FORLINK = @LIBHOGWEED_FORLINK@ |
-LIBHOGWEED_LIBS = @LIBHOGWEED_LIBS@ |
+LIBHOGWEED_LIBS = @LIBHOGWEED_LIBS@ -lgmp -L. -lnettle |
LIBHOGWEED_LINK = @LIBHOGWEED_LINK@ |
AR = ar |
@@ -28,7 +28,7 @@ |
SHLIBFILE = @SHLIBFILE@ |
SHLIBFORLINK = @SHLIBFORLINK@ |
SHLIBINSTALL = @SHLIBINSTALL@ |
-SHLIBLIBS = @SHLIBLIBS@ |
+SHLIBLIBS = @SHLIBLIBS@ -lgmp |
SHLIBLINK = @SHLIBLINK@ |
SHLIBMAJOR = @SHLIBMAJOR@ |
SHLIBMINOR = @SHLIBMINOR@ |
/branches/experimental/debian/rules |
---|
14,7 → 14,6 |
CFLAGS = -Wall -g |
LDFLAGS = -Wl,--as-needed |
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
CFLAGS += -O0 |
28,14 → 27,13 |
config.status: ${DPATCH_STAMPFN} configure |
dh_testdir |
# Add here commands to configure the package. |
./configure --host=$(DEB_HOST_GNU_TYPE) \ |
--build=$(DEB_BUILD_GNU_TYPE) \ |
--prefix=/usr \ |
--mandir=\$${prefix}/share/man \ |
--infodir=\$${prefix}/share/info \ |
--enable-shared \ |
--disable-dependency-tracking \ |
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" |
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ |
--build=$(DEB_BUILD_GNU_TYPE) \ |
--prefix=/usr \ |
--mandir=\$${prefix}/share/man \ |
--infodir=\$${prefix}/share/info \ |
--enable-shared \ |
--disable-dependency-tracking |
build: build-stamp |
43,10 → 41,7 |
dh_testdir |
# Add here commands to compile the package. |
$(MAKE) MAKEINFO='makeinfo --enable-encoding' |
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) |
$(MAKE) check |
endif |
$(MAKE) |
touch build-stamp |
69,7 → 64,7 |
# Add here commands to install the package into debian/tmp |
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp |
# mv $(CURDIR)/debian/tmp/usr/bin/sexp-conv $(CURDIR)/debian/tmp/usr/bin/sexp-conv.nettle |
mv $(CURDIR)/debian/tmp/usr/bin/sexp-conv $(CURDIR)/debian/tmp/usr/bin/sexp-conv.nettle |
# Build architecture-independent files here. |
binary-indep: build install |
79,17 → 74,17 |
binary-arch: build install |
dh_testdir |
dh_testroot |
dh_install --sourcedir=debian/tmp |
dh_link |
dh_movefiles |
dh_installchangelogs ChangeLog |
dh_installdocs |
dh_installexamples |
dh_installinfo |
dh_installman |
dh_link |
dh_strip |
dh_compress -X.pdf |
dh_compress |
dh_fixperms |
dh_makeshlibs #-V 'libnettle2 (>= 1.15)' |
dh_makeshlibs -V 'libnettle2 (>= 1.15)' |
dh_installdeb |
dh_shlibdeps |
dh_gencontrol |
/branches/experimental/debian/changelog |
---|
1,33 → 1,3 |
nettle (1.16~cvs20070603-1) experimental; urgency=low |
* Upstream CVS snapshot splitting off public-key algorithms as |
libhogweed1. |
- Drop 10_cleanup.dpatch; incorporated upstream. |
- Rename libnettle-dev as nettle-dev. |
* No longer install sexp-conv as an alternative; conflict with lsh-utils |
(<< 2.0.3-2, which is anticipated to stop shipping an identical |
sexp-conv and depend on nettle-bin instead). |
* Link with --as-needed to avoid unnecessary NEEDED tags. |
-- Magnus Holmgren <magnus@kibibyte.se> Wed, 06 Jun 2007 15:28:29 +0200 |
nettle (1.15-3) unstable; urgency=low |
* Use dh_install instead of dh_movefiles. |
* Run "make check" by default. |
* Ship nettle.pdf in libnettle-dev. |
* Include PDF and Info formats in doc-base control file. |
* Clean up the libnettle-dev examples directory. There should only be |
source files. Note that most of the examples aren't made to be |
compiled outside of the nettle source tree, except sha-example.c, |
which is the example found in the documentation. |
* Move descore.README and TODO from libnettle2.docs to |
libnettle-dev.docs, and also add README and NEWS to the latter. |
* Make debian/copyright more correct. |
* Add pkcs1-conv to nettle-bin package description. |
-- Magnus Holmgren <magnus@kibibyte.se> Wed, 06 Jun 2007 14:35:13 +0200 |
nettle (1.15-2) unstable; urgency=high |
* Fix serious regression: The -lgmp added in 1.8-1 fell off in 1.15-1 |
/branches/experimental/debian/control |
---|
2,16 → 2,16 |
Section: libs |
Priority: optional |
Maintainer: Magnus Holmgren <magnus@kibibyte.se> |
Build-Depends: debhelper (>= 4), libgmp3-dev, m4, autotools-dev, dpatch |
Build-Depends: debhelper (>= 4.0.0), libgmp3-dev, m4, autotools-dev, dpatch |
Standards-Version: 3.7.2 |
XS-Vcs-Svn: svn://svn.kibibyte.se/nettle/branches/experimental |
XS-Vcs-Svn: svn://svn.kibibyte.se/nettle/trunk |
XS-Vcs-Browser: http://svn.kibibyte.se/nettle |
Package: libnettle3 |
Package: libnettle2 |
Section: libs |
Architecture: any |
Depends: ${shlibs:Depends}, ${misc:Depends} |
Description: low level cryptographic library (symmetric and one-way cryptos) |
Description: low level cryptographic library |
Nettle is a cryptographic library that is designed to fit easily in more or |
less any context: In crypto toolkits for object-oriented languages (C++, |
Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel |
26,31 → 26,10 |
. |
Homepage: http://www.lysator.liu.se/~nisse/nettle/ |
Package: libhogweed1 |
Section: libs |
Architecture: any |
Depends: ${shlibs:Depends}, ${misc:Depends} |
Description: low level cryptographic library (public-key cryptos) |
Nettle is a cryptographic library that is designed to fit easily in more or |
less any context: In crypto toolkits for object-oriented languages (C++, |
Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel |
space. |
. |
It tries to solve a problem of providing a common set of cryptographic |
algorithms for higher-level applications by implementing a |
context-independent set of cryptographic algorithms. In that light, Nettle |
doesn't do any memory allocation or I/O, it simply provides the |
cryptographic algorithms for the application to use in any environment and |
in any way it needs. |
. |
Homepage: http://www.lysator.liu.se/~nisse/nettle/ |
Package: nettle-dev |
Package: libnettle-dev |
Section: libdevel |
Architecture: any |
Depends: libnettle3 (= ${binary:Version}), libhogweed1 (= ${binary:Version}), libgmp3-dev |
Replaces: libnettle-dev |
Conflicts: libnettle-dev |
Depends: libnettle2 (= ${binary:Version}), libgmp3-dev |
Description: low level cryptographic library (development files) |
Nettle is a cryptographic library that is designed to fit easily in more or |
less any context: In crypto toolkits for object-oriented languages (C++, |
72,8 → 51,7 |
Section: misc |
Architecture: any |
Depends: ${shlibs:Depends}, ${misc:Depends} |
Suggests: lsh-utils-doc | lsh-doc |
Conflicts: libnettle1, lsh-utils (<< 2.0.3-2) |
Conflicts: libnettle1 |
Description: low level cryptographic library (binary tools) |
Nettle is a cryptographic library that is designed to fit easily in more or |
less any context: In crypto toolkits for object-oriented languages (C++, |
93,6 → 71,5 |
lfib (non-cryptographic) pseudorandom generator. |
- sexp-conv - conversion tool for handling the different flavours of sexp |
syntax. |
- pkcs1-conv - converts PKCS#1 keys to sexp format. |
. |
Homepage: http://www.lysator.liu.se/~nisse/nettle/ |
/branches/experimental/debian/nettle-bin.postinst |
---|
0,0 → 1,53 |
#! /bin/sh |
# postinst script for pike7.6 |
# |
# see: dh_installdeb(1) |
# |
# $Id: postinst,v 1.9 2004/04/30 17:12:43 grendel Exp $ |
# |
set -e |
PIKE=7.6 |
PIKEBIN=pike${PIKE} |
# summary of how this script can be called: |
# * <postinst> `configure' <most-recently-configured-version> |
# * <old-postinst> `abort-upgrade' <new version> |
# * <conflictor's-postinst> `abort-remove' `in-favour' <package> |
# <new-version> |
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' |
# <failed-install-package> <version> `removing' |
# <conflicting-package> <version> |
# for details, see http://www.debian.org/doc/debian-policy/ or |
# the debian-policy package |
# |
# quoting from the policy: |
# Any necessary prompting should almost always be confined to the |
# post-installation script, and should be protected with a conditional |
# so that unnecessary prompting doesn't happen if a package's |
# installation fails and the `postinst' is called with `abort-upgrade', |
# `abort-remove' or `abort-deconfigure'. |
case "$1" in |
configure) |
/usr/sbin/update-alternatives --install /usr/bin/sexp-conv sexp-conv /usr/bin/sexp-conv.nettle 10 \ |
--slave /usr/share/man/man1/sexp-conv.1.gz sexp-conv.1.gz /usr/share/man/man1/sexp-conv.nettle.1.gz |
;; |
abort-upgrade|abort-remove|abort-deconfigure) |
;; |
*) |
echo "postinst called with unknown argument \`$1'" >&2 |
exit 1 |
;; |
esac |
# dh_installdeb will replace this with shell code automatically |
# generated by other debhelper scripts. |
#DEBHELPER# |
exit 0 |
/branches/experimental/debian/libnettle-dev.docs |
---|
0,0 → 1,0 |
nettle.html |
/branches/experimental/debian/nettle-bin.prerm |
---|
0,0 → 1,41 |
#! /bin/sh |
# prerm script for pike7.6 |
# |
# see: dh_installdeb(1) |
# |
# $Id: prerm,v 1.7 2004/04/30 17:12:43 grendel Exp $ |
# |
set -e |
# summary of how this script can be called: |
# * <prerm> `remove' |
# * <old-prerm> `upgrade' <new-version> |
# * <new-prerm> `failed-upgrade' <old-version> |
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> |
# * <deconfigured's-prerm> `deconfigure' `in-favour' |
# <package-being-installed> <version> `removing' |
# <conflicting-package> <version> |
# for details, see http://www.debian.org/doc/debian-policy/ or |
# the debian-policy package |
case "$1" in |
remove|upgrade|deconfigure) |
update-alternatives --remove sexp-conv /usr/bin/sexp-conv.nettle |
;; |
failed-upgrade) |
;; |
*) |
echo "prerm called with unknown argument \`$1'" >&2 |
exit 1 |
;; |
esac |
# dh_installdeb will replace this with shell code automatically |
# generated by other debhelper scripts. |
#DEBHELPER# |
exit 0 |
/branches/experimental/debian/libnettle-dev.info |
---|
0,0 → 1,0 |
nettle.info |
/branches/experimental/debian/nettle-bin.manpages |
---|
1,0 → 0,0 |
debian/sexp-conv.1 |
debian/sexp-conv.nettle.1 |
/branches/experimental/debian/libnettle2.docs |
---|
0,0 → 1,4 |
descore.README |
NEWS |
README |
TODO |
/branches/experimental/debian/libnettle-dev.dirs |
---|
0,0 → 1,2 |
usr/lib |
usr/include |
/branches/experimental/debian/libnettle-dev.files |
---|
0,0 → 1,5 |
usr/include/* |
usr/lib/lib*.a |
usr/lib/lib*.so |
usr/lib/pkgconfig/* |
usr/lib/*.la |
/branches/experimental/debian/nettle-bin.files |
---|
0,0 → 1,0 |
/usr/bin/* |
/branches/experimental/debian/libnettle2.dirs |
---|
0,0 → 1,0 |
usr/lib |
/branches/experimental/debian/libnettle2.files |
---|
0,0 → 1,0 |
usr/lib/lib*.so.* |
/branches/experimental/debian/copyright |
---|
1,6 → 1,5 |
This package was debianized by Marek Habersack <grendel@debian.org> on |
Tue, 4 Nov 2003 18:23:07 +0100. |
The current Debian maintainer is Magnus Holmgren <magnus@kibibyte.se>. |
It was downloaded from http://www.lysator.liu.se/~nisse/nettle/ |
8,12 → 7,6 |
Copyright: |
Copyright © 2001-2006 Niels Möller |
Some parts are Copyright © the Free Software Foundation and various |
people. See below and source code comments for details. |
This package 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; version 2 dated June, 1991. |
28,90 → 21,5 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
02110-1301, USA. |
Nettle is distributed under the GNU General Public License. However, |
most of the individual files are dual licensed under less restrictive |
licenses like the GNU Lesser General Public License (LGPL), or are in |
the public domain. This means that if you don't use the parts of |
nettle that are GPL-only, you have the option to use the Nettle |
library just as if it were licensed under the LGPL. To find the |
current status of particular files, you have to read the copyright |
notices at the top of the files. |
A list of the supported algorithms, their origins and licenses (from |
the manual): |
AES |
The implementation of the AES cipher (also known as rijndael) is |
written by Rafael Sevilla. Assembler for x86 by Rafael Sevilla and |
Niels Möller, Sparc assembler by Niels Möller. Released under the |
LGPL. |
ARCFOUR |
The implementation of the ARCFOUR (also known as RC4) cipher is |
written by Niels Möller. Released under the LGPL. |
ARCTWO |
The implementation of the ARCTWO (also known as RC2) cipher is |
written by Nikos Mavroyanopoulos and modified by Werner Koch and |
Simon Josefsson. Released under the LGPL. |
BLOWFISH |
The implementation of the BLOWFISH cipher is written by Werner |
Koch, copyright owned by the Free Software Foundation. Also hacked |
by Ray Dassen and Niels Möller. Released under the GPL. |
CAST128 |
The implementation of the CAST128 cipher is written by Steve Reid. |
Released into the public domain. |
DES |
The implementation of the DES cipher is written by Dana L. How, and |
released under the LGPL. |
MD2 |
The implementation of MD2 is written by Andrew Kuchling, and hacked |
some by Andreas Sigfridsson and Niels Möller. Python Cryptography |
Toolkit license (essentially public domain). |
MD4 |
This is almost the same code as for MD5 below, with modifications |
by Marcus Comstedt. Released into the public domain. |
MD5 |
The implementation of the MD5 message digest is written by Colin |
Plumb. It has been hacked some more by Andrew Kuchling and Niels |
Möller. Released into the public domain. |
SERPENT |
The implementation of the SERPENT cipher is written by Ross |
Anderson, Eli Biham, and Lars Knudsen, adapted to LSH by Rafael |
Sevilla, and to Nettle by Niels Möller. Released under the GPL. |
SHA1 |
The C implementation of the SHA1 message digest is written by Peter |
Gutmann, and hacked some more by Andrew Kuchling and Niels Möller. |
Released into the public domain. Assembler for x86 by Niels Möller, |
released under the LGPL. |
SHA256 |
Written by Niels Möller, using Peter Gutmann's SHA1 code as a |
model. Released under the LGPL. |
TWOFISH |
The implementation of the TWOFISH cipher is written by Ruud de |
Rooij. Released under the LGPL. |
RSA |
Written by Niels Möller, released under the LGPL. Uses the GMP |
library for bignum operations. |
DSA |
Written by Niels Möller, released under the LGPL. Uses the GMP |
library for bignum operations. |
On Debian GNU/Linux systems, the complete texts of the GNU General |
Public License and the GNU Lesser General Public License can be found |
in /usr/share/common-licenses/GPL and /usr/share/common-licenses/LGPL, |
respectively. |
On Debian GNU/Linux systems, the complete text of the GNU General |
Public License can be found in `/usr/share/common-licenses/GPL'. |
/branches/experimental/debian/libnettle-dev.doc-base |
---|
0,0 → 1,13 |
Document: libnettle-dev |
Title: Debian Nettle Manual |
Author: Niels Möller |
Abstract: This document describes the nettle low-level |
cryptographic library. You can use the library directly |
from your C programs, or (recommended) write or use an |
object-oriented wrapper for your favorite language or |
application. |
Section: Apps/Programming |
Format: HTML |
Files: /usr/share/doc/libnettle-dev/nettle.html |
Index: /usr/share/doc/libnettle-dev/nettle.html |
/branches/experimental/debian/libnettle-dev.examples |
---|
0,0 → 1,0 |
examples/* |
/branches/experimental/debian/sexp-conv.nettle.1 |
---|
0,0 → 1,94 |
.\" Hey, EMACS: -*- nroff -*- |
.\" First parameter, NAME, should be all caps |
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection |
.\" other parameters are allowed: see man(7), man(1) |
.TH SEXP-CONV 1 "Apr 19, 2002" sexp-conv "Lsh Manuals" |
.\" Please adjust this date whenever revising the manpage. |
.\" |
.\" Some roff macros, for reference: |
.\" .nh disable hyphenation |
.\" .hy enable hyphenation |
.\" .ad l left justify |
.\" .ad b justify to both left and right margins |
.\" .nf disable filling |
.\" .fi enable filling |
.\" .br insert line break |
.\" .sp <n> insert n+1 empty lines |
.\" for manpage-specific macros, see man(7) |
.SH NAME |
sexp_conv \- convert s-expression to a different encoding |
.SH SYNOPSIS |
.B sexp_conv |
.RI [ options ] |
.SH DESCRIPTION |
This manual page documents briefly the |
.B sexp_conv |
command. |
This manual page was written for the Debian GNU/Linux distribution |
because the original program does not have a manual page. |
Instead, it has documentation in the GNU Info format; see below. |
.PP |
.\" TeX users may be more comfortable with the \fB<whatever>\fP and |
.\" \fI<whatever>\fP escape sequences to invode bold face and italics, |
.\" respectively. |
\fBsexp_conv\fP is a program that converts S-expressions (keys and |
most other objects which `lsh' needs to store on disk) |
.SH OPTIONS |
This program follows the usual GNU command line syntax, with long |
options starting with two dashes (`-'). |
A summary of options is included below. |
For a complete description, see the Info files. |
.TP |
.B \-\-hash=\fIalgorithm\fP |
Hash algorithm (default: sha1). |
.TP |
.B \-\-once |
Process at most one s-expression. |
.TP |
.B \-\-raw\-hash |
Output the hash for the canonical representation of the object, in hexadecimal. |
.TP |
.B \-\-spki\-hash |
Output an SPKI hash for the object. |
.TP |
.B \-\-debug |
Print huge amounts of debug information. |
.TP |
.B \-q, \-\-quiet |
Supress all warnings and diagnostic messages. |
.TP |
.B \-\-trace |
Detailed trace. |
.TP |
.B \-v, \-\-verbose |
Verbose diagnostic messages. |
.TP |
.B \-i, \-\-input\-format=\fIformat\fP |
Variant of S-expression to accept. Valid S-expression formats are: transport, |
canonical, advanced and international. |
.TP |
.B \-o, \-\-output\-format=\fIformat\fP |
Variant of S-expression to output. Valid S-expression formats are: transport, |
canonical, advanced and international. |
.TP |
.B \-?, \-\-help |
Show summary of options. |
.TP |
.B \-\-usage |
Give a short usage message. |
.TP |
.B \-v, \-\-version |
Show version of program. |
.SH SEE ALSO |
.BR ssh-conv (1), |
.BR lshc (1), |
.BR lshd (8). |
.br |
The programs are documented fully by the |
.IR "sexp" |
section under the |
.IR "Getting Started" |
header of the lsh info page, available via the Info system. |
.SH AUTHOR |
This manual page was written by Timshel Knoll <timshel@debian.org>, |
for the Debian GNU/Linux system (but may be used by others). |