From: Benny Baumann Date: Tue, 4 Feb 2014 22:19:22 +0000 (+0100) Subject: add: Basic setup for creating Debian packages X-Git-Url: https://code.wpia.club/?p=cassiopeia.git;a=commitdiff_plain;h=7d5c1bfe11e4b7b4a936adf2f6d6960e0260838c add: Basic setup for creating Debian packages --- diff --git a/debian/DIR_INFO b/debian/DIR_INFO deleted file mode 100644 index 5be87cb..0000000 --- a/debian/DIR_INFO +++ /dev/null @@ -1 +0,0 @@ -This directory is for debian packaging files diff --git a/debian/README b/debian/README new file mode 100644 index 0000000..37f9c0e --- /dev/null +++ b/debian/README @@ -0,0 +1,6 @@ +The Debian Package cassiopeia +---------------------------- + +Comments regarding the Package + + -- CAcert Software Team Tue, 04 Feb 2014 23:42:00 +0100 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..eace64d --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +cassiopeia for Debian +--------------------- + + + + -- CAcert Software Team Tue, 04 Feb 2014 23:09:04 +0100 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..e24bc5c --- /dev/null +++ b/debian/README.source @@ -0,0 +1,9 @@ +cassiopeia for Debian +--------------------- + + + + + + diff --git a/debian/cassiopeia-doc.docs b/debian/cassiopeia-doc.docs new file mode 100644 index 0000000..d4f4542 --- /dev/null +++ b/debian/cassiopeia-doc.docs @@ -0,0 +1 @@ +#DOCS# diff --git a/debian/cassiopeia-doc.install b/debian/cassiopeia-doc.install new file mode 100644 index 0000000..d4f4542 --- /dev/null +++ b/debian/cassiopeia-doc.install @@ -0,0 +1 @@ +#DOCS# diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ee1e9fc --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +cassiopeia (0.1) unstable; urgency=low + + * Initial Release. + + -- CAcert Software Team Tue, 04 Feb 2014 23:42:00 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0e40186 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: cassiopeia +Section: unknown +Priority: extra +Maintainer: CAcert Software Team +Build-Depends: debhelper (>= 8.0.0) +Standards-Version: 3.9.4 +Homepage: https://cacert.org/ +#Vcs-Git: git://git.debian.org/collab-maint/cassiopeia.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/cassiopeia.git;a=summary + +Package: cassiopeia +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: CAcert Certificate Signing Software + This package provides the necessary tools to run a certificate signing instance on https://cacert.org + +Package: cassiopeia-doc +Architecture: all +Description: Documentation for the CAcert Certificate Signing Software + This package provides the necessary tools to run a certificate signing instance on https://cacert.org diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c258722 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,34 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: cassiopeia +Source: + +Files: * +Copyright: + +License: GPL-2.0+ + +Files: debian/* +Copyright: 2014 CAcert Software Team +License: GPL-2.0+ + +License: GPL-2.0+ + 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". + +# 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/docs b/debian/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c30bbdb --- /dev/null +++ b/debian/rules @@ -0,0 +1,21 @@ +#!/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. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/src/main.cpp b/src/main.cpp index bbf62d5..854bf8f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,6 +17,9 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -int main(int argc, const char* argv[]) { - return 0; +int main( int argc, const char* argv[] ) { + ( void )argc; + ( void )argv; + + return 0; }