summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimB87 <tbier@posteo.de>2019-06-11 23:45:50 +0200
committerTimB87 <tbier@posteo.de>2019-06-11 23:45:50 +0200
commita9e4be5fe29a0eb2c22b00060b239df50cd4f608 (patch)
tree7c60c73b70ab7543d96801bc6a9666cb58fbcb57
parent430ca4375f31b47c001f2deb96c17f0f851eaa3b (diff)
downloadcontrib-a9e4be5fe29a0eb2c22b00060b239df50cd4f608.tar.gz
contrib-a9e4be5fe29a0eb2c22b00060b239df50cd4f608.tar.xz
yubikey-personalization: initial commit
-rw-r--r--yubikey-personalization/.footprint35
-rw-r--r--yubikey-personalization/.signature6
-rw-r--r--yubikey-personalization/10-security-key.rules2
-rw-r--r--yubikey-personalization/Pkgfile20
-rw-r--r--yubikey-personalization/README1
5 files changed, 64 insertions, 0 deletions
diff --git a/yubikey-personalization/.footprint b/yubikey-personalization/.footprint
new file mode 100644
index 000000000..310eb3ff9
--- /dev/null
+++ b/yubikey-personalization/.footprint
@@ -0,0 +1,35 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/udev/
+drwxr-xr-x root/root etc/udev/rules.d/
+-rw-r--r-- root/root etc/udev/rules.d/10-security-key.rules
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/udev/
+drwxr-xr-x root/root lib/udev/rules.d/
+-rw-r--r-- root/root lib/udev/rules.d/69-yubikey.rules
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/ykchalresp
+-rwxr-xr-x root/root usr/bin/ykinfo
+-rwxr-xr-x root/root usr/bin/ykpersonalize
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/ykpers-1/
+-rw-r--r-- root/root usr/include/ykpers-1/ykcore.h
+-rw-r--r-- root/root usr/include/ykpers-1/ykdef.h
+-rw-r--r-- root/root usr/include/ykpers-1/ykpbkdf2.h
+-rw-r--r-- root/root usr/include/ykpers-1/ykpers-version.h
+-rw-r--r-- root/root usr/include/ykpers-1/ykpers.h
+-rw-r--r-- root/root usr/include/ykpers-1/ykstatus.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libykpers-1.a
+-rwxr-xr-x root/root usr/lib/libykpers-1.la
+lrwxrwxrwx root/root usr/lib/libykpers-1.so -> libykpers-1.so.1.19.3
+lrwxrwxrwx root/root usr/lib/libykpers-1.so.1 -> libykpers-1.so.1.19.3
+-rwxr-xr-x root/root usr/lib/libykpers-1.so.1.19.3
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/ykpers-1.pc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/ykchalresp.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ykinfo.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ykpersonalize.1.gz
diff --git a/yubikey-personalization/.signature b/yubikey-personalization/.signature
new file mode 100644
index 000000000..967e6ed93
--- /dev/null
+++ b/yubikey-personalization/.signature
@@ -0,0 +1,6 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF38h28PN1B9uUyZ0vZOoIYnrXuHqmyjhh1JdsEyfnYbTRE63jPbLTIrhMdSbtQ/6R4oNz3dufVx+yEKRJGk/Kkwk=
+SHA256 (Pkgfile) = 68fdfca43470e1b63198941a652cac8bd88a0898227ef89ca3ed416d25a69397
+SHA256 (.footprint) = 2ffbdca01baa18a0a06f13cb35015284714e8f77af777b150446cac3467387c6
+SHA256 (yubikey-personalization-v1.19.3.tar.gz) = a59273938fb9d1e1e059e319e2d73bac2f121dad53b76efb49b1631839cb2afc
+SHA256 (10-security-key.rules) = e7cd6d8e595ceda4e8d907f2a579e88d2beb49a3d31eb70ef7a9fcca879f55d4
diff --git a/yubikey-personalization/10-security-key.rules b/yubikey-personalization/10-security-key.rules
new file mode 100644
index 000000000..50f21726f
--- /dev/null
+++ b/yubikey-personalization/10-security-key.rules
@@ -0,0 +1,2 @@
+#Rules to allow group wheel to access your yubikey
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", GROUP="wheel"
diff --git a/yubikey-personalization/Pkgfile b/yubikey-personalization/Pkgfile
new file mode 100644
index 000000000..1543a643a
--- /dev/null
+++ b/yubikey-personalization/Pkgfile
@@ -0,0 +1,20 @@
+# Description: Yubico YubiKey Personalization library and tool
+# URL: https://github.com/Yubico/yubikey-personalization
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: yubico-c-client libusb
+
+name=yubikey-personalization
+version=1.19.3
+release=1
+source=(https://github.com/Yubico/yubikey-personalization/archive/v$version/$name-v$version.tar.gz 10-security-key.rules)
+
+build() {
+ cd $name-$version
+ autoreconf --install
+ ./configure --prefix=/usr \
+ --with-udevrulesdir=/lib/udev/rules.d/
+ make
+ make DESTDIR=$PKG install
+ install -D -m0644 $SRC/10-security-key.rules \
+ $PKG/etc/udev/rules.d/10-security-key.rules
+}
diff --git a/yubikey-personalization/README b/yubikey-personalization/README
new file mode 100644
index 000000000..463d311b8
--- /dev/null
+++ b/yubikey-personalization/README
@@ -0,0 +1 @@
+You may want to change the group in 10-security-key.rules to something other then wheel, lp maybe?

Generated by cgit