Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37754611
en ru br
Репозитории ALT

Группа :: Сети/Удалённый доступ
Пакет: tigervnc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: FC-selinux-missing-compression-and-correct-location.patch
Скачать


From 6125695b80f6a43002f454786115b0a6c1730831 Mon Sep 17 00:00:00 2001
From: Jan Grulich <jgrulich@redhat.com>
Date: Mon, 17 May 2021 13:44:32 +0200
Subject: [PATCH 1/2] SELinux: Add missing compression and install policy to
 correct directory
---
 unix/vncserver/selinux/Makefile | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/unix/vncserver/selinux/Makefile b/unix/vncserver/selinux/Makefile
index 7497bf846..b23f20f60 100644
--- a/unix/vncserver/selinux/Makefile
+++ b/unix/vncserver/selinux/Makefile
@@ -10,15 +10,18 @@
 PREFIX=/usr
 DATADIR=$(PREFIX)/share
-all: vncsession.pp
+all: vncsession.pp.bz2
+
+%.pp.bz2: %.pp
+	bzip2 -9 $^
 %.pp: %.te
 	make -f $(DATADIR)/selinux/devel/Makefile $@
 clean:
-	rm -f *.pp
+	rm -f *.pp *.pp.bz2
 	rm -rf tmp
-install: vncsession.pp
-	mkdir -p $(DESTDIR)$(DATADIR)/selinux/packages
-	install vncsession.pp $(DESTDIR)$(DATADIR)/selinux/packages/vncsession.pp
+install: vncsession.pp.bz2
+	mkdir -p $(DESTDIR)$(DATADIR)/selinux/packages/targeted/
+	install vncsession.pp.bz2 $(DESTDIR)$(DATADIR)/selinux/packages/targeted/vncsession.pp.bz2
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin