From 5a2438e479312914822fd22890003de408f2da47 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 21 Oct 2009 01:37:59 +0200 Subject: [PATCH] added hsolink and hsoconnect --- net-dialup/hsoconnect/Manifest | 2 ++ net-dialup/hsoconnect/hsoconnect-1.1.128-r2.ebuild | 34 ++++++++++++++++++++++ net-dialup/hsolink/Manifest | 2 ++ net-dialup/hsolink/hsolink-1.0.118.ebuild | 21 +++++++++++++ 4 files changed, 59 insertions(+) create mode 100644 net-dialup/hsoconnect/Manifest create mode 100644 net-dialup/hsoconnect/hsoconnect-1.1.128-r2.ebuild create mode 100644 net-dialup/hsolink/Manifest create mode 100644 net-dialup/hsolink/hsolink-1.0.118.ebuild diff --git a/net-dialup/hsoconnect/Manifest b/net-dialup/hsoconnect/Manifest new file mode 100644 index 0000000..aac0e38 --- /dev/null +++ b/net-dialup/hsoconnect/Manifest @@ -0,0 +1,2 @@ +DIST hsoconnect-py2.5-1.1.128-2.noarch.rpm 109508 RMD160 221c9b53470817bdc87da2bb89e5ec4c77a94ee0 SHA1 05f3201f054d8828940902467e7da6238760c67e SHA256 b33847a2c7e2f89226a280f982c1b94c17df806c1fca0ff19e8280aaf2b1c432 +EBUILD hsoconnect-1.1.128-r2.ebuild 1070 RMD160 494e221941e91300314ea4b17842a50a8b54a402 SHA1 ccfa143fdf64948f75a217184a1198b2f33411a6 SHA256 f4a45892b022c25362cf871ce4b994635859161ee1624b5aa6e0a34ba86846a2 diff --git a/net-dialup/hsoconnect/hsoconnect-1.1.128-r2.ebuild b/net-dialup/hsoconnect/hsoconnect-1.1.128-r2.ebuild new file mode 100644 index 0000000..3679053 --- /dev/null +++ b/net-dialup/hsoconnect/hsoconnect-1.1.128-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2009 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +inherit rpm + +DESCRIPTION="HSO UMTS PyGTK Connection Manager" +HOMEPAGE="http://www.pharscape.org/" +SRC_URI="http://www.pharscape.org/Downloads.html/RPM/hsoconnect-py2.5-1.1.128-2.noarch.rpm" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" + +RDEPEND="=dev-lang/python-2.5* + net-dialup/hsolink + sys-apps/usb_modeswitch + sys-fs/udev" + +src_install() { + chmod -R go-w "${WORKDIR}/usr/" + chgrp -R uucp "${WORKDIR}/usr/share/HSOconnect/" + chmod g+sw "${WORKDIR}/usr/share/HSOconnect/" + chmod -R g+w "${WORKDIR}/usr/share/HSOconnect/HSOconnect.cfg" + chmod -R g+w "${WORKDIR}/usr/share/HSOconnect/profiles/" + chmod g+s "${WORKDIR}"/usr/share/HSOconnect/profiles/*/ + mv "${WORKDIR}"/* "${D}" + + insinto /etc/udev/rules.d/ + doins "${FILESDIR}"/91-usb_modeswitch.rules + + echo 'CONFIG_PROTECT="/usr/share/HSOconnect"' > "${T}/50${PN}" + echo 'CONFIG_PROTECT_MASK="/usr/share/HSOconnect/images /usr/share/HSOconnect/languages"' >> "${T}/50${PN}" + doenvd "${T}/50${PN}" +} + diff --git a/net-dialup/hsolink/Manifest b/net-dialup/hsolink/Manifest new file mode 100644 index 0000000..d7dcc5e --- /dev/null +++ b/net-dialup/hsolink/Manifest @@ -0,0 +1,2 @@ +DIST hsolink-1.0.118.tar.gz 78867 RMD160 d706d6a287cb23037944d6a88cc6959ba81bd369 SHA1 a26e79df33abd2db992ff8ec144e17306d68402e SHA256 d7f8927920ee5a352674b051b0080dc0eb869fa8c1fac36cb0cc01bec63853fd +EBUILD hsolink-1.0.118.ebuild 487 RMD160 ed057fe85f0d89a7a889466839d22dd0c5372603 SHA1 cb53fa46fb7aea4071827f3ccf79deabd83ec1d5 SHA256 e4ef4a1730494698378685919cd1aca961d3da45bd44b15c1eec840f31ea094d diff --git a/net-dialup/hsolink/hsolink-1.0.118.ebuild b/net-dialup/hsolink/hsolink-1.0.118.ebuild new file mode 100644 index 0000000..49b9def --- /dev/null +++ b/net-dialup/hsolink/hsolink-1.0.118.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2009 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="Application helper to manage the Option hso interface" +HOMEPAGE="http://www.pharscape.org/" +SRC_URI="http://www.pharscape.org/downloads1.html/${P}.tar.gz" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + cd "${D}" +} + +pkg_postinst() { + chmod +s /usr/bin/hsolinkcontrol +} + -- 2.11.4.GIT