3 Commits
v0.1 ... v0.9.2

Author SHA1 Message Date
a0a58c46d9 bump version 2021-02-20 16:11:25 +01:00
3e3252ed48 add support for do_reposync on gentoo 2021-02-20 16:00:27 +01:00
9eebd56869 fix selinux policy on gentoo 2020-05-06 18:35:36 +02:00
5 changed files with 14 additions and 5 deletions

View File

@ -30,6 +30,9 @@ default_service_policy=ignore
# do depclean on Gentoo # do depclean on Gentoo
do_depclean=yes do_depclean=yes
# do eix-sync on Gentoo
do_reposync=yes
# to only write to stderr when something unexpected happens or manual action is required # to only write to stderr when something unexpected happens or manual action is required
# set stderr_loglevel to warning # set stderr_loglevel to warning
stderr_loglevel=debug stderr_loglevel=debug

View File

@ -98,6 +98,7 @@ def pkg_upgrade():
log = logging.getLogger(sau.LOGNAME) log = logging.getLogger(sau.LOGNAME)
conf = sau.config conf = sau.config
if conf.getboolean('default', 'do_reposync', fallback=True):
_sync_portage() _sync_portage()
# [ebuild U ] media-plugins/alsa-plugins-1.1.8 [1.1.6] # [ebuild U ] media-plugins/alsa-plugins-1.1.8 [1.1.6]

View File

@ -1,2 +1,7 @@
/usr/bin/sau gen_context(system_u:object_r:sau_exec_t,s0) /usr/bin/sau -- gen_context(system_u:object_r:sau_exec_t,s0)
/etc/sau.cfg gen_context(system_u:object_r:sau_config_t,s0)
# on gentoo python executables are executed via python-exec
/usr/lib/python-exec/python[0-9\.]*/sau -- gen_context(system_u:object_r:sau_exec_t,s0)
/etc/sau.cfg -- gen_context(system_u:object_r:sau_config_t,s0)

View File

@ -1,4 +1,4 @@
policy_module(sau, 0.2) policy_module(sau, 0.9.1)
gen_require(` gen_require(`
type system_cronjob_t; type system_cronjob_t;

View File

@ -5,7 +5,7 @@ from setuptools import setup, find_packages
setup( setup(
name='sau', name='sau',
version='0.9.0', version='0.9.2',
description='Tool for auto-updating OS and packages', description='Tool for auto-updating OS and packages',
author='Feffe', author='Feffe',
author_email='feffe@fulh.ax', author_email='feffe@fulh.ax',