Hi,
> Patch attached. Please send it upstream if possible.
Corrected patch attached. Apologies for the noise!
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/configure.in b/configure.in
index 5e45e68..98f895d 100644
--- a/configure.in
+++ b/configure.in
@@ -839,6 +839,13 @@ info_kern="`uname -s`"
info_kern_ver="`uname -r`"
info_platform="`uname -m`"
+if test -n "$SOURCE_DATE_EPOCH"; then
+ info_date="`LC_ALL=C date --utc --date=@$SOURCE_DATE_EPOCH '+%a
%d-%b-%Y %H:%M'`"
+ info_kern="`lsb_release --short --id`"
+ info_kern_ver="`lsb_release --short --id`"
+ info_platform="`lsb_release --short --id`"
+fi
+
AC_DEFINE_UNQUOTED(INFO_KERN, "$info_kern")
AC_DEFINE_UNQUOTED(INFO_KERN_VER, "$info_kern_ver")
AC_DEFINE_UNQUOTED(INFO_PLATFORM, "$info_platform")
diff --git a/debian/control b/debian/control
index f5379be..33e1a7b 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: yersinia
Section: admin
Priority: optional
Maintainer: Noël Köthe <[email protected]>
-Build-Depends: debhelper (>= 9.0.0), autotools-dev, libncurses5-dev (>=5.4),
libnet1-dev (>=1.1.2), libpcap0.8-dev, libgtk2.0-dev
+Build-Depends: debhelper (>= 9.0.0), autotools-dev, libncurses5-dev (>=5.4),
libnet1-dev (>=1.1.2), libpcap0.8-dev, libgtk2.0-dev, lsb-release
Standards-Version: 3.9.8
Homepage: http://www.yersinia.net/