Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jun 2016 04:42:15 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416442 - in head/x11/xloadimage: . files
Message-ID:  <201606060442.u564gFOw051327@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ak
Date: Mon Jun  6 04:42:15 2016
New Revision: 416442
URL: https://svnweb.freebsd.org/changeset/ports/416442

Log:
  - Regenerate distinfo
  - Fix build when Samba is installed and configured as PDC [1]
  - Make build reproducible [2]
  
  PR:	209724
  Submitted by:	mail_of_sergey@mail.ru
  Submitted by:	amdmi3 [1] [2]

Added:
  head/x11/xloadimage/files/patch-build-info   (contents, props changed)
Modified:
  head/x11/xloadimage/distinfo

Modified: head/x11/xloadimage/distinfo
==============================================================================
--- head/x11/xloadimage/distinfo	Mon Jun  6 04:40:20 2016	(r416441)
+++ head/x11/xloadimage/distinfo	Mon Jun  6 04:42:15 2016	(r416442)
@@ -1,3 +1,4 @@
+TIMESTAMP = 1465187272
 SHA256 (xloadimage_4.1.orig.tar.gz) = 400bc7d84dcfb3265a7a1ce51819679dc3adaeda231514bd89b0f932b78ff5c4
 SIZE (xloadimage_4.1.orig.tar.gz) = 596021
 SHA256 (xloadimage_4.1-21.debian.tar.gz) = 4a15879f501462f1e45f3f8064a67b46362826c44bab5827e5dc051cd5c0a49f

Added: head/x11/xloadimage/files/patch-build-info
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xloadimage/files/patch-build-info	Mon Jun  6 04:42:15 2016	(r416442)
@@ -0,0 +1,35 @@
+Index: build-info
+@@ -3,32 +3,16 @@
+ 
+ # try to find out the build date
+ 
+-if [ -x /bin/date ]; then
+-  date='char *BuildDate= "'`/bin/date`'";'
+-else
+   date='char *BuildDate= (char *)0;'
+-fi
+ 
+ # try to find out who's doing the build.  there are two common places
+ # for 'id', /bin/id and /usr/bin/id.
+ 
+-if [ -x /bin/id ]; then
+-  user='char *BuildUser= "'`/bin/id`'";'
+-else
+-  if [ -x /usr/bin/id ]; then
+-    user='char *BuildUser= "'`/usr/bin/id`'";'
+-  else
+     user='char *BuildUser= (char *)0;'
+-  fi
+-fi
+ 
+ # try to find out the system information
+ 
+-if [ -x /bin/uname ]; then
+-  uname='char *BuildSystem= "'`/bin/uname -a`'";'
+-else
+-  uname='char *BuildSystem= "<unknown system>";'
+-fi
++  uname='char *BuildSystem= "FreeBSD";'
+ 
+ echo '/* THIS FILE IS AUTOMATICALLY GENERATED */' > build.c
+ echo $uname >> build.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606060442.u564gFOw051327>