summaryrefslogtreecommitdiff
path: root/staging
diff options
context:
space:
mode:
Diffstat (limited to 'staging')
-rw-r--r--staging/ettercap/PKGBUILD70
-rw-r--r--staging/ettercap/ettercap-gtk.install11
-rw-r--r--staging/glib2/PKGBUILD43
-rw-r--r--staging/glib2/glib2.csh1
-rw-r--r--staging/glib2/glib2.sh1
-rw-r--r--staging/grep/PKGBUILD34
-rw-r--r--staging/grep/grep.install21
-rw-r--r--staging/less/PKGBUILD29
-rw-r--r--staging/pcre/PKGBUILD38
-rw-r--r--staging/slang/PKGBUILD34
-rw-r--r--staging/xfce4-verve-plugin/PKGBUILD33
11 files changed, 315 insertions, 0 deletions
diff --git a/staging/ettercap/PKGBUILD b/staging/ettercap/PKGBUILD
new file mode 100644
index 000000000..656311dc9
--- /dev/null
+++ b/staging/ettercap/PKGBUILD
@@ -0,0 +1,70 @@
+# $Id: PKGBUILD 149171 2012-02-06 04:26:56Z allan $
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgbase=ettercap
+pkgname=('ettercap' 'ettercap-gtk')
+pkgver=NG_0.7.4.2
+_origver=${pkgver/_/-}
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://ettercap.sourceforge.net/"
+license=('GPL')
+makedepends=('libpcap' 'libltdl' 'libnet' 'gtk2' 'hicolor-icon-theme')
+options=('!libtool' '!makeflags' '!emptydirs')
+source=("http://drizztbsd.github.com/${pkgbase}/dist/${pkgbase}-${_origver}.tar.gz")
+md5sums=('ab2354bf9c91195f06ad0b5d058565a4')
+
+build() {
+ cd "${srcdir}"
+ sed -i 's/su-to-root -c/gksu/' ${pkgbase}-${_origver}/desktop/ettercap.desktop
+
+ cp -r ${pkgbase}-${_origver} ${pkgbase}-${_origver}-gtk
+
+ cd ${pkgbase}-${_origver}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --datarootdir=/usr/share \
+ --enable-plugins \
+ --enable-https \
+ --disable-gtk
+ make
+
+ cd ../${pkgbase}-${_origver}-gtk
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --datarootdir=/usr/share \
+ --enable-plugins \
+ --enable-https \
+ --enable-gtk
+ make
+}
+
+package_ettercap() {
+ pkgdesc="A network sniffer/interceptor/logger for ethernet LANs - console"
+ depends=('openssl' 'libpcap' 'pcre' 'libltdl' 'libnet')
+ backup=('etc/etter.conf')
+
+ cd "${srcdir}"/${pkgbase}-${_origver}
+ make DESTDIR="${pkgdir}" install
+}
+
+package_ettercap-gtk() {
+ pkgdesc="A network sniffer/interceptor/logger for ethernet LANs - GTK"
+ depends=('ettercap' 'gtk2' 'hicolor-icon-theme')
+ optdepends=('gksu: to run ettercap from the menu')
+ install=ettercap-gtk.install
+
+ cd "${srcdir}"/${pkgbase}-${_origver}-gtk
+ install -Dm755 src/ettercap "${pkgdir}"/usr/bin/ettercap-gtk
+ install -Dm644 desktop/ettercap.desktop \
+ "${pkgdir}"/usr/share/applications/ettercap.desktop
+ install -Dm644 share/ettercap.png \
+ "${pkgdir}"/usr/share/ettercap/ettercap.png
+ install -Dm644 desktop/ettercap.xpm \
+ "${pkgdir}"/usr/share/icons/hicolor/32x32/apps/ettercap.xpm
+ install -Dm644 desktop/ettercap.svg \
+ "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/ettercap.svg
+}
diff --git a/staging/ettercap/ettercap-gtk.install b/staging/ettercap/ettercap-gtk.install
new file mode 100644
index 000000000..1a05f573e
--- /dev/null
+++ b/staging/ettercap/ettercap-gtk.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/staging/glib2/PKGBUILD b/staging/glib2/PKGBUILD
new file mode 100644
index 000000000..d941d1363
--- /dev/null
+++ b/staging/glib2/PKGBUILD
@@ -0,0 +1,43 @@
+# $Id: PKGBUILD 149165 2012-02-06 04:06:32Z allan $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=glib2
+pkgver=2.30.2
+pkgrel=2
+pkgdesc="Common C routines used by GTK+ and other libs"
+url="http://www.gtk.org/"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('pcre' 'libffi')
+makedepends=('pkgconfig' 'python2')
+optdepends=('python2: for gdbus-codegen')
+options=('!libtool' '!docs' '!emptydirs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.30/glib-${pkgver}.tar.xz
+ glib2.sh
+ glib2.csh)
+sha256sums=('f0e91e6333321ddb48fa12b5c66f56c3d5f05325748c66dd2e9016c278ff8e82'
+ '9456872cdedcc639fb679448d74b85b0facf81033e27157d2861b991823b5a2a'
+ '8d5626ffa361304ad3696493c0ef041d0ab10c857f6ef32116b3e2878ecf89e3')
+
+build() {
+ cd "${srcdir}/glib-${pkgver}"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-pcre=system \
+ --disable-fam
+ make
+}
+
+package() {
+ cd "${srcdir}/glib-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -d "${pkgdir}/etc/profile.d"
+ install -m755 "${srcdir}/glib2.sh" "${pkgdir}/etc/profile.d/"
+ install -m755 "${srcdir}/glib2.csh" "${pkgdir}/etc/profile.d/"
+
+ for _i in "${pkgdir}/etc/bash_completion.d/"*; do
+ chmod -x "${_i}"
+ done
+ sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|" "$pkgdir"/usr/bin/gdbus-codegen
+}
diff --git a/staging/glib2/glib2.csh b/staging/glib2/glib2.csh
new file mode 100644
index 000000000..7aa3a2ffa
--- /dev/null
+++ b/staging/glib2/glib2.csh
@@ -0,0 +1 @@
+setenv G_BROKEN_FILENAMES 1
diff --git a/staging/glib2/glib2.sh b/staging/glib2/glib2.sh
new file mode 100644
index 000000000..96a056e1e
--- /dev/null
+++ b/staging/glib2/glib2.sh
@@ -0,0 +1 @@
+export G_BROKEN_FILENAMES=1
diff --git a/staging/grep/PKGBUILD b/staging/grep/PKGBUILD
new file mode 100644
index 000000000..cb98ef16f
--- /dev/null
+++ b/staging/grep/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 149159 2012-02-06 01:59:43Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: judd <jvinet@zeroflux.org>
+
+pkgname=grep
+pkgver=2.10
+pkgrel=2
+pkgdesc="A string search utility"
+arch=('i686' 'x86_64')
+license=('GPL3')
+url="http://www.gnu.org/software/grep/grep.html"
+groups=('base')
+depends=('glibc' 'pcre' 'sh')
+makedepends=('texinfo')
+install=${pkgname}.install
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
+md5sums=('709915434d09f5db655e5ebd7fd6bb7f'
+ '9ad5c390a6ad7f566c58db28ddb06aed')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --without-included-regex
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
diff --git a/staging/grep/grep.install b/staging/grep/grep.install
new file mode 100644
index 000000000..7cd31301f
--- /dev/null
+++ b/staging/grep/grep.install
@@ -0,0 +1,21 @@
+infodir=usr/share/info
+filelist=(grep.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
diff --git a/staging/less/PKGBUILD b/staging/less/PKGBUILD
new file mode 100644
index 000000000..76568817c
--- /dev/null
+++ b/staging/less/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 149161 2012-02-06 02:15:27Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: judd <jvinet@zeroflux.org>
+
+pkgname=less
+pkgver=444
+pkgrel=3
+pkgdesc="A terminal based program for viewing text files"
+license=('GPL3')
+arch=('i686' 'x86_64')
+url="http://www.greenwoodsoftware.com/less"
+groups=('base')
+depends=('ncurses' 'pcre')
+source=(http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
+md5sums=('56f9f76ffe13f70155f47f6b3c87d421'
+ 'd5fafbd94a9cfdeaad0c82143a033fe5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --with-regex=pcre
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make prefix="${pkgdir}"/usr install
+}
diff --git a/staging/pcre/PKGBUILD b/staging/pcre/PKGBUILD
new file mode 100644
index 000000000..3e1085ae4
--- /dev/null
+++ b/staging/pcre/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 149157 2012-02-06 01:57:58Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: Eric Belanger <eric@archlinux.org>
+# Contributor: John Proctor <jproctor@prium.net>
+
+pkgname=pcre
+pkgver=8.30
+pkgrel=1
+pkgdesc="A library that implements Perl 5-style regular expressions"
+arch=('i686' 'x86_64')
+url="http://www.pcre.org/"
+license=('BSD')
+depends=('gcc-libs')
+options=('!libtool')
+source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('98e8928cccc945d04279581e778fbdff'
+ '01eee0333fa71687e0b6756db77f94ad')
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
+ ./configure --prefix=/usr --enable-pcre16 --enable-jit \
+ --enable-utf8 --enable-unicode-properties
+ make
+}
+
+check() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 LICENCE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
diff --git a/staging/slang/PKGBUILD b/staging/slang/PKGBUILD
new file mode 100644
index 000000000..533512f2e
--- /dev/null
+++ b/staging/slang/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 149167 2012-02-06 04:07:35Z allan $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=slang
+pkgver=2.2.4
+pkgrel=2
+pkgdesc="S-Lang is a powerful interpreted language"
+arch=('i686' 'x86_64')
+url="http://www.jedsoft.org/slang/"
+license=('GPL')
+depends=('glibc' 'pcre' 'zlib')
+backup=('etc/slsh.rc')
+options=('!makeflags')
+source=(ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2{,.asc})
+md5sums=('7fcfd447e378f07dd0c0bae671fe6487'
+ '0e37091fe52b4ef609c3cee8eda0e101')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install-all
+}
diff --git a/staging/xfce4-verve-plugin/PKGBUILD b/staging/xfce4-verve-plugin/PKGBUILD
new file mode 100644
index 000000000..29814c68c
--- /dev/null
+++ b/staging/xfce4-verve-plugin/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 149169 2012-02-06 04:15:31Z allan $
+# Maintainer: AndyRTR <andyrtr@archlinux.org>
+# Contributor: Tobias Kieslich <tobias (at) archlinux.org>
+
+pkgname=xfce4-verve-plugin
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="command line plugin Xfce4 panel"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://xfce-goodies.berlios.de/"
+groups=('xfce4-goodies')
+depends=('xfce4-panel' 'libxfcegui4')
+makedepends=('intltool')
+replaces=('verve-plugin')
+source=(http://archive.xfce.org/src/panel-plugins/$pkgname/1.0/$pkgname-$pkgver.tar.bz2)
+md5sums=('ed7039c40d6e560ed8bcf9a324d2ae86')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-debug
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}