Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 192149 Details for
Bug 270869
[new package] net-wireless/madwimax-0.1.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild + patch
madwimax-ebuild-0.1.0.tgz (text/plain), 10.00 KB, created by
Denis Loginov
on 2009-05-22 21:12:19 UTC
(
hide
)
Description:
ebuild + patch
Filename:
MIME Type:
Creator:
Denis Loginov
Created:
2009-05-22 21:12:19 UTC
Size:
10.00 KB
patch
obsolete
>madwimax/0000777000000000000000000000000011205611562011366 5ustar rootrootmadwimax/files/0000777000000000000000000000000011204614030012460 5ustar rootrootmadwimax/files/madwimax-0.1.0-gentoo.patch0000777000000000000000000000535311204614013017245 0ustar rootrootdiff -ruN ../mwm/scripts/events/event.sh.gentoo.in ./scripts/events/event.sh.gentoo.in >--- ../mwm/scripts/events/event.sh.gentoo.in 1970-01-01 03:00:00.000000000 +0300 >+++ ./scripts/events/event.sh.gentoo.in 2009-05-20 00:23:01.000000000 +0400 >@@ -0,0 +1,20 @@ >+#!/bin/sh >+# Usage: event.sh <event> <if-name> >+ >+case "$1" in >+ if-create) >+ ;; >+ if-up) >+ test -x /etc/init.d/net.wimax0 && /etc/init.d/net.wimax0 start >+ ;; >+ if-down) >+ test -x /etc/init.d/net.wimax0 && /etc/init.d/net.wimax0 stop >+ ;; >+ if-release) >+ ;; >+ *) >+ echo "Usage: $0 { if-create | if-up | if-down | if-release }" >&2 >+ exit 3 >+ ;; >+esac >+ >diff -ruN ../mwm/scripts/events/Makefile.in ./scripts/events/Makefile.in >--- ../mwm/scripts/events/Makefile.in 2009-05-20 00:26:22.000000000 +0400 >+++ ./scripts/events/Makefile.in 2009-05-20 00:32:19.000000000 +0400 >@@ -152,7 +152,7 @@ > top_builddir = @top_builddir@ > top_srcdir = @top_srcdir@ > udevdir = @udevdir@ >-@WITH_SCRIPT_TRUE@eventsdir = $(sysconfdir) >+@WITH_SCRIPT_TRUE@eventsdir = $(sysconfdir)/madwimax > @WITH_SCRIPT_TRUE@events_SCRIPTS = event.sh > @WITH_SCRIPT_TRUE@MOSTLYCLEANFILES = event.sh > @WITH_SCRIPT_TRUE@DISTCLEANFILES = event.sh.$(script) >diff -ruN ../mwm/scripts/udev/z60_madwimax.rules.in ./scripts/udev/z60_madwimax.rules.in >--- ../mwm/scripts/udev/z60_madwimax.rules.in 2009-05-20 00:26:29.000000000 +0400 >+++ ./scripts/udev/z60_madwimax.rules.in 2009-05-20 00:19:13.000000000 +0400 >@@ -4,7 +4,7 @@ > > ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="6761", ATTR{bInterfaceNumber}=="01", RUN+="/bin/sh -c '/bin/echo -n $kernel > /sys/$devpath/driver/unbind'" > ATTRS{idVendor}=="04e9", ATTRS{idProduct}=="6761", ATTR{bInterfaceNumber}=="01", RUN+="/bin/sh -c '/bin/echo -n $kernel > /sys/$devpath/driver/unbind'" >-#ATTR{idVendor}=="04e8", ATTR{idProduct}=="6761", RUN+="@SBINDIR@/madwimax -qd --exact-device=$attr{busnum}/$attr{devnum}" >-#ATTR{idVendor}=="04e9", ATTR{idProduct}=="6761", RUN+="@SBINDIR@/madwimax -qd --exact-device=$attr{busnum}/$attr{devnum}" >+ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="6761", RUN+="@SBINDIR@/madwimax -qd --exact-device=$attr{busnum}/$attr{devnum}" >+ATTRS{idVendor}=="04e9", ATTRS{idProduct}=="6761", RUN+="@SBINDIR@/madwimax -qd --exact-device=$attr{busnum}/$attr{devnum}" > > LABEL="madwimax_rules_end" >diff -ruN ../mwm/src/wimax.c ./src/wimax.c >--- ../mwm/src/wimax.c 2009-05-20 00:26:29.000000000 +0400 >+++ ./src/wimax.c 2009-05-20 00:24:27.000000000 +0400 >@@ -245,7 +245,7 @@ > } else if (pid > 0) { /* parent */ > return pid; > } else { /* child */ >- char *args[] = {SYSCONFDIR "/event.sh", event, tap_dev, NULL}; >+ char *args[] = {SYSCONFDIR "/madwimax/event.sh", event, tap_dev, NULL}; > char *env[1] = {NULL}; > /* run the program */ > execve(args[0], args, env); >madwimax/madwimax-0.1.0.ebuild0000777000000000000000000000167311204616722015031 0ustar rootroot# Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit autotools > >DESCRIPTION="madwimax driver for Samsung SWC-U200 Mobile WiMax dongle" >HOMEPAGE="http://code.google.com/p/madwimax/" >SRC_URI="http://madwimax.googlecode.com/files/madwimax-${PV}.tar.gz" >RESTRICT="mirror" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="" > >DEPEND=">=dev-libs/libusb-1" >RDEPEND=">=dev-libs/libusb-1" > >src_unpack() { > unpack ${A} > cd "${S}" > epatch "${FILESDIR}/madwimax-0.1.0-gentoo.patch" >} > >src_compile() { > econf --with-script=gentoo || die "configure failed" > emake || die "make failed" >} > >src_install() { > emake install DESTDIR="${D}" || die "install failed" > dodoc AUTHORS INSTALL NEWS README THANKS TODO >} > >pkg_postinst() { > udevadm control --reload_rules > > einfo "To enable automatic network interface configuration, please do:" > einfo " cd /etc/init.d" > einfo " ln -s net.lo net.wimax0" >} > >
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 270869
:
192149
|
192174
|
192175
|
240027