From: Dragan Dosen Date: Sun, 28 Oct 2007 15:17:39 +0000 (+0000) Subject: r1: [svn-inject] Installing original source of squirrelmail-cn X-Git-Tag: v2%1.4.21+2~15 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=652c23a8c246d2a9ce4971fadf9a56c37e69a498;p=squirrelmail-cn.git r1: [svn-inject] Installing original source of squirrelmail-cn --- 652c23a8c246d2a9ce4971fadf9a56c37e69a498 diff --git a/debian/README.CARNet b/debian/README.CARNet new file mode 100644 index 0000000..1feb77b --- /dev/null +++ b/debian/README.CARNet @@ -0,0 +1,13 @@ +squirrelmail-cn +--------------- + +Ovaj paket podesava tipicne vrijednosti u config.php datoteci, i +dodaje CARNet-ov logotip. Ukoliko je potrebno, na sustavu se +ukljucuje hr_HR locale bez kojeg ne radi hrvatski prijevod. + +Izvorni odrzavatelj squirrelmail-cn paketa bio je Albert Novak, a +zatim Zoran Dzelajlija . +Trenutno odrzava Dragan Dosen . + + + -- Dragan Dosen Fri, 26 Oct 2007 17:49:50 +0200 diff --git a/debian/TODO.CARNet b/debian/TODO.CARNet new file mode 100644 index 0000000..d85b57b --- /dev/null +++ b/debian/TODO.CARNet @@ -0,0 +1,2 @@ +- prebaciti lokalnu konfiguraciju u config_local.php i ostaviti + config.php neizmijenjen diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ede6a6d --- /dev/null +++ b/debian/changelog @@ -0,0 +1,179 @@ +squirrelmail-cn (2:1.4.9a-1) etch; urgency=low + + * Inicijalni paket za Debian etch distribuciju. + * Paket od sada ovisi o Apache2 web serveru - za isti se vrsi i + automatska rekonfiguracija; ovisnost o php5-cn paketu (Pre-Depends). + * Vise se ne koristi squirrelmail-cn/carnet-conf.pl skripta, niti + apache-cn preinst/postinst - umjesto toga koristi se symlink + /etc/apache2/conf.d/squirrelmail-cn.conf vezan na datoteku + /etc/squirrelmail/apache.conf + * Izbacene hr_HR locale datoteke i sec_remove_hr_HR.png - + squirrelmail-locales paket iz etch distribucije vec sadrzi iste. + * Podrska za Dovecot (dovecot-cn) - automatska detekcija instaliranog + paketa, podesavanje $imap_server_type varijable unutar SquirrelMail + konfiguracije. + + -- Dragan Dosen Fri, 26 Oct 2007 21:16:03 +0200 + +squirrelmail-cn (1.4.4-5) sarge; urgency=low + + * Koristenje /etc/mailname za $domain uz /etc/hostname, kao u pocetnoj + instalaciji na sargeu. Postoje instalacije koje u /etc/hostname imaju + samo ime stroja bez domene (T#: 2006082513000011, 2006082813000023). + * Dodana obavijest za slucaj pronalaska sumnjive konfiguracije. + + -- Zoran Dzelajlija Fri, 29 Sep 2006 08:01:59 +0200 + +squirrelmail-cn (1.4.4-4) sarge; urgency=low + + * Ispravljen poziv cp_mail u postinst skripti (T#: 2005090113000029). + + -- Zoran Dzelajlija Sat, 3 Sep 2005 13:44:11 +0200 + +squirrelmail-cn (1.4.4-3) testing; urgency=low + + * Typo u postinstu. + * Ispravljen urgency u prethodnom unosu u changelog. + + -- Zoran Dzelajlija Thu, 21 Jul 2005 22:04:14 +0200 + +squirrelmail-cn (1.4.4-2) testing; urgency=high + + * Ispravka rusenja kod purge ako apache nije pokrenut. + * Brisanje ispravke zaostale od 1.2.6-2 paketa (T#: 2005040113000011). + * Rewrite postinst skripte s koristenjem carnet-tools funkcija. + + backupi konf. datoteka se premjestaju u /var/backups + * Ispravke pocetne konfiguracije + + $show_prefix_option se vise ne mijenja, + + $allow_thread_sort se dodaje uvijek + * Ovisnost o novom squirrelmail paketu, sigurnosne ispravke: + + XSS ranjivosti [CAN-2005-1769] + + ubacivanje proizvoljne vrijednosti varijable [CAN-2005-2095] + + -- Zoran Dzelajlija Tue, 19 Jul 2005 01:17:26 +0200 + +squirrelmail-cn (1.4.4-1) testing; urgency=high + + * Ovisnost o novijoj inacici squirrelmaila, zbog sigurnosnih ispravki: + + moguce ubacivanje lokalnog koda u functions/prefs.php [CAN-2005-0075] + + moguce ubacivanje lokalnog koda u src/webmail.php [CAN-2005-0103] + + moguce XSS ranjivosti u src/webmail.php. [CAN-2005-0104] + * Dodana ovisnost o novom squirrelmail-locales paketu. + * Obnovljen prijevod. + + -- Zoran Dzelajlija Sat, 29 Jan 2005 00:51:14 +0100 + +squirrelmail-cn (1.4.3a-4) testing; urgency=high + + * Ovisnost o novijoj inacici squirrelmail paketa, koja + krpa XSS ranjivost kod parsanja MIME kodiranih zaglavlja. + + -- Zoran Dzelajlija Thu, 18 Nov 2004 00:50:04 +0100 + +squirrelmail-cn (1.4.3a-3) testing; urgency=low + + * Popravljena ovisnost za carnet-tools-cn zbog koristenja + novih opcija za cp-update. + * Utisan dpkg-divert. + + -- Zoran Dzelajlija Wed, 1 Sep 2004 13:09:14 +0200 + +squirrelmail-cn (1.4.3a-2) testing; urgency=high + + * Ispravljena ovisnost, od sada se koristi Debianov paket (1.4.3a), + ukljucene sigurnosne ispravke prema DSA-535-1. + * Dopuna prijevoda prebacena u -cn paket. + + -- Zoran Dzelajlija Tue, 3 Aug 2004 12:14:32 +0200 + +squirrelmail-cn (1.4.3a-1) testing; urgency=high + + * Nova izvorna verzija: + - Ispravka XSS ranjivosti (http://www.squirrelmail.org/changelog.php) + * Dopuna prijevoda, ukljucujuci zamjensku sliku za nesigurni udaljeni URL. + * Ispravke postinst skripte. + * Dokumentacija premjestena pod /usr/share/doc. + + -- Zoran Dzelajlija Sat, 26 Jun 2004 01:09:58 +0200 + +squirrelmail-cn (1.4.2-7) testing; urgency=low + + * Eksplicitan dependency na verziju Squirrelmaila manju od 1.5.0, + dok ne popravim 1.5.0. + + -- Zoran Dzelajlija Sun, 14 Mar 2004 15:56:13 +0100 + +squirrelmail-cn (1.4.2-6) testing; urgency=low + + * Popravljeno mjesto ssl.conf i ovisnost o apache-cn. + + -- Zoran Dzelajlija Thu, 5 Feb 2004 00:13:59 +0100 + +squirrelmail-cn (1.4.2-5) testing; urgency=low + + * Dodana ovisnost o locales paketu i ukljucen hr_HR locale + ako ga jos nema. + + -- Zoran Dzelajlija Thu, 22 Jan 2004 20:01:00 +0100 + +squirrelmail-cn (1.4.2-4) testing; urgency=low + + * Popravljeno mjesto mod-ssl.conf. + * Koristenje run-parts direktorija za apache-cn. + + -- Zoran Dzelajlija Wed, 10 Dec 2003 21:07:05 +0100 + +squirrelmail-cn (1.4.2-3) stable; urgency=low + + * Automatsko preimenovanje INBOX.* foldera + i $default_folder_prefix varijable izbaceno iz postinst skripte. + * Hrpa sitnih ispravaka: + + backup konfiguracije se vise ne snima svaki put, + + stvarno popravljen $data_dir. + + -- Zoran Dzelajlija Thu, 20 Nov 2003 21:18:55 +0100 + +squirrelmail-cn (1.4.2-2) stable; urgency=low + + * Izmjene u config.php: + + dodan $allow_thread_sort ako nedostaje. + + apsolutni path za $data_dir jer je Debian maknuo link (#2516, #2534). + * Korisnicki INBOX folderi se preimenuju i prebacuju u Mail/ (#2519). + + -- Zoran Dzelajlija Thu, 23 Oct 2003 00:00:34 +0200 + +squirrelmail-cn (1.4.2-1) stable; urgency=low + + * Nova verzija glavnog paketa, prenesena iz unstable + zakrpe: + + popravljeno slanje potvrde (zakrpa s CVS-a), + + dopune prijevoda, + + popravljene poznate XSS ranjivosti. + * Izbaceni popravci nepotrebni u 1.4.2. + * Redirekcija na https samo ako je ukljucen. + + -- Zoran Dzelajlija Thu, 16 Oct 2003 00:22:34 +0200 + +squirrelmail-cn (1.2.6-2) stable; urgency=low + + * Fix 1.2.6 bug showing PHP errors when invalid credentials are used. + * Conflict with testing/unstable versions of SquirrelMail package. + * Fix postinst breakage when squirrelmail debconf settings are not found. + * Warn user not to enable the VirtualHost entry in apache.conf. + + -- Zoran Dzelajlija Mon, 8 Sep 2003 00:59:26 +0200 + +squirrelmail-cn (1.2.6-1) stable; urgency=high + + * New maintainer. + * Depend on security fixed versions in stable/updates + (this was long overdue). + * Sync to new apache-cn with VirtualHosts. + + -- Zoran Dzelajlija Sun, 27 Jul 2003 12:06:21 +0200 + +squirrelmail-cn (1.2.5) stable; urgency=low + + * Initial release. + * This entry was faked using README.CARNet notes. + + -- Albert Novak Tue, Apr 30 2002 15:49:21 +0200 diff --git a/debian/changelog.CARNet b/debian/changelog.CARNet new file mode 120000 index 0000000..194579e --- /dev/null +++ b/debian/changelog.CARNet @@ -0,0 +1 @@ +changelog.Debian \ No newline at end of file diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..dcb4d8f --- /dev/null +++ b/debian/control @@ -0,0 +1,26 @@ +Source: squirrelmail-cn +Section: web +Origin: carnet +Priority: required +Maintainer: Dragan Dosen +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.6.1 + +Package: squirrelmail-cn +Architecture: all +Pre-Depends: apache2-cn (>= 2.2), php5-cn +Depends: squirrelmail (>= 2:1.4.4-11), squirrelmail-locales (>= 1.4.9-20070106-1), apache-common (>= 1.3.34-4.1), carnet-tools-cn (>= 2.0), hostname, locales +Recommends: dovecot-cn | uw-imap-ssl-cn | imap-server +Description: Webmail for nuts + SquirrelMail is a standards-based webmail package written in PHP. It + includes built-in pure PHP support for the IMAP and SMTP protocols, and + is designed for maximum compatibility across browsers. SquirrelMail has + few requirements and is easy to configure and install. It runs on top of + any IMAP server. + . + SquirrelMail has all the functionality you would want from an email client, + including strong MIME support, address books and folder manipulation. + . + Homepage: http://www.squirrelmail.org/ + . + This package provides CARNet specific configuration. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..11b2f5b --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +/usr/share/squirrelmail diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..6fb313a --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +debian/README.CARNet +debian/TODO.CARNet +debian/changelog.CARNet diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..5fd50a7 --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +squirrelmail /usr/share diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..454a6bb --- /dev/null +++ b/debian/postinst @@ -0,0 +1,281 @@ +#!/bin/sh + +set -e + +[ "$DEBIAN_SCRIPT_DEBUG" ] && set -x + +case "$1" in + configure) + # continue below + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + exit 0 + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + + +PKG=squirrelmail-cn +domainname=`dnsdomainname` +FQDN=`hostname --fqdn` + +# Include CARNet functions +. /usr/share/carnet-tools/functions.sh +unset CP_ECHO_RETURN + +mv_old_backups() { + + # Clean up /etc, nove old jun^H^H^Hbackups where they belong + glob="$1.old.*-*-*.*:*:*" + + # ${glob%/*} (dirname $glob) does not work for files in root + if [ -n "$(find ${glob%/*} -name ${glob##*/})" ]; then + for i in $(find ${glob%/*} -name ${glob##*/}) + do + cp_backup_conffile "$i" "$2" + rm -f "$i" + done + fi +} + + +reload="" +DATE=`date +%Y-%m-%d.%H:%M:%S` +CONFDIR=/etc/squirrelmail +CONF=$CONFDIR/apache.conf + +backup_name=squirrelmail_apache.conf +mv_old_backups $CONF $backup_name + +# Check Apache2 web server configuration. +# +if [ -f "$CONF" ]; then + + # Backup first. + if cp_check_and_backup "$CONF" "$backup_name"; then + cp_echo "CN: Old $CONF saved as \"/var/backups/$backup_name.bak\"." + fi + + # Check if we already modified apache.conf + if ! egrep -q "^[ ]+RewriteRule \. https" "$CONF"; then + + echo -n "CN: Updating Apache2 configuration for Squirrelmail" + perl -n -e 'print if ! m|^Alias\s*/webmail|' "$CONF" > $CONF.tmp + + cp-update -t squirrelmail-cn $CONF.tmp <<-EOF + # Force SSL for /webmail -> you can still use /squirrelmail + Alias /webmail /usr/share/squirrelmail + + + + + RewriteEngine on + RewriteCond %{HTTPS} !=on + RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L] + + + + + # + # WARNING: This file is automatically included in each VirtualHost + # entry you might have. Do not enable the VirtualHost example provided + # in this file, it WILL break your Apache configuration. Copy the + # VirtualHost section to the standard webserver configuration file + # instead. + # + EOF + cp_mv $CONF.tmp $CONF + + # This will break if cp_backup_conffile ever changes destination path + if ! cmp -s "$CONF" "/var/backups/$backup_name.bak"; then + echo "." + cp_echo "CN: Updated Apache2 configuration for Squirrelmail." + reload="reload" + else + echo "... no changes." + fi + fi +fi + + +hconf=/etc/apache2/apache2.conf +sconf=/etc/apache2/sites-available/ssl + +# Include Squirrelmail apache.conf in Apache2 web server configuration +# (directory /etc/apache2/conf.d/), but only if we are not present in +# Apache2 configuration at all. +# +# We're using listconffiles from apache-common Debian package. Yes, +# it works with Apache2 configurations too. +# +apache2listconf=`/usr/share/apache/listconffiles -V $hconf | tr '' ' ' | grep "$CONF"` || true +apache2squirrel=`ls -l /etc/apache2/conf.d/ | grep "$CONF"` || true + +if [ -z "$apache2listconf" -a -z "$apache2squirrel" ]; then + ln -s "$CONF" /etc/apache2/conf.d/squirrelmail-cn.conf + reload=reload +fi + + +# Initial CARNet config tweaks. +# +CONF="$CONFDIR/config.php" +TMPL="$CONFDIR/config_default.php" +mv_old_backups "$CONF" "`basename $CONF`" +if cp_check_and_backup "$CONF"; then + cp_echo "CN: Old $CONF saved as \"/var/backups/${CONF##*/}.bak\"." +fi + +# We use sed to replace old defaults with ours. +# Must escape \$ because of shell expansion. +# +seddef="/^[ ]*\\\$org_logo[ ]*=/s/sm_logo\.jpg/sm_carnet_logo.jpg/; + /^[ ]*\\\$org_logo[ ]*=/s/sm_logo\.png/sm_carnet_logo.jpg/; + /^[ ]*\\\$domain[ ]*=/s/mydomain\.com/$domainname/; + /^[ ]*\\\$default_charset[ ]*=/s/iso-8859-1/iso-8859-2/; + /^[ ]*\\\$org_logo_width[ ]*=/s/308/0/; + /^[ ]*\\\$org_logo_height[ ]*=/s/111/0/; + /^[ ]*\\\$squirrelmail_default_language[ ]*=/s/en_US/hr_HR/; + /^[ ]*\\\$data_dir[ ]*=/s/\.\.\/data\//\/var\/lib\/squirrelmail\/data\//; + " + +# Check for our uw-imap package; if it is installed, assume it's used. +# +if dpkg -l uw-imap-ssl-cn 2>/dev/null | grep -q '^ii'; then + seddef="$seddef/^[ ]*\\\$imap_server_type[ ]*=/ {s/cyrus/uw/;s/other/uw/;} + " +fi + +# Check for our dovecot package; if it is installed, assume it's used. +# +if dpkg -l dovecot-cn 2>/dev/null | grep -q '^ii'; then + seddef="$seddef/^[ ]*\\\$imap_server_type[ ]*=/ {s/cyrus/dovecot/;s/other/dovecot/;s/uw/dovecot/} + " +fi + +# Would there be any changes, perhaps? +# +if cp_check_and_sed '.' "$seddef" "$CONF"; then + changed=1 +fi + +if grep -q x62 "$CONF"; then + really_old_config=1 +fi + + +# +# MORE FIXES... +# + +# Global $config_version; +# +if ! egrep -q '^[ ]*global[ ]+\$config_version' "$CONF"; then + really_old_config=1 + #echo "CN: Adding \"global \$config_version;\" to config.php." + perl -p -e 'print "global \$config_version;\n" if (/^\s*\$config_version/);' \ + "$CONF" > "$CONF.tmp" + cp_mv "$CONF.tmp" "$CONF" +fi + +# This was missing on some machines +# +if ! egrep -q '^[ ]*\$allow_thread_sort' $CONF; then + to_add='\$allow_thread_sort = false;\n' + cp_echo "CN: Adding \"\$allow_thread_sort\"." + perl -p -e 'if (! $a && /^\s*\$edit_name/) { + $_ .= "'"$to_add"'"; $a = 1; } + elsif (! $a && /^\?>/) { + $_ = "'"$to_add"'" . $_; $a = 1; }' \ + $CONF > "$CONF.tmp" + cp_mv "$CONF.tmp" "$CONF" +fi + +# Shouldn't use /etc/hostname, especially if it contains only the host part +# replace +# $domain = implode('', file('/etc/hostname')); +# with +# $domain = trim(implode('',file('/etc/'.(file_exists('/etc/mailname')?'mail':'host').'name'))); +# +if egrep -q "^[[:blank:]]*\\\$domain[[:blank:]]*=[[:blank:]]*implode\\('',[[:blank:]]*file\\('/etc/hostname'\\)\\);" $CONF; then + nodots= + nomailname= + grep -q '\.' /etc/hostname || nodots=1 + [ -e /etc/mailname ] || nomailname=1 + if cp_check_and_sed "^[[:blank:]]*\\\$domain[[:blank:]]*=[[:blank:]]*implode\\('',[[:blank:]]*file\\('/etc/hostname'\\)\\);" \ + "s|^[ \t]*\\\$domain[ \t]*=[ \t]*implode('',[ \t]*file('/etc/hostname'));|\$domain = trim(implode('',file('/etc/'.(file_exists('/etc/mailname')?'mail':'host').'name')));|" \ + $CONF; then + cp_echo "CN: config.php updated to use either /etc/mailname or /etc/hostname" + fi +fi + + +# Generate hr_HR locale if needed. +# +if ! egrep -q '^hr_HR ISO-8859-2\b' /etc/locale.gen; then + if [ -f /etc/locale.gen ]; then + echo "hr_HR ISO-8859-2" >> /etc/locale.gen + cp_echo "CN: Added hr_HR locale to /etc/locale.gen." + else + echo "hr_HR ISO-8859-2" > /etc/locale.gen + cp_echo "CN: /etc/locale.gen created." + fi + dpkg-reconfigure -f noninteractive locales +fi + + +# Check Apache2 web server for restart/reload. +# +if [ -n "$reload" ]; then + + # Restart Apache2 web server. + if [ -x "/etc/init.d/apache2" ]; then + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + invoke-rc.d apache2 "$reload" || exit $? + else + /etc/init.d/apache2 "$reload" || exit $? + fi + fi +fi + + +# Warn user of really old config file +# +if [ "$really_old_config" ]; then + echo + echo "CN: You have a really old config file." + cp_echo -m "CN: Old \"$CONF\" detected during installation." + cp_echo "CN The known bad options were fixed, but it is _strongly_ recommended that" + cp_echo "CN you either copy over the new template, and reconfigure this package" + cp_echo + cp_echo " cp $TMPL $CONF" + cp_echo " dpkg-reconfigure squirrelmail-cn" + cp_echo + cp_echo "CN or use squirrelmail-configure (conf.pl) to generate a fresh" + cp_echo " ${CONF} file." + echo +fi + + +# Mailname info... +# +if [ "$nodots" -o "$nomailname" ]; then + cp_echo + cp_echo "CN: Make sure that /etc/mailname contains a fully qualified domain name" + cp_echo "CN of this machine! Sending mail via squirrelmail might fail if the FQDN" + cp_echo "CN cannot be found in either /etc/mailname or /etc/hostname." + cp_echo "CN Read mailname(5) man page for details." + cp_echo -mailonly "CN If this machine receives mail for both user@`hostname -f` and " + cp_echo -mailonly "CN user@`hostname -d`, you can also put just the domain in there." +fi + +# Mail root +# +cp_mail "$PKG" + +exit 0 diff --git a/debian/preinst b/debian/preinst new file mode 100644 index 0000000..6396ffb --- /dev/null +++ b/debian/preinst @@ -0,0 +1,30 @@ +#!/bin/sh + +set -e + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + exit 0 + ;; + + *) + echo "preinst called with unknown argument '$1'" >&2 + exit 1 + ;; +esac + +# leftover from 1.2.6-2 +if dpkg-divert --list | \ + egrep -q 'diversion of .*functions/display_messages.php .* by squirrelmail-cn'; then + + rm -f /usr/share/squirrelmail/functions/display_messages.php + + dpkg-divert --package squirrelmail-cn --remove --rename --divert \ + /usr/share/squirrelmail/functions/display_messages.php.divert-cn \ + /usr/share/squirrelmail/functions/display_messages.php +fi + +exit 0 diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..db2980a --- /dev/null +++ b/debian/prerm @@ -0,0 +1,37 @@ +#!/bin/sh + +set -e + +case "$1" in + remove|deconfigure) + + cp-update -r squirrelmail-cn /etc/squirrelmail/apache.conf + + if [ -f /etc/apache2/conf.d/squirrelmail-cn.conf ]; then + rm -f /etc/apache2/conf.d/squirrelmail-cn.conf + fi + + # Restart Apache2 web server. + # + if [ -x "/etc/init.d/apache2" ]; then + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + invoke-rc.d apache2 force-reload || exit $? + else + /etc/init.d/apache2 force-reload || exit $? + fi + fi + + break + ;; + upgrade) + : + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \$1'" >&2 + exit 0 + ;; +esac + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e7f422a --- /dev/null +++ b/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +#export DH_VERBOSE=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_install -X.svn +# dh_installexamples +# dh_install +# dh_installmenu + dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link +# dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/squirrelmail/images/sm_carnet_logo.jpg b/squirrelmail/images/sm_carnet_logo.jpg new file mode 100644 index 0000000..513f633 Binary files /dev/null and b/squirrelmail/images/sm_carnet_logo.jpg differ