diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/copyright | 38 | ||||
-rw-r--r-- | debian/postinst | 2 | ||||
-rw-r--r-- | debian/preinst | 2 |
4 files changed, 3 insertions, 41 deletions
diff --git a/debian/changelog b/debian/changelog index 20127c2..e65cd6d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -naskpass (1.0-1) UNRELEASED; urgency=low +naskpass (1.0-1) unstable; urgency=low * replaced getch with ncurses wgetch diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 1fdb272..0000000 --- a/debian/copyright +++ /dev/null @@ -1,38 +0,0 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: naskpass -Source: <url://example.com> - -Files: * -Copyright: <years> <put author's name and email here> - <years> <likewise for another author> -License: <special license> - <Put the license of the package here indented by 1 space> - <This follows the format of Description: lines in control file> - . - <Including paragraphs> - -# If you want to use GPL v2 or later for the /debian/* files use -# the following clauses, or change it to suit. Delete these two lines -Files: debian/* -Copyright: 2014 Toni Uhlig <matzeton@googlemail.com> -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 <http://www.gnu.org/licenses/> - . - On Debian systems, the complete text of the GNU General - Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". - -# Please also look if there are files or directories which have a -# different copyright/license attached and list them here. -# Please avoid to pick license terms that are more restrictive than the -# packaged work, as it may make Debian's contributions unacceptable upstream. diff --git a/debian/postinst b/debian/postinst index e3cf5b0..6416e3e 100644 --- a/debian/postinst +++ b/debian/postinst @@ -16,7 +16,7 @@ case "$1" in if [ ! -f ${ORGFILE} ]; then whiptail --title "Missing file" --msgbox "/usr/share/initramfs-tools/scripts/local-top/cryptroot is missing!\nabort .." 9 70 else - if [ ${RDSUM} = "$(/usr/bin/sha512sum ${ORGFILE} | grep -Eo '^[0-9a-zA-Z]*')" ]; then + if [ ${RDSUM} = "$(sha512sum ${ORGFILE} | grep -Eo '^[0-9a-zA-Z]*')" ]; then dpkg-divert --package naskpass --divert ${DIVFILE} --rename --add ${ORGFILE} else whiptail --title "Wrong SHA checksum" --msgbox "in /usr/share/initramfs-tools/scripts/local-top/cryptroot\n\nabort .." 9 70 diff --git a/debian/preinst b/debian/preinst index 0e9ba2d..5f5cc63 100644 --- a/debian/preinst +++ b/debian/preinst @@ -16,7 +16,7 @@ case "$1" in if [ ! -f ${ORGFILE} ]; then whiptail --title "Missing file" --msgbox "/usr/share/initramfs-tools/scripts/local-top/cryptroot is missing!\nabort .." 9 70 else - if [ ${RDSUM} = "$(/usr/bin/sha512sum ${ORGFILE} | grep -Eo '^[0-9a-zA-Z]*')" ]; then + if [ ${RDSUM} = "$(sha512sum ${ORGFILE} | grep -Eo '^[0-9a-zA-Z]*')" ]; then dpkg-divert --package naskpass --divert ${DIVFILE} --rename --add ${ORGFILE} update-initramfs -u else |