Subversion Repositories nettle

Compare Revisions

Ignore whitespace Rev 47 → Rev 46

/trunk/debian/nettle-dev.doc-base
File deleted
/trunk/debian/nettle-dev.install
File deleted
/trunk/debian/nettle-bin.links
File deleted
/trunk/debian/nettle-dev.info
File deleted
/trunk/debian/nettle-dev.docs
File deleted
/trunk/debian/libnettle3.install
File deleted
/trunk/debian/nettle-dev.examples
File deleted
/trunk/debian/libhogweed1.links
File deleted
/trunk/debian/libnettle3.docs
File deleted
/trunk/debian/libhogweed1.install
File deleted
/trunk/debian/control
8,10 → 8,10
Vcs-Browser: http://svn.kibibyte.se/nettle
Homepage: http://www.lysator.liu.se/~nisse/nettle/
 
Package: libnettle3
Package: libnettle2
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
24,31 → 24,10
cryptographic algorithms for the application to use in any environment and
in any way it needs.
 
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 (<< 1.16~cvs20070603)
Conflicts: libnettle-dev (<< 1.16~cvs20070603)
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++,
64,26 → 43,11
.
This package contains the development files (C headers and static libraries)
 
Package: libnettle-dev
Section: libdevel
Architecture: all
Depends: nettle-dev
Description: dummy package for transition to nettle-dev
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.
.
Since nettle now is split in two libraries, libnettle and libhogweed,
the -dev package is called nettle-dev. This dummy package simply
depends on that and can safely be uninstalled.
 
Package: nettle-bin
Section: misc
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Conflicts: libnettle1, lsh-utils (<< 2.0.4-dfsg-1)
Suggests: lsh-utils-doc | lsh-doc
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++,
/trunk/debian/changelog
1,25 → 1,3
nettle (1.16~cvs20070603-2) experimental; urgency=low
 
* 30_sparc_aes_include.dpatch: Patch from upstream CVS, fixes FTBFS on
sparc (Closes: #441265).
* debian/rules: Check for Makefile instead of ignoring all `make
distclean' errors.
 
-- Magnus Holmgren <magnus@kibibyte.se> Sat, 08 Sep 2007 19:58:29 +0200
 
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> Mon, 11 Jun 2007 17:36:08 +0200
nettle (1.15-6) unstable; urgency=low
 
* No longer install sexp-conv as an alternative; conflict with lsh-utils
/trunk/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
72,38 → 70,28
 
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs -i ChangeLog
dh_installdocs -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
dh_shlibdeps -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
# We have nothing to do by default.
 
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_install -a --sourcedir=debian/tmp
dh_link -a
dh_installchangelogs -a ChangeLog
dh_installdocs -a
dh_installexamples -a
dh_installinfo -a
dh_installman -a
dh_strip -a
dh_install --sourcedir=debian/tmp
dh_installchangelogs ChangeLog
dh_installdocs
dh_installexamples
dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress -X.pdf
dh_fixperms -a
dh_makeshlibs #-V 'libnettle2 (>= 1.15)'
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
dh_fixperms
dh_makeshlibs -V 'libnettle2 (>= 1.15)'
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
 
binary: binary-indep binary-arch
.PHONY: build clean clean-patched binary-indep binary-arch binary install
/trunk/debian/libnettle-dev.doc-base
0,0 → 1,20
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: Programming/C
 
Format: HTML
Files: /usr/share/doc/libnettle-dev/nettle.html
Index: /usr/share/doc/libnettle-dev/nettle.html
 
Format: PDF
Files: /usr/share/doc/libnettle-dev/nettle.pdf
 
Format: Info
Files: /usr/share/info/nettle.info.gz
Index: /usr/share/info/nettle.info.gz
/trunk/debian/libnettle-dev.docs
0,0 → 1,6
README
NEWS
descore.README
TODO
nettle.html
nettle.pdf
/trunk/debian/libnettle2.docs
0,0 → 1,2
NEWS
README
/trunk/debian/libnettle-dev.examples
0,0 → 1,2
sha-example.c
examples/*.[ch]
/trunk/debian/patches/30_sparc_aes_include.dpatch
File deleted
/trunk/debian/patches/01_config.dpatch
File deleted
/trunk/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:
/trunk/debian/patches/99_autotools_files.dpatch
0,0 → 1,28
#!/bin/sh
## 01_autotools_files.dpatch by Magnus Holmgren <magnus@kibibyte.se>
##
## DP: Copy in updated config.sub and config.guess from autotools-dev
 
set -e
 
dpatch_patch() {
for f in config.sub config.guess; do
if ! test -e $f.dp-orig; then
mv $f $f.dp-orig
cp --remove-destination /usr/share/misc/$f .
fi
done
}
 
dpatch_unpatch() {
for f in config.sub config.guess; do
if test -e $f.dp-orig; then
mv -f $f.dp-orig $f
fi
done
}
 
 
DPATCH_LIB_NO_DEFAULT=1
 
. /usr/share/dpatch/dpatch.lib.sh
/trunk/debian/patches/00list
1,3 → 1,3
01_config
10_cleanup
20_link_with_gmp
30_sparc_aes_include
99_autotools_files
/trunk/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@
/trunk/debian/libnettle-dev.info
0,0 → 1,0
nettle.info