forked from ports/contrib
20 lines
560 B
Plaintext
20 lines
560 B
Plaintext
# Description: MITM attacks against SSL/TLS encrypted network connections
|
|
# URL: https://github.com/droe/sslsplit
|
|
# Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com
|
|
# Depends on: libevent libnet libpcap
|
|
|
|
name=sslsplit
|
|
version=0.5.5
|
|
release=1
|
|
source=(https://github.com/droe/$name/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
sed -i -e 's/-D_FORTIFY_SOURCE=2 //g' \
|
|
-e 's/\<FEATURES\>/SSLSPLIT_FEATURES/g' GNUmakefile
|
|
sed -i '/opts_suite/d' main.t.c
|
|
|
|
make DESTDIR=$PKG PREFIX=/usr SYSCONFDIR=/etc install
|
|
}
|