[gentoo-commits] repo/gentoo:master commit in: net-dialup/ueagle-atm/files/, net-dialup/ueagle-atm/, profiles/

2018-12-11 Thread Michał Górny
commit: 2c47407276d26ba318c0cb8287c66541f6e0b09f
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 11 13:33:26 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 11 13:33:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c474072

net-dialup/ueagle-atm: Remove last-rited pkg

Closes: https://bugs.gentoo.org/661884
Signed-off-by: Michał Górny  gentoo.org>

 net-dialup/ueagle-atm/Manifest |   1 -
 net-dialup/ueagle-atm/files/README | 235 -
 net-dialup/ueagle-atm/metadata.xml |   7 -
 net-dialup/ueagle-atm/ueagle-atm-1.1-r3.ebuild |  60 ---
 profiles/package.mask  |   5 -
 5 files changed, 308 deletions(-)

diff --git a/net-dialup/ueagle-atm/Manifest b/net-dialup/ueagle-atm/Manifest
deleted file mode 100644
index fc55a215ae6..000
--- a/net-dialup/ueagle-atm/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ueagle-data-src-1.1.tar.gz 1270515 BLAKE2B 
18056b17d9b4b2adbeac1e4dead6966abd91e57b56c4a1b25d5481456ec1a4fd1bb2bda233ff8b2384276079690c2809004a73ec4efcbe3f8c21983c9e2d3305
 SHA512 
ce4d54c02da9943d7ee77615142c64c3ec02acea00a3d107dbeaa0dad9f047b5bda5844e8b896596af000bcb9a9fd0f49aa04a9da603760639bd7655933a98fa

diff --git a/net-dialup/ueagle-atm/files/README 
b/net-dialup/ueagle-atm/files/README
deleted file mode 100644
index ef07b71dadc..000
--- a/net-dialup/ueagle-atm/files/README
+++ /dev/null
@@ -1,235 +0,0 @@
-Introduction
-
-
-This ebuild installs firmware files necessary for ADI 930/Eagle USB ADSL 
-Modem driver which first appeared in kernel 2.6.16.
-
-Configuration
-=
-
-Most ADSL modems are connected via the ATM protocol, rather
-than Ethernet. For ATM, run the following:
-   euse -E atm && emerge net-dialup/ppp net-dialup/ueagle-atm
-
-It is necessary to choose an interface number for the connection. This
-is arbitrary - the only requirement is that the connection number is
-not already in use. The first available number is 0, and it is usual to
-choose the lowest unused number. For the purposes of this document, 0
-will be chosen.
-
-Add the following lines from the appropriate section below to
-/etc/conf.d/net, then customize them as per the inline comments.
-
-
-a) PPPoATM configuration:
-
-config_ppp0='ppp'  # Runs /lib/rcscripts/net/pppd.sh
-# The 2 numbers represent the VPI & VCI of your ISP, and they are separated
-# by a dot. Ask your ISP about those numbers.
-link_ppp0='0.38'
-plugins_ppp0='pppoa' 
-# 'man pppd' shows other options. Compression is disabled because it is
-# rarely taken advantage of, and may interfere with the connection.
-# Add option 'usepeerdns' to populate /etc/resolv.conf
-pppd_ppp0='updetach noauth debug defaultroute noaccomp nobsdcomp noccp
-   nodeflate nopcomp novj novjccomp child-timeout 60'
-username_ppp0='usern...@isp.com'  # ADSL login, assigned by your ISP
-password_ppp0='password'  # ADSL password, assigned by your ISP
-
-# If the kernel modules are not built-in, then they must be loaded
-# before starting the PPP daemon:
-function preup() {
-   if [[ "$1" = "ppp0" ]] ; then
-   modprobe -q ueagle-atm
-   return 0
-   fi
-}
-
-
-b) PPPoE configuration:
-
-# Configure first the RFC2684 bridge interface 
-config_nas0='null'
-# Use "-e 0" for LLC mux or "-e 1" for VC mux.
-# The 2 numbers after "-a" represent the VPI & VCI of your ISP, and
-# they are separated by a dot. Ask your ISP about those numbers.
-br2684ctl_nas0='-e 0 -a 0.38'
-
-config_ppp0='ppp'  # Runs /lib/rcscripts/net/pppd.sh
-link_ppp0='nas0' # The name of the RFC2684 bridge interface
-plugins_ppp0='pppoe'
-# 'man pppd' shows other options. Compression is disabled because it is
-# rarely taken advantage of, and may interfere with the connection.
-# Add option 'usepeerdns' to populate /etc/resolv.conf
-pppd_ppp0='updetach noauth debug defaultroute noaccomp nobsdcomp noccp
-   nodeflate nopcomp novj novjccomp child-timeout 60'
-username_ppp0='usern...@isp.com'  # ADSL login, assigned by your ISP
-password_ppp0='password'  # ADSL password, assigned by your ISP
-
-depend_ppp0() {
-need net.nas0
-}
-
-# If the kernel modules are not built-in, then they must be loaded
-# before starting the RFC2684 bridge:
-function preup() {
-   if [[ "$1" = "nas0" ]] ; then
-   modprobe -q ueagle-atm
-   return 0
-   fi
-}
-
-
-Configuration continued
-===
-
-Create a symlink for the new network interface, for it to be enabled by
-baselayout:
-  cd /etc/init.d && ln -sfn net.lo net.ppp0
-If you use PPPoE, you should also create the symlink for the RFC2684
-bridge interface:
-  cd /etc/init.d && ln -sfn net.lo net.nas0
-
-The "debug" option adds some extra commentary from pppd regarding the
-connection to /var/log/messages, e.g.:
-"sent [LCP ConfReq id=0x1 ]". It is wise to keep the
-option on permanently, due to its usefulness when 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/ueagle-atm/

2017-04-14 Thread Sergey Popov
commit: c893801e171932299e41b6bfc83d9fb179a6ce15
Author: Sergey Popov  gentoo  org>
AuthorDate: Fri Apr 14 11:09:15 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Fri Apr 14 11:09:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c893801e

net-dialup/ueagle-atm: update ebuild - new EAPI, replace deprecated 
built_with_use with has_version

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 net-dialup/ueagle-atm/ueagle-atm-1.1-r3.ebuild | 30 ++
 1 file changed, 6 insertions(+), 24 deletions(-)

diff --git a/net-dialup/ueagle-atm/ueagle-atm-1.1-r3.ebuild 
b/net-dialup/ueagle-atm/ueagle-atm-1.1-r3.ebuild
index bf986b51ab3..6143b28417a 100644
--- a/net-dialup/ueagle-atm/ueagle-atm-1.1-r3.ebuild
+++ b/net-dialup/ueagle-atm/ueagle-atm-1.1-r3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="2"
+EAPI=6
 
 inherit eutils linux-info
 
@@ -12,7 +12,6 @@ 
SRC_URI="http://eagle-usb.org/ueagle-atm/non-free/ueagle-data-src-${PV}.tar.gz;
 LICENSE="BSD GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 x86"
-IUSE=""
 
 DEPEND=""
 RDEPEND="net-dialup/ppp
@@ -20,23 +19,6 @@ RDEPEND="net-dialup/ppp
 
 S="${WORKDIR}/ueagle-data-src-${PV}"
 
-pkg_setup() {
-   linux-info_pkg_setup
-
-   if kernel_is lt 2 6 16 ; then
-   eerror "The kernel-space driver exists only in kernels >= 
2.6.16."
-   eerror "Please emerge net-dialup/eagle-usb instead or upgrade 
the kernel."
-   die "Unsupported kernel version"
-   fi
-
-   if ! has_version '>=sys-apps/baselayout-1.12.0' ; then
-   ewarn "The best way of using this driver is through the PPP net 
module of the"
-   ewarn "   >=sys-apps/baselayout-1.12.0"
-   ewarn "which is also the only documented mode of using ${PN} 
driver."
-   ewarn "Please install baselayout-1.12.0 or else you will be on 
your own!"
-   fi
-}
-
 src_compile() {
emake generate
 }
@@ -44,10 +26,10 @@ src_compile() {
 src_install() {
# Copy to the firmware directory
insinto /lib/firmware/ueagle-atm
-   doins build/* || die "doins firmware failed"
+   doins build/*
 
# Documentation necessary to complete the setup
-   dodoc "${FILESDIR}/README" || die "dodoc failed"
+   dodoc "${FILESDIR}/README"
 }
 
 pkg_postinst() {
@@ -61,13 +43,13 @@ pkg_postinst() {
echo
 
# Check user-space for PPPoA support
-   if ! built_with_use net-dialup/ppp atm ; then
+   if ! has_version net-dialup/ppp[atm] ; then
ewarn "Run the following command if connecting via PPPoA 
protocol:"
ewarn "   euse -E atm && emerge net-dialup/ppp"
echo
fi
# Check user-space for PPPoE support
-   if ! has_version >=net-dialup/linux-atm-2.5.0 ; then
+   if ! has_version net-dialup/linux-atm ; then
ewarn "Run the following command if connecting via PPPoE 
protocol:"
ewarn "   emerge net-dialup/linux-atm"
echo