DEBIAN_COMPLIANCE 4.78 KB
Newer Older
1

2 3 4
********************************************************************************************
* 2013: We are trying to make AlternC enter Debian repositories and follow Debian rules :) *
********************************************************************************************
5 6 7 8

The main issues we know as of today are:  

- the static UID/GID of AlternC-panel (uid/gid 1999) need to be dynamic and allocated when needed.
9 10 11
launching :
# grep -l adduser /var/lib/dpkg/info/*postinst /var/lib/dpkg/info/*preinst
in a debian server could help finding the right way to do it (eg: bind9 ) ;) 
12

13
Questions:
14 15 16 17 18 19 20 21 22

- some binaries / scripts don't have a man page

- we are packaging some JS library ourself : 
  W: alternc: embedded-javascript-library var/alternc/bureau/admin/js/prototype.js
  W: alternc: embedded-javascript-library var/alternc/bureau/admin/js/jquery.min.js

- W: alternc: virtual-package-depends-without-real-package-depends depends: mailx

23 24 25
- We should NOT ask for "do you REALLY want to install AlternC blabla" since we don't launch alternc.install at postinst anymore.
  This question MAY be asked to the user when launching alternc installer manually (on an interactive shell)

26 27 28 29 30 31 32 33 34 35 36 37 38

Easy to fix NOW :  
E: alternc: dir-or-file-in-var-run var/run/alternc/
W: alternc: binary-without-manpage usr/bin/alternc_get_path
W: alternc: binary-without-manpage usr/bin/alternc_reload
W: alternc: maintainer-script-ignores-errors prerm
E: alternc-upnp: php-script-but-no-phpX-cli-dep usr/lib/alternc/update_upnp.sh
W: alternc-upnp: executable-not-elf-or-script usr/lib/alternc/install.d/upnp-install
W: alternc-awstats: possible-debconf-note-abuse preinst:13 alternc-awstats/errorinstall

E: alternc: duplicate-conffile etc/cron.d/alternc
E: alternc: duplicate-conffile etc/logrotate.d/alternc
W: alternc: malformed-prompt-in-templates alternc/slaves
39

40 41 42 43 44 45
********************************************************************************
Should be fixed, need more test:
- the control panel is located in /var/alternc/bureau => move it to /usr/share/alternc/panel
- the html data are in /var/alternc/html/[a-z0-9] => move them to /var/www/alternc/[a-z0-9]
- the mail data are in /var/alternc/mail/[a-z0-9] => move them to /var/mail/alternc/[a-z0-9]
- the bind zones, apache vhosts and other dynamic data are in /var/alternc/(bind|apache-vhost)/ => move them to /var/lib/alternc/(samename)
Alan Garcia's avatar
Alan Garcia committed
46 47
- /var/alternc/db => not used anymore, drop
- /var/alternc/mla => not used anymore, drop
48
- there is /var/alternc/cgi-bin/ is forgotten and now we use the standard /usr/lib/cgi-bin/ 
Alan Garcia's avatar
Alan Garcia committed
49 50
- /var/alternc/exec.usr/ => usr/lib/alternc/safe_mode_exec_dir
- /var/alternc/sessions/ disapear for the standard PHP sessions dir.
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69

********************************************************************************
FIXED:

W: alternc-slave: debian-news-entry-has-unknown-version 0.9.10

W: alternc-slave: debian-changelog-line-too-long line 4
W: alternc-slave: debian-changelog-line-too-long line 8
W: alternc-slave: debian-changelog-line-too-long line 25

W: alternc source: obsolete-relation-form-in-source in alternc conflicts: alternc-awstats (< 1.0)
W: alternc source: obsolete-relation-form-in-source in alternc conflicts: alternc-mailman (< 2.0)
W: alternc source: obsolete-relation-form-in-source in alternc-roundcube conflicts: alternc (< 1.1)

W: alternc: script-not-executable usr/lib/alternc/functions.sh
W: alternc: script-not-executable usr/lib/alternc/functions_dns.sh
W: alternc: script-not-executable usr/lib/alternc/functions_hosting.sh
W: alternc: script-not-executable var/alternc/bureau/class/export_account.php

70 71 72 73 74 75
W: alternc source: debhelper-but-no-misc-depends alternc-upnp
W: alternc source: debhelper-but-no-misc-depends alternc-slave
W: alternc source: debhelper-but-no-misc-depends alternc-roundcube
W: alternc source: debhelper-but-no-misc-depends alternc-squirrelmail
W: alternc source: debhelper-but-no-misc-depends alternc
W: alternc source: debhelper-but-no-misc-depends alternc-awstats
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91

W: alternc source: out-of-date-standards-version 3.9.1 (current is 3.9.2)

W: alternc source: maintainer-script-lacks-debhelper-token debian/alternc-roundcube.postinst
W: alternc source: maintainer-script-lacks-debhelper-token debian/alternc-squirrelmail.postinst

W: alternc source: dh-clean-k-is-deprecated

W: alternc: using-question-in-extended-description-in-templates alternc/remote_mysql_error
W: alternc: using-question-in-extended-description-in-templates alternc/use_private_ip

W: executable-is-not-world-readable /usr/lib/alternc/update_quota_mail.sh 0750
W: alternc: malformed-question-in-templates alternc/use_local_mysql
W: alternc: malformed-question-in-templates alternc/use_remote_mysql
W: alternc: malformed-question-in-templates alternc/remote_mysql_error
W: alternc: malformed-question-in-templates alternc/use_private_ip
Alan Garcia's avatar
Alan Garcia committed
92 93 94

W: alternc: command-with-path-in-maintainer-script config:205 /usr/bin/awk