Commit Graph

91 Commits

Author SHA256 Message Date
Dominique Leuenberger
74722eab91 Accepting request 590074 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/590074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=49
2018-03-30 09:54:55 +00:00
Johannes Segitz
a9b0f4a216 Accepting request 590073 from home:jsegitz:branches:libselinux
- Updated spec file to use python3. Added python3.patch to fix
  build

OBS-URL: https://build.opensuse.org/request/show/590073
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=94
2018-03-22 10:58:22 +00:00
Dominique Leuenberger
a4b9cb40a3 Accepting request 545897 from security:SELinux
please combine checkpolicy libselinux libsemanage libsepol policycoreutils

OBS-URL: https://build.opensuse.org/request/show/545897
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=48
2017-12-06 07:46:37 +00:00
Johannes Segitz
b0259f782e OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=92 2017-11-27 09:18:52 +00:00
Dominique Leuenberger
ab23766c14 Accepting request 514179 from security:SELinux
1

OBS-URL: https://build.opensuse.org/request/show/514179
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=47
2017-08-24 15:38:46 +00:00
9e1669780b Accepting request 513170 from home:Andreas_Schwab:glibc:rebuild
- readv-proto.patch: include <sys/uio.h> for readv prototype

OBS-URL: https://build.opensuse.org/request/show/513170
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=90
2017-08-03 08:16:09 +00:00
Dominique Leuenberger
44258757c5 Accepting request 415273 from security:SELinux
1

OBS-URL: https://build.opensuse.org/request/show/415273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=46
2016-08-03 09:36:44 +00:00
Johannes Segitz
cef88e84da Accepting request 415258 from home:jengelh:branches:security:SELinux
resubmit because merge conflict ensued

- Update RPM groups, trim description and combine filelist entries.
Note that the *SRPM* group field is updated here,
which must not be System/Libraries. Or at least should not be,
because there is a much better group for selinux
(be it System/Base, or Security/lol or D/L/C)

OBS-URL: https://build.opensuse.org/request/show/415258
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=88
2016-07-26 14:56:29 +00:00
Johannes Segitz
1f94f8811a Accepting request 414915 from home:elvigia:branches:security:SELinux
- -devel static subpackage requires libpcre-devel and libsepol-devel

- Avoid mounting /proc outside of selinux_init_load_policy().
  (Stephen Smalley) reverts upstream 5a8d8c4, 9df4988, fixes
  among other things systemd seccomp sandboxing otherwise all
  filters must allow mount(2)
  (libselinux-proc-mount-only-if-needed.patch)

OBS-URL: https://build.opensuse.org/request/show/414915
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=87
2016-07-26 12:15:13 +00:00
Dominique Leuenberger
cdad8a754d Accepting request 408437 from security:SELinux
1

OBS-URL: https://build.opensuse.org/request/show/408437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=45
2016-07-18 19:16:39 +00:00
Johannes Segitz
2aadb1f9f1 Accepting request 408436 from home:jsegitz:branches:security:SELinux
- Adjusted source link

- Adjusted source link

OBS-URL: https://build.opensuse.org/request/show/408436
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=85
2016-07-14 08:42:04 +00:00
Johannes Segitz
9503bfe5fe Accepting request 408218 from security:SELinux
1

OBS-URL: https://build.opensuse.org/request/show/408218
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=84
2016-07-13 07:22:28 +00:00
Johannes Segitz
9a44e1df85 Accepting request 319563 from home:jsegitz:branches:security:SELinux
- Update to version 2.3 
* Get rid of security_context_t and fix const declarations.
* Refactor rpm_execcon() into a new setexecfilecon() from Guillem Jover.

- fixed selinux-ready to work with initrd files created by dracut (bsc#940006)

OBS-URL: https://build.opensuse.org/request/show/319563
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=83
2015-07-30 12:06:49 +00:00
Dominique Leuenberger
7c2aef85df Accepting request 309049 from security:SELinux
1

OBS-URL: https://build.opensuse.org/request/show/309049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=44
2015-05-30 10:32:56 +00:00
Vítězslav Čížek
2e246b5644 Accepting request 308905 from home:dimstar:Factory
Fix building of libselinux-bindings: make proper use of ruby 2.2

OBS-URL: https://build.opensuse.org/request/show/308905
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=81
2015-05-28 09:05:55 +00:00
Stephan Kulow
f3a6cc85da Accepting request 247985 from security:SELinux
1

OBS-URL: https://build.opensuse.org/request/show/247985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=43
2014-09-09 16:59:15 +00:00
Johannes Segitz
0b8e4bc585 Accepting request 247967 from home:jsegitz:branches:security:SELinux
- updated selinux-ready script to handle initrd files compressed with xz

OBS-URL: https://build.opensuse.org/request/show/247967
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=79
2014-09-08 09:42:21 +00:00
Stephan Kulow
86cd2fa251 Accepting request 234707 from security:SELinux
update to version 2.3

OBS-URL: https://build.opensuse.org/request/show/234707
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=41
2014-05-22 18:38:32 +00:00
Johannes Segitz
e6aba78eb0 fixed source URLs
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=77
2014-05-19 10:10:20 +00:00
Johannes Segitz
f034316b28 changed source URL
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=76
2014-05-19 10:09:35 +00:00
Johannes Segitz
69bcccb4c3 Accepting request 234489 from home:elvigia:branches:security:SELinux
- Update to version 2.3 
* Get rid of security_context_t and fix const declarations.
* Refactor rpm_execcon() into a new setexecfilecon() from Guillem Jover.

OBS-URL: https://build.opensuse.org/request/show/234489
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=75
2014-05-19 07:31:10 +00:00
Stephan Kulow
d153dbd34a Accepting request 206078 from security:SELinux
- Update to version 2.2
  * Fix avc_has_perm() returns -1 even when SELinux is in permissive mode.
  * Support overriding Makefile RANLIB
  * Update pkgconfig definition
  * Mount sysfs before trying to mount selinuxfs.
  * Fix man pages
  * Support overriding PATH  and LIBBASE in Makefile
  * Fix LDFLAGS usage
  * Avoid shadowing stat in load_mmap
  * Support building on older PCRE libraries
  * Fix handling of temporary file in sefcontext_compile
  * Fix procattr cache
  * Define python constants for getenforce result
  * Fix label substitution handling of /
  * Add selinux_current_policy_path from
  * Change get_context_list to only return good matches
  * Support udev-197 and higher
  * Add support for local substitutions
  * Change setfilecon to not return ENOSUP if context is already correct
  * Python wrapper leak fixes
  * Export SELINUX_TRANS_DIR definition in selinux.h
  * Add selinux_systemd_contexts_path
  * Add selinux_set_policy_root
  * Add man page for sefcontext_compile
- Remove libselinux-rhat.patch; merged on upstream
- Adapt libselinux-ruby.patch to upstream changes
- Use fdupes to symlink duplicate manpages (forwarded request 205373 from posophe)

OBS-URL: https://build.opensuse.org/request/show/206078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=40
2013-11-07 16:37:06 +00:00
921d475c08 Accepting request 205373 from home:posophe:branches:security:SELinux
- Update to version 2.2
  * Fix avc_has_perm() returns -1 even when SELinux is in permissive mode.
  * Support overriding Makefile RANLIB
  * Update pkgconfig definition
  * Mount sysfs before trying to mount selinuxfs.
  * Fix man pages
  * Support overriding PATH  and LIBBASE in Makefile
  * Fix LDFLAGS usage
  * Avoid shadowing stat in load_mmap
  * Support building on older PCRE libraries
  * Fix handling of temporary file in sefcontext_compile
  * Fix procattr cache
  * Define python constants for getenforce result
  * Fix label substitution handling of /
  * Add selinux_current_policy_path from
  * Change get_context_list to only return good matches
  * Support udev-197 and higher
  * Add support for local substitutions
  * Change setfilecon to not return ENOSUP if context is already correct
  * Python wrapper leak fixes
  * Export SELINUX_TRANS_DIR definition in selinux.h
  * Add selinux_systemd_contexts_path
  * Add selinux_set_policy_root
  * Add man page for sefcontext_compile
- Remove libselinux-rhat.patch; merged on upstream
- Adapt libselinux-ruby.patch to upstream changes
- Use fdupes to symlink duplicate manpages

OBS-URL: https://build.opensuse.org/request/show/205373
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=73
2013-11-07 10:18:12 +00:00
Stephan Kulow
48783d67cd Accepting request 181589 from security:SELinux
- change the source url to the official 2.1.13 release tarball

- change the source url to the official 2.1.13 release tarball (forwarded request 181179 from vitezslav_cizek)

OBS-URL: https://build.opensuse.org/request/show/181589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=38
2013-07-02 05:38:31 +00:00
d86c4f4446 Accepting request 181179 from home:vitezslav_cizek:branches:security:SELinux
- change the source url to the official 2.1.13 release tarball

- change the source url to the official 2.1.13 release tarball

OBS-URL: https://build.opensuse.org/request/show/181179
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=71
2013-07-01 09:25:36 +00:00
Stephan Kulow
08bffe425e Accepting request 176675 from security:SELinux
- Reuse implicit dependencies injected by pkgconfig (forwarded request 176378 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/176675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=37
2013-05-28 05:40:49 +00:00
3a697a447e Accepting request 176378 from home:jengelh:branches:security:SELinux
- Reuse implicit dependencies injected by pkgconfig

OBS-URL: https://build.opensuse.org/request/show/176378
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=69
2013-05-27 08:46:56 +00:00
Stephan Kulow
a4db418e24 Accepting request 162719 from security:SELinux
- fixed source url in libselinux-bindings.spec
- removed old tarball

- fix source url
- document changes in libselinux-rhat.patch from previous submission:
  (most code of the removed code was integrated upstream)
  * Add matchpathcon -P /etc/selinux/mls support by allowing users
    to set alternate root
  * Add new constant SETRANS_DIR which points to the directory
    where mstransd can find the socket and libvirt can write its
    translations files

-update to 2.1.13
 * audit2why: make sure path is nul terminated
 * utils: new file context regex compiler
 * label_file: use precompiled filecontext when possible
 * do not leak mmapfd
 * sefcontontext_compile: Add error handling to help debug problems in libsemanage.
 * man: make selinux.8 mention service man pages
 * audit2why: Fix segfault if finish() called twice
 * audit2why: do not leak on multiple init() calls
 * mode_to_security_class: interface to translate a mode_t in to a security class
 * audit2why: Cleanup audit2why analysys function
 * man: Fix program synopsis and function prototypes in man pages
 * man: Fix man pages formatting
 * man: Fix typo in man page
 * man: Add references and man page links to _raw function variants
 * Use ENOTSUP instead of EOPNOTSUPP for getfilecon functions
 * man: context_new(3): fix the return value description
 * selinux_status_open: handle error from sysconf

OBS-URL: https://build.opensuse.org/request/show/162719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=36
2013-04-07 12:23:14 +00:00
d5e79fae52 fixed source url
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=67
2013-04-05 08:29:00 +00:00
9f921c5cff use correct source url
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=66
2013-04-05 08:24:08 +00:00
08d19fcab7 Accepting request 162652 from home:vitezslav_cizek:branches:security:SELinux
- fixed source url in libselinux-bindings.spec
- removed old tarball

OBS-URL: https://build.opensuse.org/request/show/162652
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=65
2013-04-05 07:46:43 +00:00
4b0ee85c84 Accepting request 162382 from home:vitezslav_cizek:branches:security:SELinux
- fix source url
- document changes in libselinux-rhat.patch from previous submission:
  (most code of the removed code was integrated upstream)
  * Add matchpathcon -P /etc/selinux/mls support by allowing users
    to set alternate root
  * Add new constant SETRANS_DIR which points to the directory
    where mstransd can find the socket and libvirt can write its
    translations files

OBS-URL: https://build.opensuse.org/request/show/162382
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=64
2013-04-03 13:10:52 +00:00
eed1af708c Accepting request 161739 from home:vitezslav_cizek:branches:security:SELinux
-update to 2.1.13
 * audit2why: make sure path is nul terminated
 * utils: new file context regex compiler
 * label_file: use precompiled filecontext when possible
 * do not leak mmapfd
 * sefcontontext_compile: Add error handling to help debug problems in libsemanage.
 * man: make selinux.8 mention service man pages
 * audit2why: Fix segfault if finish() called twice
 * audit2why: do not leak on multiple init() calls
 * mode_to_security_class: interface to translate a mode_t in to a security class
 * audit2why: Cleanup audit2why analysys function
 * man: Fix program synopsis and function prototypes in man pages
 * man: Fix man pages formatting
 * man: Fix typo in man page
 * man: Add references and man page links to _raw function variants
 * Use ENOTSUP instead of EOPNOTSUPP for getfilecon functions
 * man: context_new(3): fix the return value description
 * selinux_status_open: handle error from sysconf
 * selinux_status_open: do not leak statusfd on exec
 * Fix errors found by coverity
 * Change boooleans.subs to booleans.subs_dist.
 * optimize set*con functions
 * pkg-config do not specifc ruby version
 * unmap file contexts on selabel_close()
 * do not leak file contexts with mmap'd backend
 * sefcontext_compile: do not leak fd on error
 * matchmediacon: do not leak fd
 * src/label_android_property: do not leak fd on error

OBS-URL: https://build.opensuse.org/request/show/161739
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=63
2013-04-02 11:49:27 +00:00
Stephan Kulow
f33866f7c1 Accepting request 157813 from security:SELinux
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/157813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=35
2013-03-08 09:52:39 +00:00
Vítězslav Čížek
0fcea24e2c - added BuildRequires: pcre-devel
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=61
2013-02-01 13:33:54 +00:00
Vítězslav Čížek
0586d2c8c0 Accepting request 150434 from home:vitezslav_cizek:branches:security:SELinux
- update to 2.1.12

- update to 2.1.12
  - added the recent libselinux-rhat.patch
  * Add support for lxc_contexts_path
  * utils: add service to getdefaultcon
  * libsemanage: do not set soname needlessly
  * libsemanage: remove PYTHONLIBDIR and ruby equivalent
  * boolean name equivalency
  * getsebool: support boolean name substitution
  * Add man page for new selinux_boolean_sub function.
  * expose selinux_boolean_sub
  * matchpathcon: add -m option to force file type check
  * utils: avcstat: clear sa_mask set
  * seusers: Check for strchr failure
  * booleans: initialize pointer to silence coveriety
  * stop messages when SELinux disabled
  * Ensure that we only close the selinux netlink socket once.
  * improve the file_contexts.5 manual page
  * Fortify source now requires all code to be compiled with -O flag
  * asprintf return code must be checked
  * avc_netlink_recieve handle EINTR
  * audit2why: silence -Wmissing-prototypes warning
  * libsemanage: remove build warning when build swig c files
  * matchpathcon: bad handling of symlinks in /
  * seusers: remove unused lineno
  * seusers: getseuser: gracefully handle NULL service
  * New Android property labeling backend
  * label_android_property whitespace cleanups
  * additional makefile support for rubywrap

OBS-URL: https://build.opensuse.org/request/show/150434
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=60
2013-01-31 15:22:24 +00:00
Vítězslav Čížek
db430ea9d8 Accepting request 147460 from home:jengelh:branches:security:SELinux
- Remove obsolete defines/sections

OBS-URL: https://build.opensuse.org/request/show/147460
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=59
2013-01-08 10:50:42 +00:00
Stephan Kulow
a75493ab93 Accepting request 145499 from security:SELinux
- update selinux-ready script
  * use -L when stat()ing /etc/selinux/config
  * make sure that SELINUX isn't disabled in /etc/selinux/config
  * look for either of /sys/fs/selinux and /selinux directory
  * use systemctl to check for restorecond
  * don't look for booleans file (deprecated) (forwarded request 145303 from vitezslav_cizek)

OBS-URL: https://build.opensuse.org/request/show/145499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=33
2012-12-17 08:34:47 +00:00
Thomas Biege
f023200040 Accepting request 145303 from home:vitezslav_cizek:branches:security:SELinux
- update selinux-ready script
  * use -L when stat()ing /etc/selinux/config
  * make sure that SELINUX isn't disabled in /etc/selinux/config
  * look for either of /sys/fs/selinux and /selinux directory
  * use systemctl to check for restorecond
  * don't look for booleans file (deprecated)

OBS-URL: https://build.opensuse.org/request/show/145303
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=57
2012-12-14 14:01:01 +00:00
Stephan Kulow
e439726b3c Accepting request 143256 from security:SELinux
- update selinux-ready script (forwarded request 143038 from vitezslav_cizek)

OBS-URL: https://build.opensuse.org/request/show/143256
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=32
2012-11-28 10:07:37 +00:00
a3f964e427 Accepting request 143038 from home:vitezslav_cizek:branches:security:SELinux
- update selinux-ready script

OBS-URL: https://build.opensuse.org/request/show/143038
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=55
2012-11-27 14:46:54 +00:00
Ismail Dönmez
397aaff701 Accepting request 130613 from security:SELinux
- updated to 2.1.9 again (see below)

- updated to 2.1.9 again (see below)

OBS-URL: https://build.opensuse.org/request/show/130613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=31
2012-08-12 13:26:33 +00:00
9696cb31b5 - updated to 2.1.9 again (see below)
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=53
2012-08-10 19:40:37 +00:00
146d4e58d3 selinuxexeccon
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=52
2012-07-25 13:33:06 +00:00
80abb8133f refreshed patch
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=51
2012-07-25 11:46:17 +00:00
4d8da5108c libsepol adjust
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=50
2012-07-25 11:25:26 +00:00
caf7403104 - updated to 2.1.9 again (see below)
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=49
2012-07-25 11:15:17 +00:00
7c362e0eae update to 2.1.9
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=48
2012-07-25 11:14:53 +00:00
Stephan Kulow
896ade5712 Accepting request 124807 from security:SELinux
- go back even more - everything else requires the full SELinux stack
  (too late for 12.2)

OBS-URL: https://build.opensuse.org/request/show/124807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=29
2012-06-13 15:07:18 +00:00
Stephan Kulow
635090ad03 - go back even more - everything else requires the full SELinux stack
(too late for 12.2)

OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=46
2012-06-13 08:57:05 +00:00