add missing dependencies.

This commit is contained in:
4fury-c3440d8
2021-10-14 06:44:02 +03:00
parent 4e5a883d49
commit def9ce9645
57 changed files with 1968 additions and 0 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 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:
+54
View File
@@ -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>