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

Christian Hesse eworm at archlinux.org
Tue Jun 2 13:42:06 UTC 2015


    Date: Tuesday, June 2, 2015 @ 15:42:05
  Author: eworm
Revision: 134540

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

Added:
  libu2f-host/repos/community-i686/
  libu2f-host/repos/community-i686/PKGBUILD
    (from rev 134539, libu2f-host/trunk/PKGBUILD)
  libu2f-host/repos/community-i686/libu2f-host.install
    (from rev 134539, libu2f-host/trunk/libu2f-host.install)
  libu2f-host/repos/community-i686/makefile.patch
    (from rev 134539, libu2f-host/trunk/makefile.patch)
  libu2f-host/repos/community-x86_64/
  libu2f-host/repos/community-x86_64/PKGBUILD
    (from rev 134539, libu2f-host/trunk/PKGBUILD)
  libu2f-host/repos/community-x86_64/libu2f-host.install
    (from rev 134539, libu2f-host/trunk/libu2f-host.install)
  libu2f-host/repos/community-x86_64/makefile.patch
    (from rev 134539, libu2f-host/trunk/makefile.patch)

--------------------------------------+
 community-i686/PKGBUILD              |   50 +++++++++++++++++++++++++++++++++
 community-i686/libu2f-host.install   |   15 +++++++++
 community-i686/makefile.patch        |   26 +++++++++++++++++
 community-x86_64/PKGBUILD            |   50 +++++++++++++++++++++++++++++++++
 community-x86_64/libu2f-host.install |   15 +++++++++
 community-x86_64/makefile.patch      |   26 +++++++++++++++++
 6 files changed, 182 insertions(+)

Copied: libu2f-host/repos/community-i686/PKGBUILD (from rev 134539, libu2f-host/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-06-02 13:42:05 UTC (rev 134540)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=libu2f-host
+pkgver=0.0.4
+pkgrel=2
+pkgdesc="Yubico Universal 2nd Factor (U2F) Host C Library"
+arch=('i686' 'x86_64')
+url='https://github.com/Yubico/libu2f-host'
+license=('BSD')
+depends=('json-c' 'hidapi')
+makedepends=('git' 'help2man' 'gtk-doc' 'gengetopt')
+install=libu2f-host.install
+source=("git://github.com/Yubico/libu2f-host.git#tag=libu2f-host-${pkgver}"
+	'makefile.patch')
+sha256sums=('SKIP'
+            '15355aade08033f8373d85017534297ebceb4e2874334109a24e368aea7ac2c0')
+
+prepare() {
+	cd libu2f-host/
+
+	patch -Np1 < "${srcdir}/makefile.patch"
+}
+
+build() {
+	cd libu2f-host/
+
+	autoreconf -fi
+	./configure \
+		--prefix=/usr \
+		--enable-gtk-doc \
+		--with-udevrulesdir=/usr/lib/udev/rules.d/
+	make
+}
+
+
+check() {
+	cd libu2f-host/
+
+	make check
+}
+
+package() {
+	cd libu2f-host/
+
+	make DESTDIR="${pkgdir}/" install
+
+	install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
+

Copied: libu2f-host/repos/community-i686/libu2f-host.install (from rev 134539, libu2f-host/trunk/libu2f-host.install)
===================================================================
--- community-i686/libu2f-host.install	                        (rev 0)
+++ community-i686/libu2f-host.install	2015-06-02 13:42:05 UTC (rev 134540)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+post_upgrade() {
+	if systemctl -q is-active systemd-udevd; then
+		udevadm control --reload-rules
+	fi
+}
+
+post_install() {
+	post_upgrade
+}
+
+post_remove() {
+	post_upgrade
+}

Copied: libu2f-host/repos/community-i686/makefile.patch (from rev 134539, libu2f-host/trunk/makefile.patch)
===================================================================
--- community-i686/makefile.patch	                        (rev 0)
+++ community-i686/makefile.patch	2015-06-02 13:42:05 UTC (rev 134540)
@@ -0,0 +1,26 @@
+From f241518e0dfd896eee6886aad2f3f6f8ef83f6da Mon Sep 17 00:00:00 2001
+From: Christian Hesse <mail at eworm.de>
+Date: Tue, 14 Oct 2014 11:25:54 +0200
+Subject: [PATCH 1/1] Makefile: make help2man depend on u2f-host, not
+ u2f-host.c
+
+---
+ src/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index e9159a7..1afdddd 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -35,7 +35,7 @@ MAINTAINERCLEANFILES = $(BUILT_SOURCES)
+ dist_man_MANS = u2f-host.1
+ DISTCLEANFILES = $(dist_man_MANS)
+ 
+-u2f-host.1: $(srcdir)/u2f-host.c $(srcdir)/cmdline.ggo $(top_srcdir)/configure.ac
++u2f-host.1: $(builddir)/u2f-host$(EXEEXT) $(srcdir)/cmdline.ggo $(top_srcdir)/configure.ac
+ 	$(AM_V_GEN)$(HELP2MAN) \
+ 		--output=$@ $(builddir)/u2f-host$(EXEEXT) \
+ 		--name="Yubico Universal 2nd Factor (U2F) Host Tool" \
+-- 
+2.1.2
+

Copied: libu2f-host/repos/community-x86_64/PKGBUILD (from rev 134539, libu2f-host/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-06-02 13:42:05 UTC (rev 134540)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=libu2f-host
+pkgver=0.0.4
+pkgrel=2
+pkgdesc="Yubico Universal 2nd Factor (U2F) Host C Library"
+arch=('i686' 'x86_64')
+url='https://github.com/Yubico/libu2f-host'
+license=('BSD')
+depends=('json-c' 'hidapi')
+makedepends=('git' 'help2man' 'gtk-doc' 'gengetopt')
+install=libu2f-host.install
+source=("git://github.com/Yubico/libu2f-host.git#tag=libu2f-host-${pkgver}"
+	'makefile.patch')
+sha256sums=('SKIP'
+            '15355aade08033f8373d85017534297ebceb4e2874334109a24e368aea7ac2c0')
+
+prepare() {
+	cd libu2f-host/
+
+	patch -Np1 < "${srcdir}/makefile.patch"
+}
+
+build() {
+	cd libu2f-host/
+
+	autoreconf -fi
+	./configure \
+		--prefix=/usr \
+		--enable-gtk-doc \
+		--with-udevrulesdir=/usr/lib/udev/rules.d/
+	make
+}
+
+
+check() {
+	cd libu2f-host/
+
+	make check
+}
+
+package() {
+	cd libu2f-host/
+
+	make DESTDIR="${pkgdir}/" install
+
+	install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
+

Copied: libu2f-host/repos/community-x86_64/libu2f-host.install (from rev 134539, libu2f-host/trunk/libu2f-host.install)
===================================================================
--- community-x86_64/libu2f-host.install	                        (rev 0)
+++ community-x86_64/libu2f-host.install	2015-06-02 13:42:05 UTC (rev 134540)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+post_upgrade() {
+	if systemctl -q is-active systemd-udevd; then
+		udevadm control --reload-rules
+	fi
+}
+
+post_install() {
+	post_upgrade
+}
+
+post_remove() {
+	post_upgrade
+}

Copied: libu2f-host/repos/community-x86_64/makefile.patch (from rev 134539, libu2f-host/trunk/makefile.patch)
===================================================================
--- community-x86_64/makefile.patch	                        (rev 0)
+++ community-x86_64/makefile.patch	2015-06-02 13:42:05 UTC (rev 134540)
@@ -0,0 +1,26 @@
+From f241518e0dfd896eee6886aad2f3f6f8ef83f6da Mon Sep 17 00:00:00 2001
+From: Christian Hesse <mail at eworm.de>
+Date: Tue, 14 Oct 2014 11:25:54 +0200
+Subject: [PATCH 1/1] Makefile: make help2man depend on u2f-host, not
+ u2f-host.c
+
+---
+ src/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index e9159a7..1afdddd 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -35,7 +35,7 @@ MAINTAINERCLEANFILES = $(BUILT_SOURCES)
+ dist_man_MANS = u2f-host.1
+ DISTCLEANFILES = $(dist_man_MANS)
+ 
+-u2f-host.1: $(srcdir)/u2f-host.c $(srcdir)/cmdline.ggo $(top_srcdir)/configure.ac
++u2f-host.1: $(builddir)/u2f-host$(EXEEXT) $(srcdir)/cmdline.ggo $(top_srcdir)/configure.ac
+ 	$(AM_V_GEN)$(HELP2MAN) \
+ 		--output=$@ $(builddir)/u2f-host$(EXEEXT) \
+ 		--name="Yubico Universal 2nd Factor (U2F) Host Tool" \
+-- 
+2.1.2
+



More information about the arch-commits mailing list