Skip to content

Commit

Permalink
Add build option
Browse files Browse the repository at this point in the history
  • Loading branch information
joecupano committed Jun 19, 2023
1 parent bb2e11f commit 70795a1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions packages/pkg_kismet
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,34 @@ case "$1" in
echo -e "${SIGPI_BANNER_COLOR} ## Kismet Installed"
echo -e "${SIGPI_BANNER_RESET}"
;;
build )
echo -e "${SIGPI_BANNER_COLOR}"
echo -e "${SIGPI_BANNER_COLOR} ##"
echo -e "${SIGPI_BANNER_COLOR} ## Build Kismet"
echo -e "${SIGPI_BANNER_COLOR} ##"
echo -e "${SIGPI_BANNER_RESET}"

## DEPENDENCIES
sudo apt install build-essential git libwebsockets-dev pkg-config zlib1g-dev libnl-3-dev
sudo apt install libnl-genl-3-dev libcap-dev libpcap-dev libnm-dev libdw-dev
sudo apt install libsqlite3-dev libprotobuf-dev libprotobuf-c-dev protobuf-compiler
sudo apt install protobuf-c-compiler libsensors4-dev libusb-1.0-0-dev python3 python3-setuptools python3-protobuf python3-requests
sudo apt install python3-numpy python3-serial python3-usb python3-dev python3-websockets librtlsdr0 libubertooth-dev libbtbb-dev

## PACKAGE
cd $SIGPI_SOURCE
git clone https://www.kismetwireless.net/git/kismet.git
cd kismet
./configure
make -j4
sudo make suidinstall
sudo usermod -aG kismet pi
echo "kismet" >> $SIGPI_CONFIG

echo -e "${SIGPI_BANNER_COLOR}"
echo -e "${SIGPI_BANNER_COLOR} ## Kismet Built"
echo -e "${SIGPI_BANNER_RESET}"
;;
* )
echo -e "${SIGPI_BANNER_COLOR}"
echo -e "${SIGPI_BANNER_COLOR} ## ERROR: Unkown action or package"
Expand Down

0 comments on commit 70795a1

Please sign in to comment.