]> err.no Git - yubikey-personalization.old/commitdiff
Import debianisation
authorTollef Fog Heen <tfheen@err.no>
Sat, 5 Sep 2009 09:41:46 +0000 (11:41 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sat, 30 Jan 2010 12:40:47 +0000 (12:40 +0000)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/libykpers-1-1.install [new file with mode: 0644]
debian/libykpers-1-1.symbols [new file with mode: 0644]
debian/libykpers-1-dev.install [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/yubikey-personalization.install [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..98b6475
--- /dev/null
@@ -0,0 +1,11 @@
+yubikey-personalization (0.96-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Sat, 29 Aug 2009 11:20:27 +0200
+
+yubikey-personalization (0.95-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Fri, 21 Aug 2009 18:39:57 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..0f4d5cf
--- /dev/null
@@ -0,0 +1,41 @@
+Source: yubikey-personalization
+Section: utils
+Priority: extra
+Maintainer: Tollef Fog Heen <tfheen@debian.org>
+Build-Depends: debhelper (>= 7), autotools-dev, libusb-1.0-0-dev, libyubikey-dev, chrpath, pkg-config
+Standards-Version: 3.8.2
+Homepage: http://code.google.com/p/yubikey-personalization/
+
+Package: yubikey-personalization
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Personalization tool for Yubikey OTP tokens
+ Yubikeys are USB tokens that act like keyboards and generate one-time
+ or static passwords.
+ .
+ This is a tool to customize the tokens with your own cryptographic
+ key, user id and so on.
+Homepage: http://code.google.com/p/yubikey-personalization/
+
+Package: libykpers-1-1
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Personalization tool for Yubikey OTP tokens
+ Yubikeys are USB tokens that act like keyboards and generate one-time
+ or static passwords.
+ .
+ This package contains the run-time shared library needed for the
+ personalization tool.
+Homepage: http://code.google.com/p/yubikey-personalization/
+
+Package: libykpers-1-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Personalization tool for Yubikey OTP tokens
+ Yubikeys are USB tokens that act like keyboards and generate one-time
+ or static passwords.
+ .
+ This package contains the development files for the library.
+Homepage: http://code.google.com/p/yubikey-personalization/
\ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..f7774c1
--- /dev/null
@@ -0,0 +1,40 @@
+This package was debianized by Tollef Fog Heen <tfheen@debian.org> on
+Tue, 07 Apr 2009 16:46:56 +0200.
+
+It was downloaded from http://code.google.com/p/yubikey-personalization/
+
+Upstream Authors:
+
+       Richard Levitte <richard@levitte.org>
+       Simon Josefsson <simon@yubico.com>
+       Jakob Ehrensvärd <jakob@yubico.com>
+       Lester Hightower, 10East" <lester.hightower@gmail.com>
+       Christer Kaivo-oja <christer.kaivooja@gmail.com>
+       Tollef Fog Heen <tfheen@err.no>
+
+Copyright (c) 2008, Yubico AB
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+
+    * Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials provided
+      with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..74c5069
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..50bd824
--- /dev/null
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/libykpers-1-1.install b/debian/libykpers-1-1.install
new file mode 100644 (file)
index 0000000..8ada36f
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/libykpers-1.so.*
diff --git a/debian/libykpers-1-1.symbols b/debian/libykpers-1-1.symbols
new file mode 100644 (file)
index 0000000..cf7a9fa
--- /dev/null
@@ -0,0 +1 @@
+libykpers-1.so.1 libykpers-1-1 #MINVER#
diff --git a/debian/libykpers-1-dev.install b/debian/libykpers-1-dev.install
new file mode 100644 (file)
index 0000000..7777de7
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib/libykpers-1.so
+usr/lib/libykpers-1.a
+usr/lib/pkgconfig
+usr/include/ykpers-1
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..0b69e60
--- /dev/null
@@ -0,0 +1,86 @@
+#! /usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+config.status: configure
+       dh_testdir
+       # Add here commands to configure the package.
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+       cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+       cp -f /usr/share/misc/config.guess config.guess
+endif
+       mkdir -p build-$(DEB_BUILD_GNU_TYPE)
+       cd build-$(DEB_BUILD_GNU_TYPE) && ../configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" || sleep 6000
+
+build: build-stamp
+build-stamp:  config.status 
+       dh_testdir
+       $(MAKE) -C build-$(DEB_BUILD_GNU_TYPE)
+       touch $@
+
+clean: 
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp 
+
+       # Add here commands to clean up after the build process.
+       [ ! -f Makefile ] || $(MAKE) distclean
+       rm -rf build-$(DEB_BUILD_GNU_TYPE)
+       rm -f config.sub config.guess
+
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_prep  
+       dh_installdirs
+       $(MAKE) -C build-$(DEB_BUILD_GNU_TYPE) DESTDIR=$(CURDIR)/debian/tmp install
+       chrpath -d $(CURDIR)/debian/tmp/usr/bin/ykpersonalize
+
+# Build architecture-independent files here.
+binary-indep: install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs 
+       dh_installdocs
+       dh_installexamples
+       rm -rf debian/tmp/usr/lib/*.la
+       dh_install --sourcedir=debian/tmp --fail-missing
+       dh_installman
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_makeshlibs -V
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/debian/yubikey-personalization.install b/debian/yubikey-personalization.install
new file mode 100644 (file)
index 0000000..c707150
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin/ykpersonalize
+usr/share/man/man1/ykpersonalize*