summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-January/002293.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-January/002293.html')
-rw-r--r--zarb-ml/mageia-sysadm/2011-January/002293.html144
1 files changed, 144 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-January/002293.html b/zarb-ml/mageia-sysadm/2011-January/002293.html
new file mode 100644
index 000000000..ddf45f123
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2011-January/002293.html
@@ -0,0 +1,144 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [859] add script made by pascal to check packages that have missing deps ( temporary, quick and dirty )
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B859%5D%20add%20script%20made%20by%20pascal%20to%20check%20packages%0A%20that%20have%20missing%20deps%20%28%20temporary%2C%20quick%20and%20dirty%20%29&In-Reply-To=%3C20110120155548.A46E742B6D%40valstar.mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="002292.html">
+ <LINK REL="Next" HREF="002294.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [859] add script made by pascal to check packages that have missing deps ( temporary, quick and dirty )</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B859%5D%20add%20script%20made%20by%20pascal%20to%20check%20packages%0A%20that%20have%20missing%20deps%20%28%20temporary%2C%20quick%20and%20dirty%20%29&In-Reply-To=%3C20110120155548.A46E742B6D%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [859] add script made by pascal to check packages that have missing deps ( temporary, quick and dirty )">root at mageia.org
+ </A><BR>
+ <I>Thu Jan 20 16:55:48 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="002292.html">[Mageia-sysadm] [329] update URL about ssh configuration (reported by erwan)
+</A></li>
+ <LI>Next message: <A HREF="002294.html">[Mageia-sysadm] [860] deploy pascal script
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2293">[ date ]</a>
+ <a href="thread.html#2293">[ thread ]</a>
+ <a href="subject.html#2293">[ subject ]</a>
+ <a href="author.html#2293">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 859
+Author: misc
+Date: 2011-01-20 16:55:48 +0100 (Thu, 20 Jan 2011)
+Log Message:
+-----------
+add script made by pascal to check packages that have missing deps ( temporary, quick and dirty )
+
+Modified Paths:
+--------------
+ puppet/modules/buildsystem/manifests/init.pp
+
+Added Paths:
+-----------
+ puppet/modules/buildsystem/files/
+ puppet/modules/buildsystem/files/missing-deps.sh
+
+Added: puppet/modules/buildsystem/files/missing-deps.sh
+===================================================================
+--- puppet/modules/buildsystem/files/missing-deps.sh (rev 0)
++++ puppet/modules/buildsystem/files/missing-deps.sh 2011-01-20 15:55:48 UTC (rev 859)
+@@ -0,0 +1,25 @@
++#!/bin/sh
++
++# Copyright 2011, Pascal Terjan &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">pterjan at gmail.com</A>&gt;
++#
++# This program is free software. It comes without any warranty, to
++# the extent permitted by applicable law. You can redistribute it
++# and/or modify it under the terms of the Do What The Fuck You Want
++# To Public License, Version 2, as published by Sam Hocevar. See
++# <A HREF="http://sam.zoy.org/wtfpl/COPYING">http://sam.zoy.org/wtfpl/COPYING</A> for more details.
++#
++# Creates missing-deps.$arch.txt for each arch, listing broken
++# dependencies inside the associated media.
++
++repo=&quot;/distrib/bootstrap/distrib/cauldron&quot;
++
++missing() {
++ arch=$1
++ d=&quot;${repo}/${arch}&quot;
++ urpmf --requires --use-distrib $d : | cut -d: -f2- | sed 's/\[.*//' | sort -u | xargs urpmq -p --use-distrib $d 2&gt;&amp;1 &gt;/dev/null | sed -n 's/No package named //p'
++}
++
++for arch in i586 x86_64
++do
++ missing $arch &gt; missing-deps.$arch.txt
++done
+
+
+Property changes on: puppet/modules/buildsystem/files/missing-deps.sh
+___________________________________________________________________
+Added: svn:executable
+ + *
+
+Modified: puppet/modules/buildsystem/manifests/init.pp
+===================================================================
+--- puppet/modules/buildsystem/manifests/init.pp 2011-01-19 16:08:41 UTC (rev 858)
++++ puppet/modules/buildsystem/manifests/init.pp 2011-01-20 15:55:48 UTC (rev 859)
+@@ -262,4 +262,20 @@
+ content =&gt; template(&quot;buildsystem/mgacreatehome&quot;)
+ }
+ }
++
++ class check_missing_deps {
++ file { &quot;/usr/local/bin/missing-deps.sh&quot;:
++ ensure =&gt; present,
++ owner =&gt; root,
++ group =&gt; root,
++ mode =&gt; 700,
++ content =&gt; &quot;<A HREF="puppet:///modules/buildsystem/missing-deps.sh">puppet:///modules/buildsystem/missing-deps.sh</A>&quot;,
++ }
++
++ # FIXME hardcoded path
++ cron { &quot;check missing deps&quot;:
++ command =&gt; &quot;cd /var/www/bs/data &amp;&amp; /usr/local/bin/missing-deps.sh&quot;,
++ minute =&gt; &quot;*/15&quot;,
++ }
++ }
+ }
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20110120/f51bdb63/attachment-0001.html&gt;
+</PRE>
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="002292.html">[Mageia-sysadm] [329] update URL about ssh configuration (reported by erwan)
+</A></li>
+ <LI>Next message: <A HREF="002294.html">[Mageia-sysadm] [860] deploy pascal script
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2293">[ date ]</a>
+ <a href="thread.html#2293">[ thread ]</a>
+ <a href="subject.html#2293">[ subject ]</a>
+ <a href="author.html#2293">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>