Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 44839 Details for
Bug 72668
Patch for capi4k-utils: add ppp-2.4.3 pppdcapiplugin support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
capi4k-utils-20041006-r3.ebuild
capi4k-utils-20041006-r3.ebuild (text/plain), 3.41 KB, created by
Stefan Briesenick (RETIRED)
on 2004-11-27 12:18:28 UTC
(
hide
)
Description:
capi4k-utils-20041006-r3.ebuild
Filename:
MIME Type:
Creator:
Stefan Briesenick (RETIRED)
Created:
2004-11-27 12:18:28 UTC
Size:
3.41 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/capi4k-utils-20041006-r2.ebuild,v 1.7 2004/11/15 19:08:09 mrness Exp $ > >inherit eutils > >YEAR_PV=${PV:0:4} >MON_PV=${PV:4:2} >DAY_PV=${PV:6:2} > >MY_FILES=${FILESDIR}/${PV} >MY_P=${PN}-${YEAR_PV}-${MON_PV}-${DAY_PV} >PPPVERSIONS="2.4.2 2.4.3" # versions in portage > >DESCRIPTION="CAPI4Linux Utils" >HOMEPAGE="ftp://ftp.in-berlin.de/pub/capi4linux/" >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="x86 ~amd64 ~ppc" >IUSE="" >S=${WORKDIR}/${PN} >SRC_URI="ftp://ftp.in-berlin.de/pub/capi4linux/${MY_P}.tar.gz > ftp://ftp.in-berlin.de/pub/capi4linux/OLD/${MY_P}.tar.gz" > >DEPEND="virtual/linux-sources > dev-lang/perl > >=sys-apps/sed-4 > virtual/os-headers > sys-devel/automake > sys-devel/autoconf > sys-devel/libtool" >RDEPEND="" > >src_unpack() { > unpack ${A} || die "failed to unpack sources" > cd ${S} > # set our config > cp -f ${MY_FILES}/config .config > # fix the little odd bugs > epatch ${MY_FILES}/${PN}.patch || die "patch failed" > # patch includes of all *.c files > sed -i -e "s:linux/capi.h>$:linux/compiler.h>\n#include <linux/capi.h>:g" */*.c || die "sed failed" > # patch all Makefile.am and Rules.make to use our CFLAGS > sed -i -e "s:^CFLAGS\(.*\)-O2:CFLAGS\1${CFLAGS}:g" */Makefile.am */Rules.make || die "sed failed" > # patch capi20/Makefile.am to use -fPIC for shared library > sed -i -e "s:^\(libcapi20_la_CFLAGS = \):\1-fPIC :g" capi20/Makefile.am || die "sed failed" > # patch pppdcapiplugin/Makefile to use only the ppp versions we want > sed -i -e "s:^\(PPPVERSIONS = \).*$:\1${PPPVERSIONS}:g" pppdcapiplugin/Makefile || die "sed failed" > # create ppp-2.4.3 structure for pppdcapiplugin > mkdir -p pppdcapiplugin/ppp-2.4.3/pppd > cp -f "pppdcapiplugin/ppp-2.4.2/Makefile" "pppdcapiplugin/ppp-2.4.3/Makefile" > cp -f "${MY_FILES}/ppp-2.4.3_patchlevel.h" "pppdcapiplugin/ppp-2.4.3/pppd/patchlevel.h" > cp -f "${MY_FILES}/ppp-2.4.3_pppd.h" "pppdcapiplugin/ppp-2.4.3/pppd/pppd.h" >} > >src_compile() { > # required by fPIC patch > cd ${S}/capi20 || die "capi20 directory not found" > ebegin "Updating autotools-generated files" > aclocal -I . || die "aclocal failed" > automake -a || die "automake failed" > autoconf || die "autoconf failed" > libtoolize -f -c || die "libtoolize failed" > eend $? > cd ${S} > > emake subconfig || die "make subconfig failed" > emake || die "make failed" >} > >src_install() { > dodir /dev > emake DESTDIR=${D} install || die "make install failed" > > # install docs > newdoc rcapid/README README.rcapid > newdoc pppdcapiplugin/README README.pppdcapiplugin > dodoc scripts/makedev.sh ${MY_FILES}/README.gentoo > docinto pppdcapiplugin.examples; dodoc pppdcapiplugin/examples/* > > # install init-script > newinitd ${FILESDIR}/${PV}/capi.init capi > > # example config > insinto /etc > insopts -m 0600 > doins capiinit/capi.conf > > # rcapid config for xinetd > insinto /etc/xinetd.d > insopts -m 0644 > newins ${FILESDIR}/${PV}/rcapid.xinetd rcapid > > # very useful tool ;-) > dobin scripts/isdncause >} > >pkg_postinst() { > einfo "Please read the instructions in:" > einfo "/usr/share/doc/${PF}/README.gentoo.gz" > einfo "" > einfo "Annotation for active AVM ISDN boards (B1 ISA/PCI, ...):" > einfo "If you run" > einfo " emerge capi4k-firmware" > einfo "you will probably find your board's firmware in /usr/share/isdn." > einfo "" > einfo "If you have another active ISDN board, you should create" > einfo "/usr/share/isdn and copy there your board's firmware." >}
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 72668
: 44839 |
44840
|
44841
|
44842