Merge pull request #8582 from blue-devil/master

network modules moved from contrib
This commit is contained in:
Blue DeviL
2020-06-10 01:39:42 +03:00
committed by GitHub
14 changed files with 511 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
autotools.autoreconf("-vfi")
autotools.configure("--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSE")
+55
View File
@@ -0,0 +1,55 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libnet</Name>
<Homepage>https://github.com/libnet/libnet</Homepage>
<Packager>
<Name>Blue DeviL</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>network.misc</PartOf>
<License>BSD</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>Low level network library</Summary>
<Description>libnet is a library to provide an API for commonly used low-level network functions.</Description>
<Archive sha1sum="83b98359b99f35f4bd1a7e66f42a6ffe1d099eca" type="targz">https://github.com/libnet/libnet/archive/v1.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>doxygen</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libnet</Name>
<Summary>Low level network library</Summary>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<Package>
<Name>libnet-devel</Name>
<Summary>Development files for libnet</Summary>
<RuntimeDependencies>
<Dependency release="current">libnet</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2019-11-29</Date>
<Version>1.2</Version>
<Comment>Version bump, moved from contrib.</Comment>
<Name>Blue DeviL</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libnet</Name>
<Summary xml:lang="tr">Alt seviye ağ kitaplığı</Summary>
<Description xml:lang="tr">libnet sık kullanılan alt seviye ağ işlevleri için arabirim sunan bir kitaplıktır.</Description>
</Source>
<Package>
<Name>libnet-devel</Name>
<Summary xml:lang="tr">libnet için geliştirme dosyaları</Summary>
<Description xml:lang="tr">libnet-devel, libnet için geliştirme dosyalarını içerir.</Description>
</Package>
</PISI>
+21
View File
@@ -0,0 +1,21 @@
#!/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
autotools.autoreconf("-fvi")
autotools.configure("--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSE", "ChangeLog", "README.md")
+62
View File
@@ -0,0 +1,62 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>protobuf-c</Name>
<Homepage>https://github.com/protobuf-c/protobuf-c</Homepage>
<Packager>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<PartOf>network.misc</PartOf>
<License>BSD</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>Protocol Buffers implementation in C</Summary>
<Description>This is protobuf-c, a C implementation of the Google Protocol Buffers data serialization format.Needed for the libgadu Package</Description>
<Archive sha1sum="f70f592e8db0363013492df1e69e47ee8213e003" type="targz">https://github.com/protobuf-c/protobuf-c/archive/v1.3.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>protobuf-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>protobuf-c</Name>
<Summary>Protocol Buffers implementation in C</Summary>
<RuntimeDependencies>
<Dependency>protobuf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="all">/</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<Package>
<Name>protobuf-c-devel</Name>
<Summary>Development files for protobuf-c</Summary>
<RuntimeDependencies>
<Dependency release="current">protobuf-c</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include/protobuf-c</Path>
<Path fileType="header">/usr/include/google/protobuf-c</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-04-09</Date>
<Version>1.3.3</Version>
<Comment>
*Patch version bump.
*Moved from contrib
</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>protobuf-c</Name>
<Summary xml:lang="tr">Google Protokol Arabelleklerinin C Uygulaması</Summary>
<Description xml:lang="tr">protobuf-c, Google Protokol Arabelleklerinin veri serileştirmesi biçimi için bir C Uygulamasıdır. libgadu paketi için gereklidir.</Description>
</Source>
<Package>
<Name>protobuf-c-devel</Name>
<Summary xml:lang="tr">protobuf-c için geliştirme dosyaları</Summary>
<Description xml:lang="tr">protobuf-c-devel, protobuf-c için geliştime dosyaları içerir.</Description>
</Package>
</PISI>
+32
View File
@@ -0,0 +1,32 @@
#!/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
# suppress compiler warnings
pisitools.cflags.add("-Wno-unused-result -Wno-deprecated-declarations")
#shelltools.export("CFLAGS", "-Wno-unused-result -Wno-deprecated-declarations")
# Fix soname
pisitools.dosed("src/Makefile.in", "^LIBSHARED.*", "LIBSHARED = libnids.so.%s" % get.srcVERSION().split(".", 1)[0])
# disable static
pisitools.dosed("src/Makefile.in", "\$\(INSTALL.*libnids.a.*")
autotools.autoreconf("-vfi")
autotools.configure("--enable-shared \
--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("install_prefix=%s" % get.installDIR())
pisitools.dodoc("COPYING", "MISC", "README", "doc/*")
@@ -0,0 +1,40 @@
Patch by Robert Scheck <robert@fedoraproject.org> for libnids <= 1.24 which
avoids making the functions ip_fast_csum, ip_compute_csum, my_tcp_check and
my_udp_check inline, see https://github.com/aol/moloch/issues/440 as well.
--- libnids-1.24/src/checksum.c 2010-02-26 11:58:41.000000000 +0100
+++ libnids-1.24/src/checksum.c.inline 2016-02-09 14:08:38.000000000 +0100
@@ -120,7 +120,7 @@
By Jorge Cwik <jorge@laser.satlink.net>, adapted for linux by Arnt
Gulbrandsen.
*/
-inline u_short ip_fast_csum(u_char * iph, u_int ihl)
+u_short ip_fast_csum(u_char * iph, u_int ihl)
{
u_int sum;
if (dontchksum(((struct ip*)iph)->ip_src.s_addr))
@@ -191,13 +191,13 @@
this routine is used for miscellaneous IP-like checksums, mainly in
icmp.c
*/
-inline u_short
+u_short
ip_compute_csum(u_char * buff, int len)
{
return (csum_fold(csum_partial(buff, len, 0)));
}
-inline u_short
+u_short
my_tcp_check(struct tcphdr *th, int len, u_int saddr, u_int daddr)
{
if (dontchksum(saddr))
@@ -205,7 +205,7 @@
return csum_tcpudp_magic(saddr, daddr, len, IPPROTO_TCP,
csum_partial((u_char *)th, len, 0));
}
-inline u_short
+u_short
my_udp_check(void *u, int len, u_int saddr, u_int daddr)
{
if (dontchksum(saddr))
+61
View File
@@ -0,0 +1,61 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libnids</Name>
<Homepage>http://libnids.sourceforge.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<PartOf>network.monitor</PartOf>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>Network intrusion detection library</Summary>
<Description>Libnids is an implementation of an E-component of Network Intrusion Detection System. It emulates the IP stack of Linux 2.0.x. Libnids offers IP defragmentation, TCP stream assembly and TCP port scan detection.</Description>
<Archive sha1sum="9a421df05cefdc4f5f7db95efc001b3c2b5249ce" type="targz">https://sourceforge.net/projects/libnids/files/libnids/1.24/libnids-1.24.tar.gz</Archive>
<BuildDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>libnet-devel</Dependency>
<Dependency>libpcap-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">libnids-1.24-inline.patch</Patch>
</Patches>
</Source>
<Package>
<Name>libnids</Name>
<Summary>Network intrusion detection library</Summary>
<RuntimeDependencies>
<Dependency>libnet</Dependency>
<Dependency>libpcap</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/libnids</Path>
</Files>
</Package>
<Package>
<Name>libnids-devel</Name>
<Summary>Development files for libnids</Summary>
<RuntimeDependencies>
<Dependency release="current">libnids</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-06-08</Date>
<Version>1.24</Version>
<Comment>Moved from contrib.</Comment>
<Name>Blue DeviL</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libnids</Name>
<Summary xml:lang="tr">Ağ saldırıları yakalama kitaplığı</Summary>
<Description xml:lang="tr">Libnids bir ağ saldırısı yakalama kitaplığıdır. Linux 2 serisi için IP yapısını taklit ederek IP bilgisi birleştirme, TCP yayını inceleme ve port taraması gibi işlemler için altyapı sunar.</Description>
</Source>
<Package>
<Name>libnids-devel</Name>
<Summary xml:lang="tr">libnids için geliştirme dosyaları</Summary>
<Description xml:lang="tr">libnids-devel, libnids için geliştirme dosyalarını içerir.</Description>
</Package>
</PISI>
+176
View File
@@ -129,6 +129,66 @@
<Package>Bluefish</Package>
</Obsoletes>
</Distribution>
<SpecFile>
<Source>
<Name>protobuf-c</Name>
<Homepage>https://github.com/protobuf-c/protobuf-c</Homepage>
<Packager>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<PartOf>network.misc</PartOf>
<Summary xml:lang="en">Protocol Buffers implementation in C</Summary>
<Summary xml:lang="tr">Google Protokol Arabelleklerinin C Uygulaması</Summary>
<Description xml:lang="en">This is protobuf-c, a C implementation of the Google Protocol Buffers data serialization format.Needed for the libgadu Package</Description>
<Description xml:lang="tr">protobuf-c, Google Protokol Arabelleklerinin veri serileştirmesi biçimi için bir C Uygulamasıdır. libgadu paketi için gereklidir.</Description>
<Archive type="targz" sha1sum="f70f592e8db0363013492df1e69e47ee8213e003" name="v1.3.3.tar.gz">https://github.com/protobuf-c/protobuf-c/archive/v1.3.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>protobuf-devel</Dependency>
</BuildDependencies>
<SourceURI>network/misc/protobuf-c/pspec.xml</SourceURI>
</Source>
<Package>
<Name>protobuf-c</Name>
<Summary xml:lang="en">Protocol Buffers implementation in C</Summary>
<RuntimeDependencies>
<Dependency>protobuf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="all">/</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<Package>
<Name>protobuf-c-devel</Name>
<Summary xml:lang="en">Development files for protobuf-c</Summary>
<Summary xml:lang="tr">protobuf-c için geliştirme dosyaları</Summary>
<Description xml:lang="tr">protobuf-c-devel, protobuf-c için geliştime dosyaları içerir.</Description>
<RuntimeDependencies>
<Dependency release="1">protobuf-c</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include/protobuf-c</Path>
<Path fileType="header">/usr/include/google/protobuf-c</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-04-09</Date>
<Version>1.3.3</Version>
<Comment>*Patch version bump.
*Moved from contrib</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>neon</Name>
@@ -1924,6 +1984,61 @@ complete albums that you have purchased from Amazon.</Description>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>libnet</Name>
<Homepage>https://github.com/libnet/libnet</Homepage>
<Packager>
<Name>Blue DeviL</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<PartOf>network.misc</PartOf>
<Summary xml:lang="en">Low level network library</Summary>
<Summary xml:lang="tr">Alt seviye ağ kitaplığı</Summary>
<Description xml:lang="en">libnet is a library to provide an API for commonly used low-level network functions.</Description>
<Description xml:lang="tr">libnet sık kullanılan alt seviye ağ işlevleri için arabirim sunan bir kitaplıktır.</Description>
<Archive type="targz" sha1sum="83b98359b99f35f4bd1a7e66f42a6ffe1d099eca" name="v1.2.tar.gz">https://github.com/libnet/libnet/archive/v1.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>doxygen</Dependency>
</BuildDependencies>
<SourceURI>network/misc/libnet/pspec.xml</SourceURI>
</Source>
<Package>
<Name>libnet</Name>
<Summary xml:lang="en">Low level network library</Summary>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<Package>
<Name>libnet-devel</Name>
<Summary xml:lang="en">Development files for libnet</Summary>
<Summary xml:lang="tr">libnet için geliştirme dosyaları</Summary>
<Description xml:lang="tr">libnet-devel, libnet için geliştirme dosyalarını içerir.</Description>
<RuntimeDependencies>
<Dependency release="1">libnet</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2019-11-29</Date>
<Version>1.2</Version>
<Comment>Version bump, moved from contrib.</Comment>
<Name>Blue DeviL</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>xdg-dbus-proxy</Name>
@@ -4025,6 +4140,67 @@ complete albums that you have purchased from Amazon.</Description>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>libnids</Name>
<Homepage>http://libnids.sourceforge.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<PartOf>network.monitor</PartOf>
<Summary xml:lang="en">Network intrusion detection library</Summary>
<Summary xml:lang="tr">Ağ saldırıları yakalama kitaplığı</Summary>
<Description xml:lang="en">Libnids is an implementation of an E-component of Network Intrusion Detection System. It emulates the IP stack of Linux 2.0.x. Libnids offers IP defragmentation, TCP stream assembly and TCP port scan detection.</Description>
<Description xml:lang="tr">Libnids bir ağ saldırısı yakalama kitaplığıdır. Linux 2 serisi için IP yapısını taklit ederek IP bilgisi birleştirme, TCP yayını inceleme ve port taraması gibi işlemler için altyapı sunar.</Description>
<Archive type="targz" sha1sum="9a421df05cefdc4f5f7db95efc001b3c2b5249ce" name="libnids-1.24.tar.gz">https://sourceforge.net/projects/libnids/files/libnids/1.24/libnids-1.24.tar.gz</Archive>
<BuildDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>libnet-devel</Dependency>
<Dependency>libpcap-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">libnids-1.24-inline.patch</Patch>
</Patches>
<SourceURI>network/monitor/libnids/pspec.xml</SourceURI>
</Source>
<Package>
<Name>libnids</Name>
<Summary xml:lang="en">Network intrusion detection library</Summary>
<RuntimeDependencies>
<Dependency>libnet</Dependency>
<Dependency>libpcap</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/libnids</Path>
</Files>
</Package>
<Package>
<Name>libnids-devel</Name>
<Summary xml:lang="en">Development files for libnids</Summary>
<Summary xml:lang="tr">libnids için geliştirme dosyaları</Summary>
<Description xml:lang="tr">libnids-devel, libnids için geliştirme dosyalarını içerir.</Description>
<RuntimeDependencies>
<Dependency release="1">libnids</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-06-08</Date>
<Version>1.24</Version>
<Comment>Moved from contrib.</Comment>
<Name>Blue DeviL</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>telepathy-idle</Name>
+1 -1
View File
@@ -1 +1 @@
cc67b5afbdfc08ed22f5d3d16ff7ed03a5a9ab74
790e6b67917f6899a4181ae62319003568730370
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
74beab9ffb18a34c13c74aa14d0796f18c860749
38a5d6e440dc956939ae2328327115601fbe6739