diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-July/006954.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-July/006954.html | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-July/006954.html b/zarb-ml/mageia-dev/2011-July/006954.html new file mode 100644 index 000000000..5375cce7d --- /dev/null +++ b/zarb-ml/mageia-dev/2011-July/006954.html @@ -0,0 +1,152 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Need mentor(s) to become a Mageia packager + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Need%20mentor%28s%29%20to%20become%20a%20Mageia%20packager&In-Reply-To=%3CCAJmd%2Bxrn-o2CC19pe4v99-oFh%3DmzvTnt_zLrOo5m2pLPA6R2ug%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="006952.html"> + <LINK REL="Next" HREF="006989.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Need mentor(s) to become a Mageia packager</H1> + <B>Ahmad Samir</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Need%20mentor%28s%29%20to%20become%20a%20Mageia%20packager&In-Reply-To=%3CCAJmd%2Bxrn-o2CC19pe4v99-oFh%3DmzvTnt_zLrOo5m2pLPA6R2ug%40mail.gmail.com%3E" + TITLE="[Mageia-dev] Need mentor(s) to become a Mageia packager">ahmadsamir3891 at gmail.com + </A><BR> + <I>Fri Jul 22 08:28:20 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="006952.html">[Mageia-dev] Need mentor(s) to become a Mageia packager +</A></li> + <LI>Next message: <A HREF="006989.html">[Mageia-dev] Need mentor(s) to become a Mageia packager +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6954">[ date ]</a> + <a href="thread.html#6954">[ thread ]</a> + <a href="subject.html#6954">[ subject ]</a> + <a href="author.html#6954">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 22 July 2011 07:43, Vincent <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">vincent.hervieux at gmail.com</A>> wrote: +><i> On 07/22/2011 01:46 AM, Michael Scherer wrote: +</I>>><i> +</I>>><i> Le jeudi 21 juillet 2011 à 16:14 -0400, Vincent a écrit : +</I>>>><i> +</I>>>><i> Hi All, +</I>>>><i> +</I>>>><i> I am still trying to pack ZoneMinder for Cauldron. +</I>>>><i> Now rpms are generated and rpmlint is not complaining, but I am still +</I>>>><i> sure, it's not OK :) , that's why I need help. +</I>>>><i> Attached is the spec file, if somebody could have a look. +</I>>>><i> +</I>>>><i> Here are my questions: +</I>>>><i> - where should go the installed files? (Zoneminder provides perl +</I>>>><i> modules, the site itself, CGI services , doc and conf). +</I>>><i> +</I>>><i> conf ->  /etc/ . I would try to see how does others distribution, to have +</I>>><i> at least a similar path to ease the work of people changing distribution +</I>>><i> +</I>>><i> site ->  /var/www/zoneminder. Outside of the webroot, so people can +</I>>><i> modify it with apache configuration +</I>>><i> +</I>>><i> apache configuration ->  /etc/httpd/conf.d/webapps.d/ , iirc +</I>>><i> +</I>>><i> perl module ->  like the other ( maybe jq can tell us the details ) +</I>>><i> +</I>>><i> cgi ->  I think there is something in /usr/lib/cgi-bin, not sure. I guess +</I>>><i> checking other cgi would help. +</I>><i> +</I>><i> I don't have a /usr/lib/cgi-bi, but I have a /var/www/cgi-bin. Can I put +</I>><i> them into /var/www/cgi-bin/Zonedaemon ? +</I>>><i> +</I>>><i> doc ->  /usr/sharedoc, marked as such with %doc +</I>>><i> +</I>>>><i> - some files have no path's variable: +</I>>>><i> +</I>>>><i> /usr/share/man/lib/perl5/5.14.1/x86_64-linux-thread-multi/perllocal.pod.xz +</I>>>><i> /usr/local/share/man/man3/ZoneMinder.3pm +</I>>>><i> ... +</I>>>><i> Any idea, what it should be? +</I>>><i> +</I>>><i> I do not understand the question :/ +</I>><i> +</I>><i> I don't know how to specify another path for those entries: +</I>><i> +</I>><i> /usr/local/share/man/man3/ZoneMinder.3pm +</I>><i> +</I>><i> In makefile I get the following: +</I>><i> INST_MAN3DIR = blib/man3 +</I>><i> +</I> +Without looking closely I'd say you can use something like: +%makeinstall INST_MAN3DIR=%{_mandir}/man3 + +(note that the Fedora spec doesn't do this, so it mightn't be needed). + +(One more thing, all package names should be lowercase if possible, so +zoneminder). + +><i> How to change this blib path not to point to /usr/local/... ? +</I>><i> +</I>><i> +</I>>>><i> - what should be the permissions for the site under the apache server? +</I>>><i> +</I>>><i> that depend on what does the site. There is basically some people that +</I>>><i> say "this should be 127.0.0.1 by default", and those that say "if people +</I>>><i> installed it, they want to use it on a network and are able to configure +</I>>><i> apache properly, so it should be opened" +</I>>><i> +</I>>>><i> - should the %install section creates the database table/permissions +</I>>>><i> for ZoneMinder? If so, is there any example how to achieve this? +</I>>><i> +</I>>><i> Unfortunately, no. A server can be password protected, on another +</I>>><i> computer, or using a specific database name. +</I>>><i> +</I>>><i> I always wanted to have a proper framework for that ( like saying "this +</I>>><i> is the sql file" and let some helper script take care of the rest, based +</I>>><i> on configuration or offering a easy to use tools to create and install +</I>>><i> database after installation  ), but never wrote anything :) +</I>>><i> +</I>>>><i> - should the %install section creates the service launcher scripts? If +</I>>>><i> so, is there any example how to achieve this? +</I>>><i> +</I>>><i> Yes. It was not migrated yet ( or maybe it was ), but this should be a +</I>>><i> good start : +</I>>><i> <A HREF="http://wiki.mandriva.com/en/Development/Howto/Initscripts">http://wiki.mandriva.com/en/Development/Howto/Initscripts</A> +</I>><i> +</I>><i> Thanks for your help! +</I>><i> +</I>><i> Vincent +</I>><i> +</I> + + +-- +Ahmad Samir +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="006952.html">[Mageia-dev] Need mentor(s) to become a Mageia packager +</A></li> + <LI>Next message: <A HREF="006989.html">[Mageia-dev] Need mentor(s) to become a Mageia packager +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6954">[ date ]</a> + <a href="thread.html#6954">[ thread ]</a> + <a href="subject.html#6954">[ subject ]</a> + <a href="author.html#6954">[ 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> |