debian/patches/0001-reproductible-build.patch: Refreshed
This commit is contained in:
parent
360f58830e
commit
98eea7e938
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -22,8 +22,9 @@ nut (2.8.0-1) UNRELEASED; urgency=medium
|
|||
* debian/control: Use ${python3:Depends} instead of hardcoding python3
|
||||
dependency
|
||||
* debian/control: BD against libusb-1.0-0-dev instead of libusb-dev
|
||||
* debian/patches/0001-reproductible-build.patch: Refreshed
|
||||
|
||||
-- Laurent Bigonville <bigon@debian.org> Sun, 10 Jul 2022 10:12:54 +0200
|
||||
-- Laurent Bigonville <bigon@debian.org> Sun, 10 Jul 2022 10:25:16 +0200
|
||||
|
||||
nut (2.7.4-14) unstable; urgency=medium
|
||||
|
||||
|
|
44
debian/patches/0001-reproductible-build.patch
vendored
44
debian/patches/0001-reproductible-build.patch
vendored
|
@ -4,21 +4,21 @@ Last-Update: 2019-07-28
|
|||
|
||||
--- a/docs/Makefile.am
|
||||
+++ b/docs/Makefile.am
|
||||
@@ -92,8 +92,8 @@ packager-guide.html packager-guide.chunk
|
||||
# $ ASCIIDOC_VERBOSE=-v make
|
||||
A2X_COMMON_OPTS = $(ASCIIDOC_VERBOSE) --attribute icons \
|
||||
--xsltproc-opts "--nonet" \
|
||||
- --xsltproc-opts "--stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d`\"" \
|
||||
- --xsltproc-opts "--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S`\"" \
|
||||
+ --xsltproc-opts "--stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d -d @$(SOURCE_DATE_EPOCH)`\"" \
|
||||
+ --xsltproc-opts "--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S -d @$(SOURCE_DATE_EPOCH)`\"" \
|
||||
--xsltproc-opts "--stringparam nut.nutversion \"@PACKAGE_VERSION@\"" \
|
||||
--attribute iconsdir=$(srcdir)/images \
|
||||
@@ -165,8 +165,8 @@ solaris-usb.html solaris-usb.chunked sol
|
||||
A2X_COMMON_OPTS = $(ASCIIDOC_VERBOSE) \
|
||||
--attribute=icons \
|
||||
--xsltproc-opts="--nonet" \
|
||||
- --xsltproc-opts="--stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d`\"" \
|
||||
- --xsltproc-opts="--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S`\"" \
|
||||
+ --xsltproc-opts="--stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d -d @$(SOURCE_DATE_EPOCH)`\"" \
|
||||
+ --xsltproc-opts="--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S -d @$(SOURCE_DATE_EPOCH)`\"" \
|
||||
--xsltproc-opts="--stringparam nut.nutversion \"@PACKAGE_VERSION@\"" \
|
||||
--attribute=iconsdir="$(srcdir)/images" \
|
||||
--attribute=badges \
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1211,7 +1211,7 @@ LIBDIR=${conftemp}
|
||||
AC_DEFINE_UNQUOTED(LIBDIR, "${conftemp}", [Default path for system libraries])
|
||||
@@ -2459,7 +2459,7 @@ fi
|
||||
dnl ----------------------------------------------------------------------
|
||||
|
||||
dnl Current date
|
||||
-now=`TZ=UTC date +%Y-%m-%d`
|
||||
|
@ -28,14 +28,14 @@ Last-Update: 2019-07-28
|
|||
AC_SUBST(OS_NAME)
|
||||
--- a/docs/man/Makefile.am
|
||||
+++ b/docs/man/Makefile.am
|
||||
@@ -591,8 +591,8 @@ if HAVE_ASCIIDOC
|
||||
|
||||
.txt.html:
|
||||
$(ASCIIDOC) --backend=xhtml11 \
|
||||
- --attribute localdate=`TZ=UTC date +%Y-%m-%d` \
|
||||
- --attribute localtime=`TZ=UTC date +%H:%M:%S` \
|
||||
+ --attribute localdate=`TZ=UTC date +%Y-%m-%d -d @$(SOURCE_DATE_EPOCH)` \
|
||||
+ --attribute localtime=`TZ=UTC date +%H:%M:%S -d @$(SOURCE_DATE_EPOCH)` \
|
||||
@@ -924,8 +924,8 @@ DOCBUILD_END = { \
|
||||
echo " DOC-MAN-HTML Generating $@"; \
|
||||
$(DOCBUILD_BEGIN) ; RES=0; \
|
||||
$(ASCIIDOC) --backend=xhtml11 $${A2X_VERBOSE} \
|
||||
- --attribute localdate="`TZ=UTC date +%Y-%m-%d`" \
|
||||
- --attribute localtime="`TZ=UTC date +%H:%M:%S`" \
|
||||
+ --attribute localdate="`TZ=UTC date +%Y-%m-%d -d @$(SOURCE_DATE_EPOCH)`" \
|
||||
+ --attribute localtime="`TZ=UTC date +%H:%M:%S -d @$(SOURCE_DATE_EPOCH)`" \
|
||||
--attribute nutversion="@PACKAGE_VERSION@" \
|
||||
-o $@ $<
|
||||
|
||||
--attribute srcdir="$(abs_srcdir)" \
|
||||
--attribute builddir="$(abs_builddir)" \
|
||||
|
|
2
debian/patches/series
vendored
2
debian/patches/series
vendored
|
@ -1,4 +1,4 @@
|
|||
#0001-reproductible-build.patch
|
||||
0001-reproductible-build.patch
|
||||
#0003-install-dev-files-in-usr.patch
|
||||
#0002-nut-monitor-paths.patch
|
||||
#0004-fix-systemd-service.patch
|
||||
|
|
Loading…
Reference in New Issue
Block a user