etherape, nmap: new packages

This commit is contained in:
suvari
2022-07-10 23:27:41 +03:00
parent 45c6bcf789
commit 37c624ebd1
16 changed files with 509 additions and 9 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.export("AT_M4DIR", "m4")
shelltools.export("AUTOPOINT", "true")
# to disable scrollkeeper
pisitools.dosed("Makefile.am", "src doc glade", "src glade")
autotools.autoreconf("-vfi")
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "FAQ", "NEWS", "OVERVIEW", "README*", "TODO")
@@ -0,0 +1,20 @@
Index: etherape-0.9.12/etherape.desktop.in
===================================================================
--- etherape-0.9.12.orig/etherape.desktop.in
+++ etherape-0.9.12/etherape.desktop.in
@@ -2,11 +2,13 @@
Version=1.0
Encoding=UTF-8
Name=EtherApe
+Name[tr]=EtherApe
GenericName=EtherApe
Comment=Graphical Network Monitor
Comment[es]=Monitor Gráfico de Red
-Exec=etherape
+Comment[tr]=Grafiksel Ağ İzleyici
+Exec=xdg-su -c "etherape"
Terminal=false
Type=Application
Icon=etherape
-Categories=GNOME;System;Network;
+Categories=System;Monitor;Network;
+64
View File
@@ -0,0 +1,64 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>etherape</Name>
<Homepage>http://etherape.sourceforge.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Icon>etherape</Icon>
<IsA>app:gui</IsA>
<Summary>Graphical network monitor</Summary>
<Description>etherape is a graphical network monitor with fancy display features.</Description>
<Archive sha1sum="333652b935f44d83c6f7da668477180b50c3817d" type="targz">mirrors://sourceforge/etherape/etherape-0.9.20.tar.gz</Archive>
<BuildDependencies>
<Dependency>gtk3-devel</Dependency>
<Dependency>popt-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libpcap-devel</Dependency>
<Dependency>libglade-devel</Dependency>
<Dependency>goocanvas-devel</Dependency>
<Dependency>gnome-doc-utils</Dependency>
<Dependency>gdk-pixbuf-devel</Dependency>
</BuildDependencies>
<Patches>
<!--<Patch level="1">desktop.patch</Patch>-->
</Patches>
</Source>
<Package>
<Name>etherape</Name>
<RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>popt</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libpcap</Dependency>
<Dependency>libglade</Dependency>
<Dependency>goocanvas</Dependency>
<Dependency>gdk-pixbuf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc/etherape</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="doc">/usr/share/doc/etherape</Path>
<Path fileType="data">/usr/share/etherape</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
</Files>
</Package>
<History>
<Update release="1" type="security">
<Date>2022-07-10</Date>
<Version>0.9.20</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>etherape</Name>
<Summary xml:lang="tr">Grafiksel ağ izleyici</Summary>
<Description xml:lang="tr">etherape ağ durumunu görsel değişikliklerle gösteren bir ağ izleyicisidir.</Description>
</Source>
</PISI>
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
pisitools.dosed("ncat/Makefile.in", "-m 755 -s ncat", "-m 755 ncat")
autotools.autoconf()
autotools.configure("--with-openssl \
--with-zenmap \
--with-ndiff \
--with-nping \
--with-ncat \
--with-liblua")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s STRIP=true" % get.installDIR())
for i in ["uninstall_zenmap", "nmapfe", "xnmap"]:
pisitools.remove("/usr/bin/%s" % i)
pisitools.dodoc("LICENSE", "HACKING", "README.md")
@@ -0,0 +1,13 @@
diff -Naurp nmap-4.75-orig/nmap_dns.h nmap-4.75/nmap_dns.h
--- nmap-4.75-orig/nmap_dns.h 2008-09-09 08:51:59.000000000 +0200
+++ nmap-4.75/nmap_dns.h 2008-09-09 08:52:19.000000000 +0200
@@ -95,6 +95,9 @@
* *
***************************************************************************/
+#include <list>
+#include <string>
+
class Target;
void nmap_mass_rdns(Target ** targets, int num_targets);
@@ -0,0 +1,11 @@
--- nmap-5.10BETA1/Target.h.org 2009-12-08 08:21:59.000000000 +0100
+++ nmap-5.10BETA1/Target.h 2009-12-08 08:22:02.000000000 +0100
@@ -99,6 +99,8 @@
#ifndef NOLUA
#include "nse_main.h"
+#else
+#include <string>
#endif
#include "portreasons.h"
@@ -0,0 +1,21 @@
diff -Naurp nmap-5.21-orig/Makefile.in nmap-5.21/Makefile.in
--- nmap-5.21-orig/Makefile.in 2010-01-31 09:53:53.000000000 +0100
+++ nmap-5.21/Makefile.in 2010-01-31 09:54:48.000000000 +0100
@@ -253,7 +253,7 @@ build-zenmap: $(ZENMAPDIR)/setup.py $(ZE
install-zenmap: $(ZENMAPDIR)/setup.py
$(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
- cd $(ZENMAPDIR) && $(PYTHON) setup.py --quiet install --prefix "$(prefix)" --force $(if $(DESTDIR),--root "$(DESTDIR)")
+ cd $(ZENMAPDIR) && $(PYTHON) setup.py --quiet install --prefix "$(prefix)" --force $(if $(DESTDIR),--root "$(DESTDIR)") --no-compile
$(INSTALL) -c -m 644 docs/zenmap.1 $(DESTDIR)$(mandir)/man1/
# Create a symlink from nmapfe to zenmap if nmapfe doesn't exist or is
# already a link.
@@ -267,7 +267,7 @@ build-ndiff:
cd $(NDIFFDIR) && $(PYTHON) setup.py build $(if $(DESTDIR),--executable "$(DEFAULT_PYTHON_PATH)")
install-ndiff:
- cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)")
+ cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)") --no-compile
NSE_FILES = scripts/script.db scripts/*.nse
NSE_LIB_LUA_FILES = nselib/*.lua
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

+34
View File
@@ -0,0 +1,34 @@
diff -Nur nmap-5.30BETA1-old/zenmap/install_scripts/unix/zenmap.desktop nmap-5.30BETA1/zenmap/install_scripts/unix/zenmap.desktop
--- nmap-5.30BETA1-old/zenmap/install_scripts/unix/zenmap.desktop 2010-07-07 21:05:45.140507533 +0300
+++ nmap-5.30BETA1/zenmap/install_scripts/unix/zenmap.desktop 2010-07-07 21:09:03.588380333 +0300
@@ -2,6 +2,7 @@
Encoding=UTF-8
Name=Zenmap
GenericName=GUI Port Scanner
+GenericName[tr]=Port Tarayıcı
TryExec=zenmap
Exec=zenmap %F
Terminal=false
@@ -9,3 +10,4 @@
Type=Application
Categories=Application;Network;Security
Comment=A cross-platform GUI for the Nmap Security Scanner.
+Comment[tr]=Nmap Güvenlik Tarayıcı için grafik arabirim.
diff -Nur nmap-5.30BETA1-old/zenmap/install_scripts/unix/zenmap-root.desktop nmap-5.30BETA1/zenmap/install_scripts/unix/zenmap-root.desktop
--- nmap-5.30BETA1-old/zenmap/install_scripts/unix/zenmap-root.desktop 2010-07-07 21:05:45.140507533 +0300
+++ nmap-5.30BETA1/zenmap/install_scripts/unix/zenmap-root.desktop 2010-07-07 21:09:04.924385518 +0300
@@ -1,7 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Name=Zenmap (as root)
+Name[tr]=Zenmap (root olarak)
GenericName=GUI Port Scanner
+GenericName[tr]=Port Tarayıcı
TryExec=su-to-zenmap.sh
Exec=su-to-zenmap.sh %F
Terminal=false
@@ -9,3 +11,4 @@
Type=Application
Categories=Application;Network;Security
Comment=A cross-platform GUI for the Nmap Security Scanner.
+Comment[tr]=Nmap Güvenlik Tarayıcı Grafik Arayüzü.
+85
View File
@@ -0,0 +1,85 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>nmap</Name>
<Homepage>https://nmap.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Icon>nmap</Icon>
<Summary>Utility for network exploration or security auditing</Summary>
<Description>Nmap is a utility for network exploration or security auditing.</Description>
<Archive sha1sum="62342a9a6641833c5c16b7a24ced4bace68c60fb" type="tarbz2">https://nmap.org/dist/nmap-7.92.tar.bz2</Archive>
<BuildDependencies>
<Dependency>subversion-devel</Dependency>
<Dependency>libpcap-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>lua-devel</Dependency>
<Dependency>apr-devel</Dependency>
<Dependency>gcc</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">nmap-4.75-include.patch</Patch>
<Patch level="1">nmap-5.10_beta1-string.patch</Patch>
<Patch level="1">nmap-5.21-python.patch</Patch>
</Patches>
</Source>
<Package>
<Name>nmap</Name>
<IsA>app:console</IsA>
<RuntimeDependencies>
<Dependency>subversion</Dependency>
<Dependency>libpcap</Dependency>
<Dependency>openssl</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>zlib</Dependency>
<Dependency>lua</Dependency>
<Dependency>apr</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/ncat</Path>
<Path fileType="data">/usr/share/nmap</Path>
<Path fileType="data">/usr/share/nping</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/nmap.png">nmap.png</AdditionalFile>
</AdditionalFiles>
</Package>
<Package>
<Name>zenmap</Name>
<IsA>app:gui</IsA>
<Summary>zenmap is the graphical frontend for nmap</Summary>
<RuntimeDependencies>
<Dependency release="current">nmap</Dependency>
<Dependency>python-gtk</Dependency>
<Dependency>xdg-utils</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/zenmap</Path>
<Path fileType="man">/usr/share/man/man1/zenmap.1</Path>
<Path fileType="doc">/usr/lib/python*/site-packages</Path>
<Path fileType="doc">/usr/share/zenmap</Path>
<Path fileType="doc">/usr/share/applications</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2012-09-01</Date>
<Version>7.92</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>nmap</Name>
<Summary xml:lang="tr">Ağa gözatmak ya da güvenlik denetlemeleri yapmak için kullanılan bir araç</Summary>
<Description xml:lang="tr">Ağa gözatmak ya da güvenlik denetlemeleri yapmak için kullanılan bir araçtır. Konsoldan yapacağınız sorgulamalarla ağınızda hangi makinaların açık/erişilebilir olduğunu, makinalarda hangi portlarda hangi hizmet protokollerinin ve uygulamaların çalıştığını, karşı makinada hangi işletim sisteminin yüklü olduğunu ve bağlantının hangi aygıt ile gerçekleştiğini öğrenebilirsiniz.</Description>
</Source>
<Package>
<Name>zenmap</Name>
<Summary xml:lang="tr">zenmap, nmap aracı için grafik arabirim yazılımıdır</Summary>
</Package>
</PISI>