/trunk/Makefile.in |
---|
0,0 → 1,375 |
# Nettle Makefile |
@SET_MAKE@ |
srcdir = @srcdir@ |
VPATH = @srcdir@ |
LIBOBJS = @LIBOBJS@ |
INSTALL = @INSTALL@ |
INSTALL_DATA = @INSTALL_DATA@ |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
INSTALL_STRIP_PROGRAM = $(INSTALL_PROGRAM) -s |
MKDIR_P = @MKDIR_P@ |
SUBDIRS = tools testsuite examples |
include config.make |
PRE_CPPFLAGS = -I. |
TARGETS = aesdata$(EXEEXT) desdata$(EXEEXT) shadata$(EXEEXT) \ |
libnettle.a $(SHLIBTARGET) |
DOCTARGETS = nettle.info nettle.html nettle.pdf |
all check install uninstall: |
$(MAKE) $@-here |
set -e; for d in $(SUBDIRS); do \ |
echo "Making $@ in $$d" ; (cd $$d && $(MAKE) $@); done |
clean distclean mostlyclean maintainer-clean tags: |
set -e; for d in $(SUBDIRS); do \ |
echo "Making $@ in $$d" ; (cd $$d && $(MAKE) $@); done |
$(MAKE) $@-here |
check-here: |
true |
# These targets aren't supported, but they are expected by the |
# automake generated Makefiles in the lsh build. |
dvi installcheck uninstallcheck: |
true |
all-here: $(TARGETS) $(DOCTARGETS) |
nettle_SOURCES = aes-decrypt-internal.c aes-decrypt.c \ |
aes-encrypt-internal.c aes-encrypt.c aes-encrypt-table.c \ |
aes-set-encrypt-key.c aes-set-decrypt-key.c aes-meta.c \ |
arcfour.c arcfour-crypt.c arcfour-meta.c \ |
arctwo.c arctwo-meta.c \ |
base16-encode.c base16-decode.c base16-meta.c \ |
base64-encode.c base64-decode.c base64-meta.c \ |
cast128.c cast128-meta.c \ |
blowfish.c \ |
cbc.c ctr.c \ |
des.c \ |
des3.c des-compat.c \ |
hmac.c hmac-md5.c hmac-sha1.c hmac-sha256.c \ |
knuth-lfib.c \ |
md2.c md2-meta.c md4.c md4-meta.c \ |
md5.c md5-compress.c md5-compat.c md5-meta.c \ |
sha1.c sha1-compress.c sha1-meta.c sha256.c sha256-meta.c \ |
serpent.c serpent-meta.c \ |
twofish.c twofish-meta.c \ |
yarrow256.c yarrow_key_event.c \ |
sexp.c sexp-format.c \ |
sexp-transport.c sexp-transport-format.c \ |
bignum.c bignum-random.c sexp2bignum.c \ |
pkcs1.c pkcs1-rsa-md5.c pkcs1-rsa-sha1.c pkcs1-rsa-sha256.c \ |
rsa.c rsa-sign.c rsa-verify.c \ |
rsa-md5-sign.c rsa-md5-verify.c \ |
rsa-sha1-sign.c rsa-sha1-verify.c \ |
rsa-sha256-sign.c rsa-sha256-verify.c \ |
rsa-encrypt.c rsa-decrypt.c \ |
rsa-keygen.c rsa-compat.c \ |
rsa2sexp.c sexp2rsa.c \ |
dsa.c dsa-sign.c dsa-verify.c dsa-keygen.c \ |
sexp2dsa.c \ |
pgp-encode.c rsa2openpgp.c \ |
der-iterator.c der2rsa.c \ |
buffer.c buffer-init.c realloc.c \ |
nettle-internal.c |
HEADERS = aes.h arcfour.h arctwo.h asn1.h bignum.h blowfish.h \ |
base16.h base64.h buffer.h cast128.h \ |
cbc.h ctr.h \ |
des.h des-compat.h dsa.h \ |
hmac.h \ |
knuth-lfib.h \ |
macros.h \ |
md2.h md4.h \ |
md5.h md5-compat.h \ |
memxor.h \ |
nettle-meta.h nettle-types.h \ |
pgp.h pkcs1.h realloc.h rsa.h rsa-compat.h \ |
sexp.h \ |
serpent.h sha.h twofish.h \ |
yarrow.h |
INSTALL_HEADERS = $(HEADERS) nettle-stdint.h |
SOURCES = $(nettle_SOURCES) aesdata.c desdata.c shadata.c |
DISTFILES = $(SOURCES) $(HEADERS) .bootstrap aclocal.m4 configure.ac \ |
configure stamp-h.in \ |
config.guess config.sub install-sh texinfo.tex \ |
config.h.in config.m4.in config.make.in Makefile.in \ |
README AUTHORS COPYING COPYING.LIB INSTALL NEWS TODO ChangeLog \ |
memxor.c $(des_headers) descore.README \ |
aes-internal.h cast128_sboxes.h desinfo.h desCode.h \ |
serpent_sboxes.h nettle-internal.h \ |
asm.m4 \ |
nettle.texinfo nettle.info nettle.html nettle.pdf sha-example.c |
# Rules building libnettle.a |
# FIXME: Do we really need to delete the archive first? |
nettle_OBJS = $(nettle_SOURCES:.c=.$(OBJEXT)) $(LIBOBJS) |
nettle_PURE_OBJS = $(nettle_OBJS:.$(OBJEXT)=.p$(OBJEXT)) |
libnettle.a: $(nettle_OBJS) |
-rm -f $@ |
$(AR) $(ARFLAGS) $@ $(nettle_OBJS) |
$(RANLIB) $@ |
.c.$(OBJEXT): |
$(COMPILE) $(CCPIC_MAYBE) -c $< \ |
&& $(DEP_PROCESS) |
# Rules building libnettle.so |
$(SHLIBFORLINK): $(nettle_PURE_OBJS) |
$(SHLIBLINK) $(nettle_PURE_OBJS) -o $@ $(SHLIBLIBS) |
-mkdir .lib 2>/dev/null |
[ -z "$(SHLIBSONAME)" ] || (cd .lib \ |
&& ln -sf ../$(SHLIBFORLINK) $(SHLIBSONAME)) |
.c.p$(OBJEXT): |
$(COMPILE) $(SHLIBCFLAGS) -c $< -o $@ \ |
&& $(DEP_PROCESS) |
# For Solaris and BSD make, we have to use an explicit rule for each executable |
aesdata$(EXEEXT): aesdata.$(OBJEXT) |
$(LINK) aesdata.$(OBJEXT) $(LIBS) -o aesdata$(EXEEXT) |
desdata$(EXEEXT): desdata.$(OBJEXT) |
$(LINK) desdata.$(OBJEXT) $(LIBS) -o desdata$(EXEEXT) |
shadata$(EXEEXT): shadata.$(OBJEXT) |
$(LINK) shadata.$(OBJEXT) $(LIBS) -lm -o shadata$(EXEEXT) |
# .$(OBJEXT)$(EXEEXT): |
# $(LINK) $< $(LIBS) -o $@ |
# desCore rules |
# It seems using $(srcdir)/ doesn't work with GNU make 3.79.1 |
# des_headers = $(srcdir)/parity.h $(srcdir)/rotors.h $(srcdir)/keymap.h |
des_headers = parity.h rotors.h keymap.h |
# Generate DES headers. |
$(des_headers): desdata.c |
$(MAKE) desdata$(EXEEXT) |
./desdata$(EXEEXT) $(@F) > $@T |
test -s $@T && mv -f $@T $@ |
des.$(OBJEXT): des.c des.h $(des_headers) |
.asm.$(OBJEXT): |
$(M4) $(srcdir)/asm.m4 machine.m4 config.m4 \ |
$< >$*.s |
$(COMPILE) $(CCPIC_MAYBE) -c $*.s |
echo "$@ : $< $(srcdir)/asm.m4 machine.m4 config.m4" >$@.d |
.asm.p$(OBJEXT): |
$(M4) $(srcdir)/asm.m4 machine.m4 config.m4 \ |
$< >$*.s |
$(COMPILE) $(SHLIBCFLAGS) -c $*.s -o $@ |
echo "$@ : $< $(srcdir)/asm.m4 machine.m4 config.m4" >$@.d |
# Texinfo rules |
.texinfo.info: |
cd $(srcdir) && $(MAKEINFO) --output $@T `basename "$<"` \ |
&& test -s $@T && mv -f $@T $@ |
.texinfo.html: |
cd $(srcdir) && $(MAKEINFO) --html --no-split \ |
--output $@T `basename "$<"` \ |
&& test -s $@T && mv -f $@T $@ |
.texinfo.dvi: |
cd $(srcdir) && texi2dvi `basename "$<"` |
.dvi.ps: |
cd $(srcdir) && dvips -Ppdf -G0 -o `basename "$<" .dvi`.ps `basename "$<"` |
# Avoid rebuilding .dvi and .ps files when the .texinfo source is unchanged. |
PS2PDFFLAGS=-dCompatibilityLevel=1.3 -dMAxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true |
.texinfo.pdf: |
$(MAKE) `basename "$<" .texinfo`.ps |
cd $(srcdir) && ps2pdf $(PS2PDFFLAGS) `basename "$<" .texinfo`.ps |
# Configure-related rules, mostly copied from the autoconf manual. No |
# $(srcdir) prefixes on the targets, though. |
configure: configure.ac aclocal.m4 |
cd $(srcdir) && $(AUTOCONF) |
# autoheader might not change config.h.in, so touch a stamp file. |
config.h.in: stamp-h.in |
stamp-h.in: configure.ac aclocal.m4 |
cd $(srcdir) && autoheader |
echo timestamp > $(srcdir)/stamp-h.in |
config.status: configure |
./config.status --recheck |
config.h: stamp-h |
stamp-h: config.h.in config.status |
./config.status config.h |
echo timestamp > stamp-h |
Makefile: Makefile.in config.status |
./config.status $@ |
config.make: config.make.in config.status |
./config.status $@ |
config.m4: config.m4.in config.status |
./config.status $@ |
# Installation |
# FIXME: Use mkinstalldirs. |
install-here: install-info install-headers libnettle.a $(SHLIBINSTALL) |
$(MKDIR_P) $(DESTDIR)$(libdir) |
$(INSTALL_DATA) libnettle.a $(DESTDIR)$(libdir) |
install-shared: $(SHLIBFORLINK) |
$(MKDIR_P) $(DESTDIR)$(libdir) |
$(INSTALL_PROGRAM) $(SHLIBFORLINK) $(DESTDIR)$(libdir)/$(SHLIBFILE) |
[ -z "$(SHLIBSONAME)" ] \ |
|| (cd $(DESTDIR)$(libdir) \ |
&& ln -sf $(SHLIBFILE) $(SHLIBSONAME) \ |
&& ln -sf $(SHLIBFILE) $(SHLIBFORLINK) ) |
# I'd like to use makes VPATH search to locate the files to be |
# installed. But it seems most make programs don't set $<, $^, $? and |
# friends for ordinary explicit rules. |
install-info: nettle.info |
$(MKDIR_P) $(DESTDIR)$(infodir) |
f=nettle.info ; \ |
[ -f $$f ] || f="$(srcdir)/$$f" ; \ |
$(INSTALL_DATA) "$$f" $(DESTDIR)$(infodir) ; \ |
if (install-info --version && \ |
install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \ |
install-info --info-dir="$(DESTDIR)$(infodir)" "$$f" ; \ |
else : ; fi |
# NOTE: I'd like to use $^, but that's a GNU extension. $? should be |
# more portable, and equivalent for phony targets. |
install-headers: $(INSTALL_HEADERS) |
$(MKDIR_P) $(DESTDIR)$(includedir)/nettle |
for f in $(INSTALL_HEADERS) ; do \ |
if [ -f "$$f" ] ; then \ |
$(INSTALL_DATA) "$$f" $(DESTDIR)$(includedir)/nettle ; \ |
else \ |
$(INSTALL_DATA) "$(srcdir)/$$f" $(DESTDIR)$(includedir)/nettle ; \ |
fi ; done |
# Uninstall |
uninstall-here: uninstall-info uninstall-headers uninstall-shared |
rm -f $(DESTDIR)$(libdir)/libnettle.a |
uninstall-headers: |
for f in $(INSTALL_HEADERS) ; do \ |
rm -f $(DESTDIR)$(includedir)/nettle/$$f ; \ |
done |
uninstall-info: |
if (install-info --version && \ |
install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \ |
install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)"/nettle.info ; \ |
else : ; fi |
-rm -f $(DESTDIR)$(infodir)/nettle.info |
# FIXME: Leaves the links around |
uninstall-shared: |
test -z "$(SHLIBINSTALL)" || rm -f $(DESTDIR)$(libdir)/$(SHLIBFILE) |
# Distribution |
distdir = $(PACKAGE_NAME)-$(PACKAGE_VERSION) |
top_distdir = $(distdir) |
# NOTE: Depending on the automake version in the parent dir, |
# we must handle both absolute and relative $destdir. |
distdir: $(DISTFILES) |
rm -rf "$(distdir)" |
mkdir "$(distdir)" |
set -e; for f in $(DISTFILES) ; do \ |
if [ -f "$$f" ] ; then cp "$$f" "$(distdir)" ; \ |
else cp "$(srcdir)/$$f" "$(distdir)" ; \ |
fi ; \ |
done |
set -e; for d in sparc x86 ; do \ |
mkdir "$(distdir)/$$d" ; \ |
cp $(srcdir)/$$d/*.asm $(srcdir)/$$d/*.m4 "$(distdir)/$$d" ; \ |
done |
set -e; for d in $(SUBDIRS); do \ |
sd="$(distdir)/$$d" ; \ |
mkdir "$$sd" && $(MAKE) -C $$d distdir="`cd $$sd && pwd`" $@ ; \ |
done |
dist: distdir |
tar cf - $(distdir) | gzip -c >$(distdir).tar.gz |
rm -rf $(distdir) |
rm_distcheck = test ! -d distcheck-tmp \ |
|| { find distcheck-tmp -type d ! -perm -200 -exec chmod u+w {} ';' \ |
&& rm -fr distcheck-tmp; }; |
distcheck: dist |
$(rm_distcheck) |
mkdir distcheck-tmp |
gzip -d < $(distdir).tar.gz \ |
| { cd distcheck-tmp && tar xf - && chmod -R a-w $(distdir) ; } |
mkdir distcheck-tmp/build |
mkdir distcheck-tmp/install |
cd distcheck-tmp/build && ../$(distdir)/configure --prefix="`cd ../install && pwd`" |
cd distcheck-tmp/build && $(MAKE) |
cd distcheck-tmp/build && $(MAKE) check |
cd distcheck-tmp/build && $(MAKE) install |
cd distcheck-tmp/build && $(MAKE) uninstall |
cd distcheck-tmp && find install -type f -print > leftover-install-files |
@test `cat distcheck-tmp/leftover-install-files | wc -l` -le 1 \ |
|| { echo "ERROR: files left after uninstall:" ; \ |
cat distcheck-tmp/leftover-install-files ; \ |
exit 1; } |
chmod -R a-w distcheck-tmp/install |
mkdir distcheck-tmp/destdir |
destdir="`cd distcheck-tmp/destdir && pwd`" \ |
&& cd distcheck-tmp/build \ |
&& $(MAKE) install DESTDIR="$$destdir" \ |
&& $(MAKE) uninstall DESTDIR="$$destdir" |
cd distcheck-tmp && find destdir -type f -print > leftover-destdir-files |
@test `cat distcheck-tmp/leftover-destdir-files | wc -l` -le 1 \ |
|| { echo "ERROR: destdir files left after uninstall:" ; \ |
cat distcheck-tmp/leftover-destdir-files ; \ |
exit 1; } |
cd distcheck-tmp/build && $(MAKE) dist |
cd distcheck-tmp/build && rm *.gz |
cd distcheck-tmp/build && $(MAKE) distclean |
cd distcheck-tmp && find build -type f -print > leftover-build-files |
@test `cat distcheck-tmp/leftover-build-files | wc -l` -eq 0 \ |
|| { echo "ERROR: files left in build directory after distclean:" ; \ |
cat distcheck-tmp/leftover-build-files ; \ |
exit 1; } |
$(rm_distcheck) |
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 machine.m4 \ |
config.make config.m4 Makefile nettle-stdint.h *.asm *.d |
maintainer-clean-here: |
-rm -f $(DOCTARGETS) *.dvi *.ps |
tags-here: |
etags $(srcdir)/*.c $(srcdir)/*.h |
DEP_FILES = $(SOURCES:.c=.$(OBJEXT).d) $(SOURCES:.c=.p$(OBJEXT).d) |
@DEP_INCLUDE@ $(DEP_FILES) |
/trunk/debian/control |
---|
0,0 → 1,73 |
Source: nettle |
Section: libs |
Priority: optional |
Maintainer: Magnus Holmgren <magnus@kibibyte.se> |
Build-Depends: debhelper (>= 4.0.0), libgmp3-dev, m4, autotools-dev |
Standards-Version: 3.7.2 |
Package: libnettle2 |
Section: libs |
Architecture: any |
Depends: ${shlibs:Depends}, ${misc:Depends} |
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 |
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: libnettle-dev |
Section: libdevel |
Architecture: any |
Depends: libnettle2 (= ${Source-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++, |
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. |
. |
This package contains the development files (C headers and static libraries) |
. |
Homepage: http://www.lysator.liu.se/~nisse/nettle/ |
Package: nettle-bin |
Section: misc |
Architecture: any |
Depends: ${shlibs:Depends}, ${misc:Depends} |
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++, |
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. |
. |
This package contains binary utilities that accompany the library: |
. |
- nettle-lfib-stream - generates a pseudorandom stream, using the Knuth |
lfib (non-cryptographic) pseudorandom generator. |
- sexp-conv - conversion tool for handling the different flavours of sexp |
syntax. |
. |
Homepage: http://www.lysator.liu.se/~nisse/nettle/ |
/trunk/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 |
/trunk/debian/compat |
---|
0,0 → 1,0 |
4 |
/trunk/debian/libnettle-dev.docs |
---|
0,0 → 1,0 |
nettle.html |
/trunk/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 |
/trunk/debian/changelog |
---|
0,0 → 1,92 |
nettle (1.15-1) unstable; urgency=low |
* New maintainer (Closes: #411677). |
* New upstream version. The non-free IETF RFC has been removed by |
upstream. |
* Updated Standards-Version to 3.7.2 without any changes. |
* Converted doc-base and copyright files to UTF-8. |
* Added extra cleanup to clean target of debian/rules so that |
dpkg-buildpackage can be run more than once. |
* debian/watch: updated. |
* debian/control: added autotools-dev as a build-dependency. |
* debian/rules: don't include config.guess and config.sub in |
.diff.gz. |
-- Magnus Holmgren <magnus@kibibyte.se> Thu, 1 Mar 2007 19:29:49 +0100 |
nettle (1.14.1-1) unstable; urgency=low |
* Removed non-DFSG file from the archive and disabled the |
corresponding test case |
* Source package contains non-free IETF RFC/I-D's (Closes: #393400) |
* Since there is no upstream release available, a "fake" version number |
is added to the version. |
-- Marek Habersack <grendel@debian.org> Wed, 18 Oct 2006 09:47:03 +0200 |
nettle (1.14-1) unstable; urgency=low |
* The latest upstream version |
-- Marek Habersack <grendel@debian.org> Tue, 9 May 2006 21:41:17 +0200 |
nettle (1.12-3) unstable; urgency=high |
* Force a recompile to match the new libgmp3 package name |
-- Marek Habersack <grendel@debian.org> Tue, 19 Jul 2005 12:01:28 +0200 |
nettle (1.12-2) unstable; urgency=high |
* Make libnettle-dev depend on libgmp3-dev |
-- Marek Habersack <grendel@debian.org> Tue, 8 Mar 2005 02:19:01 +0100 |
nettle (1.12-1) unstable; urgency=high |
* The latest upstream release |
* sexp-conv is installed as sexp-conv.nettle and registered with the |
alternatives system now. |
* added the sexp-conv mainpage borrowed from the lsh-utils package. |
-- Marek Habersack <grendel@debian.org> Tue, 30 Nov 2004 01:45:49 +0100 |
nettle (1.10-1) unstable; urgency=low |
* The latest upstream version |
-- Marek Habersack <grendel@debian.org> Tue, 4 May 2004 15:56:02 +0200 |
nettle (1.9-1) unstable; urgency=low |
* The latest upstream release |
-- Marek Habersack <grendel@debian.org> Mon, 16 Feb 2004 02:53:34 +0100 |
nettle (1.8-1) unstable; urgency=low |
* The latest upstream release |
* libnettle1 links directly against gmp now to avoid problems with |
programs linking to libnettle without referencing -lgmp explicitly. |
* libnettle1 is gone - upstream changed the SOVERSION to 2 |
-- Marek Habersack <grendel@debian.org> Wed, 14 Jan 2004 22:27:19 +0100 |
nettle (1.7-3) unstable; urgency=low |
* Don't drink and drive, or another doc-base fix |
-- Marek Habersack <grendel@debian.org> Mon, 10 Nov 2003 19:07:20 -0500 |
nettle (1.7-2) unstable; urgency=low |
* Fixed the doc-base problem with the missing Section field |
-- Marek Habersack <grendel@debian.org> Sun, 9 Nov 2003 22:06:09 -0500 |
nettle (1.7-1) unstable; urgency=low |
* Initial Release. |
-- Marek Habersack <grendel@debian.org> Tue, 4 Nov 2003 18:23:07 +0100 |
/trunk/debian/libnettle-dev.info |
---|
0,0 → 1,0 |
nettle.info |
/trunk/debian/rules |
---|
0,0 → 1,117 |
#!/usr/bin/make -f |
# -*- makefile -*- |
# Sample debian/rules that uses debhelper. |
# GNU copyright 1997 to 1999 by Joey Hess. |
# Uncomment this to turn on verbose mode. |
#export DH_VERBOSE=1 |
# These are used for cross-compiling and for saving the configure script |
# from having to guess our platform (since we know it already) |
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
CFLAGS = -Wall -g |
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
CFLAGS += -O0 |
else |
CFLAGS += -O2 |
endif |
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) |
INSTALL_PROGRAM += -s |
endif |
# shared library versions, option 1 |
version=2.0.5 |
major=2 |
# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so |
#version=`ls src/.libs/lib*.so.* | \ |
# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` |
#major=`ls src/.libs/lib*.so.* | \ |
# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` |
config.status: configure |
dh_testdir |
ifneq "$(wildcard /usr/share/misc/config.sub)" "" |
cp -f /usr/share/misc/config.sub config.sub |
endif |
ifneq "$(wildcard /usr/share/misc/config.guess)" "" |
cp -f /usr/share/misc/config.guess config.guess |
endif |
# Add here commands to configure the package. |
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 |
build-stamp: config.status |
dh_testdir |
# Add here commands to compile the package. |
$(MAKE) |
touch build-stamp |
clean: |
dh_testdir |
dh_testroot |
rm -f build-stamp |
# Add here commands to clean up after the build process. |
-$(MAKE) distclean |
ifneq "$(wildcard /usr/share/misc/config.sub)" "" |
rm -f config.sub |
endif |
ifneq "$(wildcard /usr/share/misc/config.guess)" "" |
rm -f config.guess |
endif |
-rm machine.m4 |
-rm -r .lib |
dh_clean |
install: build |
dh_testdir |
dh_testroot |
dh_clean -k |
dh_installdirs |
# 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 |
# Build architecture-independent files here. |
binary-indep: build install |
# We have nothing to do by default. |
# Build architecture-dependent files here. |
binary-arch: build install |
dh_testdir |
dh_testroot |
dh_movefiles |
dh_installchangelogs ChangeLog |
dh_installdocs |
dh_installexamples |
dh_installinfo |
dh_installman |
dh_link |
dh_strip |
dh_compress |
dh_fixperms |
dh_makeshlibs |
dh_installdeb |
dh_shlibdeps |
dh_gencontrol |
dh_md5sums |
dh_builddeb |
binary: binary-indep binary-arch |
.PHONY: build clean binary-indep binary-arch binary install |
Property changes: |
Added: svn:executable |
## -0,0 +1 ## |
+* |
\ No newline at end of property |
Index: debian/nettle-bin.manpages |
=================================================================== |
--- debian/nettle-bin.manpages (nonexistent) |
+++ debian/nettle-bin.manpages (revision 2) |
@@ -0,0 +1 @@ |
+debian/sexp-conv.nettle.1 |
Index: debian/libnettle2.docs |
=================================================================== |
--- debian/libnettle2.docs (nonexistent) |
+++ debian/libnettle2.docs (revision 2) |
@@ -0,0 +1,4 @@ |
+descore.README |
+NEWS |
+README |
+TODO |
Index: debian/libnettle-dev.dirs |
=================================================================== |
--- debian/libnettle-dev.dirs (nonexistent) |
+++ debian/libnettle-dev.dirs (revision 2) |
@@ -0,0 +1,2 @@ |
+usr/lib |
+usr/include |
Index: debian/libnettle-dev.files |
=================================================================== |
--- debian/libnettle-dev.files (nonexistent) |
+++ debian/libnettle-dev.files (revision 2) |
@@ -0,0 +1,5 @@ |
+usr/include/* |
+usr/lib/lib*.a |
+usr/lib/lib*.so |
+usr/lib/pkgconfig/* |
+usr/lib/*.la |
Index: debian/nettle-bin.files |
=================================================================== |
--- debian/nettle-bin.files (nonexistent) |
+++ debian/nettle-bin.files (revision 2) |
@@ -0,0 +1 @@ |
+/usr/bin/* |
Index: debian/libnettle2.dirs |
=================================================================== |
--- debian/libnettle2.dirs (nonexistent) |
+++ debian/libnettle2.dirs (revision 2) |
@@ -0,0 +1 @@ |
+usr/lib |
Index: debian/libnettle2.files |
=================================================================== |
--- debian/libnettle2.files (nonexistent) |
+++ debian/libnettle2.files (revision 2) |
@@ -0,0 +1 @@ |
+usr/lib/lib*.so.* |
Index: debian/watch |
=================================================================== |
--- debian/watch (nonexistent) |
+++ debian/watch (revision 2) |
@@ -0,0 +1,3 @@ |
+version=3 |
+ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-(.*)\.tar\.gz |
+http://www.lysator.liu.se/~nisse/archive/nettle-(.*)\.tar\.gz |
Index: debian/copyright |
=================================================================== |
--- debian/copyright (nonexistent) |
+++ debian/copyright (revision 2) |
@@ -0,0 +1,25 @@ |
+This package was debianized by Marek Habersack <grendel@debian.org> on |
+Tue, 4 Nov 2003 18:23:07 +0100. |
+ |
+It was downloaded from http://www.lysator.liu.se/~nisse/nettle/ |
+ |
+Upstream Author: Niels Möller |
+ |
+Copyright: |
+ |
+ 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. |
+ |
+ 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 General Public License for more details. |
+ |
+ You should have received a copy of the GNU 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 GNU/Linux systems, the complete text of the GNU General |
+Public License can be found in `/usr/share/common-licenses/GPL'. |
Index: debian/libnettle-dev.doc-base |
=================================================================== |
--- debian/libnettle-dev.doc-base (nonexistent) |
+++ debian/libnettle-dev.doc-base (revision 2) |
@@ -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 |
Index: debian/libnettle-dev.examples |
=================================================================== |
--- debian/libnettle-dev.examples (nonexistent) |
+++ debian/libnettle-dev.examples (revision 2) |
@@ -0,0 +1 @@ |
+examples/* |
Index: debian/sexp-conv.nettle.1 |
=================================================================== |
--- debian/sexp-conv.nettle.1 (nonexistent) |
+++ debian/sexp-conv.nettle.1 (revision 2) |
@@ -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). |
Index: debian |
=================================================================== |
--- debian (nonexistent) |
+++ debian (revision 2) |
/debian |
---|
Property changes: |
Added: mergeWithUpstream |
## -0,0 +1 ## |
+1 |
\ No newline at end of property |