Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 21888 Details for
Bug 35381
fixes and enhancements to net-dialup/ppp-2.4.2b3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ppp-2.4.2_beta3.ebuild
ppp-2.4.2_beta3.ebuild (text/plain), 3.07 KB, created by
Cory Visi (RETIRED)
on 2003-12-08 14:06:41 UTC
(
hide
)
Description:
ppp-2.4.2_beta3.ebuild
Filename:
MIME Type:
Creator:
Cory Visi (RETIRED)
Created:
2003-12-08 14:06:41 UTC
Size:
3.07 KB
patch
obsolete
>MY_P=${P/_beta/b} >S=${WORKDIR}/${MY_P} >DESCRIPTION="Point-to-point protocol - patched for pppoe" >HOMEPAGE="http://www.samba.org/ppp" >SRC_URI="ftp://ftp.samba.org/pub/ppp/${MY_P}.tar.gz" > >LICENSE="BSD GPL-2" >SLOT="0" >KEYWORDS="x86 ~ppc ~sparc ~hppa ~amd64 ~ia64" >IUSE="ipv6 activefilter pam" > >DEPEND="virtual/glibc > activefilter? ( net-libs/libpcap )" > >src_unpack() { > unpack ${A} > cd ${S} > > epatch ${FILESDIR}/${MY_P}-mpls.patch > epatch ${FILESDIR}/${MY_P}-killaddr-smarter.patch > epatch ${FILESDIR}/${MY_P}-cflags.patch > > use activefilter && { > einfo "Enabling active-filter" > sed -i -e "s/^#FILTER=y/FILTER=y/" pppd/Makefile.linux > } > > use pam && { > einfo "Enabling PAM" > sed -i -e "s/^#USE_PAM=y/USE_PAM=y/" pppd/Makefile.linux > } > > use ipv6 && { > einfo "Enabling IPv6" > sed -i -e "s/#HAVE_INET6/HAVE_INET6/" pppd/Makefile.linux > } >} > >src_compile() { > cd ${S} > > # compile radiusclient better than their makefile does > cd pppd/plugins/radius/radiusclient > econf > emake > > cd ${S} > ./configure --prefix=/usr || die > emake COPTS="${CFLAGS}" || die >} > >src_install() { > for y in chat pppd pppdump pppstats > do > doman ${y}/${y}.8 > dosbin ${y}/${y} > done > chmod u+s-w ${D}/usr/sbin/pppd > > dodir /etc/ppp/peers > insinto /etc/ppp > insopts -m0600 > doins etc.ppp/pap-secrets etc.ppp/chap-secrets > > insopts -m0644 > doins etc.ppp/options > doins ${FILESDIR}/options-pptp > doins ${FILESDIR}/options-pppoe > doins ${FILESDIR}/chat-default > insopts -m0755 > doins ${FILESDIR}/ip-up > doins ${FILESDIR}/ip-down > > exeinto /etc/init.d > doexe ${FILESDIR}/net.ppp0 > > insinto /etc/conf.d > insopts -m0600 > newins ${FILESDIR}/confd.ppp0 net.ppp0 > > dolib.so pppd/plugins/minconn.so > dolib.so pppd/plugins/passprompt.so > dolib.so pppd/plugins/rp-pppoe/rp-pppoe.so > dodir /usr/lib/pppd/$(awk -F '"' '/VERSION/ {print $2}' pppd/patchlevel.h) > mv ${D}/usr/lib/*.so ${D}/usr/lib/pppd/$(awk -F '"' '/VERSION/ {print $2}' pppd/patchlevel.h) > > insinto /etc/modules.d > insopts -m0644 > newins ${FILESDIR}/modules.ppp ppp > > dodoc PLUGINS README* SETUP Changes-2.3 FAQ > dodoc ${FILESDIR}/README.mpls > dohtml ${FILESDIR}/pppoe.html > ># This has nothing to do with net.ppp0 now as net.ppp0 calls pppd ># from the command line with the parameters. > dosbin scripts/pon > dosbin scripts/poff > dosbin ${FILESDIR}/plog > doman scripts/pon.1 > > # Adding misc. specialized scripts to doc dir > dodir /usr/share/doc/${PF}/scripts > dodir /usr/share/doc/${PF}/scripts/chatchat > insinto /usr/share/doc/${PF}/scripts/chatchat > doins scripts/chatchat/* > insinto /usr/share/doc/${PF}/scripts > doins scripts/* >} > >pkg_postinst() { > if [ ! -e ${ROOT}dev/.devfsd ] > then > if [ ! -e ${ROOT}dev/ppp ]; then > mknod ${ROOT}dev/ppp c 108 0 > fi > fi > if [ "$ROOT" = "/" ] > then > /sbin/update-modules > fi > ewarn "To enable kernel-pppoe read html/pppoe.html in the doc-directory." > ewarn "Pon, poff and plog scripts have been supplied for experienced users." > ewarn "New users or those requiring something more should have a look at" > ewarn "the /etc/init.d/net.ppp0 script." > ewarn "Users needing particular scripts (ssh,rsh,etc.)should check out the" > ewarn "/usr/share/doc/ppp*/scripts directory." >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 35381
: 21888 |
21889
|
21890
|
21891
|
21892
|
21893