summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-July/006989.html
blob: 198da66ca14047823cbdbf7288e622cecb0049ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!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=%3C4E2D4EE9.5060601%40gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="006954.html">
   <LINK REL="Next"  HREF="006953.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Need mentor(s) to become a Mageia packager</H1>
    <B>Guillaume Rousse</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=%3C4E2D4EE9.5060601%40gmail.com%3E"
       TITLE="[Mageia-dev] Need mentor(s) to become a Mageia packager">guillomovitch at gmail.com
       </A><BR>
    <I>Mon Jul 25 13:09:29 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="006954.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
</A></li>
        <LI>Next message: <A HREF="006953.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#6989">[ date ]</a>
              <a href="thread.html#6989">[ thread ]</a>
              <a href="subject.html#6989">[ subject ]</a>
              <a href="author.html#6989">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le 21/07/2011 23:46, Michael Scherer a &#233;crit :
&gt;<i> Le jeudi 21 juillet 2011 &#224; 16:14 -0400, Vincent a &#233;crit :
</I>&gt;&gt;<i> Hi All,
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> I am still trying to pack ZoneMinder for Cauldron.
</I>&gt;&gt;<i> Now rpms are generated and rpmlint is not complaining, but I am still
</I>&gt;&gt;<i> sure, it's not OK :) , that's why I need help.
</I>&gt;&gt;<i> Attached is the spec file, if somebody could have a look.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Here are my questions:
</I>&gt;&gt;<i> - where should go the installed files? (Zoneminder provides perl
</I>&gt;&gt;<i> modules, the site itself, CGI services , doc and conf).
</I>&gt;<i>
</I>&gt;<i> conf -&gt;  /etc/ . I would try to see how does others distribution, to have
</I>&gt;<i> at least a similar path to ease the work of people changing distribution
</I>&gt;<i>
</I>&gt;<i> site -&gt;  /var/www/zoneminder. Outside of the webroot, so people can
</I>&gt;<i> modify it with apache configuration
</I>Using /var for application code is a remnant of old practices, and a 
mistake morevoer, as /var is supposed to be for variable files only. 
You'd better use /usr/share/zoneminder (or a subdirectory) instead.

&gt;<i> apache configuration -&gt;  /etc/httpd/conf.d/webapps.d/ , iirc
</I>&gt;<i>
</I>&gt;<i> perl module -&gt;  like the other ( maybe jq can tell us the details )
</I>The shared perl tree is for perl libraries. Private perl modules are 
better installed into a private tree, such as /usr/share/zoneminder/lib

&gt;<i> cgi -&gt;  I think there is something in /usr/lib/cgi-bin, not sure. I guess
</I>&gt;<i> checking other cgi would help.
</I>cgi can be installed anywhere, provided they are marked as executables 
in apache configuration.

It's even better to keep cgi under the same web root directory, to make 
web server ACLs easier.

You can have a look at bugzilla spec file for an exemple of a large perl 
CGI web application.
-- 
BOFH excuse #3:

electromagnetic radiation from satellite debris
</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="006954.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
</A></li>
	<LI>Next message: <A HREF="006953.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#6989">[ date ]</a>
              <a href="thread.html#6989">[ thread ]</a>
              <a href="subject.html#6989">[ subject ]</a>
              <a href="author.html#6989">[ 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>