1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] Official Debian Packaging
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Official%20Debian%20Packaging&In-Reply-To=20021109120940.GA3304%40executor.imperialnet.mig">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"003273.html">
11 <LINK REL=
"Next" HREF=
"003277.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] Official Debian Packaging
</H1>
16 <A HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Official%20Debian%20Packaging&In-Reply-To=20021109120940.GA3304%40executor.imperialnet.mig"
17 TITLE=
"[IRCServices] Official Debian Packaging">achurch at achurch.org
19 <I>Sun Nov
10 04:
05:
02 PST
2002</I>
21 <LI>Previous message:
<A HREF=
"003273.html">[IRCServices] Official Debian Packaging
23 <LI>Next message:
<A HREF=
"003277.html">[IRCServices] Any idea about log files?
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#3274">[ date ]
</a>
27 <a href=
"thread.html#3274">[ thread ]
</a>
28 <a href=
"subject.html#3274">[ subject ]
</a>
29 <a href=
"author.html#3274">[ author ]
</a>
34 <PRE> Thanks for your message. To take your points in reverse order: the
35 binary data files used by Services are endian-independent, so they should
36 be able to go into /var/share. (I haven't actually tested this, but I
37 don't use fwrite() anywhere except when writing strings, so there shouldn't
38 be any problems. If there are, it's a bug. ;) )
40 Services currently assumes all the data files are under a single
41 directory tree, and it'll take a bit of work to redo that; I'll look into
42 it, but I can't promise getting it done soon. As a cheap hack, something
43 like the following (untested) should work, though it leaves a few symlinks
44 hanging around in /var/share/ircservices:
46 ./configure -bindest /usr/bin -datdest /var/share/ircservices
48 mkdir -p /usr/lib/ircservices
49 rm -rf /usr/lib/ircservices/modules
50 cp -a /var/share/ircservices/modules /usr/lib/ircservices/
51 rm -rf /var/share/ircservices/modules
52 ln -s /usr/lib/ircservices/modules /var/share/ircservices/
53 mkdir -p /usr/share/ircservices
54 rm -rf /usr/share/ircservices/languages
55 cp -a /var/share/ircservices/languages /usr/share/ircservices/
56 rm -rf /var/share/ircservices/languages
57 ln -s /usr/share/ircservices/languages /var/share/ircservices/
58 mkdir -p /var/log/ircservices
59 ln -fs /var/log/ircservices/ircservices.log /var/share/ircservices/
60 mkdir -p /etc/ircservices
61 mv -f /var/share/ircservices/example-*.conf /etc/ircservices/
62 ln -fs /etc/ircservices/{ircservices,modules}.conf /var/share/ircservices/
65 <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org
</A>
66 <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
70 </I>><i>I'm writing to this list because I plan to make an official Debian version of
71 </I>><i>ircservices. I know there is a .deb on the website, but I think it's worth
72 </I>><i>to put it in the main debian archive, to have it available on each architecture
73 </I>><i>debian supports, and directly from the package managing system.
75 </I>><i>In order to do so, I must plan to do some changes, at least in the directory
76 </I>><i>structure ircservices use. The main thing I must do to have it included
77 </I>><i>is to have a more separated directory structure, which refects the FHS.
78 </I>><i>I'm wondering if this changes can be received upstream, as additional options
79 </I>><i>to configure and make, without changing the actual default behaviour, but
80 </I>><i>simply allowing it to be changed calling configure and make with some options.
82 </I>><i>In this way there will be no problem for the actual users, who won't see the
83 </I>><i>changes from their point of view, but the scripts could be used without changes
84 </I>><i>by the debian maintainer scripts (and thus autobuilders).
86 </I>><i>Here are the directory structure I plan to use in the debian version:
88 </I>><i>binaries: /usr/bin/
89 </I>><i>modules: /usr/lib/ircservices/
90 </I>><i>databases: /var/lib/ircservices/
91 </I>><i>logs: /var/log/ircservices/
92 </I>><i>configuration: /etc/ircservices/
95 </I>><i>I hope this (the package and the changes) isn't a problem for you.
96 </I>><i>Otherwise I'll be happy to talk about it, and eventually withdraw my
99 </I>><i>BTW I shall ask for an advice: the services database binary format is
100 </I>><i>architecture dependent or independent?
101 </I>><i>For example can one simply copy the databases from a little endian to a
102 </I>><i>big endian machine and expect them to work? In this case I think I'll move
103 </I>><i>them to /var/share/ircservices insteas of /var/lib/
105 </I>><i>Thank in advance,
108 </I>><i>Guido Trotter -
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ultrotter at debian.org
</A>
116 <LI>Previous message:
<A HREF=
"003273.html">[IRCServices] Official Debian Packaging
118 <LI>Next message:
<A HREF=
"003277.html">[IRCServices] Any idea about log files?
120 <LI> <B>Messages sorted by:
</B>
121 <a href=
"date.html#3274">[ date ]
</a>
122 <a href=
"thread.html#3274">[ thread ]
</a>
123 <a href=
"subject.html#3274">[ subject ]
</a>
124 <a href=
"author.html#3274">[ author ]
</a>