summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2008-09-07 07:51:03 +0000
committerDenis Dupeyron <calchan@gentoo.org>2008-09-07 07:51:03 +0000
commit6161c4637a31627a1e48b274b1e07d002312d23b (patch)
tree6bd97372cd402f29d18f4a38b7fb569abc2f92ea /net-dialup/dgcmodem
parentBump to 3.3.1. See #236856. Thanks a lot to tommy@gentoo.org (diff)
downloadgentoo-2-6161c4637a31627a1e48b274b1e07d002312d23b.tar.gz
gentoo-2-6161c4637a31627a1e48b274b1e07d002312d23b.tar.bz2
gentoo-2-6161c4637a31627a1e48b274b1e07d002312d23b.zip
Initial commit.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'net-dialup/dgcmodem')
-rw-r--r--net-dialup/dgcmodem/ChangeLog10
-rw-r--r--net-dialup/dgcmodem/Manifest4
-rw-r--r--net-dialup/dgcmodem/dgcmodem-1.07.ebuild60
-rw-r--r--net-dialup/dgcmodem/metadata.xml8
4 files changed, 82 insertions, 0 deletions
diff --git a/net-dialup/dgcmodem/ChangeLog b/net-dialup/dgcmodem/ChangeLog
new file mode 100644
index 000000000000..d340963f21de
--- /dev/null
+++ b/net-dialup/dgcmodem/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-dialup/dgcmodem
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/dgcmodem/ChangeLog,v 1.1 2008/09/07 07:51:03 calchan Exp $
+
+*dgcmodem-1.07 (07 Sep 2008)
+
+ 07 Sep 2008; Denis Dupeyron <calchan@gentoo.org> +metadata.xml,
+ +dgcmodem-1.07.ebuild:
+ Initial commit.
+
diff --git a/net-dialup/dgcmodem/Manifest b/net-dialup/dgcmodem/Manifest
new file mode 100644
index 000000000000..b08273390606
--- /dev/null
+++ b/net-dialup/dgcmodem/Manifest
@@ -0,0 +1,4 @@
+DIST dgcmodem-1.07.tar.gz 369829 RMD160 92144c15b689fe281a761e7bb48436131464685b SHA1 530808c02d5db6b7dae1a82e55e2a3c2060728a4 SHA256 76f71e049b5fb6bffe04ceed57d2b4489c718a7d38f0d540e09b156dcf4dca38
+EBUILD dgcmodem-1.07.ebuild 1641 RMD160 cf56aef2abb65f41ad88460927664960f53bba61 SHA1 9dc8ab5e98a04ba72925b925f8f94e9d81c55803 SHA256 5c563f6893222d1fd591efaf24858362ae3deb7534ad176a2360498d91c348f6
+MISC ChangeLog 260 RMD160 99570e0c9d1aff435722ba83875adc546df1ff92 SHA1 b13d788df2f5d78bdd33ed115802b3e5a987cf26 SHA256 b30f7eef00e0f26816d023888cfacadaddb5bac56018e20533cbd14912a0b887
+MISC metadata.xml 232 RMD160 4c7ab29da7172e74adfd87ebb5eb6fb5475a82be SHA1 7b98547e067cdaccb43f37be116d5b15befef8e9 SHA256 18d82999ae63f6a95f78867cc239598fd2eb8011c837dcbe85830d022e7e6aea
diff --git a/net-dialup/dgcmodem/dgcmodem-1.07.ebuild b/net-dialup/dgcmodem/dgcmodem-1.07.ebuild
new file mode 100644
index 000000000000..7c7a803d76c0
--- /dev/null
+++ b/net-dialup/dgcmodem/dgcmodem-1.07.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/net-dialup/dgcmodem/dgcmodem-1.07.ebuild,v 1.1 2008/09/07 07:51:03 calchan Exp $
+
+inherit linux-info
+
+DESCRIPTION="Driver for Connexant DGC modems"
+HOMEPAGE="http://www.linuxant.com/drivers/dgc/"
+SRC_URI="http://www.linuxant.com/drivers/dgc/archive/${P}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=""
+RDEPEND=""
+
+CONFIG_CHECK="USB_ACM"
+ERROR_USB_ACM="${PN} requires USB modem (CDC ACM) support in your kernel (module name: USB_ACM)".
+
+src_compile() {
+ cd "${S}"/scripts
+ emake dgcconfig dgcdcpd dgcmodconflicts dgcstop || die "Failed to make scripts"
+}
+
+src_install() {
+ rm -f modules/GPL/COPYING
+ rm -rf modules/binaries
+ insinto /usr/lib/dgcmodem
+ doins -r modules config.mak || die "Failed to install module files"
+ fperms u+x /usr/lib/dgcmodem/modules/kernelcompiler.sh
+
+ cd "${S}"/scripts
+ dosbin dgcconfig dgcdcpd dgcmodconflicts dgcstop || die "Failed to install scripts"
+
+ echo 'KERNEL=="ttyACM0", SYMLINK="modem"' > "${D}"/etc/udev/rules.d/90-dgcmodem.rules
+
+ keepdir /etc/dgcmodem
+}
+
+pkg_postinst() {
+ ewarn "Users need to be in the uucp group to use this driver."
+ ewarn
+ ewarn "Do not set the baud rate to a value higher than 115200, or it will not work."
+ elog
+ elog "Please run:"
+ elog " emerge --config ${PN}"
+ elog "now and every time you update your kernel."
+ elog
+ elog "Note that using dgcconfig with default options may install an undesirable"
+ elog "rc script, so it is advised you always use the above command instead."
+}
+
+pkg_config(){
+ dgcconfig --kernel --serial --info
+}
+
+pkg_prerm() {
+ dgcconfig --remove
+ rm -f /etc/dgcmodem/.serial_configured
+}
diff --git a/net-dialup/dgcmodem/metadata.xml b/net-dialup/dgcmodem/metadata.xml
new file mode 100644
index 000000000000..5b12ed78d92e
--- /dev/null
+++ b/net-dialup/dgcmodem/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>calchan@gentoo.org</email>
+ <name>Denis Dupeyron</name>
+</maintainer>
+</pkgmetadata>