diff options
Diffstat (limited to 'zarb-ml/mageia-dev/20110506/004477.html')
-rw-r--r-- | zarb-ml/mageia-dev/20110506/004477.html | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110506/004477.html b/zarb-ml/mageia-dev/20110506/004477.html new file mode 100644 index 000000000..5bcfd03b6 --- /dev/null +++ b/zarb-ml/mageia-dev/20110506/004477.html @@ -0,0 +1,102 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Notice on rpm-mageia-setup's find-requires script + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Notice%20on%20rpm-mageia-setup%27s%20find-requires%20script&In-Reply-To=%3C20110506162837.GO21938%40mars-attacks.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="004476.html"> + <LINK REL="Next" HREF="004488.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Notice on rpm-mageia-setup's find-requires script</H1> + <B>nicolas vigier</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Notice%20on%20rpm-mageia-setup%27s%20find-requires%20script&In-Reply-To=%3C20110506162837.GO21938%40mars-attacks.org%3E" + TITLE="[Mageia-dev] Notice on rpm-mageia-setup's find-requires script">boklm at mars-attacks.org + </A><BR> + <I>Fri May 6 18:28:37 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="004476.html">[Mageia-dev] Notice on rpm-mageia-setup's find-requires script +</A></li> + <LI>Next message: <A HREF="004488.html">[Mageia-dev] Notice on rpm-mageia-setup's find-requires script +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#4477">[ date ]</a> + <a href="thread.html#4477">[ thread ]</a> + <a href="subject.html#4477">[ subject ]</a> + <a href="author.html#4477">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Fri, 06 May 2011, Thierry Vignaud wrote: + +><i> On 6 May 2011 16:58, nicolas vigier <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">boklm at mars-attacks.org</A>> wrote: +</I>><i> >> >>> > The second. +</I>><i> >> >>> +</I>><i> >> >>> Ouch. +</I>><i> >> >>> +</I>><i> >> >>> I guess we need to rebuild all perl packages since mid april then. +</I>><i> >> >> +</I>><i> >> >> Not all perl packages. Only the packages including perl scripts. +</I>><i> >> > But I doubt there is an easy way finding those packages :( +</I>><i> >> +</I>><i> >> In order to remain on the safe side, we should just rebuild all +</I>><i> >> packages build in that time frame... +</I>><i> > +</I>><i> > Or someone can make a script to extract all packages and find perl +</I>><i> > scripts. +</I>><i> +</I>><i> Why may miss somes. +</I>><i> I would prefer staying on the safe side... +</I> +If done correctly, we should not miss any of them. + +Something like this (copied from find-requires) will find all perl +scripts from list of files given on stdin: + +filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"` +scriptlist=`echo "$filelist" | grep -v /usr/doc | grep -v /usr/share/doc | xargs -r file | \ + egrep ":.* (commands|script)" | cut -d: -f1` +for f in $scriptlist; do + [ -r $f -a -x $f ] || continue + interp=`head -n 1 $f | grep '^#!' | sed -e 's/^\#\![ ]*//' | cut -d" " -f1` + interplist="$interplist $interp" + case $interp in + */perl) perllist="$perllist $f" ;; + esac +done + +So we can make a script that will extract an rpm in a temporary +directory with rpm2cpio, find perl scripts, and print source rpm if a +perl script is found. And after running this script on all packages we +have the list of what we need to rebuild. + +I won't have time to do it now or this weekend, but will try to do it +on monday if nobody does it before. + +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="004476.html">[Mageia-dev] Notice on rpm-mageia-setup's find-requires script +</A></li> + <LI>Next message: <A HREF="004488.html">[Mageia-dev] Notice on rpm-mageia-setup's find-requires script +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#4477">[ date ]</a> + <a href="thread.html#4477">[ thread ]</a> + <a href="subject.html#4477">[ subject ]</a> + <a href="author.html#4477">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |