first commit

This commit is contained in:
ngn
2024-08-11 02:17:03 +03:00
commit ee34792885
1404 changed files with 13564 additions and 0 deletions

3
src/libpcap/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/libpcap/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 1.10.4
First version

17
src/libpcap/pkg.sh Normal file
View File

@ -0,0 +1,17 @@
NAME="libpcap"
DESC="Functions for user-level packet capture, used in low-level network monitoring"
VERSION="1.10.4"
FILES=("https://www.tcpdump.org/release/libpcap-$VERSION.tar.gz")
HASHES=("0322e28dd76cda8066bb6d00fee5969b")
DEPENDS=("libnl" "libusb")
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
./configure --prefix=/usr && make
sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile
make DESTDIR="$ROOTDIR" install
cd .. && rm -r $NAME-$VERSION
}