Compare commits
No commits in common. "factory" and "main" have entirely different histories.
@ -1,257 +0,0 @@
|
|||||||
Index: libsemanage-3.7/src/semanageswig_python.i
|
|
||||||
===================================================================
|
|
||||||
--- libsemanage-3.7.orig/src/semanageswig_python.i
|
|
||||||
+++ libsemanage-3.7/src/semanageswig_python.i
|
|
||||||
@@ -111,7 +111,7 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) char** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_FromCharPtr(*$1));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_FromCharPtr(*$1), $isvoid);
|
|
||||||
free(*$1);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -134,7 +134,7 @@
|
|
||||||
NULL, NULL, &plist) < 0)
|
|
||||||
$result = SWIG_From_int(STATUS_ERR);
|
|
||||||
else
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, plist);
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, plist, $isvoid);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -148,7 +148,7 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_module_info_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** module key typemaps **/
|
|
||||||
@@ -160,7 +160,7 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_module_key_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** context typemaps **/
|
|
||||||
@@ -172,7 +172,7 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_context_t** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** boolean typemaps **/
|
|
||||||
@@ -197,7 +197,7 @@
|
|
||||||
(void (*) (void*)) &semanage_bool_free, &plist) < 0)
|
|
||||||
$result = SWIG_From_int(STATUS_ERR);
|
|
||||||
else
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, plist);
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, plist, $isvoid);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -207,11 +207,11 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_bool_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_bool_key_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(in, numinputs=0) semanage_bool_key_t **(semanage_bool_key_t *temp=NULL) {
|
|
||||||
@@ -240,7 +240,7 @@
|
|
||||||
(void (*) (void*)) &semanage_fcontext_free, &plist) < 0)
|
|
||||||
$result = SWIG_From_int(STATUS_ERR);
|
|
||||||
else
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, plist);
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, plist, $isvoid);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -250,11 +250,11 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_fcontext_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_fcontext_key_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(in, numinputs=0) semanage_fcontext_key_t **(semanage_fcontext_key_t *temp=NULL) {
|
|
||||||
@@ -284,7 +284,7 @@
|
|
||||||
(void (*) (void*)) &semanage_iface_free, &plist) < 0)
|
|
||||||
$result = SWIG_From_int(STATUS_ERR);
|
|
||||||
else
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, plist);
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, plist, $isvoid);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -294,11 +294,11 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_iface_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_iface_key_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(in, numinputs=0) semanage_iface_key_t **(semanage_iface_key_t *temp=NULL) {
|
|
||||||
@@ -328,7 +328,7 @@
|
|
||||||
(void (*) (void*)) &semanage_seuser_free, &plist) < 0)
|
|
||||||
$result = SWIG_From_int(STATUS_ERR);
|
|
||||||
else
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, plist);
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, plist, $isvoid);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -338,11 +338,11 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_seuser_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_seuser_key_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(in, numinputs=0) semanage_seuser_key_t **(semanage_seuser_key_t *temp=NULL) {
|
|
||||||
@@ -371,7 +371,7 @@
|
|
||||||
(void (*) (void*)) &semanage_user_free, &plist) < 0)
|
|
||||||
$result = SWIG_From_int(STATUS_ERR);
|
|
||||||
else
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, plist);
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, plist, $isvoid);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -381,11 +381,11 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_user_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_user_key_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(in, numinputs=0) semanage_user_key_t **(semanage_user_key_t *temp=NULL) {
|
|
||||||
@@ -414,7 +414,7 @@
|
|
||||||
(void (*) (void*)) &semanage_port_free, &plist) < 0)
|
|
||||||
$result = SWIG_From_int(STATUS_ERR);
|
|
||||||
else
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, plist);
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, plist, $isvoid);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -424,11 +424,11 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_port_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_port_key_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(in, numinputs=0) semanage_port_key_t **(semanage_port_key_t *temp=NULL) {
|
|
||||||
@@ -457,7 +457,7 @@
|
|
||||||
(void (*) (void*)) &semanage_ibpkey_free, &plist) < 0)
|
|
||||||
$result = SWIG_From_int(STATUS_ERR);
|
|
||||||
else
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, plist);
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, plist, $isvoid);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -467,11 +467,11 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_ibpkey_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_ibpkey_key_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(in, numinputs=0) semanage_ibpkey_key_t **(semanage_ibpkey_key_t *temp=NULL) {
|
|
||||||
@@ -500,7 +500,7 @@
|
|
||||||
(void (*) (void*)) &semanage_ibendport_free, &plist) < 0)
|
|
||||||
$result = SWIG_From_int(STATUS_ERR);
|
|
||||||
else
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, plist);
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, plist, $isvoid);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -510,11 +510,11 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_ibendport_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_ibendport_key_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(in, numinputs=0) semanage_ibendport_key_t **(semanage_ibendport_key_t *temp=NULL) {
|
|
||||||
@@ -543,7 +543,7 @@
|
|
||||||
(void (*) (void*)) &semanage_node_free, &plist) < 0)
|
|
||||||
$result = SWIG_From_int(STATUS_ERR);
|
|
||||||
else
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, plist);
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, plist, $isvoid);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -553,12 +553,12 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(argout) semanage_node_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
%typemap(argout) semanage_node_key_t ** {
|
|
||||||
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
|
|
||||||
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(*$1, $*1_descriptor, 0), $isvoid);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(in, numinputs=0) semanage_node_key_t **(semanage_node_key_t *temp=NULL) {
|
|
@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Oct 21 11:19:44 UTC 2024 - Johannes Segitz <jsegitz@suse.com>
|
|
||||||
|
|
||||||
- Not conflict but obsolete libsemanage1 (bsc#1229757)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 1 07:57:45 UTC 2024 - Cathy Hu <cathy.hu@suse.com>
|
Mon Jul 1 07:57:45 UTC 2024 - Cathy Hu <cathy.hu@suse.com>
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ Security.)
|
|||||||
Summary: Configuration for the SELinux policy management library
|
Summary: Configuration for the SELinux policy management library
|
||||||
# before 3.1 the config file wasn't separated, so no parallel install is possible
|
# before 3.1 the config file wasn't separated, so no parallel install is possible
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Obsoletes: %{name}1 < 3.1
|
Conflicts: %{name}1 <= 3.1
|
||||||
|
|
||||||
%description conf
|
%description conf
|
||||||
Configuration file for libsemanage. Moved to a separate package to allow
|
Configuration file for libsemanage. Moved to a separate package to allow
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Oct 15 11:41:31 UTC 2024 - Cathy Hu <cathy.hu@suse.com>
|
|
||||||
|
|
||||||
- Add 1231587-build-libsemanage-with-swig-4.3.0.patch to fix
|
|
||||||
build failure with swig 4.3.0 (bsc#1231587)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 1 07:57:45 UTC 2024 - Cathy Hu <cathy.hu@suse.com>
|
Mon Jul 1 07:57:45 UTC 2024 - Cathy Hu <cathy.hu@suse.com>
|
||||||
|
|
||||||
|
@ -35,9 +35,6 @@ Source0: https://github.com/SELinuxProject/selinux/releases/download/%{ve
|
|||||||
Source1: https://github.com/SELinuxProject/selinux/releases/download/%{version}/libsemanage-%{version}.tar.gz.asc
|
Source1: https://github.com/SELinuxProject/selinux/releases/download/%{version}/libsemanage-%{version}.tar.gz.asc
|
||||||
Source2: libsemanage.keyring
|
Source2: libsemanage.keyring
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
%if %{pkg_vcmp swig > 4.2.1}
|
|
||||||
Patch0: 1231587-build-libsemanage-with-swig-4.3.0.patch
|
|
||||||
%endif
|
|
||||||
# PATCH-FIX-UPSTREAM bsc#1133102 LTO: Update map file to include new symbols and remove wildcards
|
# PATCH-FIX-UPSTREAM bsc#1133102 LTO: Update map file to include new symbols and remove wildcards
|
||||||
# For now we need to disable this. This breaks e.g. shadow and also other packages in security:SELinux
|
# For now we need to disable this. This breaks e.g. shadow and also other packages in security:SELinux
|
||||||
# Patch0: libsemanage-update-map-file.patch
|
# Patch0: libsemanage-update-map-file.patch
|
||||||
@ -59,7 +56,7 @@ This package contains the Python bindings for developing
|
|||||||
SELinux policy management applications.
|
SELinux policy management applications.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n libsemanage-%{version}
|
%setup -q -n libsemanage-%{version}
|
||||||
# Replace /usr/libexec with whatever the distro defines as libexecdir - across all files
|
# Replace /usr/libexec with whatever the distro defines as libexecdir - across all files
|
||||||
grep /usr/libexec . -rl | xargs sed -i "s|/usr/libexec|%{_libexecdir}|g"
|
grep /usr/libexec . -rl | xargs sed -i "s|/usr/libexec|%{_libexecdir}|g"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user