aboutsummaryrefslogtreecommitdiffstats
path: root/build/f_example_packadd/foobar_1.0-1
diff options
context:
space:
mode:
Diffstat (limited to 'build/f_example_packadd/foobar_1.0-1')
-rw-r--r--build/f_example_packadd/foobar_1.0-1/DEBIAN/conffiles1
-rw-r--r--build/f_example_packadd/foobar_1.0-1/DEBIAN/control10
-rwxr-xr-xbuild/f_example_packadd/foobar_1.0-1/DEBIAN/postinst2
-rw-r--r--build/f_example_packadd/foobar_1.0-1/etc/foobar/foobar.conf2
-rwxr-xr-xbuild/f_example_packadd/foobar_1.0-1/usr/bin/foobar2
-rw-r--r--build/f_example_packadd/foobar_1.0-1/usr/share/doc/foobar/changelog.Debian5
-rw-r--r--build/f_example_packadd/foobar_1.0-1/usr/share/doc/foobar/copyright18
7 files changed, 40 insertions, 0 deletions
diff --git a/build/f_example_packadd/foobar_1.0-1/DEBIAN/conffiles b/build/f_example_packadd/foobar_1.0-1/DEBIAN/conffiles
new file mode 100644
index 000000000..bad6a0ef5
--- /dev/null
+++ b/build/f_example_packadd/foobar_1.0-1/DEBIAN/conffiles
@@ -0,0 +1 @@
+/etc/foobar/foobar.conf
diff --git a/build/f_example_packadd/foobar_1.0-1/DEBIAN/control b/build/f_example_packadd/foobar_1.0-1/DEBIAN/control
new file mode 100644
index 000000000..f3f0eb603
--- /dev/null
+++ b/build/f_example_packadd/foobar_1.0-1/DEBIAN/control
@@ -0,0 +1,10 @@
+Package: foobar
+Version: 1.0-1
+Section: utils
+Priority: optional
+Architecture: amd64
+Depends: python2.7
+Maintainer: Main Tainer <maintainer@somwhere.org>
+Description: foo bar daemon
+ This is a daemon for the Foobar service.
+ Foo is bar!
diff --git a/build/f_example_packadd/foobar_1.0-1/DEBIAN/postinst b/build/f_example_packadd/foobar_1.0-1/DEBIAN/postinst
new file mode 100755
index 000000000..f48f26075
--- /dev/null
+++ b/build/f_example_packadd/foobar_1.0-1/DEBIAN/postinst
@@ -0,0 +1,2 @@
+#!/bin/bash -e
+date
diff --git a/build/f_example_packadd/foobar_1.0-1/etc/foobar/foobar.conf b/build/f_example_packadd/foobar_1.0-1/etc/foobar/foobar.conf
new file mode 100644
index 000000000..e0eee5c7a
--- /dev/null
+++ b/build/f_example_packadd/foobar_1.0-1/etc/foobar/foobar.conf
@@ -0,0 +1,2 @@
+# Foobar config file
+foo=bar
diff --git a/build/f_example_packadd/foobar_1.0-1/usr/bin/foobar b/build/f_example_packadd/foobar_1.0-1/usr/bin/foobar
new file mode 100755
index 000000000..c9651a463
--- /dev/null
+++ b/build/f_example_packadd/foobar_1.0-1/usr/bin/foobar
@@ -0,0 +1,2 @@
+#!/bin/bash
+echo Hello from the foobar package
diff --git a/build/f_example_packadd/foobar_1.0-1/usr/share/doc/foobar/changelog.Debian b/build/f_example_packadd/foobar_1.0-1/usr/share/doc/foobar/changelog.Debian
new file mode 100644
index 000000000..fe776f33e
--- /dev/null
+++ b/build/f_example_packadd/foobar_1.0-1/usr/share/doc/foobar/changelog.Debian
@@ -0,0 +1,5 @@
+foobar (1.0-1) precise-proposed; urgency=low
+
+ * Genesis
+
+ -- Main Tainer <maintainer@somewhere.org> Tue, 23 Sep 2014 11:13:27 +0200
diff --git a/build/f_example_packadd/foobar_1.0-1/usr/share/doc/foobar/copyright b/build/f_example_packadd/foobar_1.0-1/usr/share/doc/foobar/copyright
new file mode 100644
index 000000000..4279ce4e2
--- /dev/null
+++ b/build/f_example_packadd/foobar_1.0-1/usr/share/doc/foobar/copyright
@@ -0,0 +1,18 @@
+foobar - a test daemon
+Copyright (C) 2014 Main Tainer
+
+This program 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 3 of the License, or
+(at your option) any later version.
+
+This program 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 with
+your Debian GNU system, in /usr/share/common-licenses/GPL, or with the
+Debian GNU gnupg source package as the file COPYING. If not, see
+<http://www.gnu.org/licenses/> or write to the Free Software Foundation,
+Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.