Finalizes Lts/Tests migration and RPM to DEB packaging port
This commit is contained in:
31 files changed
+1144
-540
No files matched your search
@@ -0,0 +1,2 @@
|
||||
/etc/lts-cc.conf
|
||||
/etc/ld.so.conf.d/lts_sv.conf
|
||||
@@ -0,0 +1,17 @@
|
||||
Package: legatus-qt6-sv
|
||||
Version: 15.6-qt6.10.2
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Depends: libc6 (>= 2.34), libqt6core6 (>= 6.10.0), libqt6gui6 (>= 6.10.0), libqt6network6 (>= 6.10.0), libqt6sql6 (>= 6.10.0), libqt6xml6 (>= 6.10.0), libqt6websockets6 (>= 6.10.0), libgdal34, libpoppler-qt6-1, libecpg6, postgresql-client
|
||||
Maintainer: Legatus Team <legatus@life-maps.de>
|
||||
Description: Live Simulation Training System Server Software (Qt6)
|
||||
This package contains the Qt6-migrated LTS server software.
|
||||
.
|
||||
Features:
|
||||
- Qt6/C++17 migrated server components
|
||||
- PostgreSQL database connectivity
|
||||
- DDS-based communication (RTI Connext 7.7)
|
||||
- WebSockets support for remote clients
|
||||
.
|
||||
This is part of the Legatus Qt6 migration project.
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# postinst script for legatus-qt6-sv
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
# Update linker cache
|
||||
ldconfig
|
||||
|
||||
# Create log directory if it doesn't exist
|
||||
LOGDIR="/opt/legatus/sv/../LOG"
|
||||
if [ ! -e "${LOGDIR}" ]; then
|
||||
mkdir -p "${LOGDIR}"
|
||||
chown root:root "${LOGDIR}"
|
||||
chmod 1777 "${LOGDIR}"
|
||||
fi
|
||||
|
||||
# Enable systemd service if it exists
|
||||
if [ -f "/etc/systemd/system/lts_sv.service" ]; then
|
||||
systemctl daemon-reload
|
||||
systemctl enable lts_sv.service 2>/dev/null || true
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# postrm script for legatus-qt6-sv
|
||||
|
||||
if [ "$1" = "remove" ]; then
|
||||
# Update linker cache
|
||||
ldconfig
|
||||
|
||||
# Disable systemd service
|
||||
if [ -f "/etc/systemd/system/lts_sv.service" ]; then
|
||||
systemctl disable lts_sv.service 2>/dev/null || true
|
||||
systemctl stop lts_sv.service 2>/dev/null || true
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$1" = "purge" ]; then
|
||||
# Remove configuration files on purge
|
||||
rm -f /etc/lts-cc.conf
|
||||
rm -f /etc/ld.so.conf.d/lts_sv.conf
|
||||
rm -f /etc/security/limits.d/lts_sv_limits.conf
|
||||
|
||||
# Update linker cache
|
||||
ldconfig
|
||||
fi
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# prerm script for legatus-qt6-sv
|
||||
|
||||
if [ "$1" = "remove" ]; then
|
||||
# Stop service before removal
|
||||
if [ -f "/etc/systemd/system/lts_sv.service" ]; then
|
||||
systemctl stop lts_sv.service 2>/dev/null || true
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user