summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-21 00:28:39 -0700
committerroot <root@rshg054.dnsready.net>2013-05-21 00:28:39 -0700
commite3f225daecfd5cfea4af1a4e8ac4b6c46c7ec363 (patch)
treeb3e36d93c34b5b08544b1698462c06fdb99560b8 /extra
parent383955a81810f344e11b1472bd4c5069fa77020c (diff)
Tue May 21 00:28:39 PDT 2013
Diffstat (limited to 'extra')
-rw-r--r--extra/avahi/PKGBUILD33
-rw-r--r--extra/avahi/rc.d.patch11
-rw-r--r--extra/clamav/PKGBUILD15
-rw-r--r--extra/clamav/conf.d8
-rw-r--r--extra/clamav/rc.d66
-rw-r--r--extra/clamav/service2
-rw-r--r--extra/dovecot/PKGBUILD8
-rw-r--r--extra/empathy/PKGBUILD6
-rw-r--r--extra/fontconfig/PKGBUILD10
-rw-r--r--extra/gparted/PKGBUILD21
-rw-r--r--extra/gparted/gparted.install7
-rw-r--r--extra/gparted/gparted_polkit6
-rw-r--r--extra/hddtemp/PKGBUILD14
-rw-r--r--extra/hddtemp/conf.d2
-rw-r--r--extra/hddtemp/rc.d39
-rw-r--r--extra/hddtemp/service3
-rw-r--r--extra/java7-openjdk/01_fix_openjdk_cmds_path.diff (renamed from extra/java7-openjdk/openjdk7_fix_jdk_cmds_path.diff)15
-rw-r--r--extra/java7-openjdk/02_fix_corba_cmds_path.diff (renamed from extra/java7-openjdk/fix_corba_cmds_path.diff)17
-rw-r--r--extra/java7-openjdk/PKGBUILD20
-rw-r--r--extra/konversation/PKGBUILD12
-rw-r--r--extra/licq/PKGBUILD23
-rw-r--r--extra/misdnuser/PKGBUILD55
-rw-r--r--extra/misdnuser/c2faxrecv-mISDNcapid.service11
-rw-r--r--extra/misdnuser/fix-compile-gcc48.patch15
-rw-r--r--extra/misdnuser/mISDNcapid.conf1
-rw-r--r--extra/misdnuser/mISDNcapid.service11
-rw-r--r--extra/pigeonhole/PKGBUILD8
-rw-r--r--extra/sqlite/PKGBUILD10
-rw-r--r--extra/vde2/PKGBUILD19
-rw-r--r--extra/vde2/vde.conf11
-rwxr-xr-xextra/vde2/vde.rc113
-rw-r--r--extra/vde2/vde2.install1
-rw-r--r--extra/weechat/PKGBUILD16
-rw-r--r--extra/weechat/ruby-2.0.0-crash-fix.diff76
-rw-r--r--extra/wireshark/01_patch-automake-1.13.diff11
-rw-r--r--extra/wireshark/PKGBUILD12
-rw-r--r--extra/wireshark/wireshark.install6
-rw-r--r--extra/x2goserver/PKGBUILD20
-rw-r--r--extra/x2goserver/revert.patch152
-rw-r--r--extra/x2goserver/x2goserver.install2
40 files changed, 397 insertions, 491 deletions
diff --git a/extra/avahi/PKGBUILD b/extra/avahi/PKGBUILD
index f9f628d40..13c7b4ff4 100644
--- a/extra/avahi/PKGBUILD
+++ b/extra/avahi/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 184361 2013-05-06 19:36:36Z foutrelis $
+# $Id: PKGBUILD 186027 2013-05-20 14:49:50Z bisson $
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=avahi
pkgver=0.6.31
-pkgrel=7
+pkgrel=9
pkgdesc='Multicast/unicast DNS-SD framework'
url='http://www.avahi.org/'
license=('LGPL')
@@ -29,31 +29,31 @@ backup=('etc/avahi/hosts'
'etc/avahi/services/sftp-ssh.service'
'usr/lib/avahi/service-types.db'
'usr/share/avahi/service-types')
-source=("http://www.avahi.org/download/avahi-${pkgver}.tar.gz"
- 'rc.d.patch')
-sha1sums=('7e05bd78572c9088b03b1207a0ad5aba38490684'
- '625ad7c131c0c1c383caeddef18fc7a32d8f3ab9')
+source=("http://www.avahi.org/download/avahi-${pkgver}.tar.gz")
+sha1sums=('7e05bd78572c9088b03b1207a0ad5aba38490684')
conflicts=('howl' 'mdnsresponder')
provides=('howl' 'mdnsresponder')
install=install
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ sed 's:netdev:network:g' -i avahi-daemon/avahi-dbus.conf
+ sed 's:/sbin/resolvconf:/usr/sbin/resolvconf:g' -i */*.action
+}
- sed -i 's/netdev/network/g' avahi-daemon/avahi-dbus.conf
- patch -p1 -i ../rc.d.patch
-
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
export MOC_QT3=/usr/bin/moc-qt3
export MOC_QT4=/usr/bin/moc-qt4
+ export PYTHON=/usr/bin/python2
- # pygtk requires python2; make it explicit in case other python are installed: FS#21865
- PYTHON=python2 \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --sbindir=/usr/bin \
--disable-static \
--disable-monodoc \
--enable-compat-libdns_sd \
@@ -70,12 +70,9 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
-
- cd "${pkgdir}"
- sed -i '1c #!/usr/bin/python2' usr/bin/avahi-{bookmarks,discover}
- sed -i 's:/sbin/resolvconf:/usr/sbin/resolvconf:g' etc/avahi/avahi-dnsconfd.action
+ rm -fr "${pkgdir}"/etc/rc.d
# howl and mdnsresponder compatability
- (cd usr/include; ln -s avahi-compat-libdns_sd/dns_sd.h dns_sd.h; ln -s avahi-compat-howl howl)
- (cd usr/lib/pkgconfig; ln -s avahi-compat-howl.pc howl.pc)
+ cd "${pkgdir}"/usr/include; ln -s avahi-compat-libdns_sd/dns_sd.h dns_sd.h; ln -s avahi-compat-howl howl
+ cd "${pkgdir}"/usr/lib/pkgconfig; ln -s avahi-compat-howl.pc howl.pc
}
diff --git a/extra/avahi/rc.d.patch b/extra/avahi/rc.d.patch
deleted file mode 100644
index fd735734b..000000000
--- a/extra/avahi/rc.d.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -aur old/initscript/archlinux/avahi-daemon.in new/initscript/archlinux/avahi-daemon.in
---- old/initscript/archlinux/avahi-daemon.in 2011-06-24 03:07:00.916170590 +0200
-+++ new/initscript/archlinux/avahi-daemon.in 2011-06-24 03:16:32.220596377 +0200
-@@ -33,6 +33,7 @@
-
- case "$1" in
- start)
-+ ck_daemon dbus && { echo -n "Start dbus first." >&2; stat_die; }
- stat_busy "Starting $DESC"
- $DAEMON -D > /dev/null 2>&1
- if [ $? -gt 0 ]; then
diff --git a/extra/clamav/PKGBUILD b/extra/clamav/PKGBUILD
index 92d1eca88..d6bb40f92 100644
--- a/extra/clamav/PKGBUILD
+++ b/extra/clamav/PKGBUILD
@@ -1,30 +1,26 @@
-# $Id: PKGBUILD 183595 2013-04-24 06:52:38Z bisson $
+# $Id: PKGBUILD 186028 2013-05-20 14:50:00Z bisson $
# Contributor: Dale Blount <dale@archlinux.org>
# Contributor: Gregor Ibic <gregor.ibic@intelicom.si>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=clamav
pkgver=0.97.8
-pkgrel=1
+pkgrel=2
pkgdesc='Anti-virus toolkit for Unix'
url='http://www.clamav.net/'
license=('GPL')
options=('!libtool')
arch=('i686' 'x86_64')
depends=('bzip2' 'libltdl')
-backup=('etc/clamav/clamd.conf' 'etc/clamav/freshclam.conf' 'etc/conf.d/clamav')
+backup=('etc/clamav/clamd.conf' 'etc/clamav/freshclam.conf')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
- 'rc.d'
- 'conf.d'
'service'
'service.fresh'
'logrotate'
'tmpfiles.d'
'config.patch')
sha1sums=('078c0ac2b4e69d27eecd7544a8361abcd859e73c'
- 'c9d508c1e5972f0f849d8694c1872455fa9e74de'
- 'cb116cdab49a810381a515cbcfb6a6c148547f07'
- 'df522b0488f3901e491f148c9300f6bae348c605'
+ 'b6ac0c5de1e5b41232b10d4f84e86201c370eaeb'
'cda9a087e5593992150cb456e34c5f6f589aca82'
'7cace58743a36dae3e63e5e0c6cc73ea5ef9a6ee'
'a224ea9b4d0f4f196827347d54bed51e11c197ea'
@@ -41,6 +37,7 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
+ --sbindir=/usr/bin \
--sysconfdir=/etc/clamav \
--with-dbdir=/var/lib/clamav \
--disable-clamav \
@@ -61,8 +58,6 @@ package() {
install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/clamd.service
install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/clamav.conf
install -Dm644 ../logrotate "${pkgdir}"/etc/logrotate.d/clamav
- install -Dm644 ../conf.d "${pkgdir}"/etc/conf.d/clamav
- install -Dm755 ../rc.d "${pkgdir}"/etc/rc.d/clamav
install -d -o 64 -g 64 "${pkgdir}"/run/clamav
install -d -o 64 -g 64 "${pkgdir}"/var/log/clamav
diff --git a/extra/clamav/conf.d b/extra/clamav/conf.d
deleted file mode 100644
index 9cd44d9f8..000000000
--- a/extra/clamav/conf.d
+++ /dev/null
@@ -1,8 +0,0 @@
-# clamav startup script config options
-
-# change these to "yes" to start
-START_FRESHCLAM="no"
-START_CLAMD="no"
-
-# Options to pass to freshclam (man freshclam for more info).
-FRESHCLAM_OPTS="-c 12"
diff --git a/extra/clamav/rc.d b/extra/clamav/rc.d
deleted file mode 100644
index 127c86c0f..000000000
--- a/extra/clamav/rc.d
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-[[ -f /etc/conf.d/clamav ]] && source /etc/conf.d/clamav
-
-PID_FC=$(pidof -o %PPID /usr/bin/freshclam)
-PID_CD=$(pidof -o %PPID /usr/sbin/clamd)
-
-case "$1" in
- start)
- if [[ $START_CLAMD = yes ]]; then
- stat_busy "Starting ClamD"
- [[ -z $PID_CD ]] && /usr/sbin/clamd
- if [[ $? -gt 0 ]]; then
- stat_fail
- else
- add_daemon clamav
- stat_done
- fi
- fi
- sleep 1
- if [[ $START_FRESHCLAM = yes ]]; then
- stat_busy "Starting FreshClam"
- [[ -z $PID_FC ]] && /usr/bin/freshclam -p /run/clamav/freshclam.pid -d $FRESHCLAM_OPTS
- if [[ $? -gt 0 ]]; then
- stat_fail
- else
- add_daemon clamav
- stat_done
- fi
- fi
- ;;
- stop)
- if [[ $START_CLAMD = yes ]]; then
- stat_busy "Stopping ClamD"
- [[ -n $PID_CD ]] && kill $PID_CD &> /dev/null
- if [[ $? -gt 0 ]]; then
- stat_fail
- else
- rm_daemon clamav
- stat_done
- fi
- fi
-
- if [[ $START_FRESHCLAM = yes ]]; then
- stat_busy "Stopping FreshClam"
- [[ -n $PID_FC ]] && kill $PID_FC &> /dev/null
- if [[ $? -gt 0 ]]; then
- stat_fail
- else
- rm_daemon clamav
- stat_done
- fi
- fi
- ;;
- restart)
- $0 stop
- sleep 2
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/clamav/service b/extra/clamav/service
index 5bf9eb14e..86608c40e 100644
--- a/extra/clamav/service
+++ b/extra/clamav/service
@@ -4,7 +4,7 @@ Description=clamav daemon
[Service]
Type=forking
PIDFile=/run/clamav/clamd.pid
-ExecStart=/usr/sbin/clamd
+ExecStart=/usr/bin/clamd
[Install]
WantedBy=multi-user.target
diff --git a/extra/dovecot/PKGBUILD b/extra/dovecot/PKGBUILD
index abc48f82d..e61ec921b 100644
--- a/extra/dovecot/PKGBUILD
+++ b/extra/dovecot/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 185725 2013-05-17 17:33:15Z andyrtr $
+# $Id: PKGBUILD 186001 2013-05-20 08:28:29Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Paul Mattal <paul@mattal.com>
# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
@@ -8,8 +8,8 @@
# --->>> remember to rebuild/bump pigeonhole in one step <<<---
pkgname=dovecot
-pkgver=2.2.1
-pkgrel=2
+pkgver=2.2.2
+pkgrel=1
pkgdesc="An IMAP and POP3 server written with security primarily in mind"
arch=('i686' 'x86_64')
url="http://dovecot.org/"
@@ -24,7 +24,7 @@ options=('!libtool')
install=$pkgname.install
source=(http://dovecot.org/releases/2.2/${pkgname}-${pkgver}.tar.gz{,.sig}
dovecot.tmpfilesd)
-md5sums=('6628f513ca841846176e81db870052f8'
+md5sums=('e6c011b4bbddf19e79205d012723449a'
'SKIP'
'342a28251d40f983c98c0d1f1bf3d07d')
diff --git a/extra/empathy/PKGBUILD b/extra/empathy/PKGBUILD
index b9c5774ea..a9f6b1a16 100644
--- a/extra/empathy/PKGBUILD
+++ b/extra/empathy/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 183346 2013-04-21 22:08:49Z heftig $
+# $Id: PKGBUILD 186006 2013-05-20 08:55:37Z heftig $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=empathy
-pkgver=3.8.1
+pkgver=3.8.2
pkgrel=1
pkgdesc="A GNOME instant messaging client using the Telepathy framework."
arch=(i686 x86_64)
@@ -19,7 +19,7 @@ options=('!libtool' '!makeflags')
groups=(gnome)
install=empathy.install
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
-sha256sums=('45accc06e9c1711741b0f1476971c7e705b57ea0718a2b10ee66c5dd0397b917')
+sha256sums=('a3e92d317a1a4e9b49988ea48a144bcd6c0257c6331aae2603a544eedf1dc45c')
build() {
cd $pkgname-$pkgver
diff --git a/extra/fontconfig/PKGBUILD b/extra/fontconfig/PKGBUILD
index f051c8010..3d41301cc 100644
--- a/extra/fontconfig/PKGBUILD
+++ b/extra/fontconfig/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 183357 2013-04-21 22:09:09Z heftig $
+# $Id: PKGBUILD 186044 2013-05-20 18:22:18Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=fontconfig
-pkgver=2.10.92
-pkgrel=4
+pkgver=2.10.93
+pkgrel=1
pkgdesc="A library for configuring and customizing font access"
arch=(i686 x86_64)
url="http://www.fontconfig.org/release/"
@@ -13,7 +13,7 @@ options=('!libtool')
install=fontconfig.install
source=(http://www.fontconfig.org/release/$pkgname-$pkgver.tar.bz2
29-replace-bitmap-fonts.conf git_fixes.diff)
-sha256sums=('1162059927120f2321f12917189b524e6b2f09e11ac643278d0bb82634035b22'
+sha256sums=('ea901f278848829ed9937d76fb0ce63ad362d7d5b9e75aa6a6b78bfef42e529c'
'2325c478783659e8fce79f5754119934d6ce21f81552f878b740c7b18f9fe0d6'
'7dc98137405ee0e5f98f3266a760a4da27d78e3c2bc7b7ef4db6b481df3c39f0')
@@ -24,7 +24,7 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
# post release fixes
- patch -Np1 -i ${srcdir}/git_fixes.diff
+ #patch -Np1 -i ${srcdir}/git_fixes.diff
# make sure there's no rpath trouble and sane .so versioning - FC and Gentoo do this as well
libtoolize -f
diff --git a/extra/gparted/PKGBUILD b/extra/gparted/PKGBUILD
index eaf8f656a..1d84e9d56 100644
--- a/extra/gparted/PKGBUILD
+++ b/extra/gparted/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 185866 2013-05-19 16:28:55Z giovanni $
+# $Id: PKGBUILD 185984 2013-05-20 05:43:08Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
# Contributor: György Balló <ballogy@freestart.hu>
pkgname=gparted
pkgver=0.16.1
-pkgrel=3
+pkgrel=4
pkgdesc="A Partition Magic clone, frontend to GNU Parted"
arch=('i686' 'x86_64')
url="http://gparted.sourceforge.net"
@@ -26,9 +26,11 @@ optdepends=('dosfstools: for FAT16 and FAT32 partitions'
'mtools: utilities to access MS-DOS disks')
install=gparted.install
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2"
- 'org.archlinux.pkexec.gparted.policy')
+ 'org.archlinux.pkexec.gparted.policy'
+ 'gparted_polkit')
md5sums=('3f399bff031b5ce14d11a8c346f4b89c'
- '122ed3120c846376bead22b25f6a3b19')
+ '122ed3120c846376bead22b25f6a3b19'
+ '9b70450ef7d17c282e9185e5869a4cec')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -45,14 +47,9 @@ package() {
make DESTDIR="${pkgdir}" install
# Install policy file
- install -Dm644 "${srcdir}/org.archlinux.pkexec.gparted.policy" "${pkgdir}/usr/share/polkit-1/actions/org.archlinux.pkexec.gparted.policy"
+ install -Dm644 "${srcdir}/org.archlinux.pkexec.gparted.policy" \
+ "${pkgdir}/usr/share/polkit-1/actions/org.archlinux.pkexec.gparted.policy"
# Install launcher script
- echo '#!/bin/sh' > ${pkgdir}/usr/bin/gparted_polkit
- echo 'if [ $(which pkexec) ]; then' >> ${pkgdir}/usr/bin/gparted_polkit
- echo ' pkexec --disable-internal-agent "/usr/bin/gparted" "$@"' >> ${pkgdir}/usr/bin/gparted_polkit
- echo 'else' >> ${pkgdir}/usr/bin/gparted_polkit
- echo ' /usr/bin/gparted "$@"' >> ${pkgdir}/usr/bin/gparted_polkit
- echo 'fi' >> ${pkgdir}/usr/bin/gparted_polkit
- chmod 755 ${pkgdir}/usr/bin/gparted_polkit
+ install -m755 "${srcdir}/gparted_polkit" "${pkgdir}/usr/bin/gparted_polkit"
}
diff --git a/extra/gparted/gparted.install b/extra/gparted/gparted.install
index e8f6bed8f..1a05f573e 100644
--- a/extra/gparted/gparted.install
+++ b/extra/gparted/gparted.install
@@ -1,14 +1,11 @@
post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- echo 'If you use a lightweight windowmanager, remember to run'
- echo '/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 to enable'
- echo 'graphical authentication, which may be needed for pkexec to work.'
}
post_upgrade() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ post_install
}
post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ post_install
}
diff --git a/extra/gparted/gparted_polkit b/extra/gparted/gparted_polkit
new file mode 100644
index 000000000..ebf9b13a3
--- /dev/null
+++ b/extra/gparted/gparted_polkit
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ $(which pkexec) ]; then
+ pkexec --disable-internal-agent "/usr/bin/gparted" "$@"
+else
+ /usr/bin/gparted "$@"
+fi
diff --git a/extra/hddtemp/PKGBUILD b/extra/hddtemp/PKGBUILD
index 94073ce8f..7d9238319 100644
--- a/extra/hddtemp/PKGBUILD
+++ b/extra/hddtemp/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 163630 2012-07-17 14:24:03Z bisson $
+# $Id: PKGBUILD 186029 2013-05-20 14:50:15Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
@@ -9,22 +9,17 @@ pkgname=hddtemp
_origver=0.3-beta15
_patchver=${_origver}-52
pkgver=${_patchver//-/.}
-pkgrel=1
+pkgrel=2
pkgdesc="Gives you the temperature of your hard drive by reading S.M.A.R.T. information"
url='https://savannah.nongnu.org/projects/hddtemp/'
license=('GPL')
arch=('i686' 'x86_64')
-backup=('etc/conf.d/hddtemp')
source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${_origver}.tar.bz2"
"http://ftp.debian.org/debian/pool/main/h/${pkgname}/${pkgname}_${_patchver}.diff.gz"
- 'rc.d'
- 'conf.d'
'service')
sha1sums=('65393b0a4d9862c030c81702d95c1acd00da275b'
'b9bcdd0537c1540e55e5056445b571ea61d5a4a3'
- '71159486b1505ec6acfb7585e0d8fbe78afe54ec'
- 'd45e3022f614dbf8904ecb1a3e702bb71fcaa808'
- '501fcf4faf8b2689d010f9cbbf39f917211f611f')
+ '9b02e5bed22f81ceab2b69bae788a9a3aa5c2147')
options=('!libtool')
@@ -35,6 +30,7 @@ build() {
./configure \
--prefix=/usr \
+ --sbindir=/usr/bin \
--mandir=/usr/share/man \
--with-db-path="/usr/share/${pkgname}/hddtemp.db"
@@ -48,6 +44,4 @@ package() {
install -Dm644 "../${pkgname}-${_origver}/debian/hddtemp.db" "${pkgdir}/usr/share/${pkgname}/hddtemp.db"
install -Dm644 '../service' "${pkgdir}/usr/lib/systemd/system/hddtemp.service"
- install -Dm644 '../conf.d' "${pkgdir}/etc/conf.d/hddtemp"
- install -Dm755 '../rc.d' "${pkgdir}/etc/rc.d/hddtemp"
}
diff --git a/extra/hddtemp/conf.d b/extra/hddtemp/conf.d
deleted file mode 100644
index 6a1e18e0b..000000000
--- a/extra/hddtemp/conf.d
+++ /dev/null
@@ -1,2 +0,0 @@
-PARAMS="-q -l 127.0.0.1"
-DRIVES="/dev/sda"
diff --git a/extra/hddtemp/rc.d b/extra/hddtemp/rc.d
deleted file mode 100644
index 62f090808..000000000
--- a/extra/hddtemp/rc.d
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PARAMS=
-DRIVES=
-[ -f /etc/conf.d/hddtemp ] && . /etc/conf.d/hddtemp
-PID=$(pidof -o %PPID /usr/sbin/hddtemp)
-case "$1" in
- start)
- stat_busy "Starting HDDTemp"
- [ -z "$PID" ] && /usr/sbin/hddtemp -d $PARAMS $DRIVES
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon hddtemp
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping HDDTemp"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon hddtemp
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 2
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/hddtemp/service b/extra/hddtemp/service
index bc56d16b0..992b898ad 100644
--- a/extra/hddtemp/service
+++ b/extra/hddtemp/service
@@ -2,8 +2,7 @@
Description=Hard drive temperature monitor daemon
[Service]
-EnvironmentFile=/etc/conf.d/hddtemp
-ExecStart=/usr/sbin/hddtemp -dF $PARAMS $DRIVES
+ExecStart=/usr/bin/hddtemp -dF /dev/sda
[Install]
WantedBy=multi-user.target
diff --git a/extra/java7-openjdk/openjdk7_fix_jdk_cmds_path.diff b/extra/java7-openjdk/01_fix_openjdk_cmds_path.diff
index 6cac91dd6..bb588a072 100644
--- a/extra/java7-openjdk/openjdk7_fix_jdk_cmds_path.diff
+++ b/extra/java7-openjdk/01_fix_openjdk_cmds_path.diff
@@ -1,15 +1,18 @@
---- openjdk/jdk/make/common/shared/Defs-utils.gmk.old 2011-08-06 15:46:01.000000000 +0200
-+++ openjdk/jdk/make/common/shared/Defs-utils.gmk 2011-08-06 15:59:26.000000000 +0200
-@@ -91,7 +91,7 @@
+--- openjdk/jdk/make/common/shared/Defs-utils.gmk.orig 2013-05-19 20:01:25.676093296 +0000
++++ openjdk/jdk/make/common/shared/Defs-utils.gmk 2013-05-19 20:01:54.312572109 +0000
+@@ -98,9 +98,9 @@
CHMOD = $(UTILS_COMMAND_PATH)chmod
CMP = $(UTILS_USR_BIN_PATH)cmp
COMM = $(UTILS_USR_BIN_PATH)comm
-COMPRESS = $(UTILS_USR_BIN_PATH)compress
+COMPRESS = $(UTILS_COMMAND_PATH)compress
CP = $(UTILS_COMMAND_PATH)cp
- CPIO = $(UTILS_COMMAND_PATH)cpio
+-CPIO = $(UTILS_COMMAND_PATH)cpio
++CPIO = $(UTILS_USR_BIN_PATH)cpio
CUT = $(UTILS_USR_BIN_PATH)cut
-@@ -101,13 +101,13 @@
+ DATE = $(UTILS_COMMAND_PATH)date
+ DF = $(UTILS_COMMAND_PATH)df
+@@ -108,13 +108,13 @@
DIRNAME = $(UTILS_USR_BIN_PATH)dirname
DUMP = $(UTILS_CCS_BIN_PATH)dump
ECHO = $(UTILS_COMMAND_PATH)echo
@@ -25,7 +28,7 @@
GUNZIP = $(UTILS_COMMAND_PATH)gunzip
# GZIP is used for solaris. Linux and windows use tar czf
GZIP = $(UTILS_COMMAND_PATH)gzip
-@@ -140,7 +140,7 @@
+@@ -148,7 +148,7 @@
TAIL = $(UTILS_USR_BIN_PATH)tail
TAR = $(UTILS_COMMAND_PATH)tar
TEST = $(UTILS_USR_BIN_PATH)test
diff --git a/extra/java7-openjdk/fix_corba_cmds_path.diff b/extra/java7-openjdk/02_fix_corba_cmds_path.diff
index 7a3db9567..8a22e3229 100644
--- a/extra/java7-openjdk/fix_corba_cmds_path.diff
+++ b/extra/java7-openjdk/02_fix_corba_cmds_path.diff
@@ -1,15 +1,18 @@
---- openjdk/corba/make/common/shared/Defs-utils.gmk.old 2008-04-13 13:26:12.000000000 +0300
-+++ openjdk/corba/make/common/shared/Defs-utils.gmk 2008-04-14 15:35:13.000000000 +0300
-@@ -76,7 +76,7 @@
+--- openjdk/corba/make/common/shared/Defs-utils.gmk.orig 2013-05-19 19:57:58.530784147 +0000
++++ openjdk/corba/make/common/shared/Defs-utils.gmk 2013-05-19 19:58:44.777147938 +0000
+@@ -83,9 +83,9 @@
CHMOD = $(UTILS_COMMAND_PATH)chmod
CMP = $(UTILS_USR_BIN_PATH)cmp
COMM = $(UTILS_USR_BIN_PATH)comm
-COMPRESS = $(UTILS_USR_BIN_PATH)compress
+COMPRESS = $(UTILS_COMMAND_PATH)compress
CP = $(UTILS_COMMAND_PATH)cp
- CPIO = $(UTILS_COMMAND_PATH)cpio
+-CPIO = $(UTILS_COMMAND_PATH)cpio
++CPIO = $(UTILS_USR_BIN_PATH)cpio
CUT = $(UTILS_USR_BIN_PATH)cut
-@@ -125,7 +125,7 @@
+ DATE = $(UTILS_COMMAND_PATH)date
+ DF = $(UTILS_COMMAND_PATH)df
+@@ -131,7 +131,7 @@
TAIL = $(UTILS_USR_BIN_PATH)tail
TAR = $(UTILS_COMMAND_PATH)tar
TEST = $(UTILS_USR_BIN_PATH)test
@@ -18,10 +21,10 @@
TR = $(UTILS_USR_BIN_PATH)tr
TRUE = $(UTILS_COMMAND_PATH)true
UNAME = $(UTILS_COMMAND_PATH)uname
-@@ -176,7 +176,7 @@
+@@ -182,7 +182,7 @@
# others have it in /usr/bin.
SORT=$(firstword $(wildcard $(UTILS_COMMAND_PATH)sort) \
- $(wildcard $(UTILS_USR_BIN_PATH)sort))
+ $(wildcard $(UTILS_USR_BIN_PATH)sort))
- NAWK = $(USRBIN_PATH)gawk
+ NAWK = $(UTILS_COMMAND_PATH)gawk
# Intrinsic unix command, with backslash-escaped character interpretation
diff --git a/extra/java7-openjdk/PKGBUILD b/extra/java7-openjdk/PKGBUILD
index efdfea91e..0c5e6b813 100644
--- a/extra/java7-openjdk/PKGBUILD
+++ b/extra/java7-openjdk/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 185582 2013-05-15 08:29:48Z guillaume $
+# $Id: PKGBUILD 186020 2013-05-20 13:53:06Z guillaume $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
@@ -23,7 +23,7 @@ _HOTSPOT_CHANGESET=ad5a321edea2 # see "${srcdir}/icedtea7"/hotspot.map
_bootstrap=0 # 0/1 for quick build or full bootstrap
pkgver=${_java_ver}.${_updatever}_${_icedtea_ver}
-pkgrel=3
+pkgrel=4
arch=('i686' 'x86_64')
url="http://icedtea.classpath.org"
license=('custom')
@@ -43,8 +43,8 @@ source=(http://icedtea.classpath.org/download/source/icedtea-${_icedtea_ver}.tar
${_url}/langtools/archive/${_LANGTOOLS_CHANGESET}.tar.gz # langtools.tar.gz
${_url}/hotspot/archive/${_HOTSPOT_CHANGESET}.tar.gz # hotspot.tar.gz
fontconfig-paths.diff
- fix_corba_cmds_path.diff
- openjdk7_fix_jdk_cmds_path.diff
+ 01_fix_openjdk_cmds_path.diff
+ 02_fix_corba_cmds_path.diff
openjdk7_nonreparenting-wm.diff
jdk7-openjdk.profile
jdk7-openjdk.profile.csh
@@ -59,8 +59,8 @@ sha256sums=('7e1fdd4c53c9772337c971b6f6f8058dabd99d7f4c4fcc85c88d836c9005c6da'
'2806de9d41a91acff5bb917ec9dc41cb805e893b43828491b920f9ec14b53b12'
'c184f29b13626e7327f58e4c1df506daf2b57d8084b7a2d2106504ab0fd5eaac'
'9ad943ceb3dbcdf45d72974fc3667886a7ed65c69ab9abc17be5412827551a7f'
- '7b2db65bfb9d5014e1522178d65cabf05dfa85e0926cde5648b5a338db376479'
- 'b742113dc6debc3eb92a246e442595481c04a2a3973e7902b86037acb50050ea'
+ '583af9025df545264a15665e4c9f981bc7286aaecc6d312dced485102cf5dda9'
+ 'd57754ff320475023688bd7c7af38a9ea37e27ed8c1edd3b1572e4d8b41b78d3'
'fd615f476ef17853ae55b7aee3c92b6738f9ea584e915749b1caa7fdc5ff9ca4'
'bd55299e08e6f8e61ba5baad0990170891801a29a1e8137e502b5e8a10fc37ea'
'3f28f8bfc6dd105a07f747d7135c77a77de433e2b8647dd7520a900135203fbd'
@@ -89,7 +89,10 @@ build() {
. /etc/profile.d/apache-ant.sh
cp ${srcdir}/*.diff ${srcdir}/icedtea-${_icedtea_ver}/patches
- export DISTRIBUTION_PATCHES="patches/fontconfig-paths.diff patches/fix_corba_cmds_path.diff patches/openjdk7_fix_jdk_cmds_path.diff patches/openjdk7_nonreparenting-wm.diff"
+ export DISTRIBUTION_PATCHES="patches/fontconfig-paths.diff \
+ patches/01_fix_openjdk_cmds_path.diff \
+ patches/02_fix_corba_cmds_path.diff \
+ patches/openjdk7_nonreparenting-wm.diff"
if [ "$_bootstrap" = "1" ]; then
BOOTSTRAPOPT="--enable-bootstrap --with-ecj-jar=/usr/share/java/ecj.jar"
@@ -327,6 +330,9 @@ package_jdk7-openjdk() {
install -m755 -d ${pkgdir}/etc/profile.d/
install -m755 ${srcdir}/${pkgname}.profile ${pkgdir}/etc/profile.d/jdk.sh
install -m755 ${srcdir}/${pkgname}.profile.csh ${pkgdir}/etc/profile.d/jdk.csh
+
+ # Temporarily fixing FS#35141
+ chmod go+r ${pkgdir}/usr/lib/jvm/java-7-openjdk/lib/sa-jdi.jar
}
package_openjdk7-src() {
diff --git a/extra/konversation/PKGBUILD b/extra/konversation/PKGBUILD
index 7b35aeafd..3f7da427f 100644
--- a/extra/konversation/PKGBUILD
+++ b/extra/konversation/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 172103 2012-11-28 12:37:26Z stephane $
+# $Id: PKGBUILD 186022 2013-05-20 14:06:29Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: James Rayner <iphitus@gmail.com>
@@ -6,12 +6,12 @@
pkgname=konversation
pkgver=1.4
-pkgrel=5
+pkgrel=6
pkgdesc="A user friendly IRC client for KDE"
arch=('i686' 'x86_64')
url="http://konversation.kde.org"
depends=('kdebase-runtime' 'kdepimlibs')
-makedepends=('automoc4' 'cmake' 'pkgconfig' 'docbook-xml')
+makedepends=('automoc4' 'cmake' 'pkgconfig' 'docbook-xml' 'optipng')
optdepends=('python: python scripting support'
'kdebase-konsole: open a terminal in konversation'
'qca-ossl: Diffie-Hellman key exchange and Blowfish ECB/CBC support')
@@ -21,6 +21,12 @@ options=('!makeflags')
source=("http://download.kde.org/download.php?url=stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('90741721f68a02d4345b9006a8ae53bc49ef3777')
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ # libpng16 fix
+ find -name '*.png' -exec optipng -quiet -force -fix {} +
+}
+
build() {
cd "${srcdir}"
mkdir build
diff --git a/extra/licq/PKGBUILD b/extra/licq/PKGBUILD
index 4f3355d44..7683b72e4 100644
--- a/extra/licq/PKGBUILD
+++ b/extra/licq/PKGBUILD
@@ -1,32 +1,39 @@
-# $Id: PKGBUILD 181125 2013-03-31 19:16:53Z stephane $
+# $Id: PKGBUILD 186068 2013-05-20 21:46:39Z foutrelis $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
pkgname=licq
pkgver=1.7.1
-pkgrel=3
-pkgdesc="Advanced graphical ICQ clone and more for Unix"
+pkgrel=4
+pkgdesc="Advanced graphical ICQ clone and more for Unix"
arch=('i686' 'x86_64')
url="http://www.licq.org"
license=('GPL')
depends=('boost-libs' 'gpgme' 'libxss' 'qt4')
-makedepends=('cmake' 'boost')
+makedepends=('cmake' 'boost' 'optipng')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/licq/licq-${pkgver}.tar.bz2)
md5sums=('701e57efedc2b7ece64c3d2d2e9f9e16')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ mkdir {,plugins/qt4-gui/}build
+
+ # Fix invalid PNG images to work with libpng 1.6
+ # https://github.com/licq-im/licq/pull/32
+ optipng -quiet -force -fix plugins/qt4-gui/share/skins/Mirabilis/*.png
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# licq
- mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
# qt4-gui
- cd ../plugins/qt4-gui
- mkdir build
- cd build
+ cd ../plugins/qt4-gui/build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MODULE_PATH="${srcdir}/${pkgname}-${pkgver}/cmake" ..
make
}
diff --git a/extra/misdnuser/PKGBUILD b/extra/misdnuser/PKGBUILD
new file mode 100644
index 000000000..ed7751ba4
--- /dev/null
+++ b/extra/misdnuser/PKGBUILD
@@ -0,0 +1,55 @@
+# $Id: PKGBUILD 186032 2013-05-20 17:17:10Z tpowa $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+
+pkgname=misdnuser
+pkgver=2.0.17_20120917
+pkgrel=2
+pkgdesc="Tools and library for mISDN"
+arch=('i686' 'x86_64')
+url="http://www.misdn.org"
+license=('GPL')
+depends=('isdn4k-utils' 'spandsp')
+backup=('etc/capi20.conf')
+options=('!makeflags' '!libtool' '!strip')
+source=(ftp://ftp.archlinux.org/other/misdnuser/${pkgname}-${pkgver}.tar.gz
+ mISDNcapid.service
+ c2faxrecv-mISDNcapid.service
+ mISDNcapid.conf
+ fix-compile-gcc48.patch)
+
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ # fix gcc48 compile error
+ patch -Np1 -i ${srcdir}/fix-compile-gcc48.patch
+}
+
+build() {
+ # only enable for debugging!
+ #export CFLAGS+=" -g -O0"
+ #export CXXFLAGS+=" -g -O0"
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make
+ ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --enable-capi --enable-softdsp --with-mISDN_group=uucp
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ # fix udev rule
+ mkdir -p ${pkgdir}/usr/lib/udev/rules.d
+ mv ${pkgdir}/etc/udev/rules.d/45-misdn.rules ${pkgdir}/usr/lib/udev/rules.d
+ rm -r ${pkgdir}/etc/udev/
+ # add systemd files
+ install -D -m644 ${srcdir}/mISDNcapid.service ${pkgdir}/usr/lib/systemd/system/mISDNcapid.service
+ # mISDNcapid:
+ # tends to crash on avmfritz card, add an extra systemd file for
+ # restarting the services until segfaults are fixed!
+ install -D -m644 ${srcdir}/c2faxrecv-mISDNcapid.service ${pkgdir}/usr/lib/systemd/system/c2faxrecv-mISDNcapid.service
+ install -D -m644 ${srcdir}/mISDNcapid.conf ${pkgdir}/usr/lib/tmpfiles.d/mISDNcapid.conf
+}
+md5sums=('4cdb52f2c0ff1a1426573ac5ef09e9f8'
+ 'bfd47480a54b41394ba5cc3f53587130'
+ '32ead7f063e007c784aa883d441f33c2'
+ '42c3b46880a68c3883ee1ed00af34b45'
+ 'b291e9a04378decec33c420a62a5a4b7')
diff --git a/extra/misdnuser/c2faxrecv-mISDNcapid.service b/extra/misdnuser/c2faxrecv-mISDNcapid.service
new file mode 100644
index 000000000..7a98ca435
--- /dev/null
+++ b/extra/misdnuser/c2faxrecv-mISDNcapid.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=mISDN CAPI to fax receive
+Requires=faxq.service mISDNcapid.service
+After=faxq.service mISDNcapid.service
+
+[Service]
+ExecStart=/usr/bin/c2faxrecv
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
diff --git a/extra/misdnuser/fix-compile-gcc48.patch b/extra/misdnuser/fix-compile-gcc48.patch
new file mode 100644
index 000000000..61f52d22e
--- /dev/null
+++ b/extra/misdnuser/fix-compile-gcc48.patch
@@ -0,0 +1,15 @@
+X-Git-Url: http://misdn.eu/?p=projects%2FmISDNuser.git;a=blobdiff_plain;f=lib%2Flayer3%2Fq931.c;h=75716fe121a48a3c62fb785af85d856a688889bf;hp=705caf3e167bb5c50828c464151fcfe49af89e64;hb=ec4ac2763f737dc9100f9f4f9e91f4d7064a77b2;hpb=1dc4c24d27ed9c46e2fdbf7fb4b178e549a58e8d
+
+diff --git a/lib/layer3/q931.c b/lib/layer3/q931.c
+index 705caf3..75716fe 100644
+--- a/lib/layer3/q931.c
++++ b/lib/layer3/q931.c
+@@ -357,7 +357,7 @@ mi_encode_hlc(struct l3_msg *l3m, int hlc, int ehlc)
+ ie[1] = hlc & 0x7f;
+
+ if (ehlc < 0)
+- ie[1] | 0x80;
++ ie[1] |= 0x80;
+ else {
+ l = 3;
+ ie[2] = 0x80 | (ehlc & 0x7f);
diff --git a/extra/misdnuser/mISDNcapid.conf b/extra/misdnuser/mISDNcapid.conf
new file mode 100644
index 000000000..7607e262d
--- /dev/null
+++ b/extra/misdnuser/mISDNcapid.conf
@@ -0,0 +1 @@
+D /var/run/mISDNcapid 0755 root root -
diff --git a/extra/misdnuser/mISDNcapid.service b/extra/misdnuser/mISDNcapid.service
new file mode 100644
index 000000000..53871dd95
--- /dev/null
+++ b/extra/misdnuser/mISDNcapid.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=mISDN CAPI daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/mISDNcapid
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target
diff --git a/extra/pigeonhole/PKGBUILD b/extra/pigeonhole/PKGBUILD
index deee9f849..dda8c7062 100644
--- a/extra/pigeonhole/PKGBUILD
+++ b/extra/pigeonhole/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 185125 2013-05-11 09:39:44Z andyrtr $
+# $Id: PKGBUILD 186002 2013-05-20 08:28:30Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributorr: Peter Lewis <plewis@aur.archlinux.org>
@@ -7,13 +7,13 @@
# This must be built against the version of dovecot being used,
# else mail delivery will fail.
# Specify the version of dovecot to be used here:
-_dcpkgver=2.2.1
+_dcpkgver=2.2.2
# Make sure to bump pkgrel if changing this.
pkgname=pigeonhole
pkgver=0.4.0
-pkgrel=1
-pkgdesc="Fully rewritten Sieve implementation for Dovecot v2.1"
+pkgrel=2
+pkgdesc="Sieve implementation for Dovecot"
arch=('i686' 'x86_64')
url="http://pigeonhole.dovecot.org/"
license=('LGPL')
diff --git a/extra/sqlite/PKGBUILD b/extra/sqlite/PKGBUILD
index 3b0bca75c..8c5a5dfec 100644
--- a/extra/sqlite/PKGBUILD
+++ b/extra/sqlite/PKGBUILD
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD 182667 2013-04-12 14:07:12Z andyrtr $
+# $Id: PKGBUILD 186040 2013-05-20 18:16:41Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgbase="sqlite"
pkgname=('sqlite' 'sqlite-tcl' 'sqlite-doc')
-_amalgamationver=3071602
+_amalgamationver=3071700
_docver=${_amalgamationver}
#_docver=3071601
-pkgver=3.7.16.2
+pkgver=3.7.17
pkgrel=1
pkgdesc="A C library that implements an SQL database engine"
arch=('i686' 'x86_64')
@@ -19,8 +19,8 @@ source=( # tarball containing the amalgamation for SQLite >= 3.7.5 together with
http://www.sqlite.org/2013/sqlite-doc-${_docver}.zip
license.txt)
options=('!libtool' '!emptydirs')
-sha1sums=('85bf857cf86f34831d55d7ba97606dba581b8d62'
- '998df3d9ada4a4a8a048bcf20613d1d02be77731'
+sha1sums=('e31958e56b1d7bef9433b1ff2e875c8c290d37f4'
+ '6b533b0a9a21eb2c2d1c9f278b8defbeb5a432a7'
'f34f6daa4ab3073d74e774aad21d66878cf26853')
build() {
diff --git a/extra/vde2/PKGBUILD b/extra/vde2/PKGBUILD
index bb25037ab..c6f12a215 100644
--- a/extra/vde2/PKGBUILD
+++ b/extra/vde2/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 169040 2012-10-17 10:21:21Z allan $
+# $Id: PKGBUILD 185995 2013-05-20 07:12:08Z tpowa $
# Contributor: Sergej Pupykin
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=vde2
pkgver=2.3.2
-pkgrel=2
+pkgrel=3
pkgdesc="Virtual Distributed Ethernet for emulators like qemu"
url="http://sourceforge.net/projects/vde/"
license=("GPL" "LGPL" "CUSTOM")
@@ -15,24 +15,20 @@ source=(http://downloads.sourceforge.net/vde/$pkgname-$pkgver.tar.bz2
dhcpd.conf.sample
iptables.rules.sample
vde-config.sample
- vde-connection.sample
- vde.conf
- vde.rc)
+ vde-connection.sample)
install=vde2.install
options=(!libtool !makeflags)
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/vde2 \
+ ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --libexecdir=/usr/lib/vde2 \
--enable-experimental
make
}
package() {
cd $srcdir/$pkgname-$pkgver
- make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc libexecdir=$pkgdir/usr/lib/vde2 install
- install -D -m 755 ../vde.rc $pkgdir/etc/rc.d/vde
- install -D -m 644 ../vde.conf $pkgdir/etc/conf.d/vde
+ make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc sbindir=$pkgdir/usr/bin libexecdir=$pkgdir/usr/lib/vde2 install
install -D -m 644 ../vde-config.sample $pkgdir/etc/vde/vde-config.sample
install -D -m 644 ../vde-connection.sample $pkgdir/etc/vde/vde-connection.sample
install -D -m 644 ../dhcpd.conf.sample $pkgdir/usr/share/vde2/dhcpd.conf.sample
@@ -40,11 +36,8 @@ package() {
# install slirp license
install -D -m 644 COPYING.slirpvde $pkgdir/usr/share/licenses/vde2/COPYING.slirpvde
}
-
md5sums=('46fbc5f97f03dc517aa3b2c9d9ea6628'
'7d9bc56d2e561d849e915000d1c0f269'
'a920123fc620bcedbccb703a8d1bdc55'
'cb8ace28e8efd4dad128be4be71b3b07'
- '63033c33565e2030541c5e05e9d9b063'
- 'a22730f051f4840da4a3162a88ff8156'
- '6c7dc01bc2f039f0ff1682ee70d3d1da')
+ '63033c33565e2030541c5e05e9d9b063')
diff --git a/extra/vde2/vde.conf b/extra/vde2/vde.conf
deleted file mode 100644
index bc61dceda..000000000
--- a/extra/vde2/vde.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-# Set options for a vde daemon script
-#
-# Array for your vde config files, eg.: "internal-net external-net"
-# You need a config file in /etc/vde/ with the same name.
-# Sample config file provided: /etc/vde/vde-config.sample
-VDE_CONFIG=""
-
-# Array for your dpipe connections, eg.: "connect-switches"
-# You need a config file in /etc/vde/ with the same name.
-# Sample config file provided: /etc/vde/vde-connection.sample
-VDE_CONNECTION="" \ No newline at end of file
diff --git a/extra/vde2/vde.rc b/extra/vde2/vde.rc
deleted file mode 100755
index b368f9955..000000000
--- a/extra/vde2/vde.rc
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/vde
-
-case "$1" in
- start)
- # bring up all defined profiles
- for i in $VDE_CONFIG; do
- [ -e /etc/vde/$i ] && . /etc/vde/$i
- stat_busy "Starting vde_switch $i"
- # get options from profile
- [ -n "$VDE_NUMPORTS" ] && OPTIONS="-n $VDE_NUMPORTS"
- [ "$VDE_HUB" = "yes" ] && OPTIONS="$OPTIONS -x"
- [ "$VDE_FSTP" = "yes" ] && OPTIONS="$OPTIONS -F"
- [ -n "$VDE_MAC" ] && OPTIONS="$OPTIONS --macaddr $VDE_MAC"
- [ -n "$VDE_PRIORITY" ] && OPTIONS="$OPTIONS --priority $VDE_PRIORITY"
- [ -n "$VDE_HASH" ] && OPTIONS="$OPTIONS --hashsize $VDE_HASH"
- [ -n "$VDE_SOCK" ] && OPTIONS="$OPTIONS -s $VDE_SOCK"
- [ -n "$VDE_SOCK_MODE" ] && OPTIONS="$OPTIONS -m $VDE_SOCK_MODE"
- [ -n "$VDE_SOCK_GROUP" ] && OPTIONS="$OPTIONS -g $VDE_SOCK_GROUP"
- [ -n "$VDE_MANAGEMENT_SOCK" ] && OPTIONS="$OPTIONS -M $VDE_MANAGEMENT_SOCK"
- [ -n "$VDE_MANAGEMENT_SOCK_MODE" ] && OPTIONS="$OPTIONS --mgmtmode $VDE_MANAGEMENT_SOCK_MODE"
- [ -n "$VDE_TAP" ] && OPTIONS="$OPTIONS -t $VDE_TAP"
- [ -n "$VDE_OPTIONS" ] && OPTIONS="$OPTIONS $VDE_OPTIONS"
- vde_switch $OPTIONS -p /var/run/vde-$i.pid -daemon &>/dev/null
- [ -n "$VDE_SOCK" -a -n "$VDE_SOCK_GROUP" ] && chgrp "$VDE_SOCK_GROUP" "$VDE_SOCK"
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- if [ "$SLIRP" = "yes" ]; then
- stat_busy "Starting slirpvde for $i"
- [ "$SLIRP_DHCP" = "yes" ] && SP_OPTIONS="-D"
- [ -n "$SLIRP_NETWORK" ] && SP_OPTIONS="$SP_OPTIONS -n $SLIRP_NETWORK"
- [ -n "$SLIRP_OPTIONS" ] && SP_OPTIONS="$SP_OPTIONS $SLIRP_OPTIONS"
- [ -n "$VDE_SOCK" ] && SP_OPTIONS="$SP_OPTIONS -s $VDE_SOCK"
- [ -n "$VDE_SOCK_MODE" ] && SP_OPTIONS="$SP_OPTIONS -m $VDE_SOCK_MODE"
- [ -n "$VDE_SOCK_GROUP" ] && SP_OPTIONS="$SP_OPTIONS -g $VDE_SOCK_GROUP"
- slirpvde $SP_OPTIONS -p /var/run/slirpvde-$i.pid -daemon &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- unset OPTIONS
- unset SP_OPTIONS
- fi
- done
- for i in $VDE_CONNECTION; do
- # connect specified vde_switches
- if [ "$(grep ^vde_plug /etc/vde/$i)" ]; then
- stat_busy "Connecting VDE switches $i together..."
- while read j; do
- switch="$(echo $j | grep ^vde_plug)"
- [ -n "$switch" ] && (dpipe $switch &)
- done </etc/vde/$i
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- fi
- done
- add_daemon vde
- ;;
- stop)
- # kill vde_plug if switches are connected
- [ -n "$VDE_CONNECTION" ] && killall vde_plug >/dev/null 2>&1
- for i in $VDE_CONFIG; do
- [ -e /etc/vde/$i ] && . /etc/vde/$i
- if [ "$SLIRP" = "yes" ]; then
- stat_busy "Stopping slirpvde for $i"
- kill $(cat /var/run/slirpvde-$i.pid) &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- rm /var/run/slirpvde-$i.pid &> /dev/null
- fi
- stat_busy "Stopping vde_switch $i"
- kill $(cat /var/run/vde-$i.pid) &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- rm /var/run/vde-$i.pid &> /dev/null
- stat_busy "Removing $i vde sockets"
- rm -rf $VDE_SOCK $VDE_MANAGEMENT_SOCK
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- done
- unset OPTIONS
- unset SP_OPTIONS
- [ -e /var/run/vde/gmon.out ] && rm /var/run/vde/gmon.out
- rm_daemon vde
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/vde2/vde2.install b/extra/vde2/vde2.install
index 74e1710ff..bf538e01f 100644
--- a/extra/vde2/vde2.install
+++ b/extra/vde2/vde2.install
@@ -1,5 +1,4 @@
post_install() {
- echo "Change /etc/conf.d/vde to your needs."
echo "vde config files should be placed in /etc/vde, sample files are provided."
echo "iptables and dhcpd sample files have been installed to '/usr/share/vde2'."
echo "Merge those examples, if needed to the according config files."
diff --git a/extra/weechat/PKGBUILD b/extra/weechat/PKGBUILD
index 762abed7c..3c5178ea5 100644
--- a/extra/weechat/PKGBUILD
+++ b/extra/weechat/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 180587 2013-03-23 23:09:44Z td123 $
+# $Id: PKGBUILD 186008 2013-05-20 11:47:11Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: lucke <lucke at o2 dot pl>
pkgname=weechat
-pkgver=0.4.0
-pkgrel=3
+pkgver=0.4.1
+pkgrel=1
pkgdesc="Fast, light and extensible IRC client (curses UI)"
arch=('i686' 'x86_64')
url="http://www.weechat.org/"
@@ -13,18 +13,12 @@ depends=('gnutls' 'curl' 'libgcrypt')
makedepends=('cmake' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl>=8.6.0' 'ruby' 'aspell' 'guile')
optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell' 'guile')
options=('!libtool')
-source=("http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2"
- 'ruby-2.0.0-crash-fix.diff')
-md5sums=('b2e10ca1e3a72142fcc8d58c7c774b1b'
- '8bafb0ec603af018e2d66155640685b4')
+source=("http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('071d6f1cd21c892cae126af21095c43f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- # fix: https://bugs.archlinux.org/task/34342
- # original commit: http://git.savannah.gnu.org/gitweb/?p=weechat.git;a=commit;h=4fdbb83a079f24a742633fd4d02084911580c19c
- patch -Np1 -i ${srcdir}/ruby-2.0.0-crash-fix.diff
-
mkdir build
cd build
cmake .. -DPREFIX=/usr \
diff --git a/extra/weechat/ruby-2.0.0-crash-fix.diff b/extra/weechat/ruby-2.0.0-crash-fix.diff
deleted file mode 100644
index bfc816ade..000000000
--- a/extra/weechat/ruby-2.0.0-crash-fix.diff
+++ /dev/null
@@ -1,76 +0,0 @@
-X-Git-Url: http://git.savannah.gnu.org/gitweb/?p=weechat.git;a=blobdiff_plain;f=src%2Fplugins%2Fruby%2Fweechat-ruby-api.c;h=101caec961829de03f8097edc63f497eab99aaa3;hp=bbc2fbcbe3c5290a8a975c4676a85a8c7e0998b7;hb=4fdbb83a079f24a742633fd4d02084911580c19c;hpb=55e58811b3df451db4f95b1035a39f5659788989
-
-diff --git a/src/plugins/ruby/weechat-ruby-api.c b/src/plugins/ruby/weechat-ruby-api.c
-index bbc2fbc..101caec 100644
---- a/src/plugins/ruby/weechat-ruby-api.c
-+++ b/src/plugins/ruby/weechat-ruby-api.c
-@@ -1333,28 +1333,21 @@ weechat_ruby_api_config_new_option (VALUE class, VALUE config_file,
- VALUE description, VALUE string_values,
- VALUE min, VALUE max, VALUE default_value,
- VALUE value, VALUE null_value_allowed,
-- VALUE function_check_value,
-- VALUE data_check_value,
-- VALUE function_change,
-- VALUE data_change,
-- VALUE function_delete,
-- VALUE data_delete)
-+ VALUE callbacks)
- {
- char *c_config_file, *c_section, *c_name, *c_type, *c_description;
- char *c_string_values, *c_default_value, *c_value;
- char *c_function_check_value, *c_data_check_value, *c_function_change;
- char *c_data_change, *c_function_delete, *c_data_delete, *result;
- int c_min, c_max, c_null_value_allowed;
-- VALUE return_value;
-+ VALUE function_check_value, data_check_value, function_change, data_change;
-+ VALUE function_delete, data_delete, return_value;
-
- API_FUNC(1, "config_new_option", API_RETURN_EMPTY);
- if (NIL_P (config_file) || NIL_P (section) || NIL_P (name) || NIL_P (type)
- || NIL_P (description) || NIL_P (string_values) || NIL_P (min)
- || NIL_P (max) || NIL_P (default_value) || NIL_P (value)
-- || NIL_P (null_value_allowed) || NIL_P (function_check_value)
-- || NIL_P (data_check_value) || NIL_P (function_change)
-- || NIL_P (data_change) || NIL_P (function_delete)
-- || NIL_P (data_delete))
-+ || NIL_P (null_value_allowed) || NIL_P (callbacks))
- API_WRONG_ARGS(API_RETURN_EMPTY);
-
- Check_Type (config_file, T_STRING);
-@@ -1368,12 +1361,21 @@ weechat_ruby_api_config_new_option (VALUE class, VALUE config_file,
- Check_Type (default_value, T_STRING);
- Check_Type (value, T_STRING);
- Check_Type (null_value_allowed, T_FIXNUM);
-- Check_Type (function_check_value, T_STRING);
-- Check_Type (data_check_value, T_STRING);
-- Check_Type (function_change, T_STRING);
-- Check_Type (data_change, T_STRING);
-- Check_Type (function_delete, T_STRING);
-- Check_Type (data_delete, T_STRING);
-+ Check_Type (callbacks, T_ARRAY);
-+
-+ /*
-+ * due to a Ruby limitation (15 arguments max by function), we receive the
-+ * the callbacks in an array of 6 strings (3 callbacks + 3 data)
-+ */
-+ if (RARRAY_LEN(callbacks) != 6)
-+ API_WRONG_ARGS(API_RETURN_EMPTY);
-+
-+ function_check_value = rb_ary_entry (callbacks, 0);
-+ data_check_value = rb_ary_entry (callbacks, 1);
-+ function_change = rb_ary_entry (callbacks, 2);
-+ data_change = rb_ary_entry (callbacks, 3);
-+ function_delete = rb_ary_entry (callbacks, 4);
-+ data_delete = rb_ary_entry (callbacks, 5);
-
- c_config_file = StringValuePtr (config_file);
- c_section = StringValuePtr (section);
-@@ -5915,7 +5917,7 @@ weechat_ruby_api_init (VALUE ruby_mWeechat)
- API_DEF_FUNC(config_new, 3);
- API_DEF_FUNC(config_new_section, 14);
- API_DEF_FUNC(config_search_section, 2);
-- API_DEF_FUNC(config_new_option, 17);
-+ API_DEF_FUNC(config_new_option, 12);
- API_DEF_FUNC(config_search_option, 3);
- API_DEF_FUNC(config_string_to_boolean, 1);
- API_DEF_FUNC(config_option_reset, 2);
diff --git a/extra/wireshark/01_patch-automake-1.13.diff b/extra/wireshark/01_patch-automake-1.13.diff
deleted file mode 100644
index cf03fa060..000000000
--- a/extra/wireshark/01_patch-automake-1.13.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.in.init 2013-02-02 22:11:27.140322526 +0100
-+++ configure.in 2013-02-02 22:11:42.863854681 +0100
-@@ -1960,7 +1960,7 @@
- sinclude(asn1/Custom.m4) dnl
- ifdef(_CUSTOM_ASN1_AC_OUTPUT_,, define(_CUSTOM_ASN1_AC_OUTPUT_, )) dnl
-
--AM_CONFIG_HEADER(config.h)
-+AC_CONFIG_HEADERS(config.h)
- AC_OUTPUT(
- Makefile
- doxygen.cfg
diff --git a/extra/wireshark/PKGBUILD b/extra/wireshark/PKGBUILD
index 23a305116..6692971ec 100644
--- a/extra/wireshark/PKGBUILD
+++ b/extra/wireshark/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 182116 2013-04-07 20:47:05Z guillaume $
+# $Id: PKGBUILD 186024 2013-05-20 14:35:40Z guillaume $
# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
# Contributor: Florian Pritz <bluewind at jabber dot ccc dot de>
pkgname=('wireshark-cli' 'wireshark-gtk')
pkgbase=wireshark
-pkgver=1.8.6
-pkgrel=2
+pkgver=1.8.7
+pkgrel=1
arch=('i686' 'x86_64')
license=('GPL2')
makedepends=('bison' 'flex' 'gtk2' 'krb5' 'libcap' 'libpcap' 'bash' 'gnutls'
@@ -12,17 +12,13 @@ makedepends=('bison' 'flex' 'gtk2' 'krb5' 'libcap' 'libpcap' 'bash' 'gnutls'
url='http://www.wireshark.org/'
options=(!libtool)
source=(http://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.bz2
- 01_patch-automake-1.13.diff
02_enable-version.diff)
-sha256sums=('2722ed3e926c26648faec31a81b7881d829df85762c21794b9dd9e4f227331ea'
- '388a9cf4c924c32a0f7ee8ffeaae060cdbf0c712bcc0032d5dfaa5717b217b80'
+sha256sums=('5c7e429c1e410289b49d65a2e635e00c0becdcb56fe703a1d3e7b5e275fca842'
'dd71a9fc3443b5e586d9e50c31208d031f20d7b96cf72d9e4e0f02f2f175d00b')
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
-# https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8202
- patch -p0 < ${srcdir}/01_patch-automake-1.13.diff
patch -p0 < ${srcdir}/02_enable-version.diff
./autogen.sh
diff --git a/extra/wireshark/wireshark.install b/extra/wireshark/wireshark.install
index 69adcc4bc..001bd0c58 100644
--- a/extra/wireshark/wireshark.install
+++ b/extra/wireshark/wireshark.install
@@ -1,14 +1,14 @@
post_install() {
/usr/bin/getent group wireshark >/dev/null 2>&1 || usr/sbin/groupadd -g 150 wireshark &>/dev/null
- /usr/sbin/setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
+ /usr/bin/setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
echo "NOTE: To run wireshark as normal user you have to add yourself into wireshark group"
}
post_upgrade() {
/usr/bin/getent group wireshark >/dev/null 2>&1 || usr/sbin/groupadd -g 150 wireshark &>/dev/null
-
- /usr/sbin/setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
+
+ /usr/bin/setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
}
post_remove() {
diff --git a/extra/x2goserver/PKGBUILD b/extra/x2goserver/PKGBUILD
index 92b719de6..064bd2c71 100644
--- a/extra/x2goserver/PKGBUILD
+++ b/extra/x2goserver/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 185846 2013-05-19 15:18:38Z andyrtr $
+# $Id: PKGBUILD 186036 2013-05-20 18:09:21Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Gerhard Brauer <gerbra@archlinux.de>
@@ -8,7 +8,7 @@
pkgname=x2goserver
pkgver=4.0.0.2
-pkgrel=1
+pkgrel=2
pkgdesc="Open source terminal server"
arch=('i686' 'x86_64')
url="http://www.x2go.org/"
@@ -19,13 +19,20 @@ makedepends=('man2html')
options=('emptydirs')
install=x2goserver.install
backup=('etc/x2go/x2goserver.conf' 'etc/x2go/x2gosql/sql')
-source=(http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${pkgver}.tar.gz x2goserver.service)
+source=(http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ x2goserver.service
+ revert.patch)
md5sums=('6b8cecfdd31a8877203f50d3666c265f'
- 'f76081c01e40b6206895d194dc949707')
+ 'f76081c01e40b6206895d194dc949707'
+ 'c487c31e7c0aa9a73323313007497764')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
-#return 1
+
+ # revert an upstream commit that breaks sessions showing up
+ # http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=011d14ae076ba6fec96cd1e019c4f82444ab0f9f
+ patch -Rp1 -i ${srcdir}/revert.patch
+
# -r option does not exist in Arch linux
# (However, html man pages do not get installed anyway...)
for Makefile in $(find . -type f -name Makefile); do
@@ -49,9 +56,8 @@ package() {
install -Dm 644 "$srcdir/x2goserver.service" "$pkgdir/usr/lib/systemd/system/x2goserver.service"
# X2go homedir + printing spool dir
- #install -dm 755 $pkgdir/var/lib/x2go
install -dm 770 $pkgdir/var/lib/x2go
- install -dm 755 $pkgdir/var/spool/x2go
+ install -dm 770 $pkgdir/var/spool/x2go
# load fuse module at system start
install -dm755 $pkgdir/lib/modules-load.d
diff --git a/extra/x2goserver/revert.patch b/extra/x2goserver/revert.patch
new file mode 100644
index 000000000..023bbd18c
--- /dev/null
+++ b/extra/x2goserver/revert.patch
@@ -0,0 +1,152 @@
+From 011d14ae076ba6fec96cd1e019c4f82444ab0f9f Mon Sep 17 00:00:00 2001
+From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+Date: Sun, 19 May 2013 00:41:32 +0200
+Subject: [PATCH] Security fix for setgid wrapper x2gosqlitewrapper.c.
+ Hard-code path to x2gosqlitewrapper.pl during build via
+ defining a macro in the Makefile. Thanks to Richard
+ Weinberger for spotting this!!!
+
+---
+ Makefile | 2 +-
+ debian/changelog | 3 +++
+ debian/rules | 4 +--
+ x2goserver/Makefile | 4 +--
+ x2goserver/x2gosqlitewrapper.c | 54 +++-------------------------------------
+ 5 files changed, 12 insertions(+), 55 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 3be40f9..588084f 100755
+--- a/Makefile
++++ b/Makefile
+@@ -4,7 +4,7 @@ RM_FILE=rm -f
+ RM_DIR=rmdir -p --ignore-fail-on-non-empty
+
+ DESTDIR=
+-PREFIX=/usr/local
++PREFIX ?= /usr/local
+ ETCDIR=/etc/x2go
+ LIBDIR=$(PREFIX)/lib/x2go
+ SHAREDIR=$(PREFIX)/share/x2go
+diff --git a/debian/changelog b/debian/changelog
+index 470a502..2cf2dde 100644
+--- a/debian/changelog
++++ b/debian/changelog
+@@ -12,6 +12,9 @@ x2goserver (4.0.0.2-0~x2go1) UNRELEASED; urgency=low
+ * New upstream version (4.0.0.2):
+ - Use make_path from File::Path in x2godbadmin to create user directory if
+ not present. (Fixes: #200).
++ - Security fix for setgid wrapper x2gosqlitewrapper.c. Hard-code path to
++ x2gosqlitewrapper.pl during build via defining a macro in the Makefile.
++ Thanks to Richard Weinberger for spotting this!!!
+ /debian/control:
+ + Let x2goserver bin:package depend on xfonts-base and fontconfig. (Fixes:
+ #163).
+diff --git a/debian/rules b/debian/rules
+index b32e08d..5bb94b2 100755
+--- a/debian/rules
++++ b/debian/rules
+@@ -1,10 +1,10 @@
+ #!/usr/bin/make -f
+
+ %:
+- dh $@
++ PREFIX=/usr dh $@
+
+ override_dh_auto_install:
+- make -f Makefile build-arch
++ PREFIX=/usr make -f Makefile build-arch
+
+ override_dh_auto_clean:
+ rm -fv x2gosqlitewrapper
+diff --git a/x2goserver/Makefile b/x2goserver/Makefile
+index 4287478..e9d56e6 100755
+--- a/x2goserver/Makefile
++++ b/x2goserver/Makefile
+@@ -15,7 +15,7 @@ RM_FILE=rm -f
+ RM_DIR=rmdir -p --ignore-fail-on-non-empty
+
+ DESTDIR=
+-PREFIX=/usr/local
++PREFIX ?= /usr/local
+ ETCDIR=/etc/x2go
+ BINDIR=$(PREFIX)/bin
+ SBINDIR=$(PREFIX)/sbin
+@@ -41,7 +41,7 @@ build: build-arch build-indep
+ build-arch: build_setgidwrappers
+
+ build_setgidwrappers:
+- $(CC) $(CFLAGS) $(LDFLAGS) -o x2gosqlitewrapper x2gosqlitewrapper.c
++ $(CC) $(CFLAGS) $(LDFLAGS) -DTRUSTED_BINARY=\"$(DESTDIR)$(LIBDIR)/x2gosqlitewrapper.pl\" -o x2gosqlitewrapper x2gosqlitewrapper.c
+
+ build-indep: build_man2html
+
+diff --git a/x2goserver/x2gosqlitewrapper.c b/x2goserver/x2gosqlitewrapper.c
+index a134efc..ad95eff 100644
+--- a/x2goserver/x2gosqlitewrapper.c
++++ b/x2goserver/x2gosqlitewrapper.c
+@@ -21,58 +21,12 @@
+ *
+ */
+
+-#include <stdio.h>
+-#include <stdlib.h>
+-#include <unistd.h>
+-#include <libgen.h>
+-#include <errno.h>
+-
+ int main( int argc, char *argv[] ) {
+- char * x2gosqlitewrapper = NULL;
+- size_t path_max;
+-
+-/*
+- The following snippet is taken from the realpath manpage
+-*/
+-#ifdef PATH_MAX
+- path_max = PATH_MAX;
+-#else
+- path_max = pathconf (".", _PC_PATH_MAX);
+- if (path_max <= 0){
+- path_max = 4096;
+- }
+-#endif
+- {
+- // allocate dynamic buffer in stack: this needs C99 or gnu??
+- char buffer[path_max];
+- ssize_t rvrl;
+- int rvap;
+-
+- // resolve link of /proc/self/exe to find out where we are
+- rvrl = readlink("/proc/self/exe", buffer, path_max);
+- if(rvrl == -1){
+- perror("readlink(\"/proc/self/exe\",buffer,path_max)");
+- exit(EXIT_FAILURE);
+- }
+- if(rvrl >= path_max){
+- fprintf(stderr, "Could not resolve the path of this file using \"/proc/self/exe\". The path is too long (> %i)", path_max);
+- exit(EXIT_FAILURE);
+- }
+-
+- // derive the full path of x2gosqlitewrapper.pl from path of this binary
+- rvap = asprintf(&x2gosqlitewrapper, "%s/%s", dirname(buffer), "x2gosqlitewrapper.pl");
+- if(rvap == -1){
+- fprintf(stderr, "Failed to allocate memory calling asprintf\n");
+- exit(EXIT_FAILURE);
+- }
+-
+- // execute the script, running with user-rights of this binary
+- execv(x2gosqlitewrapper, argv);
+
+- }
++ char x2gosqlitewrapper[] = TRUSTED_BINARY;
+
+- // ...fail
+- fprintf(stderr, "Failed to execute %s: %s\n", x2gosqlitewrapper, strerror(errno));
+- return EXIT_FAILURE;
++ argv[0] = "x2gosqlitewrapper.pl";
++ // execute the script, running with user-rights of this binary
++ execv(x2gosqlitewrapper, argv);
+
+ }
+--
+1.7.9.5
+
diff --git a/extra/x2goserver/x2goserver.install b/extra/x2goserver/x2goserver.install
index cac06dac8..223eaac62 100644
--- a/extra/x2goserver/x2goserver.install
+++ b/extra/x2goserver/x2goserver.install
@@ -39,7 +39,7 @@ post_install() {
# fix permissions - see INSTALL file
chown -R x2goprint:x2goprint /var/spool/x2go
chmod 0770 /var/spool/x2go
-
+
chown root:x2gouser /usr/lib/x2go/x2gosqlitewrapper
chmod 2755 /usr/lib/x2go/x2gosqlitewrapper