From 2576fa57bb03788ccf752a02c12a7aa4c67e3420 Mon Sep 17 00:00:00 2001 From: John Turner Date: Sat, 9 Aug 2025 18:40:46 -0400 Subject: rm debian --- debian/README.Debian | 6 ------ debian/changelog | 5 ----- debian/control | 23 ----------------------- debian/copyright | 31 ------------------------------- debian/dssp5-docs.docs | 1 - debian/dssp5.install | 2 -- debian/postinst | 48 ------------------------------------------------ debian/postrm | 39 --------------------------------------- debian/rules | 26 -------------------------- debian/source/format | 1 - 10 files changed, 182 deletions(-) delete mode 100644 debian/README.Debian delete mode 100644 debian/changelog delete mode 100644 debian/control delete mode 100644 debian/copyright delete mode 100644 debian/dssp5-docs.docs delete mode 100644 debian/dssp5.install delete mode 100644 debian/postinst delete mode 100644 debian/postrm delete mode 100755 debian/rules delete mode 100644 debian/source/format diff --git a/debian/README.Debian b/debian/README.Debian deleted file mode 100644 index 0e668c2..0000000 --- a/debian/README.Debian +++ /dev/null @@ -1,6 +0,0 @@ -dssp5 for Debian --------------------- - -First release. - - -- Dominick Grift Sun, 20 Aug 2023 12:17:46 +0200 diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index e0f1595..0000000 --- a/debian/changelog +++ /dev/null @@ -1,5 +0,0 @@ -dssp5 (1.0-1) UNRELEASED; urgency=medium - - * Initial release. - - -- Dominick Grift Sun, 20 Aug 2023 12:17:46 +0200 diff --git a/debian/control b/debian/control deleted file mode 100644 index ff7a5b0..0000000 --- a/debian/control +++ /dev/null @@ -1,23 +0,0 @@ -Source: dssp5 -Section: admin -Priority: optional -Maintainer: Dominick Grift -Rules-Requires-Root: no -Build-Depends: - debhelper-compat (= 13), - findutils (>= 4.9.0), - make (>= 4.3), - policycoreutils (>= 3.4), -Standards-Version: 4.6.2 -Homepage: https://www.defensec.nl -Vcs-Browser: https://salsa.debian.org/dgrift/dssp5 -Vcs-Git: https://salsa.debian.org/dgrift/dssp5.git - -Package: dssp5 -Architecture: any -Multi-Arch: foreign -Depends: - policycoreutils (>= 3.4), - ${misc:Depends}, -Description: Defensec SELinux security policy - Modular variant suitable for Debian diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 30be6c5..0000000 --- a/debian/copyright +++ /dev/null @@ -1,31 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ - -Files: - * -Copyright: - 2025 Dominick Grift -License: PD - This is free and unencumbered software released into the public domain. - . - Anyone is free to copy, modify, publish, use, compile, sell, or - distribute this software, either in source code form or as a compiled - binary, for any purpose, commercial or non-commercial, and by any - means. - . - In jurisdictions that recognize copyright laws, the author or authors - of this software dedicate any and all copyright interest in the - software to the public domain. We make this dedication for the benefit - of the public at large and to the detriment of our heirs and - successors. We intend this dedication to be an overt act of - relinquishment in perpetuity of all present and future rights to this - software under copyright law. - . - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR - OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, - ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - OTHER DEALINGS IN THE SOFTWARE. - . - For more information, please refer to diff --git a/debian/dssp5-docs.docs b/debian/dssp5-docs.docs deleted file mode 100644 index 86ca00f..0000000 --- a/debian/dssp5-docs.docs +++ /dev/null @@ -1 +0,0 @@ -README.Debian diff --git a/debian/dssp5.install b/debian/dssp5.install deleted file mode 100644 index f512df3..0000000 --- a/debian/dssp5.install +++ /dev/null @@ -1,2 +0,0 @@ -/etc/selinux/dssp5 -/var/lib/selinux/dssp5 diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index 479e1ed..0000000 --- a/debian/postinst +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# postinst script for dssp5. -# -# See: dh_installdeb(1). - -set -e - -# Summary of how this script can be called: -# * 'configure' -# * 'abort-upgrade' -# * 'abort-remove' 'in-favour' -# -# * 'abort-remove' -# * 'abort-deconfigure' 'in-favour' -# 'removing' -# -# for details, see https://www.debian.org/doc/debian-policy/ or -# the debian-policy package. - - -case "$1" in - configure) - echo "Updating dssp5 SELinux policy" - - if [ ! -e /etc/selinux/config ]; then - echo "SELINUX=enforcing" > /etc/selinux/config - echo "SELINUXTYPE=dssp5" >> /etc/selinux/config - else - . /etc/selinux/config - [ "${SELINUXTYPE}" = "dssp5" ] && semodule -BPNs dssp5 && selinuxenabled && load_policy - fi - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument '$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/postrm b/debian/postrm deleted file mode 100644 index 39cf1b9..0000000 --- a/debian/postrm +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -# postrm script for dssp5. -# -# See: dh_installdeb(1). - -set -e - -# Summary of how this script can be called: -# * 'remove' -# * 'purge' -# * 'upgrade' -# * 'failed-upgrade' -# * 'abort-install' -# * 'abort-install' -# * 'abort-upgrade' -# * 'disappear' -# -# for details, see https://www.debian.org/doc/debian-policy/ or -# the debian-policy package. - - -case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - rm -rf /etc/selinux/dssp5 /var/lib/selinux/dssp5 - [ -d /var/lib/selinux/final ] && rmdir --ignore-fail-on-non-empty /var/lib/selinux/final - ;; - - *) - echo "postrm called with unknown argument '$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 4a021d3..0000000 --- a/debian/rules +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/make -f - -# See debhelper(7) (uncomment to enable). -# Output every command that modifies files on the build system. -#export DH_VERBOSE = 1 - - -# 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 - - -%: - dh $@ - -override_dh_auto_build: -override_dh_auto_test: -override_dh_auto_install: - make modular_install DESTDIR=$(CURDIR)/debian/tmp - rm -f $(CURDIR)/debian/tmp/etc/selinux/dssp5/contexts/files/file_contexts.bin - rm -f $(CURDIR)/debian/tmp/etc/selinux/dssp5/contexts/files/file_contexts.homedirs.bin diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 163aaf8..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) -- cgit v1.2.3