diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2008-02-15 09:31:36 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2008-02-15 09:31:36 +0000 |
commit | f0f73d16951e36ccaf4b95981d1deedbbe8f7ff4 (patch) | |
tree | 848db719cbd97a1a6a55ec6f37a736c8bffcc113 /dev-libs | |
parent | Correct the dependency on php. (diff) | |
download | gentoo-2-f0f73d16951e36ccaf4b95981d1deedbbe8f7ff4.tar.gz gentoo-2-f0f73d16951e36ccaf4b95981d1deedbbe8f7ff4.tar.bz2 gentoo-2-f0f73d16951e36ccaf4b95981d1deedbbe8f7ff4.zip |
Remove hotplug stuff, bug#210082
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/openct/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/openct/openct-0.6.11-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/openct/openct-0.6.14-r1.ebuild | 60 |
3 files changed, 69 insertions, 4 deletions
diff --git a/dev-libs/openct/ChangeLog b/dev-libs/openct/ChangeLog index 69068694a958..2f20c790d6d8 100644 --- a/dev-libs/openct/ChangeLog +++ b/dev-libs/openct/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/openct -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.52 2007/11/25 16:14:26 ranger Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.53 2008/02/15 09:31:36 alonbl Exp $ + +*openct-0.6.14-r1 (15 Feb 2008) + + 15 Feb 2008; Alon Bar-Lev <alonbl@gentoo.org> +openct-0.6.14-r1.ebuild: + Remove hotplug stuff, bug#210082 25 Nov 2007; Brent Baude <ranger@gentoo.org> openct-0.6.14.ebuild: Marking openct-0.6.14 ppc for bug 162205 diff --git a/dev-libs/openct/openct-0.6.11-r1.ebuild b/dev-libs/openct/openct-0.6.11-r1.ebuild index 9dd8826fc85b..9152f59adb37 100644 --- a/dev-libs/openct/openct-0.6.11-r1.ebuild +++ b/dev-libs/openct/openct-0.6.11-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/openct-0.6.11-r1.ebuild,v 1.7 2007/07/25 20:39:06 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/openct-0.6.11-r1.ebuild,v 1.8 2008/02/15 09:31:36 alonbl Exp $ inherit flag-o-matic eutils multilib @@ -21,7 +21,7 @@ pkg_setup() { } src_unpack() { - unpack "${A}" + unpack ${A} cd "${S}" epatch "${FILESDIR}/${PN}-0.6.11-ifdhandlerv2.patch" rm "src/pcsc/ifdhandler.h" diff --git a/dev-libs/openct/openct-0.6.14-r1.ebuild b/dev-libs/openct/openct-0.6.14-r1.ebuild new file mode 100644 index 000000000000..c3deb1640976 --- /dev/null +++ b/dev-libs/openct/openct-0.6.14-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/openct-0.6.14-r1.ebuild,v 1.1 2008/02/15 09:31:36 alonbl Exp $ + +inherit eutils + +DESCRIPTION="library for accessing smart card terminals" +HOMEPAGE="http://www.opensc-project.org/openct/" +SRC_URI="http://www.opensc-project.org/files/openct/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="usb" + +RDEPEND=">=sys-fs/udev-096 + usb? ( >=dev-libs/libusb-0.1.7 )" + +pkg_setup() { + enewgroup openct +} + +src_compile() { + econf --localstatedir=/var || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + insinto /etc/udev/rules.d/ + newins etc/openct.udev 70-openct.rules || die + exeinto /lib/udev + doexe etc/openct_pcmcia || die + doexe etc/openct_serial || die + doexe etc/openct_usb || die + + insinto /etc + doins etc/openct.conf || die + + newinitd "${FILESDIR}"/openct.rc openct + + diropts -m0750 -gopenct + keepdir /var/run/openct + + dodoc NEWS TODO doc/README +} + +pkg_postinst() { + elog + elog "You need to edit /etc/openct.conf to enable serial readers." + elog + elog "You should add \"openct\" to your default runlevel. To do so" + elog "type \"rc-update add openct default\"." + elog + elog "You need to be a member of the (newly created) group openct to" + elog "access smart card readers connected to this system. Set users'" + elog "groups with usermod -G. root always has access." + elog +} |