Patches for aports can be sent to this list

1

[alpine-aports] [PATCH] main/binutils: Enable deterministic archives.

Przemyslaw Pawelczyk
Details
Message ID
<20161122220102.22287-1-przemoc@zoho.com>
Sender timestamp
1479852062
DKIM signature
missing
Download raw message
Patch: +2 -1
"GNU ar and other tools from binutils have a deterministic mode which
will use zero for UIDs, GIDs, timestamps, and use consistent file modes
for all files.  It can be made the default by passing the
--enable-deterministic-archives option to ./configure."

Quoted from:
https://reproducible-builds.org/docs/archives/
---
 main/binutils/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD
index cda0c35442f0..8bacc931c21f 100644
--- a/main/binutils/APKBUILD
+++ b/main/binutils/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=binutils
 pkgver=2.27
-pkgrel=0
+pkgrel=1
 pkgdesc="Tools necessary to build programs"
 url="http://www.gnu.org/software/binutils/"
 depends=""
@@ -51,6 +51,7 @@ build() {
 		--enable-64-bit-bfd \
 		--enable-plugins \
 		--enable-relro \
+		--enable-deterministic-archives \
 		$_cross_configure \
 		--disable-werror \
 		--disable-nls \
-- 
2.8.3




---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] Re: [PATCH] main/binutils: Enable deterministic archives.

Przemysław Pawełczyk
Details
Message ID
<1588e199d40.104ef0ec98182.7720122686234294939@zoho.com>
In-Reply-To
<20161122220102.22287-1-przemoc@zoho.com> (view parent)
Sender timestamp
1479852793
DKIM signature
missing
Download raw message
 ---- On Tue, 22 Nov 2016 23:01:02 +0100 Przemyslaw Pawelczyk <przemoc@zoho.com> wrote ---- 
 > "GNU ar and other tools from binutils have a deterministic mode which 
 > will use zero for UIDs, GIDs, timestamps, and use consistent file modes 
 > for all files.  It can be made the default by passing the 
 > --enable-deterministic-archives option to ./configure." 
 >  
 > Quoted from: 
 > https://reproducible-builds.org/docs/archives/ 

All packages providing .a files should be rebuilt after this change.
Therefore maybe it's better to apply the patch only after releasing AL 3.5?

Regards,
Przemek



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---