Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Remove packaging #108
Merged
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
Jump to file or symbol
Failed to load files and symbols.
File renamed without changes.
521
debian/changelog
Large diffs are not rendered by default.
Oops, something went wrong.
| @@ -1 +0,0 @@ | ||
| -9 |
| @@ -1,39 +0,0 @@ | ||
| -Source: snap-confine | ||
| -Section: utils | ||
| -Priority: optional | ||
| -Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> | ||
| -Build-Depends: autoconf, | ||
| - automake, | ||
| - autotools-dev, | ||
| - debhelper (>= 9), | ||
| - dh-apparmor, | ||
| - dh-autoreconf, | ||
| - indent, | ||
| - libapparmor-dev, | ||
| - libglib2.0-dev, | ||
| - libseccomp-dev, | ||
| - libudev-dev, | ||
| - pkg-config, | ||
| - python3-docutils, | ||
| - shellcheck, | ||
| - udev | ||
| -Standards-Version: 3.9.8 | ||
| -Vcs-Git: https://github.com/snapcore/snap-confine | ||
| - | ||
| -Package: snap-confine | ||
| -Architecture: any | ||
| -Breaks: ubuntu-core-launcher (<< 1.0.32) | ||
| -Replaces: ubuntu-core-launcher (<< 1.0.32) | ||
| -Depends: apparmor, ${misc:Depends}, ${shlibs:Depends} | ||
| -Description: Support executable to apply confinement for snappy apps | ||
| - This package contains an internal tool for applying confinement to snappy app. | ||
| - The executable (snap-confine) is ran internally by snapd to apply confinement | ||
| - to the started application process. The tool is written in C and carefully | ||
| - reviewed to limit the attack surface on the security model of snapd. | ||
| - | ||
| -Package: ubuntu-core-launcher | ||
| -Architecture: all | ||
| -Depends: snap-confine, ${misc:Depends}, ${shlibs:Depends} | ||
| -Pre-Depends: dpkg (>= 1.17.14) | ||
| -Description: Launcher for ubuntu-core (snappy) apps | ||
| - This package contains the launcher for launching snappy applications |
| @@ -1,21 +0,0 @@ | ||
| -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
| - | ||
| -Files: * | ||
| -Copyright: 2014-16 Canonical Ltd. | ||
| -License: GPL-3.0 | ||
| - | ||
| -License: GPL-3.0 | ||
| - This program is free software: you can redistribute it and/or modify | ||
| - it under the terms of the GNU General Public License version 3, as | ||
| - published by the Free Software Foundation. | ||
| - . | ||
| - 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 3 can be found in "/usr/share/common-licenses/GPL-3". |
29
debian/rules
| @@ -1,29 +0,0 @@ | ||
| -#!/usr/bin/make -f | ||
| -export DEB_BUILD_MAINT_OPTIONS = hardening=+all | ||
| -DPKG_EXPORT_BUILDFLAGS = 1 | ||
| -include /usr/share/dpkg/buildflags.mk | ||
| - | ||
| - | ||
| -# Currently, we enable confinement for Ubuntu only, not for derivatives, | ||
| -# because derivatives may have different kernels that don't support all the | ||
| -# required confinement features and we don't to mislead anyone about the | ||
| -# security of the system. Discuss a proper approach to this for downstreams | ||
| -# if and when they approach us | ||
| -ifeq ($(shell dpkg-vendor --query Vendor),Ubuntu) | ||
| - VENDOR_ARGS=--enable-nvidia-ubuntu | ||
| -else | ||
| - VENDOR_ARGS=--disable-apparmor | ||
| -endif | ||
| - | ||
| -%: | ||
| - dh $@ --with autoreconf | ||
| - | ||
| -override_dh_auto_configure: | ||
| - ./configure --prefix=/usr --libexecdir=/usr/lib/snapd $(VENDOR_ARGS) | ||
| - | ||
| -override_dh_fixperms: | ||
| - dh_fixperms -Xusr/lib/snapd/snap-confine | ||
| - | ||
| -override_dh_installdeb: | ||
| - dh_apparmor --profile-name=usr.lib.snapd.snap-confine -psnap-confine | ||
| - dh_installdeb |
| @@ -1,3 +0,0 @@ | ||
| -etc/apparmor.d/*.snap-confine | ||
| -lib/* | ||
| -usr/lib/snapd/* |
| @@ -1,2 +0,0 @@ | ||
| -# Yes, we expect this to be suid. | ||
| -snap-confine: setuid-binary usr/lib/snapd/snap-confine 4755 root/root |
| @@ -1 +0,0 @@ | ||
| -debian/tmp/usr/share/man/man5/snap-confine.5 |
| @@ -1 +0,0 @@ | ||
| -3.0 (native) |
| @@ -1 +0,0 @@ | ||
| -usr/bin/ubuntu-core-launcher |
| @@ -1 +0,0 @@ | ||
| -rm_conffile /etc/apparmor.d/usr.bin.ubuntu-core-launcher 1.0.29~ -- "$@" |
| @@ -1 +0,0 @@ | ||
| -debian/tmp/usr/share/man/man1/ubuntu-core-launcher.1 |
| @@ -1,15 +0,0 @@ | ||
| -#!/bin/sh | ||
| -set -e | ||
| - | ||
| -#DEBHELPER# | ||
| - | ||
| -case $1 in | ||
| - configure) | ||
| - # remove current profile so that the pass-through can still run | ||
| - if [ -e /sys/kernel/security/apparmor/.remove ]; then | ||
| - if egrep -q '^/usr/bin/ubuntu-core-launcher \([[:alpha:]]+\)$' /sys/kernel/security/apparmor/profiles; then | ||
| - echo -n '/usr/bin/ubuntu-core-launcher' > /sys/kernel/security/apparmor/.remove | ||
| - fi | ||
| - fi | ||
| - ;; | ||
| -esac |
| @@ -1,3 +0,0 @@ | ||
| -version=3 | ||
| -opts=filenamemangle=s/.+\/snap-confine-(\d\S*)\.tar\.gz/snap-confine-$1\.tar\.gz/ \ | ||
| - https://github.com/snapcore/snap-confine/releases/ .*/snap-confine-(\d\S*)\.tar\.gz |