public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Sys-Virt] epel10.2: - new upstream version (#237421)
Date: Tue, 30 Jun 2026 07:30:27 GMT [thread overview]
Message-ID: <178280462769.1.13169940887305736737.rpms-perl-Sys-Virt-e6275545df0c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Sys-Virt
Branch : epel10.2
Commit : e6275545df0c72520d8226fdd0862cd5b5c93c4e
Author : Štěpán Kasal <kasal@fedoraproject.org>
Date : 2009-03-30T15:18:07+00:00
Stats : +76/-77 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Sys-Virt/c/e6275545df0c72520d8226fdd0862cd5b5c93c4e?branch=epel10.2
Log:
- new upstream version (#237421)
---
diff --git a/.cvsignore b/.cvsignore
index 76039c1..b9a1f37 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-Sys-Virt-0.1.2.tar.gz
+Sys-Virt-0.2.0.tar.gz
diff --git a/perl-Sys-Virt-0.1.2-free.patch b/perl-Sys-Virt-0.1.2-free.patch
deleted file mode 100644
index 2885f94..0000000
--- a/perl-Sys-Virt-0.1.2-free.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-diff -rup Sys-Virt-0.1.2.orig/Virt.xs Sys-Virt-0.1.2.new/Virt.xs
---- Sys-Virt-0.1.2.orig/Virt.xs 2008-02-23 14:15:14.000000000 -0500
-+++ Sys-Virt-0.1.2.new/Virt.xs 2008-03-07 17:36:28.000000000 -0500
-@@ -197,13 +197,14 @@ list_domain_ids(con, maxids)
- PPCODE:
- Newx(ids, maxids, int);
- if ((nid = virConnectListDomains(con, ids, maxids)) < 0) {
-+ Safefree(ids);
- _croak_error(virConnGetLastError(con));
- }
- EXTEND(SP, nid);
- for (i = 0 ; i < nid ; i++) {
- PUSHs(sv_2mortal(newSViv(ids[i])));
- }
-- free(ids);
-+ Safefree(ids);
-
-
- int
-@@ -227,7 +228,7 @@ list_defined_domain_names(con, maxnames)
- PPCODE:
- Newx(names, maxnames, char *);
- if ((ndom = virConnectListDefinedDomains(con, names, maxnames)) < 0) {
-- free(names);
-+ Safefree(names);
- _croak_error(virConnGetLastError(con));
- }
- EXTEND(SP, ndom);
-@@ -235,7 +236,7 @@ list_defined_domain_names(con, maxnames)
- PUSHs(sv_2mortal(newSVpv(names[i], 0)));
- free(names[i]);
- }
-- free(names);
-+ Safefree(names);
-
-
- int
-@@ -258,6 +259,7 @@ list_network_names(con, maxnames)
- PPCODE:
- Newx(names, maxnames, char *);
- if ((nnet = virConnectListNetworks(con, names, maxnames)) < 0) {
-+ Safefree(names);
- _croak_error(virConnGetLastError(con));
- }
- EXTEND(SP, nnet);
-@@ -265,7 +267,7 @@ list_network_names(con, maxnames)
- PUSHs(sv_2mortal(newSVpv(names[i], 0)));
- free(names[i]);
- }
-- free(names);
-+ Safefree(names);
-
-
- int
-@@ -289,7 +291,7 @@ list_defined_network_names(con, maxnames
- PPCODE:
- Newx(names, maxnames, char *);
- if ((ndom = virConnectListDefinedNetworks(con, names, maxnames)) < 0) {
-- free(names);
-+ Safefree(names);
- _croak_error(virConnGetLastError(con));
- }
- EXTEND(SP, ndom);
-@@ -297,7 +299,7 @@ list_defined_network_names(con, maxnames
- PUSHs(sv_2mortal(newSVpv(names[i], 0)));
- free(names[i]);
- }
-- free(names);
-+ Safefree(names);
-
-
- void
diff --git a/perl-Sys-Virt-free.patch b/perl-Sys-Virt-free.patch
new file mode 100644
index 0000000..f991bae
--- /dev/null
+++ b/perl-Sys-Virt-free.patch
@@ -0,0 +1,68 @@
+2009-03-30 Stepan Kasal <skasal@redhat.com>
+
+ * Virt.xs: call Safefree before bailing out.
+
+Adapted from a similar patch to Sys-Virt-0.1.2.
+
+diff -urpN Sys-Virt-0.2.0.orig/Virt.xs Sys-Virt-0.2.0/Virt.xs
+--- Sys-Virt-0.2.0.orig/Virt.xs 2009-03-27 20:45:33.000000000 +0100
++++ Sys-Virt-0.2.0/Virt.xs 2009-03-30 16:51:16.000000000 +0200
+@@ -670,6 +670,7 @@ list_domain_ids(con, maxids)
+ PPCODE:
+ Newx(ids, maxids, int);
+ if ((nid = virConnectListDomains(con, ids, maxids)) < 0) {
++ Safefree(ids);
+ _croak_error(virConnGetLastError(con));
+ }
+ EXTEND(SP, nid);
+@@ -700,7 +701,7 @@ list_defined_domain_names(con, maxnames)
+ PPCODE:
+ Newx(names, maxnames, char *);
+ if ((ndom = virConnectListDefinedDomains(con, names, maxnames)) < 0) {
+- free(names);
++ Safefree(names);
+ _croak_error(virConnGetLastError(con));
+ }
+ EXTEND(SP, ndom);
+@@ -731,6 +732,7 @@ list_network_names(con, maxnames)
+ PPCODE:
+ Newx(names, maxnames, char *);
+ if ((nnet = virConnectListNetworks(con, names, maxnames)) < 0) {
++ Safefree(names);
+ _croak_error(virConnGetLastError(con));
+ }
+ EXTEND(SP, nnet);
+@@ -762,7 +764,7 @@ list_defined_network_names(con, maxnames
+ PPCODE:
+ Newx(names, maxnames, char *);
+ if ((ndom = virConnectListDefinedNetworks(con, names, maxnames)) < 0) {
+- free(names);
++ Safefree(names);
+ _croak_error(virConnGetLastError(con));
+ }
+ EXTEND(SP, ndom);
+@@ -793,6 +795,7 @@ list_storage_pool_names(con, maxnames)
+ PPCODE:
+ Newx(names, maxnames, char *);
+ if ((nnet = virConnectListStoragePools(con, names, maxnames)) < 0) {
++ Safefree(names);
+ _croak_error(virConnGetLastError(con));
+ }
+ EXTEND(SP, nnet);
+@@ -824,7 +827,7 @@ list_defined_storage_pool_names(con, max
+ PPCODE:
+ Newx(names, maxnames, char *);
+ if ((ndom = virConnectListDefinedStoragePools(con, names, maxnames)) < 0) {
+- free(names);
++ Safefree(names);
+ _croak_error(virConnGetLastError(con));
+ }
+ EXTEND(SP, ndom);
+@@ -859,6 +862,7 @@ list_node_device_names(con, cap, maxname
+ PPCODE:
+ Newx(names, maxnames, char *);
+ if ((nnet = virNodeListDevices(con, cap, names, maxnames, flags)) < 0) {
++ Safefree(names);
+ _croak_error(virConnGetLastError(con));
+ }
+ EXTEND(SP, nnet);
diff --git a/perl-Sys-Virt.spec b/perl-Sys-Virt.spec
index db6e21e..e660fb2 100644
--- a/perl-Sys-Virt.spec
+++ b/perl-Sys-Virt.spec
@@ -1,12 +1,12 @@
Name: perl-Sys-Virt
-Version: 0.1.2
-Release: 4%{?dist}
+Version: 0.2.0
+Release: 1%{?dist}
Summary: Represent and manage a libvirt hypervisor connection
License: GPLv2+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Sys-Virt/
Source0: http://www.cpan.org/authors/id/D/DA/DANBERR/Sys-Virt-%{version}.tar.gz
-Patch1: %{name}-%{version}-free.patch
+Patch1: %{name}-free.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::Pod)
@@ -61,6 +61,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
+* Mon Mar 30 2009 Stepan Kasal <skasal@redhat.com> - 0.2.0-1
+- new upstream version (#237421)
+
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
diff --git a/sources b/sources
index 78e0269..c61c6d4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9df07b687585672ed699949b45096e9b Sys-Virt-0.1.2.tar.gz
+c8968a476c9130521b317f9f729a22d9 Sys-Virt-0.2.0.tar.gz
reply other threads:[~2026-06-30 7:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178280462769.1.13169940887305736737.rpms-perl-Sys-Virt-e6275545df0c@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox