Re: [Fwd: Re: [Fedora-packaging] Re: why the Group tag is obsolete ?]

2016-11-04 Thread Sérgio Basto
On Sáb, 2016-11-05 at 04:45 +0100, Kevin Kofler wrote:
> Sérgio Basto wrote:
> > 
> > yeah, so the group tag shouldn't be obsolete , we should use it as
> > fallback .
> I don't see how the text you quoted support this in any way. None of
> the KDE 
> tools support the Group tag. (They never did.)

OK, so grouping was always based on comps.xml ? (and now also based on
appdata ...) .

Reading 
https://fedoraproject.org/wiki/New_package_process_for_existing_contributors 
(...)
Step 14: Add the package to the comps file(s) if appropriate. 
(...)

What package is not appropriate add to comps ? at least we should
specify the group isn't it ? 

So every new package instead have group tag should be add to comps ? 


Thanks to all for all help here and in others places .
-- 
Sérgio M. B.

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: dnf should not update debuginfo if not updating packgages

2016-11-04 Thread Kevin Kofler
Pedro Alves wrote:

> On 11/03/2016 03:08 PM, Sérgio Basto wrote:
>> On Qui, 2016-11-03 at 06:57 -0400, Neal Becker wrote:
> 
>>> > So we updated debuginfo, but didn't install the corresponding
>>> > packages.
>>> > That seems like a bug.
>> it isn't a bug , debuginfo packages doesn't require same version of
>> counter part and vice-versa .
> 
> Why's that?  I'm occasionally bitten by this.

Because -debuginfo is per SRPM, not per subpackage, so you can need the
-debuginfo without having all subpackages (or even the main package) 
installed.

Kevin Kofler
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: DNF and PackageKit background data usage

2016-11-04 Thread Kevin Kofler
Adam Williamson wrote:
> 1) Both dnf and GNOME Software / PackageKit default to performing
> fairly data-hungry transactions in the background, out of the box,
> without telling you about it. GNOME's is particularly bad, as it will
> happily download available updates in the background, which can be
> gigabytes worth of data. DNF only updates its metadata caches (on a
> systemd timer), but even that could be behaviour that users in certain
> circumstances really really do not want.

IMHO, both of these are misbehaviors:

For the dnf case: I am not convinced that dnf's cronjob that always updates 
metadata rather than updating it when actually needed is a win. Sure, it 
helps interactivity, but at the expense of a lot of unnecessary downloads, 
especially if you use dnf rarely or not at all (because you use PackageKit). 
IMHO, updating metadata periodically only makes sense in user interfaces 
that are actually offering updates to the user. Updating the metadata 
eagerly just in case somebody will run the command later is a bad idea.

For the GNOME Software case: IMHO, downloading entire packages in the 
background without asking, before even telling the user that there are 
updates at all, is totally unacceptable (on ANY type of Internet 
connection), and I am really glad that plasma-pk-updates does not do such a 
boneheaded thing. (I do think that updating metadata to offer updates is a 
helpful thing on an unmetered connection, but you are right that there needs 
to be a good way to avoid doing so without an explicit request on metered 
connections. I also don't think that the metered/unmetered property can 
reliably be autodetected as GNOME Software tries to do.)

Kevin Kofler
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: DNF and PackageKit background data usage

2016-11-04 Thread Kevin Kofler
Theodore Papadopoulo wrote:
> Add to this that these caches seem to be never cleaned, so that they
> grow up very large  up to the point they prevent updating the system. I
> just found that the packagekit cache on my machine is about 7Gb !!!
> Probably because I do use packageit at all (dnf cache is much smaller at
> ~700 Mb).

IMHO, this is a feature, and the DNF default behavior is the bug, a critical 
data loss bug even! Given that Fedora does NOT keep old updates on its 
mirrors, the only convenient way to revert a broken update is to keep ALL 
old updates cached locally. Otherwise, you have to hunt down the old builds 
directly in Koji. The version from the GA release is more often than not TOO 
old, you really want the previous update.

I consider it very broken to delete files that I might still need without 
even asking me. Setting keepcache=1 is the one of the very first things I do 
to any new Fedora installation.

Kevin Kofler
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


[Bug 1390797] perl-TAP-SimpleOutput-0.004 is available

2016-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1390797



--- Comment #10 from Fedora Update System  ---
perl-TAP-SimpleOutput-0.004-1.fc23 has been submitted as an update to Fedora
23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b4900c0ceb

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


Re: [Fwd: Re: [Fedora-packaging] Re: why the Group tag is obsolete ?]

2016-11-04 Thread Kevin Kofler
Sérgio Basto wrote:
> yeah, so the group tag shouldn't be obsolete , we should use it as
> fallback .

I don't see how the text you quoted support this in any way. None of the KDE 
tools support the Group tag. (They never did.)

Kevin Kofler
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


[Bug 1391478] perl-DateTime-TimeZone-2.07 is available

2016-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1391478



--- Comment #5 from Fedora Update System  ---
perl-DateTime-TimeZone-2.01-5.fc23 has been submitted as an update to Fedora
23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6c813d1de0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


Re: Bodhi For Rawhide?

2016-11-04 Thread Kevin Kofler
Kevin Fenzi wrote:
> Actually we have autosigning all setup, but it needs a fedpkg update
> flag day. (Which we hope to do after f25 is out). So, it doesn't depend
> on this feature.

Why does a pure server-side feature (autosigning) need a client (fedpkg) 
flag day?

Kevin Kofler
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Bodhi For Rawhide?

2016-11-04 Thread Kevin Kofler
Pavel Raiskup wrote:

> On Friday, October 28, 2016 12:17:13 AM CET Kevin Kofler wrote:
>> Users should be using a stable release, not Rawhide. Rawhide is for doing
>> development, it is not meant to be used.
> 
> There's hidden potential, then.  I would say your statement is way too
> strict anyway :), aren't you Rawhide user too?

No. At most I fire it up in a VM to test something quickly. I use stable 
releases only, and I'm happy if I manage to upgrade before EOL. There is no 
way I would use Rawhide for daily work. Not even for developing software for 
Rawhide. It is just too unstable.

> Apropos more users on Rawhide (users seking for rolling updates) would
> mean more Fedora users and that could acetually speed up the
> development..?

Rawhide is really not what you are looking for if you are looking for a 
rolling release distro, because Rawhide is a rolling unrelease. ;-)

Kevin Kofler
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


[Bug 1391478] perl-DateTime-TimeZone-2.07 is available

2016-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1391478

Fedora Update System  changed:

   What|Removed |Added

 Status|MODIFIED|ON_QA



--- Comment #4 from Fedora Update System  ---
perl-DateTime-TimeZone-2.01-5.fc24 has been pushed to the Fedora 24 testing
repository. If problems still persist, please make note of it in this bug
report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here:
https://bodhi.fedoraproject.org/updates/FEDORA-2016-738831ba81

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


Re: Private Bugzilla bugs

2016-11-04 Thread Kevin Kofler
Christian Stadelmann wrote:
> Answers from my (user and frequent bug reporter) view:
> 1. abrt/libreport reports way too much data. There is no need to report my
> hostname to Fedora/RedHat infrastructure. Same for UID, PID, username,
> time, environ, …

The UID can actually matter. We have a frequently reported non-bug that 
graphical KDE applications will not work (and abort with a qFatal, which 
fires the SIGABRT signal) if you run them under tools like su or sudo 
because they won't find some resources (usually the D-Bus session service, 
sometimes the DISPLAY environment variable for the X display is also lost). 
Even the upstream crash handler DrKonqi will then crash, because it is also 
a graphical KDE application and runs in the same context, so even if KCrash 
is enabled and starts DrKonqi, we still end up with an ABRT report. UID=0 is 
a telltale sign that it is likely this issue again, at least it raises a red 
flag. (The proper way to run KDE applications as root is to run them under 
kdesu.)

Kevin Kofler
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


[Bug 1390797] perl-TAP-SimpleOutput-0.004 is available

2016-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1390797



--- Comment #9 from Fedora Update System  ---
perl-TAP-SimpleOutput-0.004-1.fc24 has been pushed to the Fedora 24 testing
repository. If problems still persist, please make note of it in this bug
report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here:
https://bodhi.fedoraproject.org/updates/FEDORA-2016-933ba17af6

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


[Bug 1367848] razor2 check failed, invalid argument since upgrade to FC24

2016-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1367848



--- Comment #3 from d...@islenet.com ---
Any hope of moving this forward?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


Re: dnf should not update debuginfo if not updating packgages

2016-11-04 Thread Sérgio Basto
On Sex, 2016-11-04 at 10:12 +, Pedro Alves wrote:
> On 11/03/2016 03:08 PM, Sérgio Basto wrote:
> > 
> > On Qui, 2016-11-03 at 06:57 -0400, Neal Becker wrote:
> > 
> > > 
> > > > 
> > > > So we updated debuginfo, but didn't install the corresponding
> > > > packages.  
> > > > That seems like a bug.
> > it isn't a bug , debuginfo packages doesn't require same version of
> > counter part and vice-versa . 
> Why's that?  I'm occasionally bitten by this.

It has always been like that, for example I haven't zzuf installed and
I can install zzuf-debuginfo .

dnf debuginfo-install zzuf.x86_64
Installing:
 glibc-debuginfo    
 glibc-debuginfo-common  
 nss-softokn-debuginfo  
 zzuf-debuginfo  


So, at least, is a problem on generation of debuginfo packages , not
dnf or yum 

> Thanks,
> Pedro Alves
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
-- 
Sérgio M. B.

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


[Bug 1389743] perl-Encode-2.87 is available

2016-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1389743

Jon Disnard  changed:

   What|Removed |Added

 Status|CLOSED  |ON_QA
 CC||jdisn...@redhat.com
 Resolution|ERRATA  |---
   Keywords||Reopened



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


[Bug 1386663] perl-Devel-Timer-0.09 is available

2016-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1386663

Jon Disnard  changed:

   What|Removed |Added

 Status|CLOSED  |ON_QA
 CC||jdisn...@redhat.com
 Resolution|ERRATA  |---
   Keywords||Reopened



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


[389-devel] Please review: Ticket 49024 - Fix dbdir paths and adjust test cases

2016-11-04 Thread Simon Pichugin
Hi team,
please, review the new fixes. First patch is for ds.git and the second is for 
lib389.git.
I'll finish the rest of the failures in the beginning of next week.

https://fedorahosted.org/389/ticket/49024

https://fedorahosted.org/389/attachment/ticket/49024/0001-Ticket-49024-Fix-dbdir-paths-and-adjust-test-cases.patch

https://fedorahosted.org/389/attachment/ticket/49024/0001-Ticket-49024-Fix-db_dir-paths.patch

Thanks,
Simon


signature.asc
Description: PGP signature
___
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org


Re: Fedora 25-20161104.n.0 compose check report

2016-11-04 Thread Paul Whalen


- Original Message -
> On Fri, 2016-11-04 at 15:20 +, Fedora compose checker wrote:
> > No missing expected images.
> > 
> > Failed openQA tests: 3/101 (x86_64), 1/17 (i386), 1/2 (arm)
> > 
> > New failures (same test did not fail in 25-20161103.n.0):
> > 
> > ID: 45653   Test: arm Minimal-raw_xz-raw.xz
> > install_arm_image_deployment_upload
> > URL: https://openqa.fedoraproject.org/tests/45653
> 
> initial-setup didn't appear, not sure if because test didn't wait long
> enough or it's broken.

Must not have waited long enough, runs as expected on todays image.

> 
> > ID: 45717   Test: x86_64 universal upgrade_2_desktop_encrypted_64bit
> > URL: https://openqa.fedoraproject.org/tests/45717
> 
> GNOME crashed from the desktop back to GDM, again. This happens quite
> often, recently. It's always this crash:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1370073
> 
> I've nominated that bug as a blocker, it just seems to be happening too
> often at this point.
> 
> > Old failures (same test failed in 25-20161103.n.0):
> > 
> > ID: 45636   Test: x86_64 Workstation-live-iso
> > desktop_notifications_postinstall
> > URL: https://openqa.fedoraproject.org/tests/45636
> 
> Console typing error...these seem to be happening more lately than they
> used to. I'm kind of suspicious that there's some kind of odd
> background activity going on shortly after boot, or something.
> 
> > ID: 45730   Test: x86_64 universal install_iscsi
> > URL: https://openqa.fedoraproject.org/tests/45730
> 
> This is still https://bugzilla.redhat.com/show_bug.cgi?id=1378156 , but
> we finally have fixes for all known iSCSI issues, we just need anaconda
> and blivet builds that include them.
> 
> > ID: 45741   Test: i386 universal upgrade_2_desktop_32bit
> > URL: https://openqa.fedoraproject.org/tests/45741
> 
> Still https://bugzilla.redhat.com/show_bug.cgi?id=1333591 .
> --
> Adam Williamson
> Fedora QA Community Monkey
> IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
> http://www.happyassassin.net
> ___
> test mailing list -- t...@lists.fedoraproject.org
> To unsubscribe send an email to test-le...@lists.fedoraproject.org
> 
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Review swap: ocamlbuild

2016-11-04 Thread gil



Il 04/11/2016 19:21, Richard W.M. Jones ha scritto:

https://bugzilla.redhat.com/show_bug.cgi?id=1391950

This is ocamlbuild, which used to be part of the ocaml package
(indeed, it still is in Fedora <= 25) but was spun out upstream and so
needs to be packaged separately in Fedora too.

So far so easy.  However the problem is you won't be able to build
this package to test it because it requires the new OCaml package
being prepared as part of:
https://fedorahosted.org/rel-eng/ticket/6486#comment:13
For the same reason it cannot easily be built by 'fedora-review'
unless you set up a local repo for mock or something like that.  I
couldn't work out how to do it.

I have built and tested the package myself on x86_64, aarch64, ppc64
and ppc64le and it works on all those architectures, so I'm pretty
confident in it.

Anyway if that sounds like your kind of thing, let me know which
package you'd want me to review in exchange.

Rich.


taken!
have time for review this 
https://bugzilla.redhat.com/show_bug.cgi?id=1390156 ?

thanks in advance
regards
.g
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Python3-numpy

2016-11-04 Thread Christian Dersch
Hi,

for Fedora it is part (subpackage) of the regular numpy source package.
So you can install python3-numpy there too ;)

Greetings,
Christian

On 11/04/2016 07:42 PM, Ms Sanchez wrote:
>
> Hello everybody,
>
> I just stumbled upon this.  In
> https://apps.fedoraproject.org/packages/python3-numpy this package
> appears as available in EPEL but not in Fedora or Rawhide.
>
> Does anyone know why?
>
>
> Thanks,
>
> Sylvia
>
>
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Python3-numpy

2016-11-04 Thread Ms Sanchez


Hello everybody,

I just stumbled upon this.  In 
https://apps.fedoraproject.org/packages/python3-numpy this package 
appears as available in EPEL but not in Fedora or Rawhide.


Does anyone know why?


Thanks,

Sylvia


___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: RFH: Annotating ELF binaries

2016-11-04 Thread Richard W.M. Jones
On Fri, Nov 04, 2016 at 03:02:22PM +, Nick Clifton wrote:
> Hello Everyone,
> 
>   We (the tools team at Red Hat) are working on a project to add
>   annotations to ELF binaries, so that we can answer various questions
>   about them.  We have set up a wiki page about the project here:
> 
> https://fedoraproject.org/wiki/Toolchain/Watermark#Markup_for_ELF_objects
> 
>   We would very much like this to be something more than just an
>   internal project, and so we are reaching out to you for your opinions,
>   suggestions and advice.  If you are interested in being able answer
>   questions such as 'how was this function compiled ?' or 'is this
>   library compatible with this application ?' then please take a minute
>   to have a look at the proposal.

My only comment would be - don't assume that GCC (and LLVM) are
the only things which generate objects.  Amongst others there are:

 - ocamlopt
 - GHC
 - golang (or is it using LLVM?)
 - raw assembler files
 - scripts that use objcopy and other techniques to turn data into object files

I don't mean to say it's your responsibility to fix all these things,
but good, clear documentation about exactly what to change is needed.
This was missing at first when the execstack stuff was added years ago.

Also the hardening stuff often doesn't apply in safe languages, so the
tools you build around this shouldn't automatically assume
no hardening == bad; or that 'long double' or 'wchar_t' are meaningful.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


[EPEL-devel] Re: MongoDB in EPEL7

2016-11-04 Thread Tom Boutell
Thanks Marek, that does clear up a lot of confusion.

I think you're saying that because the maintainer is the same and the packages 
are essentially the same (in this case), it's reasonably likely maintenance of 
2.6 for EPEL7 will continue until 2.6 reaches its end date in SCL (April 2018). 
Not certain, but signs point to yes.

Is that a reasonable summary?

Thanks!
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org


Review swap: ocamlbuild

2016-11-04 Thread Richard W.M. Jones

https://bugzilla.redhat.com/show_bug.cgi?id=1391950

This is ocamlbuild, which used to be part of the ocaml package
(indeed, it still is in Fedora <= 25) but was spun out upstream and so
needs to be packaged separately in Fedora too.

So far so easy.  However the problem is you won't be able to build
this package to test it because it requires the new OCaml package
being prepared as part of:
https://fedorahosted.org/rel-eng/ticket/6486#comment:13
For the same reason it cannot easily be built by 'fedora-review'
unless you set up a local repo for mock or something like that.  I
couldn't work out how to do it.

I have built and tested the package myself on x86_64, aarch64, ppc64
and ppc64le and it works on all those architectures, so I'm pretty
confident in it.

Anyway if that sounds like your kind of thing, let me know which
package you'd want me to review in exchange.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Schedule for Friday's FESCo Meeting (2016-11-04)

2016-11-04 Thread Jared K. Smith
On Fri, Nov 4, 2016 at 11:16 AM, Jared K. Smith 
wrote:

> Following is the list of topics that will be discussed in theFESCo meeting 
> Friday at 16:00UTC in #fedora-meeting onirc.freenode.net.
>
> To convert UTC to your local time, take a look at
>   http://fedoraproject.org/wiki/UTCHowto
>
> or run:
>   date -d '2016-10-28 16:00 UTC'
>
>
For the second week in a row, we didn't have enough FESCo members to reach
a quorum.  We'll push the agenda to next week's meeting.  I kindly ask all
FESCo members to vote on items of interest in the FESCo tickets, especially
if they know they're not able to make the meeting.

--
Jared Smith
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: systemd-232 in rawhide

2016-11-04 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 04, 2016 at 10:03:42AM -0600, Kevin Fenzi wrote:
> On Fri, 4 Nov 2016 03:29:03 +
> Zbigniew Jędrzejewski-Szmek  wrote:
> 
> > Hello everyone,
> > 
> > systmed-232 has been released today and is now building in koji.
> > With a bit of luck, it'll be available in rawhide tommorrow.
> > Apart from fairly significant upstream changes [1], there are some
> > downstream integration changes (grubby patch for kernel-install has
> > been replaced with /usr/lib/kernel/install.d/20-grubby.install, a new
> > nss-systemd module to resolve DynamicUsers has been added
> > to /etc/nsswitch.conf, the way that nss-resolve is configured
> > in /etc/nsswitch.conf has been updated).
> > 
> > Please upgrade and report any bugs. In particular, does host and user
> > and group resolution still work, and do kernels upgrade properly ;)
> > 
> > Feedback on upstream changes is very much welcome too. This latest
> > version adds DynamicUsers, much better unified cgroup hierarchy
> > support, new systemd-mount tool, systemctl enable has been greatly
> > improved, etc.
> 
> The -2 version (that fixes kernel install) seems to be working ok here
> so far. ;) 
Thanks for testing.

> Invocation id looks interesting. 

It's missing the tooling:
journalctl --list-invocations -u foobar
(behaving similarly to journalctl --list-boots) is planned ;)

Zbyszek
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Many directories without owning packages

2016-11-04 Thread Zbigniew Jędrzejewski-Szmek
> Zbigniew, thanks for the prompt fix, but there goes my dream to file a
> bug against systemd :-p
Don't worry, we already have plenty :)

> I'm personally waiting for Fedora 25 to be out, and after upgrading I
> will start looking at the mass bug filing process. It'd be nice if
> people with different sets of packages gave it a try too. On my
> machine, more than 7% of the packages installed from Fedora
> repositories have this ownership issue. Filing bugs may not be the
> best thing to do if 7% of the whole package collection have ownership
> issues.

I think you should apply for provenpackager privileges and fix them
yourself.

Justification: lots of those are really simple bugs, with a fix like
  %files
- %{python2_sitelib}/whatever/*
+ %{python2_sitelib}/whatever
Filing a bug is more work than fixing this (even for you, and then you
have to involve the maintainer, so in all the work is quadrupled between
all the parties). Many of those are really simple packaging mistakes and
a good thing to start with for a fresh provenpackager.

I now fixed and built kobo and imagefactory, and pushed a fix without
building for anaconda. On your list, there's still quite a few easy
ones. For the more complicated ones it might be worthwhile to file
bugs.

On Fri, Nov 04, 2016 at 11:32:11AM -0400, Matthew Miller wrote:
> On Fri, Nov 04, 2016 at 04:00:21PM +0100, Dridi Boukelmoune wrote:
> > repositories have this ownership issue. Filing bugs may not be the
> > best thing to do if 7% of the whole package collection have ownership
> > issues.
> 
> It might be something to file a ticket with FESCo about and to work
> with a proven packager to address across the distro. Bugs filed or not.

I think that in this case cutting straight to the chase
(i.e. committing the fix) is the best option. Those are simple issues
and not really worth the bureaucracy, imo.

Zbyszek
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: systemd-232 in rawhide

2016-11-04 Thread Kevin Fenzi
On Fri, 4 Nov 2016 03:29:03 +
Zbigniew Jędrzejewski-Szmek  wrote:

> Hello everyone,
> 
> systmed-232 has been released today and is now building in koji.
> With a bit of luck, it'll be available in rawhide tommorrow.
> Apart from fairly significant upstream changes [1], there are some
> downstream integration changes (grubby patch for kernel-install has
> been replaced with /usr/lib/kernel/install.d/20-grubby.install, a new
> nss-systemd module to resolve DynamicUsers has been added
> to /etc/nsswitch.conf, the way that nss-resolve is configured
> in /etc/nsswitch.conf has been updated).
> 
> Please upgrade and report any bugs. In particular, does host and user
> and group resolution still work, and do kernels upgrade properly ;)
> 
> Feedback on upstream changes is very much welcome too. This latest
> version adds DynamicUsers, much better unified cgroup hierarchy
> support, new systemd-mount tool, systemctl enable has been greatly
> improved, etc.

The -2 version (that fixes kernel install) seems to be working ok here
so far. ;) 

Invocation id looks interesting. 

kevin


pgpj33nScsKyT.pgp
Description: OpenPGP digital signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Fedora 25-20161104.n.0 compose check report

2016-11-04 Thread Adam Williamson
On Fri, 2016-11-04 at 15:20 +, Fedora compose checker wrote:
> No missing expected images.
> 
> Failed openQA tests: 3/101 (x86_64), 1/17 (i386), 1/2 (arm)
> 
> New failures (same test did not fail in 25-20161103.n.0):
> 
> ID: 45653 Test: arm Minimal-raw_xz-raw.xz 
> install_arm_image_deployment_upload
> URL: https://openqa.fedoraproject.org/tests/45653

initial-setup didn't appear, not sure if because test didn't wait long
enough or it's broken.

> ID: 45717 Test: x86_64 universal upgrade_2_desktop_encrypted_64bit
> URL: https://openqa.fedoraproject.org/tests/45717

GNOME crashed from the desktop back to GDM, again. This happens quite
often, recently. It's always this crash:

https://bugzilla.redhat.com/show_bug.cgi?id=1370073

I've nominated that bug as a blocker, it just seems to be happening too
often at this point.

> Old failures (same test failed in 25-20161103.n.0):
> 
> ID: 45636 Test: x86_64 Workstation-live-iso 
> desktop_notifications_postinstall
> URL: https://openqa.fedoraproject.org/tests/45636

Console typing error...these seem to be happening more lately than they
used to. I'm kind of suspicious that there's some kind of odd
background activity going on shortly after boot, or something.

> ID: 45730 Test: x86_64 universal install_iscsi
> URL: https://openqa.fedoraproject.org/tests/45730

This is still https://bugzilla.redhat.com/show_bug.cgi?id=1378156 , but
we finally have fixes for all known iSCSI issues, we just need anaconda
and blivet builds that include them.

> ID: 45741 Test: i386 universal upgrade_2_desktop_32bit
> URL: https://openqa.fedoraproject.org/tests/45741

Still https://bugzilla.redhat.com/show_bug.cgi?id=1333591 .
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Many directories without owning packages

2016-11-04 Thread Matthew Miller
On Fri, Nov 04, 2016 at 04:00:21PM +0100, Dridi Boukelmoune wrote:
> repositories have this ownership issue. Filing bugs may not be the
> best thing to do if 7% of the whole package collection have ownership
> issues.

It might be something to file a ticket with FESCo about and to work
with a proven packager to address across the distro. Bugs filed or not.


-- 
Matthew Miller

Fedora Project Leader
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Multiseat seems broken in Fedora 24

2016-11-04 Thread Kevin Fenzi
On Thu, 03 Nov 2016 21:28:56 +0200
Jonathan Dieter  wrote:

> On Thu, 2016-11-03 at 11:24 +0100, Sergio Pascual wrote:
> > Hello,
> > 
> > I have a machine with two identical nvidia cards and I configured it
> > with multiseat and Fedora 23. It worked well, that is, two GDM login
> > screens, one in each display.
> > 
> > Then I updated to Fedora 24 and it stoped to work.  
> 
> 
> FWIW, I'm running multiseat systems on F24 using lightdm rather than
> GDM (because I want to use xscreensaver and GDM doesn't support that
> anymore).  They login to Gnome just fine.
> 
> I'm sure filing a bug report, as Ray suggested, is the best solution,
> but, if you're looking for a workaround, try using lightdm.

Do note (as I am sure Jonathan knows) that if you login to a gnome
session without gdm you will not get the normal gnome lockscreen/shield
thing and will have to use something use like xscreensaver. (The lock
option will simply not show up on the menu). 

kevin


pgp_RwE5qr2Er.pgp
Description: OpenPGP digital signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Many directories without owning packages

2016-11-04 Thread Matthew Miller
On Fri, Nov 04, 2016 at 04:00:21PM +0100, Dridi Boukelmoune wrote:
> I'm personally waiting for Fedora 25 to be out, and after upgrading I
> will start looking at the mass bug filing process. It'd be nice if

Since F25 is branched off of what-will-become-F26 already, I suggest
looking at Rawhide. (And you wouldn't have to wait.)


-- 
Matthew Miller

Fedora Project Leader
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: RFH: Annotating ELF binaries

2016-11-04 Thread Nick Clifton
Hi Tristan,

>> https://fedoraproject.org/wiki/Toolchain/Watermark#Markup_for_ELF_objects

> This will generalise attributes used by some architectures (ppc, arm), won't 
> it ?

Yes.  Or at least it would if implemented as currently proposed.  Maybe a better
solution would be to only record attributes where they are not already covered 
by 
some target specific solution.

Personally I would prefer a nice, generalised solution, but the current target 
specific attributes are mandated by the particular ABIs and so presumably are 
not
going to go away.

Cheers
  Nick
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Fedora 25-20161104.n.0 compose check report

2016-11-04 Thread Fedora compose checker
No missing expected images.

Failed openQA tests: 3/101 (x86_64), 1/17 (i386), 1/2 (arm)

New failures (same test did not fail in 25-20161103.n.0):

ID: 45653   Test: arm Minimal-raw_xz-raw.xz 
install_arm_image_deployment_upload
URL: https://openqa.fedoraproject.org/tests/45653
ID: 45717   Test: x86_64 universal upgrade_2_desktop_encrypted_64bit
URL: https://openqa.fedoraproject.org/tests/45717

Old failures (same test failed in 25-20161103.n.0):

ID: 45636   Test: x86_64 Workstation-live-iso 
desktop_notifications_postinstall
URL: https://openqa.fedoraproject.org/tests/45636
ID: 45730   Test: x86_64 universal install_iscsi
URL: https://openqa.fedoraproject.org/tests/45730
ID: 45741   Test: i386 universal upgrade_2_desktop_32bit
URL: https://openqa.fedoraproject.org/tests/45741

Passed openQA tests: 98/101 (x86_64), 16/17 (i386)

New passes (same test did not pass in 25-20161103.n.0):

ID: 45693   Test: x86_64 universal install_xfs
URL: https://openqa.fedoraproject.org/tests/45693

Skipped openQA tests: 1 of 120
-- 
Mail generated by check-compose:
https://pagure.io/fedora-qa/check-compose
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Schedule for Friday's FESCo Meeting (2016-11-04)

2016-11-04 Thread Jared K. Smith
Following is the list of topics that will be discussed in theFESCo
meeting Friday at 16:00UTC in #fedora-meeting onirc.freenode.net.

To convert UTC to your local time, take a look at
  http://fedoraproject.org/wiki/UTCHowto

or run:
  date -d '2016-10-28 16:00 UTC'


Links to all issues below can be found at:
https://pagure.io/fesco/report/meeting_agenda

= Followups =

- none -

= New business =
#topic #1641 F26 System Wide Change: Retire Synaptics Driver
.fesco 1641
https://pagure.io/fesco/issue/1641

#topic #1639 Drop package ACLs for user: aledvink
.fesco 1639
https://pagure.io/fesco/issue/1639

#topic #1637 F26 System Wide Change: AARCH64 - 48-bit VA
.fesco 1639
https://pagure.io/fesco/issue/1639

#topic #1635 F26 Self Contained Changes
.fesco 1635
https://pagure.io/fesco/issue/1635
#link https://fedoraproject.org/wiki/Changes/AnacondaBlivetGUI

= Open Floor =

For more complete details, please visit each individual
issue.  The report of the agenda items can be found
athttps://pagure.io/fesco/report/meeting_agenda

If you would like to add something to this agenda, you can
reply to this e-mail, file a new issue athttps://pagure.io/fesco,
e-mail me directly, or bring it
up at the end of the meeting, during the open floor topic. Note
that added topics may be deferred until the following meeting.

--

Jared Smith
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


RFH: Annotating ELF binaries

2016-11-04 Thread Nick Clifton
Hello Everyone,

  We (the tools team at Red Hat) are working on a project to add
  annotations to ELF binaries, so that we can answer various questions
  about them.  We have set up a wiki page about the project here:

https://fedoraproject.org/wiki/Toolchain/Watermark#Markup_for_ELF_objects

  We would very much like this to be something more than just an
  internal project, and so we are reaching out to you for your opinions,
  suggestions and advice.  If you are interested in being able answer
  questions such as 'how was this function compiled ?' or 'is this
  library compatible with this application ?' then please take a minute
  to have a look at the proposal.

  Thanks very much.

Cheers
  Nick Clifton
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Many directories without owning packages

2016-11-04 Thread Dridi Boukelmoune
On Fri, Nov 4, 2016 at 2:59 PM, Zbigniew Jędrzejewski-Szmek
 wrote:
> Fixed in systemd-232-2.fc26.

Zbigniew, thanks for the prompt fix, but there goes my dream to file a
bug against systemd :-p

I'm personally waiting for Fedora 25 to be out, and after upgrading I
will start looking at the mass bug filing process. It'd be nice if
people with different sets of packages gave it a try too. On my
machine, more than 7% of the packages installed from Fedora
repositories have this ownership issue. Filing bugs may not be the
best thing to do if 7% of the whole package collection have ownership
issues.

Thoughts?

Cheers,
Dridi
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


ppisar pushed to perl (f23). "Fix crash when matching UTF-8 string with non-UTF-8 substrings"

2016-11-04 Thread notifications
From c4d5dbb814e180014c8b3b6fa40b62efe123c55c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 12:59:22 +0100
Subject: Fix crash when matching UTF-8 string with non-UTF-8 substrings

---
 ...-anchored-floating-substrings-must-be-utf.patch | 56 ++
 perl.spec  |  7 +++
 2 files changed, 63 insertions(+)
 create mode 100644 
perl-5.22.2-perl-129350-anchored-floating-substrings-must-be-utf.patch

diff --git 
a/perl-5.22.2-perl-129350-anchored-floating-substrings-must-be-utf.patch 
b/perl-5.22.2-perl-129350-anchored-floating-substrings-must-be-utf.patch
new file mode 100644
index 000..3906086
--- /dev/null
+++ b/perl-5.22.2-perl-129350-anchored-floating-substrings-must-be-utf.patch
@@ -0,0 +1,56 @@
+From 23628ae4896040e64261a925d06d8003c61d8bbd Mon Sep 17 00:00:00 2001
+From: Hugo van der Sanden 
+Date: Tue, 4 Oct 2016 14:40:11 +0100
+Subject: [PATCH] anchored/floating substrings must be utf8 if target is
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.22.2:
+
+commit 2814f4b3549f665a6f9203ac9e890ae1e415e0dc
+Author: Hugo van der Sanden 
+Date:   Tue Oct 4 14:40:11 2016 +0100
+
+[perl #129350] anchored/floating substrings must be utf8 if target is
+
+If the target is utf8 and either the anchored or floating substrings
+are not, we need to create utf8 copies to check against. The state
+of the two substrings may not be the same, but we were only testing
+whichever we planned to check first.
+
+Signed-off-by: Petr Písař 
+---
+ regexec.c | 3 ++-
+ t/re/re_tests | 1 +
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/regexec.c b/regexec.c
+index e38c6ca..98df35d 100644
+--- a/regexec.c
 b/regexec.c
+@@ -694,7 +694,8 @@ Perl_re_intuit_start(pTHX_
+ reginfo->poscache_maxiter = 0;
+ 
+ if (utf8_target) {
+-  if (!prog->check_utf8 && prog->check_substr)
++if ((!prog->anchored_utf8 && prog->anchored_substr)
++|| (!prog->float_utf8 && prog->float_substr))
+   to_utf8_substr(prog);
+   check = prog->check_utf8;
+ } else {
+diff --git a/t/re/re_tests b/t/re/re_tests
+index 85ce7f4..c65bcce 100644
+--- a/t/re/re_tests
 b/t/re/re_tests
+@@ -1941,6 +1941,7 @@ A+(*PRUNE)BC(?{})AAABC   y   $&  AAABC
+ .{1}??-   c   -   Nested quantifiers
+ .{1}?+-   c   -   Nested quantifiers
+ (?:.||)(?|)0@ 0@  y   $&  0@  
#  [perl #126405]
++\b\z0*\x{100} .\x{100}n   -   -   # [perl #129350] 
crashed in intuit_start
+ 
+ # Keep these lines at the end of the file
+ # vim: softtabstop=0 noexpandtab
+-- 
+2.7.4
+
diff --git a/perl.spec b/perl.spec
index a1400a3..fb1f529 100644
--- a/perl.spec
+++ b/perl.spec
@@ -127,6 +127,10 @@ Patch40:
perl-5.25.4-clean-up-gv_fetchmethod_pvn_flags-rename-nsplit-to-l
 Patch41:
perl-5.25.4-fix-129267-rework-gv_fetchmethod_pvn_flags-separator.patch
 Patch42:
perl-5.25.4-perl-129267-Test-for-gv_fetchmethod-buffer-overrun.patch
 
+# Fix crash when matching UTF-8 string with non-UTF-8 substrings, RT#129350,
+# in upstream after 5.25.5
+Patch43:
perl-5.22.2-perl-129350-anchored-floating-substrings-must-be-utf.patch
+
 # Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
 Patch200:   
perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
 
@@ -2182,6 +2186,7 @@ Perl extension for Version Objects
 %patch40 -p1
 %patch41 -p1
 %patch42 -p1
+%patch43 -p1
 %patch200 -p1
 %patch201 -p1
 
@@ -2216,6 +2221,7 @@ perl -x patchlevel.h \
 'Fedora Patch40: Fix string overrun in Perl_gv_fetchmethod_pvn_flags 
(RT#129267)' \
 'Fedora Patch41: Fix string overrun in Perl_gv_fetchmethod_pvn_flags 
(RT#129267)' \
 'Fedora Patch42: Fix string overrun in Perl_gv_fetchmethod_pvn_flags 
(RT#129267)' \
+'Fedora Patch43: Fix crash when matching UTF-8 string with non-UTF-8 
substrings (RT#129350)' \
 'Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on 
Linux' \
 'Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux' \
 %{nil}
@@ -4235,6 +4241,7 @@ popd
 - Fix crash in "evalbytes S" (RT#129196)
 - Fix crash in splice (RT#129164, RT#129166, RT#129167)
 - Fix string overrun in Perl_gv_fetchmethod_pvn_flags (RT#129267)
+- Fix crash when matching UTF-8 string with non-UTF-8 substrings (RT#129350)
 
 * Wed Aug 03 2016 Jitka Plesnikova  - 4:5.22.2-354
 - Avoid loading optional modules from default . (CVE-2016-1238)
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f23=c4d5dbb814e180014c8b3b6fa40b62efe123c55c
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To 

ppisar pushed to perl (f23). "Fix crash in "evalbytes S""

2016-11-04 Thread notifications
From 74deeadde2c7d1ef32202386c7dfebfbc504551f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 09:16:29 +0100
Subject: Fix crash in "evalbytes S"

---
 perl-5.24.0-Regression-test-for-RT-129196.patch| 45 +
 ...rl-129196-Crash-bad-read-with-evalbytes-S.patch | 37 +
 perl-5.25.4-toke.c-fix-mswin32-builds.patch| 46 ++
 perl.spec  | 12 ++
 4 files changed, 140 insertions(+)
 create mode 100644 perl-5.24.0-Regression-test-for-RT-129196.patch
 create mode 100644 
perl-5.25.4-perl-129196-Crash-bad-read-with-evalbytes-S.patch
 create mode 100644 perl-5.25.4-toke.c-fix-mswin32-builds.patch

diff --git a/perl-5.24.0-Regression-test-for-RT-129196.patch 
b/perl-5.24.0-Regression-test-for-RT-129196.patch
new file mode 100644
index 000..23beb36
--- /dev/null
+++ b/perl-5.24.0-Regression-test-for-RT-129196.patch
@@ -0,0 +1,45 @@
+From a51d828a6d402f30f37707c714de218f6b47dbd8 Mon Sep 17 00:00:00 2001
+From: Dan Collins 
+Date: Sun, 4 Sep 2016 14:43:41 -0400
+Subject: [PATCH] Regression test for RT #129196
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.24.0:
+
+commit a6128716d2cc20147851e0a37768376647bd3242
+Author: Dan Collins 
+Date:   Sun Sep 4 14:43:41 2016 -0400
+
+Regression test for RT #129196
+
+Signed-off-by: Petr Písař 
+---
+ t/op/evalbytes.t | 6 +-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/t/op/evalbytes.t b/t/op/evalbytes.t
+index cca7c04..5e2af76 100644
+--- a/t/op/evalbytes.t
 b/t/op/evalbytes.t
+@@ -6,7 +6,7 @@ BEGIN {
+ require './test.pl'; require './charset_tools.pl';
+ }
+ 
+-plan(tests => 8);
++plan(tests => 9);
+ 
+ {
+ local $SIG{__WARN__} = sub {};
+@@ -33,3 +33,7 @@ chop($upcode = "use utf8; $U_100" . chr 256);
+ is evalbytes $upcode, chr 256, 'use utf8 within evalbytes on utf8 string';
+ eval { evalbytes chr 256 };
+ like $@, qr/Wide character/, 'evalbytes croaks on non-bytes';
++
++eval 'evalbytes S';
++ok 1, '[RT #129196] evalbytes S should not segfault';
++
+-- 
+2.7.4
+
diff --git a/perl-5.25.4-perl-129196-Crash-bad-read-with-evalbytes-S.patch 
b/perl-5.25.4-perl-129196-Crash-bad-read-with-evalbytes-S.patch
new file mode 100644
index 000..e224f30
--- /dev/null
+++ b/perl-5.25.4-perl-129196-Crash-bad-read-with-evalbytes-S.patch
@@ -0,0 +1,37 @@
+From 9bde56224e82f20e7a65b3469b1ffb6b9f6d4df8 Mon Sep 17 00:00:00 2001
+From: Father Chrysostomos 
+Date: Sun, 4 Sep 2016 20:24:19 -0700
+Subject: [PATCH] =?UTF-8?q?[perl=20#129196]=20Crash/bad=20read=20with=20?=
+ =?UTF-8?q?=E2=80=98evalbytes=20S=E2=80=99?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+5dc13276 added some code to toke.c that did not take into account
+that the opnum (‘f’) argument to UNI* could be a negated op number.
+PL_last_lop_op must never be negative, since it is used as an offset
+into a struct.
+
+Tests for the crash will come in the next commit.
+
+Signed-off-by: Petr Písař 
+---
+ toke.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/toke.c b/toke.c
+index 2fe8b69..2350703 100644
+--- a/toke.c
 b/toke.c
+@@ -241,7 +241,7 @@ static const char* const lex_state_names[] = {
+   if (have_x) PL_expect = x; \
+   PL_bufptr = s; \
+   PL_last_uni = PL_oldbufptr; \
+-  PL_last_lop_op = f; \
++  PL_last_lop_op = f < 0 ? -f : f; \
+   if (*s == '(') \
+   return REPORT( (int)FUNC1 ); \
+   s = skipspace(s); \
+-- 
+2.7.4
+
diff --git a/perl-5.25.4-toke.c-fix-mswin32-builds.patch 
b/perl-5.25.4-toke.c-fix-mswin32-builds.patch
new file mode 100644
index 000..5b066c8
--- /dev/null
+++ b/perl-5.25.4-toke.c-fix-mswin32-builds.patch
@@ -0,0 +1,46 @@
+From 0af40c757f083cc12988effb46da5313cd042f00 Mon Sep 17 00:00:00 2001
+From: David Mitchell 
+Date: Mon, 5 Sep 2016 15:49:28 +0100
+Subject: [PATCH] toke.c: fix mswin32 builds
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+9bde56224 added this as part of macro:
+
+-  PL_last_lop_op = f; \
++  PL_last_lop_op = f < 0 ? -f : f; \
+
+which broke win32 builds due to this
+
+UNIBRACK(-OP_ENTEREVAL)
+
+expanding to
+
+PL_last_lop_op = -345 < 0 ? --345 : -345
+
+and the -- being seen as a pre-dec op.
+
+Diagnosed by Dagfinn Ilmari Mannsåker.
+
+Signed-off-by: Petr Písař 
+---
+ toke.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/toke.c b/toke.c
+index 2350703..a1cdda8 100644
+--- a/toke.c
 b/toke.c
+@@ -241,7 +241,7 @@ static const char* const lex_state_names[] = {
+   if (have_x) PL_expect = x; \
+   PL_bufptr = s; \
+   PL_last_uni = PL_oldbufptr; \
+-  

ppisar pushed to perl (f23). "Do not mangle errno from failed socket call"

2016-11-04 Thread notifications
From 8e590adf77f1bc43b999e510f8028b5c50d66d3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 16 Jun 2016 08:18:38 +0200
Subject: Do not mangle errno from failed socket call

---
 ...6-preserve-errno-from-failed-system-calls.patch | 73 ++
 perl.spec  |  7 +++
 2 files changed, 80 insertions(+)
 create mode 100644 
perl-5.25.1-perl-128316-preserve-errno-from-failed-system-calls.patch

diff --git 
a/perl-5.25.1-perl-128316-preserve-errno-from-failed-system-calls.patch 
b/perl-5.25.1-perl-128316-preserve-errno-from-failed-system-calls.patch
new file mode 100644
index 000..df7a173
--- /dev/null
+++ b/perl-5.25.1-perl-128316-preserve-errno-from-failed-system-calls.patch
@@ -0,0 +1,73 @@
+From 3f6b66c14467c0f8c7459e32c576618155ca89f3 Mon Sep 17 00:00:00 2001
+From: Tony Cook 
+Date: Thu, 16 Jun 2016 14:08:18 +1000
+Subject: [PATCH] (perl #128316) preserve errno from failed system calls
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Petr Písař 
+---
+ pp_sys.c  |  4 ++--
+ t/io/socket.t | 22 ++
+ 2 files changed, 24 insertions(+), 2 deletions(-)
+
+diff --git a/pp_sys.c b/pp_sys.c
+index 33cba46..3bf2673 100644
+--- a/pp_sys.c
 b/pp_sys.c
+@@ -2497,7 +2497,6 @@ PP(pp_socket)
+ TAINT_PROPER("socket");
+ fd = PerlSock_socket(domain, type, protocol);
+ if (fd < 0) {
+-SETERRNO(EBADF,RMS_IFI);
+   RETPUSHUNDEF;
+ }
+ IoIFP(io) = PerlIO_fdopen(fd, "r"SOCKET_OPEN_MODE);   /* stdio gets 
confused about sockets */
+@@ -3531,8 +3530,9 @@ PP(pp_fttext)
+ }
+   PL_laststatval = PerlLIO_fstat(fd, _statcache);
+   if (PL_laststatval < 0) {
++dSAVE_ERRNO;
+   (void)PerlIO_close(fp);
+-SETERRNO(EBADF,RMS_IFI);
++RESTORE_ERRNO;
+   FT_RETURNUNDEF;
+   }
+   PerlIO_binmode(aTHX_ fp, '<', O_BINARY, NULL);
+diff --git a/t/io/socket.t b/t/io/socket.t
+index b51079a..54e4438 100644
+--- a/t/io/socket.t
 b/t/io/socket.t
+@@ -128,6 +128,28 @@ SKIP: {
+ }
+ }
+ 
++SKIP:
++{
++eval { require Errno; defined ::EMFILE }
++  or skip "Can't load Errno or EMFILE not defined", 1;
++my @socks;
++my $sock_limit = 1000; # don't consume every file in the system
++# Default limits on various systems I have:
++#  65536 - Linux
++#256 - Solaris
++#128 - NetBSD
++#256 - Cygwin
++#256 - darwin
++while (@socks < $sock_limit) {
++socket my $work, PF_INET, SOCK_STREAM, $tcp
++  or last;
++push @socks, $work;
++}
++@socks == $sock_limit
++  and skip "Didn't run out of open handles", 1;
++is(0+$!, Errno::EMFILE(), "check correct errno for too many files");
++}
++
+ done_testing();
+ 
+ my @child_tests;
+-- 
+2.5.5
+
diff --git a/perl.spec b/perl.spec
index 0bcc86e..ff062af 100644
--- a/perl.spec
+++ b/perl.spec
@@ -107,6 +107,10 @@ Patch31:
perl-5.22.2-CVE-2016-1238-maint-5.22-dot-in-inc.patch
 # Fix a crash in lexical scope warnings, RT#128597, in upstream after 5.25.2
 Patch32:perl-5.22.2-perl-128597-Crash-from-gp_free-ckWARN_d.patch
 
+# Do not mangle errno from failed socket calls, RT#128316,
+# in upstream after 5.25.1
+Patch33:
perl-5.25.1-perl-128316-preserve-errno-from-failed-system-calls.patch
+
 # Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
 Patch200:   
perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
 
@@ -2152,6 +2156,7 @@ Perl extension for Version Objects
 %patch30 -p1
 %patch31 -p1
 %patch32 -p1
+%patch33 -p1
 %patch200 -p1
 %patch201 -p1
 
@@ -2176,6 +2181,7 @@ perl -x patchlevel.h \
 'Fedora Patch30: Do not let XSLoader load relative paths (CVE-2016-6185)' \
 'Fedora Patch31: Avoid loading optional modules from default . 
(CVE-2016-1238)' \
 'Fedora Patch32: Fix a crash in lexical scope warnings (RT#128597)' \
+'Fedora Patch33: Do not mangle errno from failed socket calls (RT#128316)' 
\
 'Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on 
Linux' \
 'Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux' \
 %{nil}
@@ -4191,6 +4197,7 @@ popd
 %changelog
 * Fri Nov 04 2016 Petr Pisar  - 4:5.22.2-355
 - Fix a crash in lexical scope warnings (RT#128597)
+- Do not mangle errno from failed socket calls (RT#128316)
 
 * Wed Aug 03 2016 Jitka Plesnikova  - 4:5.22.2-354
 - Avoid loading optional modules from default . (CVE-2016-1238)
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f23=8e590adf77f1bc43b999e510f8028b5c50d66d3a
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to 

ppisar pushed to perl (f23). "Fix crash in splice"

2016-11-04 Thread notifications
From 1e2068cd3e9e09571865a2064c9ce5d80f6e710c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 09:45:10 +0100
Subject: Fix crash in splice

---
 perl-5.22.2-perl-129164-Crash-with-splice.patch | 79 +
 perl.spec   |  6 ++
 2 files changed, 85 insertions(+)
 create mode 100644 perl-5.22.2-perl-129164-Crash-with-splice.patch

diff --git a/perl-5.22.2-perl-129164-Crash-with-splice.patch 
b/perl-5.22.2-perl-129164-Crash-with-splice.patch
new file mode 100644
index 000..1d729be
--- /dev/null
+++ b/perl-5.22.2-perl-129164-Crash-with-splice.patch
@@ -0,0 +1,79 @@
+From 5114cc26ed8a68debf3e4ed357f205ddaf99ef15 Mon Sep 17 00:00:00 2001
+From: Father Chrysostomos 
+Date: Sun, 11 Sep 2016 21:29:56 -0700
+Subject: [PATCH] Crash with splice
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.22.2:
+
+commit 92b69f6501b4d7351e09c8b1ddd386aa7e1c9cd1
+Author: Father Chrysostomos 
+Date:   Sun Sep 11 21:29:56 2016 -0700
+
+[perl #129164] Crash with splice
+
+This fixes #129166 and #129167 as well.
+
+splice needs to take into account that arrays can hold NULLs and
+return _sv_undef in those cases where it would have returned a
+NULL element.
+
+Signed-off-by: Petr Písař 
+---
+ pp.c |  4 
+ t/op/array.t | 17 +
+ 2 files changed, 21 insertions(+)
+
+diff --git a/pp.c b/pp.c
+index 3173c5a..996b346 100644
+--- a/pp.c
 b/pp.c
+@@ -5325,6 +5325,8 @@ PP(pp_splice)
+   for (i = length - 1, dst = (ary)[offset]; i > 0; i--)
+   SvREFCNT_dec(*dst++);   /* free them now */
+   }
++  if (!*MARK)
++  *MARK = _sv_undef;
+   }
+   AvFILLp(ary) += diff;
+ 
+@@ -5421,6 +5423,8 @@ PP(pp_splice)
+   while (length-- > 0)
+   SvREFCNT_dec(tmparyval[length]);
+   }
++  if (!*MARK)
++  *MARK = _sv_undef;
+   }
+   else
+   *MARK = _sv_undef;
+diff --git a/t/op/array.t b/t/op/array.t
+index 7239d48..bbdf86c 100644
+--- a/t/op/array.t
 b/t/op/array.t
+@@ -549,4 +549,21 @@ is "@ary", 'b a',
+ for(scalar $#foo) { $_ = 3 }
+ is $#foo, 3, 'assigning to arylen aliased in foreach(scalar $#arylen)';
+ 
++# [perl #129164], [perl #129166], [perl #129167]
++# splice() with null array entries
++# These used to crash.
++$#a = -1; $#a++;
++() = 0-splice @a; # subtract
++$#a = -1; $#a++;
++() =  -splice @a; # negate
++$#a = -1; $#a++;
++() = 0+splice @a; # add
++# And with array expansion, too
++$#a = -1; $#a++;
++() = 0-splice @a, 0, 1, 1, 1;
++$#a = -1; $#a++;
++() =  -splice @a, 0, 1, 1, 1;
++$#a = -1; $#a++;
++() = 0+splice @a, 0, 1, 1, 1;
++
+ "We're included by lib/Tie/Array/std.t so we need to return something true";
+-- 
+2.7.4
+
diff --git a/perl.spec b/perl.spec
index 2ba3320..c7bd3bd 100644
--- a/perl.spec
+++ b/perl.spec
@@ -116,6 +116,9 @@ Patch34:
perl-5.25.4-perl-129196-Crash-bad-read-with-evalbytes-S.patch
 Patch35:perl-5.24.0-Regression-test-for-RT-129196.patch
 Patch36:perl-5.25.4-toke.c-fix-mswin32-builds.patch
 
+# Fix crash in splice, RT#129164, RT#129166, RT#129167, in upstream after 
5.25.4
+Patch37:perl-5.22.2-perl-129164-Crash-with-splice.patch
+
 # Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
 Patch200:   
perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
 
@@ -2165,6 +2168,7 @@ Perl extension for Version Objects
 %patch34 -p1
 %patch35 -p1
 %patch36 -p1
+%patch37 -p1
 %patch200 -p1
 %patch201 -p1
 
@@ -2193,6 +2197,7 @@ perl -x patchlevel.h \
 'Fedora Patch34: Fix crash in "evalbytes S" (RT#129196)' \
 'Fedora Patch35: Fix crash in "evalbytes S" (RT#129196)' \
 'Fedora Patch36: Fix crash in "evalbytes S" (RT#129196)' \
+'Fedora Patch37: Fix crash in splice (RT#129164, RT#129166, RT#129167)' \
 'Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on 
Linux' \
 'Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux' \
 %{nil}
@@ -4210,6 +4215,7 @@ popd
 - Fix a crash in lexical scope warnings (RT#128597)
 - Do not mangle errno from failed socket calls (RT#128316)
 - Fix crash in "evalbytes S" (RT#129196)
+- Fix crash in splice (RT#129164, RT#129166, RT#129167)
 
 * Wed Aug 03 2016 Jitka Plesnikova  - 4:5.22.2-354
 - Avoid loading optional modules from default . (CVE-2016-1238)
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f23=1e2068cd3e9e09571865a2064c9ce5d80f6e710c
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


ppisar pushed to perl (f23). "Fix a crash in lexical scope warnings"

2016-11-04 Thread notifications
From 390a8a1af1f90b81c7488bbc8cf4595cac1e7386 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 12 Jul 2016 12:50:33 +0200
Subject: Fix a crash in lexical scope warnings

---
 ...2-perl-128597-Crash-from-gp_free-ckWARN_d.patch | 101 +
 perl.spec  |  10 +-
 2 files changed, 110 insertions(+), 1 deletion(-)
 create mode 100644 perl-5.22.2-perl-128597-Crash-from-gp_free-ckWARN_d.patch

diff --git a/perl-5.22.2-perl-128597-Crash-from-gp_free-ckWARN_d.patch 
b/perl-5.22.2-perl-128597-Crash-from-gp_free-ckWARN_d.patch
new file mode 100644
index 000..9eed744
--- /dev/null
+++ b/perl-5.22.2-perl-128597-Crash-from-gp_free-ckWARN_d.patch
@@ -0,0 +1,101 @@
+From 31321d9c337d50cc8ead96ffacc82c90999ecef0 Mon Sep 17 00:00:00 2001
+From: Father Chrysostomos 
+Date: Mon, 11 Jul 2016 14:49:17 -0700
+Subject: [PATCH] Crash from gp_free/ckWARN_d
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.22.2:
+
+commit a2637ca0a3fec01b80d7ea5ba62802354fd5e6f3
+Author: Father Chrysostomos 
+Date:   Mon Jul 11 14:49:17 2016 -0700
+
+[perl #128597] Crash from gp_free/ckWARN_d
+
+See the explanation in the test added and in the RT ticket.
+
+The solution is to make the warn macros check that PL_curcop
+is non-null.
+
+Signed-off-by: Petr Písař 
+---
+ regen/warnings.pl |  6 --
+ t/op/gv.t | 18 +-
+ warnings.h|  6 --
+ 3 files changed, 25 insertions(+), 5 deletions(-)
+
+diff --git a/regen/warnings.pl b/regen/warnings.pl
+index 694cb03..85e6d5a 100644
+--- a/regen/warnings.pl
 b/regen/warnings.pl
+@@ -362,8 +362,10 @@ EOM
+ 
+   print $warn <<'EOM';
+ 
+-#define isLEXWARN_on  (PL_curcop->cop_warnings != pWARN_STD)
+-#define isLEXWARN_off (PL_curcop->cop_warnings == pWARN_STD)
++#define isLEXWARN_on \
++  (PL_curcop && PL_curcop->cop_warnings != pWARN_STD)
++#define isLEXWARN_off \
++  (!PL_curcop || PL_curcop->cop_warnings == pWARN_STD)
+ #define isWARN_ONCE   (PL_dowarn & (G_WARN_ON|G_WARN_ONCE))
+ #define isWARN_on(c,x)(IsSet((U8 *)(c + 1), 2*(x)))
+ #define isWARNf_on(c,x)   (IsSet((U8 *)(c + 1), 2*(x)+1))
+diff --git a/t/op/gv.t b/t/op/gv.t
+index 2c9cc64..0cb8ebe 100644
+--- a/t/op/gv.t
 b/t/op/gv.t
+@@ -12,7 +12,7 @@ BEGIN {
+ 
+ use warnings;
+ 
+-plan(tests => 276 );
++plan(tests => 277 );
+ 
+ # type coercion on assignment
+ $foo = 'foo';
+@@ -1150,6 +1150,22 @@ pass "No crash due to CvGV pointing to glob copy in the 
stash";
+ is($c_125840, 1, 'RT #125840: $c=$d');
+ }
+ 
++# [perl #128597] Crash when gp_free calls ckWARN_d
++# I am not sure this test even belongs in this file, as the crash was the
++# result of various features interacting.  But a call to ckWARN_d from
++# gv.c:gp_free triggered the crash, so this seems as good a place as any.
++# ‘die’ (or any abnormal scope exit) can cause the current cop to be freed,
++# if the subroutine containing the ‘die’ gets freed as a result.  That
++# causes PL_curcop to be set to NULL.  If a writable handle gets freed
++# while PL_curcop is NULL, then gp_free will call ckWARN_d while that con-
++# dition still holds, so ckWARN_d needs to know about PL_curcop possibly
++# being NULL.
++SKIP: {
++skip_if_miniperl("No PerlIO::scalar on miniperl", 1);
++runperl(prog => 'open my $fh, q|>|, \$buf;'
++   .'my $sub = eval q|sub {exit 0}|; $sub->()');
++is ($? & 127, 0,"[perl #128597] No crash when gp_free calls ckWARN_d");
++}
+ 
+ __END__
+ Perl
+diff --git a/warnings.h b/warnings.h
+index 24fe243..b0a0eb4 100644
+--- a/warnings.h
 b/warnings.h
+@@ -117,8 +117,10 @@
+ #define WARN_ALLstring 
"\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125"
+ #define WARN_NONEstring
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
+ 
+-#define isLEXWARN_on  (PL_curcop->cop_warnings != pWARN_STD)
+-#define isLEXWARN_off (PL_curcop->cop_warnings == pWARN_STD)
++#define isLEXWARN_on \
++  (PL_curcop && PL_curcop->cop_warnings != pWARN_STD)
++#define isLEXWARN_off \
++  (!PL_curcop || PL_curcop->cop_warnings == pWARN_STD)
+ #define isWARN_ONCE   (PL_dowarn & (G_WARN_ON|G_WARN_ONCE))
+ #define isWARN_on(c,x)(IsSet((U8 *)(c + 1), 2*(x)))
+ #define isWARNf_on(c,x)   (IsSet((U8 *)(c + 1), 2*(x)+1))
+-- 
+2.7.4
+
diff --git a/perl.spec b/perl.spec
index 30b0be8..0bcc86e 100644
--- a/perl.spec
+++ b/perl.spec
@@ -30,7 +30,7 @@
 Name:   perl
 Version:%{perl_version}
 # release number must be even higher, because dual-lived modules will be 
broken otherwise
-Release:354%{?dist}
+Release:355%{?dist}
 Epoch:  %{perl_epoch}
 Summary:Practical Extraction and Report Language
 Group:  Development/Languages
@@ -104,6 +104,9 @@ Patch30:

ppisar pushed to perl (f23). "Fix string overrun in Perl_gv_fetchmethod_pvn_flags"

2016-11-04 Thread notifications
From 289a3c1a6c9b17e37fe319f54151b2ad8a4dee4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 10:33:05 +0100
Subject: Fix string overrun in Perl_gv_fetchmethod_pvn_flags

---
 ..._fetchmethod_pvn_flags-introduce-name_end.patch | 94 ++
 ..._fetchmethod_pvn_flags-move-origname-init.patch | 32 
 ..._fetchmethod_pvn_flags-rename-nsplit-to-l.patch | 92 +
 ...rework-gv_fetchmethod_pvn_flags-separator.patch | 81 +++
 ...67-Test-for-gv_fetchmethod-buffer-overrun.patch | 44 ++
 perl.spec  | 19 +
 6 files changed, 362 insertions(+)
 create mode 100644 
perl-5.24.0-clean-up-gv_fetchmethod_pvn_flags-introduce-name_end.patch
 create mode 100644 
perl-5.25.4-clean-up-gv_fetchmethod_pvn_flags-move-origname-init.patch
 create mode 100644 
perl-5.25.4-clean-up-gv_fetchmethod_pvn_flags-rename-nsplit-to-l.patch
 create mode 100644 
perl-5.25.4-fix-129267-rework-gv_fetchmethod_pvn_flags-separator.patch
 create mode 100644 
perl-5.25.4-perl-129267-Test-for-gv_fetchmethod-buffer-overrun.patch

diff --git 
a/perl-5.24.0-clean-up-gv_fetchmethod_pvn_flags-introduce-name_end.patch 
b/perl-5.24.0-clean-up-gv_fetchmethod_pvn_flags-introduce-name_end.patch
new file mode 100644
index 000..801
--- /dev/null
+++ b/perl-5.24.0-clean-up-gv_fetchmethod_pvn_flags-introduce-name_end.patch
@@ -0,0 +1,94 @@
+From af04cb4d2503c5c75d2229e232b8a0bd5c210084 Mon Sep 17 00:00:00 2001
+From: Yves Orton 
+Date: Tue, 13 Sep 2016 23:06:07 +0200
+Subject: [PATCH] clean up gv_fetchmethod_pvn_flags: introduce name_end
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.24.0:
+
+commit 65308f87d02a1900e59f0002fa94c855d4d4c5df
+Author: Yves Orton 
+Date:   Tue Sep 13 23:06:07 2016 +0200
+
+clean up gv_fetchmethod_pvn_flags: introduce name_end
+
+nend is used for too many things, this replaces various
+uses of nend with name_end, which is constant.
+
+this is a first step to fixing [perl #129267], which shouldnt
+change any behavior
+
+Signed-off-by: Petr Písař 
+---
+ gv.c | 14 --
+ 1 file changed, 8 insertions(+), 6 deletions(-)
+
+diff --git a/gv.c b/gv.c
+index 28396de..d738bf0 100644
+--- a/gv.c
 b/gv.c
+@@ -1014,6 +1014,8 @@ Perl_gv_fetchmethod_pv_flags(pTHX_ HV *stash, const char 
*name, U32 flags)
+ GV *
+ Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const char *name, const STRLEN 
len, U32 flags)
+ {
++const char * const origname = name;
++const char * const name_end = name + len;
+ const char *nend;
+ const char *nsplit = NULL;
+ GV* gv;
+@@ -1034,7 +1036,7 @@ Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const 
char *name, const STRLEN le
+  the error reporting code.  */
+ }
+ 
+-for (nend = name; *nend || nend != (origname + len); nend++) {
++for (nend = name; *nend || nend != name_end; nend++) {
+   if (*nend == '\'') {
+   nsplit = nend;
+   name = nend + 1;
+@@ -1065,13 +1067,13 @@ Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const 
char *name, const STRLEN le
+   ostash = stash;
+ }
+ 
+-gv = gv_fetchmeth_pvn(stash, name, nend - name, 0, flags);
++gv = gv_fetchmeth_pvn(stash, name, name_end - name, 0, flags);
+ if (!gv) {
+   if (strEQ(name,"import") || strEQ(name,"unimport"))
+   gv = MUTABLE_GV(_sv_yes);
+   else if (autoload)
+   gv = gv_autoload_pvn(
+-  ostash, name, nend - name, GV_AUTOLOAD_ISMETHOD|flags
++  ostash, name, name_end - name, GV_AUTOLOAD_ISMETHOD|flags
+   );
+   if (!gv && do_croak) {
+   /* Right now this is exclusively for the benefit of S_method_common
+@@ -1087,14 +1089,14 @@ Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const 
char *name, const STRLEN le
+  HV_FETCH_ISEXISTS, NULL, 0)
+   ) {
+   require_pv("IO/File.pm");
+-  gv = gv_fetchmeth_pvn(stash, name, nend - name, 0, flags);
++  gv = gv_fetchmeth_pvn(stash, name, name_end - name, 0, 
flags);
+   if (gv)
+   return gv;
+   }
+   Perl_croak(aTHX_
+  "Can't locate object method \"%"UTF8f
+  "\" via package \"%"HEKf"\"",
+-  UTF8fARG(is_utf8, nend - name, name),
++  UTF8fARG(is_utf8, name_end - name, name),
+ HEKfARG(HvNAME_HEK(stash)));
+   }
+   else {
+@@ -,7 +1113,7 @@ Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const 
char *name, const STRLEN le
+  "Can't locate object method \"%"UTF8f
+  "\" via package 

ppisar pushed to perl (f23). "Add Artistic 2.0 into perl-Encode license tag because of encguess tool"

2016-11-04 Thread notifications
From 5ca0f1affd19887f5817e3c59b63fef68123f350 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Fri, 16 Sep 2016 11:07:32 +0200
Subject: Add Artistic 2.0 into perl-Encode license tag because of encguess
 tool

---
 perl.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/perl.spec b/perl.spec
index ff062af..f24d320 100644
--- a/perl.spec
+++ b/perl.spec
@@ -736,7 +736,7 @@ module can handle all types of input, including 
partial-byte data.
 %package Encode
 Summary:Character encodings in Perl
 Group:  Development/Libraries
-License:(GPL+ or Artistic) and UCD
+License:(GPL+ or Artistic) and Artistic 2.0 and UCD
 Epoch:  3
 Version:2.72
 Requires:   %perl_compat
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f23=5ca0f1affd19887f5817e3c59b63fef68123f350
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


ppisar pushed to perl (f23). "perl-Unicode-Collate license corrected to ((GPL+ or Artistic) and Unicode) (..more)"

2016-11-04 Thread notifications
From 3e0b83045a89c614dbabedac0bcba0dba19a874c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Mon, 19 Sep 2016 16:16:29 +0200
Subject: perl-Unicode-Collate license corrected to ((GPL+ or Artistic) and
 Unicode)

The file links to  that
mathcces "Unicode" license (except the (c) paragraph).
---
 perl.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/perl.spec b/perl.spec
index f24d320..e62a20f 100644
--- a/perl.spec
+++ b/perl.spec
@@ -2090,7 +2090,7 @@ hashes and hash refs.
 %package Unicode-Collate
 Summary:Unicode Collation Algorithm
 Group:  Development/Libraries
-License:(GPL+ or Artistic) and UCD
+License:(GPL+ or Artistic) and Unicode
 Epoch:  0
 Version:1.12
 Requires:   %perl_compat
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f23=3e0b83045a89c614dbabedac0bcba0dba19a874c
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


ppisar pushed to perl (f23). "Fix stack handling when calling chdir without an argument"

2016-11-04 Thread notifications
From 271738ffe9d8ec2b4700c585a9322322b2c6cb16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 14:58:16 +0100
Subject: Fix stack handling when calling chdir without an argument

---
 ...30-make-chdir-allocate-the-stack-it-needs.patch | 66 ++
 perl.spec  |  6 ++
 2 files changed, 72 insertions(+)
 create mode 100644 
perl-5.22.2-perl-129130-make-chdir-allocate-the-stack-it-needs.patch

diff --git 
a/perl-5.22.2-perl-129130-make-chdir-allocate-the-stack-it-needs.patch 
b/perl-5.22.2-perl-129130-make-chdir-allocate-the-stack-it-needs.patch
new file mode 100644
index 000..90488e3
--- /dev/null
+++ b/perl-5.22.2-perl-129130-make-chdir-allocate-the-stack-it-needs.patch
@@ -0,0 +1,66 @@
+From 36dc786e5ea4a6d3e85f1f55251b8538fabb8321 Mon Sep 17 00:00:00 2001
+From: Tony Cook 
+Date: Mon, 5 Sep 2016 15:40:11 +1000
+Subject: [PATCH] (perl #129130) make chdir allocate the stack it needs
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.22.2:
+
+commit 92c843fb4b4e1a1e0ac7ec0fe198dc77266838da
+Author: Tony Cook 
+Date:   Mon Sep 5 15:40:11 2016 +1000
+
+(perl #129130) make chdir allocate the stack it needs
+
+chdir with no argument didn't ensure there was stack space available
+for its result.
+
+Signed-off-by: Petr Písař 
+---
+ pp_sys.c | 1 +
+ t/op/chdir.t | 8 +++-
+ 2 files changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/pp_sys.c b/pp_sys.c
+index 1285c75..2171a1a 100644
+--- a/pp_sys.c
 b/pp_sys.c
+@@ -3580,6 +3580,7 @@ PP(pp_chdir)
+   HV * const table = GvHVn(PL_envgv);
+   SV **svp;
+ 
++EXTEND(SP, 1);
+ if ((svp = hv_fetchs(table, "HOME", FALSE))
+  || (svp = hv_fetchs(table, "LOGDIR", FALSE))
+ #ifdef VMS
+diff --git a/t/op/chdir.t b/t/op/chdir.t
+index 813b0ed..f16be41 100644
+--- a/t/op/chdir.t
 b/t/op/chdir.t
+@@ -10,7 +10,7 @@ BEGIN {
+ # possibilities into @INC.
+ unshift @INC, qw(t . lib ../lib);
+ require "./test.pl";
+-plan(tests => 48);
++plan(tests => 49);
+ }
+ 
+ use Config;
+@@ -176,6 +176,12 @@ WARNING
+ }
+ }
+ 
++fresh_perl_is(<<'EOP', '', { stderr => 1 }, "check stack handling");
++for $x (map $_+1, 1 .. 100) {
++  map chdir, 1 .. $x;
++}
++EOP
++
+ my %Saved_Env = ();
+ sub clean_env {
+ foreach my $env (@magic_envs) {
+-- 
+2.7.4
+
diff --git a/perl.spec b/perl.spec
index adbb7c9..e0d4209 100644
--- a/perl.spec
+++ b/perl.spec
@@ -143,6 +143,9 @@ Patch45:
perl-5.22.2-regcomp.c-fix-perl-129950-fix-firstchar-bitmap-under
 # RT#130001, in upstream after 5.25.6
 Patch46:
perl-5.25.6-perl-130001-h2xs-avoid-infinite-loop-for-enums.patch
 
+# Fix stack handling when calling chdir without an argument, RT#129130
+Patch47:
perl-5.22.2-perl-129130-make-chdir-allocate-the-stack-it-needs.patch
+
 # Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
 Patch200:   
perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
 
@@ -2202,6 +2205,7 @@ Perl extension for Version Objects
 %patch44 -p1
 %patch45 -p1
 %patch46 -p1
+%patch47 -p1
 %patch200 -p1
 %patch201 -p1
 
@@ -2240,6 +2244,7 @@ perl -x patchlevel.h \
 'Fedora Patch44: Fix parsing perl options in shell bang line (RT#129336)' \
 'Fedora Patch45: Fix firstchar bitmap under UTF-8 with prefix optimization 
(RT#129950)' \
 'Fedora Patch46: Avoid infinite loop in h2xs tool if enum and type have 
the same name (RT130001)' \
+'Fedora Patch47: Fix stack handling when calling chdir without an argument 
(RT#129130)' \
 'Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on 
Linux' \
 'Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux' \
 %{nil}
@@ -4264,6 +4269,7 @@ popd
 - Fix firstchar bitmap under UTF-8 with prefix optimization (RT#129950)
 - Avoid infinite loop in h2xs tool if enum and type have the same name
   (RT130001)
+- Fix stack handling when calling chdir without an argument (RT#129130)
 
 * Wed Aug 03 2016 Jitka Plesnikova  - 4:5.22.2-354
 - Avoid loading optional modules from default . (CVE-2016-1238)
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f23=271738ffe9d8ec2b4700c585a9322322b2c6cb16
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


ppisar pushed to perl (f23). "Avoid infinite loop in h2xs tool if enum and type have the same name"

2016-11-04 Thread notifications
From c9adf8fb6f7aa7d40db591777b3584649b28ff74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 14:49:51 +0100
Subject: Avoid infinite loop in h2xs tool if enum and type have the same name

---
 ...130001-h2xs-avoid-infinite-loop-for-enums.patch | 32 ++
 perl.spec  |  8 ++
 2 files changed, 40 insertions(+)
 create mode 100644 
perl-5.25.6-perl-130001-h2xs-avoid-infinite-loop-for-enums.patch

diff --git a/perl-5.25.6-perl-130001-h2xs-avoid-infinite-loop-for-enums.patch 
b/perl-5.25.6-perl-130001-h2xs-avoid-infinite-loop-for-enums.patch
new file mode 100644
index 000..9b4f197
--- /dev/null
+++ b/perl-5.25.6-perl-130001-h2xs-avoid-infinite-loop-for-enums.patch
@@ -0,0 +1,32 @@
+From 9ce5bf4c39e28441410672f39b5ee1c4569967f8 Mon Sep 17 00:00:00 2001
+From: Hugo van der Sanden 
+Date: Fri, 28 Oct 2016 13:27:23 +0100
+Subject: [PATCH] [perl #130001] h2xs: avoid infinite loop for enums
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+'typedef enum x { ... } x' causes h2xs to enter a substitution loop while
+trying to write the typemap file.
+
+Signed-off-by: Petr Písař 
+---
+ utils/h2xs.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/utils/h2xs.PL b/utils/h2xs.PL
+index 8fda87b..f9063cb 100644
+--- a/utils/h2xs.PL
 b/utils/h2xs.PL
+@@ -1034,7 +1034,7 @@ if( ! $opt_X ){  # use XS, unless it was disabled
+   }
+ }
+ { local $" = '|';
+-  $typedef_rex = qr(\b(? - 4:5.22.2-354
 - Avoid loading optional modules from default . (CVE-2016-1238)
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f23=c9adf8fb6f7aa7d40db591777b3584649b28ff74
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


ppisar pushed to perl (f23). "Fix firstchar bitmap under UTF-8 with prefix optimization"

2016-11-04 Thread notifications
From c22e336f0a5ca44e941fa3bee28ab06d5717c022 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 13:33:10 +0100
Subject: Fix firstchar bitmap under UTF-8 with prefix optimization

---
 ...ix-perl-129950-fix-firstchar-bitmap-under.patch | 97 ++
 perl.spec  |  8 ++
 2 files changed, 105 insertions(+)
 create mode 100644 
perl-5.22.2-regcomp.c-fix-perl-129950-fix-firstchar-bitmap-under.patch

diff --git 
a/perl-5.22.2-regcomp.c-fix-perl-129950-fix-firstchar-bitmap-under.patch 
b/perl-5.22.2-regcomp.c-fix-perl-129950-fix-firstchar-bitmap-under.patch
new file mode 100644
index 000..5d7c2cc
--- /dev/null
+++ b/perl-5.22.2-regcomp.c-fix-perl-129950-fix-firstchar-bitmap-under.patch
@@ -0,0 +1,97 @@
+From e40804ef8d2f49e588498bcc4bc0ba8e108ac648 Mon Sep 17 00:00:00 2001
+From: Yves Orton 
+Date: Thu, 27 Oct 2016 13:52:24 +0200
+Subject: [PATCH] regcomp.c: fix perl #129950 - fix firstchar bitmap under utf8
+ with prefix optimisation
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.22.2:
+
+commit da42332b10691ba7af7550035ffc7f46c87e4e66
+Author: Yves Orton 
+Date:   Thu Oct 27 13:52:24 2016 +0200
+
+regcomp.c: fix perl #129950 - fix firstchar bitmap under utf8 with prefix 
optimisation
+
+The trie code contains a number of sub optimisations, one of which
+extracts common prefixes from alternations, and another which isa
+bitmap of the possible matching first chars.
+
+The bitmap needs to contain the possible first octets of the string
+which the trie can match, and for codepoints which might have a different
+first octet under utf8 or non-utf8 need to register BOTH codepoints.
+
+So for instance in the pattern (?:a|a\x{E4}) we should restructure this
+as a(|\x{E4), and the bitmap for the trie should contain both \x{E4} AND
+\x{C3} as \x{C3} is the first byte of \x{EF} expressed as utf8.
+
+Signed-off-by: Petr Písař 
+---
+ regcomp.c  | 14 ++
+ t/re/pat.t |  9 -
+ 2 files changed, 22 insertions(+), 1 deletion(-)
+
+diff --git a/regcomp.c b/regcomp.c
+index 9332dea..fcb5147 100644
+--- a/regcomp.c
 b/regcomp.c
+@@ -2965,6 +2965,13 @@ S_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode 
*startbranch,
+ TRIE_BITMAP_SET(trie,*ch);
+ if ( folder )
+ TRIE_BITMAP_SET(trie, folder[ *ch ]);
++if ( !UTF ) {
++/* store first byte of utf8 
representation of
++   variant codepoints */
++if (! UVCHR_IS_INVARIANT(*ch)) {
++TRIE_BITMAP_SET(trie, 
UTF8_TWO_BYTE_HI(*ch));
++}
++}
+ DEBUG_OPTIMISE_r(
+ PerlIO_printf(Perl_debug_log, "%s", 
(char*)ch)
+ );
+@@ -2973,6 +2980,13 @@ S_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode 
*startbranch,
+   TRIE_BITMAP_SET(trie,*ch);
+   if ( folder )
+   TRIE_BITMAP_SET(trie,folder[ *ch ]);
++if ( !UTF ) {
++/* store first byte of utf8 representation of
++   variant codepoints */
++if (! UVCHR_IS_INVARIANT(*ch)) {
++TRIE_BITMAP_SET(trie, 
UTF8_TWO_BYTE_HI(*ch));
++}
++}
+   DEBUG_OPTIMISE_r(PerlIO_printf( 
Perl_debug_log,"%s", ch));
+   }
+ idx = ofs;
+diff --git a/t/re/pat.t b/t/re/pat.t
+index 3377b19..2f18aa8 100644
+--- a/t/re/pat.t
 b/t/re/pat.t
+@@ -23,7 +23,7 @@ BEGIN {
+ skip_all_without_unicode_tables();
+ }
+ 
+-plan tests => 775;  # Update this when adding/deleting tests.
++plan tests => 777;  # Update this when adding/deleting tests.
+ 
+ run_tests() unless caller;
+ 
+@@ -1708,6 +1708,13 @@ EOP
+   like($error, qr{Reference to nonexistent group},
+   'gave appropriate error for qr{()(?1)}n');
+   }
++
++  {
++  my $str = "a\xE4";
++  ok( $str =~ m{^(a|a\x{e4})$}, "fix [perl #129950] - latin1 
case" );
++  utf8::upgrade($str);
++  ok( $str =~ m{^(a|a\x{e4})$}, "fix [perl #129950] - utf8 case" 
);
++  }
+ } # End of sub run_tests
+ 
+ 1;
+-- 
+2.7.4
+
diff --git a/perl.spec b/perl.spec
index 9197bbb..d81c9a9 100644
--- a/perl.spec

ppisar pushed to perl (f23). "Fix parsing perl options in shell bang line"

2016-11-04 Thread notifications
From 71479c998510e7d192fef68fcd535c90f1c2bc24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 13:11:14 +0100
Subject: Fix parsing perl options in shell bang line

---
 ...336-perl-i-u-erroneously-interpreted-as-u.patch | 92 ++
 perl.spec  |  6 ++
 2 files changed, 98 insertions(+)
 create mode 100644 
perl-5.24.0-rt-129336-perl-i-u-erroneously-interpreted-as-u.patch

diff --git a/perl-5.24.0-rt-129336-perl-i-u-erroneously-interpreted-as-u.patch 
b/perl-5.24.0-rt-129336-perl-i-u-erroneously-interpreted-as-u.patch
new file mode 100644
index 000..7039076
--- /dev/null
+++ b/perl-5.24.0-rt-129336-perl-i-u-erroneously-interpreted-as-u.patch
@@ -0,0 +1,92 @@
+From 03fcc0c44bc7972f2c92736daae5b63d601b7c49 Mon Sep 17 00:00:00 2001
+From: Dan Collins 
+Date: Fri, 23 Sep 2016 01:21:20 -0400
+Subject: [PATCH] [rt #129336] #!perl -i u erroneously interpreted as -u
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.24.0:
+
+commit f54cfdacff1f3744ef08fc70f1f3bc6c7d862e83
+Author: Dan Collins 
+Date:   Fri Sep 23 01:21:20 2016 -0400
+
+[rt #129336] #!perl -i u erroneously interpreted as -u
+
+Perl_moreswitches processes a single switch, and returns a pointer
+to the start of the next switch. It can return either
+the a pointer to the next flag itself:
+
+#!perl -n -p
+   ^ Can point here
+
+Or, to the space before the next "arg":
+
+#!perl -n -p
+ ^ Can point here
+
+(Where the next call to Perl_moreswitches will consume " -".)
+
+In the case of -i[extension], the pointer is by default pointing at
+the space after the end of the argument. The current code tries to
+do the former, by unconditionally advancing the pointer, and then
+advancing it again if it is on a '-'. But that is incorrect:
+
+#!perl -i p
+  ^ Will point here, but that isn't a flag
+
+I could fix this by removing the unconditional s++, and having it
+increment by 2 if *(s+1)=='-', but this work isn't actually
+necessary - it's better to just leave it pointing at the space after
+the argument.
+
+Signed-off-by: Petr Písař 
+---
+ perl.c | 5 -
+ t/op/lex.t | 9 -
+ 2 files changed, 8 insertions(+), 6 deletions(-)
+
+diff --git a/perl.c b/perl.c
+index 228a0d8..5cc7d0b 100644
+--- a/perl.c
 b/perl.c
+@@ -3306,11 +3306,6 @@ Perl_moreswitches(pTHX_ const char *s)
+ 
+   PL_inplace = savepvn(start, s - start);
+   }
+-  if (*s) {
+-  ++s;
+-  if (*s == '-')  /* Additional switches on #! line. */
+-  s++;
+-  }
+   return s;
+ case 'I': /* -I handled both here and in parse_body() */
+   forbid_setid('I', FALSE);
+diff --git a/t/op/lex.t b/t/op/lex.t
+index c515449..9ada592 100644
+--- a/t/op/lex.t
 b/t/op/lex.t
+@@ -7,7 +7,7 @@ use warnings;
+ 
+ BEGIN { chdir 't' if -d 't'; require './test.pl'; }
+ 
+-plan(tests => 25);
++plan(tests => 26);
+ 
+ {
+ no warnings 'deprecated';
+@@ -209,3 +209,10 @@ fresh_perl_is(
+{ stderr => 1 },
+   's;@{<

Re: stats-bodhi license

2016-11-04 Thread Kamil Paral
> On Thu, 2016-11-03 at 14:41 -0700, Adam Williamson wrote:
> > I'm back working on moving fedora-qa to Pagure. I'm now dealing with
> > the 'stats' scripts, and there's a problem: it appears that stats-bodhi
> > has never actually been properly licensed. It has no license header or
> > license text, and AFAICS, never has. I can't simply declare it to be
> > F/OSS licensed, as I didn't write it.
> > 
> > Can Lukas or Kamil give us a license declaration for this code? Thanks!
> 
> There's one other thing without an explicit license, leftover-tagged-
> builds.sh , which was written by Kamil. It's pretty trivial (and maybe
> no longer needed), but if you could declare a license that'd be good.

I think putting GPL2+ on them is a reasonable choice.

The leftover-tagged-builds.sh was I think written during some time that we had 
a lot of issues with Bodhi. I'd probably still keep it there, but yes, we 
haven't needed it lately.
___
qa-devel mailing list -- qa-devel@lists.fedoraproject.org
To unsubscribe send an email to qa-devel-le...@lists.fedoraproject.org


[ANNOUNCE] PackPack - a tool to build packages from git on Travis CI

2016-11-04 Thread Roman Tsisyk
Hi everyone,

I would like to announce the first version of PackPack [1] - a convenient
tool to build RPM and Debian packages from git repositories:

 + Fast reproducible builds using Docker containers
 + Semantic versioning based on annotated git tags
 + Support for all major Linux distributions as targets

PackPack performs all required steps to create Linux packages by the single
command [2]:

~/gitrepo$ OS=fedora DIST=24 packpack# Build for Fedora 24
~/gitrepo$ OS=centos DIST=7 packpack # Build for CentOS 7
~/gitrepo$ OS=debian DIST=stretch packpack   # Build for Debian Stretch
~/gitrepo$ OS=ubuntu DIST=xenial packpack# Build for Ubuntu Xenial

PackPack automatically bumps version in the RPM spec, packs a source tarball,
creates a source RPM and then builds binary packages. You only need to have
a proper RPM spec at `rpm/` and `major.minor` annotated git tag.

This tool works best with GitHub, Travis CI and PackageCloud:

 - Push your code to GitHub
 - Build packages using Travis CI
 - Host repositories on PackageCloud

Feel it like an alternative to `copr`, but hosted on Travis CI and PackageCloud.
It is also possible to use `packpack` locally on your host (see above).

Please see GitHub project [1] and a demo video [3] for additional details.

Your feedback is welcome ;)

[1]: https://github.com/packpack/packpack
[2]: https://asciinema.org/a/3unm4sw4g889ddk7tr0uettbn

--
WBR,
  Roman Tsisyk 
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Proposal to move things from fedora-qa.git to Pagure

2016-11-04 Thread Kamil Paral
> OK, this is all done now, and fedora-qa.git is a mere empty shell with
> a MOVED.md text file. End of an era!

Thanks, Adam.
___
qa-devel mailing list -- qa-devel@lists.fedoraproject.org
To unsubscribe send an email to qa-devel-le...@lists.fedoraproject.org


Fedora 25 compose report: 20161104.n.0 changes

2016-11-04 Thread Fedora Branched Report
OLD: Fedora-25-20161103.n.0
NEW: Fedora-25-20161104.n.0

= SUMMARY =
Added images:0
Dropped images:  1
Added packages:  0
Dropped packages:0
Upgraded packages:   0
Downgraded packages: 0

Size of added packages:  0.00 B
Size of dropped packages:0.00 B
Size of upgraded packages:   0.00 B
Size of downgraded packages: 0.00 B

Size change of upgraded packages:   0.00 B
Size change of downgraded packages: 0.00 B

= ADDED IMAGES =

= DROPPED IMAGES =
Image: KDE raw-xz armhfp
Path: Spins/armhfp/images/Fedora-KDE-armhfp-25-20161103.n.0-sda.raw.xz

= ADDED PACKAGES =

= DROPPED PACKAGES =

= UPGRADED PACKAGES =

= DOWNGRADED PACKAGES =
Broken deps for armhfp
--
[OmegaT]
OmegaT-2.6.3-2.fc22.armv7hl requires hunspell <= 0:1.4.0
[RackTables]
RackTables-0.20.10-7.fc24.noarch requires php-mysql
[asterisk]
asterisk-dahdi-13.9.1-1.fc25.1.armv7hl requires dahdi-tools >= 0:2.0.0
asterisk-dahdi-13.9.1-1.fc25.1.armv7hl requires libtonezone.so.2.0
[beacon]
beacon-0.5-13.fc24.noarch requires php-mysql
[bionetgen]
bionetgen-2.2.6-3.fc25.armv7hl requires libsundials_cvode.so.1
bionetgen-2.2.6-3.fc25.armv7hl requires libsundials_nvecserial.so.0
[collectd]
collectd-onewire-5.6.0-2.fc25.armv7hl requires libowcapi-3.1.so.0
[golang-github-aws-aws-sdk-go]
golang-github-aws-aws-sdk-go-devel-1.1.3-2.fc25.noarch requires 
golang(golang.org/x/tools/go/types)
[golang-github-gonum-matrix]
golang-github-gonum-matrix-devel-0-0.5.gitfb13962.fc25.noarch requires 
golang(github.com/gonum/lapack/lapack64)
[golang-github-kubernetes-heapster]
golang-github-kubernetes-heapster-devel-0.16.1-4.fc25.noarch requires 
golang(github.com/google/cadvisor/client)
golang-github-kubernetes-heapster-devel-0.16.1-4.fc25.noarch requires 
golang(github.com/google/cadvisor/info/v1)
[golang-github-samalba-dockerclient]
golang-github-samalba-dockerclient-devel-0-0.3.gitc37a52f.fc24.noarch 
requires golang(github.com/docker/docker/pkg/timeutils)
[moksha]
moksha-server-1.0.0-11.fc24.noarch requires orbited
[mrbs]
mrbs-1.4.10-4.fc24.noarch requires php-mysql
[nodejs-co-mocha]
nodejs-co-mocha-1.1.2-1.fc25.noarch requires npm(co) >= 0:4.0.0
[nodejs-cross-spawn]
nodejs-cross-spawn-4.0.0-1.fc25.noarch requires npm(lru-cache) >= 
0:4.0.1
[nodejs-grunt-contrib-csslint]
nodejs-grunt-contrib-csslint-0.4.0-6.fc24.noarch requires 
npm(strip-json-comments) < 0:2
[nodejs-npm-stats]
nodejs-npm-stats-1.1.0-3.fc24.noarch requires npm(JSONStream) < 0:1
[nodejs-rc]
nodejs-rc-1.1.6-2.fc24.noarch requires npm(strip-json-comments) < 0:2
[php-magickwand]
php-magickwand-1.0.9.2-9.fc24.armv7hl requires php(api) = 0:20131106-32
php-magickwand-1.0.9.2-9.fc24.armv7hl requires php(zend-abi) = 
0:20131226-32
[php-pecl-cairo]
php-pecl-cairo-0.3.2-11.fc25.armv7hl requires php(api) = 0:20131106-32
php-pecl-cairo-0.3.2-11.fc25.armv7hl requires php(zend-abi) = 
0:20131226-32
[php-pecl-parsekit]
php-pecl-parsekit-1.3.0-10.fc25.armv7hl requires php(api) = 
0:20131106-32
php-pecl-parsekit-1.3.0-10.fc25.armv7hl requires php(zend-abi) = 
0:20131226-32
[php-pecl-runkit]
php-pecl-runkit-1.0.4-3.fc25.armv7hl requires php(api) = 0:20131106-32
php-pecl-runkit-1.0.4-3.fc25.armv7hl requires php(zend-abi) = 
0:20131226-32
[php-pecl-sphinx]
php-pecl-sphinx-1.3.2-6.fc24.armv7hl requires php(api) = 0:20131106-32
php-pecl-sphinx-1.3.2-6.fc24.armv7hl requires php(zend-abi) = 
0:20131226-32
[poweradmin]
poweradmin-2.1.7-1.fc24.noarch requires php-pear(MDB2_Driver_mysql)
[pyqtrailer]
pyqtrailer-0.6.2-10.fc25.noarch requires pytrailer >= 0:0.6.0
[python-ironicclient]
python3-ironicclient-1.3.1-3.fc25.noarch requires 
python3-openstackclient >= 0:2.1.0
[python-pysaml2]
python3-pysaml2-3.0.2-3.fc25.noarch requires python3-pycrypto >= 0:2.5
[python-zope-i18n]
python2-zope-i18n-4.1.0-4.fc25.noarch requires python2-zope-schema
[qutim]
qutim-0.3.2-5.git.6f3a98a.fc23.armv7hl requires libhunspell-1.3.so.0
[rOCCI-server]
rOCCI-server-1.1.9-1.fc25.noarch requires rubygem(rails) < 0:4.3
rOCCI-server-1.1.9-1.fc25.noarch requires rubygem(responders) < 0:2.2
[redland-bindings]
php-redland-1.0.16.1-16.fc25.armv7hl requires php(api) = 0:20131106-32
php-redland-1.0.16.1-16.fc25.armv7hl requires php(zend-abi) = 
0:20131226-32
[sahana]
sahana-0.6.3-10.fc24.noarch requires php-mysql
[syck]
syck-php-0.70-7.20130402.fc24.armv7hl requires php(api) = 0:20131106-32
syck-php-0.70-7.20130402.fc24.armv7hl requires php(zend-abi) = 
0:20131226-32
[system-config-kickstart]
system-config-kickstart-2.9.3-3.fc24.noarch requires 

ppisar pushed to perl (f24). "Fix firstchar bitmap under UTF-8 with prefix optimization"

2016-11-04 Thread notifications
From 296892300c7325612a9b0d9d44ca40ee45a04147 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 13:33:10 +0100
Subject: Fix firstchar bitmap under UTF-8 with prefix optimization

---
 ...ix-perl-129950-fix-firstchar-bitmap-under.patch | 97 ++
 perl.spec  |  8 ++
 2 files changed, 105 insertions(+)
 create mode 100644 
perl-5.22.2-regcomp.c-fix-perl-129950-fix-firstchar-bitmap-under.patch

diff --git 
a/perl-5.22.2-regcomp.c-fix-perl-129950-fix-firstchar-bitmap-under.patch 
b/perl-5.22.2-regcomp.c-fix-perl-129950-fix-firstchar-bitmap-under.patch
new file mode 100644
index 000..5d7c2cc
--- /dev/null
+++ b/perl-5.22.2-regcomp.c-fix-perl-129950-fix-firstchar-bitmap-under.patch
@@ -0,0 +1,97 @@
+From e40804ef8d2f49e588498bcc4bc0ba8e108ac648 Mon Sep 17 00:00:00 2001
+From: Yves Orton 
+Date: Thu, 27 Oct 2016 13:52:24 +0200
+Subject: [PATCH] regcomp.c: fix perl #129950 - fix firstchar bitmap under utf8
+ with prefix optimisation
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.22.2:
+
+commit da42332b10691ba7af7550035ffc7f46c87e4e66
+Author: Yves Orton 
+Date:   Thu Oct 27 13:52:24 2016 +0200
+
+regcomp.c: fix perl #129950 - fix firstchar bitmap under utf8 with prefix 
optimisation
+
+The trie code contains a number of sub optimisations, one of which
+extracts common prefixes from alternations, and another which isa
+bitmap of the possible matching first chars.
+
+The bitmap needs to contain the possible first octets of the string
+which the trie can match, and for codepoints which might have a different
+first octet under utf8 or non-utf8 need to register BOTH codepoints.
+
+So for instance in the pattern (?:a|a\x{E4}) we should restructure this
+as a(|\x{E4), and the bitmap for the trie should contain both \x{E4} AND
+\x{C3} as \x{C3} is the first byte of \x{EF} expressed as utf8.
+
+Signed-off-by: Petr Písař 
+---
+ regcomp.c  | 14 ++
+ t/re/pat.t |  9 -
+ 2 files changed, 22 insertions(+), 1 deletion(-)
+
+diff --git a/regcomp.c b/regcomp.c
+index 9332dea..fcb5147 100644
+--- a/regcomp.c
 b/regcomp.c
+@@ -2965,6 +2965,13 @@ S_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode 
*startbranch,
+ TRIE_BITMAP_SET(trie,*ch);
+ if ( folder )
+ TRIE_BITMAP_SET(trie, folder[ *ch ]);
++if ( !UTF ) {
++/* store first byte of utf8 
representation of
++   variant codepoints */
++if (! UVCHR_IS_INVARIANT(*ch)) {
++TRIE_BITMAP_SET(trie, 
UTF8_TWO_BYTE_HI(*ch));
++}
++}
+ DEBUG_OPTIMISE_r(
+ PerlIO_printf(Perl_debug_log, "%s", 
(char*)ch)
+ );
+@@ -2973,6 +2980,13 @@ S_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode 
*startbranch,
+   TRIE_BITMAP_SET(trie,*ch);
+   if ( folder )
+   TRIE_BITMAP_SET(trie,folder[ *ch ]);
++if ( !UTF ) {
++/* store first byte of utf8 representation of
++   variant codepoints */
++if (! UVCHR_IS_INVARIANT(*ch)) {
++TRIE_BITMAP_SET(trie, 
UTF8_TWO_BYTE_HI(*ch));
++}
++}
+   DEBUG_OPTIMISE_r(PerlIO_printf( 
Perl_debug_log,"%s", ch));
+   }
+ idx = ofs;
+diff --git a/t/re/pat.t b/t/re/pat.t
+index 3377b19..2f18aa8 100644
+--- a/t/re/pat.t
 b/t/re/pat.t
+@@ -23,7 +23,7 @@ BEGIN {
+ skip_all_without_unicode_tables();
+ }
+ 
+-plan tests => 775;  # Update this when adding/deleting tests.
++plan tests => 777;  # Update this when adding/deleting tests.
+ 
+ run_tests() unless caller;
+ 
+@@ -1708,6 +1708,13 @@ EOP
+   like($error, qr{Reference to nonexistent group},
+   'gave appropriate error for qr{()(?1)}n');
+   }
++
++  {
++  my $str = "a\xE4";
++  ok( $str =~ m{^(a|a\x{e4})$}, "fix [perl #129950] - latin1 
case" );
++  utf8::upgrade($str);
++  ok( $str =~ m{^(a|a\x{e4})$}, "fix [perl #129950] - utf8 case" 
);
++  }
+ } # End of sub run_tests
+ 
+ 1;
+-- 
+2.7.4
+
diff --git a/perl.spec b/perl.spec
index 60fb90c..a17c7cb 100644
--- a/perl.spec

ppisar pushed to perl (f24). "Avoid infinite loop in h2xs tool if enum and type have the same name"

2016-11-04 Thread notifications
From c104251b47b537916398f526e40a21844f592c9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 14:49:51 +0100
Subject: Avoid infinite loop in h2xs tool if enum and type have the same name

---
 ...130001-h2xs-avoid-infinite-loop-for-enums.patch | 32 ++
 perl.spec  |  8 ++
 2 files changed, 40 insertions(+)
 create mode 100644 
perl-5.25.6-perl-130001-h2xs-avoid-infinite-loop-for-enums.patch

diff --git a/perl-5.25.6-perl-130001-h2xs-avoid-infinite-loop-for-enums.patch 
b/perl-5.25.6-perl-130001-h2xs-avoid-infinite-loop-for-enums.patch
new file mode 100644
index 000..9b4f197
--- /dev/null
+++ b/perl-5.25.6-perl-130001-h2xs-avoid-infinite-loop-for-enums.patch
@@ -0,0 +1,32 @@
+From 9ce5bf4c39e28441410672f39b5ee1c4569967f8 Mon Sep 17 00:00:00 2001
+From: Hugo van der Sanden 
+Date: Fri, 28 Oct 2016 13:27:23 +0100
+Subject: [PATCH] [perl #130001] h2xs: avoid infinite loop for enums
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+'typedef enum x { ... } x' causes h2xs to enter a substitution loop while
+trying to write the typemap file.
+
+Signed-off-by: Petr Písař 
+---
+ utils/h2xs.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/utils/h2xs.PL b/utils/h2xs.PL
+index 8fda87b..f9063cb 100644
+--- a/utils/h2xs.PL
 b/utils/h2xs.PL
+@@ -1034,7 +1034,7 @@ if( ! $opt_X ){  # use XS, unless it was disabled
+   }
+ }
+ { local $" = '|';
+-  $typedef_rex = qr(\b(? - 4:5.22.2-362
 - Avoid loading optional modules from default . (CVE-2016-1238)
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f24=c104251b47b537916398f526e40a21844f592c9e
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


ppisar pushed to perl (f24). "Fix stack handling when calling chdir without an argument"

2016-11-04 Thread notifications
From fb5031caa542b2fe701ea5d72138c6d9c3a249cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 14:58:16 +0100
Subject: Fix stack handling when calling chdir without an argument

---
 ...30-make-chdir-allocate-the-stack-it-needs.patch | 66 ++
 perl.spec  |  6 ++
 2 files changed, 72 insertions(+)
 create mode 100644 
perl-5.22.2-perl-129130-make-chdir-allocate-the-stack-it-needs.patch

diff --git 
a/perl-5.22.2-perl-129130-make-chdir-allocate-the-stack-it-needs.patch 
b/perl-5.22.2-perl-129130-make-chdir-allocate-the-stack-it-needs.patch
new file mode 100644
index 000..90488e3
--- /dev/null
+++ b/perl-5.22.2-perl-129130-make-chdir-allocate-the-stack-it-needs.patch
@@ -0,0 +1,66 @@
+From 36dc786e5ea4a6d3e85f1f55251b8538fabb8321 Mon Sep 17 00:00:00 2001
+From: Tony Cook 
+Date: Mon, 5 Sep 2016 15:40:11 +1000
+Subject: [PATCH] (perl #129130) make chdir allocate the stack it needs
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.22.2:
+
+commit 92c843fb4b4e1a1e0ac7ec0fe198dc77266838da
+Author: Tony Cook 
+Date:   Mon Sep 5 15:40:11 2016 +1000
+
+(perl #129130) make chdir allocate the stack it needs
+
+chdir with no argument didn't ensure there was stack space available
+for its result.
+
+Signed-off-by: Petr Písař 
+---
+ pp_sys.c | 1 +
+ t/op/chdir.t | 8 +++-
+ 2 files changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/pp_sys.c b/pp_sys.c
+index 1285c75..2171a1a 100644
+--- a/pp_sys.c
 b/pp_sys.c
+@@ -3580,6 +3580,7 @@ PP(pp_chdir)
+   HV * const table = GvHVn(PL_envgv);
+   SV **svp;
+ 
++EXTEND(SP, 1);
+ if ((svp = hv_fetchs(table, "HOME", FALSE))
+  || (svp = hv_fetchs(table, "LOGDIR", FALSE))
+ #ifdef VMS
+diff --git a/t/op/chdir.t b/t/op/chdir.t
+index 813b0ed..f16be41 100644
+--- a/t/op/chdir.t
 b/t/op/chdir.t
+@@ -10,7 +10,7 @@ BEGIN {
+ # possibilities into @INC.
+ unshift @INC, qw(t . lib ../lib);
+ require "./test.pl";
+-plan(tests => 48);
++plan(tests => 49);
+ }
+ 
+ use Config;
+@@ -176,6 +176,12 @@ WARNING
+ }
+ }
+ 
++fresh_perl_is(<<'EOP', '', { stderr => 1 }, "check stack handling");
++for $x (map $_+1, 1 .. 100) {
++  map chdir, 1 .. $x;
++}
++EOP
++
+ my %Saved_Env = ();
+ sub clean_env {
+ foreach my $env (@magic_envs) {
+-- 
+2.7.4
+
diff --git a/perl.spec b/perl.spec
index a10ea4e..eda7db5 100644
--- a/perl.spec
+++ b/perl.spec
@@ -142,6 +142,9 @@ Patch45:
perl-5.22.2-regcomp.c-fix-perl-129950-fix-firstchar-bitmap-under
 # RT#130001, in upstream after 5.25.6
 Patch46:
perl-5.25.6-perl-130001-h2xs-avoid-infinite-loop-for-enums.patch
 
+# Fix stack handling when calling chdir without an argument, RT#129130
+Patch47:
perl-5.22.2-perl-129130-make-chdir-allocate-the-stack-it-needs.patch
+
 # Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
 Patch200:   
perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
 
@@ -2429,6 +2432,7 @@ Perl extension for Version Objects
 %patch44 -p1
 %patch45 -p1
 %patch46 -p1
+%patch47 -p1
 %patch200 -p1
 %patch201 -p1
 
@@ -2467,6 +2471,7 @@ perl -x patchlevel.h \
 'Fedora Patch44: Fix parsing perl options in shell bang line (RT#129336)' \
 'Fedora Patch45: Fix firstchar bitmap under UTF-8 with prefix optimization 
(RT#129950)' \
 'Fedora Patch46: Avoid infinite loop in h2xs tool if enum and type have 
the same name (RT130001)' \
+'Fedora Patch47: Fix stack handling when calling chdir without an argument 
(RT#129130)' \
 'Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on 
Linux' \
 'Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux' \
 %{nil}
@@ -4730,6 +4735,7 @@ popd
 - Fix firstchar bitmap under UTF-8 with prefix optimization (RT#129950)
 - Avoid infinite loop in h2xs tool if enum and type have the same name
   (RT130001)
+- Fix stack handling when calling chdir without an argument (RT#129130)
 
 * Wed Aug 03 2016 Jitka Plesnikova  - 4:5.22.2-362
 - Avoid loading optional modules from default . (CVE-2016-1238)
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f24=fb5031caa542b2fe701ea5d72138c6d9c3a249cd
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


ppisar pushed to perl (f24). "Fix crash in splice"

2016-11-04 Thread notifications
From c97f38aed9528a8e652aa14d0be403205a433cab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 09:45:10 +0100
Subject: Fix crash in splice

---
 perl-5.22.2-perl-129164-Crash-with-splice.patch | 79 +
 perl.spec   |  6 ++
 2 files changed, 85 insertions(+)
 create mode 100644 perl-5.22.2-perl-129164-Crash-with-splice.patch

diff --git a/perl-5.22.2-perl-129164-Crash-with-splice.patch 
b/perl-5.22.2-perl-129164-Crash-with-splice.patch
new file mode 100644
index 000..1d729be
--- /dev/null
+++ b/perl-5.22.2-perl-129164-Crash-with-splice.patch
@@ -0,0 +1,79 @@
+From 5114cc26ed8a68debf3e4ed357f205ddaf99ef15 Mon Sep 17 00:00:00 2001
+From: Father Chrysostomos 
+Date: Sun, 11 Sep 2016 21:29:56 -0700
+Subject: [PATCH] Crash with splice
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.22.2:
+
+commit 92b69f6501b4d7351e09c8b1ddd386aa7e1c9cd1
+Author: Father Chrysostomos 
+Date:   Sun Sep 11 21:29:56 2016 -0700
+
+[perl #129164] Crash with splice
+
+This fixes #129166 and #129167 as well.
+
+splice needs to take into account that arrays can hold NULLs and
+return _sv_undef in those cases where it would have returned a
+NULL element.
+
+Signed-off-by: Petr Písař 
+---
+ pp.c |  4 
+ t/op/array.t | 17 +
+ 2 files changed, 21 insertions(+)
+
+diff --git a/pp.c b/pp.c
+index 3173c5a..996b346 100644
+--- a/pp.c
 b/pp.c
+@@ -5325,6 +5325,8 @@ PP(pp_splice)
+   for (i = length - 1, dst = (ary)[offset]; i > 0; i--)
+   SvREFCNT_dec(*dst++);   /* free them now */
+   }
++  if (!*MARK)
++  *MARK = _sv_undef;
+   }
+   AvFILLp(ary) += diff;
+ 
+@@ -5421,6 +5423,8 @@ PP(pp_splice)
+   while (length-- > 0)
+   SvREFCNT_dec(tmparyval[length]);
+   }
++  if (!*MARK)
++  *MARK = _sv_undef;
+   }
+   else
+   *MARK = _sv_undef;
+diff --git a/t/op/array.t b/t/op/array.t
+index 7239d48..bbdf86c 100644
+--- a/t/op/array.t
 b/t/op/array.t
+@@ -549,4 +549,21 @@ is "@ary", 'b a',
+ for(scalar $#foo) { $_ = 3 }
+ is $#foo, 3, 'assigning to arylen aliased in foreach(scalar $#arylen)';
+ 
++# [perl #129164], [perl #129166], [perl #129167]
++# splice() with null array entries
++# These used to crash.
++$#a = -1; $#a++;
++() = 0-splice @a; # subtract
++$#a = -1; $#a++;
++() =  -splice @a; # negate
++$#a = -1; $#a++;
++() = 0+splice @a; # add
++# And with array expansion, too
++$#a = -1; $#a++;
++() = 0-splice @a, 0, 1, 1, 1;
++$#a = -1; $#a++;
++() =  -splice @a, 0, 1, 1, 1;
++$#a = -1; $#a++;
++() = 0+splice @a, 0, 1, 1, 1;
++
+ "We're included by lib/Tie/Array/std.t so we need to return something true";
+-- 
+2.7.4
+
diff --git a/perl.spec b/perl.spec
index 9e6ceab..e874fc7 100644
--- a/perl.spec
+++ b/perl.spec
@@ -115,6 +115,9 @@ Patch34:
perl-5.25.4-perl-129196-Crash-bad-read-with-evalbytes-S.patch
 Patch35:perl-5.24.0-Regression-test-for-RT-129196.patch
 Patch36:perl-5.25.4-toke.c-fix-mswin32-builds.patch
 
+# Fix crash in splice, RT#129164, RT#129166, RT#129167, in upstream after 
5.25.4
+Patch37:perl-5.22.2-perl-129164-Crash-with-splice.patch
+
 # Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
 Patch200:   
perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
 
@@ -2392,6 +2395,7 @@ Perl extension for Version Objects
 %patch34 -p1
 %patch35 -p1
 %patch36 -p1
+%patch37 -p1
 %patch200 -p1
 %patch201 -p1
 
@@ -2420,6 +2424,7 @@ perl -x patchlevel.h \
 'Fedora Patch34: Fix crash in "evalbytes S" (RT#129196)' \
 'Fedora Patch35: Fix crash in "evalbytes S" (RT#129196)' \
 'Fedora Patch36: Fix crash in "evalbytes S" (RT#129196)' \
+'Fedora Patch37: Fix crash in splice (RT#129164, RT#129166, RT#129167)' \
 'Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on 
Linux' \
 'Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux' \
 %{nil}
@@ -4676,6 +4681,7 @@ popd
 - Fix a crash in lexical scope warnings (RT#128597)
 - Do not mangle errno from failed socket calls (RT#128316)
 - Fix crash in "evalbytes S" (RT#129196)
+- Fix crash in splice (RT#129164, RT#129166, RT#129167)
 
 * Wed Aug 03 2016 Jitka Plesnikova  - 4:5.22.2-362
 - Avoid loading optional modules from default . (CVE-2016-1238)
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f24=c97f38aed9528a8e652aa14d0be403205a433cab
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


ppisar pushed to perl (f24). "Fix parsing perl options in shell bang line"

2016-11-04 Thread notifications
From 2bcc96be968af6c26378a5fff02e786b52b2a18f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 13:11:14 +0100
Subject: Fix parsing perl options in shell bang line

---
 ...336-perl-i-u-erroneously-interpreted-as-u.patch | 92 ++
 perl.spec  |  6 ++
 2 files changed, 98 insertions(+)
 create mode 100644 
perl-5.24.0-rt-129336-perl-i-u-erroneously-interpreted-as-u.patch

diff --git a/perl-5.24.0-rt-129336-perl-i-u-erroneously-interpreted-as-u.patch 
b/perl-5.24.0-rt-129336-perl-i-u-erroneously-interpreted-as-u.patch
new file mode 100644
index 000..7039076
--- /dev/null
+++ b/perl-5.24.0-rt-129336-perl-i-u-erroneously-interpreted-as-u.patch
@@ -0,0 +1,92 @@
+From 03fcc0c44bc7972f2c92736daae5b63d601b7c49 Mon Sep 17 00:00:00 2001
+From: Dan Collins 
+Date: Fri, 23 Sep 2016 01:21:20 -0400
+Subject: [PATCH] [rt #129336] #!perl -i u erroneously interpreted as -u
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.24.0:
+
+commit f54cfdacff1f3744ef08fc70f1f3bc6c7d862e83
+Author: Dan Collins 
+Date:   Fri Sep 23 01:21:20 2016 -0400
+
+[rt #129336] #!perl -i u erroneously interpreted as -u
+
+Perl_moreswitches processes a single switch, and returns a pointer
+to the start of the next switch. It can return either
+the a pointer to the next flag itself:
+
+#!perl -n -p
+   ^ Can point here
+
+Or, to the space before the next "arg":
+
+#!perl -n -p
+ ^ Can point here
+
+(Where the next call to Perl_moreswitches will consume " -".)
+
+In the case of -i[extension], the pointer is by default pointing at
+the space after the end of the argument. The current code tries to
+do the former, by unconditionally advancing the pointer, and then
+advancing it again if it is on a '-'. But that is incorrect:
+
+#!perl -i p
+  ^ Will point here, but that isn't a flag
+
+I could fix this by removing the unconditional s++, and having it
+increment by 2 if *(s+1)=='-', but this work isn't actually
+necessary - it's better to just leave it pointing at the space after
+the argument.
+
+Signed-off-by: Petr Písař 
+---
+ perl.c | 5 -
+ t/op/lex.t | 9 -
+ 2 files changed, 8 insertions(+), 6 deletions(-)
+
+diff --git a/perl.c b/perl.c
+index 228a0d8..5cc7d0b 100644
+--- a/perl.c
 b/perl.c
+@@ -3306,11 +3306,6 @@ Perl_moreswitches(pTHX_ const char *s)
+ 
+   PL_inplace = savepvn(start, s - start);
+   }
+-  if (*s) {
+-  ++s;
+-  if (*s == '-')  /* Additional switches on #! line. */
+-  s++;
+-  }
+   return s;
+ case 'I': /* -I handled both here and in parse_body() */
+   forbid_setid('I', FALSE);
+diff --git a/t/op/lex.t b/t/op/lex.t
+index c515449..9ada592 100644
+--- a/t/op/lex.t
 b/t/op/lex.t
+@@ -7,7 +7,7 @@ use warnings;
+ 
+ BEGIN { chdir 't' if -d 't'; require './test.pl'; }
+ 
+-plan(tests => 25);
++plan(tests => 26);
+ 
+ {
+ no warnings 'deprecated';
+@@ -209,3 +209,10 @@ fresh_perl_is(
+{ stderr => 1 },
+   's;@{<

ppisar pushed to perl (f24). "Fix crash when matching UTF-8 string with non-UTF-8 substrings"

2016-11-04 Thread notifications
From 04a7dad8a701e5c3bf474306ed79dd35172eacc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 12:59:22 +0100
Subject: Fix crash when matching UTF-8 string with non-UTF-8 substrings

---
 ...-anchored-floating-substrings-must-be-utf.patch | 56 ++
 perl.spec  |  7 +++
 2 files changed, 63 insertions(+)
 create mode 100644 
perl-5.22.2-perl-129350-anchored-floating-substrings-must-be-utf.patch

diff --git 
a/perl-5.22.2-perl-129350-anchored-floating-substrings-must-be-utf.patch 
b/perl-5.22.2-perl-129350-anchored-floating-substrings-must-be-utf.patch
new file mode 100644
index 000..3906086
--- /dev/null
+++ b/perl-5.22.2-perl-129350-anchored-floating-substrings-must-be-utf.patch
@@ -0,0 +1,56 @@
+From 23628ae4896040e64261a925d06d8003c61d8bbd Mon Sep 17 00:00:00 2001
+From: Hugo van der Sanden 
+Date: Tue, 4 Oct 2016 14:40:11 +0100
+Subject: [PATCH] anchored/floating substrings must be utf8 if target is
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.22.2:
+
+commit 2814f4b3549f665a6f9203ac9e890ae1e415e0dc
+Author: Hugo van der Sanden 
+Date:   Tue Oct 4 14:40:11 2016 +0100
+
+[perl #129350] anchored/floating substrings must be utf8 if target is
+
+If the target is utf8 and either the anchored or floating substrings
+are not, we need to create utf8 copies to check against. The state
+of the two substrings may not be the same, but we were only testing
+whichever we planned to check first.
+
+Signed-off-by: Petr Písař 
+---
+ regexec.c | 3 ++-
+ t/re/re_tests | 1 +
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/regexec.c b/regexec.c
+index e38c6ca..98df35d 100644
+--- a/regexec.c
 b/regexec.c
+@@ -694,7 +694,8 @@ Perl_re_intuit_start(pTHX_
+ reginfo->poscache_maxiter = 0;
+ 
+ if (utf8_target) {
+-  if (!prog->check_utf8 && prog->check_substr)
++if ((!prog->anchored_utf8 && prog->anchored_substr)
++|| (!prog->float_utf8 && prog->float_substr))
+   to_utf8_substr(prog);
+   check = prog->check_utf8;
+ } else {
+diff --git a/t/re/re_tests b/t/re/re_tests
+index 85ce7f4..c65bcce 100644
+--- a/t/re/re_tests
 b/t/re/re_tests
+@@ -1941,6 +1941,7 @@ A+(*PRUNE)BC(?{})AAABC   y   $&  AAABC
+ .{1}??-   c   -   Nested quantifiers
+ .{1}?+-   c   -   Nested quantifiers
+ (?:.||)(?|)0@ 0@  y   $&  0@  
#  [perl #126405]
++\b\z0*\x{100} .\x{100}n   -   -   # [perl #129350] 
crashed in intuit_start
+ 
+ # Keep these lines at the end of the file
+ # vim: softtabstop=0 noexpandtab
+-- 
+2.7.4
+
diff --git a/perl.spec b/perl.spec
index ec8c893..9d10709 100644
--- a/perl.spec
+++ b/perl.spec
@@ -126,6 +126,10 @@ Patch40:
perl-5.25.4-clean-up-gv_fetchmethod_pvn_flags-rename-nsplit-to-l
 Patch41:
perl-5.25.4-fix-129267-rework-gv_fetchmethod_pvn_flags-separator.patch
 Patch42:
perl-5.25.4-perl-129267-Test-for-gv_fetchmethod-buffer-overrun.patch
 
+# Fix crash when matching UTF-8 string with non-UTF-8 substrings, RT#129350,
+# in upstream after 5.25.5
+Patch43:
perl-5.22.2-perl-129350-anchored-floating-substrings-must-be-utf.patch
+
 # Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
 Patch200:   
perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
 
@@ -2409,6 +2413,7 @@ Perl extension for Version Objects
 %patch40 -p1
 %patch41 -p1
 %patch42 -p1
+%patch43 -p1
 %patch200 -p1
 %patch201 -p1
 
@@ -2443,6 +2448,7 @@ perl -x patchlevel.h \
 'Fedora Patch40: Fix string overrun in Perl_gv_fetchmethod_pvn_flags 
(RT#129267)' \
 'Fedora Patch41: Fix string overrun in Perl_gv_fetchmethod_pvn_flags 
(RT#129267)' \
 'Fedora Patch42: Fix string overrun in Perl_gv_fetchmethod_pvn_flags 
(RT#129267)' \
+'Fedora Patch43: Fix crash when matching UTF-8 string with non-UTF-8 
substrings (RT#129350)' \
 'Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on 
Linux' \
 'Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux' \
 %{nil}
@@ -4701,6 +4707,7 @@ popd
 - Fix crash in "evalbytes S" (RT#129196)
 - Fix crash in splice (RT#129164, RT#129166, RT#129167)
 - Fix string overrun in Perl_gv_fetchmethod_pvn_flags (RT#129267)
+- Fix crash when matching UTF-8 string with non-UTF-8 substrings (RT#129350)
 
 * Wed Aug 03 2016 Jitka Plesnikova  - 4:5.22.2-362
 - Avoid loading optional modules from default . (CVE-2016-1238)
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f24=04a7dad8a701e5c3bf474306ed79dd35172eacc2
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To 

ppisar pushed to perl (f24). "Fix crash in "evalbytes S""

2016-11-04 Thread notifications
From 5d6a5ae819151fb0727547adb812bc0faa500983 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 09:16:29 +0100
Subject: Fix crash in "evalbytes S"

---
 perl-5.24.0-Regression-test-for-RT-129196.patch| 45 +
 ...rl-129196-Crash-bad-read-with-evalbytes-S.patch | 37 +
 perl-5.25.4-toke.c-fix-mswin32-builds.patch| 46 ++
 perl.spec  | 12 ++
 4 files changed, 140 insertions(+)
 create mode 100644 perl-5.24.0-Regression-test-for-RT-129196.patch
 create mode 100644 
perl-5.25.4-perl-129196-Crash-bad-read-with-evalbytes-S.patch
 create mode 100644 perl-5.25.4-toke.c-fix-mswin32-builds.patch

diff --git a/perl-5.24.0-Regression-test-for-RT-129196.patch 
b/perl-5.24.0-Regression-test-for-RT-129196.patch
new file mode 100644
index 000..23beb36
--- /dev/null
+++ b/perl-5.24.0-Regression-test-for-RT-129196.patch
@@ -0,0 +1,45 @@
+From a51d828a6d402f30f37707c714de218f6b47dbd8 Mon Sep 17 00:00:00 2001
+From: Dan Collins 
+Date: Sun, 4 Sep 2016 14:43:41 -0400
+Subject: [PATCH] Regression test for RT #129196
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.24.0:
+
+commit a6128716d2cc20147851e0a37768376647bd3242
+Author: Dan Collins 
+Date:   Sun Sep 4 14:43:41 2016 -0400
+
+Regression test for RT #129196
+
+Signed-off-by: Petr Písař 
+---
+ t/op/evalbytes.t | 6 +-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/t/op/evalbytes.t b/t/op/evalbytes.t
+index cca7c04..5e2af76 100644
+--- a/t/op/evalbytes.t
 b/t/op/evalbytes.t
+@@ -6,7 +6,7 @@ BEGIN {
+ require './test.pl'; require './charset_tools.pl';
+ }
+ 
+-plan(tests => 8);
++plan(tests => 9);
+ 
+ {
+ local $SIG{__WARN__} = sub {};
+@@ -33,3 +33,7 @@ chop($upcode = "use utf8; $U_100" . chr 256);
+ is evalbytes $upcode, chr 256, 'use utf8 within evalbytes on utf8 string';
+ eval { evalbytes chr 256 };
+ like $@, qr/Wide character/, 'evalbytes croaks on non-bytes';
++
++eval 'evalbytes S';
++ok 1, '[RT #129196] evalbytes S should not segfault';
++
+-- 
+2.7.4
+
diff --git a/perl-5.25.4-perl-129196-Crash-bad-read-with-evalbytes-S.patch 
b/perl-5.25.4-perl-129196-Crash-bad-read-with-evalbytes-S.patch
new file mode 100644
index 000..e224f30
--- /dev/null
+++ b/perl-5.25.4-perl-129196-Crash-bad-read-with-evalbytes-S.patch
@@ -0,0 +1,37 @@
+From 9bde56224e82f20e7a65b3469b1ffb6b9f6d4df8 Mon Sep 17 00:00:00 2001
+From: Father Chrysostomos 
+Date: Sun, 4 Sep 2016 20:24:19 -0700
+Subject: [PATCH] =?UTF-8?q?[perl=20#129196]=20Crash/bad=20read=20with=20?=
+ =?UTF-8?q?=E2=80=98evalbytes=20S=E2=80=99?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+5dc13276 added some code to toke.c that did not take into account
+that the opnum (‘f’) argument to UNI* could be a negated op number.
+PL_last_lop_op must never be negative, since it is used as an offset
+into a struct.
+
+Tests for the crash will come in the next commit.
+
+Signed-off-by: Petr Písař 
+---
+ toke.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/toke.c b/toke.c
+index 2fe8b69..2350703 100644
+--- a/toke.c
 b/toke.c
+@@ -241,7 +241,7 @@ static const char* const lex_state_names[] = {
+   if (have_x) PL_expect = x; \
+   PL_bufptr = s; \
+   PL_last_uni = PL_oldbufptr; \
+-  PL_last_lop_op = f; \
++  PL_last_lop_op = f < 0 ? -f : f; \
+   if (*s == '(') \
+   return REPORT( (int)FUNC1 ); \
+   s = skipspace(s); \
+-- 
+2.7.4
+
diff --git a/perl-5.25.4-toke.c-fix-mswin32-builds.patch 
b/perl-5.25.4-toke.c-fix-mswin32-builds.patch
new file mode 100644
index 000..5b066c8
--- /dev/null
+++ b/perl-5.25.4-toke.c-fix-mswin32-builds.patch
@@ -0,0 +1,46 @@
+From 0af40c757f083cc12988effb46da5313cd042f00 Mon Sep 17 00:00:00 2001
+From: David Mitchell 
+Date: Mon, 5 Sep 2016 15:49:28 +0100
+Subject: [PATCH] toke.c: fix mswin32 builds
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+9bde56224 added this as part of macro:
+
+-  PL_last_lop_op = f; \
++  PL_last_lop_op = f < 0 ? -f : f; \
+
+which broke win32 builds due to this
+
+UNIBRACK(-OP_ENTEREVAL)
+
+expanding to
+
+PL_last_lop_op = -345 < 0 ? --345 : -345
+
+and the -- being seen as a pre-dec op.
+
+Diagnosed by Dagfinn Ilmari Mannsåker.
+
+Signed-off-by: Petr Písař 
+---
+ toke.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/toke.c b/toke.c
+index 2350703..a1cdda8 100644
+--- a/toke.c
 b/toke.c
+@@ -241,7 +241,7 @@ static const char* const lex_state_names[] = {
+   if (have_x) PL_expect = x; \
+   PL_bufptr = s; \
+   PL_last_uni = PL_oldbufptr; \
+-  

ppisar pushed to perl (f24). "Fix string overrun in Perl_gv_fetchmethod_pvn_flags"

2016-11-04 Thread notifications
From be3f0bf7eb70e9a4ee1e54a9e6c7d8a6bb641d90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 3 Nov 2016 10:33:05 +0100
Subject: Fix string overrun in Perl_gv_fetchmethod_pvn_flags

---
 ..._fetchmethod_pvn_flags-introduce-name_end.patch | 94 ++
 ..._fetchmethod_pvn_flags-move-origname-init.patch | 32 
 ..._fetchmethod_pvn_flags-rename-nsplit-to-l.patch | 92 +
 ...rework-gv_fetchmethod_pvn_flags-separator.patch | 81 +++
 ...67-Test-for-gv_fetchmethod-buffer-overrun.patch | 44 ++
 perl.spec  | 19 +
 6 files changed, 362 insertions(+)
 create mode 100644 
perl-5.24.0-clean-up-gv_fetchmethod_pvn_flags-introduce-name_end.patch
 create mode 100644 
perl-5.25.4-clean-up-gv_fetchmethod_pvn_flags-move-origname-init.patch
 create mode 100644 
perl-5.25.4-clean-up-gv_fetchmethod_pvn_flags-rename-nsplit-to-l.patch
 create mode 100644 
perl-5.25.4-fix-129267-rework-gv_fetchmethod_pvn_flags-separator.patch
 create mode 100644 
perl-5.25.4-perl-129267-Test-for-gv_fetchmethod-buffer-overrun.patch

diff --git 
a/perl-5.24.0-clean-up-gv_fetchmethod_pvn_flags-introduce-name_end.patch 
b/perl-5.24.0-clean-up-gv_fetchmethod_pvn_flags-introduce-name_end.patch
new file mode 100644
index 000..801
--- /dev/null
+++ b/perl-5.24.0-clean-up-gv_fetchmethod_pvn_flags-introduce-name_end.patch
@@ -0,0 +1,94 @@
+From af04cb4d2503c5c75d2229e232b8a0bd5c210084 Mon Sep 17 00:00:00 2001
+From: Yves Orton 
+Date: Tue, 13 Sep 2016 23:06:07 +0200
+Subject: [PATCH] clean up gv_fetchmethod_pvn_flags: introduce name_end
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.24.0:
+
+commit 65308f87d02a1900e59f0002fa94c855d4d4c5df
+Author: Yves Orton 
+Date:   Tue Sep 13 23:06:07 2016 +0200
+
+clean up gv_fetchmethod_pvn_flags: introduce name_end
+
+nend is used for too many things, this replaces various
+uses of nend with name_end, which is constant.
+
+this is a first step to fixing [perl #129267], which shouldnt
+change any behavior
+
+Signed-off-by: Petr Písař 
+---
+ gv.c | 14 --
+ 1 file changed, 8 insertions(+), 6 deletions(-)
+
+diff --git a/gv.c b/gv.c
+index 28396de..d738bf0 100644
+--- a/gv.c
 b/gv.c
+@@ -1014,6 +1014,8 @@ Perl_gv_fetchmethod_pv_flags(pTHX_ HV *stash, const char 
*name, U32 flags)
+ GV *
+ Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const char *name, const STRLEN 
len, U32 flags)
+ {
++const char * const origname = name;
++const char * const name_end = name + len;
+ const char *nend;
+ const char *nsplit = NULL;
+ GV* gv;
+@@ -1034,7 +1036,7 @@ Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const 
char *name, const STRLEN le
+  the error reporting code.  */
+ }
+ 
+-for (nend = name; *nend || nend != (origname + len); nend++) {
++for (nend = name; *nend || nend != name_end; nend++) {
+   if (*nend == '\'') {
+   nsplit = nend;
+   name = nend + 1;
+@@ -1065,13 +1067,13 @@ Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const 
char *name, const STRLEN le
+   ostash = stash;
+ }
+ 
+-gv = gv_fetchmeth_pvn(stash, name, nend - name, 0, flags);
++gv = gv_fetchmeth_pvn(stash, name, name_end - name, 0, flags);
+ if (!gv) {
+   if (strEQ(name,"import") || strEQ(name,"unimport"))
+   gv = MUTABLE_GV(_sv_yes);
+   else if (autoload)
+   gv = gv_autoload_pvn(
+-  ostash, name, nend - name, GV_AUTOLOAD_ISMETHOD|flags
++  ostash, name, name_end - name, GV_AUTOLOAD_ISMETHOD|flags
+   );
+   if (!gv && do_croak) {
+   /* Right now this is exclusively for the benefit of S_method_common
+@@ -1087,14 +1089,14 @@ Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const 
char *name, const STRLEN le
+  HV_FETCH_ISEXISTS, NULL, 0)
+   ) {
+   require_pv("IO/File.pm");
+-  gv = gv_fetchmeth_pvn(stash, name, nend - name, 0, flags);
++  gv = gv_fetchmeth_pvn(stash, name, name_end - name, 0, 
flags);
+   if (gv)
+   return gv;
+   }
+   Perl_croak(aTHX_
+  "Can't locate object method \"%"UTF8f
+  "\" via package \"%"HEKf"\"",
+-  UTF8fARG(is_utf8, nend - name, name),
++  UTF8fARG(is_utf8, name_end - name, name),
+ HEKfARG(HvNAME_HEK(stash)));
+   }
+   else {
+@@ -,7 +1113,7 @@ Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const 
char *name, const STRLEN le
+  "Can't locate object method \"%"UTF8f
+  "\" via package 

ppisar pushed to perl (f24). "perl-Unicode-Collate license corrected to ((GPL+ or Artistic) and Unicode) (..more)"

2016-11-04 Thread notifications
From a8fc8833db6261c8e4c3775841ad3e0b0786e353 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Mon, 19 Sep 2016 16:16:29 +0200
Subject: perl-Unicode-Collate license corrected to ((GPL+ or Artistic) and
 Unicode)

The file links to  that
mathcces "Unicode" license (except the (c) paragraph).
---
 perl.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/perl.spec b/perl.spec
index d5ac0d6..39976a0 100644
--- a/perl.spec
+++ b/perl.spec
@@ -2317,7 +2317,7 @@ hashes and hash refs.
 %package Unicode-Collate
 Summary:Unicode Collation Algorithm
 Group:  Development/Libraries
-License:(GPL+ or Artistic) and UCD
+License:(GPL+ or Artistic) and Unicode
 Epoch:  0
 Version:1.12
 Requires:   %perl_compat
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f24=a8fc8833db6261c8e4c3775841ad3e0b0786e353
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


ppisar pushed to perl (f24). "Add Artistic 2.0 into perl-Encode license tag because of encguess tool"

2016-11-04 Thread notifications
From f5a25d6db200be3d0b4ae4f2738859ccad282a76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Fri, 16 Sep 2016 11:07:32 +0200
Subject: Add Artistic 2.0 into perl-Encode license tag because of encguess
 tool

---
 perl.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/perl.spec b/perl.spec
index aca30b9..d5ac0d6 100644
--- a/perl.spec
+++ b/perl.spec
@@ -827,7 +827,7 @@ module can handle all types of input, including 
partial-byte data.
 %package Encode
 Summary:Character encodings in Perl
 Group:  Development/Libraries
-License:(GPL+ or Artistic) and UCD
+License:(GPL+ or Artistic) and Artistic 2.0 and UCD
 Epoch:  3
 Version:2.72
 Requires:   %perl_compat
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f24=f5a25d6db200be3d0b4ae4f2738859ccad282a76
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


ppisar pushed to perl (f24). "Fix a crash in lexical scope warnings"

2016-11-04 Thread notifications
From a0f4e270b14b13781a0f1ecc6bc06fd672e4067c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 12 Jul 2016 12:50:33 +0200
Subject: Fix a crash in lexical scope warnings

---
 ...2-perl-128597-Crash-from-gp_free-ckWARN_d.patch | 101 +
 perl.spec  |  10 +-
 2 files changed, 110 insertions(+), 1 deletion(-)
 create mode 100644 perl-5.22.2-perl-128597-Crash-from-gp_free-ckWARN_d.patch

diff --git a/perl-5.22.2-perl-128597-Crash-from-gp_free-ckWARN_d.patch 
b/perl-5.22.2-perl-128597-Crash-from-gp_free-ckWARN_d.patch
new file mode 100644
index 000..9eed744
--- /dev/null
+++ b/perl-5.22.2-perl-128597-Crash-from-gp_free-ckWARN_d.patch
@@ -0,0 +1,101 @@
+From 31321d9c337d50cc8ead96ffacc82c90999ecef0 Mon Sep 17 00:00:00 2001
+From: Father Chrysostomos 
+Date: Mon, 11 Jul 2016 14:49:17 -0700
+Subject: [PATCH] Crash from gp_free/ckWARN_d
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ported to 5.22.2:
+
+commit a2637ca0a3fec01b80d7ea5ba62802354fd5e6f3
+Author: Father Chrysostomos 
+Date:   Mon Jul 11 14:49:17 2016 -0700
+
+[perl #128597] Crash from gp_free/ckWARN_d
+
+See the explanation in the test added and in the RT ticket.
+
+The solution is to make the warn macros check that PL_curcop
+is non-null.
+
+Signed-off-by: Petr Písař 
+---
+ regen/warnings.pl |  6 --
+ t/op/gv.t | 18 +-
+ warnings.h|  6 --
+ 3 files changed, 25 insertions(+), 5 deletions(-)
+
+diff --git a/regen/warnings.pl b/regen/warnings.pl
+index 694cb03..85e6d5a 100644
+--- a/regen/warnings.pl
 b/regen/warnings.pl
+@@ -362,8 +362,10 @@ EOM
+ 
+   print $warn <<'EOM';
+ 
+-#define isLEXWARN_on  (PL_curcop->cop_warnings != pWARN_STD)
+-#define isLEXWARN_off (PL_curcop->cop_warnings == pWARN_STD)
++#define isLEXWARN_on \
++  (PL_curcop && PL_curcop->cop_warnings != pWARN_STD)
++#define isLEXWARN_off \
++  (!PL_curcop || PL_curcop->cop_warnings == pWARN_STD)
+ #define isWARN_ONCE   (PL_dowarn & (G_WARN_ON|G_WARN_ONCE))
+ #define isWARN_on(c,x)(IsSet((U8 *)(c + 1), 2*(x)))
+ #define isWARNf_on(c,x)   (IsSet((U8 *)(c + 1), 2*(x)+1))
+diff --git a/t/op/gv.t b/t/op/gv.t
+index 2c9cc64..0cb8ebe 100644
+--- a/t/op/gv.t
 b/t/op/gv.t
+@@ -12,7 +12,7 @@ BEGIN {
+ 
+ use warnings;
+ 
+-plan(tests => 276 );
++plan(tests => 277 );
+ 
+ # type coercion on assignment
+ $foo = 'foo';
+@@ -1150,6 +1150,22 @@ pass "No crash due to CvGV pointing to glob copy in the 
stash";
+ is($c_125840, 1, 'RT #125840: $c=$d');
+ }
+ 
++# [perl #128597] Crash when gp_free calls ckWARN_d
++# I am not sure this test even belongs in this file, as the crash was the
++# result of various features interacting.  But a call to ckWARN_d from
++# gv.c:gp_free triggered the crash, so this seems as good a place as any.
++# ‘die’ (or any abnormal scope exit) can cause the current cop to be freed,
++# if the subroutine containing the ‘die’ gets freed as a result.  That
++# causes PL_curcop to be set to NULL.  If a writable handle gets freed
++# while PL_curcop is NULL, then gp_free will call ckWARN_d while that con-
++# dition still holds, so ckWARN_d needs to know about PL_curcop possibly
++# being NULL.
++SKIP: {
++skip_if_miniperl("No PerlIO::scalar on miniperl", 1);
++runperl(prog => 'open my $fh, q|>|, \$buf;'
++   .'my $sub = eval q|sub {exit 0}|; $sub->()');
++is ($? & 127, 0,"[perl #128597] No crash when gp_free calls ckWARN_d");
++}
+ 
+ __END__
+ Perl
+diff --git a/warnings.h b/warnings.h
+index 24fe243..b0a0eb4 100644
+--- a/warnings.h
 b/warnings.h
+@@ -117,8 +117,10 @@
+ #define WARN_ALLstring 
"\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125"
+ #define WARN_NONEstring
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
+ 
+-#define isLEXWARN_on  (PL_curcop->cop_warnings != pWARN_STD)
+-#define isLEXWARN_off (PL_curcop->cop_warnings == pWARN_STD)
++#define isLEXWARN_on \
++  (PL_curcop && PL_curcop->cop_warnings != pWARN_STD)
++#define isLEXWARN_off \
++  (!PL_curcop || PL_curcop->cop_warnings == pWARN_STD)
+ #define isWARN_ONCE   (PL_dowarn & (G_WARN_ON|G_WARN_ONCE))
+ #define isWARN_on(c,x)(IsSet((U8 *)(c + 1), 2*(x)))
+ #define isWARNf_on(c,x)   (IsSet((U8 *)(c + 1), 2*(x)+1))
+-- 
+2.7.4
+
diff --git a/perl.spec b/perl.spec
index 86a4d04..13132a2 100644
--- a/perl.spec
+++ b/perl.spec
@@ -29,7 +29,7 @@
 Name:   perl
 Version:%{perl_version}
 # release number must be even higher, because dual-lived modules will be 
broken otherwise
-Release:362%{?dist}
+Release:363%{?dist}
 Epoch:  %{perl_epoch}
 Summary:Practical Extraction and Report Language
 Group:  Development/Languages
@@ -103,6 +103,9 @@ Patch30:

ppisar pushed to perl (f24). "Do not mangle errno from failed socket call"

2016-11-04 Thread notifications
From bf1e93571130d447b5314c4325377cc8b4037f6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Thu, 16 Jun 2016 08:18:38 +0200
Subject: Do not mangle errno from failed socket call

---
 ...6-preserve-errno-from-failed-system-calls.patch | 73 ++
 perl.spec  |  7 +++
 2 files changed, 80 insertions(+)
 create mode 100644 
perl-5.25.1-perl-128316-preserve-errno-from-failed-system-calls.patch

diff --git 
a/perl-5.25.1-perl-128316-preserve-errno-from-failed-system-calls.patch 
b/perl-5.25.1-perl-128316-preserve-errno-from-failed-system-calls.patch
new file mode 100644
index 000..df7a173
--- /dev/null
+++ b/perl-5.25.1-perl-128316-preserve-errno-from-failed-system-calls.patch
@@ -0,0 +1,73 @@
+From 3f6b66c14467c0f8c7459e32c576618155ca89f3 Mon Sep 17 00:00:00 2001
+From: Tony Cook 
+Date: Thu, 16 Jun 2016 14:08:18 +1000
+Subject: [PATCH] (perl #128316) preserve errno from failed system calls
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Petr Písař 
+---
+ pp_sys.c  |  4 ++--
+ t/io/socket.t | 22 ++
+ 2 files changed, 24 insertions(+), 2 deletions(-)
+
+diff --git a/pp_sys.c b/pp_sys.c
+index 33cba46..3bf2673 100644
+--- a/pp_sys.c
 b/pp_sys.c
+@@ -2497,7 +2497,6 @@ PP(pp_socket)
+ TAINT_PROPER("socket");
+ fd = PerlSock_socket(domain, type, protocol);
+ if (fd < 0) {
+-SETERRNO(EBADF,RMS_IFI);
+   RETPUSHUNDEF;
+ }
+ IoIFP(io) = PerlIO_fdopen(fd, "r"SOCKET_OPEN_MODE);   /* stdio gets 
confused about sockets */
+@@ -3531,8 +3530,9 @@ PP(pp_fttext)
+ }
+   PL_laststatval = PerlLIO_fstat(fd, _statcache);
+   if (PL_laststatval < 0) {
++dSAVE_ERRNO;
+   (void)PerlIO_close(fp);
+-SETERRNO(EBADF,RMS_IFI);
++RESTORE_ERRNO;
+   FT_RETURNUNDEF;
+   }
+   PerlIO_binmode(aTHX_ fp, '<', O_BINARY, NULL);
+diff --git a/t/io/socket.t b/t/io/socket.t
+index b51079a..54e4438 100644
+--- a/t/io/socket.t
 b/t/io/socket.t
+@@ -128,6 +128,28 @@ SKIP: {
+ }
+ }
+ 
++SKIP:
++{
++eval { require Errno; defined ::EMFILE }
++  or skip "Can't load Errno or EMFILE not defined", 1;
++my @socks;
++my $sock_limit = 1000; # don't consume every file in the system
++# Default limits on various systems I have:
++#  65536 - Linux
++#256 - Solaris
++#128 - NetBSD
++#256 - Cygwin
++#256 - darwin
++while (@socks < $sock_limit) {
++socket my $work, PF_INET, SOCK_STREAM, $tcp
++  or last;
++push @socks, $work;
++}
++@socks == $sock_limit
++  and skip "Didn't run out of open handles", 1;
++is(0+$!, Errno::EMFILE(), "check correct errno for too many files");
++}
++
+ done_testing();
+ 
+ my @child_tests;
+-- 
+2.5.5
+
diff --git a/perl.spec b/perl.spec
index 13132a2..aca30b9 100644
--- a/perl.spec
+++ b/perl.spec
@@ -106,6 +106,10 @@ Patch31:
perl-5.22.2-CVE-2016-1238-maint-5.22-dot-in-inc.patch
 # Fix a crash in lexical scope warnings, RT#128597, in upstream after 5.25.2
 Patch32:perl-5.22.2-perl-128597-Crash-from-gp_free-ckWARN_d.patch
 
+# Do not mangle errno from failed socket calls, RT#128316,
+# in upstream after 5.25.1
+Patch33:
perl-5.25.1-perl-128316-preserve-errno-from-failed-system-calls.patch
+
 # Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
 Patch200:   
perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
 
@@ -2379,6 +2383,7 @@ Perl extension for Version Objects
 %patch30 -p1
 %patch31 -p1
 %patch32 -p1
+%patch33 -p1
 %patch200 -p1
 %patch201 -p1
 
@@ -2403,6 +2408,7 @@ perl -x patchlevel.h \
 'Fedora Patch30: Do not let XSLoader load relative paths (CVE-2016-6185)' \
 'Fedora Patch31: Avoid loading optional modules from default . 
(CVE-2016-1238)' \
 'Fedora Patch32: Fix a crash in lexical scope warnings (RT#128597)' \
+'Fedora Patch33: Do not mangle errno from failed socket calls (RT#128316)' 
\
 'Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on 
Linux' \
 'Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux' \
 %{nil}
@@ -4657,6 +4663,7 @@ popd
 %changelog
 * Fri Nov 04 2016 Petr Pisar  - 4:5.22.2-363
 - Fix a crash in lexical scope warnings (RT#128597)
+- Do not mangle errno from failed socket calls (RT#128316)
 
 * Wed Aug 03 2016 Jitka Plesnikova  - 4:5.22.2-362
 - Avoid loading optional modules from default . (CVE-2016-1238)
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f24=bf1e93571130d447b5314c4325377cc8b4037f6e
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to 

Re: Many directories without owning packages

2016-11-04 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Nov 01, 2016 at 10:51:18PM +0100, Dridi Boukelmoune wrote:
> [1] https://paste.fedoraproject.org/467731/14780369/

systemd-229-16.fc24.x86_64
|-- /etc/dbus-1/system.d/org.freedesktop.hostname1.conf
|-- /etc/dbus-1/system.d/org.freedesktop.locale1.conf
|-- /etc/dbus-1/system.d/org.freedesktop.login1.conf
|-- /etc/dbus-1/system.d/org.freedesktop.network1.conf
|-- /etc/dbus-1/system.d/org.freedesktop.resolve1.conf
|-- /etc/dbus-1/system.d/org.freedesktop.systemd1.conf
|-- /etc/dbus-1/system.d/org.freedesktop.timedate1.conf
|-- /usr/share/factory/etc/nsswitch.conf
|-- /usr/share/factory/etc/pam.d/other
'-- /usr/share/factory/etc/pam.d/system-auth
systemd-container-229-16.fc24.x86_64
|-- /etc/dbus-1/system.d/org.freedesktop.import1.conf
'-- /etc/dbus-1/system.d/org.freedesktop.machine1.conf

Fixed in systemd-232-2.fc26.

Zbyszek
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


eseyman pushed to perl-DBICx-AutoDoc (f24). "Initial import."

2016-11-04 Thread notifications
From c36124fd194547f5e443d1bca9270455a3771c61 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman 
Date: Fri, 4 Nov 2016 14:26:31 +0100
Subject: Initial import.

---
 .gitignore  |  1 +
 perl-DBICx-AutoDoc.spec | 82 +
 sources |  1 +
 3 files changed, 84 insertions(+)
 create mode 100644 perl-DBICx-AutoDoc.spec

diff --git a/.gitignore b/.gitignore
index e69de29..1f1525f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/DBICx-AutoDoc-0.08.tar.gz
diff --git a/perl-DBICx-AutoDoc.spec b/perl-DBICx-AutoDoc.spec
new file mode 100644
index 000..f854d46
--- /dev/null
+++ b/perl-DBICx-AutoDoc.spec
@@ -0,0 +1,82 @@
+Name:   perl-DBICx-AutoDoc
+Version:0.08
+Release:3%{?dist}
+Summary:Generate automatic documentation of DBIx::Class::Schema objects
+License:GPL+ or Artistic
+
+URL:http://search.cpan.org/dist/DBICx-AutoDoc/
+Source0:
http://www.cpan.org/authors/id/I/IL/ILMARI/DBICx-AutoDoc-%{version}.tar.gz
+
+BuildArch:  noarch
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl-generators
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Module::Install::ExtraTests)
+BuildRequires:  perl(Module::Install::Metadata)
+BuildRequires:  perl(Module::Install::Scripts)
+BuildRequires:  perl(Module::Install::WriteAll)
+BuildRequires:  perl(Module::Install::AutoInstall)
+BuildRequires:  perl(Module::Install::Share)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Class::Accessor::Grouped)
+BuildRequires:  perl(CPAN)
+BuildRequires:  perl(Data::Dump)
+BuildRequires:  perl(DBIx::Class)
+BuildRequires:  perl(DBIx::Class::Relationship::Helpers)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(File::ShareDir) >= 1.00
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(Pod::Usage)
+BuildRequires:  perl(Template)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Tie::IxHash)
+BuildRequires:  perl(base)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+
+%{?perl_default_filter}
+
+%description
+DBICx::AutoDoc is a utility that can automatically generate documentation
+for your DBIx::Class schemas. It works by collecting information from
+several sources and arranging it into a format that makes it easier to deal
+with from templates.
+
+%prep
+%setup -q -n DBICx-AutoDoc-%{version}
+# Remove bundled modules
+rm -r ./inc
+sed -i -e '/^inc\//d' MANIFEST
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{_bindir}/dbicx-autodoc
+%{_mandir}/man1/dbicx-autodoc.1.gz
+%{_mandir}/man3/*
+%{perl_vendorlib}/*
+
+%changelog
+* Thu Nov 03 2016 Emmanuel Seyman  - 0.08-3
+- Take into account review feedback (#1391291)
+
+* Thu Oct 20 2016 Emmanuel Seyman  - 0.08-2
+- Add perl-generators as BuildRequires
+
+* Mon Jul 27 2015 Emmanuel Seyman  - 0.08-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..7c0e5a1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c81d1f3e657349fad7ab588b82841fc5  DBICx-AutoDoc-0.08.tar.gz
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl-DBICx-AutoDoc.git/commit/?h=f24=c36124fd194547f5e443d1bca9270455a3771c61
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


eseyman uploaded DBICx-AutoDoc-0.08.tar.gz for perl-DBICx-AutoDoc

2016-11-04 Thread notifications
c81d1f3e657349fad7ab588b82841fc5  DBICx-AutoDoc-0.08.tar.gz

http://pkgs.fedoraproject.org/lookaside/pkgs/perl-DBICx-AutoDoc/DBICx-AutoDoc-0.08.tar.gz/md5/c81d1f3e657349fad7ab588b82841fc5/DBICx-AutoDoc-0.08.tar.gz
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


eseyman pushed to perl-DBICx-AutoDoc (f25). "Initial import."

2016-11-04 Thread notifications
From c36124fd194547f5e443d1bca9270455a3771c61 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman 
Date: Fri, 4 Nov 2016 14:26:31 +0100
Subject: Initial import.

---
 .gitignore  |  1 +
 perl-DBICx-AutoDoc.spec | 82 +
 sources |  1 +
 3 files changed, 84 insertions(+)
 create mode 100644 perl-DBICx-AutoDoc.spec

diff --git a/.gitignore b/.gitignore
index e69de29..1f1525f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/DBICx-AutoDoc-0.08.tar.gz
diff --git a/perl-DBICx-AutoDoc.spec b/perl-DBICx-AutoDoc.spec
new file mode 100644
index 000..f854d46
--- /dev/null
+++ b/perl-DBICx-AutoDoc.spec
@@ -0,0 +1,82 @@
+Name:   perl-DBICx-AutoDoc
+Version:0.08
+Release:3%{?dist}
+Summary:Generate automatic documentation of DBIx::Class::Schema objects
+License:GPL+ or Artistic
+
+URL:http://search.cpan.org/dist/DBICx-AutoDoc/
+Source0:
http://www.cpan.org/authors/id/I/IL/ILMARI/DBICx-AutoDoc-%{version}.tar.gz
+
+BuildArch:  noarch
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl-generators
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Module::Install::ExtraTests)
+BuildRequires:  perl(Module::Install::Metadata)
+BuildRequires:  perl(Module::Install::Scripts)
+BuildRequires:  perl(Module::Install::WriteAll)
+BuildRequires:  perl(Module::Install::AutoInstall)
+BuildRequires:  perl(Module::Install::Share)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Class::Accessor::Grouped)
+BuildRequires:  perl(CPAN)
+BuildRequires:  perl(Data::Dump)
+BuildRequires:  perl(DBIx::Class)
+BuildRequires:  perl(DBIx::Class::Relationship::Helpers)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(File::ShareDir) >= 1.00
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(Pod::Usage)
+BuildRequires:  perl(Template)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Tie::IxHash)
+BuildRequires:  perl(base)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+
+%{?perl_default_filter}
+
+%description
+DBICx::AutoDoc is a utility that can automatically generate documentation
+for your DBIx::Class schemas. It works by collecting information from
+several sources and arranging it into a format that makes it easier to deal
+with from templates.
+
+%prep
+%setup -q -n DBICx-AutoDoc-%{version}
+# Remove bundled modules
+rm -r ./inc
+sed -i -e '/^inc\//d' MANIFEST
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{_bindir}/dbicx-autodoc
+%{_mandir}/man1/dbicx-autodoc.1.gz
+%{_mandir}/man3/*
+%{perl_vendorlib}/*
+
+%changelog
+* Thu Nov 03 2016 Emmanuel Seyman  - 0.08-3
+- Take into account review feedback (#1391291)
+
+* Thu Oct 20 2016 Emmanuel Seyman  - 0.08-2
+- Add perl-generators as BuildRequires
+
+* Mon Jul 27 2015 Emmanuel Seyman  - 0.08-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..7c0e5a1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c81d1f3e657349fad7ab588b82841fc5  DBICx-AutoDoc-0.08.tar.gz
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl-DBICx-AutoDoc.git/commit/?h=f25=c36124fd194547f5e443d1bca9270455a3771c61
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


eseyman pushed to perl-DBICx-AutoDoc (master). "Initial import."

2016-11-04 Thread notifications
From c36124fd194547f5e443d1bca9270455a3771c61 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman 
Date: Fri, 4 Nov 2016 14:26:31 +0100
Subject: Initial import.

---
 .gitignore  |  1 +
 perl-DBICx-AutoDoc.spec | 82 +
 sources |  1 +
 3 files changed, 84 insertions(+)
 create mode 100644 perl-DBICx-AutoDoc.spec

diff --git a/.gitignore b/.gitignore
index e69de29..1f1525f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/DBICx-AutoDoc-0.08.tar.gz
diff --git a/perl-DBICx-AutoDoc.spec b/perl-DBICx-AutoDoc.spec
new file mode 100644
index 000..f854d46
--- /dev/null
+++ b/perl-DBICx-AutoDoc.spec
@@ -0,0 +1,82 @@
+Name:   perl-DBICx-AutoDoc
+Version:0.08
+Release:3%{?dist}
+Summary:Generate automatic documentation of DBIx::Class::Schema objects
+License:GPL+ or Artistic
+
+URL:http://search.cpan.org/dist/DBICx-AutoDoc/
+Source0:
http://www.cpan.org/authors/id/I/IL/ILMARI/DBICx-AutoDoc-%{version}.tar.gz
+
+BuildArch:  noarch
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl-generators
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Module::Install::ExtraTests)
+BuildRequires:  perl(Module::Install::Metadata)
+BuildRequires:  perl(Module::Install::Scripts)
+BuildRequires:  perl(Module::Install::WriteAll)
+BuildRequires:  perl(Module::Install::AutoInstall)
+BuildRequires:  perl(Module::Install::Share)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Class::Accessor::Grouped)
+BuildRequires:  perl(CPAN)
+BuildRequires:  perl(Data::Dump)
+BuildRequires:  perl(DBIx::Class)
+BuildRequires:  perl(DBIx::Class::Relationship::Helpers)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(File::ShareDir) >= 1.00
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(Pod::Usage)
+BuildRequires:  perl(Template)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Tie::IxHash)
+BuildRequires:  perl(base)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+
+%{?perl_default_filter}
+
+%description
+DBICx::AutoDoc is a utility that can automatically generate documentation
+for your DBIx::Class schemas. It works by collecting information from
+several sources and arranging it into a format that makes it easier to deal
+with from templates.
+
+%prep
+%setup -q -n DBICx-AutoDoc-%{version}
+# Remove bundled modules
+rm -r ./inc
+sed -i -e '/^inc\//d' MANIFEST
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{_bindir}/dbicx-autodoc
+%{_mandir}/man1/dbicx-autodoc.1.gz
+%{_mandir}/man3/*
+%{perl_vendorlib}/*
+
+%changelog
+* Thu Nov 03 2016 Emmanuel Seyman  - 0.08-3
+- Take into account review feedback (#1391291)
+
+* Thu Oct 20 2016 Emmanuel Seyman  - 0.08-2
+- Add perl-generators as BuildRequires
+
+* Mon Jul 27 2015 Emmanuel Seyman  - 0.08-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..7c0e5a1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c81d1f3e657349fad7ab588b82841fc5  DBICx-AutoDoc-0.08.tar.gz
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl-DBICx-AutoDoc.git/commit/?h=master=c36124fd194547f5e443d1bca9270455a3771c61
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


eseyman changed perl-sig's 'watchcommits' permission on perl-DBICx-AutoDoc (f24) to 'Approved'

2016-11-04 Thread notifications
eseyman changed perl-sig's 'watchcommits' permission on perl-DBICx-AutoDoc 
(f24) to 'Approved'
https://admin.fedoraproject.org/pkgdb/package/perl-DBICx-AutoDoc/
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


eseyman changed perl-sig's 'watchbugzilla' permission on perl-DBICx-AutoDoc (f25) to 'Approved'

2016-11-04 Thread notifications
eseyman changed perl-sig's 'watchbugzilla' permission on perl-DBICx-AutoDoc 
(f25) to 'Approved'
https://admin.fedoraproject.org/pkgdb/package/perl-DBICx-AutoDoc/
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


eseyman changed perl-sig's 'watchcommits' permission on perl-DBICx-AutoDoc (master) to 'Approved'

2016-11-04 Thread notifications
eseyman changed perl-sig's 'watchcommits' permission on perl-DBICx-AutoDoc 
(master) to 'Approved'
https://admin.fedoraproject.org/pkgdb/package/perl-DBICx-AutoDoc/
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


eseyman changed perl-sig's 'watchcommits' permission on perl-DBICx-AutoDoc (f25) to 'Approved'

2016-11-04 Thread notifications
eseyman changed perl-sig's 'watchcommits' permission on perl-DBICx-AutoDoc 
(f25) to 'Approved'
https://admin.fedoraproject.org/pkgdb/package/perl-DBICx-AutoDoc/
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


eseyman changed perl-sig's 'watchbugzilla' permission on perl-DBICx-AutoDoc (master) to 'Approved'

2016-11-04 Thread notifications
eseyman changed perl-sig's 'watchbugzilla' permission on perl-DBICx-AutoDoc 
(master) to 'Approved'
https://admin.fedoraproject.org/pkgdb/package/perl-DBICx-AutoDoc/
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


eseyman changed perl-sig's 'watchbugzilla' permission on perl-DBICx-AutoDoc (f24) to 'Approved'

2016-11-04 Thread notifications
eseyman changed perl-sig's 'watchbugzilla' permission on perl-DBICx-AutoDoc 
(f24) to 'Approved'
https://admin.fedoraproject.org/pkgdb/package/perl-DBICx-AutoDoc/
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


pghmcfc uploaded Params-ValidationCompiler-0.16.tar.gz for perl-Params-ValidationCompiler

2016-11-04 Thread notifications
9a51f9d802f28be9aecc792ecc0c2303  Params-ValidationCompiler-0.16.tar.gz

http://pkgs.fedoraproject.org/lookaside/pkgs/perl-Params-ValidationCompiler/Params-ValidationCompiler-0.16.tar.gz/md5/9a51f9d802f28be9aecc792ecc0c2303/Params-ValidationCompiler-0.16.tar.gz
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


pghmcfc pushed to perl-Params-ValidationCompiler (master). "Update to 0.16 (..more)"

2016-11-04 Thread notifications
From 80bd12eb8a0ff945c61b3a6e12d16cccda3967af Mon Sep 17 00:00:00 2001
From: Paul Howarth 
Date: Fri, 4 Nov 2016 12:07:56 +
Subject: Update to 0.16

- New upstream release 0.16
  - Previously, using a default with a positional parameter would result in an
error when compiling the validator subroutine; defaults now work with
positional parameters (GH#5)
  - Moose and Specio types (and coercions) that provide variables to close over
when being inlined did not always compile properly; most notably, this was
not being handled at all for Moose types, and not completely handled for
Specio coercions
---
 perl-Params-ValidationCompiler.spec | 13 -
 sources |  2 +-
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/perl-Params-ValidationCompiler.spec 
b/perl-Params-ValidationCompiler.spec
index a0527a2..5ad5af2 100644
--- a/perl-Params-ValidationCompiler.spec
+++ b/perl-Params-ValidationCompiler.spec
@@ -1,5 +1,5 @@
 Name:  perl-Params-ValidationCompiler
-Version:   0.14
+Version:   0.16
 Release:   1%{?dist}
 Summary:   Build an optimized subroutine parameter validator once, use it 
forever
 License:   Artistic 2.0
@@ -74,10 +74,21 @@ make test
 %{_mandir}/man3/Params::ValidationCompiler::Exceptions.3*
 
 %changelog
+* Fri Nov  4 2016 Paul Howarth  - 0.16-1
+- Update to 0.16
+  - Previously, using a default with a positional parameter would result in an
+error when compiling the validator subroutine; defaults now work with
+positional parameters (GH#5)
+  - Moose and Specio types (and coercions) that provide variables to close over
+when being inlined did not always compile properly; most notably, this was
+not being handled at all for Moose types, and not completely handled for
+Specio coercions
+
 * Thu Nov  3 2016 Paul Howarth  - 0.14-1
 - Update to 0.14
   - Added a "named_to_list" option to support returning only the parameter
 values from a named parameter validator rather than the key-value pairs
+(GH#4)
   - Errors from calls to validation_for() now use croak so as to show up at the
 call site, rather than in the internals
 
diff --git a/sources b/sources
index 9100e2a..78707f6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8afb3f8013049f5f4ae9d30d24eb6fe0  Params-ValidationCompiler-0.14.tar.gz
+9a51f9d802f28be9aecc792ecc0c2303  Params-ValidationCompiler-0.16.tar.gz
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl-Params-ValidationCompiler.git/commit/?h=master=80bd12eb8a0ff945c61b3a6e12d16cccda3967af
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


pghmcfc pushed to perl-Params-ValidationCompiler (perl-Params-ValidationCompiler-0.16-1.fc26). "Update to 0.16 (..more)"

2016-11-04 Thread notifications
From 80bd12eb8a0ff945c61b3a6e12d16cccda3967af Mon Sep 17 00:00:00 2001
From: Paul Howarth 
Date: Fri, 4 Nov 2016 12:07:56 +
Subject: Update to 0.16

- New upstream release 0.16
  - Previously, using a default with a positional parameter would result in an
error when compiling the validator subroutine; defaults now work with
positional parameters (GH#5)
  - Moose and Specio types (and coercions) that provide variables to close over
when being inlined did not always compile properly; most notably, this was
not being handled at all for Moose types, and not completely handled for
Specio coercions
---
 perl-Params-ValidationCompiler.spec | 13 -
 sources |  2 +-
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/perl-Params-ValidationCompiler.spec 
b/perl-Params-ValidationCompiler.spec
index a0527a2..5ad5af2 100644
--- a/perl-Params-ValidationCompiler.spec
+++ b/perl-Params-ValidationCompiler.spec
@@ -1,5 +1,5 @@
 Name:  perl-Params-ValidationCompiler
-Version:   0.14
+Version:   0.16
 Release:   1%{?dist}
 Summary:   Build an optimized subroutine parameter validator once, use it 
forever
 License:   Artistic 2.0
@@ -74,10 +74,21 @@ make test
 %{_mandir}/man3/Params::ValidationCompiler::Exceptions.3*
 
 %changelog
+* Fri Nov  4 2016 Paul Howarth  - 0.16-1
+- Update to 0.16
+  - Previously, using a default with a positional parameter would result in an
+error when compiling the validator subroutine; defaults now work with
+positional parameters (GH#5)
+  - Moose and Specio types (and coercions) that provide variables to close over
+when being inlined did not always compile properly; most notably, this was
+not being handled at all for Moose types, and not completely handled for
+Specio coercions
+
 * Thu Nov  3 2016 Paul Howarth  - 0.14-1
 - Update to 0.14
   - Added a "named_to_list" option to support returning only the parameter
 values from a named parameter validator rather than the key-value pairs
+(GH#4)
   - Errors from calls to validation_for() now use croak so as to show up at the
 call site, rather than in the internals
 
diff --git a/sources b/sources
index 9100e2a..78707f6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8afb3f8013049f5f4ae9d30d24eb6fe0  Params-ValidationCompiler-0.14.tar.gz
+9a51f9d802f28be9aecc792ecc0c2303  Params-ValidationCompiler-0.16.tar.gz
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl-Params-ValidationCompiler.git/commit/?h=perl-Params-ValidationCompiler-0.16-1.fc26=80bd12eb8a0ff945c61b3a6e12d16cccda3967af
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


Re: repoquery to get the complete set of dependencies

2016-11-04 Thread Pavel Raiskup
On Wednesday, November 2, 2016 6:47:32 PM CET Pavel Raiskup wrote:
> On Wednesday, November 2, 2016 1:38:57 PM CET Stephen Gallagher wrote:
> > On 11/02/2016 01:09 PM, Stephen Gallagher wrote:
> > > On 11/02/2016 12:51 PM, Pavel Raiskup wrote:
> > >> Consider we have package 'foo-libs' that provides set of libraries.
> > >>
> > >> How do I get all dependant packages (for batch rebuild of dependencies 
> > >> after
> > >> package update)?  Something which takes soft dependencies into account, 
> > >> too.
> > >>
> > >> Some packages might depend on 'foo-libs' explicitly, some depend on 
> > >> soname
> > >> (implicitly), some depend on particular file within package (say
> > >> /usr/libexec/libfoohelper).
> > >>
> > >> Is there facility within 'dnf repoquery' that gives ultimate answer?  I 
> > >> can do
> > >> sub-queries later do pick the important rebuild candidates.
> > >>
> > >> Also, I would be curious about "ultimate" repoquery to get list of SOURCE
> > >> dependants, e.g. on 'foo-devel'.
> > >>
> > > 
> > > 
> > > `dnf repoquery --enablerepo=*source --whatrequires foo-libs --all-deps` 
> > > should
> > > be what you're asking for.
> > > 
> > >
> > 
> > Minor typo: s/--all-deps/--alldeps/
> 
> Thanks!  It is what I'm looking for.
> 
> OTOH, it is not yet completely as good as it could be:
> 
>  sh-4.3# dnf repoquery --whatrequires python3-progress 
> --alldeps
> Last metadata expiration check: 0:00:00 ago on Wed Nov 02 18:44:33 2016 
> CET.
> devassistant-core-0:0.11.2-7.fc25.noarch
> 
> But:
> 
>  sh-4.3# dnf repoquery --whatrecommends python3-progress 
> Last metadata expiration check: 0:00:00 ago on Wed Nov 02 18:45:04 2016 
> CET.
> copr-cli-0:1.57-1.fc26.noarch
> 
> I don't have much examples with soft deps, so I'm not able to check what
> happends if you put --alldeps and some package was under --whatsuggests
> category.

Related rhbz#1358245 and rhbz#1391917 filed.

Pavel
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


BUG - Moving many files in Nautilus often takes a very long time to complete

2016-11-04 Thread jack smith
Hello, are you aware of this bug ? 
Moving many files in Nautilus often but not always takes a very long time to 
complete 
https://bugzilla.gnome.org/show_bug.cgi?id=757747
https://bugzilla.redhat.com/show_bug.cgi?id=1321684

It's a quite annoying one and of course it will be great if it can be fixed.

Thanks !
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: dnf should not update debuginfo if not updating packgages

2016-11-04 Thread Ralf Corsepius

On 11/03/2016 04:08 PM, Sérgio Basto wrote:

On Qui, 2016-11-03 at 06:57 -0400, Neal Becker wrote:




So we updated debuginfo, but didn't install the corresponding
packages.
That seems like a bug.


it isn't a bug , debuginfo packages doesn't require same version of
counter part and vice-versa .


I do not share this view, but consider this to be a bug in dnf.

Ralf
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


[389-devel] Re: Design Doc: Automatic server tuning by default

2016-11-04 Thread Ludwig Krispenz


On 11/04/2016 06:51 AM, William Brown wrote:

http://www.port389.org/docs/389ds/design/autotuning.html

I would like to hear discussion on this topic.

thread number:
 independent of number of cpus I would have a default minmum number of 
threads,
your test result for reduced thread number is with clients quickly 
handling responses and short operations.
 But if some threads are serving lazy clients or do database access and 
have to wait, you can quickly run out of threads handling new ops


entry cache:
you should not only take the available memory into account but also the 
size of the database, it doesn't make sense to blow up the cache and its 
associated data (eg hashtables) for a small database just because the 
memory is there




___
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org


--
Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric 
Shander

___
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org


[Bug 1391797] perl-Parse-PMFile-0.41 is available

2016-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1391797



--- Comment #1 from Fedora Update System  ---
perl-Parse-PMFile-0.41-1.fc25 has been submitted as an update to Fedora 25.
https://bodhi.fedoraproject.org/updates/FEDORA-2016-52c1c554b9

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


[Bug 1391797] perl-Parse-PMFile-0.41 is available

2016-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1391797

Jitka Plesnikova  changed:

   What|Removed |Added

 Status|ASSIGNED|MODIFIED
   Fixed In Version||perl-Parse-PMFile-0.41-1.fc
   ||26



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


jplesnik pushed to perl-Parse-PMFile (f25). "0.41 bump"

2016-11-04 Thread notifications
From 394df53e92a133c60ad704f974a4da44ad7bc6fe Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova 
Date: Fri, 4 Nov 2016 11:33:58 +0100
Subject: 0.41 bump

---
 .gitignore | 1 +
 perl-Parse-PMFile.spec | 7 +--
 sources| 2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 1d0cf62..224f347 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
 /Parse-PMFile-0.36.tar.gz
 /Parse-PMFile-0.39.tar.gz
 /Parse-PMFile-0.40.tar.gz
+/Parse-PMFile-0.41.tar.gz
diff --git a/perl-Parse-PMFile.spec b/perl-Parse-PMFile.spec
index 3330ecc..9779ce0 100644
--- a/perl-Parse-PMFile.spec
+++ b/perl-Parse-PMFile.spec
@@ -1,6 +1,6 @@
 Name:   perl-Parse-PMFile
-Version:0.40
-Release:2%{?dist}
+Version:0.41
+Release:1%{?dist}
 Summary:Parses .pm file as PAUSE does
 License:GPL+ or Artistic
 Group:  Development/Libraries
@@ -62,6 +62,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Nov 04 2016 Jitka Plesnikova  - 0.41-1
+- 0.41 bump
+
 * Sun May 15 2016 Jitka Plesnikova  - 0.40-2
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index 91d33dd..75f5878 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a42d89d8c834c7c1ec2cde547158e13d  Parse-PMFile-0.40.tar.gz
+816aee7280bb8184b757e28acd0cab98  Parse-PMFile-0.41.tar.gz
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl-Parse-PMFile.git/commit/?h=f25=394df53e92a133c60ad704f974a4da44ad7bc6fe
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


jplesnik pushed to perl-Parse-PMFile (master). "0.41 bump"

2016-11-04 Thread notifications
From ae0b83f4085d67c1cd5eb32776b35f6ff29100b2 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova 
Date: Fri, 4 Nov 2016 11:33:58 +0100
Subject: 0.41 bump

---
 .gitignore | 1 +
 perl-Parse-PMFile.spec | 7 +--
 sources| 2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 1d0cf62..224f347 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
 /Parse-PMFile-0.36.tar.gz
 /Parse-PMFile-0.39.tar.gz
 /Parse-PMFile-0.40.tar.gz
+/Parse-PMFile-0.41.tar.gz
diff --git a/perl-Parse-PMFile.spec b/perl-Parse-PMFile.spec
index 3330ecc..9779ce0 100644
--- a/perl-Parse-PMFile.spec
+++ b/perl-Parse-PMFile.spec
@@ -1,6 +1,6 @@
 Name:   perl-Parse-PMFile
-Version:0.40
-Release:2%{?dist}
+Version:0.41
+Release:1%{?dist}
 Summary:Parses .pm file as PAUSE does
 License:GPL+ or Artistic
 Group:  Development/Libraries
@@ -62,6 +62,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Nov 04 2016 Jitka Plesnikova  - 0.41-1
+- 0.41 bump
+
 * Sun May 15 2016 Jitka Plesnikova  - 0.40-2
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index 91d33dd..75f5878 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a42d89d8c834c7c1ec2cde547158e13d  Parse-PMFile-0.40.tar.gz
+816aee7280bb8184b757e28acd0cab98  Parse-PMFile-0.41.tar.gz
-- 
cgit v0.12



http://pkgs.fedoraproject.org/cgit/perl-Parse-PMFile.git/commit/?h=master=ae0b83f4085d67c1cd5eb32776b35f6ff29100b2
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


jplesnik uploaded Parse-PMFile-0.41.tar.gz for perl-Parse-PMFile

2016-11-04 Thread notifications
816aee7280bb8184b757e28acd0cab98  Parse-PMFile-0.41.tar.gz

http://pkgs.fedoraproject.org/lookaside/pkgs/perl-Parse-PMFile/Parse-PMFile-0.41.tar.gz/md5/816aee7280bb8184b757e28acd0cab98/Parse-PMFile-0.41.tar.gz
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


Re: dnf should not update debuginfo if not updating packgages

2016-11-04 Thread Pedro Alves
On 11/03/2016 03:08 PM, Sérgio Basto wrote:
> On Qui, 2016-11-03 at 06:57 -0400, Neal Becker wrote:

>> > So we updated debuginfo, but didn't install the corresponding
>> > packages.  
>> > That seems like a bug.
> it isn't a bug , debuginfo packages doesn't require same version of
> counter part and vice-versa . 

Why's that?  I'm occasionally bitten by this.

Thanks,
Pedro Alves
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


pkgdb_updater updated: description, upstream_url of perl-HTTP-MultiPartParser

2016-11-04 Thread notifications
pkgdb_updater updated: description, upstream_url of perl-HTTP-MultiPartParser
https://admin.fedoraproject.org/pkgdb/package/perl-HTTP-MultiPartParser/
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


[EPEL-devel] Re: MongoDB in EPEL7

2016-11-04 Thread Marek Skalický
> It's starting to look like the official MongoDB repositories might make a 
> whole lot
> more sense for the average admin currently using EPEL MongoDB packages:
> 
> https://docs.mongodb.com/v3.0/tutorial/install-mongodb-on-red-hat/
> 
> If I find out they aren't doing such a hot job with these, then the picture 
> might
> change.

It may serve good. Everyone have to decide what fits better for him...

Some points:
1. I am not sure what is the current status of integration with systemctl (used 
on RHEL7).
2. Even upstream won't prepare CVE fixes after version EOL.
3. Upstream packages are bundling all dependent packages (~10 for 2.6) - so 
upstream have to handle also all (security) fixes for those packages. Not sure 
what is their policy.
3. SELinux support/integration is better for EPEL packages.
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org


[EPEL-devel] Re: MongoDB in EPEL7

2016-11-04 Thread Marek Skalický
> 1. We have no access (no pun intended) to those packages.[Yes the
> person packages mongodb in Fedora works for Red Hat but that does not
> mean they have access to the bits that another group is doing for SCL
> work.]

First, everyone should have an access to those packages - available source code 
is required by most open source licenses. That is why CentOS can rebuild all RH 
stuff.

Also person (currently me) packaging MongoDB in RedHat for Fedora and SCL is 
the same.

> 2. SCL packages use their own form of magic and have their own
> solutions to security issues. This can mean what they do for a
> particular package won't work outside of an SCL environment. [This may
> not be the case for mongodb.. I don't know enough to say yes/no.]

MongoDB in collection is the same, only installed in different prefix. So 
patches for same MongoDB version inside SCL and in Fedora/EPEL are identical.
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org


[Bug 1379556] CVE-2016-9181 perl-Image-Info: XXE in SVG files

2016-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1379556

Doran Moppert  changed:

   What|Removed |Added

Summary|perl-Image-Info: XXE in SVG |CVE-2016-9181
   |files   |perl-Image-Info: XXE in SVG
   ||files



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


[Bug 1379553] CVE-2016-9180 perl-XML-Twig: expand_external_ents option fails to work as documented

2016-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1379553

Doran Moppert  changed:

   What|Removed |Added

Summary|perl-XML-Twig:  |CVE-2016-9180
   |expand_external_ents option |perl-XML-Twig:
   |fails to work as documented |expand_external_ents option
   ||fails to work as documented



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


[Bug 1379556] perl-Image-Info: XXE in SVG files

2016-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1379556

Doran Moppert  changed:

   What|Removed |Added

  Alias||CVE-2016-9181



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


[Bug 1379553] perl-XML-Twig: expand_external_ents option fails to work as documented

2016-11-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1379553

Doran Moppert  changed:

   What|Removed |Added

  Alias||CVE-2016-9180



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org


[389-devel] Jenkins build is back to normal : 389-ds-base #1119

2016-11-04 Thread jenkins
See 
___
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org


[389-devel] Build failed in Jenkins: 389-ds-base #1118

2016-11-04 Thread jenkins
See 

--
Started by user William Brown
Building remotely on F23 (fedora Fedora23 Fedora fedora23) in workspace 

Wiping out workspace first.
Cloning the remote Git repository
Cloning repository git://git.fedorahosted.org/git/389/ds.git
 > git init  # 
 > timeout=10
Fetching upstream changes from git://git.fedorahosted.org/git/389/ds.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > git://git.fedorahosted.org/git/389/ds.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url git://git.fedorahosted.org/git/389/ds.git # 
 > timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url git://git.fedorahosted.org/git/389/ds.git # 
 > timeout=10
Fetching upstream changes from git://git.fedorahosted.org/git/389/ds.git
 > git -c core.askpass=true fetch --tags --progress 
 > git://git.fedorahosted.org/git/389/ds.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 762219a35005914c6c088d915ac9346ce7e28512 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 762219a35005914c6c088d915ac9346ce7e28512
 > git rev-list 762219a35005914c6c088d915ac9346ce7e28512 # timeout=10
[389-ds-base] $ /bin/sh -e /tmp/hudson9088178086786713944.sh

Running configure...
CFLAGS= -Wall CXXFLAGS= -Wall ./configure --with-tmpfiles-d=/etc/tmpfiles.d 
--with-openldap --enable-autobind --enable-gcc-security --with-selinux 
--with-systemdsystemunitdir=/lib/systemd/system 
--with-systemdsystemconfdir=/etc/systemd/system --enable-debug
Build log is 
https://jenkins.fedorainfracloud.org/job/389-ds-base/ws/build.1118.txt
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:29: installing './compile'
configure.ac:25: installing './config.guess'
configure.ac:25: installing './config.sub'
configure.ac:14: installing './install-sh'
configure.ac:14: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'

Running make...
Build log is 
https://jenkins.fedorainfracloud.org/job/389-ds-base/ws/build.1118.txt

Checking for warnings...
Build https://jenkins.fedorainfracloud.org/job/389-ds-base/1118/ failed
There are build warnings
Warning log is 
https://jenkins.fedorainfracloud.org/job/389-ds-base/ws/build-warns.1118.txt
Last 100 lines of warning log:

ldap/servers/plugins/pwdstorage/clear_pwd.c:29:9: warning: unused variable 
‘len’ [-Wunused-variable]


Build step 'Execute shell' marked build as failure
___
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org