]> WPIA git - cassiopeia.git/commitdiff
add: Basic setup for creating Debian packages
authorBenny Baumann <BenBE@geshi.org>
Tue, 4 Feb 2014 22:19:22 +0000 (23:19 +0100)
committerBenny Baumann <BenBE@geshi.org>
Sun, 2 Nov 2014 01:17:48 +0000 (02:17 +0100)
14 files changed:
debian/DIR_INFO [deleted file]
debian/README [new file with mode: 0644]
debian/README.Debian [new file with mode: 0644]
debian/README.source [new file with mode: 0644]
debian/cassiopeia-doc.docs [new file with mode: 0644]
debian/cassiopeia-doc.install [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
src/main.cpp

diff --git a/debian/DIR_INFO b/debian/DIR_INFO
deleted file mode 100644 (file)
index 5be87cb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-This directory is for debian packaging files
diff --git a/debian/README b/debian/README
new file mode 100644 (file)
index 0000000..37f9c0e
--- /dev/null
@@ -0,0 +1,6 @@
+The Debian Package cassiopeia
+----------------------------
+
+Comments regarding the Package
+
+ -- CAcert Software Team <cacert-devel@cacert.org>  Tue, 04 Feb 2014 23:42:00 +0100
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..eace64d
--- /dev/null
@@ -0,0 +1,6 @@
+cassiopeia for Debian
+---------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- CAcert Software Team <cacert-devel@cacert.org>  Tue, 04 Feb 2014 23:09:04 +0100
diff --git a/debian/README.source b/debian/README.source
new file mode 100644 (file)
index 0000000..e24bc5c
--- /dev/null
@@ -0,0 +1,9 @@
+cassiopeia for Debian
+---------------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+
diff --git a/debian/cassiopeia-doc.docs b/debian/cassiopeia-doc.docs
new file mode 100644 (file)
index 0000000..d4f4542
--- /dev/null
@@ -0,0 +1 @@
+#DOCS#
diff --git a/debian/cassiopeia-doc.install b/debian/cassiopeia-doc.install
new file mode 100644 (file)
index 0000000..d4f4542
--- /dev/null
@@ -0,0 +1 @@
+#DOCS#
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..ee1e9fc
--- /dev/null
@@ -0,0 +1,5 @@
+cassiopeia (0.1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- CAcert Software Team <cacert-devel@cacert.org>  Tue, 04 Feb 2014 23:42:00 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..45a4fb7
--- /dev/null
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..0e40186
--- /dev/null
@@ -0,0 +1,20 @@
+Source: cassiopeia
+Section: unknown
+Priority: extra
+Maintainer: CAcert Software Team <cacert-devel@cacert.org>
+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 (file)
index 0000000..c258722
--- /dev/null
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cassiopeia
+Source: <url://example.com>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+           <years> <likewise for another author>
+License: GPL-2.0+
+
+Files: debian/*
+Copyright: 2014 CAcert Software Team <cacert-devel@cacert.org>
+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 <http://www.gnu.org/licenses/>
+ .
+ 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 (file)
index 0000000..b43bf86
--- /dev/null
@@ -0,0 +1 @@
+README.md
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..c30bbdb
--- /dev/null
@@ -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 (file)
index 0000000..89ae9db
--- /dev/null
@@ -0,0 +1 @@
+3.0 (native)
index bbf62d52deb610ded381a12d827d9769067c1e27..854bf8fd71ad198d7dcfe775e128394be64f1e0c 100644 (file)
@@ -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;
 }