wireshark, gnome-multi-writer packaged

This commit is contained in:
Berk Çakar
2021-08-24 00:47:20 +03:00
parent 813eb85a68
commit 1f7d60a5f3
7 changed files with 254 additions and 0 deletions
@@ -0,0 +1,19 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import mesontools
def setup():
mesontools.configure()
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.dodoc("AUTHORS", "COPYING", "README.md")
@@ -0,0 +1,63 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gnome-multi-writer</Name>
<Homepage>https://gitlab.gnome.org/GNOME/gnome-multi-writer</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<PartOf>desktop.gnome.apps</PartOf>
<IsA>app:gui</IsA>
<Summary>Write an ISO file to multiple USB devices at once</Summary>
<Description>GNOME MultiWriter can be used to write an ISO file to multiple USB devices simultaneously.</Description>
<Archive sha1sum="83ba307cdad35d3a8c32f313a668dc2226c1a1f2" type="tarxz">https://download.gnome.org/sources/gnome-multi-writer/3.35/gnome-multi-writer-3.35.90.tar.xz</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>libgusb-devel</Dependency>
<Dependency>udisks2-devel</Dependency>
<Dependency>polkit-devel</Dependency>
<Dependency>libgudev-devel</Dependency>
<Dependency>appstream-glib-devel</Dependency>
<Dependency>libcanberra-gtk3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>gnome-multi-writer</Name>
<RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>glib2</Dependency>
<Dependency>polkit</Dependency>
<Dependency>libgusb</Dependency>
<Dependency>udisks2</Dependency>
<Dependency>libgudev</Dependency>
<Dependency>libcanberra</Dependency>
<Dependency>libcanberra-gtk3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/libexec</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/glib-2.0</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="info">/usr/share/metainfo</Path>
<Path fileType="data">/usr/share/polkit-1</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-08-24</Date>
<Version>3.35.90</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,7 @@
<PISI>
<Source>
<Name>wireshark</Name>
<Summary xml:lang="tr">Aynı anda birden fazla USB cihazına bir ISO dosyası yazdırmaya yarayan araç</Summary>
<Description xml:lang="tr">GNOME MultiWriter, aynı anda birden fazla USB cihazına bir ISO dosyası yazdırmak için kullanılabilir.</Description>
</Source>
</PISI>
+38
View File
@@ -0,0 +1,38 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/wireshark \
-G Ninja", sourceDir="..")
def build():
mesontools.build()
def install():
mesontools.install()
for f in ["epan/register.h", "ws_diag_control.h", "file.h", "cfile.h", "ws_symbol_export.h"]:
pisitools.insinto("/usr/include/wireshark/", f)
pisitools.insinto("/usr/include/wireshark/epan/", "epan/*.h")
pisitools.insinto("/usr/include/wireshark/wsutil/", "wsutil/*.h")
pisitools.insinto("/usr/include/wireshark/wiretap/", "wiretap/*.h")
pisitools.insinto("/usr/include/wireshark/epan/crypt/", "epan/crypt/*.h")
pisitools.insinto("/usr/include/wireshark/epan/ftypes/", "epan/ftypes/*.h")
pisitools.insinto("/usr/include/wireshark/epan/dfilter/", "epan/dfilter/*.h")
pisitools.insinto("/usr/include/wireshark/epan/dissectors/", "epan/dissectors/*.h")
pisitools.insinto("/usr/include/wireshark/epan/wmem/", "epan/wmem/*.h")
pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog", "NEWS", "README*")
@@ -0,0 +1,10 @@
#/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
# Set capabilities in order to prevent wireshark from being executed as root
os.system("/bin/chgrp 207 /usr/bin/dumpcap")
os.system("/bin/chmod 754 /usr/bin/dumpcap")
os.system("/bin/chown root:wireshark /usr/bin/dumpcap")
os.system("/sbin/setcap cap_net_raw,cap_net_admin,cap_dac_override+eip /usr/bin/dumpcap")
+110
View File
@@ -0,0 +1,110 @@
<?xml version="1.0"?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>wireshark</Name>
<Homepage>http://www.wireshark.org</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:gui</IsA>
<Summary>Network traffic analyzer</Summary>
<Description>Wireshark allows you to examine protocol data stored in files or as it is captured from wired or wireless (WiFi or Bluetooth) networks, USB devices, and many other sources. It supports dozens of protocol capture file formats and understands more than a thousand protocols.</Description>
<Archive sha1sum="3fa4bb774030442b9908243a9927d38479c52bf5" type="tarxz">https://www.wireshark.org/download/src/all-versions/wireshark-3.4.7.tar.xz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>meson</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libpcap-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>lua52-devel</Dependency>
<Dependency>mit-kerberos</Dependency>
<Dependency>e2fsprogs-devel</Dependency>
<Dependency>gnutls-devel</Dependency>
<Dependency>libmaxminddb-devel</Dependency>
<Dependency>libgcrypt-devel</Dependency>
<Dependency>libcap-devel</Dependency>
<Dependency>sbc-devel</Dependency>
<Dependency>c-ares-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>libssh-devel</Dependency>
<Dependency>libnl-devel</Dependency>
<Dependency>tiff-devel</Dependency>
<Dependency>lz4-devel</Dependency>
<Dependency>libnghttp2-devel</Dependency>
<Dependency>qt5-multimedia-devel</Dependency>
<Dependency>qt5-svg-devel</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>minizip-devel</Dependency>
<Dependency>zstd-devel</Dependency>
<Dependency>brotli-devel</Dependency>
<Dependency>speexdsp-devel</Dependency>
<Dependency>snappy-devel</Dependency>
<Dependency>libopus-devel</Dependency>
<Dependency>libilbc-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>doxygen</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>wireshark</Name>
<RuntimeDependencies>
<Dependency>lz4</Dependency>
<Dependency>sbc</Dependency>
<Dependency>zlib</Dependency>
<Dependency>zstd</Dependency>
<Dependency>glib2</Dependency>
<Dependency>lua52</Dependency>
<Dependency>brotli</Dependency>
<Dependency>c-ares</Dependency>
<Dependency>gnutls</Dependency>
<Dependency>snappy</Dependency>
<Dependency>libilbc</Dependency>
<Dependency>libopus</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>libgcrypt</Dependency>
<Dependency>libnghttp2</Dependency>
<Dependency>mit-kerberos</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/lib*.so*</Path>
<Path fileType="library">/usr/lib/wireshark</Path>
<Path fileType="data">/usr/share/appdata</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/mime</Path>
<Path fileType="data">/usr/share/wireshark</Path>
</Files>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<Package>
<Name>wireshark-devel</Name>
<RuntimeDependencies>
<Dependency release="current">wireshark</Dependency>
<Dependency>glib2-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-08-23</Date>
<Version>3.4.7</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,7 @@
<PISI>
<Source>
<Name>wireshark</Name>
<Summary xml:lang="tr">Ağ trafiği çözümleyicisi</Summary>
<Description xml:lang="tr">Wireshark, dosyalarda saklanan veya kablolu veya kablosuz (WiFi veya Bluetooth) ağlardan, USB aygıtlarından ve diğer birçok kaynaktan alınan protokol verilerini incelemenize olanak tanır. Düzinelerce protokol yakalama dosya formatını destekler ve binden fazla protokolü anlar.</Description>
</Source>
</PISI>