Skip to content

Commit

Permalink
New package: parprouted-0.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
fosslinux committed Oct 1, 2020
1 parent 0960dbd commit 57ec180
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
2 changes: 2 additions & 0 deletions srcpkgs/parprouted/files/parprouted/conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#EXIT_IF=wlan0
#IN_IF=eth0
14 changes: 14 additions & 0 deletions srcpkgs/parprouted/files/parprouted/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh
if [ -r ./conf ]; then
. ./conf
else
echo "Add conf file!"
exit 1
fi

if [ -z "${EXIT_IF}" ] || [ -z "${IN_IF}" ]; then
echo "Add data in conf file!"
exit 1
fi

exec parprouted ${EXIT_IF} ${IN_IF}
18 changes: 18 additions & 0 deletions srcpkgs/parprouted/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Template file for 'parprouted'
pkgname=parprouted
version=0.7
revision=1
build_style=gnu-makefile
depends="iproute2"
short_desc="Daemon for transparent IP (Layer 3) proxy ARP bridging"
maintainer="fosslinux <fosslinux@aussies.space>"
license="GPL-2.0-or-later"
homepage="http://freecode.com/projects/parprouted"
distfiles="http://www.hazard.maks.net/parprouted/parprouted-${version}.tar.gz"
checksum=d63643c95d4149a3d71112da5892f459433456bf0279bfa304625f109178defc

do_install() {
vbin "${pkgname}"
vman "${pkgname}.8"
vsv "${pkgname}"
}

0 comments on commit 57ec180

Please sign in to comment.