Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2003 12:21:59 +0200
From:      Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: reviving rp-pppoe
Message-ID:  <20030616102158.GA13124@merlin.emma.line.org>
In-Reply-To: <m3llw3lz1b.fsf@merlin.emma.line.org>
References:  <m3llw3lz1b.fsf@merlin.emma.line.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I wrote:

> as a band-aid fix, because 5.1-CURRENT's ppp or netgraph or whatever is
> spoiled and PPPoE no longer works (ppp can't open the device,
> complaining about wrong netgraph node type, wants ether, gets socket),
> I've reanimated the net/rp-pppoe port, shar attached.

Apparently, the list strips x-shar attachments. Inserted below the
signature.

-- 
Matthias Andree

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	rp-pppoe
#	rp-pppoe/Makefile
#	rp-pppoe/distinfo
#	rp-pppoe/pkg-descr
#	rp-pppoe/pkg-plist
#
echo c - rp-pppoe
mkdir -p rp-pppoe > /dev/null 2>&1
echo x - rp-pppoe/Makefile
sed 's/^X//' >rp-pppoe/Makefile << 'END-of-rp-pppoe/Makefile'
X# New ports collection makefile for:	popular pppd pppoe client
X# Date created:		22 Mar 2001
X# Whom:			Mario Sergio Fujikawa Ferreira <liouxFreeBSD.org>
X#
X# $FreeBSD: ports/net/rp-pppoe/Makefile,v 1.3 2002/09/01 16:07:51 dwcjr Exp $
X#
X
XPORTNAME=	rp-pppoe
XPORTVERSION=	3.5
XCATEGORIES=	net
XMASTER_SITES=	http://www.roaringpenguin.com/pppoe/
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	"The popular Roaring Penguin's PPPoE software"
X
XUSE_REINPLACE=	yes
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XCONFIGURE_WRKSRC=	${WRKSRC}/src
XBUILD_WRKSRC=	${WRKSRC}/src
X
XMAN5=	pppoe.conf.5
XMAN8=	adsl-connect.8 adsl-setup.8 adsl-start.8 adsl-status.8 \
X	adsl-stop.8 pppoe-relay.8 pppoe-server.8 pppoe.8
X
XCONFIG_FILES=	firewall-masq firewall-standalone pap-secrets \
X		pppoe-server-options pppoe.conf
XDOC_FILES=	CHANGES HOW-TO-CONNECT KERNEL-MODE-PPPOE LICENSE \
X		PROBLEMS
XSCRIPT_FILES=	adsl-connect adsl-init adsl-setup adsl-start \
X		adsl-status adsl-stop
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s!/etc/ppp!${PREFIX}/etc/ppp!g" ${WRKSRC}/man/*
X	@${REINPLACE_CMD} -e 's!/etc/ppp!$$(prefix)/etc/ppp!g' \
X		${WRKSRC}/src/Makefile.in
X.for file in adsl-connect adsl-init adsl-setup adsl-start
X	@${REINPLACE_CMD} -e 's!/etc/+ppp!$${prefix}/etc/ppp!g' \
X		${WRKSRC}/scripts/${file}.in
X.endfor
X	@${REINPLACE_CMD} -e 's!pty!tty!g' ${WRKSRC}/scripts/adsl-connect.in
X	@${REINPLACE_CMD} -e 's!/var/lock/subsys/adsl!/var/tmp/rp_pppoe_adsl!g' \
X		${WRKSRC}/scripts/adsl-init.in
X.for file in adsl-status adsl-stop.in
X	@${REINPLACE_CMD} -e "s!/etc/ppp!${PREFIX}/etc/ppp!g" \
X		${WRKSRC}/scripts/${file}
X.endfor
X
Xdo-install:
X# Binaries
X.for file in pppoe pppoe-server
X	@${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${file} ${PREFIX}/sbin
X.endfor
X# Configurations
X	@${MKDIR} ${PREFIX}/etc/ppp
X.for file in ${CONFIG_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/configs/${file} \
X		${PREFIX}/etc/ppp/${file}.sample
X.endfor
X.if !exists(${PREFIX}/etc/ppp/pppoe.conf)
X	${INSTALL_SCRIPT} ${PREFIX}/etc/ppp/pppoe.conf.sample \
X		${PREFIX}/etc/ppp/pppoe.conf
X.endif
X# Manual pages
X	@${INSTALL_MAN} ${WRKSRC}/man/${MAN5} ${PREFIX}/man/man5
X.for file in ${MAN8}
X	@${INSTALL_MAN} ${WRKSRC}/man/${file} ${PREFIX}/man/man8
X.endfor
X# Scripts
X.for file in ${SCRIPT_FILES}
X	@${INSTALL_SCRIPT} ${WRKSRC}/scripts/${file} ${PREFIX}/sbin
X.endfor
X# Documentation
X.ifndef (NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
X	@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/${PORTNAME}
X.endif /* NOPORTDOCS */
X
X.include <bsd.port.mk>
END-of-rp-pppoe/Makefile
echo x - rp-pppoe/distinfo
sed 's/^X//' >rp-pppoe/distinfo << 'END-of-rp-pppoe/distinfo'
XMD5 (rp-pppoe-3.5.tar.gz) = 97972f8f8f6a3ab9b7070333a6a29c4b
END-of-rp-pppoe/distinfo
echo x - rp-pppoe/pkg-descr
sed 's/^X//' >rp-pppoe/pkg-descr << 'END-of-rp-pppoe/pkg-descr'
XPPPoE (Point-to-Point Protocol over Ethernet) is a protocol used
Xby many ADSL service providers. Roaring Penguin's PPPoE software
Xis a reliable program for connecting unix systems to PPPoE service
Xproviders without requiring any kernel patches.
X
XIt currently does not work under FreeBSD. It is being provided in
Xthe hope that the community may help get it working.
X
XWWW: http://www.roaringpenguin.com/pppoe/
END-of-rp-pppoe/pkg-descr
echo x - rp-pppoe/pkg-plist
sed 's/^X//' >rp-pppoe/pkg-plist << 'END-of-rp-pppoe/pkg-plist'
Xsbin/adsl-connect
Xsbin/adsl-init
Xsbin/adsl-setup
Xsbin/adsl-start
Xsbin/adsl-status
Xsbin/adsl-stop
Xsbin/pppoe
Xsbin/pppoe-server
X%%PORTDOCS%%share/doc/rp-pppoe/CHANGES
X%%PORTDOCS%%share/doc/rp-pppoe/HOW-TO-CONNECT
X%%PORTDOCS%%share/doc/rp-pppoe/KERNEL-MODE-PPPOE
X%%PORTDOCS%%share/doc/rp-pppoe/LICENSE
X%%PORTDOCS%%share/doc/rp-pppoe/PROBLEMS
X%%PORTDOCS%%@dirrm share/doc/rp-pppoe
Xetc/ppp/firewall-masq.sample
Xetc/ppp/firewall-standalone.sample
Xetc/ppp/pap-secrets.sample
Xetc/ppp/pppoe-server-options.sample
X@unexec if cmp -s %D/etc/ppp/pppoe.conf.sample %D/etc/ppp/pppoe.conf ; then rm %D/etc/ppp/pppoe.conf ; fi
Xetc/ppp/pppoe.conf.sample
X@unexec rmdir %D/etc/ppp 2>/dev/null || echo "If you are permanently removing pppoe, you should also ``rm -Rf ${PKG_PREFIX}/etc/ppp'' removing any configuration and password files left." | /usr/bin/fmt
END-of-rp-pppoe/pkg-plist
exit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030616102158.GA13124>