debian/0000755000000000000000000000000011350412710007160 5ustar debian/README.source0000644000000000000000000000042711204100303011330 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. For details about how to use quilt read /usr/share/doc/quilt/README.source from the quilt package. debian/postrm0000644000000000000000000000027111206526771010444 0ustar #!/bin/sh set -e case "$1" in remove) if [ `which squirrelmail-configure` ] then squirrelmail-configure --remove-plugin secure_login fi ;; *) ;; esac #DEBHELPER# exit 0 debian/source/0000755000000000000000000000000011350412660010464 5ustar debian/source/format0000644000000000000000000000001411350412710011666 0ustar 3.0 (quilt) debian/links0000644000000000000000000000014011105541572010225 0ustar etc/squirrelmail/secure-login-config.php usr/share/squirrelmail/plugins/secure_login/config.php debian/rules0000755000000000000000000000105211350411136010237 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_install: find . -type f -not \( \ -path '*/debian/*' -or \ -path '*/.pc/*' -or \ -name 'version' -or \ -name 'COPYING' -or \ -name 'INSTALL' -or \ -name 'README' -or \ -name 'make_release.sh' -or \ -name 'config.sample.php' \ \) -exec install -D --mode=644 {} $(TMP)/usr/share/squirrelmail/plugins/secure_login/{} \; install -D --mode=644 config.sample.php $(TMP)/etc/squirrelmail/secure-login-config.php dh_install debian/compat0000644000000000000000000000000211204076536010370 0ustar 7 debian/control0000644000000000000000000000217611350411301010564 0ustar Source: squirrelmail-secure-login Section: web Priority: optional Maintainer: Jan Hauke Rahm Build-Depends: debhelper (>= 7.0.50) Standards-Version: 3.8.4 Homepage: http://www.squirrelmail.org/plugin_view.php?id=61 Vcs-Svn: http://debsvn.jhr-online.de/squirrelmail-secure-login/trunk Vcs-Browser: https://cgi.jhr-online.de/viewvc.cgi/debian/squirrelmail-secure-login/trunk Package: squirrelmail-secure-login Architecture: all Depends: squirrelmail (>= 2:1.2.8), ${misc:Depends} Description: SquirrelMail plugin: Force users to use SSL encrypted connections This plugin automatically enables a secure HTTPS/SSL-encrypted connection for the SquirrelMail login page if it hasn't already been requested by the referring hyperlink or bookmark. Optionally, the secure connection can be turned off again after successful login. . This utility is intended to prevent passwords and email contents being transmitted over the Internet in the clear after people browse to the login page without including https:// in its address. . SquirrelMail is a standards-based webmail package written in PHP. It runs on top of any IMAP server. debian/watch0000644000000000000000000000017011105541572010216 0ustar version=3 http://squirrelmail.org/plugin_list.php http://squirrelmail.org/plugins/secure_login.([\da-zA-Z\.]+).* debian debian/docs0000644000000000000000000000000711105541572010037 0ustar README debian/postinst0000644000000000000000000000027611204101261010765 0ustar #!/bin/sh set -e case "$1" in configure) squirrelmail-configure --remove-plugin secure_login squirrelmail-configure --install-plugin secure_login ;; *) ;; esac #DEBHELPER# exit 0 debian/patches/0000755000000000000000000000000011350412660010613 5ustar debian/patches/series0000644000000000000000000000002711204077364012035 0ustar changed_default_config debian/patches/changed_default_config0000644000000000000000000000153211204077602015162 0ustar Two changes for the default config: 1. $change_back_to_http_after_login = 0; See Ubuntu bug 321304 for more info. 2. $sl_securePort = '443'; I still don't know why but having it unset can cause trouble. Setting it to Debian's default ssl port doesn't do any harm, though. Index: squirrelmail-secure-login/config.sample.php =================================================================== --- squirrelmail-secure-login.orig/config.sample.php +++ squirrelmail-secure-login/config.sample.php @@ -21,7 +21,7 @@ // if you want user sessions to remain in SSL for their entire duration, // set the following to zero: // - $change_back_to_http_after_login = 1; + $change_back_to_http_after_login = 0; @@ -127,6 +127,7 @@ // // $sl_securePort = ''; // $sl_securePort = '888'; + $sl_securePort = '443'; debian/copyright0000644000000000000000000000225111260731452011122 0ustar Original source may be found at: http://www.squirrelmail.org/plugin_view.php?id=61 Files: * Copyright: © 2002 Graham Norbury © 2003-2008 Paul Lesniewski License: GPL-2 Files: make-release.sh Copyright: © 2004-2008 Paul Lesniewski License: GPL-2 Files: index.php Copyright: © 1999-2002 The SquirrelMail Project Team License: GPL-2 Files: debian/* Copyright: © 2008 Jan Hauke Rahm License: GPL-2+ License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. On Debian systems, the complete text of the GNU General Public License can be found in file "/usr/share/common-licenses/GPL-2". Possible later versions are found within the same directory (e.g. "/usr/share/common-licenses/GPL-3"). debian/changelog0000644000000000000000000000251611350412603011037 0ustar squirrelmail-secure-login (1.4-3) unstable; urgency=low * Use newer debhelper features * Switch to Source Format 3.0 (quilt) * Bump Standards-Version 3.8.4 -- Jan Hauke Rahm Thu, 18 Mar 2010 12:56:37 +0100 squirrelmail-secure-login (1.4-2) unstable; urgency=medium * Changed default configuration (using quilt): + $change_back_to_http_after_login = 0 (LP: #321304) + $sl_securePort = '443' * debian/control: Added VCS info * debian/post{inst,rm} cleanup (lintian warnings) * debian/control: ${misc:Depends} added * debian/rules: Switching to debhelper 7 style * Bumped to new policy 3.8.1: no changes * DM-Upload-Allowed: yes -- Jan Hauke Rahm Sun, 17 May 2009 23:33:56 +0200 squirrelmail-secure-login (1.4-1) unstable; urgency=low * New upstream release + When using $allVirtualDomainsUnderOneSSLHost and coming back from the signout page or a login error page, the URI was wrongly constructed - fixed thanks to Brett Johnson + Minor bug fixes and updates * debian/copyright: updated to new upstream information -- Jan Hauke Rahm Wed, 21 May 2008 19:48:50 +0200 squirrelmail-secure-login (1.3-1) unstable; urgency=low * Initial release (Closes: #473215) -- Jan Hauke Rahm Sat, 29 Mar 2008 16:44:42 +0100