From f999b91ca6cf7ccd3a4801744552240fe935ceba Mon Sep 17 00:00:00 2001 From: simon75j Date: Tue, 5 May 2009 14:42:17 +0000 Subject: [PATCH] Fix instructions. git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@58 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- Makefile.am | 17 +++++++++++---- README | 60 ++++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 68 insertions(+), 9 deletions(-) diff --git a/Makefile.am b/Makefile.am index dc4dc03..c56cfaf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -66,11 +66,20 @@ TESTS = $(ctests) ChangeLog: svn2cl +PROJECT=yubikey-personalization + release: rm -f ChangeLog make ChangeLog distcheck - svn copy https://$(PACKAGE).googlecode.com/svn/trunk/ \ - https://$(PACKAGE).googlecode.com/svn/tags/$(PACKAGE)-$(VERSION) \ + gpg -b $(PACKAGE)-$(VERSION).tar.gz + gpg --verify $(PACKAGE)-$(VERSION).tar.gz.sig + svn copy https://$(PROJECT).googlecode.com/svn/trunk/ \ + https://$(PROJECT).googlecode.com/svn/tags/$(PACKAGE)-$(VERSION) \ -m "Tagging the $(VERSION) release of the $(PACKAGE) project." - googlecode_upload.py -s "Yubico Key personalization library v$(VERSION)." \ - -p $(PACKAGE) -u levitte $(PACKAGE)-$(VERSION).tar.gz + googlecode_upload.py -s "OpenPGP signature for $(PACKAGE) $(VERSION)." \ + -p $(PROJECT) -u simon75j $(PACKAGE)-$(VERSION).tar.gz.sig + googlecode_upload.py -s "$(PACKAGE) $(VERSION)" \ + -p $(PROJECT) -u simon75j $(PACKAGE)-$(VERSION).tar.gz + cp README ../wiki-$(PROJECT)/ReadMe.wiki && \ + cd ../wiki-$(PROJECT) && \ + svn commit -m Sync. ReadMe.wiki diff --git a/README b/README index 32f65a6..cf390ea 100644 --- a/README +++ b/README @@ -1,4 +1,12 @@ -=Dependencies= +#summary Installation of the Yubikey Personalization package +#labels Featured,Phase-Deploy + += Yubikey Personalization = + +The YubiKey Personalization package contains a library and command +line tool used to personalize (i.e., set a AES key) YubiKeys. + +== Dependencies == Yubico-c-client is needed, see http://code.google.com/p/yubico-c/ @@ -9,9 +17,51 @@ are example for a few flavors: (Debian) apt-get install libusb-dev (Fedora) yum install libusb-devel +== Building from SVN == + +Skip to the next section if you are using an official packaged +version. + +You may check out the sources using SVN with the following command: + +{{{ + svn checkout http://yubikey-personalization.googlecode.com/svn/trunk/ yubikey-personalization +}}} + +This will create a directory 'yubikey-personalization'. Enter the directory: + +{{{ + cd yubikey-personalization +}}} + +Autoconf, automake and libtool must be installed. + +Generate the build system using: + +{{{ + autoreconf --install +}}} + +== Building == + +You will need to have libyubikey (yubikey.h, libyubikey.so) and libusb +(usb.h, libusb.so) installed. Get the libyubikey library from: + +http://code.google.com/p/yubico-c/ + +The build system uses Autoconf, to set up the build system run: + +{{{ + ./configure +}}} + +Then build the code, run the self-test and install the binaries: + +{{{ + make check install +}}} -=Build instructions= +== Feedback == -autoreconf --install -./configure -make check +See the Google Group yubico-devel: +http://groups.google.com/group/yubico-devel -- 2.39.5