1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-02-12 11:21:56 +00:00

Add initial Debian packages files

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-03-04 16:41:52 +01:00
parent 637e2ee08a
commit 91116306a1
6 changed files with 51 additions and 0 deletions

5
debian/changelog vendored Normal file
View file

@ -0,0 +1,5 @@
omr-server (0.1025) unstable; urgency=medium
* Wireguard support and fixed
-- OpenMPTCProuter <contact@openmptcprouter.com> Thu, 04 Mar 2021 14:36:12 +0200

1
debian/compat vendored Normal file
View file

@ -0,0 +1 @@
10

14
debian/control vendored Normal file
View file

@ -0,0 +1,14 @@
Source: omr-server
Section: net
Priority: optional
Maintainer: OpenMPTCProuter <contact@openmptcprouter.com>
Build-Depends: debhelper (>= 10)
X-Python-Version: >= 3.2
Standards-Version: 0.0.1
Homepage: https://github.com/ysurac/openmptcprouter-vps
Package: omr-server
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
Description: OpenMPTCProuter Server script

3
debian/install vendored Normal file
View file

@ -0,0 +1,3 @@
* usr/share/omr-server
shorewall4/* usr/share/omr-server/shorewall4
shorewall6/* usr/share/omr-server/shorewall6

15
debian/postinst vendored Normal file
View file

@ -0,0 +1,15 @@
#!/bin/sh -e
test $DEBIAN_SCRIPT_DEBUG && set -v -x
# use debconf
. /usr/share/debconf/confmodule
cd /usr/share/omr-server
LOCALFILES=no SOURCES=no sh build.sh
db_stop
#DEBHELPER#
exit 0
# vim:set ai et sts=2 sw=2 tw=0:

13
debian/rules vendored Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/make -f
#export DH_VERBOSE = 1
# Security Hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
override_dh_auto_install:
mkdir -p /usr/share/omr-server/shorewall4
mkdir -p /usr/share/omr-server/shorewall6