- fixed references

- bitbake updated versions


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@417 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2011-02-19 07:37:13 +00:00
parent 29a713904a
commit 3c97fec911
8 changed files with 30 additions and 30 deletions

View File

@@ -4,11 +4,11 @@ LICENSE = "GPL"
DEPENDS = "pcsc-lite linux-libc-headers openssl opensc" DEPENDS = "pcsc-lite linux-libc-headers openssl opensc"
RDEPENDS = "pcsc-lite kernel-module-gadgetfs libcrypto opensc" RDEPENDS = "pcsc-lite kernel-module-gadgetfs libcrypto opensc"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=ccid;proto=https;rev=180" SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=ccid;proto=https;rev=417"
S = "${WORKDIR}/ccid" S = "${WORKDIR}/ccid"
inherit autotools_stage pkgconfig inherit autotools pkgconfig
EXTRA_OECONF = "--enable-pace" EXTRA_OECONF = "--enable-pace"

View File

@@ -1,15 +1,15 @@
DESCRIPTION = "Simple GUI for entring a PIN and giving it to pace-tool" DESCRIPTION = "Simple GUI for entring a PIN and giving it to npa-tool"
LICENSE = "GPL" LICENSE = "GPL"
AUTHOR = "Dominik Oepen <oepen@informatik.hu-berlin.de>" AUTHOR = "Dominik Oepen <oepen@informatik.hu-berlin.de>"
DEPENDS = "ccid-emulator" DEPENDS = "npa"
RDEPENDS = "ccid-emulator python-pygtk libglade" RDEPENDS = "npa python-pygtk libglade"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=eID_gui;proto=https;rev=237" SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=eID_gui;proto=https;rev=417"
S = "${WORKDIR}/eID_gui" S = "${WORKDIR}/eID_gui"
inherit autotools_stage pkgconfig python-dir inherit autotools pkgconfig python-dir
FILES_${PN} += "${bindir}/* \ FILES_${PN} += "${bindir}/* \
${datadir}/eid_gui/* \ ${datadir}/eid_gui/* \

View File

@@ -2,9 +2,9 @@ DESCRIPTION = "API and Tools for the new German identity card (neuer Personalaus
LICENSE = "GPL" LICENSE = "GPL"
DEPENDS = "openssl opensc" DEPENDS = "openssl opensc"
RDEPENDS = "libcrypto" RDEPENDS = "libcrypto opensc"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot;module=vsmartcard;proto=https;rev=396" SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot;module=vsmartcard;proto=https;rev=417"
S = "${WORKDIR}/vsmartcard/npa" S = "${WORKDIR}/vsmartcard/npa"

View File

@@ -4,11 +4,11 @@ LICENSE = "GPL"
DEPENDS = "pcsc-lite" DEPENDS = "pcsc-lite"
RDEPENDS = "pcsc-lite" RDEPENDS = "pcsc-lite"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=picc_to_pcsc;proto=https;rev=180" SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=picc_to_pcsc;proto=https;rev=417"
S = "${WORKDIR}/picc_to_pcsc" S = "${WORKDIR}/picc_to_pcsc"
inherit autotools_stage pkgconfig inherit autotools pkgconfig
FILES_${PN} += "\ FILES_${PN} += "\
${bindir}/* \ ${bindir}/* \

View File

@@ -4,13 +4,13 @@ LICENSE = "GPL"
DEPENDS = "pcsc-lite" DEPENDS = "pcsc-lite"
RDEPENDS = "pcsc-lite python-pycrypto python-crypt python-textutils python-imaging python-pickle" RDEPENDS = "pcsc-lite python-pycrypto python-crypt python-textutils python-imaging python-pickle"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=virtualsmartcard;proto=https;rev=180" SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=virtualsmartcard;proto=https;rev=417"
S = "${WORKDIR}/virtualsmartcard" S = "${WORKDIR}/virtualsmartcard"
EXTRA_OECONF = " --enable-serialdropdir=${libdir}/pcsc/drivers/serial" EXTRA_OECONF = " --enable-serialdropdir=${libdir}/pcsc/drivers/serial"
inherit autotools_stage pkgconfig inherit autotools pkgconfig
FILES_${PN} += "\ FILES_${PN} += "\
${bindir}/* \ ${bindir}/* \

View File

@@ -1,5 +1,5 @@
DESCRIPTION = "Virtual Smartcard with PCSC Driver and CCID to PCSC Gadget" DESCRIPTION = "Virtual Smartcard with PCSC Driver and CCID to PCSC Gadget"
LICENSE = "GPL" LICENSE = "GPL"
DEPENDS = "ccid-emulator virtualsmartcard picctopcsc" DEPENDS = "npa ccid-emulator virtualsmartcard picctopcsc"

View File

@@ -462,13 +462,13 @@ class PinpadGTK(object):
return False return False
def btnOk_clicked(self, widget): def btnOk_clicked(self, widget):
"""Pass the entered secret to pace-tool. If pace-tool is run """Pass the entered secret to npa-tool. If npa-tool is run
sucessfully exit, otherwise restart the PIN entry""" sucessfully exit, otherwise restart the PIN entry"""
env_args = os.environ env_args = os.environ
#cmd contains the command and all the parameters for our subproccess #cmd contains the command and all the parameters for our subproccess
cmd = ["pace-tool"] cmd = ["npa-tool"]
#We have to select the type of secret to use via a command line #We have to select the type of secret to use via a command line
#parameter and provide the actual secret via an environment variable #parameter and provide the actual secret via an environment variable
@@ -484,13 +484,13 @@ class PinpadGTK(object):
else: else:
raise ValueError("Unknown secret type: %s" % self.secret) raise ValueError("Unknown secret type: %s" % self.secret)
#If we have a CHAT, we pass it to pace-tool #If we have a CHAT, we pass it to npa-tool
#if (self.chat): #if (self.chat):
# cmd.append("--chat=" + self.chat) # cmd.append("--chat=" + self.chat)
cmd.append("-v") cmd.append("-v")
#Try to call pace-tool. This is a blocking call. An animation is being #Try to call npa-tool. This is a blocking call. An animation is being
#shown while the subprocess is running #shown while the subprocess is running
try: try:
#Stop polling the card while PACE is running #Stop polling the card while PACE is running
@@ -498,7 +498,7 @@ class PinpadGTK(object):
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, env=env_args, proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, env=env_args,
close_fds=True) close_fds=True)
except OSError: except OSError:
popup = MsgBox(self.window, "pace-tool wurde nicht gefunden", popup = MsgBox(self.window, "npa-tool wurde nicht gefunden",
"error") "error")
popup.run() popup.run()
popup.destroy() popup.destroy()
@@ -524,7 +524,7 @@ class PinpadGTK(object):
gtk.main_iteration() gtk.main_iteration()
line = proc.stdout.readline() line = proc.stdout.readline()
#Get the return value of the pace-tool process #Get the return value of the npa-tool process
ret = proc.poll() ret = proc.poll()
waiting.destroy() waiting.destroy()
self.cardChecker.resume() self.cardChecker.resume()
@@ -632,16 +632,16 @@ class PINChanger(PinpadGTK):
def __check_old_pin(self): def __check_old_pin(self):
"""Run PACE with the old pin to see if it is correct""" """Run PACE with the old pin to see if it is correct"""
#cmd contains the command and all the parameters for our subproccess #cmd contains the command and all the parameters for our subproccess
cmd = ["pace-tool", "--pin=" + self.pin] cmd = ["npa-tool", "--pin=" + self.pin]
#Try to call pace-tool. This is a blocking call. An animation is being #Try to call npa-tool. This is a blocking call. An animation is being
#shown while the subprocess is running #shown while the subprocess is running
try: try:
#Stop polling the card while PACE is running #Stop polling the card while PACE is running
self.cardChecker.pause() self.cardChecker.pause()
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, close_fds=True) proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, close_fds=True)
except OSError: except OSError:
popup = MsgBox(self.window, "pace-tool wurde nicht gefunden", popup = MsgBox(self.window, "npa-tool wurde nicht gefunden",
"error") "error")
popup.run() popup.run()
popup.destroy() popup.destroy()
@@ -667,7 +667,7 @@ class PINChanger(PinpadGTK):
gtk.main_iteration() gtk.main_iteration()
line = proc.stdout.readline() line = proc.stdout.readline()
#Get the return value of the pace-tool process #Get the return value of the npa-tool process
ret = proc.poll() ret = proc.poll()
waiting.destroy() waiting.destroy()
self.cardChecker.resume() self.cardChecker.resume()
@@ -682,20 +682,20 @@ class PINChanger(PinpadGTK):
def __change_pin(self): def __change_pin(self):
"""Change the pin using pace-tool""" """Change the pin using npa-tool"""
#cmd contains the command and all the parameters for our subproccess #cmd contains the command and all the parameters for our subproccess
cmd = ["pace-tool", "--pin=" + self.__old_pin, cmd = ["npa-tool", "--pin=" + self.__old_pin,
"--new-pin=" + self.__new_pin1] "--new-pin=" + self.__new_pin1]
#Try to call pace-tool. This is a blocking call. An animation is being #Try to call npa-tool. This is a blocking call. An animation is being
#shown while the subprocess is running #shown while the subprocess is running
try: try:
#Stop polling the card while PACE is running #Stop polling the card while PACE is running
self.cardChecker.pause() self.cardChecker.pause()
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, close_fds=True) proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, close_fds=True)
except OSError: except OSError:
popup = MsgBox(self.window, "pace-tool wurde nicht gefunden", popup = MsgBox(self.window, "npa-tool wurde nicht gefunden",
"error") "error")
popup.run() popup.run()
popup.destroy() popup.destroy()
@@ -721,7 +721,7 @@ class PINChanger(PinpadGTK):
gtk.main_iteration() gtk.main_iteration()
line = proc.stdout.readline() line = proc.stdout.readline()
#Get the return value of the pace-tool process #Get the return value of the npa-tool process
ret = proc.poll() ret = proc.poll()
waiting.destroy() waiting.destroy()
self.cardChecker.resume() self.cardChecker.resume()

View File

@@ -2,7 +2,7 @@
Version=@VERSION@ Version=@VERSION@
Encoding=UTF-8 Encoding=UTF-8
Name=eID Name=eID
Comment=GUI zur Eingabe einer PIN/CAN/PUK fuer pace-tool Comment=GUI zur Eingabe einer PIN/CAN/PUK fuer npa-tool
Exec=eid_gui.py Exec=eid_gui.py
Icon=@prefix@/share/eid_gui/images/OpenPACElogo.png Icon=@prefix@/share/eid_gui/images/OpenPACElogo.png
Terminal=false Terminal=false