Merge pull request #533 from b-ehlers/ostinato_update

Update ostinato alpine package
This commit is contained in:
Jeremy Grossmann 2020-08-15 17:25:04 +08:00 committed by GitHub
commit 5884425600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 5 additions and 3 deletions

View File

@ -15,6 +15,6 @@ cd aports/*/ostinato
abuild -F -r
cd
find packages -name "*.apk" -type f -exec cp -p {} /package \;
cp -p packages/*/*/*.apk /package
chown $(stat -c '%u:%g' /package) /package/*
EOF

View File

@ -10,10 +10,12 @@ apk add tshark wireshark
# desktop integration
cat > /usr/share/applications/ostinato.desktop << 'EOF'
[Desktop Entry]
Type=Application
Name=Ostinato
GenericName=Packet Traffic Generator
Exec=ostinato
Icon=ostinato
Exec=sh -c 'ostinato > /tmp/ostinato.log 2>&1'
Terminal=false
Type=Application
Categories=Network;Monitor;Qt;
EOF
cp -p /tmp/uploads/ostinato/logo_256x256.png /usr/share/icons/hicolor/256x256/apps/ostinato.png