From aa2738be02da0e2ad1a57049ff329010c68b4e80 Mon Sep 17 00:00:00 2001 From: Hanno Boeck Date: Wed, 17 Jan 2007 04:42:18 +0000 Subject: [PATCH] libchipcard 3 ebuild Package-Manager: portage-2.1.2 --- sys-libs/libchipcard/ChangeLog | 10 +++- sys-libs/libchipcard/Manifest | 40 +++++++++------ sys-libs/libchipcard/files/chipcardd3 | 16 ++++++ .../files/digest-libchipcard-3.0.2 | 3 ++ .../libchipcard/libchipcard-0.9.1-r1.ebuild | 12 ++--- sys-libs/libchipcard/libchipcard-3.0.2.ebuild | 49 +++++++++++++++++++ 6 files changed, 108 insertions(+), 22 deletions(-) create mode 100755 sys-libs/libchipcard/files/chipcardd3 create mode 100644 sys-libs/libchipcard/files/digest-libchipcard-3.0.2 create mode 100644 sys-libs/libchipcard/libchipcard-3.0.2.ebuild diff --git a/sys-libs/libchipcard/ChangeLog b/sys-libs/libchipcard/ChangeLog index f178564e7563..c7a679fcd053 100644 --- a/sys-libs/libchipcard/ChangeLog +++ b/sys-libs/libchipcard/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/libchipcard -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.47 2006/12/22 21:08:55 mabi Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.48 2007/01/17 04:42:18 hanno Exp $ + +*libchipcard-3.0.2 (17 Jan 2007) + + 17 Jan 2007; Hanno Boeck +files/chipcardd3, + +libchipcard-3.0.2.ebuild: + Add first libchipcard 3 ebuild. 22 Dec 2006; Matti Bickel libchipcard-2.1.8.ebuild: ppc stable (bug #149970) diff --git a/sys-libs/libchipcard/Manifest b/sys-libs/libchipcard/Manifest index 14651814bbfe..f420354cce1d 100644 --- a/sys-libs/libchipcard/Manifest +++ b/sys-libs/libchipcard/Manifest @@ -9,13 +9,18 @@ AUX chipcardd2 494 RMD160 fbc1c1f00ac89b26801f5fa1391ad4fa05759100 SHA1 96856716 MD5 ec257807a12a9e2af2decfb68e6337e8 files/chipcardd2 494 RMD160 fbc1c1f00ac89b26801f5fa1391ad4fa05759100 files/chipcardd2 494 SHA256 db21bdae2f75e0cac656935b851fc3dd6383a49f7a15ffec55a242d58087c27c files/chipcardd2 494 -DIST libchipcard-0.9.1.tar.gz 724733 RMD160 347f27bf94245694d3bb7b1a67f0144ff0c383a5 SHA256 126284bc4aa2e931f84744210bb83163f13423d7a563d4fb8f5514983f597ad0 -DIST libchipcard2-1.9.15beta.tar.gz 906418 RMD160 28b2f4458c1336144c68d20974749a021cc7c41d SHA256 9a0c21b90013fe3af3e42ce827accf349c26bf87637291a122f609b9aa9842b9 +AUX chipcardd3 494 RMD160 a56d47d0b1b528688e413e4a8f866a65730b50ec SHA1 af0fee287ad0affb1ce244177e5ef401aeb77019 SHA256 c9419860a76d2dfd71eb011ff311d893e64ec4162e5c54645600e6bc9b5549bd +MD5 1c8a56c3b3ce45e14fad6e8eccf1547d files/chipcardd3 494 +RMD160 a56d47d0b1b528688e413e4a8f866a65730b50ec files/chipcardd3 494 +SHA256 c9419860a76d2dfd71eb011ff311d893e64ec4162e5c54645600e6bc9b5549bd files/chipcardd3 494 +DIST libchipcard-0.9.1.tar.gz 724733 RMD160 347f27bf94245694d3bb7b1a67f0144ff0c383a5 SHA1 7458a57a8bc14dd15add9d53ad69e7ccf9c25133 SHA256 126284bc4aa2e931f84744210bb83163f13423d7a563d4fb8f5514983f597ad0 +DIST libchipcard2-1.9.15beta.tar.gz 906418 RMD160 28b2f4458c1336144c68d20974749a021cc7c41d SHA1 9fb71cba7deac5f3dfec37d887d17df9a681c306 SHA256 9a0c21b90013fe3af3e42ce827accf349c26bf87637291a122f609b9aa9842b9 DIST libchipcard2-2.1.8.tar.gz 997454 RMD160 4cda039fdd2a431cfb974f2f998c1ce1a43308bd SHA1 9074f85d8a31976a0fa85066432c595bbd03ec09 SHA256 f6d61b8a8292e4a9f1e0470542da5699534be7a853cfb8d8a543da7afad94e87 -EBUILD libchipcard-0.9.1-r1.ebuild 1022 RMD160 ce8e69331053e33078e877302e440ddec3eb26b0 SHA1 80f96b960d1265f487b598b303325dc96b457092 SHA256 8eed37409c47c922dc6dff00bc655d6b70774f3758fb7be12ca09c80d3a6c6ab -MD5 67421dc98d1b41fc9f4ea296c2714e49 libchipcard-0.9.1-r1.ebuild 1022 -RMD160 ce8e69331053e33078e877302e440ddec3eb26b0 libchipcard-0.9.1-r1.ebuild 1022 -SHA256 8eed37409c47c922dc6dff00bc655d6b70774f3758fb7be12ca09c80d3a6c6ab libchipcard-0.9.1-r1.ebuild 1022 +DIST libchipcard3-3.0.2.tar.gz 987680 RMD160 776b4309d9be87bdd7655a4e7d4d0cc5b7a94eb7 SHA1 1df55d2e337b49f3de8ac7e1e0708f1f62ffb643 SHA256 0ad5b3d980398fa96756b056a96ae3107f851cdde9157bbe2eddca448faa2b27 +EBUILD libchipcard-0.9.1-r1.ebuild 1007 RMD160 22f087ac428a939cf325d227f1c61f3a78191a6b SHA1 836036d33245cdc8c74bdfa49ec6bde167fa0741 SHA256 0fb52e5509eaf631125e1702f94437dbe0451fbf1b92d513ff1872b34ab443c4 +MD5 9e75fa51ce9cea91833bc236a6339306 libchipcard-0.9.1-r1.ebuild 1007 +RMD160 22f087ac428a939cf325d227f1c61f3a78191a6b libchipcard-0.9.1-r1.ebuild 1007 +SHA256 0fb52e5509eaf631125e1702f94437dbe0451fbf1b92d513ff1872b34ab443c4 libchipcard-0.9.1-r1.ebuild 1007 EBUILD libchipcard-1.9.15_beta.ebuild 1396 RMD160 1326cb7eb1782dcc61aebc8c812db2dfa33e9364 SHA1 61793a1d2213cf96b0ce5e226bf2196fec4c5e2a SHA256 3b03b6de0357e73f954a92a47b71038809e27c45c692124560bcf7a7cfe56f90 MD5 dc0b7cf5f275cda6676a0403dfa73188 libchipcard-1.9.15_beta.ebuild 1396 RMD160 1326cb7eb1782dcc61aebc8c812db2dfa33e9364 libchipcard-1.9.15_beta.ebuild 1396 @@ -24,10 +29,14 @@ EBUILD libchipcard-2.1.8.ebuild 1239 RMD160 a0610cbb6d8745bf2beab2f54f9ed776f9e7 MD5 d7f3e98a8537981f8e31e94edc45b7ea libchipcard-2.1.8.ebuild 1239 RMD160 a0610cbb6d8745bf2beab2f54f9ed776f9e7a001 libchipcard-2.1.8.ebuild 1239 SHA256 e0086de96468b240dc3048a264ff8fb5b602efe304d26bfb42f5dfe4c6c45eee libchipcard-2.1.8.ebuild 1239 -MISC ChangeLog 6354 RMD160 0091d91514cf19991525486067bebca2f7c70599 SHA1 dfc776a6a914d84432eedd098f029c672e846c39 SHA256 12935cfd760ae1ef1016fc0f0ef8583a5eca016b2e60efa1958a45198c8dcc4c -MD5 9ee3f4b7dd86319bd75b87aee7837881 ChangeLog 6354 -RMD160 0091d91514cf19991525486067bebca2f7c70599 ChangeLog 6354 -SHA256 12935cfd760ae1ef1016fc0f0ef8583a5eca016b2e60efa1958a45198c8dcc4c ChangeLog 6354 +EBUILD libchipcard-3.0.2.ebuild 1245 RMD160 fe95124f3cb6f488b37fafef9dbfd760ac0140da SHA1 acaa77fe1b98445a14cb3c59924b43b57bda5a0b SHA256 5950e84ec181ee582387d5bdb26acbae96e4ee143a79d25a3d30259a3e16154a +MD5 d20d77397e2ed00d8c8d01c1e05d72a2 libchipcard-3.0.2.ebuild 1245 +RMD160 fe95124f3cb6f488b37fafef9dbfd760ac0140da libchipcard-3.0.2.ebuild 1245 +SHA256 5950e84ec181ee582387d5bdb26acbae96e4ee143a79d25a3d30259a3e16154a libchipcard-3.0.2.ebuild 1245 +MISC ChangeLog 6518 RMD160 29907a3964b96f19415c2f483f040c99d615ffab SHA1 6d67f775c82df11687eed67098f9d2ba6fd0daf6 SHA256 695db6ce8dce1136c576e7796e56c67393bd9b8ea41c9b55df0c239588ac13f0 +MD5 6fb5a2c3b1c8d28e68c248d76dca84e6 ChangeLog 6518 +RMD160 29907a3964b96f19415c2f483f040c99d615ffab ChangeLog 6518 +SHA256 695db6ce8dce1136c576e7796e56c67393bd9b8ea41c9b55df0c239588ac13f0 ChangeLog 6518 MISC metadata.xml 217 RMD160 3b01d5dab901ee93217f72b711954d3cccbb1717 SHA1 e304788b60dd2cf214d360a21d267e8635474d98 SHA256 2f5dfc1eb79d2d9ee02663da6e1449f499c3a37b7f4cc2391e18d7789a314669 MD5 a72a06a37ca4e5905085ebff07fe9e9e metadata.xml 217 RMD160 3b01d5dab901ee93217f72b711954d3cccbb1717 metadata.xml 217 @@ -41,10 +50,13 @@ SHA256 3f9ecf3a99ae4aa6aefe3f3bcabc0b13f1929625e37bd21b7a6135ccc5ca41d3 files/di MD5 1fa5d0b305465e9c09990cfc3fccf486 files/digest-libchipcard-2.1.8 256 RMD160 71fe53371c4333cbeb59a8cd15f93903e6588868 files/digest-libchipcard-2.1.8 256 SHA256 717715c066bdf41d2ff256fa3ff11a171980cef33a68cf92a132ffdd8fa2038f files/digest-libchipcard-2.1.8 256 +MD5 44bec10e2b9d59dccf7a3b0af096bbd3 files/digest-libchipcard-3.0.2 256 +RMD160 f08524393805696307d90f12fee354fe9b1d6916 files/digest-libchipcard-3.0.2 256 +SHA256 fa0a193b2ebf520e332c39fc66188cab907a191bbbd4231373ca49f03eb51afb files/digest-libchipcard-3.0.2 256 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6 (GNU/Linux) +Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFjEmGfNMcoUhJ7GwRAnI0AJ0R3VN2E9Y1uWIXwcq7EurWvJMctACgmuDk -r39wwULeWezOUVCBdCIKSnI= -=jwcd +iD8DBQFFrakZr2QksT29OyARAh5AAJ9TgvOVuru4d6IdNZ3kiWJab2Q9XwCgo2en +wK2zlL6bU5BiSX6UGD/riME= +=1Lyc -----END PGP SIGNATURE----- diff --git a/sys-libs/libchipcard/files/chipcardd3 b/sys-libs/libchipcard/files/chipcardd3 new file mode 100755 index 000000000000..0e584ec21ff7 --- /dev/null +++ b/sys-libs/libchipcard/files/chipcardd3 @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/files/chipcardd3,v 1.1 2007/01/17 04:42:18 hanno Exp $ + +start() { + ebegin "Starting chipcard3 daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/chipcardd3 + eend $? +} + +stop() { + ebegin "Stopping chipcard2 daemon" + start-stop-daemon --stop --quiet --exec /usr/sbin/chipcardd3 + eend $? +} diff --git a/sys-libs/libchipcard/files/digest-libchipcard-3.0.2 b/sys-libs/libchipcard/files/digest-libchipcard-3.0.2 new file mode 100644 index 000000000000..460d52a73d13 --- /dev/null +++ b/sys-libs/libchipcard/files/digest-libchipcard-3.0.2 @@ -0,0 +1,3 @@ +MD5 bfd73858d874516b6cdba94cd5821841 libchipcard3-3.0.2.tar.gz 987680 +RMD160 776b4309d9be87bdd7655a4e7d4d0cc5b7a94eb7 libchipcard3-3.0.2.tar.gz 987680 +SHA256 0ad5b3d980398fa96756b056a96ae3107f851cdde9157bbe2eddca448faa2b27 libchipcard3-3.0.2.tar.gz 987680 diff --git a/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild b/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild index d631713fbab2..8afd649e5779 100644 --- a/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild +++ b/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild,v 1.12 2005/07/10 01:00:09 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild,v 1.13 2007/01/17 04:42:18 hanno Exp $ DESCRIPTION="Libchipcard is a library for easy access to chip cards via chip card readers (terminals)." SRC_URI="mirror://sourceforge/libchipcard/${P}.tar.gz" @@ -16,10 +16,10 @@ DEPEND="virtual/libc src_compile() { sed -i -e 's:$prefix/etc:/etc:g' \ - -e 's:${prefix}/etc:/etc:g' \ - -e 's:$prefix/var:/var:g' \ - -e 's:${prefix}/var:/var:g' \ - configure + -e 's:${prefix}/etc:/etc:g' \ + -e 's:$prefix/var:/var:g' \ + -e 's:${prefix}/var:/var:g' \ + configure local myconf myconf="--disable-pcsc" diff --git a/sys-libs/libchipcard/libchipcard-3.0.2.ebuild b/sys-libs/libchipcard/libchipcard-3.0.2.ebuild new file mode 100644 index 000000000000..6a8b4b0e9b49 --- /dev/null +++ b/sys-libs/libchipcard/libchipcard-3.0.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-3.0.2.ebuild,v 1.1 2007/01/17 04:42:18 hanno Exp $ + +MY_P="${PN}3-${PV}" +DESCRIPTION="Libchipcard is a library for easy access to chip cards via chip card readers (terminals)." +HOMEPAGE="http://www.libchipcard.de" +SRC_URI="mirror://sourceforge/libchipcard/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" + +IUSE="debug doc ssl usb" + +DEPEND=">=sys-libs/gwenhywfar-2.5.1 + ssl? ( >=dev-libs/openssl-0.9.6b ) + usb? ( dev-libs/libusb ) + >=sys-fs/sysfsutils-1.2.0" + + +S=${WORKDIR}/${MY_P} + +src_compile() { + econf \ + `use_enable ssl` \ + `use_enable debug` \ + `use_enable usb libusb` \ + --datadir=/usr/lib/chipcard3-server \ + --localstatedir=/var \ + --enable-pcsc || die + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + keepdir /var/log/chipcard3 \ + /var/lib/chipcard3/newcerts \ + /usr/lib/chipcard3-server/lowlevel + + doinitd ${FILESDIR}/chipcardd3 + + dodoc AUTHORS ChangeLog README doc/CERTIFICATES doc/CONFIG doc/IPCCOMMANDS + if use doc ; then + docinto tutorials + dodoc tutorials/*.{c,h,xml} tutorials/README + fi +} -- 2.26.2