mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
Package Groups Operation :)
This commit is contained in:
parent
2e67eafa3c
commit
ef831e2153
@ -15,8 +15,8 @@ pkgdesc="A kernel module that enables you to call parameterless ACPI methods by
|
|||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url=("http://github.com/mkottman/acpi_call")
|
url=("http://github.com/mkottman/acpi_call")
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('kernel26-lts' 'kernel26-lts-headers')
|
depends=('linux-lts' 'linux-lts-headers')
|
||||||
groups=("kernel26-lts-modules")
|
groups=("linux-lts-modules")
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
install=acpi_call.install
|
install=acpi_call.install
|
||||||
source=(http://chakra-project.org/sources/acpi_call/acpi_call-${pkgver}.tar.xz)
|
source=(http://chakra-project.org/sources/acpi_call/acpi_call-${pkgver}.tar.xz)
|
||||||
|
@ -14,6 +14,7 @@ pkgdesc="A kernel module that enables you to call parameterless ACPI methods by
|
|||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url=("http://github.com/mkottman/acpi_call")
|
url=("http://github.com/mkottman/acpi_call")
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
|
groups=('linux-modules')
|
||||||
depends=('linux>=3.0' 'linux<3.1' 'linux-headers')
|
depends=('linux>=3.0' 'linux<3.1' 'linux-headers')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
install=acpi_call.install
|
install=acpi_call.install
|
||||||
|
@ -14,9 +14,9 @@ pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver'
|
|||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url='http://www.broadcom.com/support/802.11/linux_sta.php'
|
url='http://www.broadcom.com/support/802.11/linux_sta.php'
|
||||||
license=('custom')
|
license=('custom')
|
||||||
depends=('kernel26-lts')
|
groups=("linux-lts-modules")
|
||||||
makedepends=('kernel26-lts-headers')
|
depends=('linux-lts')
|
||||||
groups=("kernel26-lts-modules")
|
makedepends=('linux-lts-headers')
|
||||||
|
|
||||||
[ "$CARCH" = 'x86_64' ] && ARCH=x86_64 || ARCH=x86_32
|
[ "$CARCH" = 'x86_64' ] && ARCH=x86_64 || ARCH=x86_32
|
||||||
source=("http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_${ARCH}-v${pkgver//./_}.tar.gz"
|
source=("http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_${ARCH}-v${pkgver//./_}.tar.gz"
|
||||||
|
@ -14,6 +14,7 @@ pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver'
|
|||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url='http://www.broadcom.com/support/802.11/linux_sta.php'
|
url='http://www.broadcom.com/support/802.11/linux_sta.php'
|
||||||
license=('custom')
|
license=('custom')
|
||||||
|
groups=('linux-modules')
|
||||||
depends=('linux>=3.0' 'linux<3.1')
|
depends=('linux>=3.0' 'linux<3.1')
|
||||||
makedepends=('linux-headers')
|
makedepends=('linux-headers')
|
||||||
|
|
||||||
|
@ -12,18 +12,18 @@ _kernver=2.6.35-CHAKRA-LTS
|
|||||||
pkgname=ndiswrapper-lts
|
pkgname=ndiswrapper-lts
|
||||||
pkgver=1.56
|
pkgver=1.56
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For kernel26-testing."
|
pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For linux-testing."
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
|
groups=("linux-lts-modules")
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
url="http://ndiswrapper.sourceforge.net"
|
url="http://ndiswrapper.sourceforge.net"
|
||||||
install="ndiswrapper.install"
|
install="ndiswrapper.install"
|
||||||
depends=("ndiswrapper-utils=$pkgver" 'kernel26-lts>=2.6.35' 'kernel26-lts<2.6.36')
|
depends=("ndiswrapper-utils=$pkgver" 'linux-lts>=2.6.35' 'linux-lts<2.6.36')
|
||||||
makedepends=('kernel26-lts-headers>=2.6.35' 'kernel26-lts-headers<2.6.36')
|
makedepends=('linux-lts-headers>=2.6.35' 'linux-lts-headers<2.6.36')
|
||||||
source=(http://downloads.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz kernel-2.6.35.patch ndiswrapper-ioctl.patch)
|
source=(http://downloads.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz kernel-2.6.35.patch ndiswrapper-ioctl.patch)
|
||||||
md5sums=('1431f7ed5f8e92e752d330bbb3aed333'
|
md5sums=('1431f7ed5f8e92e752d330bbb3aed333'
|
||||||
'0a03d613b1fd545a75c5dd1a7c2aaec4'
|
'0a03d613b1fd545a75c5dd1a7c2aaec4'
|
||||||
'a71bd3add8802e1b2fdff55bf6d0577e')
|
'a71bd3add8802e1b2fdff55bf6d0577e')
|
||||||
groups=("kernel26-modules")
|
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
|
@ -16,6 +16,7 @@ _kernver=`pacman -Q linux | cut -c7-9 | sed 's/linux //g'`-CHAKRA
|
|||||||
|
|
||||||
pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For linux-testing."
|
pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For linux-testing."
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
|
groups=('linux-modules')
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
url="http://ndiswrapper.sourceforge.net"
|
url="http://ndiswrapper.sourceforge.net"
|
||||||
install="ndiswrapper.install"
|
install="ndiswrapper.install"
|
||||||
|
42
tiacx-lts/PKGBUILD
Normal file
42
tiacx-lts/PKGBUILD
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
#
|
||||||
|
# Chakra Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||||
|
|
||||||
|
# include global config
|
||||||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
|
pkgname=tiacx-lts
|
||||||
|
pkgver=20080210
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. For stock arch 2.6 kernel"
|
||||||
|
arch=(i686 x86_64)
|
||||||
|
url="http://acx100.sourceforge.net/"
|
||||||
|
license=('MPL')
|
||||||
|
groups=("linux-lts-modules")
|
||||||
|
depends=('wireless_tools' 'linux-lts>=2.6.35' 'linux-lts<2.6.36' 'tiacx-firmware')
|
||||||
|
makedepends=('linux-lts-headers>=2.6.35' 'linux-lts-headers<2.6.36')
|
||||||
|
install=acx.install
|
||||||
|
source=(http://downloads.sourceforge.net/sourceforge/acx100/acx-$pkgver.tar.bz2
|
||||||
|
kernel-2.6.27.patch
|
||||||
|
kernel-2.6.30.patch
|
||||||
|
kernel-2.6.31.patch
|
||||||
|
kernel-2.6.33.patch)
|
||||||
|
_kernver=2.6.35-CHAKRA-LTS
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $startdir/src/acx-$pkgver
|
||||||
|
patch -Np1 -i ../kernel-2.6.27.patch || return 1
|
||||||
|
patch -Np0 -i ../kernel-2.6.30.patch || return 1
|
||||||
|
patch -Np1 -i ../kernel-2.6.31.patch || return 1
|
||||||
|
patch -Np0 -i ../kernel-2.6.33.patch || return 1
|
||||||
|
make -C /lib/modules/${_kernver}/build M=`pwd` || return 1
|
||||||
|
install -D acx.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/wireless/tiacx/acx.ko
|
||||||
|
sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
|
||||||
|
}
|
||||||
|
md5sums=('7d5ce3215708e4e9f95cf567a9ee3a12'
|
||||||
|
'9895f72f8d0c84956b0f6c3b16df0fe8'
|
||||||
|
'e2900aee839ce711a7f7606b3e3de36e'
|
||||||
|
'dbcb276d77df7801cef58a85c18dfe94'
|
||||||
|
'9cd35ea33b8abdd2e4efec485b05477e')
|
19
tiacx-lts/acx.install
Normal file
19
tiacx-lts/acx.install
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# arg 1: the new package version
|
||||||
|
post_install() {
|
||||||
|
KERNEL_VERSION='2.6.35-CHAKRA-LTS'
|
||||||
|
depmod $KERNEL_VERSION > /dev/null 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
|
# arg 1: the new package version
|
||||||
|
# arg 2: the old package version
|
||||||
|
post_upgrade() {
|
||||||
|
KERNEL_VERSION='2.6.35-CHAKRA-LTS'
|
||||||
|
depmod $KERNEL_VERSION > /dev/null 2>&1
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
# arg 1: the old package version
|
||||||
|
post_remove() {
|
||||||
|
KERNEL_VERSION='2.6.35-CHAKRA-LTS'
|
||||||
|
depmod $KERNEL_VERSION > /dev/null 2>&1
|
||||||
|
}
|
82
tiacx-lts/kernel-2.6.27.patch
Normal file
82
tiacx-lts/kernel-2.6.27.patch
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
diff -Nur acx-20080210.orig/ioctl.c acx-20080210/ioctl.c
|
||||||
|
--- acx-20080210.orig/ioctl.c 2008-02-10 21:06:42.000000000 +0100
|
||||||
|
+++ acx-20080210/ioctl.c 2008-10-10 17:07:32.000000000 +0200
|
||||||
|
@@ -489,6 +489,7 @@
|
||||||
|
static char*
|
||||||
|
acx_s_scan_add_station(
|
||||||
|
acx_device_t *adev,
|
||||||
|
+ struct iw_request_info *info,
|
||||||
|
char *ptr,
|
||||||
|
char *end_buf,
|
||||||
|
struct client *bss)
|
||||||
|
@@ -503,14 +504,14 @@
|
||||||
|
iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
|
||||||
|
MAC_COPY(iwe.u.ap_addr.sa_data, bss->bssid);
|
||||||
|
acxlog_mac(L_IOCTL, "scan, station address: ", bss->bssid, "\n");
|
||||||
|
- ptr = iwe_stream_add_event(ptr, end_buf, &iwe, IW_EV_ADDR_LEN);
|
||||||
|
+ ptr = iwe_stream_add_event(info, ptr, end_buf, &iwe, IW_EV_ADDR_LEN);
|
||||||
|
|
||||||
|
/* Add ESSID */
|
||||||
|
iwe.cmd = SIOCGIWESSID;
|
||||||
|
iwe.u.data.length = bss->essid_len;
|
||||||
|
iwe.u.data.flags = 1;
|
||||||
|
log(L_IOCTL, "scan, essid: %s\n", bss->essid);
|
||||||
|
- ptr = iwe_stream_add_point(ptr, end_buf, &iwe, bss->essid);
|
||||||
|
+ ptr = iwe_stream_add_point(info, ptr, end_buf, &iwe, bss->essid);
|
||||||
|
|
||||||
|
/* Add mode */
|
||||||
|
iwe.cmd = SIOCGIWMODE;
|
||||||
|
@@ -520,7 +521,7 @@
|
||||||
|
else
|
||||||
|
iwe.u.mode = IW_MODE_ADHOC;
|
||||||
|
log(L_IOCTL, "scan, mode: %d\n", iwe.u.mode);
|
||||||
|
- ptr = iwe_stream_add_event(ptr, end_buf, &iwe, IW_EV_UINT_LEN);
|
||||||
|
+ ptr = iwe_stream_add_event(info, ptr, end_buf, &iwe, IW_EV_UINT_LEN);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Add frequency */
|
||||||
|
@@ -528,7 +529,7 @@
|
||||||
|
iwe.u.freq.m = acx_channel_freq[bss->channel - 1] * 100000;
|
||||||
|
iwe.u.freq.e = 1;
|
||||||
|
log(L_IOCTL, "scan, frequency: %d\n", iwe.u.freq.m);
|
||||||
|
- ptr = iwe_stream_add_event(ptr, end_buf, &iwe, IW_EV_FREQ_LEN);
|
||||||
|
+ ptr = iwe_stream_add_event(info, ptr, end_buf, &iwe, IW_EV_FREQ_LEN);
|
||||||
|
|
||||||
|
/* Add link quality */
|
||||||
|
iwe.cmd = IWEVQUAL;
|
||||||
|
@@ -546,7 +547,7 @@
|
||||||
|
iwe.u.qual.updated = 7;
|
||||||
|
log(L_IOCTL, "scan, link quality: %d/%d/%d\n",
|
||||||
|
iwe.u.qual.level, iwe.u.qual.noise, iwe.u.qual.qual);
|
||||||
|
- ptr = iwe_stream_add_event(ptr, end_buf, &iwe, IW_EV_QUAL_LEN);
|
||||||
|
+ ptr = iwe_stream_add_event(info, ptr, end_buf, &iwe, IW_EV_QUAL_LEN);
|
||||||
|
|
||||||
|
/* Add encryption */
|
||||||
|
iwe.cmd = SIOCGIWENCODE;
|
||||||
|
@@ -556,7 +557,7 @@
|
||||||
|
iwe.u.data.flags = IW_ENCODE_DISABLED;
|
||||||
|
iwe.u.data.length = 0;
|
||||||
|
log(L_IOCTL, "scan, encryption flags: %X\n", iwe.u.data.flags);
|
||||||
|
- ptr = iwe_stream_add_point(ptr, end_buf, &iwe, bss->essid);
|
||||||
|
+ ptr = iwe_stream_add_point(info, ptr, end_buf, &iwe, bss->essid);
|
||||||
|
|
||||||
|
/* add rates */
|
||||||
|
iwe.cmd = SIOCGIWRATE;
|
||||||
|
@@ -570,7 +571,7 @@
|
||||||
|
if (rate & 1) {
|
||||||
|
iwe.u.bitrate.value = *p * 500000; /* units of 500kb/s */
|
||||||
|
log(L_IOCTL, "scan, rate: %d\n", iwe.u.bitrate.value);
|
||||||
|
- ptr_rate = iwe_stream_add_value(ptr, ptr_rate, end_buf,
|
||||||
|
+ ptr_rate = iwe_stream_add_value(info, ptr, ptr_rate, end_buf,
|
||||||
|
&iwe, IW_EV_PARAM_LEN);
|
||||||
|
}
|
||||||
|
rate >>= 1;
|
||||||
|
@@ -625,7 +626,7 @@
|
||||||
|
for (i = 0; i < ARRAY_SIZE(adev->sta_list); i++) {
|
||||||
|
struct client *bss = &adev->sta_list[i];
|
||||||
|
if (!bss->used) continue;
|
||||||
|
- ptr = acx_s_scan_add_station(adev, ptr,
|
||||||
|
+ ptr = acx_s_scan_add_station(adev, info, ptr,
|
||||||
|
extra + IW_SCAN_MAX_DATA, bss);
|
||||||
|
}
|
||||||
|
dwrq->length = ptr - extra;
|
16
tiacx-lts/kernel-2.6.30.patch
Normal file
16
tiacx-lts/kernel-2.6.30.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
--- wlan_compat.h~ 2009-06-12 09:17:30.000000000 +0200
|
||||||
|
+++ wlan_compat.h 2009-06-12 09:17:30.000000000 +0200
|
||||||
|
@@ -217,13 +217,6 @@
|
||||||
|
/*=============================================================*/
|
||||||
|
#define WLAN_PACKED __attribute__ ((packed))
|
||||||
|
|
||||||
|
-/* Interrupt handler backwards compatibility stuff */
|
||||||
|
-#ifndef IRQ_NONE
|
||||||
|
-#define IRQ_NONE
|
||||||
|
-#define IRQ_HANDLED
|
||||||
|
-typedef void irqreturn_t;
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#ifndef ARPHRD_IEEE80211_PRISM
|
||||||
|
#define ARPHRD_IEEE80211_PRISM 802
|
||||||
|
#endif
|
88
tiacx-lts/kernel-2.6.31.patch
Normal file
88
tiacx-lts/kernel-2.6.31.patch
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
--- acx-20080210/pci.c 2008-02-10 21:06:42.000000000 +0100
|
||||||
|
+++ acx-20080210/pci.c 2009-09-11 22:27:28.000000000 +0200
|
||||||
|
@@ -1437,6 +1437,19 @@
|
||||||
|
|
||||||
|
static void dummy_netdev_init(struct net_device *ndev) {}
|
||||||
|
|
||||||
|
+static const struct net_device_ops acx_netdev_ops = {
|
||||||
|
+ .ndo_open = &acxpci_e_open,
|
||||||
|
+ .ndo_stop = &acxpci_e_close,
|
||||||
|
+ .ndo_start_xmit = &acx_i_start_xmit,
|
||||||
|
+ .ndo_get_stats = &acx_e_get_stats,
|
||||||
|
+#if IW_HANDLER_VERSION <= 5
|
||||||
|
+ .ndo_get_wireless_stats = &acx_e_get_wireless_stats,
|
||||||
|
+#endif
|
||||||
|
+ .ndo_set_multicast_list = &acxpci_i_set_multicast_list,
|
||||||
|
+ .ndo_tx_timeout = &acxpci_i_tx_timeout,
|
||||||
|
+ .ndo_change_mtu = &acx_e_change_mtu,
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
#ifdef CONFIG_PCI
|
||||||
|
static int __devinit acxpci_e_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||||
|
{
|
||||||
|
@@ -1547,17 +1560,8 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
ether_setup(ndev);
|
||||||
|
- ndev->open = &acxpci_e_open;
|
||||||
|
- ndev->stop = &acxpci_e_close;
|
||||||
|
- ndev->hard_start_xmit = &acx_i_start_xmit;
|
||||||
|
- ndev->get_stats = &acx_e_get_stats;
|
||||||
|
-#if IW_HANDLER_VERSION <= 5
|
||||||
|
- ndev->get_wireless_stats = &acx_e_get_wireless_stats;
|
||||||
|
-#endif
|
||||||
|
- ndev->wireless_handlers = (struct iw_handler_def *)&acx_ioctl_handler_def;
|
||||||
|
- ndev->set_multicast_list = &acxpci_i_set_multicast_list;
|
||||||
|
- ndev->tx_timeout = &acxpci_i_tx_timeout;
|
||||||
|
- ndev->change_mtu = &acx_e_change_mtu;
|
||||||
|
+ ndev->wireless_handlers = (struct iw_handler_def *)&acx_ioctl_handler_def;
|
||||||
|
+ ndev->netdev_ops = &acx_netdev_ops;
|
||||||
|
ndev->watchdog_timeo = 4 * HZ;
|
||||||
|
ndev->irq = pdev->irq;
|
||||||
|
ndev->base_addr = pci_resource_start(pdev, 0);
|
||||||
|
--- acx-20080210/usb.c 2008-02-10 21:06:42.000000000 +0100
|
||||||
|
+++ acx-20080210/usb.c 2009-09-11 22:38:42.000000000 +0200
|
||||||
|
@@ -778,6 +778,21 @@
|
||||||
|
static void
|
||||||
|
dummy_netdev_init(struct net_device *ndev) {}
|
||||||
|
|
||||||
|
+static const struct net_device_ops acxusb_netdev_ops = {
|
||||||
|
+ .ndo_open = &acxusb_e_open,
|
||||||
|
+ .ndo_stop = &acxusb_e_close,
|
||||||
|
+ .ndo_start_xmit = (void *)&acx_i_start_xmit,
|
||||||
|
+ .ndo_get_stats = (void *)&acx_e_get_stats,
|
||||||
|
+#if IW_HANDLER_VERSION <= 5
|
||||||
|
+ .ndo_get_wireless_stats = (void *)&acx_e_get_wireless_stats,
|
||||||
|
+#endif
|
||||||
|
+ .ndo_set_multicast_list = (void *)&acxusb_i_set_rx_mode,
|
||||||
|
+#ifdef HAVE_TX_TIMEOUT
|
||||||
|
+ .ndo_tx_timeout = &acxusb_i_tx_timeout,
|
||||||
|
+#endif
|
||||||
|
+ .ndo_change_mtu = &acx_e_change_mtu,
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
static int
|
||||||
|
acxusb_e_probe(struct usb_interface *intf, const struct usb_device_id *devID)
|
||||||
|
{
|
||||||
|
@@ -845,20 +860,11 @@
|
||||||
|
/* Register the callbacks for the network device functions */
|
||||||
|
|
||||||
|
ether_setup(ndev);
|
||||||
|
- ndev->open = &acxusb_e_open;
|
||||||
|
- ndev->stop = &acxusb_e_close;
|
||||||
|
- ndev->hard_start_xmit = (void *)&acx_i_start_xmit;
|
||||||
|
- ndev->get_stats = (void *)&acx_e_get_stats;
|
||||||
|
-#if IW_HANDLER_VERSION <= 5
|
||||||
|
- ndev->get_wireless_stats = (void *)&acx_e_get_wireless_stats;
|
||||||
|
-#endif
|
||||||
|
ndev->wireless_handlers = (struct iw_handler_def *)&acx_ioctl_handler_def;
|
||||||
|
- ndev->set_multicast_list = (void *)&acxusb_i_set_rx_mode;
|
||||||
|
+ ndev->netdev_ops = &acxusb_netdev_ops;
|
||||||
|
#ifdef HAVE_TX_TIMEOUT
|
||||||
|
- ndev->tx_timeout = &acxusb_i_tx_timeout;
|
||||||
|
ndev->watchdog_timeo = 4 * HZ;
|
||||||
|
#endif
|
||||||
|
- ndev->change_mtu = &acx_e_change_mtu;
|
||||||
|
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)) && defined(SET_MODULE_OWNER)
|
||||||
|
SET_MODULE_OWNER(ndev);
|
||||||
|
#endif
|
11
tiacx-lts/kernel-2.6.33.patch
Normal file
11
tiacx-lts/kernel-2.6.33.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- pci.c~ 2010-02-27 19:30:54.000000000 +0100
|
||||||
|
+++ pci.c 2010-02-27 19:30:54.000000000 +0100
|
||||||
|
@@ -35,7 +35,7 @@
|
||||||
|
|
||||||
|
/* Linux 2.6.18+ uses <linux/utsrelease.h> */
|
||||||
|
#ifndef UTS_RELEASE
|
||||||
|
-#include <linux/utsrelease.h>
|
||||||
|
+#include <generated/utsrelease.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <linux/compiler.h> /* required for Lx 2.6.8 ?? */
|
@ -14,6 +14,7 @@ pkgdesc="OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. F
|
|||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
url="http://acx100.sourceforge.net/"
|
url="http://acx100.sourceforge.net/"
|
||||||
license=('MPL')
|
license=('MPL')
|
||||||
|
groups=('linux-modules')
|
||||||
depends=('wireless_tools' 'linux>=3.0' 'linux<3.1' 'tiacx-firmware')
|
depends=('wireless_tools' 'linux>=3.0' 'linux<3.1' 'tiacx-firmware')
|
||||||
makedepends=('linux-headers' 'linux-headers')
|
makedepends=('linux-headers' 'linux-headers')
|
||||||
install=acx.install
|
install=acx.install
|
||||||
|
39
vhba-module-lts/PKGBUILD
Normal file
39
vhba-module-lts/PKGBUILD
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
#
|
||||||
|
# Chakra Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||||
|
|
||||||
|
# include global config
|
||||||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
|
pkgname=vhba-module-lts
|
||||||
|
pkgver=1.2.1
|
||||||
|
_kernver='2.6.35-CHAKRA-LTS'
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Kernel26 module that emulates SCSI devices"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="http://cdemu.sourceforge.net/"
|
||||||
|
license=('GPL2')
|
||||||
|
depends=('linux-lts>=2.6.35' 'linux-lts<2.6.36')
|
||||||
|
makedepends=('linux-lts-headers>=2.6.35')
|
||||||
|
install=vhba-module.install
|
||||||
|
source=(http://downloads.sourceforge.net/cdemu/vhba-module-$pkgver.tar.bz2 vhba-linux-2.6.34.patch vhba-linux-2.6.36.patch)
|
||||||
|
md5sums=('a3b6ad798f2b72ef599df797ef79e5ec' 'de68d2e744885faade0b03baff52f4a8' '5960ac48a487ff5a4d767ed1f5eaf904')
|
||||||
|
groups=("linux-lts-modules")
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/vhba-module-$pkgver"
|
||||||
|
#workaround to fix compilation against 2.6.33
|
||||||
|
#http://bugs.gentoo.org/233910
|
||||||
|
for i in kat/*.c; do
|
||||||
|
sed -i "s:<linux/autoconf.h>:<generated/autoconf.h>:" $i
|
||||||
|
done
|
||||||
|
|
||||||
|
patch -Np0 -i ${srcdir}/vhba-linux-2.6.34.patch || return 1
|
||||||
|
patch -Np0 -i ${srcdir}/vhba-linux-2.6.36.patch || return 1
|
||||||
|
|
||||||
|
make -j1 KDIR=/usr/src/linux-${_kernver} || return 1
|
||||||
|
install -D vhba.ko "$pkgdir/lib/modules/${_kernver}/extra/vhba.ko" || return 1
|
||||||
|
sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" "$startdir/vhba-module.install"
|
||||||
|
}
|
16
vhba-module-lts/vhba-module.install
Normal file
16
vhba-module-lts/vhba-module.install
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
post_install() {
|
||||||
|
echo ">> Place 'vhba' in MODULES= in /etc/rc.conf to enable vhba on system boot."
|
||||||
|
echo ">> This module needs to be recompiled for every kernel version upgrade."
|
||||||
|
KERNEL_VERSION='2.6.35-CHAKRA-LTS'
|
||||||
|
depmod $KERNEL_VERSION > /dev/null 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install
|
||||||
|
}
|
||||||
|
|
||||||
|
post_remove() {
|
||||||
|
KERNEL_VERSION='2.6.35-CHAKRA-LTS'
|
||||||
|
depmod $KERNEL_VERSION > /dev/null 2>&1
|
||||||
|
}
|
||||||
|
|
@ -13,6 +13,7 @@ pkgdesc="Kernel module that emulates SCSI devices"
|
|||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://cdemu.sourceforge.net/"
|
url="http://cdemu.sourceforge.net/"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
|
groups=('linux-modules')
|
||||||
depends=('linux>=3.0' 'linux<3.1')
|
depends=('linux>=3.0' 'linux<3.1')
|
||||||
makedepends=('linux-headers')
|
makedepends=('linux-headers')
|
||||||
install=vhba-module.install
|
install=vhba-module.install
|
||||||
|
@ -9,7 +9,6 @@ arch=('i686' 'x86_64')
|
|||||||
url='http://ex-vi.sourceforge.net/'
|
url='http://ex-vi.sourceforge.net/'
|
||||||
license=('custom:ex')
|
license=('custom:ex')
|
||||||
depends=('ncurses')
|
depends=('ncurses')
|
||||||
groups=('base')
|
|
||||||
options=(force strip !libtool emptydirs)
|
options=(force strip !libtool emptydirs)
|
||||||
source=(http://downloads.sourceforge.net/sourceforge/ex-vi/ex-${pkgver}.tar.bz2
|
source=(http://downloads.sourceforge.net/sourceforge/ex-vi/ex-${pkgver}.tar.bz2
|
||||||
navkeys.patch increase-tube.patch exrc.sample)
|
navkeys.patch increase-tube.patch exrc.sample)
|
||||||
|
Loading…
Reference in New Issue
Block a user