From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgnDK-0008LO-BL for guix-patches@gnu.org; Sat, 21 Jul 2018 04:26:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgnDH-0005nU-Al for guix-patches@gnu.org; Sat, 21 Jul 2018 04:26:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45176) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgnDH-0005nJ-6M for guix-patches@gnu.org; Sat, 21 Jul 2018 04:26:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fgnDH-0000V4-0L for guix-patches@gnu.org; Sat, 21 Jul 2018 04:26:03 -0400 Subject: [bug#32231] [PATCH 8/8] gnu: java-tomcat: Strip timestamps Resent-Message-ID: Date: Sat, 21 Jul 2018 10:25:32 +0200 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20180721102532.2e2ba08a@alma-ubu> In-Reply-To: <20180721101401.63dee9b6@alma-ubu> References: <20180721101401.63dee9b6@alma-ubu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/Wtffi75B.3QVnpVuECTGPeA"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32231@debbugs.gnu.org --Sig_/Wtffi75B.3QVnpVuECTGPeA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable * gnu/package/web.scm (java-tomcat)[arguments]: Add phase 'strip timestamps. Makes build deterministic. --- gnu/packages/web.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index a3290a3..565198f 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5747,6 +5747,14 @@ encoder/decoder based on the draft-12 specification = for UBJSON.") (("depends=3D\"validate\"") "depends=3D\"build-prepare\"") ((",download-validate") "")) #t)) + (add-after 'unpack 'strip-timestamps + (lambda _ + (substitute* "build.xml" + (("") + (("")) + #t)) (add-after 'unpack 'generate-properties (lambda _ ;; This could have been passed to make-flags, but getcwd retu= rns --=20 2.7.4 --Sig_/Wtffi75B.3QVnpVuECTGPeA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAltS7f0ACgkQvyhstlk+X/1CwwCfZ95eig6U290+vvVHp620SazP nKEAn2Nmsh0d6RRCOgA0Jk5vKGhSc1KG =FPXm -----END PGP SIGNATURE----- --Sig_/Wtffi75B.3QVnpVuECTGPeA--