version bump
authorWolfram Schlich <wschlich@gentoo.org>
Sun, 18 Mar 2007 20:34:56 +0000 (20:34 +0000)
committerWolfram Schlich <wschlich@gentoo.org>
Sun, 18 Mar 2007 20:34:56 +0000 (20:34 +0000)
Package-Manager: portage-2.1.2-r12

dev-libs/cyberjack/ChangeLog
dev-libs/cyberjack/Manifest
dev-libs/cyberjack/cyberjack-2.0.14_beta1.ebuild [new file with mode: 0644]
dev-libs/cyberjack/files/digest-cyberjack-2.0.14_beta1 [new file with mode: 0644]

index 16b4063f694855b9aaf6ef92a920dab544532d2d..852fefc6e7303e7973942d7634afca12fdc9a146 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-libs/cyberjack
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyberjack/ChangeLog,v 1.4 2007/03/03 22:34:31 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyberjack/ChangeLog,v 1.5 2007/03/18 20:34:56 wschlich Exp $
+
+*cyberjack-2.0.14_beta1 (18 Mar 2007)
+
+  18 Mar 2007; Wolfram Schlich <wschlich@gentoo.org>
+  +cyberjack-2.0.14_beta1.ebuild:
+  version bump
 
   03 Mar 2007; Marius Mauch <genone@gentoo.org> cyberjack-2.0.13.ebuild:
   Replacing einfo with elog
index 338824286de1d805347f92d3c75eab3636654937..ba2fe74f619c3f88f7fd07f5ee0e2198add7949d 100644 (file)
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX 91-cyberjack.rules 307 RMD160 8d7ab1ce69fa2e80aad709d31f0eb0369c73af82 SHA1 573684bee5b0f0824a64a1f4b4fb6992017996ed SHA256 a8a033ea6250749847a01878925b96a8fa2d13234b8d40a573cc11ceebefe967
 MD5 1ad4ae95628cc669c390a22ed47b4d0b files/91-cyberjack.rules 307
 RMD160 8d7ab1ce69fa2e80aad709d31f0eb0369c73af82 files/91-cyberjack.rules 307
@@ -22,14 +19,19 @@ MD5 ad29f0f714a8703f42a38d42b41bc27a files/cyberjack.sh 533
 RMD160 91b567c025ec250720352aaeb1b736ea9fd4ab85 files/cyberjack.sh 533
 SHA256 ca2b881a02a2fc5f20a1e770b0a7eb07539c98cb709243ad09eb858c5f16c81e files/cyberjack.sh 533
 DIST ctapi-cyberjack-2.0.13.tar.gz 662043 RMD160 15e6cba26296115133dbfc1379e858468b581110 SHA1 b18664717b53d3852741f8b1d2c78b6481ccbebc SHA256 818bd4124c2edb398359b88e80831724dda81cf15a5ee97c312170b5b204891f
+DIST ctapi-cyberjack-2.0.14beta1.tar.gz 687897 RMD160 9a6f663f85a9c50b1e66633e0eb5f8c2fc097bc0 SHA1 0717bdbbb1713c53c69d5ad143a1416905e8333b SHA256 70d52e87ce3937ca08fb840171758d858c87e3d758b09cba6ea016142e77237a
 EBUILD cyberjack-2.0.13.ebuild 3041 RMD160 82ad2808221d89e4b0bca8d73503b0e1e9bcc59a SHA1 7410e53e21f1a6e0d7a623ac723cb8d04353dba5 SHA256 73caa6d5733b8d45100591ccdbcb032f21eb9f19721f573a439d401e46cc2423
 MD5 d1cc72d53fcf4bac3cb891cdefa37545 cyberjack-2.0.13.ebuild 3041
 RMD160 82ad2808221d89e4b0bca8d73503b0e1e9bcc59a cyberjack-2.0.13.ebuild 3041
 SHA256 73caa6d5733b8d45100591ccdbcb032f21eb9f19721f573a439d401e46cc2423 cyberjack-2.0.13.ebuild 3041
-MISC ChangeLog 860 RMD160 7845f04a1873ff245628597810b86cd7f36d6975 SHA1 2bb22d8fc224648bf16e320349a32b2dfcaa5b81 SHA256 bff81e908ca21bdae0fdda0acc638a82894c4cdae9afa241794d5d721683f0ad
-MD5 cf7346102b538a3438884e5e08a1e97f ChangeLog 860
-RMD160 7845f04a1873ff245628597810b86cd7f36d6975 ChangeLog 860
-SHA256 bff81e908ca21bdae0fdda0acc638a82894c4cdae9afa241794d5d721683f0ad ChangeLog 860
+EBUILD cyberjack-2.0.14_beta1.ebuild 2844 RMD160 67958e469950855ec2780d6acbaa9eacc2b7154d SHA1 6c9c2a83a13cd61215fac4362ba4e8b1db5e8e91 SHA256 b52e5cee952a66ac3cdd4db3f79dddb142b79ae7ffad81da06dd8beb37d11ceb
+MD5 d778e49bba20eac83f65341ee4e39c4f cyberjack-2.0.14_beta1.ebuild 2844
+RMD160 67958e469950855ec2780d6acbaa9eacc2b7154d cyberjack-2.0.14_beta1.ebuild 2844
+SHA256 b52e5cee952a66ac3cdd4db3f79dddb142b79ae7ffad81da06dd8beb37d11ceb cyberjack-2.0.14_beta1.ebuild 2844
+MISC ChangeLog 1004 RMD160 c36254b0338a65c7e889f2a8d30ef29c5a0e99fc SHA1 d02f8240f62b9dc45d800807abc805f2147f1057 SHA256 e947a4d08b3b1c06ee87678b4787966707b25c7917cad477f2d0642dced488a6
+MD5 ad6a89b6e31398d9f322ff5cf97adcff ChangeLog 1004
+RMD160 c36254b0338a65c7e889f2a8d30ef29c5a0e99fc ChangeLog 1004
+SHA256 e947a4d08b3b1c06ee87678b4787966707b25c7917cad477f2d0642dced488a6 ChangeLog 1004
 MISC metadata.xml 300 RMD160 3b9c1cd628f9d7ac94b68543ec737d5c2381a47e SHA1 33c5efd31a8aa789118535b921e211ffb5023ac3 SHA256 bc07a9aecce5770d1ace9af0a6c6af8ff6c7b16eb5e7947a1b178d1970855e43
 MD5 3a0673ad138a1626da8160385475f88e metadata.xml 300
 RMD160 3b9c1cd628f9d7ac94b68543ec737d5c2381a47e metadata.xml 300
@@ -37,10 +39,6 @@ SHA256 bc07a9aecce5770d1ace9af0a6c6af8ff6c7b16eb5e7947a1b178d1970855e43 metadata
 MD5 b610c332deb05210a7a81949884e6685 files/digest-cyberjack-2.0.13 268
 RMD160 728573ee14c3e57eda904304f307562f65932186 files/digest-cyberjack-2.0.13 268
 SHA256 ef395dabacb738ef30fa04cfb6273a7fae0238874f5538e07668b4bcd006a9be files/digest-cyberjack-2.0.13 268
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFF6fjv6J2i8a8J4okRAiEkAJ90yny+dnvf4RlfpOKJAwDdhNQ8pwCeJ+kz
-vJYNUmLupZg1fwUmj7it48I=
-=/Dk5
------END PGP SIGNATURE-----
+MD5 2b9ba9bccf52271465d4b3e9d590a630 files/digest-cyberjack-2.0.14_beta1 283
+RMD160 6452a487859e779043530e0d0771db3705ab13c4 files/digest-cyberjack-2.0.14_beta1 283
+SHA256 dc509f8a15041f079aba73b8754fb37c009f9b0fe841a343e22e9a076a924413 files/digest-cyberjack-2.0.14_beta1 283
diff --git a/dev-libs/cyberjack/cyberjack-2.0.14_beta1.ebuild b/dev-libs/cyberjack/cyberjack-2.0.14_beta1.ebuild
new file mode 100644 (file)
index 0000000..cef0193
--- /dev/null
@@ -0,0 +1,92 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyberjack/cyberjack-2.0.14_beta1.ebuild,v 1.1 2007/03/18 20:34:56 wschlich Exp $
+
+inherit eutils flag-o-matic autotools
+
+MY_P="ctapi-${P/_/}"
+
+DESCRIPTION="REINER SCT cyberJack pinpad/e-com USB user space driver library"
+HOMEPAGE="http://www.reiner-sct.de/ http://sourceforge.net/projects/libchipcard/"
+SRC_URI="mirror://sourceforge/libchipcard/${MY_P}.tar.gz"
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="noudev pcsc-lite"
+RDEPEND="
+       dev-libs/libusb
+       pcsc-lite? (
+               sys-apps/pcsc-lite
+               dev-util/pkgconfig
+       )
+"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+       useq noudev || enewgroup "${PN}"
+}
+
+src_unpack() {
+       unpack ${A} || die "Unpacking failed."
+       cd "${S}" || die "Failed to change to source directory."
+       useq noudev || {
+               epatch "${FILESDIR}/${PN}-2.0.13-udev.patch" || die "Applying udev patch failed."
+               cp ${FILESDIR}/cyberjack.sh etc/udev/ || die "Copying udev script failed."
+               cp ${FILESDIR}/91-cyberjack.rules etc/udev/ || die "Copying udev rules failed."
+       }
+       AT_M4DIR="m4" eautoreconf || die "Adopting configurations failed."
+}
+
+src_compile() {
+       append-flags -fno-strict-aliasing
+       local with_usbdropdir=''
+       useq pcsc-lite && with_usbdropdir="--with-usbdropdir=$(pkg-config libpcsclite --variable=usbdropdir)"
+       ./configure \
+               --prefix=/usr \
+               --docdir=/usr/share/doc/"${P}" \
+               --sysconfdir=/etc/"${PN}" \
+               $(use_enable pcsc-lite pcsc) \
+               ${with_usbdropdir} \
+               $(use_enable !noudev udev) \
+               || die "Configuration of package failed."
+       emake || die "Compilation of package failed."
+}
+
+src_install() {
+       emake install DESTDIR="${D}" || die "Installation of package failed."
+       dodoc ChangeLog NEWS README TODO tools/ctshrc.example
+
+       # remove development files
+       rm -rf "${D}"/usr/include/ \
+               "${D}"/usr/lib/*.la \
+               "${D}"/usr/lib/readers/usb/ifd-"${PN}".bundle/Contents/Linux/*.la
+}
+
+pkg_postinst() {
+       local conf="/etc/${PN}/${PN}.conf"
+       elog
+       elog "To configure logging, key beep behaviour etc. you need to"
+       elog "copy ${conf}.default"
+       elog "to ${conf}"
+       elog "and modify the latter as needed."
+       elog
+       useq noudev || {
+               elog "Please run the following command as root to"
+               elog "make udevd read the cyberJack rules that were"
+               elog "just installed onto your system:"
+               elog
+               elog "  udevcontrol reload_rules"
+               elog
+               elog "To be able to use the cyberJack device, you need to"
+               elog "be a member of the group 'cyberjack' which has just"
+               elog "been added to your system. You can add your user to"
+               elog "the group by running the following command as root:"
+               elog
+               elog "  gpasswd -a youruser cyberjack"
+               elog
+               elog "Please be aware that you need to re-login to your"
+               elog "system for the group membership to take effect."
+               elog
+       }
+}
diff --git a/dev-libs/cyberjack/files/digest-cyberjack-2.0.14_beta1 b/dev-libs/cyberjack/files/digest-cyberjack-2.0.14_beta1
new file mode 100644 (file)
index 0000000..5d976d4
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 1f428ff836afcfd4463ac909d11cdea3 ctapi-cyberjack-2.0.14beta1.tar.gz 687897
+RMD160 9a6f663f85a9c50b1e66633e0eb5f8c2fc097bc0 ctapi-cyberjack-2.0.14beta1.tar.gz 687897
+SHA256 70d52e87ce3937ca08fb840171758d858c87e3d758b09cba6ea016142e77237a ctapi-cyberjack-2.0.14beta1.tar.gz 687897