diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-04-04 19:07:51 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-04-04 19:07:51 +0000 |
commit | b5b0a1e1301e374a82070c6bdc2f01ce3bd96e64 (patch) | |
tree | 20b4a66075099e262f44fce1c5734c3a4be45c16 /net-misc | |
parent | Added net-www/netscape-flash to p.m (diff) | |
download | historical-b5b0a1e1301e374a82070c6bdc2f01ce3bd96e64.tar.gz historical-b5b0a1e1301e374a82070c6bdc2f01ce3bd96e64.tar.bz2 historical-b5b0a1e1301e374a82070c6bdc2f01ce3bd96e64.zip |
initial import (#87744)
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/br2684ctl/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/br2684ctl/Manifest | 14 | ||||
-rw-r--r-- | net-misc/br2684ctl/br2684ctl-20040226.ebuild | 68 | ||||
-rw-r--r-- | net-misc/br2684ctl/files/digest-br2684ctl-20040226 | 2 | ||||
-rw-r--r-- | net-misc/br2684ctl/metadata.xml | 6 |
5 files changed, 101 insertions, 0 deletions
diff --git a/net-misc/br2684ctl/ChangeLog b/net-misc/br2684ctl/ChangeLog new file mode 100644 index 000000000000..4f480c371cdd --- /dev/null +++ b/net-misc/br2684ctl/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-misc/br2684ctl +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/br2684ctl/ChangeLog,v 1.1 2005/04/04 19:07:51 mrness Exp $ + +*br2684ctl-20040226 (04 Apr 2005) + + 04 Apr 2005; Alin Nastac <mrness@gentoo.org> +metadata.xml, + +br2684ctl-20040226.ebuild: + Initial import from bug #87744, thanks to Phattanon Duangdara + <sf_alpha@scphost.com>. + diff --git a/net-misc/br2684ctl/Manifest b/net-misc/br2684ctl/Manifest new file mode 100644 index 000000000000..a28800c4fef9 --- /dev/null +++ b/net-misc/br2684ctl/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 55eee6eb7020943c99d591cf45615b54 ChangeLog 427 +MD5 64646b140f108f60e52498799065864c br2684ctl-20040226.ebuild 1951 +MD5 28b878e1053bd4bcaa65232f7ad5df2a metadata.xml 355 +MD5 e21700859a4e2c94f0641e6c31677b91 files/digest-br2684ctl-20040226 145 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFCUZCgjiC39V7gKu0RAg3nAJ4lRERw0ZG8CtppO0RaUGOH9szQ1QCfR8q1 +w6j8vzuCXJD5A7x/UZy9Vjc= +=YgFu +-----END PGP SIGNATURE----- diff --git a/net-misc/br2684ctl/br2684ctl-20040226.ebuild b/net-misc/br2684ctl/br2684ctl-20040226.ebuild new file mode 100644 index 000000000000..a7c3a35777c0 --- /dev/null +++ b/net-misc/br2684ctl/br2684ctl-20040226.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +inherit gcc eutils + +DEBIANPKG_TARBALL="${PN}_${PV}.orig.tar.gz" +DEBIANPKG_PATCH="${PN}_${PV}-1.diff.gz" +DEBIANPKG_BASE="mirror://debian/pool/main/${PN:0:1}/${PN}" + +DESCRIPTION="Utility for configuring RFC 2684 ATM/Ethernet bridging" +HOMEPAGE="http://packages.debian.org/unstable/net/${PN}" +SRC_URI="${DEBIANPKG_BASE}/${DEBIANPKG_TARBALL} + ${DEBIANPKG_BASE}/${DEBIANPKG_PATCH}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND=">=net-dialup/linux-atm-2.4.1" +DEPEND="virtual/os-headers + ${RDEPEND}" + +S=${WORKDIR}/${P}.orig + +src_unpack() { + unpack ${DEBIANPKG_TARBALL} + cd ${S} + EPATCH_OPTS="-p1" epatch ${DISTDIR}/${DEBIANPKG_PATCH} +} + +src_compile() { + echo $(gcc-getCC) ${CFLAGS} -latm ${PN}.c -o ${PN} + $(gcc-getCC) ${CFLAGS} -latm ${PN}.c -o ${PN} || die "Failed to compile!" +} + +src_install() { + doman ${PN}.8 + into / + dosbin ${PN} + # there really is no better documentation than the sourcecode :-) + dodoc ${PN}.c +} + +pkg_postinst() { + einfo "br2684ctl can be use to setup Ethernet bridge interface of" + einfo "some ADSL USB modem devices" + einfo "Ethernet interface name are nas0 (,nas1,nas2 ...) not eth0" + einfo "You can use >=sys-apps/baselayout-1.10, where it can be start with" + einfo "preup script to run br2684ctl and setup bridge before start" + einfo "PPPoE, dhcp or configure interface using /etc/init.d/net.nas0" + einfo "and /etc/conf/net" + einfo "" + einfo "Example:" + einfo "preup() {" + einfo " if [ \"\${IFACE}\"=\"nas0\" ]; then" + einfo " einfo \"Setting up RFC2684 ATM Brigde for \${IFACE}\"" + einfo " /sbin/br2684ctl -a 0.100 -b 1 || return 1" + einfo " return 0" + einfo " fi" + einfo "}" + einfo "" + einfo "Using >=sys-apps/baselayout-1.11.6 strongly recommended." + einfo "Note: Replace 0.100 with your VPI.VCI of your provider" + einfo " see br2684ctl(8) for more information" +} + diff --git a/net-misc/br2684ctl/files/digest-br2684ctl-20040226 b/net-misc/br2684ctl/files/digest-br2684ctl-20040226 new file mode 100644 index 000000000000..4bf456de8017 --- /dev/null +++ b/net-misc/br2684ctl/files/digest-br2684ctl-20040226 @@ -0,0 +1,2 @@ +MD5 6eb4d8cd174e24a7c078eb4f594f5b69 br2684ctl_20040226.orig.tar.gz 10642 +MD5 b10cfc558c80f262339f8f08cbfc469a br2684ctl_20040226-1.diff.gz 2516 diff --git a/net-misc/br2684ctl/metadata.xml b/net-misc/br2684ctl/metadata.xml new file mode 100644 index 000000000000..eccb87df2b8d --- /dev/null +++ b/net-misc/br2684ctl/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-dialup</herd> +<longdescription>Utility for configuring RFC 2684 ATM/Ethernet bridging. ATM bridging is a way to extend Ethernet over an ATM network and is mainly used for DSL connections.</longdescription> +</pkgmetadata> |