diff options
| author | Andrew Manison <amanison@anselsystems.com> | 2011-03-08 17:47:17 +0000 |
|---|---|---|
| committer | Andrew Manison <amanison@anselsystems.com> | 2011-03-08 17:47:17 +0000 |
| commit | 4ebbb2f89cf6b1e6e75b677d970dceb4ae570947 (patch) | |
| tree | c4ddfcbe61dd658ea81c0ab7fd96ec8adf093020 | |
| parent | f47ca3f82fad515b749d832a4779b6931876c682 (diff) | |
| parent | d91c3add6b683baded911397d54d32afaaca5435 (diff) | |
| download | aports-4ebbb2f89cf6b1e6e75b677d970dceb4ae570947.tar.bz2 aports-4ebbb2f89cf6b1e6e75b677d970dceb4ae570947.tar.xz | |
Merge remote-tracking branch 'alpine/master'
50 files changed, 2460 insertions, 485 deletions
diff --git a/main/abuild/0001-Delete-downloaded-source-if-fails-md5sum.patch b/main/abuild/0001-Delete-downloaded-source-if-fails-md5sum.patch deleted file mode 100644 index 2bace192eb..0000000000 --- a/main/abuild/0001-Delete-downloaded-source-if-fails-md5sum.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 3ce5ea77d1ec3760e4961b63def94e6f5bb73d24 Mon Sep 17 00:00:00 2001 -From: Ted Trask <ttrask01@yahoo.com> -Date: Fri, 11 Feb 2011 15:09:44 +0000 -Subject: [PATCH 1/2] Delete downloaded source if fails md5sum - ---- - abuild.in | 5 ++++- - 1 files changed, 4 insertions(+), 1 deletions(-) - -diff --git a/abuild.in b/abuild.in -index 551d759..22f50fd 100755 ---- a/abuild.in -+++ b/abuild.in -@@ -167,7 +167,10 @@ md5check() { - fi - fetch || return 1 - msg "Checking md5sums..." -- cd "$srcdir" && echo "$md5sums" | md5sum -c -+ cd "$srcdir" -+ if ! echo "$md5sums" | md5sum -c; then -+ cleancache && return 1 -+ fi - } - - # verify upstream sources --- -1.6.6.1 - diff --git a/main/abuild/0001-abuild-only-warn-when-we-think-there-should-have-bee.patch b/main/abuild/0001-abuild-only-warn-when-we-think-there-should-have-bee.patch deleted file mode 100644 index a2ca264b22..0000000000 --- a/main/abuild/0001-abuild-only-warn-when-we-think-there-should-have-bee.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 479cca4a44124b36f41872940adfb183597f40e7 Mon Sep 17 00:00:00 2001 -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Thu, 6 Jan 2011 20:21:33 +0000 -Subject: [PATCH] abuild: only warn when we think there should have been noarch - -and we dont want -dev packages to be noarch ---- - abuild.in | 12 ++++++++---- - 1 files changed, 8 insertions(+), 4 deletions(-) - -diff --git a/abuild.in b/abuild.in -index 904b1c3..0b602ca 100755 ---- a/abuild.in -+++ b/abuild.in -@@ -566,6 +566,11 @@ dir_has_arch_binaries() { - return 1 - } - -+# returns true if this is the -dev package -+is_dev_pkg() { -+ test "${subpkgname%-dev}" != "$subpkgname" -+} -+ - # check that noarch is set if needed - archcheck() { - options_has "!archcheck" && return 0 -@@ -573,10 +578,9 @@ archcheck() { - [ "$arch" != "noarch" ] && return 0 - error "Arch specific binaries found so arch must not be set to \"noarch\"" - return 1 -- else -- [ "$arch" = "noarch" ] && return 0 -- error "No arch specific binaries found so arch should be set to \"noarch\"" -- return 1 -+ elif [ "$arch" != "noarch" ] && ! is_dev_pkg; then -+ # we dont want -dev package go to noarch -+ warning "No arch specific binaries found so arch should probably be set to \"noarch\"" - fi - return 0 - } --- -1.7.3.4 - diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD index 598bd92a2e..e6efcd2ec4 100644 --- a/main/abuild/APKBUILD +++ b/main/abuild/APKBUILD @@ -1,13 +1,10 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgdesc="Script to build Alpine Packages" pkgname=abuild -pkgver=2.7.2 -pkgrel=2 +pkgver=2.7.3 +pkgrel=0 url=http://git.alpinelinux.org/cgit/abuild/ source="http://git.alpinelinux.org/cgit/abuild.git/snapshot/abuild-$pkgver.tar.bz2 - 0001-abuild-only-warn-when-we-think-there-should-have-bee.patch - enhanced-subpkgdesc.patch - 0001-Delete-downloaded-source-if-fails-md5sum.patch " depends="fakeroot file sudo pax-utils openssl apk-tools>=2.0.7-r1" makedepends="openssl-dev pkgconfig" @@ -40,7 +37,4 @@ package() { install -d -m 775 -g abuild "$pkgdir"/var/cache/distfiles } -md5sums="6b621f93e51faf19dc1edffbfaba67d1 abuild-2.7.2.tar.bz2 -865f1e53e76cb77abb356cd6bb5b9588 0001-abuild-only-warn-when-we-think-there-should-have-bee.patch -7fbc7dd27edae8cc5b2bc0a499aac8b6 enhanced-subpkgdesc.patch -29b02ad1d49939e4fe7ad6b022188992 0001-Delete-downloaded-source-if-fails-md5sum.patch" +md5sums="b1e1f1deb38311dbbe94eefaaa731872 abuild-2.7.3.tar.bz2" diff --git a/main/abuild/enhanced-subpkgdesc.patch b/main/abuild/enhanced-subpkgdesc.patch deleted file mode 100644 index 3bcc767251..0000000000 --- a/main/abuild/enhanced-subpkgdesc.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 0187915cc2caed5bfe5fbd1f41da003d9d691fa0 Mon Sep 17 00:00:00 2001 -From: William Pitcock <nenolod@dereferenced.org> -Date: Fri, 28 Jan 2011 00:46:43 +0000 -Subject: default_doc/default_dev: enhanced pkgdesc - ---- -diff --git a/abuild.in b/abuild.in -index 904b1c3..551d759 100755 ---- a/abuild.in -+++ b/abuild.in -@@ -757,7 +757,9 @@ default_doc() { - depends="$depends_doc" - install="$install_doc" - triggers="$triggers_doc" -+ pkgdesc="$pkgdesc (documentation)" - arch=${arch_doc:-"noarch"} -+ - local i - for i in doc man info html sgml licenses gtk-doc; do - if [ -d "$pkgdir/usr/share/$i" ]; then -@@ -806,6 +808,8 @@ default_dev() { - depends="$pkgname $depends_dev" - install="$install_dev" - triggers="$triggers_dev" -+ pkgdesc="$pkgdesc (development files)" -+ - for i in $origsubpackages; do - [ "${i%:*}" = "$subpkgname" ] || depends="$depends ${i%:*}" - done --- -cgit v0.8.3.3 diff --git a/main/acf-kamailio/APKBUILD b/main/acf-kamailio/APKBUILD index 62962f8c64..28c746a526 100644 --- a/main/acf-kamailio/APKBUILD +++ b/main/acf-kamailio/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Ted Trask <ttrask01@yahoo.com> # Maintainer: Ted Trask <ttrask01@yahoo.com> pkgname=acf-kamailio -pkgver=0.3.1 +pkgver=0.3.2 pkgrel=0 pkgdesc="A web-based system administration interface for kamailio" url="http://git.alpinelinux.org/cgit/acf-kamailio" @@ -20,4 +20,4 @@ package() { } -md5sums="3a5dee290865ad5266dd7d3f3c822e69 acf-kamailio-0.3.1.tar.bz2" +md5sums="8721b248bad1556949a7c8b9c6c03d08 acf-kamailio-0.3.2.tar.bz2" diff --git a/main/bitlbee/APKBUILD b/main/bitlbee/APKBUILD index 40dacb0c68..61a970c087 100644 --- a/main/bitlbee/APKBUILD +++ b/main/bitlbee/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> # Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> pkgname=bitlbee -pkgver=3.0.1 -pkgrel=3 +pkgver=3.0.2 +pkgrel=0 pkgdesc="An IRC to other chat networks gateway" url="http://www.bitlbee.org/" arch="all" @@ -52,7 +52,7 @@ otr() { mv "$pkgdir"/usr/lib/bitlbee "$subpkgdir"/usr/lib } -md5sums="4d00c6e09859b653f955b16b988db0ac bitlbee-3.0.1.tar.gz -1837acd53669d7590a13172d5653a24d bitlbee.initd +md5sums="214084bd2980047288d2c71c6b5052b7 bitlbee-3.0.2.tar.gz +6b3c70649ececec230d145b62778ad61 bitlbee.initd bf07d39a4b652c63415b411229c5e281 bitlbee.confd 2d91f7ae46d69560d7f156f282dceaef bitlbee.post-install" diff --git a/main/bitlbee/bitlbee.initd b/main/bitlbee/bitlbee.initd index 0bbd04871e..92bab34abd 100644 --- a/main/bitlbee/bitlbee.initd +++ b/main/bitlbee/bitlbee.initd @@ -21,7 +21,7 @@ start() { stop() { ebegin "Stopping ${name}" - start-stop-daemon --signal 15 --quiet \ + start-stop-daemon --stop --signal 9 --quiet \ --pidfile /var/run/$name.pid \ --exec ${daemon} eend $? diff --git a/main/boost/APKBUILD b/main/boost/APKBUILD index 0f69b2e344..eaa03a3200 100644 --- a/main/boost/APKBUILD +++ b/main/boost/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=boost -pkgver=1.45.0 +pkgver=1.46.0 _x=${pkgver%%.*} # strip .y.z _y=${pkgver%.*} # strip .z @@ -133,4 +133,4 @@ wave() { _mvlib wave; } wserialization() { _mvlib wserialization; } -md5sums="739792c98fafb95e7a6b5da23a30062c boost_1_45_0.tar.gz" +md5sums="820393d5746553c192db7b81ba0e53fe boost_1_46_0.tar.gz" diff --git a/main/busybox/APKBUILD b/main/busybox/APKBUILD index a4e9fa5ef8..109e639d21 100644 --- a/main/busybox/APKBUILD +++ b/main/busybox/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=busybox pkgver=1.18.3 -pkgrel=3 +pkgrel=4 pkgdesc="Size optimized toolbox of many common UNIX utilities" url=http://busybox.net arch="all" @@ -13,6 +13,8 @@ triggers="busybox.trigger:/bin /usr/bin /sbin /usr/sbin /lib/modules/*" source="http://busybox.net/downloads/$pkgname-$pkgver.tar.bz2 $pkgname-1.11.1-bb.patch busybox-uname-is-not-gnu.patch + busybox-1.18.3-buildsys.patch + busybox-1.18.3-klogd.patch busybox-1.18.3-wget.patch loginutils-sha512.patch busyboxconfig" @@ -75,6 +77,8 @@ static() { md5sums="660af4d44661d32b22025a66f4f78df2 busybox-1.18.3.tar.bz2 4c0f3b486eaa0674961b7ddcd0c60a9b busybox-1.11.1-bb.patch b5375210f13fd6e1ca61a565e8fabd35 busybox-uname-is-not-gnu.patch +1270a714d2ed9940f04379c97bb83cba busybox-1.18.3-buildsys.patch +f2277e7a31d04295bd9d56a98ff1535b busybox-1.18.3-klogd.patch abe065069fed8458eedbdad48c115e1f busybox-1.18.3-wget.patch d21d70d590e9e04bfc65ecb23b9d1617 loginutils-sha512.patch 181310149cad8fce22aba96220cbbd38 busyboxconfig" diff --git a/main/busybox/busybox-1.18.3-buildsys.patch b/main/busybox/busybox-1.18.3-buildsys.patch new file mode 100644 index 0000000000..330b73fbb8 --- /dev/null +++ b/main/busybox/busybox-1.18.3-buildsys.patch @@ -0,0 +1,10 @@ +--- busybox-1.18.3/Config.in ++++ busybox-1.18.3-buildsys/Config.in +@@ -126,7 +126,6 @@ config FEATURE_INSTALLER + config INSTALL_NO_USR + bool "Don't use /usr" + default n +- depends on FEATURE_INSTALLER + help + Disable use of /usr. busybox --install and "make install" + will install applets only to /bin and /sbin, diff --git a/main/busybox/busybox-1.18.3-klogd.patch b/main/busybox/busybox-1.18.3-klogd.patch new file mode 100644 index 0000000000..2272cd0030 --- /dev/null +++ b/main/busybox/busybox-1.18.3-klogd.patch @@ -0,0 +1,45 @@ +--- busybox-1.18.3/sysklogd/klogd.c ++++ busybox-1.18.3-klogd/sysklogd/klogd.c +@@ -150,12 +150,41 @@ int klogd_main(int argc UNUSED_PARAM, ch + */ + klogd_open(); + openlog("kernel", 0, LOG_KERN); ++ /* ++ * glibc problem: for some reason, glibc changes LOG_KERN to LOG_USER ++ * above. The logic behind this is that standard ++ * http://pubs.opengroup.org/onlinepubs/9699919799/functions/syslog.html ++ * says the following about openlog and syslog: ++ * "LOG_USER ++ * Messages generated by arbitrary processes. ++ * This is the default facility identifier if none is specified." ++ * ++ * I believe glibc misinterpreted this text as "if openlog's ++ * third parameter is 0 (=LOG_KERN), treat it as LOG_USER". ++ * Whereas it was meant to say "if *syslog* is called with facility ++ * 0 in its 1st parameter without prior call to openlog, then perform ++ * implicit openlog(LOG_USER)". ++ * ++ * As a result of this, eh, feature, standard klogd was forced ++ * to open-code its own openlog and syslog implementation (!). ++ * ++ * Note that prohibiting openlog(LOG_KERN) on libc level does not ++ * add any security: any process can open a socket to "/dev/log" ++ * and write a string "<0>Voila, a LOG_KERN + LOG_EMERG message" ++ * ++ * Google code search tells me there is no widespread use of ++ * openlog("foo", 0, 0), thus fixing glibc won't break userspace. ++ * ++ * The bug against glibc was filed: ++ * bugzilla.redhat.com/show_bug.cgi?id=547000 ++ */ + + if (i) + klogd_setloglevel(i); + +- bb_signals(BB_FATAL_SIGS, record_signo); + signal(SIGHUP, SIG_IGN); ++ /* We want klogd_read to not be restarted, thus _norestart: */ ++ bb_signals_recursive_norestart(BB_FATAL_SIGS, record_signo); + + syslog(LOG_NOTICE, "klogd started: %s", bb_banner); + diff --git a/main/bzr/APKBUILD b/main/bzr/APKBUILD new file mode 100644 index 0000000000..1b64dd8cab --- /dev/null +++ b/main/bzr/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=bzr +pkgver=2.3.0 +pkgrel=0 +pkgdesc="A scalable distributed SCM tool" +url="http://bazaar.canonical.com/" +arch="all" +license="GPL" +depends="python" +makedepends="python-dev" +subpackages="$pkgname-doc" +source="http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz" + +build() { + cd "$srcdir"/$pkgname-$pkgver + python setup.py build +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + python setup.py install --root="$pkgdir" || return 1 +} + +doc() { + mkdir -p "$subpkgdir"/usr/share + mv "$pkgdir"/usr/man "$subpkgdir"/usr/share/man +} + +md5sums="2d8bc55d43209189a209361178d9d372 bzr-2.3.0.tar.gz" diff --git a/main/dovecot/APKBUILD b/main/dovecot/APKBUILD index da9b7a8ddb..22414ed042 100644 --- a/main/dovecot/APKBUILD +++ b/main/dovecot/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dovecot -pkgver=2.0.9 -pkgrel=1 +pkgver=2.0.11 +pkgrel=0 pkgdesc="IMAP and POP3 server" url="http://www.dovecot.org/" arch="all" @@ -96,7 +96,7 @@ config() { mkdir -p "$subpkgdir"/etc/dovecot/conf.d } -md5sums="3a8692ba9e6f680436f6e44f6f6795f1 dovecot-2.0.9.tar.gz +md5sums="088a850d6583a7ec0a8074ce929b3496 dovecot-2.0.11.tar.gz aec5cc797ab2acf72ce3b6bb1030345f dovecot.logrotate c58b474dca20e6e60fa4f1f5b9c726e1 dovecot.initd 95cf57ecc835882228bbbb019ce3abf8 dovecot-sample-config.post-install" diff --git a/main/firefox/APKBUILD b/main/firefox/APKBUILD index 208c28a712..5423c19501 100644 --- a/main/firefox/APKBUILD +++ b/main/firefox/APKBUILD @@ -1,7 +1,7 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=firefox -pkgver=3.6.14 +pkgver=3.6.15 _xulver=1.9.2.14 pkgrel=2 pkgdesc="firefox web browser (unofficial branding)" @@ -86,7 +86,7 @@ package() { install -m644 ${srcdir}/firefox-safe.desktop ${pkgdir}/usr/share/applications/firefox-safe.desktop } -md5sums="ab0d00cd33e6b2388429dda1c01abd01 firefox-3.6.14.source.tar.bz2 +md5sums="fcf8042948d91f1f3d9c33599b79cf35 firefox-3.6.15.source.tar.bz2 7938f0054456f3767d2427dff137ab34 mozconfig f437e94acff8f810991271ef4677d859 firefox-agent.patch 1807651225b021e043154f8bba715a19 firefox-defaults.patch diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD index 3ccfd40477..46072d6af7 100644 --- a/main/gcc/APKBUILD +++ b/main/gcc/APKBUILD @@ -7,7 +7,7 @@ _specs_gcc_ver=4.4.3 _uclibc_abiver=0.9.32 -pkgrel=4 +pkgrel=6 pkgdesc="The GNU Compiler Collection" url="http://gcc.gnu.org" arch="all" diff --git a/main/gtk-xfce-engine/APKBUILD b/main/gtk-xfce-engine/APKBUILD index 69985ba4d9..cd9fb1b880 100644 --- a/main/gtk-xfce-engine/APKBUILD +++ b/main/gtk-xfce-engine/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gtk-xfce-engine -pkgver=2.8.0 +pkgver=2.8.1 pkgrel=0 pkgdesc="A port of Xfce engine to GTK+-2.0" url="http://www.xfce.org/" @@ -25,4 +25,4 @@ package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="195f4dc2e6632143ca9ca6bd17ca4680 gtk-xfce-engine-2.8.0.tar.bz2" +md5sums="8a6527b61b0554cda11d06f66a567314 gtk-xfce-engine-2.8.1.tar.bz2" diff --git a/main/libc0.9.32/1.patch b/main/libc0.9.32/1.patch deleted file mode 100644 index 49a43df0a3..0000000000 --- a/main/libc0.9.32/1.patch +++ /dev/null @@ -1,41 +0,0 @@ -From ca7ec3c7b1a65070d9abbf2414b6a2f24917d863 Mon Sep 17 00:00:00 2001 -From: William Pitcock <nenolod@dereferenced.org> -Date: Wed, 20 Oct 2010 09:41:31 -0500 -Subject: [PATCH 1/2] libc: Fix build with stack protector enabled on x86_64. - -The code used HIDDEN_JUMPTARGET() but these symbols aren't aliased. -So we just replace that with __chk_fail@PLT. ---- - libc/string/x86_64/memcpy.S | 2 +- - libc/string/x86_64/memset.S | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/libc/string/x86_64/memcpy.S b/libc/string/x86_64/memcpy.S -index 6d941e0..f8b9e23 100644 ---- a/libc/string/x86_64/memcpy.S -+++ b/libc/string/x86_64/memcpy.S -@@ -30,7 +30,7 @@ - ENTRY (__memcpy_chk) - cmpq %rdx, %rcx - #if defined __UCLIBC_HAS_SSP__ -- jb HIDDEN_JUMPTARGET (__chk_fail) -+ jb __chk_fail@PLT - #endif - END (__memcpy_chk) - #endif -diff --git a/libc/string/x86_64/memset.S b/libc/string/x86_64/memset.S -index df265f3..38744cf 100644 ---- a/libc/string/x86_64/memset.S -+++ b/libc/string/x86_64/memset.S -@@ -33,7 +33,7 @@ - ENTRY (__memset_chk) - cmpq %rdx, %rcx - #if defined __UCLIBC_HAS_SSP__ -- jb HIDDEN_JUMPTARGET (__chk_fail) -+ jb __chk_fail@PLT - #endif - END (__memset_chk) - #endif --- -1.7.2.1 - diff --git a/main/libc0.9.32/2.patch b/main/libc0.9.32/2.patch deleted file mode 100644 index 57064f5454..0000000000 --- a/main/libc0.9.32/2.patch +++ /dev/null @@ -1,110 +0,0 @@ -From 1560d8c409c802ea06ecb921fcc5a534b70d32d7 Mon Sep 17 00:00:00 2001 -From: William Pitcock <nenolod@dereferenced.org> -Date: Wed, 20 Oct 2010 09:48:33 -0500 -Subject: [PATCH 2/2] libpthread: Fix compilation on x86_64. - ---- - .../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S | 2 +- - .../unix/sysv/linux/x86_64/lowlevelrobustlock.S | 2 +- - .../sysv/linux/x86_64/pthread_cond_timedwait.S | 10 +--------- - .../sysv/linux/x86_64/pthread_rwlock_timedrdlock.S | 2 +- - .../sysv/linux/x86_64/pthread_rwlock_timedwrlock.S | 2 +- - .../sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S | 2 +- - 6 files changed, 6 insertions(+), 14 deletions(-) - -diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S -index f875323..5f1d11e 100644 ---- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S -+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S -@@ -163,7 +163,7 @@ __lll_timedlock_wait: - cfi_startproc - # ifndef __ASSUME_FUTEX_CLOCK_REALTIME - # ifdef __PIC__ -- cmpl $0, __have_futex_clock_realtime(%rip) -+ cmpl $0, __have_futex_clock_realtime@PLT - # else - cmpl $0, __have_futex_clock_realtime - # endif -diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S -index 2eb8e29..bfd9a14 100644 ---- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S -+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S -@@ -118,7 +118,7 @@ __lll_robust_timedlock_wait: - cfi_startproc - # ifndef __ASSUME_FUTEX_CLOCK_REALTIME - # ifdef __PIC__ -- cmpl $0, __have_futex_clock_realtime(%rip) -+ cmpl $0, __have_futex_clock_realtime@PLT - # else - cmpl $0, __have_futex_clock_realtime - # endif -diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S -index 3a965ad..787298d 100644 ---- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S -+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S -@@ -98,7 +98,7 @@ __pthread_cond_timedwait: - 22: - #ifndef __ASSUME_FUTEX_CLOCK_REALTIME - # ifdef __PIC__ -- cmpl $0, __have_futex_clock_realtime(%rip) -+ cmpl $0, __have_futex_clock_realtime@PLT - # else - cmpl $0, __have_futex_clock_realtime - # endif -@@ -437,14 +437,6 @@ __pthread_cond_timedwait: - /* Only clocks 0 and 1 are allowed so far. Both are handled in the - kernel. */ - leaq 32(%rsp), %rsi --# ifdef SHARED -- movq __vdso_clock_gettime@GOTPCREL(%rip), %rax -- movq (%rax), %rax -- PTR_DEMANGLE (%rax) -- jz 26f -- call *%rax -- jmp 27f --# endif - 26: movl $__NR_clock_gettime, %eax - syscall - 27: -diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S -index 3629ffb..5329ddd 100644 ---- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S -+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S -@@ -96,7 +96,7 @@ pthread_rwlock_timedrdlock: - 11: - #ifndef __ASSUME_FUTEX_CLOCK_REALTIME - # ifdef __PIC__ -- cmpl $0, __have_futex_clock_realtime(%rip) -+ cmpl $0, __have_futex_clock_realtime@PLT - # else - cmpl $0, __have_futex_clock_realtime - # endif -diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S -index 23e1ee1..e31c014 100644 ---- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S -+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S -@@ -93,7 +93,7 @@ pthread_rwlock_timedwrlock: - 11: - #ifndef __ASSUME_FUTEX_CLOCK_REALTIME - # ifdef __PIC__ -- cmpl $0, __have_futex_clock_realtime(%rip) -+ cmpl $0, __have_futex_clock_realtime@PLT - # else - cmpl $0, __have_futex_clock_realtime - # endif -diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S -index 704a222..7dfc788 100644 ---- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S -+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S -@@ -61,7 +61,7 @@ sem_timedwait: - - #ifndef __ASSUME_FUTEX_CLOCK_REALTIME - # ifdef __PIC__ -- cmpl $0, __have_futex_clock_realtime(%rip) -+ cmpl $0, __have_futex_clock_realtime@PLT - # else - cmpl $0, __have_futex_clock_realtime - # endif --- -1.7.2.1 - diff --git a/main/libc0.9.32/APKBUILD b/main/libc0.9.32/APKBUILD index 1b21d2ee41..7e5d8d82a3 100644 --- a/main/libc0.9.32/APKBUILD +++ b/main/libc0.9.32/APKBUILD @@ -4,7 +4,7 @@ pkgname=libc$_abiver _gitver= pkgver=0.9.32_rc2 _ver=${pkgver/_/-} -pkgrel=1 +pkgrel=2 pkgdesc="C library for developing embedded Linux systems" url=http://uclibc.org license="LGPL-2" @@ -20,8 +20,8 @@ _snapurl="http://git.uclibc.org/uClibc/snapshot/master.tar.bz2" _snapfile="$pkgname-$pkgver.tar.bz2" source="http://uclibc.org/downloads/uClibc-${_ver}.tar.bz2 compat-stack-guard.patch - 1.patch - 2.patch + ssp.patch + pthread.patch 0001-libm-x86_64-implement-fesetround.patch arm-nptl-tls.patch uclibcconfig.x86 @@ -120,8 +120,8 @@ libthread_db() { md5sums="c8d2cd2c4dbcf5218b6db843cf66ac0f uClibc-0.9.32-rc2.tar.bz2 4d408f72142ce55a0754948cc9cfe447 compat-stack-guard.patch -8f55efc31c41bf70d99006a7d2f7fe1e 1.patch -350a608e3d3b148af882f6e074225465 2.patch +6401044fb02f80c5e50a568d2948a5d7 ssp.patch +c92ab246b4f92487c98938a297208829 pthread.patch e0c901502602f7e9e002d910d0f32ab9 0001-libm-x86_64-implement-fesetround.patch 2b4e27207b15e2d4b3e9b853513634f6 arm-nptl-tls.patch 145aaeb1833159397cfac9902e3877ab uclibcconfig.x86 diff --git a/main/libc0.9.32/pthread.patch b/main/libc0.9.32/pthread.patch new file mode 100644 index 0000000000..47f99b217d --- /dev/null +++ b/main/libc0.9.32/pthread.patch @@ -0,0 +1,81 @@ +--- uClibc-0.9.32-rc2.orig/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S ++++ uClibc-0.9.32-rc2/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S +@@ -163,7 +163,7 @@ + cfi_startproc + # ifndef __ASSUME_FUTEX_CLOCK_REALTIME + # ifdef __PIC__ +- cmpl $0, __have_futex_clock_realtime(%rip) ++ cmpl $0, __have_futex_clock_realtime@GOTOFF(%rip) + # else + cmpl $0, __have_futex_clock_realtime + # endif +--- uClibc-0.9.32-rc2.orig/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S ++++ uClibc-0.9.32-rc2/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S +@@ -118,7 +118,7 @@ + cfi_startproc + # ifndef __ASSUME_FUTEX_CLOCK_REALTIME + # ifdef __PIC__ +- cmpl $0, __have_futex_clock_realtime(%rip) ++ cmpl $0, __have_futex_clock_realtime@GOTOFF(%rip) + # else + cmpl $0, __have_futex_clock_realtime + # endif +--- uClibc-0.9.32-rc2.orig/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S ++++ uClibc-0.9.32-rc2/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S +@@ -98,7 +98,7 @@ + 22: + #ifndef __ASSUME_FUTEX_CLOCK_REALTIME + # ifdef __PIC__ +- cmpl $0, __have_futex_clock_realtime(%rip) ++ cmpl $0, __have_futex_clock_realtime@GOTOFF(%rip) + # else + cmpl $0, __have_futex_clock_realtime + # endif +@@ -437,14 +437,6 @@ + /* Only clocks 0 and 1 are allowed so far. Both are handled in the + kernel. */ + leaq 32(%rsp), %rsi +-# ifdef SHARED +- movq __vdso_clock_gettime@GOTPCREL(%rip), %rax +- movq (%rax), %rax +- PTR_DEMANGLE (%rax) +- jz 26f +- call *%rax +- jmp 27f +-# endif + 26: movl $__NR_clock_gettime, %eax + syscall + 27: +--- uClibc-0.9.32-rc2.orig/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S ++++ uClibc-0.9.32-rc2/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S +@@ -96,7 +96,7 @@ + 11: + #ifndef __ASSUME_FUTEX_CLOCK_REALTIME + # ifdef __PIC__ +- cmpl $0, __have_futex_clock_realtime(%rip) ++ cmpl $0, __have_futex_clock_realtime@GOTOFF(%rip) + # else + cmpl $0, __have_futex_clock_realtime + # endif +--- uClibc-0.9.32-rc2.orig/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S ++++ uClibc-0.9.32-rc2/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S +@@ -93,7 +93,7 @@ + 11: + #ifndef __ASSUME_FUTEX_CLOCK_REALTIME + # ifdef __PIC__ +- cmpl $0, __have_futex_clock_realtime(%rip) ++ cmpl $0, __have_futex_clock_realtime@GOTOFF(%rip) + # else + cmpl $0, __have_futex_clock_realtime + # endif +--- uClibc-0.9.32-rc2.orig/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S ++++ uClibc-0.9.32-rc2/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S +@@ -61,7 +61,7 @@ + + #ifndef __ASSUME_FUTEX_CLOCK_REALTIME + # ifdef __PIC__ +- cmpl $0, __have_futex_clock_realtime(%rip) ++ cmpl $0, __have_futex_clock_realtime@GOTOFF(%rip) + # else + cmpl $0, __have_futex_clock_realtime + # endif diff --git a/main/libc0.9.32/ssp.patch b/main/libc0.9.32/ssp.patch new file mode 100644 index 0000000000..f0f75a7d85 --- /dev/null +++ b/main/libc0.9.32/ssp.patch @@ -0,0 +1,27 @@ +--- uClibc-0.9.32-rc2/libc/sysdeps/linux/common/ssp.c ++++ uClibc-0.9.32-rc2.mod/libc/sysdeps/linux/common/ssp.c +@@ -86,6 +86,7 @@ + } + + void __stack_chk_fail(void) attribute_noreturn __cold; ++libc_hidden_proto(__stack_chk_fail) + void __stack_chk_fail(void) + { + static const char msg1[] = "stack smashing detected: "; +@@ -99,8 +100,10 @@ + while(1) + terminate(); + } ++libc_hidden_def(__stack_chk_fail) + + void __chk_fail(void) attribute_noreturn; ++libc_hidden_proto(__chk_fail) + void __chk_fail(void) + { + static const char msg1[] = "buffer overflow detected: "; +@@ -114,4 +117,5 @@ + while(1) + terminate(); + } ++libc_hidden_def(__chk_fail) + diff --git a/main/libmicrohttpd/APKBUILD b/main/libmicrohttpd/APKBUILD index 07a0355e4d..829a7ff5c3 100644 --- a/main/libmicrohttpd/APKBUILD +++ b/main/libmicrohttpd/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Carlo Landmeter # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libmicrohttpd -pkgver=0.9.7 +pkgver=0.9.8 pkgrel=0 pkgdesc="a small C library that is supposed to make it easy to run an HTTP server as part of another application." url="http://www.gnu.org/software/libmicrohttpd/" @@ -42,4 +42,4 @@ package() { "$pkgdir"/usr/include/plibc.h } -md5sums="a16b50a7167fd4e64b67e182a3d9a7c2 libmicrohttpd-0.9.7.tar.gz" +md5sums="888f9d852a4a9d26ba1a63d1c7ce915e libmicrohttpd-0.9.8.tar.gz" diff --git a/testing/libnih/APKBUILD b/main/libnih/APKBUILD index 18de63cf31..18de63cf31 100644 --- a/testing/libnih/APKBUILD +++ b/main/libnih/APKBUILD diff --git a/main/lighttpd/APKBUILD b/main/lighttpd/APKBUILD index 584341b1ac..e5917ba62e 100644 --- a/main/lighttpd/APKBUILD +++ b/main/lighttpd/APKBUILD @@ -2,7 +2,7 @@ pkgname=lighttpd pkgver=1.4.28 _streamver=2.2.0 -pkgrel=5 +pkgrel=6 pkgdesc="a secure, fast, compliant and very flexible web-server" url="http://www.lighttpd.net/" arch="all" @@ -10,7 +10,7 @@ license="custom" install="$pkgname.pre-install $pkgname.post-install" depends= makedepends="flex pcre-dev openssl-dev zlib-dev bzip2-dev lua-dev pkgconfig - automake autoconf" + automake autoconf openldap-dev" source="http://download.lighttpd.net/lighttpd/releases-1.4.x/$pkgname-$pkgver.tar.bz2 http://h264.code-shop.com/download/lighttpd-1.4.18_mod_h264_streaming-$_streamver.tar.gz $pkgname.initd @@ -51,7 +51,6 @@ build() { --enable-lfs \ --libdir=/usr/lib/lighttpd \ --without-mysql \ - --without-ldap \ --without-attr \ --without-kerberos5 \ --without-fam \ @@ -60,6 +59,7 @@ build() { --without-gdbm \ --without-memcache \ --with-bzip2 \ + --with-ldap \ --with-openssl \ --with-lua || return 1 diff --git a/main/linux-grsec/APKBUILD b/main/linux-grsec/APKBUILD index 58811b2877..9a8bf7df3d 100644 --- a/main/linux-grsec/APKBUILD +++ b/main/linux-grsec/APKBUILD @@ -4,7 +4,7 @@ _flavor=grsec pkgname=linux-${_flavor} pkgver=2.6.37.2 _kernver=2.6.37 -pkgrel=2 +pkgrel=3 pkgdesc="Linux kernel with grsecurity" url=http://grsecurity.net depends="mkinitfs linux-firmware" @@ -149,4 +149,4 @@ bb5798f2a2a5af13219d1a250c4dad11 patch-2.6.37.2.bz2 ea7a7eb2775b71ae5ef24d029a4905bd xfrm-fix-gre-key-endianess.patch 776adeeb5272093574f8836c5037dd7d 0004-arp-flush-arp-cache-on-device-change.patch 9d6679f515c2232cb1e3eea6dd22d867 kernelconfig.x86 -b72e1345ceddbe2d0d9de35e342b336d kernelconfig.x86_64" +4e2dd7974084ef158da769018df91d68 kernelconfig.x86_64" diff --git a/main/linux-grsec/kernelconfig.x86_64 b/main/linux-grsec/kernelconfig.x86_64 index e63003cdc3..4b3c528f6d 100644 --- a/main/linux-grsec/kernelconfig.x86_64 +++ b/main/linux-grsec/kernelconfig.x86_64 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Linux/x86_64 2.6.37 Kernel Configuration -# Thu Feb 24 23:45:57 2011 +# Linux/x86_64 2.6.37.2 Kernel Configuration +# Fri Mar 4 17:06:10 2011 # CONFIG_64BIT=y # CONFIG_X86_32 is not set @@ -116,14 +116,19 @@ CONFIG_LOG_BUF_SHIFT=14 CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y CONFIG_CGROUPS=y # CONFIG_CGROUP_DEBUG is not set -# CONFIG_CGROUP_NS is not set -# CONFIG_CGROUP_FREEZER is not set -# CONFIG_CGROUP_DEVICE is not set -# CONFIG_CPUSETS is not set -# CONFIG_CGROUP_CPUACCT is not set -# CONFIG_RESOURCE_COUNTERS is not set -# CONFIG_CGROUP_SCHED is not set -# CONFIG_BLK_CGROUP is not set +CONFIG_CGROUP_NS=y +CONFIG_CGROUP_FREEZER=y +CONFIG_CGROUP_DEVICE=y +CONFIG_CPUSETS=y +# CONFIG_PROC_PID_CPUSET is not set +CONFIG_CGROUP_CPUACCT=y +CONFIG_RESOURCE_COUNTERS=y +# CONFIG_CGROUP_MEM_RES_CTLR is not set +CONFIG_CGROUP_SCHED=y +CONFIG_FAIR_GROUP_SCHED=y +CONFIG_RT_GROUP_SCHED=y +CONFIG_BLK_CGROUP=y +# CONFIG_DEBUG_BLK_CGROUP is not set CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_IPC_NS=y @@ -214,6 +219,7 @@ CONFIG_STOP_MACHINE=y CONFIG_BLOCK=y CONFIG_BLK_DEV_BSG=y # CONFIG_BLK_DEV_INTEGRITY is not set +# CONFIG_BLK_DEV_THROTTLING is not set CONFIG_BLOCK_COMPAT=y # @@ -222,6 +228,7 @@ CONFIG_BLOCK_COMPAT=y CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_DEADLINE=m CONFIG_IOSCHED_CFQ=y +# CONFIG_CFQ_GROUP_IOSCHED is not set CONFIG_DEFAULT_CFQ=y # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="cfq" @@ -2435,7 +2442,7 @@ CONFIG_SERIAL_ALTERA_UART=m CONFIG_SERIAL_ALTERA_UART_MAXPORTS=4 CONFIG_SERIAL_ALTERA_UART_BAUDRATE=115200 CONFIG_UNIX98_PTYS=y -# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set +CONFIG_DEVPTS_MULTIPLE_INSTANCES=y # CONFIG_LEGACY_PTYS is not set # CONFIG_TTY_PRINTK is not set CONFIG_PRINTER=m diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD index ea0d99d298..b0ade140cd 100644 --- a/main/mkinitfs/APKBUILD +++ b/main/mkinitfs/APKBUILD @@ -1,14 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mkinitfs -pkgver=2.3.0 -pkgrel=2 +pkgver=2.3.1 +pkgrel=0 pkgdesc="Tool to generate initramfs images for Alpine" url=http://git.alpinelinux.org/cgit/mkinitfs depends="busybox apk-tools>=2.0" triggers="$pkgname.trigger:/usr/share/kernel/*" source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2 eglibc.patch - xen-domU.patch " arch="all" license="GPL-2" @@ -43,6 +42,5 @@ package() { cd "$srcdir"/$pkgname-$pkgver make install DESTDIR="$pkgdir" || return 1 } -md5sums="fb53ace85fc7d1980bc19cb258ed00c4 mkinitfs-2.3.0.tar.bz2 -e59c2f7de496fe430b07e32fd812ebe0 eglibc.patch -e9fedfe527aa5313516585c4b5042c79 xen-domU.patch" +md5sums="9062a151c30154b957edbcc65f7e42a6 mkinitfs-2.3.1.tar.bz2 +e59c2f7de496fe430b07e32fd812ebe0 eglibc.patch" diff --git a/main/mkinitfs/xen-domU.patch b/main/mkinitfs/xen-domU.patch deleted file mode 100644 index 56b8b2b231..0000000000 --- a/main/mkinitfs/xen-domU.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- mkinitfs-2.3.0.orig/Makefile -+++ mkinitfs-2.3.0/Makefile -@@ -16,6 +16,7 @@ - modules.d/ext3 \ - modules.d/ext4 \ - modules.d/floppy \ -+ modules.d/jfs \ - modules.d/lvm \ - modules.d/raid \ - modules.d/reiserfs \ -@@ -23,9 +24,11 @@ - modules.d/ubifs \ - modules.d/usb \ - modules.d/xfs \ -+ modules.d/xen \ - files.d/bootchart \ - files.d/base \ -- files.d/lvm -+ files.d/lvm \ -+ files.d/xen - - SCRIPTS := $(SBIN_FILES) initramfs-init - IN_FILES := $(addsuffix .in,$(SCRIPTS)) ---- /dev/null -+++ mkinitfs-2.3.0/files.d/xen -@@ -0,0 +1,2 @@ -+/dev/xvd[a-z]* -+ ---- /dev/null -+++ mkinitfs-2.3.0/modules.d/jfs -@@ -0,0 +1 @@ -+kernel/fs/jfs ---- /dev/null -+++ mkinitfs-2.3.0/modules.d/xen -@@ -0,0 +1,3 @@ -+kernel/drivers/xen -+kernel/drivers/block/xen-blkfront.ko -+ diff --git a/main/open-vm-tools-grsec/APKBUILD b/main/open-vm-tools-grsec/APKBUILD index 38d9246461..434af575f7 100644 --- a/main/open-vm-tools-grsec/APKBUILD +++ b/main/open-vm-tools-grsec/APKBUILD @@ -1,21 +1,24 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> _flavor=grsec +_realname=open-vm-tools +_realver=2011.02.23 +_realsubver=368700 # source the kernel version if [ -f ../../main/linux-${_flavor}/APKBUILD ]; then . ../../main/linux-${_flavor}/APKBUILD fi +_kver=$pkgver _kernelver="$pkgver-r$pkgrel" _abi_release=${pkgver}-${_flavor} _kpkgrel=$pkgrel -_realname=open-vm-tools +pkgname="$_realname-$_flavor" +pkgver=$_kver +_mypkgrel=0 +pkgrel=$(($_kpkgrel + $_mypkgrel)) -pkgname=open-vm-tools-$_flavor -pkgver=2011.01.24 -_pkgsubver=354108 -pkgrel=2 pkgdesc="The Open Virtual Machine Tools are the open source implementation of VMware Tools." url="http://open-vm-tools.sourceforge.net/" arch="all" @@ -23,11 +26,11 @@ license="LGPL" subpackages="" depends="linux-${_flavor}=${_kernelver}" makedepends="glib-dev gettext-dev linux-${_flavor}-dev=${_kernelver}" -source="http://downloads.sourceforge.net/open-vm-tools/open-vm-tools-$pkgver-$_pkgsubver.tar.gz +source="http://downloads.sourceforge.net/open-vm-tools/open-vm-tools-$_realver-$_realsubver.tar.gz vmware-modules.initd " -_builddir="$srcdir/$_realname-$pkgver-$_pkgsubver" +_builddir="$srcdir/$_realname-$_realver-$_realsubver" prepare() { cd "$_builddir" @@ -57,5 +60,5 @@ package() { done } -md5sums="b324efa55bb3f1198100cad838e9272b open-vm-tools-2011.01.24-354108.tar.gz +md5sums="488601e384daeab2c6ffd81e1a95cad7 open-vm-tools-2011.02.23-368700.tar.gz f16058de6e4251a509f87017f1684887 vmware-modules.initd" diff --git a/main/open-vm-tools/APKBUILD b/main/open-vm-tools/APKBUILD index fb84dc2a7a..8b4b232304 100644 --- a/main/open-vm-tools/APKBUILD +++ b/main/open-vm-tools/APKBUILD @@ -1,8 +1,8 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=open-vm-tools -pkgver=2011.01.24 -_pkgsubver=354108 -pkgrel=3 +pkgver=2011.02.23 +_pkgsubver=368700 +pkgrel=0 pkgdesc="The Open Virtual Machine Tools are the open source implementation of VMware Tools." url="http://open-vm-tools.sourceforge.net/" arch="all" @@ -22,7 +22,6 @@ source="http://downloads.sourceforge.net/open-vm-tools/open-vm-tools-$pkgver-$_p libm.patch open-vm-tools.initd procmgrposix.patch - open-vm-tools.desktop " _builddir="$srcdir"/$pkgname-$pkgver-$_pkgsubver @@ -49,6 +48,7 @@ prepare() { build() { cd "$_builddir" ./configure --prefix=/usr \ + --sysconfdir=/etc \ --disable-unity \ --with-dnet \ --with-icu \ @@ -68,11 +68,6 @@ package() { # create a link to abuild gets happy ln -s open-vm-tools/plugins/vmsvc/libhgfsServer.so \ "$pkgdir"/usr/lib/libhgfsServer.so.0 - - # dont bother create a -dev package - rm -f "$pkgdir"/usr/lib/*.a "$pkgdir"/usr/lib/*.la - install -Dm644 "$srcdir"/open-vm-tools.desktop \ - "$pkgdir"/etc/xdg/open-vm-tools.desktop install -Dm755 "$srcdir"/open-vm-tools.initd \ "$pkgdir"/etc/init.d/open-vm-tools } @@ -83,20 +78,18 @@ gtk() { "$subpkgdir"/usr/lib/open-vm-tools/plugins \ "$subpkgdir"/etc/ mv "$pkgdir"/usr/bin/vmware-toolbox \ - "$pkgdir"/usr/bin/vmware-user \ + "$pkgdir"/usr/bin/vmware-user-suid-wrapper \ "$subpkgdir"/usr/bin/ mv "$pkgdir"/etc/xdg "$subpkgdir"/etc/ mv "$pkgdir"/usr/lib/open-vm-tools/plugins/vmusr \ "$subpkgdir"/usr/lib/open-vm-tools/plugins/ - } -md5sums="b324efa55bb3f1198100cad838e9272b open-vm-tools-2011.01.24-354108.tar.gz +md5sums="488601e384daeab2c6ffd81e1a95cad7 open-vm-tools-2011.02.23-368700.tar.gz 49e2e394d0b567fa71fcd295e96bc1c8 getloadavg-uclibc.patch 82840b6bed002284b9bd2358707ee826 codeset-uclibc.patch 840e4d6ff3f53fc22bdedf4d64aabc91 ecvt.patch 89c7449323ddac4666b73a8467baf95a iconv-uclibc.patch 7d02fc25aba5c248f3d98dac238f175b libm.patch c96644aa42d611fae853a3a2095efc47 open-vm-tools.initd -7b833102a56009bdfc2fef2fb9ffa297 procmgrposix.patch -8e6ba9470663eea7ecdd7135a883e016 open-vm-tools.desktop" +7b833102a56009bdfc2fef2fb9ffa297 procmgrposix.patch" diff --git a/main/open-vm-tools/open-vm-tools.desktop b/main/open-vm-tools/open-vm-tools.desktop deleted file mode 100644 index 2107a62e0b..0000000000 --- a/main/open-vm-tools/open-vm-tools.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=Application -Exec=vmware-user -Name=VMware User Agent -X-KDE-autostart-phase=1 -NoDisplay=true diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD index 6941c18267..f3c519e81f 100644 --- a/main/openldap/APKBUILD +++ b/main/openldap/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=openldap pkgver=2.4.24 -pkgrel=2 +pkgrel=3 pkgdesc="LDAP Server" url="http://www.openldap.org/" arch="all" @@ -73,6 +73,8 @@ package() { install -Dm755 ../slapd.initd "$pkgdir"/etc/init.d/slapd install -Dm755 ../slapd.confd "$pkgdir"/etc/conf.d/slapd install -Dm755 ../slurpd.initd "$pkgdir"/etc/init.d/slurpd + # FIXME: symlinks in sbin are symlinked to /usr/lib/slapd + ln -s /usr/sbin/slapd "$pkgdir"/usr/lib/slapd } libldap() { diff --git a/main/php/APKBUILD b/main/php/APKBUILD index b4146be14d..a7944d459d 100644 --- a/main/php/APKBUILD +++ b/main/php/APKBUILD @@ -3,12 +3,12 @@ pkgname=php pkgver=5.3.5 _suhosinver=5.3.4-0.9.10 -pkgrel=6 +pkgrel=7 pkgdesc="The PHP language runtime engine" url="http://www.php.net/" arch="all" license="PHP-3" -depends="$pkgname-common $pkgname-cgi" +depends="$pkgname-cgi" install="$pkgname.post-upgrade" makedepends="pcre-dev libxml2-dev libiconv-dev openssl-dev zlib-dev bzip2-dev curl-dev libpng-dev jpeg-dev freetype-dev libmcrypt-dev mysql-dev @@ -71,7 +71,6 @@ source="http://www.php.net/distributions/${pkgname}-${pkgver}.tar.bz2 suhosin-patch-5.3.4-0.9.10.patch php-fpm.init php5-module.conf - $install " _apiver="20090626" @@ -95,6 +94,17 @@ prepare() { fi } +_do_build() { + local _flavor="$1" + shift + local _builddir="$srcdir"/build-$_flavor + mkdir -p "$_builddir" + cd "$_builddir" + "$_srcdir"/configure $@ || return 1 + sed -ri "s/^(EXTRA_LDFLAGS[ ]*\=.*)/\1 -lpthread/" Makefile # see #183 + make || return 1 +} + build() { _phpconfig="--build=${CHOST:-i486-alpine-linux-uclibc} \ --prefix=/usr \ @@ -108,8 +118,7 @@ build() { --disable-static \ --enable-shared \ --mandir=/usr/share/man \ - --with-pic \ - --without-pear \ + --with-pic " _phpextensions="--enable-bcmath=shared \ @@ -174,85 +183,86 @@ build() { --without-db3 \ --without-qdbm \ " -# --with-enchant=shared,/usr \ -# --with-tidy=shared \ - # cgi and fcgi - cp -a "$srcdir"/$pkgname-$pkgver "$srcdir"/$pkgname-cgi - cd "$srcdir"/$pkgname-cgi - ./configure ${_phpconfig} \ + # cgi, fcgi, cli, pear and extensions + _do_build cgi \ + ${_phpconfig} \ --disable-cli \ --enable-cgi \ - ${_phpextensions} - sed -ri "s/^(EXTRA_LDFLAGS[ ]*\=.*)/\1 -lpthread/" Makefile # see #183 - make || return 1 + --enable-cli \ + --with-pcntl \ + --with-pear \ + ${_phpextensions} \ + || return 1 # fpm - cp -a "$srcdir"/$pkgname-cgi "$srcdir"/$pkgname-fpm - cd "$srcdir"/$pkgname-fpm - ./configure ${_phpconfig} \ + cp -a "$srcdir"/build-cgi "$srcdir"/build-fpm + _do_build fpm \ + ${_phpconfig} \ --disable-cli \ --enable-fpm \ - ${_phpextensions} - sed -ri "s/^(EXTRA_LDFLAGS[ ]*\=.*)/\1 -lpthread/" Makefile # see #183 - make || return 1 + ${_phpextensions} \ + || return 1 # apache2 - cp -a "$srcdir"/$pkgname-cgi "$srcdir"/$pkgname-apache2 - cd "$srcdir"/$pkgname-apache2 - ./configure ${_phpconfig} \ + cp -a "$srcdir"/build-cgi "$srcdir"/build-apache2 + _do_build apache2 \ + ${_phpconfig} \ --disable-cli \ --with-apxs2 \ - ${_phpextensions} - sed -ri "s/^(EXTRA_LDFLAGS[ ]*\=.*)/\1 -lpthread/" Makefile # see #183 - make || return 1 + ${_phpextensions} \ + || return 1 # embed - cp -a "$srcdir"/$pkgname-cgi "$srcdir"/$pkgname-embed - cd "$srcdir"/$pkgname-embed - ./configure ${_phpconfig} \ + cp -a "$srcdir"/build-cgi "$srcdir"/build-embed + _do_build embed \ + ${_phpconfig} \ --disable-cli \ --enable-embed=shared \ - ${_phpextensions} - sed -ri "s/^(EXTRA_LDFLAGS[ ]*\=.*)/\1 -lpthread/" Makefile # see #183 - make || return 1 - - # cli and pear - cp -a "$srcdir"/$pkgname-cgi "$srcdir"/$pkgname-cli-pear - cd "$srcdir"/$pkgname-cli-pear - ./configure ${_phpconfig} \ - --disable-cgi \ - --with-readline \ - --enable-pcntl \ - --with-pear \ - ${_phpextensions} - sed -ri "s/^(EXTRA_LDFLAGS[ ]*\=.*)/\1 -lpthread/" Makefile # see #183 - make || return 1 + ${_phpextensions} \ + || return 1 } package() { - mkdir -p "$pkgdir" && return 0 -} + cd "$srcdir"/build-cgi -dev() { - pkgdesc="PHP Development Files" - mkdir -p "$subpkgdir"/usr/lib/php/ "$subpkgdir"/usr/bin/ - cp -a "$srcdir"/php-cli-pear/build "$subpkgdir"/usr/lib/php/build-cli-pear - cp -a "$srcdir"/php-cgi/build "$subpkgdir"/usr/lib/php/build-cgi - cp -a "$srcdir"/php-fpm/build "$subpkgdir"/usr/lib/php/build-fpm - cp -a "$srcdir"/php-apache2/build "$subpkgdir"/usr/lib/php/build-apache2 - cp -a "$srcdir"/php-embed/build "$subpkgdir"/usr/lib/php/build-embed - ln -fs /usr/lib/php/build-cgi "$subpkgdir"/usr/lib/php/build + # install php-cgi, cli, pear and modules + make -j1 install install-pear INSTALL_ROOT="$pkgdir" || return 1 + + # cleanup after pear + find "$pkgdir" -name '.*' | xargs rm -rf || return 1 - install -m 755 "$srcdir"/php-cli-pear/scripts/phpize "$subpkgdir"/usr/bin/ + # install fpm + install -D -m755 "$srcdir"/build-fpm/sapi/fpm/php-fpm \ + "$pkgdir"/usr/bin/php-fpm || return 1 + install -D -m644 "$srcdir"/build-fpm/sapi/fpm/php-fpm.conf \ + "$pkgdir"/etc/php/php-fpm.conf || return 1 + install -D -m755 "$srcdir"/php-fpm.init "$pkgdir"/etc/init.d/php-fpm + # enable some default options + sed -ri -e "s~^;(error_log)(.*)~\1 = /var/log/php-fpm.log~" \ + -e "s/^;(pm.start_servers)/\1/" \ + -e "s/^;(pm.min_spare_servers)/\1/" \ + -e "s/^;(pm.max_spare_servers)/\1/" \ + "$pkgdir"/etc/php/php-fpm.conf || return 1 + + # install apache2 + install -D -m755 "$srcdir"/build-apache2/libs/libphp5.so \ + "$pkgdir"/usr/lib/apache2/libphp5.so || return 1 + install -D -m644 "$srcdir"/php5-module.conf \ + "$pkgdir"/etc/apache2/conf.d/php5-module.conf || return 1 + + # install embed + install -D -m755 "$srcdir"/build-embed/libs/libphp5.so \ + "$pkgdir"/usr/lib/libphp5.so || return 1 + install -D -m644 "$_srcdir"/sapi/embed/php_embed.h \ + "$pkgdir"/usr/include/php/sapi/embed/php_embed.h || return 1 } -doc() { - pkgdesc="PHP Documentation" - install -D -m644 "$srcdir"/$pkgname-cli-pear/sapi/cli/php.1 "$subpkgdir"/usr/share/man/man1/php.1 - install -D -m644 "$srcdir"/$pkgname-cli-pear/scripts/man1/phpize.1 "$subpkgdir"/usr/share/man/man1/phpize.1 - install -D -m644 "$srcdir"/$pkgname-cli-pear/scripts/man1/php-config.1 "$subpkgdir"/usr/share/man/man1/php-config.1 - install -D -m644 "$srcdir"/$pkgname-fpm/sapi/fpm/php-fpm.8 "$subpkgdir"/usr/share/man/man8/php-fpm.8 +dev() { + default_dev + mkdir -p "$subpkgdir"/usr/lib/php + mv "$pkgdir"/usr/lib/php/build \ + "$subpkgdir"/usr/lib/php/ || return 1 } common() { @@ -267,57 +277,68 @@ common() { cgi() { pkgdesc="PHP Common Gateway Interface (CGI)" - install -D -m755 "$srcdir"/$pkgname-cgi/sapi/cgi/php-cgi "$subpkgdir"/usr/bin/php-cgi + replaces="php" + depends="php-common" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/php-cgi "$subpkgdir"/usr/bin/ } cli() { pkgdesc="PHP Command Line Interface (CLI)" - install -D -m755 "$srcdir"/$pkgname-cli-pear/sapi/cli/php "$subpkgdir"/usr/bin/php + replaces="php-dev" + depends="php-common" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/php "$subpkgdir"/usr/bin/ || return 1 + # provide phpize here instead of -dev due to pecl command + mv "$pkgdir"/usr/bin/phpize "$subpkgdir"/usr/bin/ || return 1 } fpm() { pkgdesc="PHP FastCGI Process Manager (FPM)" - - install -D -m755 "$srcdir"/$pkgname-fpm/sapi/fpm/php-fpm "$subpkgdir"/usr/bin/php-fpm - install -D -m644 "$srcdir"/$pkgname-fpm/sapi/fpm/php-fpm.conf "$subpkgdir"/etc/php/php-fpm.conf - install -D -m755 "$srcdir"/php-fpm.init "$subpkgdir"/etc/init.d/php-fpm - - # enable some default options - sed -ri "s~^;(error_log)(.*)~\1 = /var/log/php-fpm.log~" "$subpkgdir"/etc/php/php-fpm.conf - sed -ri "s/^;(pm.start_servers)/\1/" "$subpkgdir"/etc/php/php-fpm.conf - sed -ri "s/^;(pm.min_spare_servers)/\1/" "$subpkgdir"/etc/php/php-fpm.conf - sed -ri "s/^;(pm.max_spare_servers)/\1/" "$subpkgdir"/etc/php/php-fpm.conf + depends="php-common" + mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/etc/php + mv "$pkgdir"/usr/bin/php-fpm "$subpkgdir"/usr/bin/ || return 1 + mv "$pkgdir"/etc/init.d "$subpkgdir"/etc/ || return 1 + mv "$pkgdir"/etc/php/php-fpm.conf "$subpkgdir"/etc/php/ + } apache2() { pkgdesc="PHP Module for Apache2" - install -D -m755 "$srcdir"/$pkgname-apache2/libs/libphp5.so "$subpkgdir"/usr/lib/apache2/libphp5.so - install -D -m644 "$srcdir"/php5-module.conf "$subpkgdir"/etc/apache2/conf.d/php5-module.conf + depends="php-common" + mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/etc + mv "$pkgdir"/usr/lib/apache2 "$subpkgdir"/usr/lib/ &&\ + mv "$pkgdir"/etc/apache2 "$subpkgdir"/etc } embed() { pkgdesc="PHP Embed Library" - install -D -m755 "$srcdir"/$pkgname-embed/libs/libphp5.so "$subpkgdir"/usr/lib/libphp5.so - install -D -m644 "$srcdir"/$pkgname-$pkgver/sapi/embed/php_embed.h "$subpkgdir"/usr/include/php/sapi/embed/php_embed.h + depends="php-common" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libphp5.so "$subpkgdir"/usr/lib/ } pear() { pkgdesc="PHP Extension and Application Repository (PEAR)" - depends="php" - cd "$srcdir"/$pkgname-cli-pear - make INSTALL_ROOT="$subpkgdir" install-pear || return 1 - for _rmpear in `find "$subpkgdir" -name '.*'`; do - rm -rf ${_rmpear} - done + depends="php-cli" + mkdir -p "$subpkgdir"/usr/share "$subpkgdir"/etc/php \ + "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/pecl \ + "$pkgdir"/usr/bin/pear \ + "$pkgdir"/usr/bin/peardev \ + "$subpkgdir"/usr/bin/ || return 1 + mv "$pkgdir"/etc/php/pear.conf \ + "$subpkgdir"/etc/php/ || return 1 + mv "$pkgdir"/usr/share/pear \ + "$subpkgdir"/usr/share/ || return 1 } _mv_mod() { pkgdesc="$1 php extension" mkdir -p "$subpkgdir"/$_extdir - mv "$srcdir"/php-cgi/modules/${1}.so "$subpkgdir"/$_extdir/ || return 1 + mv "$pkgdir"/$_extdir/${1}.so "$subpkgdir"/$_extdir/ || return 1 install -d "$subpkgdir"/etc/php/conf.d echo "extension=${1}.so" > "$subpkgdir"/etc/php/conf.d/${1}.ini - return 0 } bcmath() { _mv_mod bcmath; } @@ -348,8 +369,8 @@ pdo_pgsql() { _mv_mod pdo_pgsql; } pdo_sqlite() { _mv_mod pdo_sqlite; } phar() { _mv_mod phar; - cd "$srcdir"/$pkgname-cli-pear - make INSTALL_ROOT="$subpkgdir" install-pharcmd || return 1 + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/phar* "$subpkgdir"/usr/bin/ } posix() { _mv_mod posix; } pgsql() { _mv_mod pgsql; } @@ -375,5 +396,4 @@ md5sums="8aaf20c95e91f25c5b6a591e5d6d61b9 php-5.3.5.tar.bz2 26adfe0e744ec05fa9e368bbdee83176 php-uclibc.patch 289ca647771170f096985951047174e7 suhosin-patch-5.3.4-0.9.10.patch 8f2bb2b744a2de50025842cb51fb6a3a php-fpm.init -67719f428f44ec004da18705cbabe2ee php5-module.conf -6b7ebe6e1eedaada03d830bcf2fdc575 php.post-upgrade" +67719f428f44ec004da18705cbabe2ee php5-module.conf" diff --git a/main/ristretto/APKBUILD b/main/ristretto/APKBUILD index b2667bef86..020137e62a 100644 --- a/main/ristretto/APKBUILD +++ b/main/ristretto/APKBUILD @@ -1,14 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ristretto -pkgver=0.0.91 +pkgver=0.0.93 pkgrel=0 pkgdesc="Ristretto is a image viewer for Xfce" url="http://goodies.xfce.org/projects/applications/ristretto" arch="all" license="GPL-2" depends="desktop-file-utils hicolor-icon-theme" -makedepends="pkgconfig libxfcegui4-dev dbus-glib-dev libexif-dev intltool - gettext-dev libiconv-dev thunar-dev" +makedepends="libxfce4ui-dev dbus-glib-dev libexif-dev thunar-dev" install= source="http://archive.xfce.org/src/apps/ristretto/0.0/ristretto-$pkgver.tar.bz2" @@ -26,4 +25,4 @@ package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 } -md5sums="1df541b920f044ac9f3731b2a0fe02d1 ristretto-0.0.91.tar.bz2" +md5sums="74dcdf0fcbf7039852b817732a91fb6c ristretto-0.0.93.tar.bz2" diff --git a/main/samba/APKBUILD b/main/samba/APKBUILD index 69e049a3c5..4ba7f39888 100644 --- a/main/samba/APKBUILD +++ b/main/samba/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=samba -pkgver=3.5.7 +pkgver=3.5.8 pkgrel=0 pkgdesc="Tools to access a server's filespace and printers via SMB" url="http://www.samba.org" @@ -151,7 +151,7 @@ client() { } -md5sums="b04441da711df05a1525bf57b92c051b samba-3.5.7.tar.gz +md5sums="355b4530c20997e94aebc74cd6ea5307 samba-3.5.8.tar.gz c8a7f6ac5df2f73dbf023e25ea39927b samba.initd c150433426e18261e6e3eed3930e1a76 samba.confd b7cafabfb4fa5b3ab5f2e857d8d1c733 samba.logrotate diff --git a/main/wine/APKBUILD b/main/wine/APKBUILD index e24e973365..d6197afa2b 100644 --- a/main/wine/APKBUILD +++ b/main/wine/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=wine -pkgver=1.3.14 +pkgver=1.3.15 pkgrel=0 pkgdesc="A compatibility layer for running Windows programs" url="http://www.winehq.com" @@ -38,5 +38,5 @@ package() { make prefix="$pkgdir"/usr install || return 1 mkdir -p "$pkgdir"/etc/wine } -md5sums="c99c8f518d3b2a13a739dfbd6c417e80 wine-1.3.14.tar.bz2 +md5sums="5ddc07f0a1c7b05f4cf52292aafc98e3 wine-1.3.15.tar.bz2 6ebeaa64eddf97be3267db236ce84b71 dn_skipname.patch" diff --git a/main/xfce4-vala/APKBUILD b/main/xfce4-vala/APKBUILD new file mode 100644 index 0000000000..518cc201d0 --- /dev/null +++ b/main/xfce4-vala/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xfce4-vala +pkgver=4.8.0 +pkgrel=0 +pkgdesc="Vala bindings for Xfce4" +url="http://wiki.xfce.org/vala-bindings" +arch="x86 x86_64" +license="LGPL" +depends="exo-dev libxfce4util-dev libxfce4menu-dev libxfce4ui-dev + xfce4-panel-dev xfconf-dev vala" +makedepends="" +install= +subpackages= +source="http://archive.xfce.org/src/bindings/xfce4-vala/${pkgver%.*}/xfce4-vala-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="0d2012486160767cb3a5583f61969b9c xfce4-vala-4.8.0.tar.bz2" diff --git a/testing/elementary-gtk-theme/APKBUILD b/testing/elementary-gtk-theme/APKBUILD new file mode 100644 index 0000000000..6d5a0430eb --- /dev/null +++ b/testing/elementary-gtk-theme/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=elementary-gtk-theme +pkgver=2.1 +pkgrel=1 +pkgdesc="gtk theme designed to go with elementary icons" +url="http://launchpad.net/egtk" +arch="noarch" +license="GPL" +depends="elementary-icon-theme gtk-murrine-engine" +makedepends="wget" +install="" +subpackages= +source="http://67.202.104.180/~nenolod/egtk.tar.gz" + +_builddir="${srcdir}/egtk" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + return 0 +} + +package() { + cd "$_builddir" + mkdir -p "${pkgdir}"/usr/share/themes/elementary + cp -R gtk-2.0 "${pkgdir}"/usr/share/themes/elementary + ln -sf /usr/share/themes/elementary/gtk-2.0 \ + "${pkgdir}"/usr/share/themes/elementary/gtk-3.0 + cp -R metacity-1 "${pkgdir}"/usr/share/themes/elementary + cp -R xfwm4 "${pkgdir}"/usr/share/themes/elementary +} + +md5sums="9886680fe5f0c7910a560aba95f0cad8 egtk.tar.gz" diff --git a/testing/elementary-icon-theme/APKBUILD b/testing/elementary-icon-theme/APKBUILD new file mode 100644 index 0000000000..010c4e2dc0 --- /dev/null +++ b/testing/elementary-icon-theme/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=elementary-icon-theme +pkgver=2.5 +pkgrel=0 +pkgdesc="supplementary icon set for gnome and xfce" +url="http://www.elementaryos.org/" +arch="noarch" +license="GPL" +depends= +makedepends="" +install="" +subpackages= +source="http://67.202.104.180/~nenolod/elementary_icons_by_danrabbit-d12yjq7.zip" + +_builddir="${srcdir}/icons" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + + msg "Unpacking tarballs..." + tar zxf "$_builddir"/elementary.tar.gz + tar zxf "$_builddir"/elementary-mono-dark.tar.gz +} + +build() { + return 0 +} + +package() { + cd "$_builddir" + mkdir -p "${pkgdir}"/usr/share/icons + cp -R elementary "${pkgdir}"/usr/share/icons/elementary + cp -R elementary-mono-dark "${pkgdir}"/usr/share/icons/elementary-mono-dark +} + +md5sums="67b0fda7c6033a43196e60d45ae84bbd elementary_icons_by_danrabbit-d12yjq7.zip" diff --git a/testing/gtk-murrine-engine/APKBUILD b/testing/gtk-murrine-engine/APKBUILD new file mode 100644 index 0000000000..659352e6e8 --- /dev/null +++ b/testing/gtk-murrine-engine/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=gtk-murrine-engine +pkgver=0.98.1 +pkgrel=0 +pkgdesc="cairo-based gtk engine" +url="http://www.cimitan.com/murrine/" +arch="all" +license="LGPL" +depends= +makedepends="gtk+-dev cairo-dev intltool" +install="" +subpackages="" +source="http://ftp.acc.umu.se/pub/GNOME/sources/murrine/${pkgver%.*}/murrine-${pkgver}.tar.bz2" + +_builddir="${srcdir}/murrine-${pkgver}" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="fb8481dd068e27425acf7e91a1250107 murrine-0.98.1.tar.bz2" diff --git a/testing/libraw1394/APKBUILD b/testing/libraw1394/APKBUILD new file mode 100644 index 0000000000..8ef66f6dcf --- /dev/null +++ b/testing/libraw1394/APKBUILD @@ -0,0 +1,42 @@ +# Maintainer: Leonardo Arena <rnalrd@gmail.com> +pkgname=libraw1394 +pkgver=2.0.5 +pkgrel=0 +pkgdesc="Library to provide access to Linux 1394 subsystem" +url="http://sourceforge.net/projects/libraw1394" +arch="all" +license="GPL" +depends= +depends_dev= +makedepends="" +install= +subpackages="$pkgname-dev $pkgname-doc" +source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz" + + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install + + # remove the 2 lines below (and this) if there is no init.d script + # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} + +md5sums="1db64231c78540c32859b591cb8b40cf libraw1394-2.0.5.tar.gz" diff --git a/testing/msmtp/APKBUILD b/testing/msmtp/APKBUILD new file mode 100644 index 0000000000..a5b7daaae2 --- /dev/null +++ b/testing/msmtp/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=msmtp +pkgver=1.4.23 +pkgrel=0 +pkgdesc="SMTP client with a sendmail compatible interface" +url="http://msmtp.sourceforge.net/" +arch="all" +license="GPLv3+" +depends= +makedepends= +install= +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/project/msmtp/msmtp/$pkgver/msmtp-$pkgver.tar.bz2" + +_builddir="$srcdir"/msmtp-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="5fb7ae88186624cdb125d3efad3fdc16 msmtp-1.4.23.tar.bz2" diff --git a/testing/postler/APKBUILD b/testing/postler/APKBUILD new file mode 100644 index 0000000000..0f09aff721 --- /dev/null +++ b/testing/postler/APKBUILD @@ -0,0 +1,42 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=postler +pkgver=0.1.0 +pkgrel=0 +pkgdesc="Email client" +url="https://launchpad.net/postler/" +arch="all" +license="LGPL-2.1" +depends="msmtp" +makedepends="gtk+-dev webkit-dev libunique-dev libnotify-dev libcanberra-dev + python vala db-dev openssl-dev" +install="" +subpackages="$pkgname-doc" +source="http://www.twotoasts.de/media/postler-$pkgver.tar.bz2 + inet_ntoa.patch" + +_builddir="$srcdir"/postler-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./waf configure --prefix=/usr \ + --disable-libindicate \ + || return 1 + ./waf build || return 1 +} + +package() { + cd "$_builddir" + ./waf install --destdir="$pkgdir" || return 1 +} + +md5sums="0247cdf1ab8e2d919c9299a52646f47a postler-0.1.0.tar.bz2 +06bb9bb2d1a809b6e58b2a5012393151 inet_ntoa.patch" diff --git a/testing/postler/inet_ntoa.patch b/testing/postler/inet_ntoa.patch new file mode 100644 index 0000000000..bbb0969bc2 --- /dev/null +++ b/testing/postler/inet_ntoa.patch @@ -0,0 +1,10 @@ +--- a/wscript ++++ b/wscript +@@ -141,7 +141,6 @@ + includes=['/usr/local/include/db42'], + libpath=['/usr/local/lib/db42'], lib='db', mandatory=True) + else: +- check_function ('inet_ntoa', 'arpa/inet.h', 'nsl') + check_function ('dlopen', 'dlfcn.h', 'dl') + check_function ('db_create', 'db.h', 'db') + check_pkg ('openssl') diff --git a/testing/upstart/APKBUILD b/testing/upstart/APKBUILD new file mode 100644 index 0000000000..4aea050120 --- /dev/null +++ b/testing/upstart/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=upstart +pkgver=0.6.7 +pkgrel=1 +pkgdesc="event-based init system" +url="http://upstart.ubuntu.com" +arch="all" +license="GPL" +depends= +depends_dev="libnih-dev" +makedepends="$depends_dev" +install="$pkgname.post-deinstall $pkgname.post-upgrade" +subpackages="$pkgname-doc" +source="http://upstart.ubuntu.com/download/${pkgver%.*}/upstart-${pkgver}.tar.gz" + +_builddir="${srcdir}/${pkgname}-${pkgver}" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --bindir=/bin \ + --sbindir=/sbin \ + --sysconfdir=/etc \ + --localstatedir=/var || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="37740f81b6d12a53072603fadee451c9 upstart-0.6.7.tar.gz" diff --git a/testing/upstart/upstart.post-deinstall b/testing/upstart/upstart.post-deinstall new file mode 100644 index 0000000000..99b57c4635 --- /dev/null +++ b/testing/upstart/upstart.post-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh + +busybox --install -s diff --git a/testing/upstart/upstart.post-upgrade b/testing/upstart/upstart.post-upgrade new file mode 100644 index 0000000000..99b57c4635 --- /dev/null +++ b/testing/upstart/upstart.post-upgrade @@ -0,0 +1,3 @@ +#!/bin/sh + +busybox --install -s diff --git a/testing/usb-modeswitch/APKBUILD b/testing/usb-modeswitch/APKBUILD index af7b607133..486d7d4b1e 100644 --- a/testing/usb-modeswitch/APKBUILD +++ b/testing/usb-modeswitch/APKBUILD @@ -1,8 +1,8 @@ # Maintainer: Leonardo Arena <rnalrd@gmail.com> pkgname=usb-modeswitch -pkgver=1.1.4 -pkgrel=0 -_pkgdata=20100418 +pkgver=1.1.7 +pkgrel=2 +_pkgdata=20110227 pkgdesc="A mode switching tool for controlling flip flop (multiple device) USB gear" url="http://www.draisberghof.de/usb_modeswitch/" arch="all" @@ -13,7 +13,8 @@ install= subpackages="$pkgname-doc" source="http://www.draisberghof.de/usb_modeswitch/${pkgname}-${pkgver}.tar.bz2 http://www.draisberghof.de/usb_modeswitch/${pkgname}-data-${_pkgdata}.tar.bz2 - http://www.draisberghof.de/usb_modeswitch/usb_modeswitch.setup" + usb_modeswitch.setup + Makefile.patch" _builddir="$srcdir"/$pkgname-$pkgver @@ -23,10 +24,12 @@ prepare() { mkdir -p $pkgdir/etc || return 1 mkdir -p $pkgdir/usr/share/man/man1 || return 1 make clean || return 1 - sed -i -e 's/--mode=/-m/' Makefile + sed -i -e 's/--mode=/-m/' Makefile || return 1 + cd ../${pkgname}-data-${_pkgdata} - sed -i -e 's%install --mode=644 -t $(ETCDIR)/usb_modeswitch.d \./usb_modeswitch.d/\*%cp -R ./usb_modeswitch.d/\* $(ETCDIR)/usb_modeswitch.d%' Makefile - sed -i -e 's/--mode=/-m/' Makefile +# sed -i -e 's%install -m644 -t $(PREFIX)/share/usb_modeswitch ./usb_modeswitch.d/*%cp -R $(PREFIX)/share/usb_modeswitch/* ./usb_modeswitch.d/%' Makefile || return 1 + sed -i -e 's/--mode=/-m/' Makefile || return 1 + patch -p1 < ../Makefile.patch } build() { @@ -51,6 +54,7 @@ package() { cp $srcdir/usb_modeswitch.setup $pkgdir/etc/ || return 1 } -md5sums="a04db36bd0fc6fb303df7567f677b714 usb-modeswitch-1.1.4.tar.bz2 -659c9633513fa2f84465244a50c351b3 usb-modeswitch-data-20100418.tar.bz2 -9a25756669937ac86774bb55733f09cd usb_modeswitch.setup" +md5sums="b75e42b7b2d30e9d4cbd5c159f925247 usb-modeswitch-1.1.7.tar.bz2 +2f5e5bfa21a97b705a22f95bec367793 usb-modeswitch-data-20110227.tar.bz2 +9a25756669937ac86774bb55733f09cd usb_modeswitch.setup +84de2517de202c22801b678f49a07e37 Makefile.patch" diff --git a/testing/usb-modeswitch/Makefile.patch b/testing/usb-modeswitch/Makefile.patch new file mode 100644 index 0000000000..d7f526aa1e --- /dev/null +++ b/testing/usb-modeswitch/Makefile.patch @@ -0,0 +1,16 @@ +--- a/Makefile ++++ b/Makefile +@@ -21,11 +21,11 @@ + install -D -m644 40-usb_modeswitch.rules $(RULESDIR)/40-usb_modeswitch.rules + + db-install: +- install -m644 -t $(PREFIX)/share/usb_modeswitch ./usb_modeswitch.d/* ++ cp ./usb_modeswitch.d/* $(PREFIX)/share/usb_modeswitch + + db-install-packed: + cd ./usb_modeswitch.d; tar -czf ../configPack.tar.gz * +- install -m644 -t $(PREFIX)/share/usb_modeswitch ./configPack.tar.gz ++ install -m644 $(PREFIX)/share/usb_modeswitch ./configPack.tar.gz + rm -f ./configPack.tar.gz + + diff --git a/testing/usb-modeswitch/usb_modeswitch.setup b/testing/usb-modeswitch/usb_modeswitch.setup new file mode 100644 index 0000000000..a86ef2a60a --- /dev/null +++ b/testing/usb-modeswitch/usb_modeswitch.setup @@ -0,0 +1,1696 @@ +# usb_modeswitch.setup +# +# Last modified: 2010-04-18 +# +# Collection of configurations for usb_modeswitch, a mode switching +# tool for controlling flip flop (multiple mode) USB devices +# +# Detailed instructions and a friendly forum on the homepage: +# http://www.draisberghof.de/usb_modeswitch +# +# You may want to check for a newer version of this file at: +# http://www.draisberghof.de/usb_modeswitch/usb_modeswitch.setup + + +##################################################################### +# Important! This file is now just a reference! Use the data package! +##################################################################### +# +# If your device is on the "Supported Hardware" list or your USB ID +# is contained in this file, rather use the latest release of +# USB_ModeSwitch (automatic handling) and the latest 'database'; see +# home page! +# +#################################################################### + + +# In order to activate a device included here, just remove the comment +# signs (";") from the respective entry. +# +# It might be preferable to copy device information to a different +# file, to avoid possible conflicts by activating multiple entries. +# +# The actual entries are further down, after the command reference. + + +# For custom settings: +# Numbers can be decimal or hexadecimal, MessageStrings MUST be +# hexadecimal without prepended "0x". Digits 9-16 in the known +# MessageStrings are arbitrary; I set them to "12345678" + +# What it all means (short command line flags appended): +# +# +# * DefaultVendor -v <hex number> +# * DefaultProduct -p <hex number> +# +# This is the ID the USB device shows after having been plugged in. +# The program needs this; if not found -> no action. +# +# +# * TargetVendor -V <hex number> +# * TargetProduct -P <hex number> +# +# These are the IDs of the USB device after successful mode switching. +# They are optional, but I recommend to provide them for better analysis. +# You definitely need them if you enable CheckSuccess (see below) +# +# +# * TargetProductList (file only) <comma separated hex strings> +# +# Like TargetProduct, but more than one possibility. Only used in automated +# config files (in /etc/usb_modeswitch.d). +# +# +# * TargetClass -C <hex number> +# +# Some weird devices don't change IDs. They only switch the device class. +# If the device has the target class -> no action (and vice versa) +# +# +# * MessageEndpoint -m <hex number> +# +# A kind of address inside the interface to which the "message" +# (the sequence that does the actual switching) is directed. +# Starting from version 0.9.7 the MessageEndpoint is autodetected +# if not given +# +# +# * MessageContent -M <hex string> +# +# A hex string containing the "message" sequence; it will be +# sent as a USB bulk transfer. +# +# +# * ResponseEndpoint -r <hex number> +# * NeedResponse <0/1> -n +# +# Some devices were reported to require receiving the response of the +# bulk transfer to do the switching properly. Usually not needed. +# Starting from version 1.0.0 the ResponseEndpoint is autodetected +# if not given +# +# +# * DetachStorageOnly <0/1> -d +# +# Some devices just need to be detached from the usb-storage +# driver to initiate the mode switching. Using this feature +# instead of removing the whole usbstorage module keeps other +# storage devices working. +# +# +# * HuaweiMode <0/1> -H +# +# Some Huawei devices can be switched by a special control +# message. +# +# +# * SierraMode <0/1> -S +# +# Some Sierra devices can be switched by a special control +# message. +# +# +# * SonyMode <0/1> -O +# +# Some Sony-Ericsson devices can be switched by a special control +# message. This is experimental and might not have a stable result +# +# +# * ResetUSB <0/1> -R +# +# Some devices need a rougher treatment. If the switching seems +# to do something (run udevmonitor), but your system does not reflect +# it, try this somewhat brutal method to do a reset after switching. +# Mind that if your device switched OK before, this will probably set +# it back to storage mode ... +# +# +# * Interface -i <hex number> +# * Configuration -u <hex number> +# * AltSetting -a <hex number> +# +# More USB parameter to help with tricky devices and for doing lots +# of cruel experiments ... +# +## Note: +## AltSetting/Configuration changes and ResetUSB are executed after all +## other steps and can be combined or used on their own (e.g. a reset +## might have the same effect as a manual replug) +# +# +# * InquireDevice <0|1> -I (disables inquiry) +# +# The standard since 1.0.0 is to do a SCSI inquiry on the default device +# before other actions. This might be a future way to identify a device +# without ambiguities. If it causes trouble with your device, just disable. +# +# +# * CheckSuccess -s <number> +# +# Check continuously if the switch succeeded for max <number> seconds. +# First, an interface access test: most devices vanish after +# switching and can't be accessed anymore. +# Second, a recount of target devices: one more than at the initial +# count, at the same bus with a higher device number -> device +# switched fine. +# It's safe to give a higher value than needed; checking stops as +# soon as the target device is found +# +# +# * NoDriverLoading <0|1> (no command line parameter) +# +# The binary tells the wrapper script NOT to check for and initiate +# binding of the serial driver after switching. +# Mostly useful for non-modem devices +# +# +# -> All other entries are just ignored <- + +# Additional command line flags: +# +# Verbose output -W +# No output at all -q +# Other config file -c <file> + +# For filling in all this information for an unknown device, +# see instructions and links on the homepage: +# http://www.draisberghof.de/usb_modeswitch +# +# If you find working codes and configurations, please contribute +# them! + + +;CheckSuccess=2 + +####################################################### +# Option GlobeSurfer Icon (aka "Vodafone EasyBox") +# +# The message SHOULD be the same for all Option devices + +;DefaultVendor= 0x05c6 +;DefaultProduct= 0x1000 + +;TargetVendor= 0x0af0 +;TargetProduct= 0x6600 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243123456780000000000000601000000000000000000000000000000" + + +####################################################### +# Option GlobeSurfer Icon 7.2 +# +# Contributor: The Pharscape Forum + +;DefaultVendor= 0x05c6 +;DefaultProduct= 0x1000 + +;TargetVendor= 0x0af0 +;TargetProduct= 0x6901 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243123456780000000000000601000000000000000000000000000000" + + +######################################################## +# Option GlobeTrotter GT MAX 3.6 (aka "T-Mobile Web'n'walk Card Compact II") +# +# Contributor: Bernd Holzmüller + +;DefaultVendor= 0x05c6 +;DefaultProduct= 0x1000 + +;TargetVendor= 0x0af0 +;TargetProduct= 0x6600 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243123456780000000000000601000000000000000000000000000000" + +# only for reference and 0.x versions +# ResponseEndpoint=0x84 + +;ResponseNeeded=1 + + +######################################################## +# Option GlobeTrotter GT MAX "7.2 Ready" +# +# Contributors: Lucas Benedicic, Morgwai Kotarbinski + +;DefaultVendor= 0x05c6 +;DefaultProduct= 0x1000 + +;TargetVendor= 0x0af0 +;TargetProduct= 0x6701 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243123456780000000000000601000000000000000000000000000000" + + +######################################################## +# Option GlobeTrotter EXPRESS 7.2 (aka "T-Mobile wnw Express II") +# +# Contributor: Fridtjof Busse + +;DefaultVendor= 0x05c6 +;DefaultProduct= 0x1000 + +;TargetVendor= 0x0af0 +;TargetProduct= 0x6701 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243123456780000000000000601000000000000000000000000000000" + +# Response reading needed according to one (1) report + +# only for reference and 0.x versions +# ResponseEndpoint=0x84 + +;ResponseNeeded=1 + + +####################################################### +# Option GlobeSurfer Icon 7.2, new firmware (HSO driver) +# +# Vendor/ProductID don't change when switching, only the device +# class does. Most new Option devices work with this. Just adapt IDs! +# HSO driver support is available at Pharscape (www.pharscape.org) +# +# Contributor: Paul Hardwick + +;DefaultVendor= 0x0af0 +;DefaultProduct= 0x6911 + +;TargetClass= 0xff + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243123456780000000000000601000000000000000000000000000000" + + +######################################################## +# Option iCON 210 +# PROLiNK PHS100 (various looks) +# Hyundai Mobile MB-810 +# +# One report of switching with DetachStorageOnly. Needs at least +# a second to settle before binding to usbserial +# +# Contributor: wahlm, Peter Kraker, Pakdhetimin Sekum + +;DefaultVendor= 0x1e0e +;DefaultProduct= 0xf000 + +;TargetVendor= 0x1e0e +;TargetProduct= 0x9000 + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="555342431234567800000000000006bd000000020000000000000000000000" + +# only for reference and 0.x versions +# ResponseEndpoint=0x01 + +;ResponseNeeded=1 + + +####################################################### +# Option iCON 225 HSDPA +# +# New Firmware. HSO driver support is available at Pharscape (www.pharscape.org) +# +# Contributor: Matti Viljanen + +;DefaultVendor= 0x0af0 +;DefaultProduct= 0x6971 + +;TargetClass= 0xff + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="555342431223456780100000080000601000000000000000000000000000000" + + +####################################################### +# Option GlobeTrotter HSUPA Modem (aka "T-Mobile Web'n'walk Card Compact III') +# +# New Firmware. HSO driver support is available at Pharscape (www.pharscape.org) +# +# Contributor: Gerold Gruber + +;DefaultVendor= 0x0af0 +;DefaultProduct= 0x7011 + +;TargetClass= 0xff + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243785634120100000080000601000000000000000000000000000000" + + +###################################################### +# Option iCON 401 +# +# HSO driver +# +# Contributor: Vincent Teoh + +;DefaultVendor= 0x0af0 +;DefaultProduct= 0x7401 + +;TargetClass= 0xff + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="55534243785634120100000080000601000000000000000000000000000000" + +# only for reference and 0.x versions +# ResponseEndpoint=0x81 + +;ResponseNeeded=1 + + +######################################################## +# Vodafone K3760 (made by Option, HSO driver) +# +# Contributor: The Solutor + +;DefaultVendor= 0x0af0 +;DefaultProduct= 0x7501 + +;TargetClass= 0xff + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="55534243785634120100000080000601000000000000000000000000000000" + + +######################################################## +# AT&T USBConnect Quicksilver (made by Option, HSO driver) +# +# Contributor: sissie from Bullteam + +;DefaultVendor= 0x0af0 +;DefaultProduct= 0xd033 + +;TargetClass= 0xff + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243785634120100000080000601000000000000000000000000000000" + + +######################################################## +# Huawei E220 (aka "Vodafone EasyBox II", aka "T-Mobile wnw Box Micro") +# Huawei E230 +# Huawei E270 +# Huawei E870 +# and probably most other Huawei devices (just adapt product ID) +# +# Two options: 1. removal of "usb-storage" 2. the special control +# message found by Miroslav Bobovsky +# +# Contributor: Hans Kurent, Denis Sutter, Vincent Teoh + +;DefaultVendor= 0x12d1; +;DefaultProduct= 0x1003 + +;TargetClass= 0xff + +# choose one of these: +;DetachStorageOnly=1 +;HuaweiMode=1 + + +######################################################## +# Huawei E169 +# +# Contributor: Dale Lane + +;DefaultVendor= 0x12d1; +;DefaultProduct= 0x1001 + +;TargetClass= 0xff + +# choose one of these: +;DetachStorageOnly=1 +;HuaweiMode=1 + + +######################################################## +# Huawei E180 +# +# Contributor: Tom Dawahare + +;DefaultVendor= 0x12d1 +;DefaultProduct= 0x1414 + +;TargetClass= 0xff + +# choose one of these: +;DetachStorageOnly=1 +;HuaweiMode=1 + + +######################################################## +# Huawei E630 +# +# There seem to be modem-only variants around - no storage, +# no switching +# +# Contributor: Joakim Wenrgren + +;DefaultVendor= 0x1033 +;DefaultProduct= 0x0035 + +;TargetVendor= 0x12d1 +;TargetProduct= 0x1003 + +# choose one of these: +;HuaweiMode=1 +;DetachStorageOnly=1 + + +######################################################## +# ZTE MF620 (aka "Onda MH600HS") +# +# Probably works with DetachStorageOnly too +# +# Contributor: Flávio Moringa + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0x2000 + +;TargetVendor= 0x19d2 +;TargetProduct= 0x0001 + +# only for reference and 0.x versions +# MessageEndpoint=0x04 + +;MessageContent="55534243123456780000000000000600000000000000000000000000000000" + + +######################################################## +# ZTE MF622 (aka "Onda MDC502HS"), MF100 and others +# +# Contributor: andylog + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0x2000 + +;TargetVendor= 0x19d2 +;TargetProduct= 0x0002 + +# only for reference and 0.x versions +# MessageEndpoint=0x04 + +;MessageContent="55534243f8f993882000000080000a85010101180101010101000000000000" + + +######################################################## +# ZTE MF628 +# +# Captured with "usbmon". Has a micro SD slot which can be +# activated alternatively +# +# Contributor: Alvaro Lopes <alvieboy at alvie dot com> + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0x2000 + +# To modem mode: + +;TargetVendor= 0x19d2 +;TargetProduct= 0x0015 + +# only for reference and 0.x versions +# MessageEndpoint=0x08 + +;MessageContent="5553424312345678000000000000061b000000030000000000000000000000" + +# To SD slot mode: + +;TargetVendor= 0x05c6 +;TargetProduct= 0x2001 + +# only for reference and 0.x versions +# MessageEndpoint=0x08 + +;MessageContent="55534243123456782000000080000a86010101180101010101000000000000" + +# only for reference and 0.x versions +# ResponseEndpoint=0x07 + +;ResponseNeeded=1 + + +######################################################## +# ZTE MF622 (aka "Onda MDC502HS") +# ZTE MF626 +# ZTE MF628+ (tested version from Telia / Sweden) +# ZTE MF633 +# ZTE MF636 (aka "Telstra / BigPond 7.2 Mobile Card") +# ZTE MF637 +# +# Contributor: Joakim Wennergren and others + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0x2000 + +;TargetVendor= 0x19d2 +;TargetProduct= 0x0031 + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="5553424312345678000000000000061b000000030000000000000000000000" + + +######################################################## +# ZTE MF638 (aka "Onda MDC525UP") +# +# Contributor: andylog + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0x2000 + +;TargetVendor= 0x19d2 +;TargetProduct= 0x0037 + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="55534243123456782000000080000c85010101180101010101000000000000" + + +######################################################## +# ZTE AC8710 +# ZTE AC2726 +# and others +# +# Many new ZTE devices use this sequence. There are +# several ID combinations; check your default +# +# Contributor: Michael Khurtsiya, Amit Pundir and others + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0xfff5 + +;TargetVendor= 0x19d2 +;TargetProduct= 0xffff + +# No. 2 + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0xfff6 + +;TargetVendor= 0x19d2 +;TargetProduct= 0xfff1 + +# No. 3 + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0xfff5 + +;TargetVendor= 0x19d2 +;TargetProduct= 0xfff1 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="5553424312345678c00000008000069f030000000000000000000000000000" + + +######################################################## +# ZTE AC2710 (EVDO) +# +# Contributor: Wasim Baig + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0xfff5 + +;TargetVendor= 0x19d2 +;TargetProduct= 0xffff + +;MessageContent="5553424312345678c00000008000069f010000000000000000000000000000" + +# Just for information: try it with the message from the AC8710 ... + + +######################################################## +# ZTE 6535-Z +# +# Contributor: David Taillandier + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0x2000 + +;TargetVendor= 0x19d2 +;TargetProduct= 0x0052 + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="55534243123456782000000080000c85010101180101010101000000000000" + + +######################################################## +# ONDA MT503HS (most likely a ZTE model) +# +# Contributor: Lucio Asnaghi a.k.a. kRAkEn/gORe + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0x2000 + +;TargetVendor= 0x19d2 +;TargetProduct= 0x0002 + +# only for reference and 0.x versions +# MessageEndpoint=0x08 + +;MessageContent="55534243b0c8dc812000000080000a85010101180101010101000000000000" + + +######################################################## +# ONDA MT505UP (most likely a ZTE model) +# +# Contributor: Alex Scortegagna + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0x2000 + +;TargetVendor= 0x19d2 +;TargetProduct= 0x0002 + +# only for reference and 0.x versions +# MessageEndpoint=0x03 + +;MessageContent="55534243123456780000010080000a28000000001c00002000000000000000" + + +######################################################## +# Novatel Wireless Ovation MC950D HSUPA +# Novatel Wireless Merlin XU950D +# Novatel Wireless Ovation 930D +# +# Contributor: Razvan Dragomirescu, Mike Kirk + +;DefaultVendor= 0x1410 +;DefaultProduct= 0x5010 + +;TargetVendor= 0x1410 +;TargetProduct= 0x4400 + +# only for reference and 0.x versions +# MessageEndpoint=0x09 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# Novatel U727 USB modem +# +# Modem only versions (no switching required) are around. +# +# Contributor: Chris Thielen + +;DefaultVendor= 0x1410 +;DefaultProduct= 0x5010 + +;TargetVendor= 0x1410 +;TargetProduct= 0x4100 + +# only for reference and 0.x versions +# MessageEndpoint=0x08 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# Novatel MC990D +# +# Contributor: Joakim Wennergren + +;DefaultVendor= 0x1410 +;DefaultProduct= 0x5020 + +;Interface= 5 + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# Novatel U760 USB modem +# +# Contributor: Richard Laager + +;DefaultVendor= 0x1410 +;DefaultProduct= 0x5030 + +;TargetVendor= 0x1410 +;TargetProduct= 0x6000 + +# only for reference and 0.x versions +# MessageEndpoint=0x08 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# Alcatel One Touch X020 (aka OT-X020, aka MBD-100HU, aka Nuton 3.5G), works with Emobile D11LC +# Alcatel One Touch X030 (aka OT-X030, aka Nuton NT36HD) +# +# Contributor: Aleksandar Samardzic, Marcelo Fernandez + +;DefaultVendor= 0x1c9e +;DefaultProduct= 0x1001 + +;TargetVendor= 0x1c9e +;TargetProduct= 0x6061 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243123456780000000000000606f50402527000000000000000000000" + + +######################################################## +# Alcatel X200/X060S + +;DefaultVendor= 0x1bbb +;DefaultProduct= 0xf000 + +;TargetVendor= 0x1bbb +;TargetProduct= 0x0000 + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="55534243123456788000000080000606f50402527000000000000000000000" + + +######################################################## +# AnyDATA ADU-500A, ADU-510A, ADU-510L, ADU-520A +# +# This ID gets an "Option" treatment by newer kernels. +# Use module option "option_zero_cd=2" with usb-storage. +# A kernel patch to fix the problem is pending +# +# Contributor: Vladimir Poluektov, Gabriel Smolar + +;DefaultVendor= 0x05c6 +;DefaultProduct= 0x1000 + +;TargetVendor= 0x16d5 +;TargetProduct= 0x6502 + +# only for reference and 0.x versions +# MessageEndpoint=0x08 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# BandLuxe C120 +# +# Reportedly needs several switch calls in a certain order. See +# http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=71 +# This might be a case to try the new ResetUSB function +# +# Contributor: Alexander Czigler + +;DefaultVendor= 0x1a8d +;DefaultProduct= 0x1000 + +;TargetVendor= 0x1a8d +;TargetProduct= 0x1002 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243123456781200000080000603000000020000000000000000000000" + +# only for reference and 0.x versions +# ResponseEndpoint=0x82 + +;ResponseNeeded=1 + + +######################################################## +# Solomon S3Gm-660 +# +# Same notes apply as with the BandLuxe C120 above +# +# Contributor: Alexander Czigler + +;DefaultVendor= 0x1dd6 +;DefaultProduct= 0x1000 + +;TargetVendor= 0x1dd6 +;TargetProduct= 0x1002 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243123456781200000080000603000000020000000000000000000000" + +# only for reference and 0.x versions +# ResponseEndpoint=0x82 + +;ResponseNeeded=1 + + +######################################################## +# C-motech D-50 (aka "CDU-680") +# +# Interesting notes about the device in the forum post at +# http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=69 +# +# Contributor: Alexander Czigler + +;DefaultVendor= 0x16d8 +;DefaultProduct= 0x6803 + +;TargetVendor= 0x16d8 +;TargetProduct= 0x680a + +# only for reference and 0.x versions +# MessageEndpoint=0x07 + +;MessageContent="555342431234567824000000800008ff524445564348470000000000000000" + + +######################################################## +# C-motech CGU-628 (aka "Franklin Wireless CGU-628A" aka "4G Systems XS Stick W12") +# +# Contributor: Mathias Picker + +;DefaultVendor= 0x16d8 +;DefaultProduct= 0xf000 + +;TargetVendor= 0x16d8 +;TargetProduct= 0x6006 + +# only for reference and 0.x versions +# MessageEndpoint=0x09 + +;MessageContent="55534243d85dd88524000000800008ff524445564348470000000000000000" + + +######################################################## +# Toshiba G450 +# +# Contributor: Mijail Anton + +;DefaultVendor= 0x0930 +;DefaultProduct= 0x0d46 + +;TargetVendor= 0x0930 +;TargetProduct= 0x0d45 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# UTStarcom UM175 (distributor "Alltel") +# +# Contributor: Mark A. Ziesemer + +;DefaultVendor= 0x106c +;DefaultProduct= 0x3b03 + +;TargetVendor= 0x106c +;TargetProduct= 0x3715 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="555342431234567824000000800008ff024445564348470000000000000000" + + +######################################################## +# Hummer DTM5731 +# +# Contributor: "paul" + +;DefaultVendor= 0x1ab7 +;DefaultProduct= 0x5700 + +;TargetVendor= 0x1ab7 +;TargetProduct= 0x5731 + +# only for reference and 0.x versions +# MessageEndpoint=0x07 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# A-Link 3GU +# +# Contributor: A-Link Europe Ltd. + +;DefaultVendor= 0x1e0e +;DefaultProduct= 0xf000 + +;TargetVendor= 0x1e0e +;TargetProduct= 0x9200 + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# Sierra Wireless Compass 597 +# +# Contributor: Vincent Teoh + +;DefaultVendor= 0x1199 +;DefaultProduct= 0x0fff + +;TargetVendor= 0x1199 +;TargetProduct= 0x0023 + +;SierraMode=1 + + +######################################################## +# Sierra Wireless AirCard 881U (most likely 880U too) +# +# Contributor: Vincent Teoh + +;DefaultVendor= 0x1199 +;DefaultProduct= 0x0fff + +;TargetVendor= 0x1199 +;TargetProduct= 0x6856 + +;SierraMode=1 + + +######################################################## +# Sony Ericsson MD400 +# +# Special procedure, takes around 25 secs. on the whole + +;DefaultVendor= 0x0fce +;DefaultProduct= 0xd0e1 + +;TargetClass= 0x02 + +;SonyMode=1 +;Configuration=2 + + +######################################################## +# LG LDU-1900D EV-DO (Rev. A) +# +# Recommended init command: ATE0V1&D2&C1S0=0 +# +# Contributor: Jérôme Oufella + +;DefaultVendor= 0x1004 +;DefaultProduct= 0x1000 + +# only for reference and 0.x versions +# MessageEndpoint=0x08 + +;MessageContent="55534243123456780000000000000aff554d53434847000000000000000000" + + +######################################################## +# Samsung SGH-Z810 USB (with microSD card) +# +# This ID gets a wrong "Option" treatment by newer kernels +# between 2.6.29 and 2.6.32 +# Use module option "option_zero_cd=2" with usb-storage. +# A kernel patch to fix the problem is pending +# +# Contributor: A Friend + +;DefaultVendor= 0x05c6 +;DefaultProduct= 0x1000 + +;TargetVendor= 0x04e8 +;TargetProduct= 0x6601 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243123456780000000000000616000000000000000000000000000000" + + +######################################################## +# MobiData MBD-200HU +# +# Contributor: Stefan Olejnik + +;DefaultVendor= 0x1c9e +;DefaultProduct= 0xf000 + +;TargetVendor= 0x1c9e +;TargetProduct= 0x9000 + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="55534243123456788000000080000606f50402527000000000000000000000" + + +######################################################## +# ST Mobile Connect HSUPA USB Modem +# +# Use /dev/ttyUSB2 for connecting +# +# Contributor: Vincent Teoh + +;DefaultVendor= 0x1c9e +;DefaultProduct= 0xf000 + +;TargetVendor= 0x1c9e +;TargetProduct= 0x9063 + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="55534243123456788000000080000606f50402527000000000000000000000" + + +######################################################## +# MyWave SW006 Sport Phone/Modem Combination +# +# Has a card reader too, working fine +# +# Contributor: Aaron Guidazzi + +;DefaultVendor= 0x1c9e +;DefaultProduct= 0x9200 + +;TargetVendor= 0x1c9e +;TargetProduct= 0x9202 + +# only for reference and 0.x versions +# MessageEndpoint=0x03 + +;MessageContent="55534243123456780000000000000606f50402527000000000000000000000" + + +######################################################## +# Cricket A600 +# +# Switches to ACM device. Might need a ResetUSB after switching - or not +# +# Contributor: Jeffrey Hoogland + +;DefaultVendor= 0x1f28 +;DefaultProduct= 0x0021 + +;TargetVendor= 0x1f28 +;TargetProduct= 0x0020 + +# only for reference and 0.x versions +# MessageEndpoint=0x08 + +;MessageContent="555342431234567824000000800108df200000000000000000000000000000" + +# Afterwards (optional): "usb_modeswitch -v 0x1f28 -p 0x0020 -R" + + +######################################################## +# EpiValley SEC-7089 (featured by Alegro and Starcomms / iZAP) +# +# Contributor: Chris Wright + +;DefaultVendor= 0x1b7d +;DefaultProduct= 0x0700 + +;TargetVendor= 0x1b7d +;TargetProduct= 0x0001 + +# only for reference and 0.x versions +# MessageEndpoint=0x07 + +;MessageContent="555342431234567824000000800008FF05B112AEE102000000000000000000" + + +######################################################## +# Samsung U209 +# +# Has a modem and a storage device after switching +# +# Contributor: Arif Ahmed + +;DefaultVendor= 0x04e8 +;DefaultProduct= 0xf000 + +;TargetVendor= 0x04e8 +;TargetProduct= 0x6601 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243123456780000000000000616000000000000000000000000000000" + + +######################################################## +# Huawei E270+ (HSPA+ modem) +# Huawei E1762 +# Huawei E1820 +# +# Contributor: Paranoid Paranoia + +;DefaultVendor= 0x12d1 +;DefaultProduct= 0x1446 + +;TargetVendor= 0x12d1 +;TargetProduct= 0x14ac + +;MessageContent="55534243123456780000000000000011060000000000000000000000000000" + + +######################################################## +# Huawei E1550 +# Huawei E1750 +# +# Contributor: Anders Blomdell, Ahmed Soliman + +;DefaultVendor= 0x12d1 +;DefaultProduct= 0x1446 + +;TargetVendor= 0x12d1 +;TargetProduct= 0x1001 + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="55534243123456780000000000000011060000000000000000000000000000" + + +######################################################## +# ZTE K3520-Z +# +# Contributor: Paul McDermott + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0x2000 + +;TargetVendor= 0x19d2 +;TargetProduct= 0x0055 + +# only for reference +# MessageEndpoint=0x09 + +;MessageContent="55534243123456782000000080000c85010101180101010101000000000000" + + +######################################################## +# MobiData MBD-200HU (aka 4G XS Stick W10/W14, aka Micromax MMX 300G, +# aka ChinaBird CBCPL68) +# +# Contributor: Chris + +;DefaultVendor= 0x1c9e +;DefaultProduct= 0xf000 + +;TargetVendor= 0x1c9e +;TargetProduct= 0x9603 + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="55534243123456788000000080000606f50402527000000000000000000000" + + +######################################################## +# D-Link DWM-162-U5, Micromax MMX 300c +# +# Contributor: Zhang Le + +;DefaultVendor= 0x05c6 +;DefaultProduct= 0x2001 + +;TargetVendor= 0x1e0e +;TargetProductList="ce16,cefe" + +;MessageContent="55534243e0c26a85000000000000061b000000020000000000000000000000" + + +######################################################## +# Novatel MC760 3G +# +# Contributor: Matt Roberds + +;DefaultVendor= 0x1410 +;DefaultProduct= 0x5031 + +;TargetVendor= 0x1410 +;TargetProduct= 0x6002 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# ZTE MF110 +# +# Contributor: Moritz Grosse-Wentrup + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0x0053 + +;TargetVendor= 0x19d2 +;TargetProduct= 0x0031 + +;MessageContent="55534243123456782000000080000c85010101180101010101000000000000" + + +######################################################## +# Philips TalkTalk (NXP Semiconductors "Dragonfly") +# + +;DefaultVendor= 0x0471 +;DefaultProduct= 0x1237 + +;TargetVendor= 0x0471 +;TargetProduct= 0x1234 + +;MessageContent="5553424312345678000000000000061b000000030000000000000000000000" + + +######################################################## +# HuaXing E600 (NXP Semiconductors "Dragonfly") +# +# Contributor: Emfox Zhou + +;DefaultVendor= 0x0471 +;DefaultProduct= 0x1237 + +;TargetVendor= 0x0471 +;TargetProduct= 0x1206 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + +;Configuration=2 + + +######################################################## +# ZTE K3565 +# + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0x2000 + +;TargetVendor= 0x19d2 +;TargetProduct= 0x0063 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# Motorola 802.11 bg WLAN (TER/GUSB3-E) +# +# Contributor: Prashad Prashant + +;DefaultVendor= 0x148f +;DefaultProduct= 0x2578 + +;TargetVendor= 0x148f +;TargetProduct= 0x9021 + +;MessageContent="55534243908ecd89000000000000061b000000020000000000000000000000" + + +######################################################## +# Huawei E1612 +# +# Contributor: Genar Codina + +;DefaultVendor= 0x12d1 +;DefaultProduct= 0x1446 + +;TargetVendor= 0x12d1 +;TargetProduct= 0x1406 + +;MessageContent="55534243123456780000000000000011060000000000000000000000000000" + + +######################################################## +# Huawei E1690 +# Huawei E1692 +# Huawei E1762 +# +# Contributor: Carolin Latze and others + +;DefaultVendor= 0x12d1 +;DefaultProduct= 0x1446 + +;TargetVendor= 0x12d1 +;TargetProduct= 0x140c + +;MessageContent="55534243123456780000000000000011060000000000000000000000000000" + + +######################################################## +# C-motech CHU-629S +# + +;DefaultVendor= 0x16d8 +;DefaultProduct= 0x700a + +;TargetClass=0xff + +;MessageContent="55534243123456782400000080000dfe524445564348473d4e444953000000" + + +######################################################## +# Sagem F@ST 9520-35-GLR +# +# Contributor: Yaroslav Levandovskiy + +;DefaultVendor= 0x1076 +;DefaultProduct= 0x7f40 + +;TargetVendor= 0x1076 +;TargetProduct= 0x7f00 + +# Since version 1.0.6 !! +;GCTMode=1 + + +######################################################## +# Nokia CS-15 +# +# Contributor: Antti Turunen + +;DefaultVendor= 0x0421 +;DefaultProduct= 0x0610 + +;TargetVendor= 0x0421 +;TargetProduct= 0x0612 + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# Huawei K3765 +# +# Contributor: Felix Schwarz + +;DefaultVendor= 0x12d1 +;DefaultProduct= 0x1520 + +;TargetVendor= 0x12d1 +;TargetProduct= 0x1465 + +;MessageContent="55534243123456780000000000000011060000000000000000000000000000" + +######################################################## +# Huawei K4505 +# +# Contributor: Nikolaos Koutsianas + +;DefaultVendor= 0x12d1 +;DefaultProduct= 0x1521 + +;TargetVendor= 0x12d1 +;TargetProduct= 0x1464 + +;MessageContent="55534243123456780000000000000011060000000000000000000000000000" + + +######################################### +# Vodafone MD950 (Wisue Technology) +# +# Contributor: Bob Williams + +;DefaultVendor= 0x0471 +;DefaultProduct= 0x1210 + +# The report said that giving the target IDs prevented +# the device from switching. Got to try it out ... + +#TargetVendor= 0x1dbc +#TargetProduct= 0x0005 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# Siptune LM-75 ("LinuxModem") +# +# Contributor: Antti Turunen + +;DefaultVendor= 0x05c6 +;DefaultProduct= 0xf000 + +;TargetVendor= 0x05c6 +;TargetProduct= 0x9000 + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# Zydas ZD1211RW WLAN USB, Sphairon HomeLink 1202 (Variant 1) +# +# WLAN devices from Linux kernel + +;DefaultVendor= 0x0ace +;DefaultProduct= 0x2011 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# Zydas ZD1211RW WLAN USB, Sphairon HomeLink 1202 (Variant 2) +# +# WLAN devices from Linux kernel + +;DefaultVendor= 0x0ace +;DefaultProduct= 0x20ff + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# Vertex Wireless 100 Series +# +# Contributor: Reinis Danne + +;DefaultVendor= 0x05c6 +;DefaultProduct= 0x1000 + +;TargetVendor= 0x1fe7 +;TargetProduct= 0x0100 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# AVM Fritz!Wlan USB Stick N +# + +;DefaultVendor= 0x057c +;DefaultProduct= 0x84ff + +;TargetVendor= 0x057c +;TargetProduct= 0x8401 + +;MessageContent="5553424312345678000000000000061b000000ff0000000000000000000000" + + +######################################################## +# InfoCert Business Key (SmartCard/Reader emulation) +# +# Contributor: Bicio + +;DefaultVendor= 0x072f +;DefaultProduct= 0x100d + +;TargetVendor= 0x072f +;TargetProduct= 0x90cc + +# only for reference and 0.x versions +# MessageEndpoint=0x02 + +;MessageContent="01b0000000000000000000000000000000000000000000000000000000000000" + + +######################################################## +# UTStarcom UM185E (distributor "Alltel") +# +# Contributor: Jason Smith + +;DefaultVendor= 0x106c +;DefaultProduct= 0x3b06 + +;TargetVendor= 0x106c +;TargetProduct= 0x3717 + +# only for reference and 0.x versions +# MessageEndpoint=0x05 + +;MessageContent="55534243b82e238c24000000800008ff020000000000000000000000000000 + + +######################################################## +# ZTE AC581 +# +# Contributor: Alberto Maurizi + +;DefaultVendor= 0x19d2 +;DefaultProduct= 0x0026 + +;TargetVendor= 0x19d2 +;TargetProduct= 0x0094 + +# only for reference and 0.x versions +# MessageEndpoint=0x02 + +;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" + + +######################################################## +# Huawei U7510 / U7517 +# +# Contributor: Isaac Salgado + +;DefaultVendor= 0x12d1 +;DefaultProduct= 0x101e + +;TargetClass=0xff + +# only for reference and 0.x versions +# MessageEndpoint=0x01 + +MessageContent="55534243123456780600000080000601000000000000000000000000000000" + + +######################################################## +# Beceem BCSM250 +# +# Contributor: Alexander Gordeev + +;DefaultVendor= 0x198f +;DefaultProduct=0xbccd + +;TargetVendor= 0x198f +;TargetProduct= 0x0220 + +# only for reference and 0.x versions +# MessageEndpoint=2 + +MessageContent="55534243f0298d8124000000800006bc626563240000000000000000000000" + + +######################################################## +# LG HDM-2100 (EVDO Rev.A USB modem) +# +# Contributor: Jérôme Oufella + +;DefaultVendor= 0x1004 +;DefaultProduct=0x607f + +;TargetVendor= 0x1004 +;TargetProduct= 0x6114 + +# only for reference and 0.x versions +# MessageEndpoint=8 + +;MessageContent="1201100102000040041014610000010200018006000100001200" + + +######################################################## +# Kyocera W06K CDMA modem +# +# Contributor: Ying-Hung Lo + +;DefaultVendor= 0x0482 +;DefaultProduct=0x024d + +;Configuration=2 + + +######################################################## +# Digicom 8E4455 +# +# Contributor: Alberto Ciampini + +;DefaultVendor= 0x1266 +;DefaultProduct=0x1000 + +;TargetVendor= 0x1266 +;TargetProduct= 0x1009 + +;NeedResponse=1 + +# only for reference and 0.x versions +# MessageEndpoint=1 + +;MessageContent="5553424312345678000000000000061e000000000000000000000000000000" +;MessageContent2="5553424387654321000000000000061b000000020000000000000000000000" + + +######################################################## +# Sony Ericsson MD300 +# +# Contributor: Betavine Project + +;DefaultVendor= 0x0fce +;DefaultProduct=0xd0cf + +;TargetClass=0x02 + +;DetachStorageOnly=1 +;Configuration=3 + + +######################################################## +# Franklin Wireless U210 +# +# Contributor: Adam J. Porter + +;DefaultVendor= 0x1fac +;DefaultProduct=0x0130 + +;TargetVendor= 0x1fac +;TargetProduct= 0x0131 + +;CheckSuccess=20 + +;MessageContent="555342431234567824000000800108df200000000000000000000000000000" + + |
