Permalink
Browse files

updated ghostpdl, set-svn, phoenix-miner-svn, peach, perl-net-whois-ip

  • Loading branch information...
1 parent ab7a3f5 commit 2d0fac933d66a2c6d10b2db6a8ff2fc0bdf81ef3 @fnord0 committed May 1, 2012
Showing with 92 additions and 41 deletions.
  1. +8 −6 ghostpdl/PKGBUILD
  2. +22 −14 maltego/PKGBUILD
  3. +18 −15 middler-svn/PKGBUILD
  4. +7 −2 peach/PKGBUILD
  5. +32 −0 perl-net-whois-ip/PKGBUILD
  6. +3 −3 phoenix-miner-svn/PKGBUILD
  7. +2 −1 set-svn/PKGBUILD
View
14 ghostpdl/PKGBUILD
@@ -1,18 +1,19 @@
# Contributer: fnord0 <fnord0 AT riseup DOT net>
pkgname=ghostpdl
-pkgver=9.00
-pkgrel=1
+pkgver=9.05
+pkgrel=2
pkgdesc="an interpreter for the Postscript language and for PDF - GhostPCL (PCL-5, and PCL-XL), GhostXPS (XPS), GhostPDF and ghostscript"
arch=('i686' 'x86_64')
url="http://www.artifex.com"
license=('GPL')
depends=()
-source=("http://ghostscript.com/releases/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('bb7852aa38acaf605fab4fa9f9f0ac66')
-sha1sums=('3513970676d8970b3c87c7171806e58eeaf567c7')
+source=("http://downloads.ghostscript.com/public/${pkgname}-${pkgver}.tar.gz")
+md5sums=('460890a00218b6a7c9ed82b160d9d60d')
+sha1sums=('bed3c8694a1bd27e8ae12d0d62ba14a782cd2199')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ ./autogen.sh || return 1
make || return 1
install -d ${pkgdir}/usr/bin || return 1
install -d ${pkgdir}/usr/share/${pkgname}/doc || return 1
@@ -26,12 +27,13 @@ build() {
install -Dm755 ${srcdir}/${pkgname}-${pkgver}/tools/pcl2pdf ${pkgdir}/usr/share/${pkgname}/pcl2pdf || return 1
install -Dm755 ${srcdir}/${pkgname}-${pkgver}/tools/pcl2pdfwr ${pkgdir}/usr/share/${pkgname}/pcl2pdfwr || return 1
mv ${srcdir}/${pkgname}-${pkgver}/tools ${pkgdir}/usr/share/${pkgname}/ || return 1
+ mv ${srcdir}/${pkgname}-${pkgver}/urwfonts ${pkgdir}/usr/share/${pkgname}/ || return 1
ln -sf /usr/share/${pkgname}/pcl2pdf ${pkgdir}/usr/bin/
ln -sf /usr/share/${pkgname}/pcl2pdfwr ${pkgdir}/usr/bin/
ln -sf /usr/share/${pkgname}/pcl6 ${pkgdir}/usr/bin/
ln -sf /usr/share/${pkgname}/pspcl6 ${pkgdir}/usr/bin/
ln -sf /usr/share/${pkgname}/gxps ${pkgdir}/usr/bin/
- for doc in README.txt CMYK.icc link.icc sRGB.icc doc/ghost*; do
+ for doc in README.txt CMYK.icc link.icc sRGB.icc doc/who_owns_what.txt doc/ghost*; do
install -Dm644 ${doc} ${pkgdir}/usr/share/${pkgname}/doc/${doc} || return 1
done
}
View
36 maltego/PKGBUILD
@@ -1,21 +1,20 @@
# Contributor: fnord0 < fnord0 AT riseup DOT net >
pkgname=maltego
-pkgver=3.0.4.1442
+pkgver=3.1.1
pkgrel=1
pkgdesc="Maltego Community Edition - an open source intelligence and forensics application, enabling to easily gather information about DNS, domains, IP addresses, websites, persons, etc."
arch=('i686' 'x86_64')
url="http://www.paterva.com/web5"
license=('GPL')
depends=('java-runtime')
-source=("http://www.paterva.com/malv3/304CE/MaltegoCE.v3.0.4.1442.zip"
- "https://www.paterva.com/web5/documentation/Maltego3_crash_course.pdf")
-md5sums=('59e1f1742d8ec49527e35e0ff770d050'
+source=("http://www.paterva.com/malv31/community/${pkgname}-${pkgver}_CE-2012-04-11.zip"
+ "https://www.paterva.com/web5/documentation/Maltego3_crash_course.pdf")
+md5sums=('400b427652ca3e8ed60a6d6b7a457e81'
'70711273436310099d7d81b47db96565')
-sha1sums=('75300dab9e30280bfc258f2315c3c228ef220bcd'
+sha1sums=('408131177484d063f5b79d1eaabcb7c7f4ae4695'
'21ac1567184e60e1f1432c5c455877950e6e7366')
-
build() {
#maltego.dependencies
cd ${srcdir}/v3.0
@@ -28,13 +27,22 @@ package() {
cd ${srcdir}/v3.0
#install -d ${pkgdir}/usr/share/licenses/${pkgname} || return 1
# the COMMERCIAL client license resides @ https://www.paterva.com/web5/server/MaltegoServerAgreement.pdf
- cp -pR bin cluster etc maltego maltego-nb-ide12 platform11 ${pkgdir}/usr/share/maltego || return 1
+ cp -pR bin etc ide maltego maltego-core-platform maltego-ui platform v3.1.1 ${pkgdir}/usr/share/maltego || return 1
install -Dm644 ${startdir}/Maltego3_crash_course.pdf ${pkgdir}/usr/share/${pkgname}/doc/${doc} || return 1
- install -D -m755 ${startdir}/${pkgname} ${pkgdir}/usr/bin/${pkgname} || return 1
- echo ''
- echo '[+] run '/usr/bin/maltego' to call the application (make SURE 'java' is in your $PATH)'
- echo '>>> documentation resides @ '/usr/share/maltego/Maltego3_crash_course.pdf''
- echo ''
- echo '>>> this application is non-functional until you obtain a Maltego 3 Community Edition activation code and account'
- echo '>>> REGISTER a FREE ACCOUNT for Maltego 3 Community Editon @ 'https://www.paterva.com/web5/community/''
+
+ #create startup app
+ echo "#!/bin/sh" > ${pkgdir}/usr/bin/${pkgname}
+ echo "cd /usr/share/maltego/bin" >> ${pkgdir}/usr/bin/${pkgname}
+ echo "./maltego \"\$@\"" >> ${pkgdir}/usr/bin/${pkgname}
+ echo "cd -" >> ${pkgdir}/usr/bin/${pkgname}
+ chmod +x ${pkgdir}/usr/bin/${pkgname}
+
+ #notify user
+ echo ""
+ echo "[+] run '/usr/bin/maltego' to call the application (make SURE 'java' is in your \$PATH)"
+ echo ">>> documentation resides @ '/usr/share/maltego/Maltego3_crash_course.pdf'"
+ echo ""
+ echo ">>> this application is non-functional until you obtain a Maltego 3 Community Edition activation code and account"
+ echo ">>> REGISTER a FREE ACCOUNT for Maltego 3 Community Editon @ 'https://www.paterva.com/web5/community/'"
+ echo ""
}
View
33 middler-svn/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=middler-svn
_pkgname=middler
pkgver=169
pkgrel=1
-pkgdesc=("a Man in the Middle tool to demonstrate protocol middling attacks")
+pkgdesc="a Man in the Middle tool to demonstrate protocol middling attacks"
arch=('any')
url=("http://code.google.com/p/middler/")
license=('GPL2')
@@ -28,21 +28,24 @@ build() {
msg 'Checking out...'
svn co ${_svntrunk} ${srcdir}
fi
- mkdir -p ${pkgdir}/usr/{bin,src} || return 1
- cd ${pkgdir}/usr/src
- svn export ${srcdir} ${_pkgname} || return 1
+ msg "SET SVN checkout complete, or the server timed out"
- cd ${pkgdir}/usr/src/${_pkgname}
- # archlinux fixes
- grep -rl python * | xargs sed -i 's|python|python2|g' || return 1
- # continue the build
- python2 setup.py install --root=${pkgdir}/ --optimize=1 || return 1
+ mkdir -p ${pkgdir}/usr/{bin,src} || return 1
+ cd ${pkgdir}/usr/src
+ cp -R ${srcdir} ${_pkgname} || return 1
- #create startup app
- echo "#!/bin/sh" > ${pkgdir}/usr/bin/${_pkgname}
- echo "cd /usr/src/middler" >> ${pkgdir}/usr/bin/${_pkgname}
- echo "python2 ./middler.py \"\$@\"" >> ${pkgdir}/usr/bin/${_pkgname}
- echo "cd -" >> ${pkgdir}/usr/bin/${_pkgname}
- chmod +x ${pkgdir}/usr/bin/${_pkgname}
+
+ cd ${pkgdir}/usr/src/${_pkgname}
+ # archlinux fixes
+ grep -rl python * | xargs sed -i 's|python|python2|g' || return 1
+ # continue the build
+ python2 setup.py install --root=${pkgdir}/ --optimize=1 || return 1
+
+ #create startup app
+ echo "#!/bin/sh" > ${pkgdir}/usr/bin/${_pkgname}
+ echo "cd /usr/src/middler" >> ${pkgdir}/usr/bin/${_pkgname}
+ echo "python2 ./middler.py \"\$@\"" >> ${pkgdir}/usr/bin/${_pkgname}
+ echo "cd -" >> ${pkgdir}/usr/bin/${_pkgname}
+ chmod +x ${pkgdir}/usr/bin/${_pkgname}
}
# vim:syntax=sh
View
9 peach/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=peach
_pkgname=Peach
pkgver=2.3.8
-pkgrel=3
+pkgrel=4
pkgdesc="A cross-platform fuzzing framework written in Python"
arch=('i686' 'x86_64')
url="http://peachfuzzer.com/"
@@ -20,7 +20,6 @@ md5sums=('aaaccbddc6553b23056e61aa44464e6e'
'f4cfec5f5f9f58c3d18f0e7f337353ed')
sha1sums=('c1cc4b885b340baff96a55ae104e45f5c3b44188'
'cc84a76bd16683fa29e1c96c1931bc6534c7b644')
-install=('peach.install')
build() {
@@ -157,4 +156,10 @@ build() {
echo "python2 peach.py \"\$@\"" >> ${pkgdir}/usr/bin/${pkgname}
echo "cd -" >> ${pkgdir}/usr/bin/${pkgname}
chmod +x ${pkgdir}/usr/bin/${pkgname}
+
+ #notify user
+ echo ""
+ echo "[+] run '/usr/bin/peach' to call the peach fuzzer"
+ echo "[+] run 'peach samples/HelloWorld.xml' to verify your peach installation."
+ echo ""
}
View
32 perl-net-whois-ip/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: fnord0 <fnord0 AT riseup DOT net>
+
+pkgname=perl-net-whois-ip
+pkgver=1.10
+pkgrel=1
+pkgdesc="Perl extension for looking up the whois information for ip addresses"
+arch=(any)
+url="http://search.cpan.org/dist/Net-Whois-IP"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/B/BS/BSCHMITZ/Net-Whois-IP-$pkgver.tar.gz)
+md5sums=('67edb62a49801464e0b4c6049cfbdfc4')
+sha1sums=('fdc0521c883d57a8ecc31c9ba97577a4c6776505')
+
+build() {
+
+ cd ${srcdir}/Net-Whois-IP-${pkgver}
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ perl Makefile.PL &&
+ make &&
+ make test &&
+ make install || return 1
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
+}
+
+# vim:set ts=2 sw=2 et:
View
6 phoenix-miner-svn/PKGBUILD
@@ -2,10 +2,10 @@
pkgname=phoenix-miner-svn
pkgver=103
-pkgrel=2
+pkgrel=1
pkgdesc="Phoenix miner - efficient, fast, modular, python-based, openCL GPU bitcoin miner"
arch=('i686' 'x86_64')
-url="http://forum.bitcoin.org/?topic=6458.0"
+url="https://bitcointalk.org/?topic=6458.0"
license=('Public Domain')
depends=('python2' 'python2-pyopencl' 'twisted' 'boost' 'python2-numpy')
makedepends=('subversion')
@@ -51,6 +51,6 @@ package() {
echo -e ""
echo -e "\e[1;31m[\e[0m\e[1;34m*\e[0m\e[1;31m]\e[0m \e[1;31mrun '\e[0m\e[1;34m/usr/bin/phoenix-miner -h\e[0m\e[1;31m' for an explanation of startup options\e[0m"
echo -e "\e[1;31m[\e[0m\e[1;34m*\e[0m\e[1;31m]\e[0m \e[1;31mthere are 3 sample command lines listed in the file '\e[0m\e[1;34m/usr/bin/phoenix-miner\e[0m\e[1;31m', \e[1;32mUNCOMMENT\e[0m the one you wish to use. make sure to configure your \e[1;34mUSERNAME \e[0m+\e[1;34m PASSWORD\e[0m +\e[1;34m POOLSERVER NAME\e[0m properly!"
- echo -e "\e[1;34m>>>\e[0m \e[1;31mphoenix miner details @ \e[0m\e[1;32mhttp://forum.bitcoin.org/?topic=6458.0\e[0m"
+ echo -e "\e[1;34m>>>\e[0m \e[1;31mphoenix miner details @ \e[0m\e[1;32mhttps://bitcointalk.org/?topic=6458.0\e[0m"
echo -e ""
}
View
3 set-svn/PKGBUILD
@@ -1,6 +1,6 @@
# Contributor: fnord0 <fnord0 AT riseup DOT net>
pkgname=set-svn
-pkgver=831
+pkgver=1243
pkgrel=1
pkgdesc="Social Engineering Toolkit (SET): a python-driven suite of custom tools focusing on attacking the human element of pentesting"
arch=('i686' 'x86_64')
@@ -22,6 +22,7 @@ provides=('set')
_svntrunk=http://svn.secmaniac.com/social_engineering_toolkit
_svnmod=SET
options=('!strip')
+backup=('usr/src/SET/config/set_config')
build() {
if [ -d ${srcdir}/.svn ]; then

0 comments on commit 2d0fac9

Please sign in to comment.