--- bogosec-2.3.orig/debian/docs +++ bogosec-2.3/debian/docs @@ -0,0 +1 @@ +README --- bogosec-2.3.orig/debian/rules +++ bogosec-2.3/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +config.status: configure + dh_testdir + +build: build-stamp + +build-stamp: config.status + dh_testdir + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/bogosec. + $(MAKE) prefix=$(CURDIR)/debian/bogosec install + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs +# dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- bogosec-2.3.orig/debian/control +++ bogosec-2.3/debian/control @@ -0,0 +1,25 @@ +Source: bogosec +Section: devel +Priority: extra +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Michael Owens +Build-Depends: debhelper (>= 7), autotools-dev +Standards-Version: 3.8.0 +Homepage: http://launchpad.net/bogosec +Vcs-Bzr: https://code.launchpad.net/bogosec/trunk + +Package: bogosec +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, perl, flawfinder | rats | lintian +Recommends: flawfinder, rats, lintian, dpkg-dev, rpm +Description: Source Code Security Quality Metric + BogoSec aims to increase awareness regarding code security + vulnerabilities, while encouraging developers to produce more secure + code over time. By simplifying the code scanning process, BogoSec + achieves a goal of allowing developers to scan their code regularly + and more effectively. + . + Users also can benefit by using BogoSec in another way; comparing + different available packages or consecutive releases of a package and + identifying trends in the security level will enable users to make + more educated software choices. --- bogosec-2.3.orig/debian/changelog +++ bogosec-2.3/debian/changelog @@ -0,0 +1,17 @@ +bogosec (2.3-0ubuntu1) jaunty; urgency=low + + [ Mike Owens and Dustin Kirkland ] + + * Initial release of the Debian/Ubuntu packaging, closes LP: #276811. + * plugins/BogoLintian.pm: initial plugin for lintian checking + * bogosec_wrapper: dynamically generate tmp files + * man/bogosec*: escape hyphens appropriately + * debian/control: recommend lintian as a new scanner; recommend dpkg-dev, + rpm so that we can run dpkg-source on .dsc files, and rpm for rpmbuild on + .src.rpm files + * bogosec: added support for scanning Debian source packages directly, + LP: #277838 + * package.sh: update packaging script for publication of upstream tarball + releases + + -- Michael Owens Tue, 25 Nov 2008 12:19:46 -0600 --- bogosec-2.3.orig/debian/copyright +++ bogosec-2.3/debian/copyright @@ -0,0 +1,117 @@ +This package was debianized by Mike Owens on +Tue, 30 Sep 2008 16:42:38 -0500. + +It was downloaded from + +Upstream Author: + Dustin Kirkland + Loulwa Salem + Agoston Petz + +Copyright: + + Copyright (C) 2004-2008 IBM Corp. + +License: + + Eclipse Public License -v 1.0 + + THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC + LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM + CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + + 1. DEFINITIONS + + "Contribution" means: + + a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and + + b) in the case of each subsequent Contributor: + + i) changes to the Program, and + + ii) additions to the Program; + + where such changes and/or additions to the Program originate from and are + distributed by that particular Contributor. A Contribution 'originates' from a + Contributor if it was added to the Program by such Contributor itself or anyone + acting on such Contributor's behalf. Contributions do not include additions to + the Program which: (i) are separate modules of software distributed in + conjunction with the Program under their own license agreement, and (ii) are + not derivative works of the Program. + + "Contributor" means any person or entity that distributes the Program. + + "Licensed Patents " mean patent claims licensable by a Contributor which are + necessarily infringed by the use or sale of its Contribution alone or when + combined with the Program. + + "Program" means the Contributions distributed in accordance with this Agreement. + + "Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + + 2. GRANT OF RIGHTS + + a) Subject to the terms of this Agreement, each Contributor hereby grants + Recipient a non-exclusive, worldwide, royalty-free copyright license to + reproduce, prepare derivative works of, publicly display, publicly perform, + distribute and sublicense the Contribution of such Contributor, if any, and + such derivative works, in source code and object code form. + + b) Subject to the terms of this Agreement, each Contributor hereby grants + Recipient a non-exclusive, worldwide, royalty-free patent license under + Licensed Patents to make, use, sell, offer to sell, import and otherwise + transfer the Contribution of such Contributor, if any, in source code and + object code form. This patent license shall apply to the combination of the + Contribution and the Program if, at the time the Contribution is added by the + Contributor, such addition of the Contribution causes such combination to be + covered by the Licensed Patents. The patent license shall not apply to any + other combinations which include the Contribution. No hardware per se is + licensed hereunder. + + c) Recipient understands that although each Contributor grants the licenses to + its Contributions set forth herein, no assurances are provided by any + Contributor that the Program does not infringe the patent or other intellectual + property rights of any other entity. Each Contributor disclaims any liability + to Recipient for claims brought by any other entity based on infringement of + intellectual property rights or otherwise. As a condition to exercising the + rights and licenses granted hereunder, each Recipient hereby assumes sole + responsibility to secure any other intellectual property rights needed, if + any. For example, if a third party patent license is required to allow + Recipient to distribute the Program, it is Recipient's responsibility to + acquire that license before distributing the Program. + + d) Each Contributor represents that to its knowledge it has sufficient + copyright rights in its Contribution, if any, to grant the copyright license + set forth in this Agreement. + + 3. REQUIREMENTS + + A Contributor may choose to distribute the Program in object code form under + its own license agreement, provided that: + + a) it complies with the terms and conditions of this Agreement; and + + b) its license agreement: + + i) effectively disclaims on behalf of all Contributors all warranties and + conditions, express and implied, including warranties or conditions of title + and non-infringement, and implied warranties or conditions of merchantability + and fitness for a particular purpose; + + ii) effectively excludes on behalf of all Contributors all liability for + damages, including direy elect to distribute the Program (including its + Contributions) under the new version. Except as expressly stated in Sections + 2(a) and 2(b) above, Recipient receives no rights or licenses to the + intellectual property of any Contributor under this Agreement, whether + expressly, by implication, estoppel or otherwise. All rights in the Program not + expressly granted under this Agreement are reserved. + + This Agreement is governed by the laws of the State of New York and the + intellectual property laws of the United States of America. No party to this + Agreement will bring a legal action under this Agreement more than one year + after the cause of action arose. Each party waives its rights to a jury trial + in any resulting litigation. + +The Debian packaging is (C) 2008, Mike Owens and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- bogosec-2.3.orig/debian/dirs +++ bogosec-2.3/debian/dirs @@ -0,0 +1,4 @@ +etc +usr/bin +usr/lib +usr/share/man/man1 --- bogosec-2.3.orig/debian/compat +++ bogosec-2.3/debian/compat @@ -0,0 +1 @@ +7