summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-July/006947.html
blob: 2fa12afe7d45f2de7d7007e3a7072d151604e622 (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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!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=%3C1311284794.6636.232.camel%40akroma.ephaone.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="006943.html">
   <LINK REL="Next"  HREF="006952.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Need mentor(s) to become a Mageia packager</H1>
    <B>Michael Scherer</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=%3C1311284794.6636.232.camel%40akroma.ephaone.org%3E"
       TITLE="[Mageia-dev] Need mentor(s) to become a Mageia packager">misc at zarb.org
       </A><BR>
    <I>Thu Jul 21 23:46:33 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="006943.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
</A></li>
        <LI>Next message: <A HREF="006952.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#6947">[ date ]</a>
              <a href="thread.html#6947">[ thread ]</a>
              <a href="subject.html#6947">[ subject ]</a>
              <a href="author.html#6947">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le jeudi 21 juillet 2011 &#224; 16:14 -0400, Vincent a &#233;crit :
&gt;<i> Hi All,
</I>&gt;<i> 
</I>&gt;<i> I am still trying to pack ZoneMinder for Cauldron.
</I>&gt;<i> Now rpms are generated and rpmlint is not complaining, but I am still
</I>&gt;<i> sure, it's not OK :) , that's why I need help.
</I>&gt;<i> Attached is the spec file, if somebody could have a look.
</I>&gt;<i> 
</I>&gt;<i> Here are my questions:
</I>&gt;<i> - where should go the installed files? (Zoneminder provides perl
</I>&gt;<i> modules, the site itself, CGI services , doc and conf).
</I>
conf -&gt; /etc/ . I would try to see how does others distribution, to have
at least a similar path to ease the work of people changing distribution

site -&gt; /var/www/zoneminder. Outside of the webroot, so people can
modify it with apache configuration

apache configuration -&gt; /etc/httpd/conf.d/webapps.d/ , iirc

perl module -&gt; like the other ( maybe jq can tell us the details )

cgi -&gt; I think there is something in /usr/lib/cgi-bin, not sure. I guess
checking other cgi would help.

doc -&gt; /usr/sharedoc, marked as such with %doc 

&gt;<i> - some files have no path's variable:
</I>&gt;<i> /usr/share/man/lib/perl5/5.14.1/x86_64-linux-thread-multi/perllocal.pod.xz
</I>&gt;<i> /usr/local/share/man/man3/ZoneMinder.3pm
</I>
&gt;<i> ...
</I>&gt;<i> Any idea, what it should be?
</I>
I do not understand the question :/

&gt;<i> - what should be the permissions for the site under the apache server?
</I>
that depend on what does the site. There is basically some people that
say &quot;this should be 127.0.0.1 by default&quot;, and those that say &quot;if people
installed it, they want to use it on a network and are able to configure
apache properly, so it should be opened&quot;

&gt;<i> - should the %install section creates the database table/permissions
</I>&gt;<i> for ZoneMinder? If so, is there any example how to achieve this?
</I>
Unfortunately, no. A server can be password protected, on another
computer, or using a specific database name. 

I always wanted to have a proper framework for that ( like saying &quot;this
is the sql file&quot; and let some helper script take care of the rest, based
on configuration or offering a easy to use tools to create and install
database after installation  ), but never wrote anything :)

&gt;<i> - should the %install section creates the service launcher scripts? If
</I>&gt;<i> so, is there any example how to achieve this?
</I>
Yes. It was not migrated yet ( or maybe it was ), but this should be a
good start :
<A HREF="http://wiki.mandriva.com/en/Development/Howto/Initscripts">http://wiki.mandriva.com/en/Development/Howto/Initscripts</A>
-- 
Michael Scherer

</PRE>


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