Skip to content

Commit cecf175

Browse files
committed
Added debian control files
1 parent cb59232 commit cecf175

10 files changed

+130
-1
lines changed

README

+8-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* SIPCapture (HEP3)
1212
* REST Persistence Store
1313
* BSON/JSON Parser
14-
* RAFT Concensus
14+
* RAFT Consensus
1515

1616
## Minimal Prerequisites (Mac and Linux)
1717
### Mac build is tested using homebrew installed packages
@@ -75,3 +75,10 @@ To install build dependencies
7575
../configure --enable-all-features --disable-dep-check
7676
make dist
7777
rpmbuild -ta oss_core-*tar.gz
78+
79+
## Building DEB (Debian or Ubuntu)
80+
-----------------------------------
81+
cd oss_core
82+
apt-get install -y debhelper pkg-config dh-autoreconf devscripts
83+
debuild -uc -us
84+

debian/README.source

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Please submit patches against https://github.com/joegen/oss_core
2+

debian/changelog

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
osscore (3.0.0) unstable; urgency=low
2+
3+
* Initial debian release
4+
5+
-- Joegen Baclor <[email protected]> Tue, 15 May 2018 12:59:59 +0000

debian/compat

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9

debian/control

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Source: osscore
2+
Section: libs
3+
Priority: extra
4+
Maintainer: Debian VoIP Team <[email protected]>
5+
Uploaders: Joegen Baclor <[email protected]>
6+
Build-Depends: libpoco-dev, libboost-all-dev, libzmq5-dev, libv8-dev, libhiredis-dev, libconfig++-dev, libpcap-dev, libmcrypt-dev, libleveldb-dev, libssl-dev, debhelper (>= 9.0.0), pkg-config, dh-autoreconf, devscripts
7+
Homepage: http://www.ossapp.com/
8+
Standards-Version: 3.9.5
9+
Vcs-Git: https://github.com/joegen/oss_core.git
10+
Vcs-Browser: https://github.com/joegen/oss_core
11+
12+
Package: libosscore
13+
Architecture: any
14+
Pre-Depends: ${misc:Pre-Depends}
15+
Depends: ${shlibs:Depends}, ${misc:Depends}
16+
Description: osscore SIP stack - shared libraries
17+
osscore is a framework that aims to fully implement the SIP protocol
18+
with main focus on B2BUA type applications.
19+
.
20+
This package provides the following features
21+
SIP ABNF Parser
22+
SIP Finite State Machines
23+
SIP B2B User Agent
24+
CommonJS Java Script Engine using Google V8
25+
SIP Over Websockets
26+
STUN server
27+
RTP Proxy
28+
CARP High Availability
29+
SIPCapture (HEP3)
30+
REST Persistence Store
31+
BSON/JSON Parser
32+
RAFT Concensus
33+
34+
35+
Package: libosscore-dev
36+
Section: libdevel
37+
Architecture: any
38+
Depends: libosscore (= ${binary:Version}), ${misc:Depends}, libpoco-dev, libboost-all-dev, libzmq5-dev, libv8-dev, libhiredis-dev, libconfig++-dev, libpcap-dev, libmcrypt-dev, libleveldb-dev, libssl-dev
39+
Provides: libosscore-dev
40+
Conflicts: libosscore-dev
41+
Replaces: libosscore-dev
42+
Description: osscore SIP stack - development files
43+
This package provides header files needed for developing applications
44+
based on the osscore library.
45+

debian/copyright

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Library: OSS_CORE - Foundation API for SIP B2BUA
2+
Copyright (c) OSS Software Solutions
3+
Contributor: Joegen Baclor - mailto:[email protected]
4+
5+
Permission is hereby granted, to any person or organization
6+
obtaining a copy of the software and accompanying documentation covered by
7+
this license (the "Software") to use, execute, and to prepare
8+
derivative works of the Software, all subject to the
9+
"GNU Lesser General Public License (LGPL)".
10+
11+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
14+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
15+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
16+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
17+
DEALINGS IN THE SOFTWARE.
18+

debian/libosscore-dev.install

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
usr/include/OSS/*.h
2+
usr/include/OSS/ABNF
3+
usr/include/OSS/BSON
4+
usr/include/OSS/Crypto
5+
usr/include/OSS/EP
6+
usr/include/OSS/Exec
7+
usr/include/OSS/JS
8+
usr/include/OSS/JSON
9+
usr/include/OSS/LMDB
10+
usr/include/OSS/Net
11+
usr/include/OSS/Persistent
12+
usr/include/OSS/RAFT
13+
usr/include/OSS/RTP
14+
usr/include/OSS/SDP
15+
usr/include/OSS/SIP/B2BUA
16+
usr/include/OSS/SIP/EP
17+
usr/include/OSS/SIP/SIPQ
18+
usr/include/OSS/SIP/UA
19+
usr/include/OSS/STUN
20+
usr/include/OSS/UTL
21+
usr/include/OSS/websocketpp
22+
usr/include/OSS/ZMQ
23+

debian/libosscore.install

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
usr/lib/*/liboss_*.*
2+
usr/lib/*/oss_modules/*/*
3+
usr/bin/ossjs

debian/rules

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/make -f
2+
3+
DEB_BUILD_MAINT_OPTIONS = hardening=+all
4+
DPKG_EXPORT_BUILDFLAGS = 1
5+
include /usr/share/dpkg/buildflags.mk
6+
DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp
7+
CFG_ARGS := --enable-all-features
8+
9+
10+
override_dh_auto_configure:
11+
dh_auto_configure -- $(CFG_ARGS)
12+
13+
override_dh_auto_build:
14+
dh_auto_build --parallel
15+
16+
# force building in the pkgroot or it won't build
17+
%:
18+
dh $@ --with autoreconf --builddirectory=.
19+
20+
override_dh_auto_test:
21+
/bin/true
22+
23+
override_dh_auto_clean:
24+
/bin/true

debian/source/format

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (native)

0 commit comments

Comments
 (0)