Dear Maintainer,
The attached patch fixes the GNUmakefile in the apps/certpatch directory.
There were few typos leading to a failure when building the package.
Thanks for considering the patch.
Erwan Prioul.
diff -Naur a/debian/patches/08_gnumakefile.patch b/debian/patches/08_gnumakefile.patch
--- a/debian/patches/08_gnumakefile.patch 1970-01-01 01:00:00.000000000 +0100
+++ b/debian/patches/08_gnumakefile.patch 2014-12-10 15:00:27.183615507 +0100
@@ -0,0 +1,21 @@
+diff -Naur a/apps/certpatch/GNUmakefile b/apps/certpatch/GNUmakefile
+--- a/apps/certpatch/GNUmakefile 2014-12-10 13:47:07.003568180 +0100
++++ b/apps/certpatch/GNUmakefile 2014-12-10 15:00:03.159615249 +0100
+@@ -30,14 +30,14 @@
+ # This code was written under funding by Ericsson Radio Systems.
+ #
+
++.CURDIR:= $(shell pwd)
+ PROG= certpatch
+ SRCS= certpatch.c
+ BINDIR?= /usr/sbin
+-TOPSRC= ${.CURDIR}../..
+-TOPOBJ!= cd ${TOPSRC}; printf "all:\n\t@pwd\n" |${MAKE} -f-
++TOPSRC= ${.CURDIR}/../..
++TOPOBJ!= cd ${TOPSRC}; printf "all:\n\t@pwd\n" |${MAKE} --no-print-directory -f-
+ OS= linux
+ FEATURES!= awk '/^FEATURES=/ { print $$0 }' ${.CURDIR}/../../Makefile | sed 's/FEATURES=.//'
+-.PATH: ${TOPSRC} ${TOPSRC}/sysdep/${OS} ${TOPOBJ}
+ CFLAGS+= -I${TOPSRC} -I${TOPSRC}/sysdep/${OS} -I${TOPOBJ} -Wall
+ LDFLAGS+= -lcrypto -lssl -lgmp
+ MAN= certpatch.8
diff -Naur a/debian/patches/series b/debian/patches/series
--- a/debian/patches/series 2014-12-10 13:47:06.619568176 +0100
+++ b/debian/patches/series 2014-12-10 15:00:49.679615749 +0100
@@ -5,3 +5,4 @@
05_openssl.patch
06_sysdep.patch
07_fix_ifreq_len.patch
+08_gnumakefile.patch