Linux wireless drivers development
 help / color / mirror / Atom feed
From: "Luis R. Rodriguez" <mcgrof@gmail.com>
To: Daniel Mierswa <impulze@impulze.org>
Cc: linux-wireless@vger.kernel.org
Subject: Re: CRDA_PATH fixes for wireless-regdb.git
Date: Tue, 3 Mar 2009 18:52:12 -0800	[thread overview]
Message-ID: <43e72e890903031852u755677a9se177f6177ef13633@mail.gmail.com> (raw)
In-Reply-To: <49ADEB0D.6070100@impulze.org>

On Tue, Mar 3, 2009 at 6:44 PM, Daniel Mierswa <impulze@impulze.org> wr=
ote:
> Heya, i just found that there was a typo in your Makefile and
> debian-examples dir.
> I fixed those plus also give the user the chance to override CRDA_PAT=
H
> (I use /lib64 since I like the idea of having all necessary stuff to =
get
> wireless connected in superuser reach). :)
> Feedback welcomed.
>
> --
> Mierswa, Daniel
>
> If you still don't like it, that's ok: that's why I'm boss. I simply
> know better than you do.
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --- Linus Torvalds, =
comp.os.linux.advocacy, 1996/07/22
>
>
>
> From 14a0da690de4e8803809f5da970b42c953990f03 Mon Sep 17 00:00:00 200=
1
> From: Daniel Mierswa <impulze@impulze.org>
> Date: Thu, 5 Feb 2009 02:11:41 +0100
> Subject: [PATCH] CDRA_PATH typo, also let user override CRDA_PATH
>
> ---
> =C2=A0Makefile =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=
=A06 +++---
> =C2=A0debian-example/rules | =C2=A0 =C2=A06 +++---
> =C2=A02 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index a719f59..32626a1 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1,6 +1,6 @@
> =C2=A0# Install prefix
> =C2=A0PREFIX =3D /usr
> -CDRA_PATH =3D $(PREFIX)/lib/crda
> +CRDA_PATH ?=3D $(PREFIX)/lib/crda
>
> =C2=A0MANDIR ?=3D $(PREFIX)/share/man/
>
> @@ -32,7 +32,7 @@ key.priv.pem:
> =C2=A0# Distributions wishing to just use John's database
> =C2=A0# can just call make install.
> =C2=A0install: regulatory.bin.5.gz
> - =C2=A0 =C2=A0 =C2=A0 install -o 0 -g 0 -m 755 -d $(DESTDIR)/$(CDRA_=
PATH)
> - =C2=A0 =C2=A0 =C2=A0 install -o 0 -g 0 -m 644 regulatory.bin $(DEST=
DIR)/$(CDRA_PATH)/regulatory.bin
> + =C2=A0 =C2=A0 =C2=A0 install -o 0 -g 0 -m 755 -d $(DESTDIR)/$(CRDA_=
PATH)
> + =C2=A0 =C2=A0 =C2=A0 install -o 0 -g 0 -m 644 regulatory.bin $(DEST=
DIR)/$(CRDA_PATH)/regulatory.bin
> =C2=A0 =C2=A0 =C2=A0 =C2=A0mkdir -p $(DESTDIR)/$(MANDIR)/man5/
> =C2=A0 =C2=A0 =C2=A0 =C2=A0install -m 644 -t $(DESTDIR)/$(MANDIR)/man=
5/ regulatory.bin.5.gz
> diff --git a/debian-example/rules b/debian-example/rules
> index dab9255..34a08a5 100755
> --- a/debian-example/rules
> +++ b/debian-example/rules
> @@ -3,8 +3,8 @@
> =C2=A0include /usr/share/cdbs/1/rules/debhelper.mk
>
> =C2=A0PREFIX =3D /usr
> -CDRA_LIB =3D $(PREFIX)/lib/crda
> +CRDA_LIB ?=3D $(PREFIX)/lib/crda
>
> =C2=A0install/wireless-regdb::
> - =C2=A0 =C2=A0 =C2=A0 install -o 0 -g 0 -m 755 -d debian/$(cdbs_curp=
kg)/$(CDRA_LIB)
> - =C2=A0 =C2=A0 =C2=A0 install -o 0 -g 0 -m 644 regulatory.bin debian=
/$(cdbs_curpkg)/$(CDRA_LIB)/regulatory.bin
> + =C2=A0 =C2=A0 =C2=A0 install -o 0 -g 0 -m 755 -d debian/$(cdbs_curp=
kg)/$(CRDA_LIB)
> + =C2=A0 =C2=A0 =C2=A0 install -o 0 -g 0 -m 644 regulatory.bin debian=
/$(cdbs_curpkg)/$(CRDA_LIB)/regulatory.bin
> --

Patch doesn't apply.

mcgrof@tesla ~/devel/crda (git::master)$ git describe
v1.0.1-10-g479ca1d

mcgrof@tesla ~/devel/crda (git::master)$ patch -p1 <
=2E./../patches/crda-fix-path.patch
patching file Makefile
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 32.
2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
patching file debian-example/rules
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file debian-example/rules.r=
ej

  Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-03-04  2:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-04  2:44 CRDA_PATH fixes for wireless-regdb.git Daniel Mierswa
2009-03-04  2:52 ` Luis R. Rodriguez [this message]
2009-03-04 18:53   ` Luis R. Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43e72e890903031852u755677a9se177f6177ef13633@mail.gmail.com \
    --to=mcgrof@gmail.com \
    --cc=impulze@impulze.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox