diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2008-01-06 01:33:30 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2008-01-06 01:33:30 +0000 |
commit | 24de9f87ca14b5bc4b3f7c422d773646b4f78231 (patch) | |
tree | 8bca052900763c0bdb37660ebd9b892ca09d677c /net-dialup/drdsl | |
parent | Added patch to fix compilation on ppc, bug #200866. (diff) | |
download | historical-24de9f87ca14b5bc4b3f7c422d773646b4f78231.tar.gz historical-24de9f87ca14b5bc4b3f7c422d773646b4f78231.tar.bz2 historical-24de9f87ca14b5bc4b3f7c422d773646b4f78231.zip |
using special openSUSE repository for AVM drivers from now on.
Package-Manager: portage-2.1.4_rc14
Diffstat (limited to 'net-dialup/drdsl')
-rw-r--r-- | net-dialup/drdsl/ChangeLog | 8 | ||||
-rw-r--r-- | net-dialup/drdsl/drdsl-1.2.0.ebuild | 44 | ||||
-rw-r--r-- | net-dialup/drdsl/files/README | 87 | ||||
-rw-r--r-- | net-dialup/drdsl/files/digest-drdsl-1.2.0 | 9 |
4 files changed, 123 insertions, 25 deletions
diff --git a/net-dialup/drdsl/ChangeLog b/net-dialup/drdsl/ChangeLog index 7ca0e9da1724..9d1caced1f16 100644 --- a/net-dialup/drdsl/ChangeLog +++ b/net-dialup/drdsl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/drdsl -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/drdsl/ChangeLog,v 1.3 2005/06/26 10:48:35 sbriesen Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/drdsl/ChangeLog,v 1.4 2008/01/06 01:21:54 sbriesen Exp $ + + 06 Jan 2008; Stefan Briesenick <sbriesen@gentoo.org> +files/README, + drdsl-1.2.0.ebuild: + using special openSUSE repository for AVM drivers from now on. 26 Jun 2005; Stefan Briesenick <sbriesen@gentoo.org> drdsl-1.2.0.ebuild: stable on x86 diff --git a/net-dialup/drdsl/drdsl-1.2.0.ebuild b/net-dialup/drdsl/drdsl-1.2.0.ebuild index 6baf94176d1a..686ea95d813a 100644 --- a/net-dialup/drdsl/drdsl-1.2.0.ebuild +++ b/net-dialup/drdsl/drdsl-1.2.0.ebuild @@ -1,41 +1,45 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/drdsl/drdsl-1.2.0.ebuild,v 1.4 2006/03/12 10:10:03 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/drdsl/drdsl-1.2.0.ebuild,v 1.5 2008/01/06 01:21:54 sbriesen Exp $ + +inherit eutils rpm + +REL="10_3/2.6.22.13_0.3" DESCRIPTION="AVM DSL Assistant for autodetecting DSL values (VPI, VCI, VPP) for 'fcdsl' based cards" -HOMEPAGE="ftp://ftp.in-berlin.de/pub/capi4linux/" -SRC_URI="ftp://ftp.in-berlin.de/pub/capi4linux/drdsl/${P}.tar.gz" +HOMEPAGE="http://opensuse.foehr-it.de/" +SRC_URI="x86? ( http://opensuse.foehr-it.de/rpms/${REL}/32bit/${PN}-1.0-1.i586.rpm ) + amd64? ( http://opensuse.foehr-it.de/rpms/${REL}/64bit/${PN}-1.0-1.x86_64.rpm )" LICENSE="as-is" SLOT="0" -KEYWORDS="x86 -*" +KEYWORDS="~amd64 x86" IUSE="unicode" -DEPEND="sys-apps/coreutils" -RDEPEND="sys-libs/glibc - net-dialup/capi4k-utils" +DEPEND="unicode? ( virtual/libiconv )" +RDEPEND="net-dialup/capi4k-utils" + +RESTRICT="strip test" + +S="${WORKDIR}" src_unpack() { - unpack ${A} + rpm_src_unpack ${A} cd "${S}" - # convert 'crlf' to 'lf' - for i in drdsl.ini; do - tr -d "\r" < "${i}" > "${i}~" && mv -f "${i}~" "${i}" || rm -f "${i}~" - done - # convert 'latin1' to 'utf8' if use unicode; then - for i in drdsl.ini; do - einfo "Converting '${i}' to UTF-8" - iconv -f latin1 -t utf8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~" + for i in etc/drdsl/drdsl.ini; do + echo ">>> Converting '${i##*/}' to UTF-8" + iconv -f LATIN1 -t UTF8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~" done fi } src_install() { - dosbin drdsl + into / + dosbin sbin/drdsl insinto /etc/drdsl - doins drdsl.ini - dodoc README + doins etc/drdsl/drdsl.ini + dodoc "${FILESDIR}"/README } diff --git a/net-dialup/drdsl/files/README b/net-dialup/drdsl/files/README new file mode 100644 index 000000000000..6ef005040ef8 --- /dev/null +++ b/net-dialup/drdsl/files/README @@ -0,0 +1,87 @@ + +------------------------------------------------------------------------------ + +WHAT IS DRDSL +For a DSL internet connection to work, the DSL values (VPI, VCI, VPP) of +the DSLAM are required. The DSLAM is the counterpart of the DSL modem on +the access provider end. The values thus are generally +provided by your Internet Service Provider (ISP). + +It is possible to enter the requested values from the ISP manually, but +it is much more convenient to detect them automatically with drdsl. drdsl tests +different values taken from the file drdsl.ini. Once the working +values and the corresponding controller number are found, they are written +to the adsl.conf, located in the file /etc/drdsl/adsl.conf. + +Each time the pppd capi plugin is started with the "avmadsl" parameter, +the adsl.conf supplies the driver with all of the values detected and a +successfull dsl connection can be established. + + +REQUIREMENTS +drdsl requires an AVM DSL controller with a CAPI driver running, plus the +drdsl.ini file located at /etc/drdsl. The drdsl.ini is also +included in every DSL-Controller driver package. + + +COMMAND LINE OPTIONS +-c path of the drdsl.ini file +-q quiet mode +-r remove the files generated by drdsl +-h short help + + +UPDATES AND PACKAGES +Updates and packages are available at ftp.in-berlin.de/pub/capi4linux/drdsl +drdsl is included in every linux driver package for DSL-Controllers at +ftp.avm.de/cardware + +FURTHER INFORMATION +For more details on CAPI4Linux, visit AVM at www.avm.de/linux + + +Copyright (C) 2005, AVM GmbH. All rights reserved. + +------------------------------------------------------------------------------ + +COPYRIGHT NOTICE +This Software is object of a license agreement. You may only use the Software +in accordance with the license conditions mentioned therein. As licensee you +bear all risk in regard to hazards and impairments of quality which may arise +in connection with the use of this Software. + +You may not transmit, reproduce or alter this Software in whole or in part, +in any form, by any means, nor may you translate the Software into any other +natural or computer language. The creation of a backup copy for personal use +is excepted. The information hereby made available to you may be communicated +to third parties only with the written permission of AVM GmbH. + +This Software has been produced with due care and checked for correctness in +accordance with available technology. The information in this Software is +subject to change without notice for the purpose of technical improvement. + +THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE +LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, +EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE +ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. +SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY +SERVICING, REPAIR OR CORRECTION. + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE +THE SOFTWARE AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE +OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES +OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH +HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + +CONTACT +AVM GmbH +Alt-Moabit 95 +10559 Berlin +Germany +Email: info@avm.de diff --git a/net-dialup/drdsl/files/digest-drdsl-1.2.0 b/net-dialup/drdsl/files/digest-drdsl-1.2.0 index b77ef5747524..9bbd6c46edb9 100644 --- a/net-dialup/drdsl/files/digest-drdsl-1.2.0 +++ b/net-dialup/drdsl/files/digest-drdsl-1.2.0 @@ -1,3 +1,6 @@ -MD5 8542b9e09260de2e3d52ac15e6c7cbd7 drdsl-1.2.0.tar.gz 25385 -RMD160 0801bf8d9308fd23b53f292c8d1ca155472f4bef drdsl-1.2.0.tar.gz 25385 -SHA256 57f794657d9c017492852a49e766eb6181489fcdd403c29ed1d1cdd550486e1c drdsl-1.2.0.tar.gz 25385 +MD5 4ca8032b6bd5bb928617dee29f70fe1d drdsl-1.0-1.i586.rpm 25869 +RMD160 61234b7a325bb0633b02837fef1923137ca5e05f drdsl-1.0-1.i586.rpm 25869 +SHA256 e4c4e1e246521b080ff61d08de9c6b584897c7d952c956e13803a6f8f905b750 drdsl-1.0-1.i586.rpm 25869 +MD5 c64d67e0d0198772d0db3114da6b3134 drdsl-1.0-1.x86_64.rpm 30406 +RMD160 7d8baa6dbf19a60e6ed1b76e9196901a2f3eafc7 drdsl-1.0-1.x86_64.rpm 30406 +SHA256 7690a76942efa7f0218faeb8f6d59b4c9c4df04a73abcc900834e7ba273ce960 drdsl-1.0-1.x86_64.rpm 30406 |