From 92e417e74221c2101828ef2b66a77c7fdcd29433 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Sat, 20 Jan 2018 09:10:03 +0100 Subject: pcr/ucsniff-ace: moved from pcr/ace to avoid name collisions --- pcr/ace/PKGBUILD | 31 ------------------------------- pcr/ucsniff-ace/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 31 deletions(-) delete mode 100644 pcr/ace/PKGBUILD create mode 100644 pcr/ucsniff-ace/PKGBUILD (limited to 'pcr') diff --git a/pcr/ace/PKGBUILD b/pcr/ace/PKGBUILD deleted file mode 100644 index 3a87d3f79..000000000 --- a/pcr/ace/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Maintainer: Márcio Silva - -pkgname='ace' -pkgver='1.10' -pkgrel=4 -pkgdesc='A simple yet powerful VoIP Corporate Directory enumeration tool that mimics the behavior of an IP Phone in order to download the name and extension entries that a given phone can display on its screen interface.' -url='http://ucsniff.sourceforge.net/ace.html' -license=('GPL') -depends=('libpcap') -arch=('i686' 'x86_64' 'armv7h') -source=("http://downloads.sourceforge.net/ucsniff/ace-$pkgver.tar.gz") -sha1sums=('747aee37f74e71101317809797cdaed7077dd29e') - -prepare() { - cd "$srcdir/ace-$pkgver" - - sed -i 's#linux/if_tr.h#netinet/if_tr.h#' client.h - sed -i "s:gcc :gcc $CFLAGS :g" Makefile -} - -build() { - cd "$srcdir/ace-$pkgver" - - make -} - -package() { - cd "$srcdir/ace-$pkgver" - - install -Dm755 ace "$pkgdir/usr/bin/ace" -} diff --git a/pcr/ucsniff-ace/PKGBUILD b/pcr/ucsniff-ace/PKGBUILD new file mode 100644 index 000000000..b2e68e67d --- /dev/null +++ b/pcr/ucsniff-ace/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Márcio Silva + +pkgname='ucsniff-ace' +pkgver='1.10' +pkgrel=4 +pkgdesc='A simple yet powerful VoIP Corporate Directory enumeration tool that mimics the behavior of an IP Phone in order to download the name and extension entries that a given phone can display on its screen interface.' +url='http://ucsniff.sourceforge.net/ace.html' +license=('GPL') +depends=('libpcap') +arch=('i686' 'x86_64' 'armv7h') +source=("http://downloads.sourceforge.net/ucsniff/ace-$pkgver.tar.gz") +sha1sums=('747aee37f74e71101317809797cdaed7077dd29e') +replaces=('ace') + +prepare() { + cd "$srcdir/ace-$pkgver" + + sed -i 's#linux/if_tr.h#netinet/if_tr.h#' client.h + sed -i "s:gcc :gcc $CFLAGS :g" Makefile +} + +build() { + cd "$srcdir/ace-$pkgver" + + make +} + +package() { + cd "$srcdir/ace-$pkgver" + + install -Dm755 ace "$pkgdir/usr/bin/ace" +} -- cgit v1.2.3