summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control30
-rw-r--r--debian/copyright36
-rw-r--r--debian/rhnop-client.install5
-rw-r--r--debian/rhnop-common.install1
-rwxr-xr-xdebian/rhnop-common.postinst9
-rwxr-xr-xdebian/rhnop-common.postrm13
-rw-r--r--debian/rhnop-server.install7
-rwxr-xr-xdebian/rules6
-rw-r--r--debian/source/format1
11 files changed, 114 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cb0078e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+rhnop (0.11) unstable; urgency=medium
+
+ * Initial release.
+
+ -- Christian Pointner <equinox@helsinki.at> Tue, 12 May 2015 01:05:41 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..41f2318
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: rhnop
+Maintainer: Christian Pointner <equinox@helsinki.at>
+Section: interpreters
+Priority: optional
+Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 9), liblua5.2-dev, lua5.2
+
+Package: rhnop-common
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Radio Helsinki now playing information system - common
+ The Radio Helsinki now playing information system gathers the
+ now playing info into an mysql database for further processing.
+ This package contains common files
+
+Package: rhnop-client
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, rhnop-common, adduser, lua-posix, lua-socket, lua-sql-mysql, lua5.2
+Description: Radio Helsinki now playing information system - client
+ The Radio Helsinki now playing information system gathers the
+ now playing info into an mysql database for further processing.
+ This package contains the client component.
+
+Package: rhnop-server
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, rhnop-common, adduser, lua-posix, lua-socket, lua-sql-mysql, lua-mq, lua5.2
+Description: Radio Helsinki now playing information system - server
+ The Radio Helsinki now playing information system gathers the
+ now playing info into an mysql database for further processing.
+ This package contains the server component (rivendell side). \ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c86ffd4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rhnop
+Upstream-Contact: Christian Pointner <equinox@helsinki.at>
+Source: http://git.helsinki.at/?p=rhnop.git;a=summary
+
+Files: *
+Copyright: Copyright 2011-2015 Christian Pointner <equinox@spreadspace.org>
+License: GPL-3+
+ rhnop 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
+ any later version.
+ .
+ rhnop 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 rhnop. If not, see <http://www.gnu.org/licenses/>.
+
+Files: debian/*
+Copyright: Copyright 2015 Christian Pointner <equinox@helsinki.at>
+License: GPL-3+
+ 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
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
diff --git a/debian/rhnop-client.install b/debian/rhnop-client.install
new file mode 100644
index 0000000..6b9cf7e
--- /dev/null
+++ b/debian/rhnop-client.install
@@ -0,0 +1,5 @@
+usr/bin/nopcollectd
+usr/bin/nopsysstated
+etc/rhnop/nopcollectd.*.conf
+etc/rhnop/nopsysstated.conf
+usr/share/rhnop/db.lua
diff --git a/debian/rhnop-common.install b/debian/rhnop-common.install
new file mode 100644
index 0000000..3430f1f
--- /dev/null
+++ b/debian/rhnop-common.install
@@ -0,0 +1 @@
+usr/share/rhnop/conf.lua
diff --git a/debian/rhnop-common.postinst b/debian/rhnop-common.postinst
new file mode 100755
index 0000000..46f206a
--- /dev/null
+++ b/debian/rhnop-common.postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+# postinst script for rhnop
+
+set -e
+
+if [ "$1" = "configure" ]; then
+ adduser --quiet --system --group --no-create-home --home /var/run/rhnop rhnop
+ chgrp -R rhnop /etc/rhnop/
+fi
diff --git a/debian/rhnop-common.postrm b/debian/rhnop-common.postrm
new file mode 100755
index 0000000..14f36ba
--- /dev/null
+++ b/debian/rhnop-common.postrm
@@ -0,0 +1,13 @@
+#!/bin/sh
+# postrm script for rhnop
+
+set -e
+
+if [ "$1" = "purge" ] ; then
+ if [ -x "$(command -v deluser)" -a -x "$(command -v delgroup)" ]; then
+ deluser --quiet --system rhnop || true
+ delgroup --quiet --system rhnop || true
+ else
+ echo "Not removing rhnop user and group: adduser package not found." >&2
+ fi
+fi
diff --git a/debian/rhnop-server.install b/debian/rhnop-server.install
new file mode 100644
index 0000000..30ef2ea
--- /dev/null
+++ b/debian/rhnop-server.install
@@ -0,0 +1,7 @@
+usr/bin/noprml
+usr/bin/nopsyncd
+etc/rhnop/nopsyncd.conf
+usr/share/rhnop/rddb.lua
+usr/share/rhnop/playlog.lua
+usr/share/rhnop/qlistener.lua
+usr/share/rhnop/tcpserver.lua \ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..83b194e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --sourcedirectory=src
+
+override_dh_auto_configure:
+ dh_auto_configure -- --ebuild-compat
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)