From 01a596cc4d9cd80d9ba70f19e2046d44ad4246a0 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sat, 5 Sep 2009 11:41:46 +0200 Subject: [PATCH] Import debianisation --- debian/changelog | 11 ++++ debian/compat | 1 + debian/control | 41 ++++++++++++ debian/copyright | 40 ++++++++++++ debian/dirs | 2 + debian/docs | 2 + debian/libykpers-1-1.install | 1 + debian/libykpers-1-1.symbols | 1 + debian/libykpers-1-dev.install | 4 ++ debian/rules | 86 ++++++++++++++++++++++++++ debian/yubikey-personalization.install | 2 + 11 files changed, 191 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/docs create mode 100644 debian/libykpers-1-1.install create mode 100644 debian/libykpers-1-1.symbols create mode 100644 debian/libykpers-1-dev.install create mode 100755 debian/rules create mode 100644 debian/yubikey-personalization.install diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..98b6475 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,11 @@ +yubikey-personalization (0.96-1) unstable; urgency=low + + * New upstream release + + -- Tollef Fog Heen Sat, 29 Aug 2009 11:20:27 +0200 + +yubikey-personalization (0.95-1) unstable; urgency=low + + * Initial release + + -- Tollef Fog Heen Fri, 21 Aug 2009 18:39:57 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0f4d5cf --- /dev/null +++ b/debian/control @@ -0,0 +1,41 @@ +Source: yubikey-personalization +Section: utils +Priority: extra +Maintainer: Tollef Fog Heen +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 index 0000000..f7774c1 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,40 @@ +This package was debianized by Tollef Fog Heen on +Tue, 07 Apr 2009 16:46:56 +0200. + +It was downloaded from http://code.google.com/p/yubikey-personalization/ + +Upstream Authors: + + Richard Levitte + Simon Josefsson + Jakob Ehrensvärd + Lester Hightower, 10East" + Christer Kaivo-oja + Tollef Fog Heen + +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 index 0000000..74c5069 --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..50bd824 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +NEWS +README diff --git a/debian/libykpers-1-1.install b/debian/libykpers-1-1.install new file mode 100644 index 0000000..8ada36f --- /dev/null +++ b/debian/libykpers-1-1.install @@ -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 index 0000000..cf7a9fa --- /dev/null +++ b/debian/libykpers-1-1.symbols @@ -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 index 0000000..7777de7 --- /dev/null +++ b/debian/libykpers-1-dev.install @@ -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 index 0000000..0b69e60 --- /dev/null +++ b/debian/rules @@ -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 index 0000000..c707150 --- /dev/null +++ b/debian/yubikey-personalization.install @@ -0,0 +1,2 @@ +usr/bin/ykpersonalize +usr/share/man/man1/ykpersonalize* -- 2.39.5