Update ostinato alpine package

This commit is contained in:
Bernhard Ehlers 2020-08-15 11:14:20 +02:00
parent 7888599481
commit c93935d4b0
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