Skip to content

Commit

Permalink
Merge pull request #53 from Cthulu201/aaw
Browse files Browse the repository at this point in the history
beeswarm dep fs
archey committed Feb 10, 2015
2 parents 1020095 + 53aa449 commit 9cc61bc
Showing 2 changed files with 58 additions and 0 deletions.
27 changes: 27 additions & 0 deletions packages/beeswarm/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Maintainer: ArchAssault <team archassault org>

pkgname=beeswarm
pkgver=0.7.14
pkgrel=1
groups=('archassault' 'archassault-honeypot')
pkgdesc="A honeypot project which provides easy configuration, deployment and managment of honeypots."
url="http://www.beeswarm-ids.org/"
depends=('python2' 'python2-pyzmq' 'python2-crypto' 'python2-ecdsa' 'python2-cssselect' 'python2-nose'
'python2-gevent' 'python2-requests' 'python2-telnetsrv' 'python2-paramiko' 'python2-ntplib'
'python2-pysendfile' 'python2-pydes' 'python2-flask' 'python2-flask-login' 'python2-sqlalchemy'
'python2-pyopenssl' 'python2-lxml' 'python2-flask-wtf' 'python2-mock' 'python2-enum34' 'python2-netifaces'
'fs')
license=('GPL3')
arch=('any')
source=("$pkgname-$pkgver::https://github.com/honeynet/beeswarm/archive/Release_$pkgver.tar.gz")
sha512sums=('5e222809a32bafa90b37c6ef925979ede2bb3f5edf488b0109f00f787501896907ce8ef1e3233e9ac33d18f93d2a68008f89b3d3a0c72764c18adfabb5ba7279')

build() {
cd "$srcdir/$pkgname-Release_$pkgver"
python2 setup.py build
}

package() {
cd "$srcdir/$pkgname-Release_$pkgver"
python2 setup.py install --root="$pkgdir" --optimize=1
}
31 changes: 31 additions & 0 deletions packages/fs/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Maintainer: ArchAssault <[email protected]>
#Automatically generated by pip2arch on 2015-02-10

pkgname=fs
pkgver=0.5.0
pkgrel=1
pkgdesc="Filesystem abstraction layer"
arch=('any')
url="http://pyfilesystem.org"
license=('BSD')
depends=('python2')
makedepends=('python2-setuptools')
source=("https://pypi.python.org/packages/source/f/$pkgname/$pkgname-$pkgver.tar.gz")
sha512sums=('59c59dcd81696cd5f70b139a8112fe348845eaf73cc866876bd4dd7208ffaef57affab22f81483f2f64e154708872c85e50a934b8224e308b7f231b1ddfa3a20')

prepare() {
cd "$srcdir/$pkgname-$pkgver"
find "$srcdir" -type f -name '*.py' | xargs sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|'
find "$srcdir" -type f -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
}

build() {
cd "$srcdir/$pkgname-$pkgver"
python2 setup.py build
}

package() {
cd "$srcdir/$pkgname-$pkgver"
python2 setup.py install --root="$pkgdir" --optimize=1
install -D -m 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}

0 comments on commit 9cc61bc

Please sign in to comment.