debian/0000775000000000000000000000000012323176200007164 5ustar debian/patches/0000775000000000000000000000000012323176136010623 5ustar debian/patches/series0000664000000000000000000000006012323176136012034 0ustar upstream_Allocate-one-more-byte-for-slash.patch debian/patches/upstream_Allocate-one-more-byte-for-slash.patch0000664000000000000000000000151612323176127021667 0ustar From 45e12722f4c9a752d132527edcfe98ca4f166604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=80lex=20Fiestas?= Date: Tue, 15 Apr 2014 11:09:43 +0200 Subject: [PATCH] Allocate one more byte for slash --- pam_kwallet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pam_kwallet.c b/pam_kwallet.c index 2040053..17195dd 100644 --- a/pam_kwallet.c +++ b/pam_kwallet.c @@ -338,7 +338,7 @@ static void start_kwallet(pam_handle_t *pamh, struct passwd *userInfo, const cha return; } - int len = strlen(socketPath) + strlen(userInfo->pw_name) + 8;// 8 = .socket+null + int len = strlen(socketPath) + strlen(userInfo->pw_name) + 9;// 9 = slash+.socket+null char *fullSocket = (char*) malloc(len); sprintf(fullSocket, "%s/%s%s", socketPath, userInfo->pw_name, ".socket"); -- 1.9.1 debian/rules0000775000000000000000000000003712321454211010243 0ustar #!/usr/bin/make -f %: dh $@ debian/source/0000775000000000000000000000000012321454211010463 5ustar debian/source/format0000664000000000000000000000001412321454211011671 0ustar 3.0 (quilt) debian/changelog0000664000000000000000000000154612323176200011044 0ustar pam-kwallet (0.0~git20140410-0ubuntu2) trusty; urgency=medium * Add upstream_Allocate-one-more-byte-for-slash.patch from upstream to prevent PAM crashes on login due to too tiny allocs. -- Harald Sitter Tue, 15 Apr 2014 11:31:14 +0200 pam-kwallet (0.0~git20140410-0ubuntu1) trusty; urgency=medium * New git snapshot refining everything to production quality LP: #1305307 * Add dependency on socat -- Harald Sitter Thu, 10 Apr 2014 10:38:36 +0200 pam-kwallet (0.0~git20140407-0ubuntu1) trusty; urgency=medium * New git snapshot actually installing something... -- Harald Sitter Mon, 07 Apr 2014 16:59:49 +0200 pam-kwallet (0.0~git20140218-0ubuntu1) trusty; urgency=low * Initial release -- Rohan Garg Tue, 18 Feb 2014 13:12:41 +0100 debian/copyright0000664000000000000000000000663112321454211011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pam-kwallet Source: Files: * Copyright: 2014 by Alejandro Fiestas Olivares License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU Lesser General Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2". Files: cmake/modules/FindLibGcrypt.cmake cmake/modules/FindPAM.cmake Copyright: 2006 Brad Hards 2014 Alejandro Fiestas Olivares License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2014 Rohan Garg 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. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/control0000664000000000000000000000073012321454211010566 0ustar Source: pam-kwallet Section: kde Priority: optional Maintainer: Kubuntu Developers XSBC-Original-Maintainer: Rohan Garg Build-Depends: debhelper (>= 9), cmake, libpam0g-dev, libgcrypt11-dev Standards-Version: 3.9.5 Package: pam-kwallet Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, socat Description: KWallet integration with PAM Integrated KWallet with PAM so you can log in to open a KWallet. debian/compat0000664000000000000000000000000212321454211010361 0ustar 9