Alternc  latest
Alternc logiel libre pour l'hébergement
DEBIAN_COMPLIANCE
Go to the documentation of this file.
1 
2 ********************************************************************************************
3 * 2013: We are trying to make AlternC enter Debian repositories and follow Debian rules :) *
4 * 2018: Still trying :) *
5 ********************************************************************************************
6 
7 The main issues we know as of today are:
8 
9 - the static UID/GID of AlternC-panel (uid/gid 1999) need to be dynamic and allocated when needed.
10 launching :
11 # grep -l adduser /var/lib/dpkg/info/*postinst /var/lib/dpkg/info/*preinst
12 in a debian server could help finding the right way to do it (eg: bind9 ) ;)
13 
14 Questions:
15 
16 - some binaries / scripts don't have a man page
17 
18 
19 
20 ********************************************************************************
21 FIXED:
22 
23 W: alternc-slave: debian-news-entry-has-unknown-version 0.9.10
24 
25 W: alternc-slave: debian-changelog-line-too-long line 4
26 W: alternc-slave: debian-changelog-line-too-long line 8
27 W: alternc-slave: debian-changelog-line-too-long line 25
28 
29 W: alternc source: obsolete-relation-form-in-source in alternc conflicts: alternc-awstats (< 1.0)
30 W: alternc source: obsolete-relation-form-in-source in alternc conflicts: alternc-mailman (< 2.0)
31 W: alternc source: obsolete-relation-form-in-source in alternc-roundcube conflicts: alternc (< 1.1)
32 
33 W: alternc: script-not-executable usr/lib/alternc/functions.sh
34 W: alternc: script-not-executable usr/lib/alternc/functions_dns.sh
35 W: alternc: script-not-executable usr/lib/alternc/functions_hosting.sh
36 W: alternc: script-not-executable var/alternc/bureau/class/export_account.php
37 
38 W: alternc source: debhelper-but-no-misc-depends alternc-slave
39 W: alternc source: debhelper-but-no-misc-depends alternc-roundcube
40 W: alternc source: debhelper-but-no-misc-depends alternc-squirrelmail
41 W: alternc source: debhelper-but-no-misc-depends alternc
42 W: alternc source: debhelper-but-no-misc-depends alternc-awstats
43 
44 W: alternc source: out-of-date-standards-version 3.9.1 (current is 3.9.2)
45 
46 W: alternc source: maintainer-script-lacks-debhelper-token debian/alternc-roundcube.postinst
47 W: alternc source: maintainer-script-lacks-debhelper-token debian/alternc-squirrelmail.postinst
48 
49 W: alternc source: dh-clean-k-is-deprecated
50 
51 W: alternc: using-question-in-extended-description-in-templates alternc/remote_mysql_error
52 W: alternc: using-question-in-extended-description-in-templates alternc/use_private_ip
53 
54 W: executable-is-not-world-readable /usr/lib/alternc/update_quota_mail.sh 0750
55 W: alternc: malformed-question-in-templates alternc/use_local_mysql
56 W: alternc: malformed-question-in-templates alternc/use_remote_mysql
57 W: alternc: malformed-question-in-templates alternc/remote_mysql_error
58 W: alternc: malformed-question-in-templates alternc/use_private_ip
59 
60 W: alternc: command-with-path-in-maintainer-script config:205 /usr/bin/awk
61 
62 - we are packaging some JS library ourself :
63  W: alternc: embedded-javascript-library var/alternc/bureau/admin/js/prototype.js
64  W: alternc: embedded-javascript-library var/alternc/bureau/admin/js/jquery.min.js
65 
66 - W: alternc: virtual-package-depends-without-real-package-depends depends: mailx
67 
68 - We should NOT ask for "do you REALLY want to install AlternC blabla" since we don't launch alternc.install at postinst anymore.
69  This question MAY be asked to the user when launching alternc installer manually (on an interactive shell)
70 
71 
72 Easy to fix NOW :
73 E: alternc: dir-or-file-in-var-run var/run/alternc/
74 W: alternc: binary-without-manpage usr/bin/alternc_get_path
75 W: alternc: binary-without-manpage usr/bin/alternc_reload
76 W: alternc: maintainer-script-ignores-errors prerm
77 W: alternc-awstats: possible-debconf-note-abuse preinst:13 alternc-awstats/errorinstall
78 
79 E: alternc: duplicate-conffile etc/cron.d/alternc
80 E: alternc: duplicate-conffile etc/logrotate.d/alternc
81 W: alternc: malformed-prompt-in-templates alternc/slaves
82 
83 - the control panel is located in /var/alternc/bureau => move it to /usr/share/alternc/panel
84 - the html data are in /var/alternc/html/[a-z0-9] => move them to /var/www/alternc/[a-z0-9]
85 - the mail data are in /var/alternc/mail/[a-z0-9] => move them to /var/mail/alternc/[a-z0-9]
86 - the bind zones, apache vhosts and other dynamic data are in /var/alternc/(bind|apache-vhost)/ => move them to /var/lib/alternc/(samename)
87 - /var/alternc/db => not used anymore, drop
88 - /var/alternc/mla => not used anymore, drop
89 - there is /var/alternc/cgi-bin/ is forgotten and now we use the standard /usr/lib/cgi-bin/
90 - /var/alternc/exec.usr/ => usr/lib/alternc/safe_mode_exec_dir
91 - /var/alternc/sessions/ disapear for the standard PHP sessions dir.