@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
i = "-Wno-unused-function \
|
||||
-Wno-unused-parameter \
|
||||
-Wno-unused-result \
|
||||
-Wno-cast-function-type \
|
||||
"
|
||||
|
||||
def setup():
|
||||
pisitools.cflags.add(i)
|
||||
shelltools.system("NOCONFIGURE=1 ./autogen.sh")
|
||||
autotools.configure("--disable-static")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
# pisitools.dodoc("AUTHORS")
|
||||
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
From 8ceb0cf0191f8b374a7f05974b29c6242ce8f752 Mon Sep 17 00:00:00 2001
|
||||
From: Damian Poddebniak <poddebniak@fh-muenster.de>
|
||||
Date: Thu, 23 Jul 2020 19:24:45 +0200
|
||||
Subject: [PATCH] Detect extra data after STARTTLS response and exit
|
||||
|
||||
---
|
||||
src/low-level/imap/mailimap.c | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/src/low-level/imap/mailimap.c b/src/low-level/imap/mailimap.c
|
||||
index bb17119d..4ffcf55d 100644
|
||||
--- a/src/low-level/imap/mailimap.c
|
||||
+++ b/src/low-level/imap/mailimap.c
|
||||
@@ -2428,6 +2428,13 @@ int mailimap_starttls(mailimap * session)
|
||||
|
||||
mailimap_response_free(response);
|
||||
|
||||
+ // Detect if the server send extra data after the STARTTLS response.
|
||||
+ // This *may* be a "response injection attack".
|
||||
+ if (session->imap_stream->read_buffer_len != 0) {
|
||||
+ // Since it is also an IMAP protocol violation, exit.
|
||||
+ return MAILIMAP_ERROR_STARTTLS;
|
||||
+ }
|
||||
+
|
||||
switch (error_code) {
|
||||
case MAILIMAP_RESP_COND_STATE_OK:
|
||||
return MAILIMAP_NO_ERROR;
|
||||
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libetpan</Name>
|
||||
<Homepage>https://www.etpan.org/libetpan.html</Homepage>
|
||||
<Packager>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Packager>
|
||||
<License>custom</License>
|
||||
<IsA>library</IsA>
|
||||
<PartOf>network.library</PartOf>
|
||||
<Summary>A portable middleware for email access.</Summary>
|
||||
<Description>The purpose of this mail library is to provide a portable, efficient framework for different kinds of mail access: IMAP, SMTP, POP and NNTP.</Description>
|
||||
<Archive sha1sum="cfdfe4329382a30afc5b540e258aaa950fabd25f" type="targz">
|
||||
https://github.com/dinhvh/libetpan/archive/1.9.4.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>db-devel</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
<Dependency>expat-devel</Dependency>
|
||||
<Dependency>gnutls-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>cyrus-sasl-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">Detect_extra_data_after_STARTTLS_response_and_exit.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libetpan</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>db</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>cyrus-sasl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libetpan-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libetpan</Dependency>
|
||||
<Dependency>db-devel</Dependency>
|
||||
<Dependency>gnutls-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>cyrus-sasl-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-10-13</Date>
|
||||
<Version>1.9.4</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
@@ -2,21 +2,25 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
import os
|
||||
#WorkDir = "miniupnpc-1.9"
|
||||
|
||||
def setup():
|
||||
shelltools.system('cmake -L -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr .')
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
cmaketools.configure('-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -L', sourceDir = '..')
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
pythonmodules.compile(pyVer = '3')
|
||||
shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
pythonmodules.install(pyVer = '3')
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
From f82b0563a72e33800f5918ead68c41bcda1fd4c1 Mon Sep 17 00:00:00 2001
|
||||
From: heitbaum <rudi@heitbaum.com>
|
||||
Date: Fri, 1 Oct 2021 00:00:27 +1000
|
||||
Subject: [PATCH] miniupnpc/CMakeLists.txt: fix install for headers
|
||||
|
||||
---
|
||||
miniupnpc/CMakeLists.txt | 20 ++++++++++----------
|
||||
1 file changed, 10 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/miniupnpc/CMakeLists.txt b/miniupnpc/CMakeLists.txt
|
||||
index 0553eeb3..6b0904c0 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -221,16 +221,16 @@ endif ()
|
||||
|
||||
if (NOT UPNPC_NO_INSTALL)
|
||||
install (FILES
|
||||
- miniupnpc.h
|
||||
- miniwget.h
|
||||
- upnpcommands.h
|
||||
- igd_desc_parse.h
|
||||
- upnpreplyparse.h
|
||||
- upnperrors.h
|
||||
- upnpdev.h
|
||||
- miniupnpctypes.h
|
||||
- portlistingparse.h
|
||||
- miniupnpc_declspec.h
|
||||
+ include/miniupnpc.h
|
||||
+ include/miniwget.h
|
||||
+ include/upnpcommands.h
|
||||
+ include/igd_desc_parse.h
|
||||
+ include/upnpreplyparse.h
|
||||
+ include/upnperrors.h
|
||||
+ include/upnpdev.h
|
||||
+ include/miniupnpctypes.h
|
||||
+ include/portlistingparse.h
|
||||
+ include/miniupnpc_declspec.h
|
||||
DESTINATION include/miniupnpc
|
||||
)
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
From ed1dc4bb5cdc4a53963f3eb01089289e30acc5a3 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Wed, 29 Sep 2021 08:28:27 +0200
|
||||
Subject: [PATCH] Makefile: fix install rules to account for $(BUILD)
|
||||
|
||||
Fix missing references to $(BUILD) in the install rules, as well
|
||||
as incorrect shared library symlink name. Otherwise, the 'install'
|
||||
phase fails either being unable to find files:
|
||||
|
||||
make: *** No rule to make target 'miniupnpc.pc', needed by 'install'. Stop.
|
||||
|
||||
or trying to create the symlink in the wrong subdirectory:
|
||||
|
||||
ln: failed to create symbolic link '/tmp/z/usr/lib/build/libminiupnpc.so': No such file or directory
|
||||
---
|
||||
miniupnpc/Makefile | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/miniupnpc/Makefile b/miniupnpc/Makefile
|
||||
index 4563b283..11a17f95 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -162,7 +162,7 @@ PKGCONFIGDIR = $(INSTALLDIRLIB)/pkgconfig
|
||||
|
||||
FILESTOINSTALL = $(LIBRARY) $(EXECUTABLES)
|
||||
ifeq (, $(findstring amiga, $(OS)))
|
||||
-FILESTOINSTALL += $(SHAREDLIBRARY) miniupnpc.pc
|
||||
+FILESTOINSTALL += $(SHAREDLIBRARY) $(BUILD)/miniupnpc.pc
|
||||
endif
|
||||
|
||||
|
||||
@@ -251,15 +251,15 @@ install: updateversion $(FILESTOINSTALL)
|
||||
$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)
|
||||
ifeq (, $(findstring amiga, $(OS)))
|
||||
$(INSTALL) -m 644 $(SHAREDLIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/$(SONAME)
|
||||
- ln -fs $(SONAME) $(DESTDIR)$(INSTALLDIRLIB)/$(SHAREDLIBRARY)
|
||||
+ ln -fs $(SONAME) $(DESTDIR)$(INSTALLDIRLIB)/$(notdir $(SHAREDLIBRARY))
|
||||
$(INSTALL) -d $(DESTDIR)$(PKGCONFIGDIR)
|
||||
- $(INSTALL) -m 644 miniupnpc.pc $(DESTDIR)$(PKGCONFIGDIR)
|
||||
+ $(INSTALL) -m 644 $(BUILD)/miniupnpc.pc $(DESTDIR)$(PKGCONFIGDIR)
|
||||
endif
|
||||
$(INSTALL) -d $(DESTDIR)$(INSTALLDIRBIN)
|
||||
ifneq (, $(findstring amiga, $(OS)))
|
||||
- $(INSTALL) -m 755 upnpc-static $(DESTDIR)$(INSTALLDIRBIN)/upnpc
|
||||
+ $(INSTALL) -m 755 $(BUILD)/upnpc-static $(DESTDIR)$(INSTALLDIRBIN)/upnpc
|
||||
else
|
||||
- $(INSTALL) -m 755 upnpc-shared $(DESTDIR)$(INSTALLDIRBIN)/upnpc
|
||||
+ $(INSTALL) -m 755 $(BUILD)/upnpc-shared $(DESTDIR)$(INSTALLDIRBIN)/upnpc
|
||||
endif
|
||||
$(INSTALL) -m 755 external-ip.sh $(DESTDIR)$(INSTALLDIRBIN)/external-ip
|
||||
ifeq (, $(findstring amiga, $(OS)))
|
||||
@@ -11,24 +11,39 @@
|
||||
<License>Copyright (c) 2005-2011, Thomas BERNARD.All rights reserved.</License>
|
||||
<!--Icon></Icon-->
|
||||
<IsA>library</IsA>
|
||||
<Summary>miniupnpc is a UPnP Control Point. </Summary>
|
||||
<Description>miniupnpc, the client library, enabling applications to access the services provided by an UPnP "Internet Gateway Device" present on the network. In UPnP terminology,miniupnpc is a UPnP Control Point. </Description>
|
||||
<Archive sha1sum="f92fced1381ab0d8a6d31f75fab2c67df0c4a144" type="targz">http://miniupnp.free.fr/files/download.php?file=miniupnpc-2.1.20191224.tar.gz</Archive>
|
||||
<Summary>miniupnpc is a UPnP Control Point.</Summary>
|
||||
<Description>miniupnpc, the client library, enabling applications to access the services provided by an UPnP "Internet Gateway Device" present on the network. In UPnP terminology,miniupnpc is a UPnP Control Point.</Description>
|
||||
<Archive sha1sum="0806a7524b9436b5875acd1c0f040b717ddf9d14" type="targz">http://miniupnp.free.fr/files/miniupnpc-2.2.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">fix_install_for_headers.patch</Patch>
|
||||
<Patch level="1">fix_install_rules_to_account_for_BUILD_var.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>miniupnpc</Name>
|
||||
<RuntimeDependencies>
|
||||
<!--Dependency></Dependency-->
|
||||
<!-- <Dependency></Dependency> -->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
|
||||
<Package>
|
||||
<Name>python3-miniupnpc</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">miniupnpc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/python3.8</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>miniupnpc-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
@@ -37,10 +52,18 @@
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/miniupnpc</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib/cmake/miniupnpc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2021-10-14</Date>
|
||||
<Version>2.2.3</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2020-06-04</Date>
|
||||
<Version>2.1.20191224</Version>
|
||||
|
||||
@@ -3,9 +3,8 @@
|
||||
<Source>
|
||||
<Name>miniupnpc</Name>
|
||||
<Summary xml:lang="tr">bir uPnP istemci kütüphanesi</Summary>
|
||||
<Description xml:lang="tr">bir uPnP istemci kitaplığı;uygulamaların ağdaki mevcut bir UPnP "internet ağgeçidi aygıtı"
|
||||
tarafından sağlanan servislere erişimine olanak verir.
|
||||
</Description>
|
||||
<Description xml:lang="tr">bir uPnP istemci kitaplığı;uygulamaların ağdaki mevcut bir UPnP "internet ağgeçidi aygıtı" tarafından sağlanan servislere erişimine olanak verir.
|
||||
</Description>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>miniupnpc</Name>
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import shelltools, autotools, pisitools, get
|
||||
|
||||
i = ''.join([
|
||||
' --enable-ldap',
|
||||
' --enable-startup-notification',
|
||||
' --enable-alternate-addressbook',
|
||||
' --disable-static '
|
||||
])
|
||||
def setup():
|
||||
autotools.configure(i)
|
||||
|
||||
# pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "README")
|
||||
|
||||
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>claws-mail</Name>
|
||||
<Homepage>https://claws-mail.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Packager>
|
||||
<License>GPL-3</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<PartOf>network.mail</PartOf>
|
||||
<Summary>Claws Mail is an email client (and news reader), based on GTK+.</Summary>
|
||||
<Description>
|
||||
Claws Mail is a lightweight and highly configurable email client and news reader based on the GTK+ GUI toolkit.
|
||||
</Description>
|
||||
<Archive sha1sum="b4befc25649a28e89274ba72b50e9f9f66bf09b6" type="tarxz">
|
||||
https://claws-mail.org/releases/claws-mail-4.0.0.tar.xz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>flex</Dependency>
|
||||
<Dependency>bison</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>gpgme-devel</Dependency>
|
||||
<Dependency>libSM-devel</Dependency>
|
||||
<Dependency>gnutls-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>libical-devel</Dependency>
|
||||
<Dependency>librsvg-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>gettext-devel</Dependency>
|
||||
<Dependency>enchant2-devel</Dependency>
|
||||
<Dependency>libetpan-devel</Dependency>
|
||||
<Dependency>compface-devel</Dependency>
|
||||
<Dependency>libnotify-devel</Dependency>
|
||||
<Dependency>libsocket-devel</Dependency>
|
||||
<Dependency>openldap-server</Dependency>
|
||||
<Dependency>libarchive-devel</Dependency>
|
||||
<Dependency>NetworkManager-devel</Dependency>
|
||||
<Dependency>python3-pygobject3-devel</Dependency>
|
||||
<Dependency>startup-notification-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level="1">missing.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>claws-mail</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>db</Dependency>
|
||||
<Dependency>atk</Dependency>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>perl</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>expat</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>gpgme</Dependency>
|
||||
<Dependency>libSM</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>gnutls</Dependency>
|
||||
<Dependency>libICE</Dependency>
|
||||
<Dependency>nettle</Dependency>
|
||||
<Dependency>libical</Dependency>
|
||||
<Dependency>librsvg</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
<Dependency>compface</Dependency>
|
||||
<Dependency>enchant2</Dependency>
|
||||
<Dependency>harfbuzz</Dependency>
|
||||
<Dependency>libetpan</Dependency>
|
||||
<Dependency>dbus-glib</Dependency>
|
||||
<Dependency>libassuan</Dependency>
|
||||
<Dependency>libnotify</Dependency>
|
||||
<Dependency>cyrus-sasl</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>libarchive</Dependency>
|
||||
<Dependency>libgpg-error</Dependency>
|
||||
<Dependency>openldap-client</Dependency>
|
||||
<Dependency>startup-notification</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc/clawsmail</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>claws-mail-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">claws-mail</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-10-13</Date>
|
||||
<Version>4.0.0</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import perlmodules
|
||||
|
||||
def setup():
|
||||
perlmodules.configure()
|
||||
|
||||
def build():
|
||||
perlmodules.make()
|
||||
|
||||
def check():
|
||||
perlmodules.make("test")
|
||||
|
||||
def install():
|
||||
perlmodules.install()
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
diff -uprw razor-agents-2.85.orig/Makefile.PL razor-agents-2.85/Makefile.PL
|
||||
--- razor-agents-2.85.orig/Makefile.PL 2007-05-09 01:47:53.000000000 +0300
|
||||
+++ razor-agents-2.85/Makefile.PL 2015-06-14 20:36:23.677213987 +0300
|
||||
@@ -140,9 +140,9 @@ sub MY::install {
|
||||
my $inherited = $self->SUPER::install(@_);
|
||||
|
||||
my $man5 = q{ \\
|
||||
- $(INST_MAN5DIR) $(INSTALLMAN5DIR)};
|
||||
+ "$(INST_MAN5DIR)" "$(INSTALLMAN5DIR)"};
|
||||
|
||||
- $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\))/$1$man5/gm;
|
||||
+ $inherited =~ s/("?\$\((?:DEST)?INSTALL\w*MAN1DIR\)"?)/$1$man5/gm;
|
||||
|
||||
return $inherited;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
--- a/lib/Razor2/Client/Version.pm 2007-05-10 22:32:10.000000000 +0200
|
||||
+++ b/lib/Razor2/Client/Version.pm 2010-03-25 11:11:36.911409707 +0100
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
$PROTOCOL = 3;
|
||||
|
||||
-$VERSION = '2.84';
|
||||
+$VERSION = '2.85';
|
||||
|
||||
1;
|
||||
|
||||
--- a/META.yml 2007-05-23 20:29:34.000000000 +0200
|
||||
+++ b/META.yml 2010-03-25 11:11:43.691408628 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
# http://module-build.sourceforge.net/META-spec.html
|
||||
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
|
||||
name: razor-agents
|
||||
-version: 2.84
|
||||
+version: 2.85
|
||||
version_from: lib/Razor2/Client/Version.pm
|
||||
installdirs: site
|
||||
requires:
|
||||
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>razor</Name>
|
||||
<Homepage>http://razor.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Packager>
|
||||
<License>PerlArtistic</License>
|
||||
<IsA>app</IsA>
|
||||
<PartOf>network.mail</PartOf>
|
||||
<Summary>Razor is a distributed, collaborative, spam detection and filtering network.</Summary>
|
||||
<Description>Vipul's Razor is a distributed, collaborative, spam detection and filtering network. Through user contribution, Razor establishes a distributed and constantly updating catalogue of spam in propagation that is consulted by email clients to filter out known spam. Detection is done with statistical and randomized signatures that efficiently spot mutating spam content. User input is validated through reputation assignments based on consensus on report and revoke assertions which in turn is used for computing confidence values associated with individual signatures.</Description>
|
||||
<Archive sha1sum="bf5797ae9faf20f7e3635883767a95cdf0739ba9" type="tarbz2">
|
||||
mirrors://sourceforge/project/razor/razor-agents/2.85/razor-agents-2.85.tar.bz2
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>perl</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">makefile_quoting_fix.patch</Patch>
|
||||
<Patch level="1">version_fix.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>razor</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>perl</Dependency>
|
||||
<Dependency>perl-URI</Dependency>
|
||||
<Dependency>perl-Net-DNS</Dependency>
|
||||
<Dependency>perl-Digest-SHA1</Dependency>
|
||||
<Dependency>perl-Digest-Nilsimsa</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/perl5</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-09-18</Date>
|
||||
<Version>2.85</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import perlmodules, shelltools, pisitools, get
|
||||
|
||||
shelltools.export("CONTACT_ADDRESS", "root@localhost")
|
||||
shelltools.export("ENABLE_SSL", "yes")
|
||||
shelltools.export("PERL_USE_UNSAFE_INC", "1")
|
||||
shelltools.export("CFLAGS", "%s -DSPAMC_SSL -lssl -lcrypto" % get.CFLAGS())
|
||||
|
||||
def setup():
|
||||
perlmodules.configure()
|
||||
shelltools.cd("spamc")
|
||||
shelltools.system("./configure.pl && ./configure --enable-ssl=yes")
|
||||
|
||||
def build():
|
||||
perlmodules.make()
|
||||
|
||||
def check():
|
||||
pass
|
||||
# perlmodules.make("test")
|
||||
|
||||
def install():
|
||||
perlmodules.install()
|
||||
|
||||
pisitools.dodir("/var/lib/spamd")
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
|
||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
os.system("sa-update")
|
||||
os.system("/bin/chmod 755 /var/lib/spamd")
|
||||
os.system("/bin/chown spamd: /var/lib/spamd -R")
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from comar.service import *
|
||||
|
||||
serviceType = "server"
|
||||
serviceDesc = _({"en": "Spam detection daemon",
|
||||
"tr": "Spam algılama servisi"})
|
||||
|
||||
serviceDefault="on"
|
||||
|
||||
serviceConf = "spamd"
|
||||
|
||||
@synchronized
|
||||
def start():
|
||||
startService(command="/usr/bin/spamd",
|
||||
args="-d -r %s %s %s" % (config.get("PIDFILE", "/run/spamd.pid"), config.get("PARAMS", ""), config.get("EXTRA", "")),
|
||||
nice = int(config.get("NICELEVEL", "-0")),
|
||||
donotify=True)
|
||||
|
||||
@synchronized
|
||||
def stop():
|
||||
stopService(config.get("PIDFILE", "/run/spamd.pid"),
|
||||
donotify=True)
|
||||
|
||||
def status():
|
||||
return isServiceRunning(config.get("PIDFILE", "/run/spamd.pid"))
|
||||
@@ -0,0 +1,11 @@
|
||||
#May define spamd process priority level here
|
||||
#NICELEVEL=
|
||||
|
||||
PIDFILE="/run/spamd.pid"
|
||||
|
||||
#Default package parameters
|
||||
PARAMS="-x -u spamd -g spamd -H /var/lib/spamd --listen=/run/spamd.sock --listen=localhost"
|
||||
|
||||
#Add extra parameters for spamd here (man spamd)
|
||||
#Log (-s) default is mail facility (If choosen a file, that must be writable by -u{user})
|
||||
#EXTRA="-s /var/log/spamd.log"
|
||||
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>spamassassin</Name>
|
||||
<Homepage>https://spamassassin.apache.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>Apache-2</License>
|
||||
<IsA>server</IsA>
|
||||
<PartOf>network.mail</PartOf>
|
||||
<Summary>Spam detector and markup engine.</Summary>
|
||||
<Description>Apache SpamAssassin is the Open Source anti-spam platform giving system administrators a filter to classify email and block spam (unsolicited bulk email).</Description>
|
||||
<Archive sha1sum="26390aa8c9176c7d280252e4f01defe031373d32" type="tarbz2">
|
||||
mirrors://apache/spamassassin/source/Mail-SpamAssassin-3.4.6.tar.bz2
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>re2c</Dependency>
|
||||
<Dependency>perl</Dependency>
|
||||
<Dependency>razor</Dependency>
|
||||
<Dependency>gnupg</Dependency>
|
||||
<Dependency>perl-DBI</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>perl-Mail-DKIM</Dependency>
|
||||
<Dependency>libsocket-devel</Dependency>
|
||||
<Dependency>perl-NetAddr-IP</Dependency>
|
||||
<Dependency>perl-HTML-Parser</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>spamassassin</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>re2c</Dependency>
|
||||
<Dependency>perl</Dependency>
|
||||
<Dependency>razor</Dependency>
|
||||
<Dependency>gnupg</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>perl-DBI</Dependency>
|
||||
<Dependency>libsocket</Dependency>
|
||||
<Dependency>perl-libwww</Dependency>
|
||||
<Dependency>perl-Net-DNS</Dependency>
|
||||
<Dependency>perl-NET-HTTP</Dependency>
|
||||
<Dependency>perl-Mail-SPF</Dependency>
|
||||
<Dependency>perl-Mail-DKIM</Dependency>
|
||||
<Dependency>perl-NetAddr-IP</Dependency>
|
||||
<Dependency>perl-HTML-Parser</Dependency>
|
||||
<Dependency>perl-HTTP-Message</Dependency>
|
||||
<Dependency>perl-IO-Socket-SSL</Dependency>
|
||||
<Dependency>perl-IO-Socket-INET6</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/conf.d/spamd</Path>
|
||||
<Path fileType="config">/etc/mail/spamassassin</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/perl5</Path>
|
||||
<Path fileType="data">/usr/lib/tmpfiles.d</Path>
|
||||
<Path fileType="data">/usr/share/spamassassin</Path>
|
||||
<Path fileType="data">/run/spamd</Path>
|
||||
<Path fileType="data">/var/lib/spamd</Path>
|
||||
<Path fileType="man">/usr/share/man/man1</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="/etc/conf.d/spamd" permission="0644" owner="root">spamd-confd</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<Provides>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
<COMAR script="service.py">System.Service</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-09-23</Date>
|
||||
<Version>3.4.6</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import qt5
|
||||
|
||||
j = ''.join([
|
||||
' --enable-cli',
|
||||
' --enable-utp',
|
||||
' --enable-lightweight',
|
||||
' --enable-daemon',
|
||||
' --disable-static',
|
||||
' --disable-mac',
|
||||
' --with-gtk',
|
||||
' --with-crypto=openssl',
|
||||
' --without-systemd '
|
||||
])
|
||||
|
||||
def setup():
|
||||
autotools.configure(j)
|
||||
|
||||
# transmission with qt gui configure.
|
||||
shelltools.cd("qt")
|
||||
qt5.configure()
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
# transmission with qt gui make.
|
||||
shelltools.cd("qt")
|
||||
qt5.make()
|
||||
qt5.make("translations")
|
||||
|
||||
def install():
|
||||
# qt
|
||||
qt5.install("-C qt INSTALL_ROOT=%s/usr" % get.installDIR())
|
||||
pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), "qt/README.txt", "README-QT")
|
||||
pisitools.insinto("%s/applications" % get.dataDIR(), "qt/transmission-qt.desktop")
|
||||
|
||||
# gtk
|
||||
autotools.rawInstall("-C gtk DESTDIR=%s" % get.installDIR())
|
||||
autotools.rawInstall("-C po DESTDIR=%s" % get.installDIR())
|
||||
|
||||
# cli, web, deamon
|
||||
for _dir in ["cli", "web", "utils"]:
|
||||
autotools.rawInstall("-C %s DESTDIR=%s" % (_dir, get.installDIR()))
|
||||
|
||||
# For daemon config files.
|
||||
pisitools.dodir("/etc/transmission-daemon")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "NEWS.md", "README.md")
|
||||
|
||||
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>transmission</Name>
|
||||
<Homepage>https://transmissionbt.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<License>GPL-2</License>
|
||||
<IsA>service</IsA>
|
||||
<IsA>app:gui</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<PartOf>network.p2p</PartOf>
|
||||
<Summary>A fast, easy, and free BitTorrent client.</Summary>
|
||||
<Description>Transmission is a free, lightweight Bittorrent client. It features a simple, intuitive interface on top of an efficient backend. This package provides only daemon, web interface and command line client. If you want use Transmission with graphical interface, you should install transmission-gtk or transmission-qt.</Description>
|
||||
<Archive sha1sum="fd6bd78cfe5a612b422a49e8193d82df2486a3c4" type="tarxz">
|
||||
https://github.com/transmission/transmission-releases/raw/master/transmission-3.00.tar.xz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>qt5-linguist</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>xfsprogs-devel</Dependency>
|
||||
<Dependency>libevent-devel</Dependency>
|
||||
<Dependency>libnotify-devel</Dependency>
|
||||
<Dependency>miniupnpc-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level="1">missing.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>transmission-cli</Name>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Transmission's cli tools, web interface and daemon.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>libevent</Dependency>
|
||||
<Dependency>miniupnpc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>transmission-gtk</Name>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Transmission's GTK+ interface (default).</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">transmission-cli</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>libevent</Dependency>
|
||||
<Dependency>miniupnpc</Dependency>
|
||||
<Dependency>libnotify</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/transmission-gtk</Path>
|
||||
<Path fileType="data">/usr/share/appdata/transmission-gtk.xml</Path>
|
||||
<Path fileType="data">/usr/share/applications/transmission-gtk.desktop</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="man">/usr/share/man/man1/transmission-gtk.1</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>transmission-qt</Name>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Transmission's Qt interface.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">transmission-cli</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>libevent</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>miniupnpc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/transmission-qt</Path>
|
||||
<Path fileType="data">/usr/share/applications/transmission-qt.desktop</Path>
|
||||
<Path fileType="man">/usr/share/man/man1/transmission-qt.1</Path>
|
||||
<Path fileType="doc">/usr/share/doc/transmission/README-QT</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-10-14</Date>
|
||||
<Version>3.00</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>transmission</Name>
|
||||
<Summary xml:lang="tr">Hızlı, basit ve özgür BitTorrent istemcisi</Summary>
|
||||
<Description xml:lang="tr">Transmission özgür ve hafif BitTorrent istemcisidir. İki değişik kitaplıkla yazılmış basit ve kullanışlı arayüz istemcisi vardır. Qt ile yazılmış arayüz paketinin adı transmission-qt, GTK+ ile yazılmış olanı ise transmission-gtk'dir. Bu pakette sadece servis, komut satırı istemcisi ve Web arayüzü bulunmaktadır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>transmission-cli</Name>
|
||||
<Summary xml:lang="tr">Transmission'un öntanımlı CLI, web ve sunucu bileşenleri</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>transmission-gtk</Name>
|
||||
<Summary xml:lang="tr">Transmission'un öntanımlı GTK+ arayüz istemcisi</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>transmission-qt</Name>
|
||||
<Summary xml:lang="tr">Transmission'un Qt arayüz istemcisi</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user