Update packaging and add missing vcs
Sophie Brun
3 years ago
2 | 2 | Priority: optional |
3 | 3 | XSBC-Original-Maintainer: Luke Faraone <[email protected]> |
4 | 4 | Maintainer: Kali Developers <[email protected]> |
5 | Build-Depends: cdbs (>= 0.4.49), debhelper (>= 7) | |
6 | Standards-Version: 3.8.4 | |
7 | DM-Upload-Allowed: yes | |
8 | Vcs-Bzr: https://code.launchpad.net/~lfaraone/cmospwd/debian | |
9 | Homepage: http://www.cgsecurity.org/wiki/CmosPwd | |
5 | Build-Depends: debhelper-compat (= 13) | |
6 | Standards-Version: 4.5.0 | |
7 | Homepage: https://www.cgsecurity.org/wiki/CmosPwd | |
8 | Vcs-Git: https://gitlab.com/kalilinux/packages/cmospwd.git | |
9 | Vcs-Browser: https://gitlab.com/kalilinux/packages/cmospwd | |
10 | 10 | |
11 | 11 | Package: cmospwd |
12 | Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 | |
12 | Architecture: amd64 i386 | |
13 | 13 | Depends: ${shlibs:Depends}, ${misc:Depends}, |
14 | 14 | Description: decrypt BIOS passwords from CMOS |
15 | 15 | CmosPwd is a cross-platform tool to decrypt password stored in CMOS used |
0 | This package was debianized by Luke Faraone <[email protected]> on | |
1 | Fri, 26 Feb 2010 23:29:00 -0400. | |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: scapy | |
2 | Source: https://www.cgsecurity.org/wiki/CmosPwd | |
3 | Files-Excluded: src/cmospwd | |
2 | 4 | |
3 | It was downloaded from <http://www.cgsecurity.org/wiki/CmosPwd>. | |
5 | Files: * | |
6 | Copyright: Copyright © 1998-2006 Christophe GRENIER <[email protected]> | |
7 | License: GPL-2+ | |
4 | 8 | |
5 | Upstream Authors: | |
6 | Christophe GRENIER <[email protected]> | |
7 | Copyright: | |
8 | Copyright © 1998-2006 Christophe GRENIER <[email protected]> | |
9 | Files: debian/* | |
10 | Copyright: Copyright © 2009, Luke Faraone <[email protected]>, | |
11 | 2020 Sophie Brun <[email protected]> | |
12 | License: GPL-2+ | |
9 | 13 | |
10 | License: | |
11 | This package is free software; you can redistribute it and/or modify | |
12 | it under the terms of the GNU General Public License as published by | |
13 | the Free Software Foundation; either version 2 of the License, or | |
14 | (at your option) any later version. | |
15 | ||
16 | This package is distributed in the hope that it will be useful, | |
17 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 | GNU General Public License for more details. | |
20 | ||
21 | You should have received a copy of the GNU General Public License | |
22 | along with this package; if not, write to the Free Software | |
23 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
24 | ||
25 | On Debian systems, the complete text of the GNU General | |
26 | Public License can be found in `/usr/share/common-licenses/GPL'. | |
27 | ||
28 | The Debian packaging is Copyright © 2009, Luke Faraone <[email protected]>, | |
29 | and is licensed under the GPL version 2 or later, see above. | |
14 | License: GPL-2+ | |
15 | This package is free software; you can redistribute it and/or modify | |
16 | it under the terms of the GNU General Public License as published by | |
17 | the Free Software Foundation; either version 2 of the License, or | |
18 | (at your option) any later version. | |
19 | . | |
20 | This package is distributed in the hope that it will be useful, | |
21 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
22 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
23 | GNU General Public License for more details. | |
24 | . | |
25 | You should have received a copy of the GNU General Public License along | |
26 | with this package; if not, write to the Free Software Foundation, Inc., | |
27 | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
28 | . | |
29 | On Debian systems, the full text of the GNU General Public | |
30 | License version 2 can be found in the file | |
31 | `/usr/share/common-licenses/GPL-2'. |
0 | src/cmospwd usr/sbin |
0 | Index: cmospwd/debian/cmospwd.install | |
1 | =================================================================== | |
2 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | |
3 | +++ cmospwd/debian/cmospwd.install 2012-10-21 13:57:02.000000000 -0600 | |
4 | @@ -0,0 +1 @@ | |
5 | +debian/kali-cmospwd.desktop usr/share/applications/ | |
6 | Index: cmospwd/debian/kali-cmospwd.desktop | |
7 | =================================================================== | |
8 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | |
9 | +++ cmospwd/debian/kali-cmospwd.desktop 2012-10-21 13:56:17.000000000 -0600 | |
10 | @@ -0,0 +1,9 @@ | |
11 | +[Desktop Entry] | |
12 | +Name=cmospwd | |
13 | +Encoding=UTF-8 | |
14 | +Exec=sh -c "cmospwd -h;sudo -s" | |
15 | +Icon=kali-menu.png | |
16 | +StartupNotify=false | |
17 | +Terminal=true | |
18 | +Type=Application | |
19 | +Categories=04-02-offline-attacks;11-10-password-forensics; |
0 | 0 | #!/usr/bin/make -f |
1 | 1 | |
2 | include /usr/share/cdbs/1/rules/debhelper.mk | |
3 | include /usr/share/cdbs/1/class/makefile.mk | |
2 | #export DH_VERBOSE = 1 | |
4 | 3 | |
5 | DEB_SRCDIR = $(CURDIR)/src | |
6 | ||
7 | # Path to the debian directory | |
8 | DEBIAN_DIR := $(shell echo ${MAKEFILE_LIST} | awk '{print $$1}' | xargs dirname ) | |
9 | UPSTREAM_VERSION ?=$(shell uscan --dehs | sed -n 's/.*<upstream-version>\(.*\)<\/upstream-version>.*/\1/p') | |
10 | PACKAGE := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p') | |
11 | CURRENT_VERSION ?=$(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)+dfsg.*/\1/p') | |
12 | ||
13 | get-orig-source: | |
14 | cd ${DEBIAN_DIR}/.. && uscan --force-download --upstream-version $(CURRENT_VERSION) | |
15 | tar xf ../$(PACKAGE)-${UPSTREAM_VERSION}.tar.bz2 #${CURDIR}/$(PACKAGE)-${UPSTREAM_VERSION} | |
16 | rm ${CURDIR}/$(PACKAGE)-${UPSTREAM_VERSION}/src/cmospwd | |
17 | tar cf ${CURDIR}/${DEB_SOURCE_PACKAGE}_${UPSTREAM_VERSION}+dfsg.orig.tar $(PACKAGE)-${UPSTREAM_VERSION}/ | |
18 | gzip ${CURDIR}/${DEB_SOURCE_PACKAGE}_${UPSTREAM_VERSION}+dfsg.orig.tar | |
19 | ||
20 | install/cmospwd:: | |
21 | dh_installdirs usr/sbin | |
22 | install -m 755 src/cmospwd debian/cmospwd/usr/sbin/cmospwd | |
4 | %: | |
5 | dh $@ --sourcedirectory=src |