Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- .../perl-Crypt-OpenSSL-Guess.nm | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.nm
diff --git a/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.nm b/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.nm new file mode 100644 index 000000000..af137f220 --- /dev/null +++ b/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.nm @@ -0,0 +1,39 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team info@ipfire.org # +############################################################################### + +name = perl-Crypt-OpenSSL-Guess +version = 0.15 +release = 1 +arch = noarch +thisapp = Crypt-OpenSSL-Guess-%{version} + +groups = Development/Libraries +url = http://search.cpan.org/dist/Crypt-OpenSSL-Guess +license = GPL+ +summary = Guess the OpenSSL include path. + +description + This package provides helpers to guess OpenSSL include path on any platforms. +end + +source_dl = https://cpan.metacpan.org/authors/id/A/AK/AKIYM/ + +build + requires + perl(ExtUtils::MakeMaker) + end + + build + perl Makefile.PL INSTALLDIRS=vendor + make %{PARALLELISMFLAGS} + end + + make_install_targets = \ + pure_install +end + +packages + package %{name} +end
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- .../perl-Crypt-OpenSSL-X509.nm | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 perl-Crypt-OpenSSL-X509/perl-Crypt-OpenSSL-X509.nm
diff --git a/perl-Crypt-OpenSSL-X509/perl-Crypt-OpenSSL-X509.nm b/perl-Crypt-OpenSSL-X509/perl-Crypt-OpenSSL-X509.nm new file mode 100644 index 000000000..9ab4b1fbe --- /dev/null +++ b/perl-Crypt-OpenSSL-X509/perl-Crypt-OpenSSL-X509.nm @@ -0,0 +1,44 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team info@ipfire.org # +############################################################################### + +name = perl-Crypt-OpenSSL-X509 +version = 1.914 +release = 1 +thisapp = Crypt-OpenSSL-X509-%{version} + +groups = Development/Libraries +url = http://search.cpan.org/dist/Crypt-OpenSSL-X509 +license = GPL+ +summary = Perl extension to OpenSSL's X509 API. + +description + This perl module implements a large majority of OpenSSL's useful X509 API. +end + +source_dl = https://cpan.metacpan.org/authors/id/J/JO/JONASBN/ + +build + requires + perl(Crypt::OpenSSL::Guess) + perl(ExtUtils::MakeMaker) + openssl-devel + end + + build + perl Makefile.PL INSTALLDIRS=vendor + make %{PARALLELISMFLAGS} + end + + make_install_targets = \ + pure_install +end + +packages + package %{name} + + package %{name}-debuginfo + template DEBUGINFO + end +end
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- perl-Convert-ASN1/perl-Convert-ASN1.nm | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 perl-Convert-ASN1/perl-Convert-ASN1.nm
diff --git a/perl-Convert-ASN1/perl-Convert-ASN1.nm b/perl-Convert-ASN1/perl-Convert-ASN1.nm new file mode 100644 index 000000000..60a316076 --- /dev/null +++ b/perl-Convert-ASN1/perl-Convert-ASN1.nm @@ -0,0 +1,39 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team info@ipfire.org # +############################################################################### + +name = perl-Convert-ASN1 +version = 0.33 +release = 1 +arch = noarch +thisapp = Convert-ASN1-%{version} + +groups = Development/Libraries +url = http://search.cpan.org/dist/Convert-ASN1 +license = GPL+ +summary = ASN.1 Encode/Decode library for perl. + +description + Convert::ASN1 encodes and decodes ASN.1 data structures using BER/DER rules. +end + +source_dl = https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/ + +build + requires + perl(ExtUtils::MakeMaker) + end + + build + perl Makefile.PL INSTALLDIRS=vendor + make %{PARALLELISMFLAGS} + end + + make_install_targets = \ + pure_install +end + +packages + package %{name} +end
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- perl-TimeDate/perl-TimeDate.nm | 45 ++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 perl-TimeDate/perl-TimeDate.nm
diff --git a/perl-TimeDate/perl-TimeDate.nm b/perl-TimeDate/perl-TimeDate.nm new file mode 100644 index 000000000..858846b81 --- /dev/null +++ b/perl-TimeDate/perl-TimeDate.nm @@ -0,0 +1,45 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team info@ipfire.org # +############################################################################### + +name = perl-TimeDate +version = 2.33 +release = 1 +arch = noarch +thisapp = TimeDate-%{version} + +groups = Development/Libraries +url = http://search.cpan.org/dist/TimeDate/ +license = GPL+ or Artistic +summary = A Perl module for time and date manipulation + +description + This module includes a number of smaller modules suited for + manipulation of time and date strings with Perl. In particular, the + Date::Format and Date::Parse modules can display and read times and + dates in various formats, providing a more reliable interface to + textual representations of points in time. +end + +source_dl = https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/ + +build + requires + perl(ExtUtils::MakeMaker) + perl(Test::More) + end + + build + perl Makefile.PL INSTALLDIRS=perl + make %{PARALLELISMFLAGS} + end + + test + make test + end +end + +packages + package %{name} +end
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- .../patches/squid-3.0.STABLE1-perlpath.patch | 9 ---- squid/patches/squid-3.1.0.9-config.patch | 26 ------------ squid/patches/squid-3.1.0.9-location.patch | 41 ------------------- squid/squid.nm | 22 +++++----- 4 files changed, 10 insertions(+), 88 deletions(-) delete mode 100644 squid/patches/squid-3.0.STABLE1-perlpath.patch delete mode 100644 squid/patches/squid-3.1.0.9-config.patch delete mode 100644 squid/patches/squid-3.1.0.9-location.patch
diff --git a/squid/patches/squid-3.0.STABLE1-perlpath.patch b/squid/patches/squid-3.0.STABLE1-perlpath.patch deleted file mode 100644 index 19b512e1d..000000000 --- a/squid/patches/squid-3.0.STABLE1-perlpath.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -up squid-3.0.STABLE1/contrib/url-normalizer.pl.perlpath squid-3.0.STABLE1/contrib/url-normalizer.pl ---- squid-3.0.STABLE1/contrib/url-normalizer.pl.perlpath 1996-12-06 18:54:31.000000000 +0100 -+++ squid-3.0.STABLE1/contrib/url-normalizer.pl 2008-01-23 12:07:50.000000000 +0100 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -Tw -+#!/usr/bin/perl -Tw - - # From: Markus Gyger mgyger@itr.ch - # diff --git a/squid/patches/squid-3.1.0.9-config.patch b/squid/patches/squid-3.1.0.9-config.patch deleted file mode 100644 index 09d7a156e..000000000 --- a/squid/patches/squid-3.1.0.9-config.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -up squid-3.0.STABLE9/src/cf.data.pre.config squid-3.0.STABLE9/src/cf.data.pre ---- squid-3.0.STABLE9/src/cf.data.pre.config 2008-09-09 18:06:44.000000000 +0200 -+++ squid-3.0.STABLE9/src/cf.data.pre 2008-10-19 23:34:17.000000000 +0200 -@@ -2135,7 +2136,7 @@ DOC_END - - NAME: logfile_rotate - TYPE: int --DEFAULT: 10 -+DEFAULT: 0 - LOC: Config.Log.rotateNumber - DOC_START - Specifies the number of logfile rotations to make when you -@@ -3254,11 +3256,11 @@ COMMENT_END - - NAME: cache_mgr - TYPE: string --DEFAULT: webmaster -+DEFAULT: root - LOC: Config.adminEmail - DOC_START - Email-address of local cache manager who will receive -- mail if the cache dies. The default is "webmaster." -+ mail if the cache dies. The default is "root." - DOC_END - - NAME: mail_from diff --git a/squid/patches/squid-3.1.0.9-location.patch b/squid/patches/squid-3.1.0.9-location.patch deleted file mode 100644 index 816b358bd..000000000 --- a/squid/patches/squid-3.1.0.9-location.patch +++ /dev/null @@ -1,41 +0,0 @@ -diff -up squid-3.1.0.9/QUICKSTART.location squid-3.1.0.9/QUICKSTART ---- squid-3.1.0.9/QUICKSTART.location 2009-06-26 12:35:27.000000000 +0200 -+++ squid-3.1.0.9/QUICKSTART 2009-07-17 14:03:10.000000000 +0200 -@@ -12,10 +12,9 @@ After you retrieved, compiled and instal - INSTALL in the same directory), you have to configure the squid.conf - file. This is the list of the values you *need* to change, because no - sensible defaults could be defined. Do not touch the other variables --for now. We assume you have installed Squid in the default location: --/usr/local/squid -+for now. - --Uncomment and edit the following lines in /usr/local/squid/etc/squid.conf: -+Uncomment and edit the following lines in /etc/squid/squid.conf: - - ============================================================================== - -@@ -56,7 +55,7 @@ cache_effective_user - Some configuration lines which are optional but may be needed. - - --cache_dir ufs /usr/local/squid/var/cache 100 16 256 -+cache_dir ufs /var/spool/squid 100 16 256 - - Add here (first number, here 100) the amount of hard disk space - (in megabytes) to devote to caching. -@@ -84,12 +83,12 @@ After editing squid.conf to your liking, - line TWICE: - - To create any disk cache_dir configured: -- % /usr/local/squid/sbin/squid -z -+ % /usr/sbin/squid -z - - To start squid: -- % /usr/local/squid/sbin/squid -+ % /usr/sbin/squid - --Check in the cache.log (/usr/local/squid/var/logs/cache.log) that -+Check in the cache.log (/var/log/squid/cache.log) that - everything is all right. - - Once Squid created all its files (it can take several minutes on some diff --git a/squid/squid.nm b/squid/squid.nm index 9db970596..ccd96c27c 100644 --- a/squid/squid.nm +++ b/squid/squid.nm @@ -4,14 +4,15 @@ ###############################################################################
name = squid -major_ver = 3.1 -version = %{major_ver}.19 -release = 2 +major_ver = 5 +minor_ver = 7 +version = %{major_ver}.%{minor_ver} +release = 1
groups = Networking/Daemons -url = http://www.squid-cache.org/ +url = https://www.squid-cache.org/ license = GPLv2+ -summary = The Squid proxy caching server. +summary = The Squid proxy caching server
description Squid is a high-performance proxy caching server for Web clients, @@ -22,7 +23,7 @@ description DNS lookups, and implements negative caching of failed requests. end
-source_dl = http://www.squid-cache.org/Versions/v3/%%7Bmajor_ver%7D/ +source_dl = http://www.squid-cache.org/Versions/v%%7Bver_major%7D/
build requires @@ -33,8 +34,8 @@ build samba-devel pam-devel libcap-devel - /usr/bin/smbclient shadow-utils + systemd-devel end
CFLAGS += -Wno-error @@ -58,9 +59,8 @@ build --enable-kill-parent-hack \ --enable-snmp \ --enable-arp-acl \ - --enable-ipf-transparent \ --enable-htcp \ - --enable-ssl \ + --disable-ssl \ --enable-forw-via-db \ --disable-cache-digests \ --enable-poll \ @@ -71,7 +71,7 @@ build --enable-linux-netfilter \ --disable-ident-lookups \ --enable-internal-dns \ - --enable-auth=basic,ntlm \ + --enable-auth \ --enable-basic-auth-helpers="LDAP,MSNT,multi-domain-NTLM,PAM,NCSA,SMB,squid_radius_auth" \ --enable-ntlm-auth-helpers="smb_lm,no_check,fakeauth" \ --enable-ntlm-fail-open \ @@ -148,8 +148,6 @@ packages /bin/systemctl try-restart squid.service >/dev/null 2>&1 || : end
- requires = /usr/bin/smbclient - filter_requires = perl.Auth.* end