public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christian Heim (phreak)" <phreak@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/ipw3945: ChangeLog ipw3945-1.2.2.ebuild
Date: Sun, 09 Sep 2007 08:35:52 +0000	[thread overview]
Message-ID: <E1IUIGm-0005j7-0n@stork.gentoo.org> (raw)

phreak      07/09/09 08:35:52

  Modified:             ChangeLog
  Added:                ipw3945-1.2.2.ebuild
  Log:
  Version bump, fixing #171447 and #177869 (thanks to Momsen Reincke <mreincke at gmx.net> for the preup snippet), #181443 (Mike Arthur <mike at mikearthur.co.uk>, adding SHELL=/bin/bash to BUILD_PARAMS), #190595 (genbug.z.sandcrawler at antichef.com).
  (Portage version: 2.1.3.9)

Revision  Changes    Path
1.30                 net-wireless/ipw3945/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/ipw3945/ChangeLog?rev=1.30&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/ipw3945/ChangeLog?rev=1.30&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/ipw3945/ChangeLog?r1=1.29&r2=1.30

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ChangeLog	10 Jul 2007 09:49:50 -0000	1.29
+++ ChangeLog	9 Sep 2007 08:35:51 -0000	1.30
@@ -1,6 +1,14 @@
 # ChangeLog for net-wireless/ipw3945
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.29 2007/07/10 09:49:50 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.30 2007/09/09 08:35:51 phreak Exp $
+
+*ipw3945-1.2.2 (09 Sep 2007)
+
+  09 Sep 2007; Christian Heim <phreak@gentoo.org> +ipw3945-1.2.2.ebuild:
+  Version bump, fixing #171447 and #177869 (thanks to Momsen Reincke <mreincke
+  at gmx.net> for the preup snippet), #181443 (Mike Arthur <mike at
+  mikearthur.co.uk>, adding SHELL=/bin/bash to BUILD_PARAMS), #190595
+  (genbug.z.sandcrawler at antichef.com).
 
   10 Jul 2007; Stefan Schweizer <genstef@gentoo.org> ipw3945-1.0.5.ebuild,
   ipw3945-1.2.0.ebuild, ipw3945-1.2.1.ebuild:



1.1                  net-wireless/ipw3945/ipw3945-1.2.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/ipw3945/ipw3945-1.2.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/ipw3945/ipw3945-1.2.2.ebuild?rev=1.1&content-type=text/plain

Index: ipw3945-1.2.2.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ipw3945-1.2.2.ebuild,v 1.1 2007/09/09 08:35:51 phreak Exp $

inherit linux-mod eutils

S=${WORKDIR}/${P/_pre/-pre}

UCODE_VERSION="1.14.2"
DAEMON_VERSION="1.7.22"

DESCRIPTION="Driver for the Intel PRO/Wireless 3945ABG miniPCI express adapter"
HOMEPAGE="http://ipw3945.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P/_pre/-pre}.tgz"

LICENSE="BSD GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="debug"
RDEPEND=">=net-wireless/ipw3945-ucode-${UCODE_VERSION}
	>=net-wireless/ipw3945d-${DAEMON_VERSION}"

BUILD_TARGETS="all"
MODULE_NAMES="ipw3945(net/wireless:)"
MODULESD_IPW3945_DOCS="README.ipw3945"
KV_OBJ="ko"

CONFIG_CHECK="WIRELESS_EXT FW_LOADER IEEE80211 IEEE80211_CRYPT_CCMP IEEE80211_CRYPT_TKIP"
ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)."
ERROR_IEEE80211="${P} requires support for Generic IEEE 802.11 Networking Stack (CONFIG_IEEE80211)."

pkg_setup() {
	if kernel_is 2 4; then
		die "${P} does not support building against kernel 2.4.x"
	fi

	if kernel_is lt 2 6 18; then
		die "${P} needs a kernel >=2.6.18! Please set your KERNEL_DIR or /usr/src/linux suitably"
# I've no idea, why linux-info is passing the above CONFIG_CHECK on any kernel
# <2.6.22, since they don't even *HAVE* that config option. But still linux-info
# isn't bailing.
# 
#	elif kernel_is ge 2 6 22 ; then
#		CONFIG_CHECK="${CONFIG_CHECK} WIRELESS_EXT"
#		ERROR_WIRELESS_EXT="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions"
#	else
#		CONFIG_CHECK="${CONFIG_CHECK} NET_RADIO"
#		ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
	fi

	linux-mod_pkg_setup

	BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR} SHELL=/bin/bash"

	# users don't read the ChangeLog and wonder why the kernel check fails
	# (1) check if the kernel dir (/usr/src/linux) is missing ieee80211

	if [[ -f ${KV_DIR}/include/net/ieee80211.h ]] && \
		[[ -f ${KV_OUT_DIR}/include/config/ieee80211.h ]] && \
		egrep -q "^#(un)?def.*(CONFIG_IEEE80211.*)" ${KV_OUT_DIR}/include/linux/autoconf.h; then
		return 0
	else
		echo
		ewarn "${CATEGORY}/${PF} does NOT use net-wireless/ieee80211 any more."
		ewarn "We are now relying on the in-kernel ieee80211 instead."
		echo
		eerror "Please remove net-wireless/ieee80211 using emerge, and remerge"
		eerror "your current kernel (${KV_FULL}), as it has been altered"
		eerror "by net-wireless/ieee80211."
		die "Incompatible ieee80211 subsystem detected in ${KV_FULL}"
	fi
}

src_unpack() {
	unpack ${P/_pre/-pre}.tgz

	cd "${S}"
	epatch "${FILESDIR}"/${PN}-1.2.0-Makefile.patch

	if use debug ; then
		sed -i -e "s:^\(CONFIG_IPW3945_DEBUG\)=.*:\1=y:" "${S}"/Makefile || \
			die "Failed to enable debugging support!"
	fi
}

src_install() {
	linux-mod_src_install
	dodoc CHANGES ISSUES
}

pkg_postinst() {
	elog "If you want your wireless device started up by udev, please make sure"
	elog "you add something like this to your /etc/conf.d/net:"
	elog "preup() {"
	elog "	if [[ ${IFACE} = "wlan0" ]]; then"
	elog "		sleep 3"
	elog "	fi"
	elog "	return 0"
	elog "}"
	elog
	elog "Otherwise, you're going to hit bug #177869 since the driver needs some"
	elog "time to initialize and thus, baselayout is going to start it even if"
	elog "the device isn't useable yet."
	elog
}



-- 
gentoo-commits@gentoo.org mailing list



             reply	other threads:[~2007-09-09  8:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-09  8:35 Christian Heim (phreak) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-09-09  9:39 [gentoo-commits] gentoo-x86 commit in net-wireless/ipw3945: ChangeLog ipw3945-1.2.2.ebuild Christian Heim (phreak)
2007-09-11 15:48 Christian Heim (phreak)
2007-11-25 22:01 Stefan Schweizer (genstef)
2007-12-05 22:33 Christoph Mende (angelos)
2007-12-06 23:58 Christian Faulhammer (opfer)

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=E1IUIGm-0005j7-0n@stork.gentoo.org \
    --to=phreak@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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