summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110506/004477.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/20110506/004477.html')
-rw-r--r--zarb-ml/mageia-dev/20110506/004477.html102
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:
+
+&gt;<i> On 6 May 2011 16:58, nicolas vigier &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">boklm at mars-attacks.org</A>&gt; wrote:
+</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; &gt; The second.
+</I>&gt;<i> &gt;&gt; &gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; Ouch.
+</I>&gt;<i> &gt;&gt; &gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; I guess we need to rebuild all perl packages since mid april then.
+</I>&gt;<i> &gt;&gt; &gt;&gt;
+</I>&gt;<i> &gt;&gt; &gt;&gt; Not all perl packages. Only the packages including perl scripts.
+</I>&gt;<i> &gt;&gt; &gt; But I doubt there is an easy way finding those packages :(
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; In order to remain on the safe side, we should just rebuild all
+</I>&gt;<i> &gt;&gt; packages build in that time frame...
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; Or someone can make a script to extract all packages and find perl
+</I>&gt;<i> &gt; scripts.
+</I>&gt;<i>
+</I>&gt;<i> Why may miss somes.
+</I>&gt;<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 &quot;s/[]['\&quot;*?{}]/\\\\\&amp;/g&quot;`
+scriptlist=`echo &quot;$filelist&quot; | grep -v /usr/doc | grep -v /usr/share/doc | xargs -r file | \
+ egrep &quot;:.* (commands|script)&quot; | 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&quot; &quot; -f1`
+ interplist=&quot;$interplist $interp&quot;
+ case $interp in
+ */perl) perllist=&quot;$perllist $f&quot; ;;
+ 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>