diff options
author | Brian Bidulock | 2015-07-14 00:25:10 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-07-14 00:25:10 -0600 |
commit | 98ee1c4daecffbd6c7a0e26d509da5d45a308c95 (patch) | |
tree | fe81f969f7737f667c24d4c74c7951b9dfcd34ce | |
download | aur-voiphopper.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cda8a2a62173 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = voiphopper + pkgdesc = A security validation tool that tests to see if a PC can mimic the behavior of an IP Phone. It rapidly automates a VLAN Hop into the Voice VLAN. + pkgver = 2.04 + pkgrel = 1 + url = http://voiphopper.sourceforge.net/ + arch = i686 + arch = x86_64 + license = GPLv3 + depends = libpcap + depends = gcc + source = http://downloads.sourceforge.net/sourceforge/voiphopper/voiphopper-2.04.tar.gz + md5sums = 561acddff336d0408ad7bf663fe274d7 + sha1sums = 262b3e88e3a58adc351aacaadb0e32eca60a9d61 + +pkgname = voiphopper + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8eda6ed1eb67 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: fnord0 < fnord0 AT riseup DOT net > + +pkgname=voiphopper +pkgver=2.04 +pkgrel=1 +pkgdesc="A security validation tool that tests to see if a PC can mimic the behavior of an IP Phone. It rapidly automates a VLAN Hop into the Voice VLAN." +arch=('i686' 'x86_64') +url="http://voiphopper.sourceforge.net/" +license=('GPLv3') +depends=('libpcap' 'gcc') +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('561acddff336d0408ad7bf663fe274d7') +sha1sums=('262b3e88e3a58adc351aacaadb0e32eca60a9d61') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d ${pkgdir}/usr/share/voiphopper || return 1 + install -d ${pkgdir}/usr/share/licenses/voiphopper || return 1 + install -d ${pkgdir}/usr/bin || return 1 + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/voiphopper/LICENSE || return 1 + for doc in INSTALL README BUGS; do + install -Dm644 ${doc} ${pkgdir}/usr/share/voiphopper/${doc} || return 1 + done + ./configure --prefix=/usr --mandir=/usr/share/man --libexecdir=/usr/lib || return 1 + make || return 1 +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install || return 1 +} |