Commit 248cdc16 authored by Chen-Ying Kuo's avatar Chen-Ying Kuo

Initialize package

parent 7a2220a7
checksec (1.9.0-1) unstable; urgency=low
* Initial release. (Closes: #909796)
-- Chen-Ying Kuo <evshary@gmail.com> Tue, 08 Jan 2019 21:19:14 +0800
extras/man/checksec.1
Source: checksec
Section: misc
Priority: optional
Maintainer: Chen-Ying Kuo <evshary@gmail.com>
Build-Depends: debhelper (>=12)
Standards-Version: 4.3.0
Homepage: https://github.com/slimm609/checksec.sh
Package: checksec
Architecture: all
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Bash script to test executable properties
Modern Linux distributions offer some mitigation techniques to make it harder
to exploit software vulnerabilities reliably. Mitigations such as RELRO,
NoExecute (NX), Stack Canaries, Address Space Layout Randomization (ASLR) and
Position Independent Executables (PIE) have made reliably exploiting any
vulnerabilities that do exist far more challenging. The checksec.sh script is
designed to test what standard Linux OS and PaX security features are being
used.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: checksec.sh
Source: https://github.com/slimm609/checksec.sh
Files: *
Copyright: 2009-2011 Tobias Klein
2013 Robin David
2014-2015 Brian Davis
License: BSD-3-Clause
Files: debian/*
Copyright: 2018 Chen-Ying Kuo <evshary@gmail.com>
License: BSD-3-Clause
License: BSD-3-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* 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.
* Neither the name of Tobias Klein nor the name of trapkit.de may be
used to endorse or promote products derived from this software
without specific prior written permission.
.
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.
checksec usr/bin
#!/usr/bin/make -f
%:
dh $@
#!/bin/sh
set -e
echo "test start"
checksec --output csv --file /bin/ls || echo "test fail" || exit
checksec --output xml --file /bin/ls || echo "test fail" || exit
checksec --output json --file /bin/ls || echo "test fail" || exit
echo "test OK"
Tests: build
Depends: @
Bug-Database: https://github.com/slimm609/checksec.sh/issues
Bug-Submit: https://github.com/slimm609/checksec.sh/issues/new
Name: checksec.sh
Repository: https://github.com/slimm609/checksec.sh.git
Repository-Browse: https://github.com/slimm609/checksec.sh
version=4
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%<project>-$1.tar.gz%" \
https://github.com/slimm609/checksec.sh/releases \
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment