Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
3f1ec3e2bc
!9 modify source package from Source0 in spec file
From: @wangjiang37 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
2022-11-17 08:29:25 +00:00
wangjiang
8a62c42dfd modify source package from Source0 in spec file 2022-11-17 14:53:42 +08:00
openeuler-ci-bot
d7de751b62
!8 [sync] PR-7: upgrade version to 3.14
From: @openeuler-sync-bot 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
2022-10-27 01:08:54 +00:00
wangjiang
2fb0ae3ea0 upgrade version to 3.14
(cherry picked from commit 38a80717c1cac9832dcea23ec0a76b8727f9d3e6)
2022-10-26 14:38:54 +08:00
openeuler-ci-bot
833f521efe
!5 [sync] PR-4: Do not create Net/libnet.cfg
From: @openeuler-sync-bot 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
2022-07-01 08:50:04 +00:00
weiwei_tiantian
1388fbf246 Do not create Net/libnet.cfg
(cherry picked from commit 59cd8caba4529e67ac66752eb33eb4285f490acc)
2022-07-01 16:29:44 +08:00
openeuler-ci-bot
60fca1eb8c !3 upgrade version to 3.13
From: @run-is-pig
Reviewed-by: @myeuler
Signed-off-by: @myeuler
2021-02-03 12:36:58 +08:00
jinzhimin369
1f839b932e upgrade version to 3.13 2021-01-26 11:26:08 +08:00
openeuler-ci-bot
26661c35cc !2 add yaml file in package
Merge pull request !2 from 吴超超/master
2020-06-15 09:19:08 +08:00
19909236985
012800e024 add yaml file in package 2020-06-13 17:26:54 +08:00
5 changed files with 472 additions and 2 deletions

View File

@ -0,0 +1,46 @@
From a40f2774eede8e65dd6128b45525ec88f469e031 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Fri, 10 Jul 2015 13:02:00 +0200
Subject: [PATCH 2/2] Do not create Net/libnet.cfg
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
I will remove the Net/libnet.cfg because:
(1) it's content equals to default configuration hard-coded in the
code
(2) it's kind of configuration file we do not mark it as a configuration
file, so it's overwritten on each update
(3) it's loaded from directory based on Net::Config module location.
I.e. core module will search it in core path, vendor module in vendor
path and site module in site path.
perl.spec does not provide it either.
<https://bugzilla.redhat.com/show_bug.cgi?id=1238689>
Signed-off-by: Petr Písař <ppisar@redhat.com>
Reference:https://src.fedoraproject.org/rpms/perl-libnet/blob/rawhide/f/libnet-3.08-Do-not-create-Net-libnet.cfg.patch
Conflict:NA
---
Makefile.PL | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.PL b/Makefile.PL
index 64d6959..25fc626 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -235,7 +235,7 @@ MAIN: {
sub MY::post_initialize {
my $self = shift;
- return '' if $self->{PERL_CORE};
+ return '';
if (not -f $CfgFile) {
my @args = qw(Configure);
--
2.5.0

Binary file not shown.

BIN
libnet-3.14.tar.gz Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: perl-libnet Name: perl-libnet
Version: 3.11 Version: 3.14
Release: 420 Release: 2
Summary: Perl clients for various network protocols Summary: Perl clients for various network protocols
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/libnet URL: https://metacpan.org/release/libnet
@ -8,6 +8,8 @@ Source0: https://cpan.metacpan.org/authors/id/S/SH/SHAY/libnet-%{version}
BuildArch: noarch BuildArch: noarch
Patch6000: backport-libnet-3.08-Do-not-create-Net-libnet.cfg.patch
BuildRequires: coreutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: coreutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) perl(warnings) perl(Carp) perl(constant) perl(Errno) perl(Exporter) perl(Fcntl) BuildRequires: perl(strict) perl(warnings) perl(Carp) perl(constant) perl(Errno) perl(Exporter) perl(Fcntl)
BuildRequires: perl(FileHandle) perl(IO::Select) perl(IO::Socket) >= 1.05 perl(IO::Socket::IP) >= 0.25 perl(POSIX) BuildRequires: perl(FileHandle) perl(IO::Select) perl(IO::Socket) >= 1.05 perl(IO::Socket::IP) >= 0.25 perl(POSIX)
@ -57,6 +59,27 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Thu Nov 17 2022 wangjiang <wangjiang37@h-partners.com> 3.14-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify source package
* Tue Oct 25 2022 wangjiang <wangjiang37@h-partners.com> 3.14-1
- Type: enhancement
- ID:NA
- SUG:NA
- DESC:upgrade version to 3.14
* Fri Jul 01 2022 tianwei <tianwei12@h-partners.com> - 3.13-2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:Do not create Net/libnet.cfg
* Tue Jan 26 2021 liudabo <liudabo1@huawei.com> - 3.13-1
- upgrade version to 3.13
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.11-420 * Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.11-420
- Type: enhancement - Type: enhancement
- ID: NA - ID: NA

401
perl-libnet.yaml Normal file
View File

@ -0,0 +1,401 @@
---
version_control: metacpan
src_repo: libnet
tag_prefix: "^v"
seperator: "."
last_query:
time_stamp: 2020-04-26 07:41:18.070485510 +00:00
raw_data: |
{
"version_numified" : 3.11,
"id" : "j83_WYccwZiNZEuPo6UpA5aWyOw",
"provides" : [
"Net::Cmd",
"Net::Config",
"Net::Domain",
"Net::FTP",
"Net::FTP::A",
"Net::FTP::E",
"Net::FTP::I",
"Net::FTP::L",
"Net::FTP::_SSL_SingleSessionCache",
"Net::FTP::dataconn",
"Net::NNTP",
"Net::NNTP::_SSL",
"Net::Netrc",
"Net::POP3",
"Net::POP3::_SSL",
"Net::SMTP",
"Net::SMTP::_SSL",
"Net::Time"
],
"changes_file" : "Changes",
"status" : "latest",
"checksum_md5" : "f4fdfa0906bf2ad5ac3c74c3860eb029",
"abstract" : "Collection of network protocol modules",
"authorized" : true,
"download_url" : "https://cpan.metacpan.org/authors/id/S/SH/SHAY/libnet-3.11.tar.gz",
"deprecated" : "false",
"first" : false,
"author" : "SHAY",
"metadata" : {
"resources" : {
"repository" : {
"type" : "git",
"url" : "https://github.com/steve-m-hay/perl-libnet.git"
}
},
"license" : [
"perl_5"
],
"release_status" : "stable",
"dynamic_config" : 1,
"generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.150001, CPAN::Meta::Converter version 2.150005",
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
},
"prereqs" : {
"build" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"requires" : {
"POSIX" : "0",
"perl" : "5.008001",
"Carp" : "0",
"IO::Select" : "0",
"utf8" : "0",
"Errno" : "0",
"IO::Socket" : "1.05",
"constant" : "0",
"vars" : "0",
"Fcntl" : "0",
"FileHandle" : "0",
"File::Basename" : "0",
"Time::Local" : "0",
"Socket" : "2.016",
"strict" : "0",
"Symbol" : "0",
"Exporter" : "0"
}
},
"test" : {
"requires" : {
"Config" : "0",
"Cwd" : "0"
}
},
"configure" : {
"requires" : {
"warnings" : "0",
"perl" : "5.008001",
"ExtUtils::MakeMaker" : "6.64",
"IO::File" : "0",
"strict" : "0",
"Getopt::Std" : "0",
"vars" : "0"
}
}
},
"abstract" : "Collection of network protocol modules",
"name" : "libnet",
"no_index" : {
"directory" : [
"t",
"inc",
"t",
"xt",
"inc",
"local",
"perl5",
"fatlib",
"example",
"blib",
"examples",
"eg"
]
},
"author" : [
"Graham Barr <gbarr@pobox.com>, Steve Hay <shay@cpan.org>"
],
"optional_features" : {
"APOP" : {
"prereqs" : {
"runtime" : {
"requires" : {
"Digest::MD5" : "0"
}
}
},
"description" : "APOP support"
},
"SSL" : {
"description" : "SSL support",
"prereqs" : {
"runtime" : {
"requires" : {
"IO::Socket::SSL" : "2.007"
}
}
}
},
"AUTH" : {
"prereqs" : {
"runtime" : {
"requires" : {
"Authen::SASL" : "0",
"MIME::Base64" : "0"
}
}
},
"description" : "AUTH support"
},
"critictest" : {
"description" : "Perl::Critic testing",
"prereqs" : {
"test" : {
"requires" : {
"Test::Perl::Critic" : "0"
}
}
}
},
"IPv6" : {
"description" : "IPv6 support",
"prereqs" : {
"runtime" : {
"requires" : {
"IO::Socket::IP" : "0.25"
}
}
}
},
"changestest" : {
"description" : "Changes testing",
"prereqs" : {
"test" : {
"requires" : {
"Test::CPAN::Changes" : "0"
}
}
}
},
"podcoveragetest" : {
"description" : "POD coverage testing",
"prereqs" : {
"test" : {
"requires" : {
"Test::Pod::Coverage" : "0.08"
}
}
}
},
"podtest" : {
"description" : "POD testing",
"prereqs" : {
"test" : {
"requires" : {
"Test::Pod" : "1.00"
}
}
}
}
},
"version" : "3.11"
},
"date" : "2017-11-14T14:00:09",
"checksum_sha256" : "2fab1e4d6e565c77f6e845368790de65cb2f966fcd9bb56a41d0e7b5851a52d3",
"archive" : "libnet-3.11.tar.gz",
"license" : [
"perl_5"
],
"distribution" : "libnet",
"main_module" : "Net::FTP",
"resources" : {
"repository" : {
"type" : "git",
"url" : "https://github.com/steve-m-hay/perl-libnet.git"
}
},
"maturity" : "released",
"stat" : {
"mtime" : 1510668009,
"size" : 95157,
"mode" : 33188
},
"name" : "libnet-3.11",
"tests" : {
"unknown" : 2,
"pass" : 3280,
"fail" : 9,
"na" : 0
},
"version" : "3.11",
"dependency" : [
{
"module" : "Cwd",
"phase" : "test",
"version" : "0",
"relationship" : "requires"
},
{
"module" : "Config",
"phase" : "test",
"version" : "0",
"relationship" : "requires"
},
{
"version" : "0",
"module" : "ExtUtils::MakeMaker",
"phase" : "build",
"relationship" : "requires"
},
{
"phase" : "runtime",
"version" : "0",
"module" : "vars",
"relationship" : "requires"
},
{
"module" : "constant",
"phase" : "runtime",
"version" : "0",
"relationship" : "requires"
},
{
"version" : "0",
"module" : "POSIX",
"phase" : "runtime",
"relationship" : "requires"
},
{
"phase" : "runtime",
"version" : "0",
"module" : "utf8",
"relationship" : "requires"
},
{
"phase" : "runtime",
"module" : "Fcntl",
"version" : "0",
"relationship" : "requires"
},
{
"relationship" : "requires",
"module" : "Errno",
"version" : "0",
"phase" : "runtime"
},
{
"relationship" : "requires",
"module" : "Time::Local",
"phase" : "runtime",
"version" : "0"
},
{
"version" : "0",
"module" : "Exporter",
"phase" : "runtime",
"relationship" : "requires"
},
{
"relationship" : "requires",
"phase" : "runtime",
"version" : "2.016",
"module" : "Socket"
},
{
"version" : "1.05",
"module" : "IO::Socket",
"phase" : "runtime",
"relationship" : "requires"
},
{
"relationship" : "requires",
"version" : "0",
"module" : "File::Basename",
"phase" : "runtime"
},
{
"module" : "FileHandle",
"version" : "0",
"phase" : "runtime",
"relationship" : "requires"
},
{
"module" : "Carp",
"phase" : "runtime",
"version" : "0",
"relationship" : "requires"
},
{
"module" : "perl",
"phase" : "runtime",
"version" : "5.008001",
"relationship" : "requires"
},
{
"relationship" : "requires",
"version" : "0",
"phase" : "runtime",
"module" : "Symbol"
},
{
"module" : "IO::Select",
"version" : "0",
"phase" : "runtime",
"relationship" : "requires"
},
{
"module" : "strict",
"phase" : "runtime",
"version" : "0",
"relationship" : "requires"
},
{
"version" : "6.64",
"module" : "ExtUtils::MakeMaker",
"phase" : "configure",
"relationship" : "requires"
},
{
"phase" : "configure",
"module" : "strict",
"version" : "0",
"relationship" : "requires"
},
{
"version" : "0",
"module" : "Getopt::Std",
"phase" : "configure",
"relationship" : "requires"
},
{
"relationship" : "requires",
"module" : "IO::File",
"phase" : "configure",
"version" : "0"
},
{
"phase" : "configure",
"version" : "5.008001",
"module" : "perl",
"relationship" : "requires"
},
{
"relationship" : "requires",
"version" : "0",
"phase" : "configure",
"module" : "warnings"
},
{
"module" : "vars",
"phase" : "configure",
"version" : "0",
"relationship" : "requires"
}
]
}