[arch-commits] Commit in libfaketime/repos (8 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Feb 8 00:44:18 UTC 2016


    Date: Monday, February 8, 2016 @ 01:44:17
  Author: foutrelis
Revision: 160669

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  libfaketime/repos/community-staging-i686/
  libfaketime/repos/community-staging-i686/PKGBUILD
    (from rev 160668, libfaketime/trunk/PKGBUILD)
  libfaketime/repos/community-staging-i686/libfaketime-0.9.1-fix-README-NEWS.patch
    (from rev 160668, libfaketime/trunk/libfaketime-0.9.1-fix-README-NEWS.patch)
  libfaketime/repos/community-staging-i686/libfaketime-0.9.1-fix-as-needed.patch
    (from rev 160668, libfaketime/trunk/libfaketime-0.9.1-fix-as-needed.patch)
  libfaketime/repos/community-staging-x86_64/
  libfaketime/repos/community-staging-x86_64/PKGBUILD
    (from rev 160668, libfaketime/trunk/PKGBUILD)
  libfaketime/repos/community-staging-x86_64/libfaketime-0.9.1-fix-README-NEWS.patch
    (from rev 160668, libfaketime/trunk/libfaketime-0.9.1-fix-README-NEWS.patch)
  libfaketime/repos/community-staging-x86_64/libfaketime-0.9.1-fix-as-needed.patch
    (from rev 160668, libfaketime/trunk/libfaketime-0.9.1-fix-as-needed.patch)

------------------------------------------------------------------+
 community-staging-i686/PKGBUILD                                  |   24 ++++++
 community-staging-i686/libfaketime-0.9.1-fix-README-NEWS.patch   |   29 +++++++
 community-staging-i686/libfaketime-0.9.1-fix-as-needed.patch     |   39 ++++++++++
 community-staging-x86_64/PKGBUILD                                |   24 ++++++
 community-staging-x86_64/libfaketime-0.9.1-fix-README-NEWS.patch |   29 +++++++
 community-staging-x86_64/libfaketime-0.9.1-fix-as-needed.patch   |   39 ++++++++++
 6 files changed, 184 insertions(+)

Copied: libfaketime/repos/community-staging-i686/PKGBUILD (from rev 160668, libfaketime/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-02-08 00:44:17 UTC (rev 160669)
@@ -0,0 +1,24 @@
+# $Id$
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Dan Serban
+# Contributor: Ross Melin <rdmelin at gmail.com>
+
+pkgname=libfaketime
+pkgver=0.9.6
+pkgrel=2
+pkgdesc='Report fake dates and times to programs without having to change the system-wide time.'
+arch=('i686' 'x86_64')
+url='http://www.code-wizards.com/projects/libfaketime/'
+license=('GPL2')
+source=("http://www.code-wizards.com/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('f522f899d65a057ad69cff9896c75f78')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  make PREFIX=/usr
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make PREFIX=/usr DESTDIR="${pkgdir}" install
+}

Copied: libfaketime/repos/community-staging-i686/libfaketime-0.9.1-fix-README-NEWS.patch (from rev 160668, libfaketime/trunk/libfaketime-0.9.1-fix-README-NEWS.patch)
===================================================================
--- community-staging-i686/libfaketime-0.9.1-fix-README-NEWS.patch	                        (rev 0)
+++ community-staging-i686/libfaketime-0.9.1-fix-README-NEWS.patch	2016-02-08 00:44:17 UTC (rev 160669)
@@ -0,0 +1,29 @@
+From c0c19a71c5481f3082afee2ac7962bd7abfcf134 Mon Sep 17 00:00:00 2001
+From: Lukas Fleischer <info at cryptocrack.de>
+Date: Sun, 22 Jan 2012 22:19:50 +0100
+Subject: [PATCH] Makefile: Fix installation of "README" and "NEWS"
+
+Initialize "INSTALL" in the top-level Makefile in order to avoid broken
+install(1) invocations such as:
+
+    dm0755 "/build/pkg/usr/share/doc/faketime/"
+    /bin/sh: dm0755: command not found
+
+Signed-off-by: Lukas Fleischer <info at cryptocrack.de>
+---
+ Makefile |    2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index f90e18e..d0225ba 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,3 +1,5 @@
++INSTALL = install
++
+ all:
+ 	$(MAKE) -C src all
+ 	$(MAKE) -C test all
+-- 
+1.7.8.4
+

Copied: libfaketime/repos/community-staging-i686/libfaketime-0.9.1-fix-as-needed.patch (from rev 160668, libfaketime/trunk/libfaketime-0.9.1-fix-as-needed.patch)
===================================================================
--- community-staging-i686/libfaketime-0.9.1-fix-as-needed.patch	                        (rev 0)
+++ community-staging-i686/libfaketime-0.9.1-fix-as-needed.patch	2016-02-08 00:44:17 UTC (rev 160669)
@@ -0,0 +1,39 @@
+From f0ee2ee1e0a2fa5f11614a55ab8543380faa9695 Mon Sep 17 00:00:00 2001
+From: Lukas Fleischer <info at cryptocrack.de>
+Date: Sun, 22 Jan 2012 21:47:52 +0100
+Subject: [PATCH] Fix linking with "-Wl,--as-needed"
+
+Reorder linker flags in order to ensure proper linking when using
+"--Wl,--as-needed". Read http://www.gentoo.org/proj/en/qa/asneeded.xml,
+especially "Importance of linking order" for details:
+
+    Basically, what the linker does is look for the symbols missing in a
+    given file (either an object file, a static archive or a library)
+    only in the files coming after it. When using the normal linking,
+    without --as-needed, this is not a problem, although there might be
+    some internal drawbacks on the linking stage, the files are linked
+    together without considering ordering. But with the flag, the
+    libraries that aren't used for resolving symbols are discarded and
+    thus not linked.
+
+Signed-off-by: Lukas Fleischer <info at cryptocrack.de>
+---
+ src/Makefile |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index 9118815..d4a04b5 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -69,7 +69,7 @@ ${OBJ}: faketime.c
+ 	${CC} -o $@ -c ${CFLAGS} ${EXTRA_FLAGS} $<
+ 
+ lib%.so.${SONAME}: %.o
+-	${CC} -o $@ -Wl,-soname,$@ ${LDFLAGS} $<
++	${CC} -o $@ -Wl,-soname,$@ $< ${LDFLAGS}
+ 
+ clean: 
+ 	@rm -f ${OBJ} ${LIBS}
+-- 
+1.7.8.4
+

Copied: libfaketime/repos/community-staging-x86_64/PKGBUILD (from rev 160668, libfaketime/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-02-08 00:44:17 UTC (rev 160669)
@@ -0,0 +1,24 @@
+# $Id$
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Dan Serban
+# Contributor: Ross Melin <rdmelin at gmail.com>
+
+pkgname=libfaketime
+pkgver=0.9.6
+pkgrel=2
+pkgdesc='Report fake dates and times to programs without having to change the system-wide time.'
+arch=('i686' 'x86_64')
+url='http://www.code-wizards.com/projects/libfaketime/'
+license=('GPL2')
+source=("http://www.code-wizards.com/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('f522f899d65a057ad69cff9896c75f78')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  make PREFIX=/usr
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make PREFIX=/usr DESTDIR="${pkgdir}" install
+}

Copied: libfaketime/repos/community-staging-x86_64/libfaketime-0.9.1-fix-README-NEWS.patch (from rev 160668, libfaketime/trunk/libfaketime-0.9.1-fix-README-NEWS.patch)
===================================================================
--- community-staging-x86_64/libfaketime-0.9.1-fix-README-NEWS.patch	                        (rev 0)
+++ community-staging-x86_64/libfaketime-0.9.1-fix-README-NEWS.patch	2016-02-08 00:44:17 UTC (rev 160669)
@@ -0,0 +1,29 @@
+From c0c19a71c5481f3082afee2ac7962bd7abfcf134 Mon Sep 17 00:00:00 2001
+From: Lukas Fleischer <info at cryptocrack.de>
+Date: Sun, 22 Jan 2012 22:19:50 +0100
+Subject: [PATCH] Makefile: Fix installation of "README" and "NEWS"
+
+Initialize "INSTALL" in the top-level Makefile in order to avoid broken
+install(1) invocations such as:
+
+    dm0755 "/build/pkg/usr/share/doc/faketime/"
+    /bin/sh: dm0755: command not found
+
+Signed-off-by: Lukas Fleischer <info at cryptocrack.de>
+---
+ Makefile |    2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index f90e18e..d0225ba 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,3 +1,5 @@
++INSTALL = install
++
+ all:
+ 	$(MAKE) -C src all
+ 	$(MAKE) -C test all
+-- 
+1.7.8.4
+

Copied: libfaketime/repos/community-staging-x86_64/libfaketime-0.9.1-fix-as-needed.patch (from rev 160668, libfaketime/trunk/libfaketime-0.9.1-fix-as-needed.patch)
===================================================================
--- community-staging-x86_64/libfaketime-0.9.1-fix-as-needed.patch	                        (rev 0)
+++ community-staging-x86_64/libfaketime-0.9.1-fix-as-needed.patch	2016-02-08 00:44:17 UTC (rev 160669)
@@ -0,0 +1,39 @@
+From f0ee2ee1e0a2fa5f11614a55ab8543380faa9695 Mon Sep 17 00:00:00 2001
+From: Lukas Fleischer <info at cryptocrack.de>
+Date: Sun, 22 Jan 2012 21:47:52 +0100
+Subject: [PATCH] Fix linking with "-Wl,--as-needed"
+
+Reorder linker flags in order to ensure proper linking when using
+"--Wl,--as-needed". Read http://www.gentoo.org/proj/en/qa/asneeded.xml,
+especially "Importance of linking order" for details:
+
+    Basically, what the linker does is look for the symbols missing in a
+    given file (either an object file, a static archive or a library)
+    only in the files coming after it. When using the normal linking,
+    without --as-needed, this is not a problem, although there might be
+    some internal drawbacks on the linking stage, the files are linked
+    together without considering ordering. But with the flag, the
+    libraries that aren't used for resolving symbols are discarded and
+    thus not linked.
+
+Signed-off-by: Lukas Fleischer <info at cryptocrack.de>
+---
+ src/Makefile |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index 9118815..d4a04b5 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -69,7 +69,7 @@ ${OBJ}: faketime.c
+ 	${CC} -o $@ -c ${CFLAGS} ${EXTRA_FLAGS} $<
+ 
+ lib%.so.${SONAME}: %.o
+-	${CC} -o $@ -Wl,-soname,$@ ${LDFLAGS} $<
++	${CC} -o $@ -Wl,-soname,$@ $< ${LDFLAGS}
+ 
+ clean: 
+ 	@rm -f ${OBJ} ${LIBS}
+-- 
+1.7.8.4
+



More information about the arch-commits mailing list