summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-13 00:01:45 +0000
committerroot <root@rshg054.dnsready.net>2012-04-13 00:01:45 +0000
commit7ff5465d0386f06bea97ef956397c305d6f7e07f (patch)
tree0665c968d614fda52d83b1a052766ea1d063e20f /community
parentd6dda60d85c9d4e616982b114b3c243f1faa9d79 (diff)
Fri Apr 13 00:01:45 UTC 2012
Diffstat (limited to 'community')
-rw-r--r--community/gtk-theme-switch2/PKGBUILD13
-rw-r--r--community/mythplugins/PKGBUILD43
-rw-r--r--community/mythtv/PKGBUILD71
-rw-r--r--community/mythtv/mythbackend.conf46
-rw-r--r--community/mythtv/mythbackend.rc105
-rw-r--r--community/mythtv/mythtv_0.25_gcc_4.7.patch107
-rw-r--r--community/nickle/PKGBUILD13
-rw-r--r--community/pwsafe/PKGBUILD20
-rw-r--r--community/pwsafe/pwsafe-XChangeProperty.patch20
-rw-r--r--community/snort/PKGBUILD10
10 files changed, 263 insertions, 185 deletions
diff --git a/community/gtk-theme-switch2/PKGBUILD b/community/gtk-theme-switch2/PKGBUILD
index a5b6b1015..78087c508 100644
--- a/community/gtk-theme-switch2/PKGBUILD
+++ b/community/gtk-theme-switch2/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 46954 2011-05-13 20:41:12Z andrea $
+# $Id: PKGBUILD 69248 2012-04-11 04:16:20Z allan $
# Contributor: Eddie Lozon <almostlucky@attbi.com>
# Contributor: Jason Chu <jason@archlinux.org>
# Contributor: Thayer Williams <thayer@archlinux.org>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=gtk-theme-switch2
pkgver=2.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Gtk2 theme switcher"
url="http://muhri.net/nav.php3?node=gts"
arch=('i686' 'x86_64')
@@ -17,15 +17,14 @@ md5sums=('a9e7e62701cd4fba4d277dc210cd4317')
build() {
cd ${srcdir}/gtk-theme-switch-${pkgver}
-
- make || return 1
+ make
}
package() {
cd ${srcdir}/gtk-theme-switch-${pkgver}
install -Dm755 gtk-theme-switch2 \
- ${pkgdir}/usr/bin/gtk-theme-switch2 || return 1
+ ${pkgdir}/usr/bin/gtk-theme-switch2
install -Dm644 gtk-theme-switch2.1 \
- ${pkgdir}/usr/share/man/man1/gtk-theme-switch2.1 || return 1
+ ${pkgdir}/usr/share/man/man1/gtk-theme-switch2.1
}
diff --git a/community/mythplugins/PKGBUILD b/community/mythplugins/PKGBUILD
index 5e3d59988..29d9895a9 100644
--- a/community/mythplugins/PKGBUILD
+++ b/community/mythplugins/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 62800 2012-01-27 02:41:18Z jconder $
+# $Id: PKGBUILD 69264 2012-04-11 06:54:34Z jconder $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
@@ -10,36 +10,36 @@ pkgname=('mythplugins-mytharchive'
'mythplugins-mythmusic'
'mythplugins-mythnetvision'
'mythplugins-mythnews'
- 'mythplugins-mythvideo'
'mythplugins-mythweather'
'mythplugins-mythweb'
'mythplugins-mythzoneminder')
-pkgver=0.24.2
-pkgrel=2
+pkgver=0.25
+pkgrel=1
epoch=1
arch=('i686' 'x86_64')
url="http://www.mythtv.org"
license=('GPL')
-makedepends=('cdparanoia' 'cdrkit' 'dvdauthor' 'dvd+rw-tools' 'ffmpeg' 'flac'
- 'libcdaudio' 'libexif' 'libvisual' 'libvorbis' 'mplayer' 'mythtv'
- 'perl-datetime-format-iso8601' 'perl-date-manip' 'perl-image-size'
- 'perl-json' 'perl-libwww' 'perl-soap-lite' 'perl-xml-sax'
- 'perl-xml-simple' 'perl-xml-xpath' 'python2-oauth' 'python-imaging'
- 'python-pycurl' 'sdl' 'taglib' 'zlib')
+makedepends=('cdrkit' 'dvdauthor' 'dvd+rw-tools' 'ffmpeg' 'flac' 'libexif'
+ 'libvorbis' 'mplayer' 'mythtv' 'perl-datetime-format-iso8601'
+ 'perl-date-manip' 'perl-image-size' 'perl-json' 'perl-libwww'
+ 'perl-soap-lite' 'perl-xml-sax' 'perl-xml-simple' 'perl-xml-xpath'
+ 'python2-oauth' 'python-imaging' 'python-pycurl' 'taglib' 'zlib')
source=("ftp://ftp.osuosl.org/pub/mythtv/$pkgbase-$pkgver.tar.bz2"
'mtd.rc')
-md5sums=('471836d48657afc488d560aee624931e'
+md5sums=('b3f2768372a38e92ca94841519daa05e'
'476c12ba074794ad7f4ae092bdf949d6')
build() {
cd "$srcdir/$pkgbase-$pkgver"
find . -name '*.py' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+ sed -re 's@cstdio@cstdio>\n#include <unistd.h@' -i mythzoneminder/mythzmserver/zmserver.cpp
+
./configure --prefix=/usr \
--enable-all \
- --python=python2
+ --python=python2
qmake mythplugins.pro
- make
+ make -s
}
package_mythplugins-mytharchive() {
@@ -77,8 +77,7 @@ package_mythplugins-mythgame() {
package_mythplugins-mythmusic() {
pkgdesc="Music playing plugin for MythTV"
- depends=('cdparanoia' 'flac' 'libcdaudio' 'libvisual' 'libvorbis' 'mythtv'
- 'sdl' 'taglib')
+ depends=('mythtv' 'taglib')
cd "$srcdir/$pkgbase-$pkgver/mythmusic"
make INSTALL_ROOT="$pkgdir" install
@@ -86,7 +85,7 @@ package_mythplugins-mythmusic() {
package_mythplugins-mythnetvision() {
pkgdesc="MythNetvision plugin for MythTV"
- depends=('mythtv' 'python2-oauth' 'python-pycurl')
+ depends=('mythtv' 'python2-oauth')
cd "$srcdir/$pkgbase-$pkgver/mythnetvision"
make INSTALL_ROOT="$pkgdir" install
@@ -100,19 +99,9 @@ package_mythplugins-mythnews() {
make INSTALL_ROOT="$pkgdir" install
}
-package_mythplugins-mythvideo() {
- pkgdesc="Video playback and browsing plugin for MythTV"
- depends=('mplayer' 'mythtv')
-
- cd "$srcdir/$pkgbase-$pkgver/mythvideo"
- make INSTALL_ROOT="$pkgdir" install
-
- install -D -m755 "$srcdir/mtd.rc" "$pkgdir/etc/rc.d/mtd"
-}
-
package_mythplugins-mythweather() {
pkgdesc="Weather checking plugin for MythTV"
- depends=('mythtv' 'perl-date-manip' 'perl-json' 'perl-libwww' 'perl-soap-lite'
+ depends=('mythtv' 'perl-date-manip' 'perl-json' 'perl-soap-lite'
'perl-xml-sax' 'perl-xml-simple' 'perl-xml-xpath' 'perl-image-size'
'perl-datetime-format-iso8601')
diff --git a/community/mythtv/PKGBUILD b/community/mythtv/PKGBUILD
index 3a2461b55..37a58eecd 100644
--- a/community/mythtv/PKGBUILD
+++ b/community/mythtv/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 67901 2012-03-15 23:14:42Z ebelanger $
+# $Id: PKGBUILD 69262 2012-04-11 06:53:29Z jconder $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
@@ -6,59 +6,53 @@
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=mythtv
-pkgver=0.24.2
-pkgrel=3
+pkgver=0.25
+pkgrel=1
epoch=1
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
url="http://www.mythtv.org/"
license=('GPL')
-depends=('lame' 'libavc1394' 'libiec61883' 'libpulse' 'libvdpau' 'libxinerama'
- 'libxvmc' 'libxxf86vm' 'lirc-utils' 'mesa' 'mysql-clients'
- 'mysql-python' 'perl-dbd-mysql' 'perl-libwww' 'perl-net-upnp'
- 'python2-lxml' 'wget' 'qtwebkit')
-makedepends=('yasm')
-optdepends=('xmltv: to download tv listings')
+depends=('avahi' 'fftw' 'lame' 'libass' 'libavc1394' 'libcdio' 'libiec61883'
+ 'libpulse' 'libva' 'libvdpau' 'libxinerama' 'lirc-utils' 'mesa'
+ 'mysql-clients' 'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6'
+ 'perl-libwww' 'perl-net-upnp' 'python2-lxml' 'qtwebkit' 'urlgrabber'
+ 'x264')
+makedepends=('glew' 'libcec' 'libxml2' 'openssl' 'yasm')
+optdepends=('glew: for GPU commercial flagging'
+ 'libcec: for consumer electronics control capabilities'
+ 'libxml2: to read blu-ray metadata'
+ 'openssl: for AirTunes (RAOP) support'
+ 'xmltv: to download tv listings')
backup=('etc/conf.d/mythbackend')
install='mythtv.install'
source=("ftp://ftp.osuosl.org/pub/$pkgname/$pkgname-$pkgver.tar.bz2"
+ 'mythtv_0.25_gcc_4.7.patch'
'mythbackend.rc'
'mythbackend.conf')
-md5sums=('7259fd24560da77da90b1494492f9550'
- 'feadcc9ad064d93d6dceab1efc0bd9ed'
- 'bb8e4033d82428d827570fae9ba15e6a')
+md5sums=('e49c81de40e279c83dcb1b2aa9a45748'
+ '6090f5f22a8584db80b76cf19869ee41'
+ '62fd98347c56b1d9b795792f83269d25'
+ '1f72db0586f97a7c3fd3155dfa9a6c6f')
build() {
cd "$srcdir/$pkgname-$pkgver"
find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+ patch -Np1 -i "$srcdir/mythtv_0.25_gcc_4.7.patch"
+
ARCH="${CARCH/_/-}"
- ./configure --prefix=/usr --cpu="$ARCH" \
- --enable-mmx \
- --enable-audio-oss \
- --enable-audio-alsa \
- --disable-audio-jack \
- --enable-audio-pulse \
- --disable-altivec \
- --disable-distcc \
- --disable-ccache \
- --enable-vdpau \
- --enable-dvb \
- --dvb-path=/usr/include \
- --enable-lirc \
- --enable-joystick-menu \
- --enable-v4l \
- --enable-ivtv \
- --enable-xvmc \
- --enable-xvmcw \
- --enable-xvmc-vld \
- --enable-firewire \
- --enable-opengl-vsync \
- --enable-xrandr \
- --enable-xv \
- --enable-x11 \
- --with-bindings=perl,python \
- --python=python2
+ ./configure --prefix=/usr \
+ --cpu="$ARCH" \
+ --disable-altivec \
+ --disable-audio-jack \
+ --disable-ccache \
+ --disable-distcc \
+ --enable-libfftw3 \
+ --enable-libmp3lame \
+ --enable-libx264 \
+ --enable-vaapi \
+ --python=python2
make
}
@@ -72,4 +66,5 @@ package() {
mkdir -p "$pkgdir/usr/share/mythtv"
cp -R 'contrib' "$pkgdir/usr/share/mythtv"
+ mkdir -p "$pkgdir/var/log/mythtv"
}
diff --git a/community/mythtv/mythbackend.conf b/community/mythtv/mythbackend.conf
index e004ae5bd..15a248450 100644
--- a/community/mythtv/mythbackend.conf
+++ b/community/mythtv/mythbackend.conf
@@ -1,11 +1,5 @@
#!/bin/bash
#
-# Rename this file to:
-#
-# /etc/config.d/mythbackend
-#
-###############################################################################
-#
# Copyright (c) by the MythTV Development Team.
#
# Derived from work by:
@@ -32,21 +26,7 @@
#
###############################################################################
#
-# Config variables for the mythbackend startup script, which is usually
-# located in /etc/rc.d/mythbackend
-#
-# When the startup script is executed, it sources this file if it exists,
-# otherwise it will fall back on default values.
-#
-# Leave variables commented out to use default values in init script
-# (/etc/rc.d/mythbackend).
-#
-# To override defaults, uncomment the relevant variable definition and
-# edit as required.
-#
-
-#
-# User who should start the mythbackend processes
+# User who should start the mythbackend process
#
# Running mythbackend as non-root requires you to ensure that audio/video
# devices used for recording have suitable user permissions. One way
@@ -59,32 +39,14 @@
# MBE_USER='root'
#
-# Directory holding the mythbackend binary (empty means autodetect).
+# Startup options for mythbackend (see 'mythbackend --help' for a list).
#
-# MBE_DIR=''
-
-#
-# Name of mythbackend binary.
-#
-# MBE_PROG='mythbackend'
-
-#
-# Other startup options for mythbackend (see 'mythbackend --help' for a list).
-#
-# MBE_OPTIONS=''
+# MBE_OPTS=''
#
# Directory holding the mythbackend log file
#
-# LOG_DIR='/var/log/mythtv'
-
-#
-# Name of mythbackend log file.
-#
-# NOTE: If you are running as non-root take care to ensure the mythbackend user
-# has permission to write to this log file.
-#
-# LOG_FILE='mythbackend.log'
+# LOG_PATH='/var/log/mythtv'
#
# Logging options for mythbackend (see 'mythbackend -v help' for a list)
diff --git a/community/mythtv/mythbackend.rc b/community/mythtv/mythbackend.rc
index 410e8de41..2b3c2d52e 100644
--- a/community/mythtv/mythbackend.rc
+++ b/community/mythtv/mythbackend.rc
@@ -2,81 +2,72 @@
. /etc/rc.conf
. /etc/rc.d/functions
+. /etc/profile
+###############################################################################
# Default values to use if none are supplied in the config file.
-
-# Running mythbackend as non-root requires you to ensure that audio/video
-# devices used for recording have suitable user permissions. One way
-# to achieve this is to modify existing or create new udev rules which
-# assign these devices to a non-root group with rw permissions and add
-# your mythbackend user to that group. Be aware that console.perms can
-# also affect device permissions and may need additional configuration.
-# Running as non-root may also introduce increased process latency.
#
-# User who should start the mythbackend processes
+# User who should start the mythbackend process
MBE_USER='root'
# Startup options for mythbackend
-MBE_OPTIONS=''
+MBE_OPTS=''
-# Name of mythbackend log file
-LOG_FILE='/var/log/mythbackend.log'
+# Directory holding the mythbackend log file
+LOG_PATH='/var/log/mythtv'
-# Logging options for mythbackend (empty means '-v important,general')
+# Logging options for mythbackend
LOG_OPTS=''
-
###############################################################################
CONFIG_FILE=/etc/conf.d/mythbackend
PIDFILE=/var/run/mythbackend.pid
-if [[ -f ${CONFIG_FILE} ]]; then
- . ${CONFIG_FILE}
+if [[ -r "$CONFIG_FILE" ]]; then
+ . "$CONFIG_FILE"
fi
-pid="$(cat ${PIDFILE} 2>/dev/null || pidof mythbackend)";
-
-# fix FS#11890
-mbe_user_home="$(getent passwd ${MBE_USER}|cut -d : -f 6)"
+PID="$(cat "$PIDFILE" 2> /dev/null || pidof mythbackend)"
+export HOME="$(getent passwd "$MBE_USER" | cut -d : -f 6)"
case "$1" in
- start)
- stat_busy "Starting MythTV Backend"
+ start)
+ stat_busy "Starting MythTV Backend"
+
+ if [[ "$PID" -gt 0 ]] && kill -0 "$PID"; then
+ stat_fail
+ exit 0
+ fi
+
+ touch "$PIDFILE"
+ chown "$MBE_USER" "$PIDFILE" "$LOG_PATH"
- # already running ?
- if [[ "${pid}" -gt 0 ]] && kill -0 "${pid}"; then
- stat_fail
- exit 1;
- fi
- touch ${PIDFILE} ${LOG_FILE}
- chown "$MBE_USER" ${PIDFILE} ${LOG_FILE}
- if su "$MBE_USER" -c "HOME=${mbe_user_home} mythbackend \
- --daemon \
- --logfile $LOG_FILE $LOG_OPTS \
- --pidfile ${PIDFILE} $MBE_OPTIONS";
- then
- add_daemon mythbackend
- stat_done
- else
- stat_fail
- fi
- ;;
-
- stop)
- stat_busy "Stopping MythTV Backend"
- if [[ "${pid}" -gt 0 ]] && kill $pid &>/dev/null; then
- rm_daemon mythbackend
- stat_done
- rm ${PIDFILE} 2>/dev/null
- else
- stat_fail
- fi
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
+ MBE_CMD="/usr/bin/mythbackend --daemon \
+ --logpath "$LOG_PATH" $LOG_OPTS \
+ --pidfile "$PIDFILE" $MBE_OPTS"
+ if su "$MBE_USER" -c "$MBE_CMD"; then
+ add_daemon mythbackend
+ stat_done
+ else
+ stat_fail
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping MythTV Backend"
+ if [[ "$PID" -gt 0 ]] && kill "$PID" &> /dev/null; then
+ rm_daemon mythbackend
+ stat_done
+ rm -f "$PIDFILE"
+ else
+ stat_fail
+ fi
+ ;;
+ restart)
+ "$0" stop
+ "$0" start
+ ;;
+ *)
+ echo "usage: $0 (start|stop|restart)"
+ ;;
esac
exit 0
diff --git a/community/mythtv/mythtv_0.25_gcc_4.7.patch b/community/mythtv/mythtv_0.25_gcc_4.7.patch
new file mode 100644
index 000000000..83c8244a0
--- /dev/null
+++ b/community/mythtv/mythtv_0.25_gcc_4.7.patch
@@ -0,0 +1,107 @@
+*** a/libs/libmythbase/compat.h 2012-03-31 20:52:30.430461503 -0400
+--- b/libs/libmythbase/compat.h 2012-03-31 20:59:05.935585911 -0400
+***************
+*** 44,49 ****
+--- 44,51 ----
+ # include <sys/resource.h> // for setpriority
+ # include <sys/socket.h>
+ # include <sys/wait.h> // For WIFEXITED on Mac OS X
++ # include <stdio.h> // for snprintf(), used by inline dlerror()
++ # include <unistd.h> // for usleep()
+ #endif
+
+ #ifdef USING_MINGW
+*** a/libs/libmyth/rssparse.h 2012-03-31 20:52:30.427453729 -0400
+--- b/libs/libmyth/rssparse.h 2012-03-31 21:51:11.687438044 -0400
+***************
+*** 13,18 ****
+--- 13,19 ----
+ #include <QPair>
+ #include <QMap>
+ #include <QVariant>
++ #include <sys/types.h>
+
+ #include "mythexp.h"
+
+*** a/libs/libmythtv/audioinput.h 2012-03-31 22:41:55.626923063 -0400
+--- b/libs/libmythtv/audioinput.h 2012-03-31 22:41:22.478248297 -0400
+***************
+*** 22,27 ****
+--- 22,28 ----
+ #define _AUDIOINPUT_H_
+
+ #include <QString>
++ #include <unistd.h>
+
+ class AudioInput
+ {
+*** a/external/FFmpeg/libavcodec/x86/h264_qpel_mmx.c 2012-03-31 20:52:29.923150437 -0400
+--- b/external/FFmpeg/libavcodec/x86/h264_qpel_mmx.c 2012-03-31 21:58:48.422270780 -0400
+***************
+*** 398,404 ****
+ "2: \n\t"\
+ \
+ : "+a"(src), "+c"(dst)\
+! : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "g"(h)\
+ : "memory"\
+ );\
+ src += 4-(h+5)*srcStride;\
+--- 398,404 ----
+ "2: \n\t"\
+ \
+ : "+a"(src), "+c"(dst)\
+! : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "rm"(h)\
+ : "memory"\
+ );\
+ src += 4-(h+5)*srcStride;\
+***************
+*** 446,452 ****
+ QPEL_H264HV(%%mm3, %%mm4, %%mm5, %%mm0, %%mm1, %%mm2, 15*48)\
+ "2: \n\t"\
+ : "+a"(src)\
+! : "c"(tmp), "S"((x86_reg)srcStride), "g"(size)\
+ : "memory"\
+ );\
+ tmp += 4;\
+--- 446,452 ----
+ QPEL_H264HV(%%mm3, %%mm4, %%mm5, %%mm0, %%mm1, %%mm2, 15*48)\
+ "2: \n\t"\
+ : "+a"(src)\
+! : "c"(tmp), "S"((x86_reg)srcStride), "rm"(size)\
+ : "memory"\
+ );\
+ tmp += 4;\
+***************
+*** 823,829 ****
+ "2: \n\t"\
+ \
+ : "+a"(src), "+c"(dst)\
+! : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "g"(h)\
+ : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3", \
+ "%xmm4", "%xmm5", "%xmm6", "%xmm7",)\
+ "memory"\
+--- 823,829 ----
+ "2: \n\t"\
+ \
+ : "+a"(src), "+c"(dst)\
+! : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "rm"(h)\
+ : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3", \
+ "%xmm4", "%xmm5", "%xmm6", "%xmm7",)\
+ "memory"\
+***************
+*** 878,884 ****
+ QPEL_H264HV_XMM(%%xmm3, %%xmm4, %%xmm5, %%xmm0, %%xmm1, %%xmm2, 15*48)
+ "2: \n\t"
+ : "+a"(src)
+! : "c"(tmp), "S"((x86_reg)srcStride), "g"(size)
+ : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3",
+ "%xmm4", "%xmm5", "%xmm6", "%xmm7",)
+ "memory"
+--- 878,884 ----
+ QPEL_H264HV_XMM(%%xmm3, %%xmm4, %%xmm5, %%xmm0, %%xmm1, %%xmm2, 15*48)
+ "2: \n\t"
+ : "+a"(src)
+! : "c"(tmp), "S"((x86_reg)srcStride), "rm"(size)
+ : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3",
+ "%xmm4", "%xmm5", "%xmm6", "%xmm7",)
+ "memory"
diff --git a/community/nickle/PKGBUILD b/community/nickle/PKGBUILD
index 1e511b630..44f3e05ca 100644
--- a/community/nickle/PKGBUILD
+++ b/community/nickle/PKGBUILD
@@ -1,9 +1,9 @@
-#$Id: PKGBUILD 46957 2011-05-13 20:41:22Z andrea $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
+#$Id: PKGBUILD 69252 2012-04-11 04:23:34Z allan $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=nickle
pkgver=2.70
-pkgrel=1
+pkgrel=2
pkgdesc="A programming language based prototyping environment with powerful programming and scripting capabilities"
arch=('i686' 'x86_64')
url="http://nickle.org"
@@ -16,7 +16,10 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
diff --git a/community/pwsafe/PKGBUILD b/community/pwsafe/PKGBUILD
index f624e456c..2a4535a27 100644
--- a/community/pwsafe/PKGBUILD
+++ b/community/pwsafe/PKGBUILD
@@ -1,23 +1,35 @@
-# $Id: PKGBUILD 66173 2012-02-23 02:29:46Z spupykin $
+# $Id: PKGBUILD 69267 2012-04-11 11:46:13Z lcarlier $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
pkgname=pwsafe
pkgver=0.2.0
-pkgrel=7
+pkgrel=8
pkgdesc="A commandline program for managing encrypted password databases"
arch=('i686' 'x86_64')
url="http://nsd.dyndns.org/pwsafe/"
license=('GPL')
depends=('openssl' 'libxmu' 'readline')
-source=($url/releases/${pkgname}-${pkgver}.tar.gz)
-md5sums=('4bb36538a2772ecbf1a542bc7d4746c0')
+source=(${url}/releases/${pkgname}-${pkgver}.tar.gz
+ pwsafe-XChangeProperty.patch)
+md5sums=('4bb36538a2772ecbf1a542bc7d4746c0'
+ 'cff6aee2e43f5fbe82e8cd7ccfefb099')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+
+ # Patch from fedora, fixes FS#28339
+ patch -Np0 -i ../pwsafe-XChangeProperty.patch
+
./configure --prefix=/usr --mandir=/usr/share/man
make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
make DESTDIR=${pkgdir} install
+
# Make pwsafe suid root so it can seed rng as a user
chmod +s ${pkgdir}/usr/bin/pwsafe
}
diff --git a/community/pwsafe/pwsafe-XChangeProperty.patch b/community/pwsafe/pwsafe-XChangeProperty.patch
new file mode 100644
index 000000000..6758a573d
--- /dev/null
+++ b/community/pwsafe/pwsafe-XChangeProperty.patch
@@ -0,0 +1,20 @@
+Index: pwsafe.cpp
+===================================================================
+RCS file: /cvsroot/pwsafe/pwsafe/pwsafe.cpp,v
+retrieving revision 1.57
+diff -u -r1.57 pwsafe.cpp
+--- pwsafe.cpp 12 Aug 2007 12:33:06 -0000 1.57
++++ pwsafe.cpp 5 Jan 2011 22:16:43 -0000
+@@ -1820,10 +1820,10 @@
+ if (xev.xselectionrequest.target == XA_TARGETS(xdisplay)) {
+ // tell them what we can supply
+ const Atom targets[] = { XA_TARGETS(xdisplay), XA_TIMESTAMP(xdisplay), XA_TEXT(xdisplay), XA_STRING };
+- XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_TARGETS(xdisplay), 32, PropModeReplace, reinterpret_cast<const unsigned char*>(&targets), sizeof(targets)/sizeof(targets[0]));
++ XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_ATOM, 32, PropModeReplace, reinterpret_cast<const unsigned char*>(&targets), sizeof(targets)/sizeof(targets[0]));
+ }
+ else if (xev.xselectionrequest.target == XA_TIMESTAMP(xdisplay)) {
+- XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_TIMESTAMP(xdisplay), 32, PropModeReplace, reinterpret_cast<const unsigned char*>(&timestamp), 1);
++ XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_INTEGER, 32, PropModeReplace, reinterpret_cast<const unsigned char*>(&timestamp), 1);
+ }
+ else if (xev.xselectionrequest.target == XA_TEXT(xdisplay) ||
+ xev.xselectionrequest.target == XA_STRING) {
diff --git a/community/snort/PKGBUILD b/community/snort/PKGBUILD
index 445886fb0..e64dfe966 100644
--- a/community/snort/PKGBUILD
+++ b/community/snort/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 64359 2012-02-11 23:24:21Z allan $
+# $Id: PKGBUILD 69276 2012-04-11 23:23:45Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Hugo Doria <hugo@archlinux.org>
# Contributor: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com>
@@ -6,8 +6,8 @@
# Contributor: Gregor Ibic <gregor.ibic@intelicom.si>
pkgname=snort
-pkgver=2.9.2.1
-pkgrel=2
+pkgver=2.9.2.2
+pkgrel=1
pkgdesc='A lightweight network intrusion detection system.'
arch=('i686' 'x86_64')
url='http://www.snort.org'
@@ -21,10 +21,10 @@ backup=('etc/conf.d/snort'
'etc/snort/classification.config')
options=('!makeflags' '!libtool')
install='snort.install'
-source=('http://www.snort.org/downloads/1416'
+source=("http://www.snort.org/dl/snort-current/${pkgname}-${pkgver}.tar.gz"
'snort'
'snort.conf.d')
-md5sums=('2f3e2b6ee72adbdfac73cb1c6c14bd61'
+md5sums=('4254389550e3be31afebc70e64e6002f'
'361b8b9e40b9af0164f6b3e3da2e8277'
'b4fb8a68490589cd34df93de7609bfac')