fixing Lintian reported bug : E obsolete-relation-form-in-source

This commit is contained in:
Benjamin Sonntag 2013-02-03 13:01:16 +00:00
parent d07aabf6ed
commit 29a3e809e1
3 changed files with 73 additions and 2 deletions

1
.gitattributes vendored
View File

@ -3,6 +3,7 @@
.tx/config -text
/CODING_CONVENTION.php -text
/COPYING -text
/DEBIAN_COMPLIANCE -text
/README -text
aide/bin/build.sh -text
aide/bin/frames.dsl -text

70
DEBIAN_COMPLIANCE Normal file
View File

@ -0,0 +1,70 @@
2013: We are now trying to make AlternC enter Debian repositories and follow Debian rules :)
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.
- the control panel is located in /var/alternc/bureau => move it to /usr/lib/alternc/www ?
- the html data are in /var/alternc/html/[a-z0-9] => move them to /var/www/[a-z0-9]
- the mail data are in /var/alternc/mail/[a-z0-9] => move them to /var/mail/[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)
- we don't need our own php session folder don't we ? (or maybe for alternc-panel writable only ?)
W: alternc: non-standard-dir-perm var/alternc/sessions/ 1733 != 0755
- 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
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: 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
W: alternc: command-with-path-in-maintainer-script config:205 /usr/bin/awk
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
W: executable-is-not-world-readable /usr/lib/alternc/update_quota_mail.sh 0750
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
E: alternc: duplicate-conffile etc/cron.d/alternc
E: alternc: duplicate-conffile etc/logrotate.d/alternc
W: alternc: malformed-prompt-in-templates alternc/slaves
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: using-question-in-extended-description-in-templates alternc/remote_mysql_error
W: alternc: malformed-question-in-templates alternc/use_private_ip
W: alternc: using-question-in-extended-description-in-templates alternc/use_private_ip
W: alternc source: out-of-date-standards-version 3.9.1 (current is 3.9.2)
W: alternc source: dh-clean-k-is-deprecated
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: 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
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)

4
debian/control vendored
View File

@ -12,7 +12,7 @@ Architecture: all
Pre-depends: debconf (>= 0.5.00) | debconf-2.0, bash (>= 4)
Depends: debianutils (>= 1.13.1), apache2-mpm-itk, libapache2-mod-php5, php5-mysql, phpmyadmin, postfix, proftpd-mod-mysql, proftpd-basic, bind9, wget, rsync, ca-certificates, locales, perl-suid | perl, postfix-mysql, wwwconfig-common, sasl2-bin, libsasl2-modules, php5-cli, lockfile-progs (>= 0.1.9), gettext (>= 0.10.40-5), sudo, adduser, mysql-client, dnsutils, acl, dovecot-imapd (>= 1:1.2.15), dovecot-pop3d (>= 1:1.2.15), vlogger, mailx, incron
Recommends: mysql-server(>= 5.0), ntp, quota
Conflicts: alternc-admintools, alternc-awstats (< 1.0), alternc-webalizer (<= 0.9.4), alternc-mailman (< 2.0)
Conflicts: alternc-admintools, alternc-awstats (<< 1.0), alternc-webalizer (<= 0.9.4), alternc-mailman (<< 2.0)
Provides: alternc-admintools
Replaces: alternc-admintools
Suggests: alternc-awstats, alternc-mailman, alternc-changepass, amavisd-new, clamav-daemon, spamassassin, pop-before-smtp, magpierss, zip, ncompress, bzip2, alternc-squirrelmail, alternc-roundcube
@ -107,7 +107,7 @@ Package: alternc-roundcube
Architecture: all
Pre-depends: debconf (>= 0.5.00) | debconf-2.0
Depends: debianutils (>= 1.13.1), alternc (>= 3.0~rc1), roundcube (>= 0.7.1), roundcube-mysql (>= 0.7.1), roundcube-plugins (>= 0.7.1), imagemagick
Conflicts: alternc (< 1.1)
Conflicts: alternc (<< 1.1)
Provides: alternc-webmail
Suggests:
Description: Roundcube-Webmail plugin and configuration for AlternC