diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-23 08:41:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-23 08:41:24 +0000 |
commit | 601db4f703261b3f0d3eb5d3021184dc87774a9e (patch) | |
tree | 8305296ad3e9ef96b6516c648af288f7950eafd6 | |
parent | e6060e073877c5d6cab995f2fcba244be703c24c (diff) | |
download | alpine_aports-601db4f703261b3f0d3eb5d3021184dc87774a9e.tar.bz2 alpine_aports-601db4f703261b3f0d3eb5d3021184dc87774a9e.tar.xz alpine_aports-601db4f703261b3f0d3eb5d3021184dc87774a9e.zip |
main/dahdi-tools: upgrade to 2.3.0
-rw-r--r-- | main/dahdi-linux-grsec/APKBUILD | 14 | ||||
-rw-r--r-- | main/dahdi-tools/APKBUILD | 20 |
2 files changed, 17 insertions, 17 deletions
diff --git a/main/dahdi-linux-grsec/APKBUILD b/main/dahdi-linux-grsec/APKBUILD index 247826c313..51db40378d 100644 --- a/main/dahdi-linux-grsec/APKBUILD +++ b/main/dahdi-linux-grsec/APKBUILD | |||
@@ -15,8 +15,8 @@ _realname=dahdi-linux | |||
15 | 15 | ||
16 | pkgname=${_realname}-${_flavor} | 16 | pkgname=${_realname}-${_flavor} |
17 | pkgver=$pkgver | 17 | pkgver=$pkgver |
18 | _dahdiver=2.2.0.2 | 18 | _dahdiver=2.3.0.1 |
19 | _mypkgrel=2 | 19 | _mypkgrel=0 |
20 | pkgrel=$(( $_kpkgrel + $_mypkgrel )) | 20 | pkgrel=$(( $_kpkgrel + $_mypkgrel )) |
21 | pkgdesc="Digium Asterisk Hardware Device Interface drivers $_dahdiver" | 21 | pkgdesc="Digium Asterisk Hardware Device Interface drivers $_dahdiver" |
22 | url="http://www.asterisk.org" | 22 | url="http://www.asterisk.org" |
@@ -32,9 +32,6 @@ source="http://downloads.digium.com/pub/telephony/dahdi-linux/releases/${_realna | |||
32 | dahdi-bri_dchan.patch | 32 | dahdi-bri_dchan.patch |
33 | dahdi-zaphfc.patch | 33 | dahdi-zaphfc.patch |
34 | zaphfc-dahdi-flortz.diff | 34 | zaphfc-dahdi-flortz.diff |
35 | dahdi-linux-2.2.0-hfc-4s.patch | ||
36 | dahdi-2.6.31.patch | ||
37 | dahdi-2.2.0.2-driver_data-2.6.32.patch | ||
38 | " | 35 | " |
39 | 36 | ||
40 | prepare() { | 37 | prepare() { |
@@ -70,11 +67,8 @@ dev() { | |||
70 | ln -s /usr/include "$dir"/include | 67 | ln -s /usr/include "$dir"/include |
71 | } | 68 | } |
72 | 69 | ||
73 | md5sums="1f932729ad28f2f028afcf2cc5ccf7ba dahdi-linux-2.2.0.2.tar.gz | 70 | md5sums="ac454f91d7e1267655ecd698832da414 dahdi-linux-2.3.0.1.tar.gz |
74 | c78fb8d80f9efdffd950297c88ff9273 dahdi-depmod.patch | 71 | c78fb8d80f9efdffd950297c88ff9273 dahdi-depmod.patch |
75 | 4b41a82ff390ac64c08092c5a3eab6a8 dahdi-bri_dchan.patch | 72 | 4b41a82ff390ac64c08092c5a3eab6a8 dahdi-bri_dchan.patch |
76 | a822c092f0548cd13f5e8d8cba053af6 dahdi-zaphfc.patch | 73 | a822c092f0548cd13f5e8d8cba053af6 dahdi-zaphfc.patch |
77 | 291c5c44c86ab02443a742415461ddca zaphfc-dahdi-flortz.diff | 74 | 291c5c44c86ab02443a742415461ddca zaphfc-dahdi-flortz.diff" |
78 | 68dfe17a49cca15ae439fd83f4ccfbc5 dahdi-linux-2.2.0-hfc-4s.patch | ||
79 | bd5e7457ee8f37c10ed7ec383995e4fa dahdi-2.6.31.patch | ||
80 | 7f9452ef37385e03e05147081d6951a1 dahdi-2.2.0.2-driver_data-2.6.32.patch" | ||
diff --git a/main/dahdi-tools/APKBUILD b/main/dahdi-tools/APKBUILD index dbb82aab67..4d561678e9 100644 --- a/main/dahdi-tools/APKBUILD +++ b/main/dahdi-tools/APKBUILD | |||
@@ -1,8 +1,8 @@ | |||
1 | # Contributor: Timo Teras <timo.teras@iki.fi> | 1 | # Contributor: Timo Teras <timo.teras@iki.fi> |
2 | # Maintainer: Timo Teras <timo.teras@iki.fi> | 2 | # Maintainer: Timo Teras <timo.teras@iki.fi> |
3 | pkgname=dahdi-tools | 3 | pkgname=dahdi-tools |
4 | pkgver=2.2.0 | 4 | pkgver=2.3.0 |
5 | pkgrel=1 | 5 | pkgrel=0 |
6 | pkgdesc="Digium Asterisk Hardware Device Interface management utilities" | 6 | pkgdesc="Digium Asterisk Hardware Device Interface management utilities" |
7 | url="http://www.asterisk.org" | 7 | url="http://www.asterisk.org" |
8 | license="GPL" | 8 | license="GPL" |
@@ -14,19 +14,25 @@ subpackages="$pkgname-doc $pkgname-dev" | |||
14 | source="http://downloads.digium.com/pub/telephony/dahdi-tools/releases/$pkgname-$pkgver.tar.gz | 14 | source="http://downloads.digium.com/pub/telephony/dahdi-tools/releases/$pkgname-$pkgver.tar.gz |
15 | $pkgname.initd" | 15 | $pkgname.initd" |
16 | 16 | ||
17 | _builddir="$srcdir"/$pkgname-$pkgver | ||
17 | build() { | 18 | build() { |
18 | cd "$srcdir/$pkgname-$pkgver" | 19 | cd "$_builddir" |
19 | 20 | ||
20 | ./configure --prefix=/usr \ | 21 | ./configure --prefix=/usr \ |
21 | --sysconfdir=/etc \ | 22 | --sysconfdir=/etc \ |
22 | --mandir=/usr/share/man \ | 23 | --mandir=/usr/share/man \ |
23 | --infodir=/usr/share/info | 24 | --infodir=/usr/share/info \ |
24 | sed -i -e 's/$(CC) $(LDFLAGS) -o $@ $^/$(CC) $^ $(LDFLAGS) -o $@/' Makefile | 25 | || return 1 |
26 | sed -i -e 's/$(CC) $(LDFLAGS) -o $@ $^/$(CC) $^ $(LDFLAGS) -o $@/' \ | ||
27 | Makefile | ||
25 | make || return 1 | 28 | make || return 1 |
26 | make -j1 DESTDIR="$pkgdir" install | 29 | } |
27 | 30 | ||
31 | package() { | ||
32 | cd "$_builddir" | ||
33 | make -j1 DESTDIR="$pkgdir" install | ||
28 | install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/dahdi | 34 | install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/dahdi |
29 | } | 35 | } |
30 | 36 | ||
31 | md5sums="a018f452f3851a312ff51705ac44de37 dahdi-tools-2.2.0.tar.gz | 37 | md5sums="6c9e2da70e4503e4d93f1ad0c83e61af dahdi-tools-2.3.0.tar.gz |
32 | d9702271dba6ff250f4d9a252f4dbf4c dahdi-tools.initd" | 38 | d9702271dba6ff250f4d9a252f4dbf4c dahdi-tools.initd" |