Initial debian folder import
authorkaliko <kaliko@azylum.org>
Fri, 13 Mar 2015 15:16:45 +0000 (16:16 +0100)
committerkaliko <kaliko@azylum.org>
Fri, 13 Mar 2015 15:16:45 +0000 (16:16 +0100)
13 files changed:
debian/README.Debian [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/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/install [new file with mode: 0644]
debian/opentracker.conf [new file with mode: 0644]
debian/patches/make.pt [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..3d5fab2
--- /dev/null
@@ -0,0 +1,6 @@
+opentracker for Debian
+----------------------
+
+
+
+ -- Kaliko Jack <kaliko@azylum.org>  Thu, 05 Feb 2015 18:16:04 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..ac65124
--- /dev/null
@@ -0,0 +1,5 @@
+opentracker (20141007-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #nnnn)
+
+ -- Kaliko Jack <kaliko@azylum.org>  Thu, 05 Feb 2015 18:16:04 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..a0864cd
--- /dev/null
@@ -0,0 +1,16 @@
+Source: opentracker
+Section: net
+Priority: optional
+Maintainer: Kaliko Jack <kaliko@azylum.org>
+Build-Depends: debhelper (>= 9), libowfat-dev, zlib1g-dev, freebsd-glue
+Standards-Version: 3.9.6
+Homepage: http://erdgeist.org/arts/software/opentracker/
+#Vcs-Git: git://anonscm.debian.org/collab-maint/opentracker.git
+#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/opentracker.git;a=summary
+
+Package: opentracker
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Open and free bittorrent tracker
+ opentracker is a open and free bittorrent tracker project. It aims for minimal
+ resource usage and is intended to run at your wlan router
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..f9c1833
--- /dev/null
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: opentracker
+Source: http://erdgeist.org/arts/software/opentracker/
+
+Files: *
+Copyright: Dirk Engling <erdgeist@erdgeist.org>
+License: Beerware
+ THE BEER-WARE LICENSE" (Revision 42):
+ As long as you retain this notice you can do whatever you want with this
+ stuff. If we meet some day, and you think this stuff is worth it, you can buy
+ me a beer in return.
+
+Files: debian/*
+Copyright: 2015 Kaliko Jack <kaliko@azylum.org>
+License: GPL-2+
+ 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".
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..9c1050e
--- /dev/null
@@ -0,0 +1,3 @@
+bin
+etc/opentracker
+var/lib/opentracker
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..be863b5
--- /dev/null
@@ -0,0 +1,2 @@
+README
+README_v6
diff --git a/debian/install b/debian/install
new file mode 100644 (file)
index 0000000..49b01c0
--- /dev/null
@@ -0,0 +1 @@
+debian/opentracker.conf etc/opentracker/
diff --git a/debian/opentracker.conf b/debian/opentracker.conf
new file mode 100644 (file)
index 0000000..99dd84c
--- /dev/null
@@ -0,0 +1,49 @@
+# opentracker config file
+#
+
+#      Address opentracker will listen on, using both, tcp AND udp family
+#      (note, that port 6969 is implicite if ommitted).
+#
+#      If no listen option is given (here or on the command line), opentracker
+#      listens on 0.0.0.0:6969 tcp and udp.
+#
+#      The next variable determines if udp sockets are handled in the event
+#      loop (set it to 0, the default) or are handled in blocking reads in
+#      dedicated worker threads. You have to set this value before the
+#      listen.tcp_udp or listen.udp statements before it takes effect, but you
+#      can re-set it for each listen statement. Normally you should keep it at
+#      the top of the config file.
+#
+#listen.udp.workers 4
+#
+#listen.tcp_udp 0.0.0.0
+#listen.tcp_udp 192.168.0.1:80
+#listen.tcp_udp 10.0.0.5:6969
+listen.tcp_udp [::]:6969
+#
+#      To only listen on tcp or udp family ports, list them this way:
+#
+#listen.tcp 0.0.0.0
+#listen.udp 192.168.0.1:6969
+#
+#      Note, that using 0.0.0.0 for udp sockets may yield surprising results.
+#      An answer packet sent on that socket will not necessarily have the
+#      source address that the requesting client may expect, but any address
+#      on that interface.
+#
+#      Control privilege drop behaviour.
+#      Put in the directory opentracker will chroot/chdir to.
+#
+#
+#tracker.rootdir /var/lib/opentracker
+tracker.rootdir /tmp/
+#
+#      Tell opentracker which user to setuid to.
+#
+tracker.user    nobody
+#
+
+#      opentracker can be told to answer to a "GET / HTTP"-request with a
+#      redirect to another location (shell option -r).
+#
+# tracker.redirect_url https://your.tracker.local/
diff --git a/debian/patches/make.pt b/debian/patches/make.pt
new file mode 100644 (file)
index 0000000..185329d
--- /dev/null
@@ -0,0 +1,15 @@
+Description: Add DESTDIR support
+Author: kaliko <kaliko@azylum.org>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/Makefile
++++ b/Makefile
+@@ -17,7 +17,7 @@
+ LIBOWFAT_HEADERS=$(PREFIX)/libowfat
+ LIBOWFAT_LIBRARY=$(PREFIX)/libowfat
+-BINDIR?=$(PREFIX)/bin
++BINDIR=$(DESTDIR)/bin
+ #FEATURES+=-DWANT_V6
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..95b84a3
--- /dev/null
@@ -0,0 +1 @@
+make.pt
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..79d98d9
--- /dev/null
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+DH_VERBOSE = 1
+
+# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+#FEATURES+=-DWANT_V6
+#FEATURES+=-DWANT_ACCESSLIST_BLACK
+#FEATURES+=-DWANT_ACCESSLIST_WHITE
+#FEATURES+=-DWANT_IP_FROM_QUERY_STRING
+FEATURES+=-DWANT_COMPRESSION_GZIP
+#FEATURES+=-DWANT_IP_FROM_PROXY
+#FEATURES+=-DWANT_LOG_NUMWANT -DWANT_MODEST_FULLSCRAPES
+#FEATURES+=-DWANT_SPOT_WOODPECKER
+FEATURES+=-DWANT_SYSLOGS
+FEATURES+=-DWANT_DEV_RANDOM
+FEATURES+=-DWANT_RESTRICT_STATS
+
+export FEATURES
+export LIBOWFAT_HEADERS=/usr/include
+export LIBOWFAT_LIBRARY=/usr/lib
+export LDFLAGS+=-lfreebsd-glue
+
+# main packaging script based on dh7 syntax
+%:
+       dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)