From ced6b0ae4db3f51d51f20ef5b6d49e6093da2679 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Tue, 24 Jan 2012 12:00:22 +0000 Subject: [PATCH] updated on Tue Jan 24 12:00:22 UTC 2012 --- bin32-vmware-server-console/PKGBUILD | 4 +- dma/PKGBUILD | 7 +- gnome-shell-extension-gtile-git/PKGBUILD | 38 +++ gnome-shell-extension-mediaplayer-git/PKGBUILD | 2 +- .../gschemas.install | 0 gnome-shell-theme-anewstart/PKGBUILD | 2 +- google-chrome/PKGBUILD | 38 +-- identicurse-git/PKGBUILD | 44 ++++ jdk6-docs/PKGBUILD | 18 ++ linux-pf/CVE-2012-0056.patch | 267 +++++++++++++++++++++ linux-pf/PKGBUILD | 10 +- linuxtrack-svn/PKGBUILD | 13 +- mendeleydesktop/PKGBUILD | 13 +- powaur/PKGBUILD | 4 +- simpy/PKGBUILD | 5 +- 15 files changed, 425 insertions(+), 40 deletions(-) create mode 100644 gnome-shell-extension-gtile-git/PKGBUILD mode change 100644 => 100755 gnome-shell-extension-mediaplayer-git/gschemas.install mode change 100644 => 100755 gnome-shell-theme-anewstart/PKGBUILD create mode 100644 identicurse-git/PKGBUILD create mode 100644 jdk6-docs/PKGBUILD create mode 100644 linux-pf/CVE-2012-0056.patch diff --git a/bin32-vmware-server-console/PKGBUILD b/bin32-vmware-server-console/PKGBUILD index f52a759cf..8d52b362b 100644 --- a/bin32-vmware-server-console/PKGBUILD +++ b/bin32-vmware-server-console/PKGBUILD @@ -3,12 +3,12 @@ pkgname=bin32-vmware-server-console pkgver=1.0.10 -pkgrel=3 +pkgrel=4 pkgdesc="Remote console for VMware Server" arch=('x86_64') url="http://www.vmware.com/products/server/" license=('custom') -depends=('lib32-glibmm' 'lib32-libgnomecanvas' 'lib32-libxdamage' 'lib32-librsvg' 'lib32-libxt' 'lib32-libxtst' 'lib32-libstdc++5' 'perl') +depends=('lib32-glibmm' 'lib32-libgnomecanvas' 'lib32-libxdamage' 'lib32-libxt' 'lib32-libxtst' 'lib32-libstdc++5' 'perl') options=('!strip' '!libtool') install=bin32-vmware-server-console.install noextract=(bin32-vmware-server-console-add-libs.tar.gz) diff --git a/dma/PKGBUILD b/dma/PKGBUILD index cad13a074..36ec6a6f7 100644 --- a/dma/PKGBUILD +++ b/dma/PKGBUILD @@ -1,9 +1,8 @@ -# Contributor: 458italia # Contributor: Michael Krauss # $Id: PKGBUILD,v 1.2 2010/12/25 18:46:11 andres Exp $ pkgname="dma" -pkgver=0.5 +pkgver=0.7 pkgrel=1 pkgdesc="DragonFly BSD mail transport agent" url="https://gitorious.org/dma" @@ -13,7 +12,7 @@ depends=('openssl') backup=('etc/dma/auth.conf' 'etc/dma/dma.conf') arch=('i686' 'x86_64') source=("https://github.com/corecode/dma/tarball/v$pkgver") -sha256sums=('63b45c1b3fc3058f26aa59c5e29c8352ebe47a778fedbd2c33b52a3f3b2b55c6') +sha256sums=('56a84a2a00b89f1abe6761657036a553aa9f1e9b0826abbace13609aea545e50') build() { cd corecode-dma-* @@ -28,4 +27,4 @@ package() { install -d -m 755 $pkgdir/usr/share/licenses/$pkgname install LICENSE $pkgdir/usr/share/licenses/$pkgname -} \ No newline at end of file +} diff --git a/gnome-shell-extension-gtile-git/PKGBUILD b/gnome-shell-extension-gtile-git/PKGBUILD new file mode 100644 index 000000000..f78858bce --- /dev/null +++ b/gnome-shell-extension-gtile-git/PKGBUILD @@ -0,0 +1,38 @@ +#Maintainer: Juanma Hernandez + +pkgname=gnome-shell-extension-gtile-git +pkgver=20120124 +pkgrel=2 +pkgdesc="A GNOME Shell Extension to tile your windows as you like. It even supports multiscreen" +arch=('any') +url="https://github.com/vibou/vibou.gTile" +license=('none') +depends=('gnome-shell-extensions-common>=3.2.0') +optdepends=('gnome-tweak-tool: A tool to customize advanced GNOME 3 options.') +makedepends=('git' 'gnome-common') + +_gitroot=$url +_gitname="gnome-shell-extension-gtile" + +build() { + cd "$srcdir" + msg "Connecting to GIT server...." + + if [ -d $_gitname ] ; then + cd $_gitname && git pull origin + msg "The local files are updated." + else + git clone $_gitroot $_gitname + fi + + msg "GIT checkout done or server timeout" +} + +_extpath="$pkgdir/usr/share/gnome-shell/extensions" +_extname="gTile@vibou" + +package() { + mkdir -p "$_extpath/$_extname" + cd "$srcdir/$_gitname" + cp -r * "$_extpath/$_extname" +} diff --git a/gnome-shell-extension-mediaplayer-git/PKGBUILD b/gnome-shell-extension-mediaplayer-git/PKGBUILD index 993d6ea6d..44d6ebb12 100755 --- a/gnome-shell-extension-mediaplayer-git/PKGBUILD +++ b/gnome-shell-extension-mediaplayer-git/PKGBUILD @@ -5,7 +5,7 @@ pkgrel=1 pkgdesc="A mediaplayer indicator for the Gnome Shell" arch=('any') url="https://github.com/eonpatapon/gnome-shell-extensions-mediaplayer" -license=('GPL3') +license=('GPL2') depends=('gnome-shell') makedepends=('git' 'intltool' 'gnome-common') optdepends=("mpdris2-git: MPD support") diff --git a/gnome-shell-extension-mediaplayer-git/gschemas.install b/gnome-shell-extension-mediaplayer-git/gschemas.install old mode 100644 new mode 100755 diff --git a/gnome-shell-theme-anewstart/PKGBUILD b/gnome-shell-theme-anewstart/PKGBUILD old mode 100644 new mode 100755 index 2c00b0950..76369ee4a --- a/gnome-shell-theme-anewstart/PKGBUILD +++ b/gnome-shell-theme-anewstart/PKGBUILD @@ -9,7 +9,7 @@ arch=('any') depends=('gnome-shell') optdepends=('gnome-tweak-tool: Easy theme switcher') source=('http://www.deviantart.com/download/268147359/gnome_shell___anewstart_by_alecive-d4fnbtr.zip') -md5sums=('ebdcf68e1ffd00115c2ef3fc1de36ff7') +md5sums=('6cd64fba481f1c293c6bf6112968d8f7') package() { cd $srcdir diff --git a/google-chrome/PKGBUILD b/google-chrome/PKGBUILD index 8cffad389..132d319e7 100644 --- a/google-chrome/PKGBUILD +++ b/google-chrome/PKGBUILD @@ -1,39 +1,37 @@ # Maintainer: t3ddy # Contributor: Lex Rivera aka x-demon # Contributor: Det +# Contributor: ruario pkgname=google-chrome -pkgver=16.0.912.75 # Check for new Linux releases in: http://googlechromereleases.blogspot.com/search/label/Stable%20updates +pkgver=16.0.912.77 # Check for new Linux releases in: http://googlechromereleases.blogspot.com/search/label/Stable%20updates pkgrel=1 pkgdesc="An attempt at creating a safer, faster, and more stable browser (Stable Channel)" arch=('i686' 'x86_64') url="http://www.google.com/chrome" license=('custom:chrome') depends=('alsa-lib' 'gconf' 'gtk2' 'hicolor-icon-theme' 'libpng12' 'libxslt' 'libxss' 'nss' 'xdg-utils') -optdepends=('gecko-mediaplayer') +optdepends=('gecko-mediaplayer' 'kdebase-kdialog') provides=("google-chrome=$pkgver") conflicts=('google-chrome') install=${pkgname}.install _channel='stable' +_verbld=16.0.912.77-118311 if [ "$CARCH" = "i686" ]; then _arch='i386' - md5sums=('56448e2a59317a0cc87c6b11ca81b5a0') + md5sums=('f22fd9f2ae82e8fe0c33585e0e7c6c5a') elif [ "$CARCH" = "x86_64" ]; then - _arch='amd64' + _arch='x86_64' optdepends+=('flashplugin') - md5sums=('08c9b912e4732874e695362d476bf348') + md5sums=('23fc88c72a02e801223813723ed012f6') fi -source=("http://dl.google.com/linux/direct/google-chrome-${_channel}_current_${_arch}.deb") +source=("http://dl.google.com/linux/chrome/rpm/stable/${_arch}/google-chrome-${_channel}-${_verbld}.${_arch}.rpm") -package() { - msg "Extracting the Google Chrome package" - ar -xv google-chrome-${_channel}_current_${_arch}.deb - tar -xvf data.tar.lzma - msg2 "Done extracting!" +package() { msg "Preparing install" install -d "$pkgdir"/{opt,usr/{bin,share/applications}} mv -v opt/google "$pkgdir"/opt @@ -44,6 +42,12 @@ package() { ln -sv /usr/lib/mozilla/plugins "$pkgdir/opt/google/chrome" mv -v "$pkgdir/opt/google/chrome/google-chrome.desktop" "$pkgdir/usr/share/applications" + # Adding man page + if [ ! -e "$srcdir/usr/share/man/man1/google-chrome.1.gz" ]; then + gzip -9 "$srcdir/usr/share/man/man1/google-chrome.1" + fi + install -Dm644 "$srcdir/usr/share/man/man1/google-chrome.1.gz" "$pkgdir/usr/share/man/man1/google-chrome.1.gz" + mkdir "$pkgdir/opt/google/chrome/lib" cd "$pkgdir/opt/google/chrome/lib" ln -sv /usr/lib/libnspr4.so libnspr4.so.0d @@ -54,11 +58,15 @@ package() { ln -sv /usr/lib/libsmime3.so libsmime3.so.1d ln -sv /usr/lib/libssl3.so libssl3.so.1d - # Installing icons to /usr/share/icons/hicolor/ - for i in 16 32 48 256; - do - install -D "$pkgdir/opt/google/chrome/product_logo_${i}.png" "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/google-chrome.png" + # Symlinking icons to /usr/share/icons/hicolor/ + for png in "$pkgdir/opt/google/chrome/product_logo_"*.png; do + pngsize="${png##*/product_logo_}" + mkdir -p "$pkgdir/usr/share/icons/hicolor/"${pngsize%.png}x${pngsize%.png}/apps + (cd "$pkgdir/usr/share/icons/hicolor/${pngsize%.png}x${pngsize%.png}/apps/"; ln -s ../../../../../../opt/google/chrome/product_logo_${pngsize} google-chrome.png) done + # Fixing permissions of chrome-sandbox + chmod 4755 "$pkgdir/opt/google/chrome/chrome-sandbox" + msg2 "Installation finished!" } diff --git a/identicurse-git/PKGBUILD b/identicurse-git/PKGBUILD new file mode 100644 index 000000000..44d14e116 --- /dev/null +++ b/identicurse-git/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: timttmy + + +pkgname='identicurse-git' +_pkgname=identicurse +pkgver=20120122 +pkgrel=1 +pkgdesc="Curses-based identi.ca/status.net client - latest git revision" +arch=('any') +url="http://identicurse.net" +license=('GPL3') +depends=('python2' 'ncurses') +provides=('identicurse') +optdepends=() +makedepends=('git' 'python2-distribute') +#install=(identicurse.install) + +_gitroot="git://gitorious.org/identicurse/identicurse.git" +_gitname="identicurse" + +build() { + cd "$srcdir" + msg "Connecting to GIT server...." + + if [ -d $_gitname ] ; then + cd $_gitname && git pull origin + msg "The local files are updated." + else + git clone $_gitroot $_gitname + fi + + msg "GIT checkout done or server timeout" + + cd "$srcdir/$_gitname" + + msg "" + +msg "Starting make..." + + python2 setup.py install --prefix=/usr --install-data=/usr/share --root="$pkgdir" || return 1 + install -m 644 $srcdir/$_gitname/README "$pkgdir/usr/lib/python2.7/site-packages/identicurse/README" || return 1 + install -m 644 $srcdir/$_gitname/conf/config.json "$pkgdir/usr/lib/python2.7/site-packages/identicurse/config.json" || return 1 +} + diff --git a/jdk6-docs/PKGBUILD b/jdk6-docs/PKGBUILD new file mode 100644 index 000000000..923b48a0d --- /dev/null +++ b/jdk6-docs/PKGBUILD @@ -0,0 +1,18 @@ +# Contributor: Andrea Scarpino + +pkgname=jdk6-docs +pkgver=6_b30_1 +pkgrel=1 +pkgdesc="Java SE Development Kit Documentation 6" +arch=('any') +url="http://java.sun.com/" +license=('custom') +options=('docs') +md5sums=('bb70bdc15b4ec322191660c90adb99ba') +source=('http://download.oracle.com/otn-pub/java/jdk/6u30-b12/jdk-6u30-apidocs.zip') + +build(){ + cd "$srcdir/docs" || return 1 + mkdir -p "$pkgdir/usr/share/doc/java" || return 1 + cp -rf * "$pkgdir/usr/share/doc/java" || return 1 +} diff --git a/linux-pf/CVE-2012-0056.patch b/linux-pf/CVE-2012-0056.patch new file mode 100644 index 000000000..444dfbfb0 --- /dev/null +++ b/linux-pf/CVE-2012-0056.patch @@ -0,0 +1,267 @@ +From e268337dfe26dfc7efd422a804dbb27977a3cccc Mon Sep 17 00:00:00 2001 +From: Linus Torvalds +Date: Tue, 17 Jan 2012 15:21:19 -0800 +Subject: [PATCH] proc: clean up and fix /proc//mem handling +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf8 +Content-Transfer-Encoding: 8bit + +Jüri Aedla reported that the /proc//mem handling really isn't very +robust, and it also doesn't match the permission checking of any of the +other related files. + +This changes it to do the permission checks at open time, and instead of +tracking the process, it tracks the VM at the time of the open. That +simplifies the code a lot, but does mean that if you hold the file +descriptor open over an execve(), you'll continue to read from the _old_ +VM. + +That is different from our previous behavior, but much simpler. If +somebody actually finds a load where this matters, we'll need to revert +this commit. + +I suspect that nobody will ever notice - because the process mapping +addresses will also have changed as part of the execve. So you cannot +actually usefully access the fd across a VM change simply because all +the offsets for IO would have changed too. + +Reported-by: Jüri Aedla +Cc: Al Viro +Signed-off-by: Linus Torvalds +--- + fs/proc/base.c | 145 +++++++++++++++----------------------------------------- + 1 files changed, 39 insertions(+), 106 deletions(-) + +diff --git a/fs/proc/base.c b/fs/proc/base.c +index 5485a53..662ddf2 100644 +--- a/fs/proc/base.c ++++ b/fs/proc/base.c +@@ -198,65 +198,7 @@ static int proc_root_link(struct dentry *dentry, struct path *path) + return result; + } + +-static struct mm_struct *__check_mem_permission(struct task_struct *task) +-{ +- struct mm_struct *mm; +- +- mm = get_task_mm(task); +- if (!mm) +- return ERR_PTR(-EINVAL); +- +- /* +- * A task can always look at itself, in case it chooses +- * to use system calls instead of load instructions. +- */ +- if (task == current) +- return mm; +- +- /* +- * If current is actively ptrace'ing, and would also be +- * permitted to freshly attach with ptrace now, permit it. +- */ +- if (task_is_stopped_or_traced(task)) { +- int match; +- rcu_read_lock(); +- match = (ptrace_parent(task) == current); +- rcu_read_unlock(); +- if (match && ptrace_may_access(task, PTRACE_MODE_ATTACH)) +- return mm; +- } +- +- /* +- * No one else is allowed. +- */ +- mmput(mm); +- return ERR_PTR(-EPERM); +-} +- +-/* +- * If current may access user memory in @task return a reference to the +- * corresponding mm, otherwise ERR_PTR. +- */ +-static struct mm_struct *check_mem_permission(struct task_struct *task) +-{ +- struct mm_struct *mm; +- int err; +- +- /* +- * Avoid racing if task exec's as we might get a new mm but validate +- * against old credentials. +- */ +- err = mutex_lock_killable(&task->signal->cred_guard_mutex); +- if (err) +- return ERR_PTR(err); +- +- mm = __check_mem_permission(task); +- mutex_unlock(&task->signal->cred_guard_mutex); +- +- return mm; +-} +- +-struct mm_struct *mm_for_maps(struct task_struct *task) ++static struct mm_struct *mm_access(struct task_struct *task, unsigned int mode) + { + struct mm_struct *mm; + int err; +@@ -267,7 +209,7 @@ struct mm_struct *mm_for_maps(struct task_struct *task) + + mm = get_task_mm(task); + if (mm && mm != current->mm && +- !ptrace_may_access(task, PTRACE_MODE_READ)) { ++ !ptrace_may_access(task, mode)) { + mmput(mm); + mm = ERR_PTR(-EACCES); + } +@@ -276,6 +218,11 @@ struct mm_struct *mm_for_maps(struct task_struct *task) + return mm; + } + ++struct mm_struct *mm_for_maps(struct task_struct *task) ++{ ++ return mm_access(task, PTRACE_MODE_READ); ++} ++ + static int proc_pid_cmdline(struct task_struct *task, char * buffer) + { + int res = 0; +@@ -752,38 +699,39 @@ static const struct file_operations proc_single_file_operations = { + + static int mem_open(struct inode* inode, struct file* file) + { +- file->private_data = (void*)((long)current->self_exec_id); ++ struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode); ++ struct mm_struct *mm; ++ ++ if (!task) ++ return -ESRCH; ++ ++ mm = mm_access(task, PTRACE_MODE_ATTACH); ++ put_task_struct(task); ++ ++ if (IS_ERR(mm)) ++ return PTR_ERR(mm); ++ + /* OK to pass negative loff_t, we can catch out-of-range */ + file->f_mode |= FMODE_UNSIGNED_OFFSET; ++ file->private_data = mm; ++ + return 0; + } + + static ssize_t mem_read(struct file * file, char __user * buf, + size_t count, loff_t *ppos) + { +- struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode); ++ int ret; + char *page; + unsigned long src = *ppos; +- int ret = -ESRCH; +- struct mm_struct *mm; ++ struct mm_struct *mm = file->private_data; + +- if (!task) +- goto out_no_task; ++ if (!mm) ++ return 0; + +- ret = -ENOMEM; + page = (char *)__get_free_page(GFP_TEMPORARY); + if (!page) +- goto out; +- +- mm = check_mem_permission(task); +- ret = PTR_ERR(mm); +- if (IS_ERR(mm)) +- goto out_free; +- +- ret = -EIO; +- +- if (file->private_data != (void*)((long)current->self_exec_id)) +- goto out_put; ++ return -ENOMEM; + + ret = 0; + +@@ -810,13 +758,7 @@ static ssize_t mem_read(struct file * file, char __user * buf, + } + *ppos = src; + +-out_put: +- mmput(mm); +-out_free: + free_page((unsigned long) page); +-out: +- put_task_struct(task); +-out_no_task: + return ret; + } + +@@ -825,27 +767,15 @@ static ssize_t mem_write(struct file * file, const char __user *buf, + { + int copied; + char *page; +- struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode); + unsigned long dst = *ppos; +- struct mm_struct *mm; ++ struct mm_struct *mm = file->private_data; + +- copied = -ESRCH; +- if (!task) +- goto out_no_task; ++ if (!mm) ++ return 0; + +- copied = -ENOMEM; + page = (char *)__get_free_page(GFP_TEMPORARY); + if (!page) +- goto out_task; +- +- mm = check_mem_permission(task); +- copied = PTR_ERR(mm); +- if (IS_ERR(mm)) +- goto out_free; +- +- copied = -EIO; +- if (file->private_data != (void *)((long)current->self_exec_id)) +- goto out_mm; ++ return -ENOMEM; + + copied = 0; + while (count > 0) { +@@ -869,13 +799,7 @@ static ssize_t mem_write(struct file * file, const char __user *buf, + } + *ppos = dst; + +-out_mm: +- mmput(mm); +-out_free: + free_page((unsigned long) page); +-out_task: +- put_task_struct(task); +-out_no_task: + return copied; + } + +@@ -895,11 +819,20 @@ loff_t mem_lseek(struct file *file, loff_t offset, int orig) + return file->f_pos; + } + ++static int mem_release(struct inode *inode, struct file *file) ++{ ++ struct mm_struct *mm = file->private_data; ++ ++ mmput(mm); ++ return 0; ++} ++ + static const struct file_operations proc_mem_operations = { + .llseek = mem_lseek, + .read = mem_read, + .write = mem_write, + .open = mem_open, ++ .release = mem_release, + }; + + static ssize_t environ_read(struct file *file, char __user *buf, +-- +1.7.6.5 diff --git a/linux-pf/PKGBUILD b/linux-pf/PKGBUILD index 99d57191c..2f9a8e7e5 100644 --- a/linux-pf/PKGBUILD +++ b/linux-pf/PKGBUILD @@ -17,7 +17,7 @@ _pfpatchname="patch-${_basekernel}.${_pfrel}${_kernelname}.bz2" pkgname=('linux-pf') true && pkgname=('linux-pf' 'linux-pf-headers') pkgver=${_basekernel}.${_pfrel} -pkgrel=4 +pkgrel=6 arch=('i686' 'x86_64') url="http://pf.natalenko.name/" license=('GPL2') @@ -35,6 +35,7 @@ source=(ftp://www.kernel.org/pub/linux/kernel/v${_major}.x/linux-${_basekernel}. i915-gpu-finish.patch i915-fix-ghost-tv-output.patch usb-add-reset-resume-quirk-for-several-webcams.patch + CVE-2012-0056.patch # avoid local priviledge escalation by SUID ${_pfpatchhome}${_pfpatchname}) # the -pf patchset _aufs3git="git://aufs.git.sourceforge.net/gitroot/aufs/aufs3-standalone.git" @@ -46,6 +47,10 @@ build() { cd ${srcdir}/linux-${_basekernel} # This is for me, to test the PKGBUILD if [[ $NOEXTRACT = "0" ]]; then + + # Local root exploit fix: http://blog.zx2c4.com/749 + patch -p1 -i "${srcdir}/CVE-2012-0056.patch" + # Arch linux logo msg "Replacing penguins with arches" bzip2 -dk ${startdir}/logo_linux_*.bz2 @@ -67,6 +72,7 @@ if [[ $NOEXTRACT = "0" ]]; then cd .. cp -a ${_aufs3name}/{Documentation,fs,include} ${srcdir}/linux-${_basekernel}/ for _patch in ${_aufs3name}/*.patch; do + msg "Patching aufs3" patch -Np1 < ${_patch} || _aufs3fail=KRAKRA done if [[ ${_aufs3fail} = "KRAKRA" ]]; then @@ -77,6 +83,7 @@ if [[ $NOEXTRACT = "0" ]]; then fi fi + # add latest fixes from stable queue, if needed # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git @@ -538,4 +545,5 @@ sha256sums=('dd96ed02b53fb5d57762e4b1f573460909de472ca588f81ec6660e4a172e7ba7' 'f0ab8d5f2c1ab29b5bcc1d7be251f36796489bae2f6486fac49595fa4c895770' '4bc5a3fc40bf60bd4b362b519219cae56141a9f209bd2cf6bed25c1bd434e2cc' '549a33278c17af6aa9ca5d3cf2abe3a0b1010d7c66e53d2a357a38ace25f8ea1' + '7782b725f2ecdbf5849e2571184164e95067bad65eb2f34f8fbd0dbd7f9bfaf4' '847981649407470de69dc989e8a1a5b44eae75c5403d46e863ce6bacd47c25fb') diff --git a/linuxtrack-svn/PKGBUILD b/linuxtrack-svn/PKGBUILD index 58aa73504..68852d181 100644 --- a/linuxtrack-svn/PKGBUILD +++ b/linuxtrack-svn/PKGBUILD @@ -1,14 +1,19 @@ # Creator: Cristóvão Duarte Sousa pkgname=linuxtrack-svn pkgver=522 -pkgrel=1 +pkgrel=2 pkgdesc="Software for head motion tracking on linux/MacOSX" arch=('i686' 'x86_64') url="http://code.google.com/p/linux-track/" -license=('GPL') +license=('MIT License') groups=() -depends=() -makedepends=('subversion' 'gcc-objc') +depends=('libusb' 'v4l-utils' 'zlib' 'qt') +optdepends=('wiiuse: for Wiimote') +makedepends=('subversion' 'gcc-objc-multilib') +if [[ $CARCH == 'i686' ]]; then + # Strip "-multilib" on i686 + makedepends=(${makedepends[@]/*-multilib*/}) +fi provides=() conflicts=() replaces=() diff --git a/mendeleydesktop/PKGBUILD b/mendeleydesktop/PKGBUILD index 1cbc1d7ff..ebe58c435 100644 --- a/mendeleydesktop/PKGBUILD +++ b/mendeleydesktop/PKGBUILD @@ -1,8 +1,8 @@ ##maintainer Meow < meow at linux dot cn > pkgname=mendeleydesktop -pkgver=1.3 -pkgrel=2 +pkgver=1.3.1 +pkgrel=1 pkgdesc="Academic software for managing and sharing research papers (desktop client)" url=http://www.mendeley.com/release-notes/ arch=(i686 x86_64) @@ -16,12 +16,10 @@ _arch=$CARCH source=("http://download.mendeley.com/linux/$pkgname-$pkgver-linux-$_arch.tar.bz2" 'mendeleydesktop.install') -md5sums=('df8b69ee4a12fe65643d06c6b9925240' +md5sums=('9a733e695c49c348759a8493a07d8910' '16358cd53dc258a72efcaeab5a415217') -if [[ $CARCH = x86_64 ]]; then - md5sums[0]='4d0f77a37df5cb4912d0daee22a639b5' -fi +[[ $CARCH = x86_64 ]] && md5sums[0]='18715f40a084d99ff35141488aa0fd45' package() { cd "$pkgname-$pkgver-linux-$_arch" @@ -43,7 +41,8 @@ package() { install -dm755 "$pkgdir"/usr/share/applications ln -s /opt/"$pkgname"/share/applications/mendeleydesktop.desktop "$pkgdir"/usr/share/applications/ - #force mendeley using bundled qt because which under qt 4.8 crashes at start point + #force mendeley to use bundled qt because which under qt 4.8 crashes at start point + #make sure you remove any old versions of ".desktop" file of mendeley under ~/.local/share/applications/ sed -i 's/^Exec.*$/& --force-bundled-qt/' "$pkgdir"/opt/"$pkgname"/share/applications/mendeleydesktop.desktop for size in 16 22 32 48 64 128;do install -dm755 "$pkgdir"/usr/share/icons/hicolor/${size}x${size}/apps diff --git a/powaur/PKGBUILD b/powaur/PKGBUILD index 1b669abad..0c50ed292 100644 --- a/powaur/PKGBUILD +++ b/powaur/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Pang Yan Han pkgname=powaur -pkgver=0.1.5.1 +pkgver=0.1.6 pkgrel=1 pkgdesc="An AUR helper with a pacman-like interface" arch=('i686' 'x86_64') @@ -9,7 +9,7 @@ license=('GPL') depends=('curl' 'yajl' 'pacman') source=("https://github.com/downloads/yanhan/powaur/$pkgname-$pkgver.tar.gz") noextract=() -md5sums=('bcb8c273c50f0f5d912a4e1e6ff9a77f') +md5sums=('322995712f881177fca5015279d2cd0f') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/simpy/PKGBUILD b/simpy/PKGBUILD index 168c071f2..848629078 100644 --- a/simpy/PKGBUILD +++ b/simpy/PKGBUILD @@ -1,6 +1,6 @@ # Contributor: Mathieu Clabaut pkgname=simpy -pkgver=2.2 +pkgver=2.3 pkgrel=1 pkgdesc="object-oriented, process-based discrete-event simulation language based on standard Python" arch=('any') @@ -23,7 +23,6 @@ build() { } -md5sums=('511efdf4454e77484a47dc001f7325d1') - +md5sums=('3f73c48944d291d221da4fc9ac735efe') # vim:set ts=2 sw=2 et: -- 2.11.4.GIT