Subversion Repositories nettle

Compare Revisions

Ignore whitespace Rev 47 → Rev 46

/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@