From ba072f16f6b2a655d51da2171ecfb83e26c0ef58 Mon Sep 17 00:00:00 2001 From: Samuel Henrique Date: Tue, 24 Jul 2018 01:43:55 -0300 Subject: [PATCH] update debian dir with up-to-date packaging --- debian/.gitignore | 6 ---- debian/changelog | 68 ++++++++++++++++++++++++++++++++++++------ debian/compat | 2 +- debian/control | 21 ++++++------- debian/copyright | 75 ++++++++++++++++++++++++++++++++--------------- debian/rules | 14 ++------- debian/watch | 8 ++--- 7 files changed, 128 insertions(+), 66 deletions(-) delete mode 100644 debian/.gitignore diff --git a/debian/.gitignore b/debian/.gitignore deleted file mode 100644 index 27b7073..0000000 --- a/debian/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -autoreconf.after -autoreconf.before -files -mfoc.debhelper.log -mfoc.substvars -mfoc/ diff --git a/debian/changelog b/debian/changelog index da1d6ca..051a836 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,17 +1,67 @@ -mfoc (0.10.5-0) unstable; urgency=low +mfoc (0.10.7+git20180724-1) unstable; urgency=medium - * New upstream release + * New upstream version 0.10.7+git20180724 - -- Romuald Conty Thu, 14 Feb 2013 21:16:42 +0100 + -- Samuel Henrique Tue, 24 Jul 2018 01:19:50 -0300 -mfoc (0.10.4-0) unstable; urgency=low +mfoc (0.10.7+git20150512-0kali1) kali; urgency=medium - * New upstream release + * Import upstream (Closes: 0002240) + * Update debian files: watch, copyright + * Use debhelper 9 - -- Romuald Conty Sun, 20 Jan 2013 15:58:42 +0100 + -- Sophie Brun Tue, 12 May 2015 12:05:24 +0200 -mfoc (0.10.2pre3.1-0) unstable; urgency=low +mfoc (0.10.7-0kali2) kali; urgency=low - * Initial package + * Updated watch file - -- Thomas Hood Wed, 18 May 2011 12:00:00 +0200 + -- Mati Aharoni Sun, 12 Jan 2014 18:06:21 -0500 + +mfoc (0.10.7-0kali1) kali; urgency=low + + * Upstream import + + -- Mati Aharoni Tue, 17 Dec 2013 09:12:38 -0500 + +mfoc (0.10.6-0kali0) kali; urgency=low + + * Upstream import + + -- Mati Aharoni Mon, 19 Aug 2013 10:37:12 -0400 + +mfoc (0.10.5-0kali0) kali; urgency=low + + * Upstream import. + + -- Mati Aharoni Sun, 24 Mar 2013 05:49:58 -0400 + +mfoc (0.10.3-1kali4) kali; urgency=low + + * Removed desktop file + + -- Mati Aharoni Sat, 15 Dec 2012 14:23:37 -0500 + +mfoc (0.10.3-1kali3) kali; urgency=low + + * Fixed compilation issue + + -- Mati Aharoni Tue, 04 Dec 2012 06:43:46 -0500 + +mfoc (0.10.3-1kali2) kali; urgency=low + + * Version bump + + -- Mati Aharoni Sat, 01 Dec 2012 16:23:29 -0500 + +mfoc (0.10.3-1kali1) kali; urgency=low + + * Version bump + + -- Mati Aharoni Sat, 01 Dec 2012 16:13:27 -0500 + +mfoc (0.10.3-1kali0) kali; urgency=low + + * Initial release + + -- Mati Aharoni Sat, 01 Dec 2012 13:42:57 -0500 diff --git a/debian/compat b/debian/compat index ec63514..b4de394 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -9 +11 diff --git a/debian/control b/debian/control index 7baede3..e47ec59 100644 --- a/debian/control +++ b/debian/control @@ -1,17 +1,18 @@ Source: mfoc Section: utils -Priority: extra -Maintainer: Thomas Hood -Build-Depends: debhelper (>=9), dh-autoreconf, libnfc-dev (>= 1.7.0~rc1), pkg-config -Standards-Version: 3.9.4 -Homepage: http://code.google.com/p/mfoc/ -Vcs-Git: http://code.google.com/p/mfoc/ -Vcs-Browser: http://code.google.com/p/mfoc/source/browse/ +Priority: optional +Maintainer: Debian Security Tools +Uploaders: Samuel Henrique +Build-Depends: debhelper (>= 11), libnfc-dev, pkg-config +Standards-Version: 4.1.5 +Homepage: https://github.com/nfc-tools/mfoc +Vcs-Browser: https://salsa.debian.org/pkg-security-team/mfoc +Vcs-Git: https://salsa.debian.org/pkg-security-team/mfoc.git Package: mfoc Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: MIFARE Classic offline cracker - MFOC is an open source implementation of "offline nested" attack. It - helps to recove keys from MIFARE Classic tags and dump content to a - file. + This package includes the mfoc program which cracks the + encryption keys of the MIFARE Classic chip and dumps the + chip's memory contents to a file. diff --git a/debian/copyright b/debian/copyright index 6c1e791..d0e42dd 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,11 +1,59 @@ Format: http://dep.debian.net/deps/dep5 Upstream-Name: MFOC -Source: http://nfc-tools.googlecode.com/svn/trunk/mfoc +Source: https://github.com/nfc-tools/mfoc Files: * -Copyright: 2009 Norbert Szetei, Pavol Luptak - 2010 Micahal Boska, Romuald Conty - 2011 Romuald Conty +Copyright: 2009 Norbert Szetei + 2009 Pavol Luptak + 2010 Micahal Boska + 2010-2011 Romuald Conty +License: GPL-2+ + +Files: src/crypto1.c src/crapto1.c src/crapto1.h +Copyright: 2008-2009 bla +License: GPL-2+ + +Files: src/slre.c src/slre.h +Copyright: 2013 Cesanta Software Limited + 2004-2013 Sergey Lyubka +License: GPL-2+ + +Files: src/nfc-utils.c src/mifare.c src/mifare.h src/nfc-utils.h +Copyright: 2010-2013 Philippe Teuwen + 2009-2013 Romuald Conty + 2009 Roel Verdult + 2012-2013 Ludovic Rousseau + 2010-2012 Romain Tartière +License: BSD-2-clause + 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 above copyright notice, + this list of conditions and the following disclaimer. + . + 2 )Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT HOLDER OR CONTRIBUTORS 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: 2011 Thomas Hood + 2012-2014 Mati Aharoni + 2015 Sophie Brun +License: GPL-2+ + 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 @@ -23,22 +71,3 @@ License: GPL-2+ On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". - -Files: debian/* -Copyright: 2011 Thomas Hood -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". diff --git a/debian/rules b/debian/rules index d968e11..3479d5a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,16 +1,8 @@ #!/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 DEB_BUILD_MAINT_OPTIONS = hardening=+all -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +%: + dh $@ override_dh_installchangelogs: dh_installchangelogs ChangeLog - -%: - dh $@ --with autoreconf diff --git a/debian/watch b/debian/watch index f61f2e7..5f752f7 100644 --- a/debian/watch +++ b/debian/watch @@ -1,7 +1,3 @@ -# See uscan(1) for format - -# Compulsory line, this is a version 3 file -version=3 - -http://code.google.com/p/mfoc/downloads/list .*/mfoc-(.*).tar.gz +version=4 +https://github.com/nfc-tools/mfoc/tags/ .*/mfoc-(.*)\.tar\.gz