Skip to content

Commit 6fd5400

Browse files
committed
updates policycoreutils to 3.3
Signed-off-by: Prabhav Thali <[email protected]>
1 parent 198cfb8 commit 6fd5400

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

rpm/SPECS/checkpolicy.spec

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Name: checkpolicy
2-
Version: 3.2.61.1
2+
Version: 3.3.62.2
33
Release: 1%{?dist}
44
Group: System Environment/Base
5-
Summary: policycoreutils package
5+
Summary: SELinux policy compiler
66
License: GPLv2
77
%description
88

@@ -18,13 +18,13 @@ BuildRequires: flex
1818
%configure
1919

2020
%install
21-
wget https://github.com/SELinuxProject/selinux/releases/download/3.2/libsepol-3.2.tar.gz
22-
tar -xvf libsepol-3.2.tar.gz
23-
cd libsepol-3.2
21+
wget https://github.com/SELinuxProject/selinux/releases/download/3.3/libsepol-3.3.tar.gz
22+
tar -xvf libsepol-3.3.tar.gz
23+
cd libsepol-3.3
2424
make CC=gcc
2525
cd ..
26-
wget https://github.com/SELinuxProject/selinux/releases/download/3.2/checkpolicy-3.2.tar.gz
27-
tar -xvf checkpolicy-3.2.tar.gz
28-
cd checkpolicy-3.2
26+
wget https://github.com/SELinuxProject/selinux/releases/download/3.3/checkpolicy-3.3.tar.gz
27+
tar -xvf checkpolicy-3.3.tar.gz
28+
cd checkpolicy-3.3
2929
make CC=gcc
3030
%files

rpm/SPECS/policycoreutils.spec

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Name: policycoreutils
2-
Version: 3.2
2+
Version: 3.3
33
Release: 1%{?dist}
44
Group: System Environment/Base
5-
Summary: policycoreutils package
5+
Summary: SELinux policy core utilities
66
License: GPLv2
77
%description
88

@@ -20,22 +20,22 @@ BuildRequires: wget
2020
BuildRequires: tar
2121

2222
%install
23-
wget https://github.com/SELinuxProject/selinux/releases/download/3.2/libsepol-3.2.tar.gz
23+
wget https://github.com/SELinuxProject/selinux/releases/download/3.3/libsepol-3.3.tar.gz
2424
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 7
25-
tar -xvf libsepol-3.2.tar.gz
26-
cd libsepol-3.2
25+
tar -xvf libsepol-3.3.tar.gz
26+
cd libsepol-3.3
2727
make CC=gcc
2828
make install
2929
cd ..
30-
wget https://github.com/SELinuxProject/selinux/releases/download/3.2/libselinux-3.2.tar.gz
31-
tar -xvf libselinux-3.2.tar.gz
32-
cd libselinux-3.2
30+
wget https://github.com/SELinuxProject/selinux/releases/download/3.3/libselinux-3.3.tar.gz
31+
tar -xvf libselinux-3.3.tar.gz
32+
cd libselinux-3.3
3333
make CC=gcc
3434
make install
3535
cd ..
36-
wget https://github.com/SELinuxProject/selinux/releases/download/3.2/policycoreutils-3.2.tar.gz
37-
tar -xvf policycoreutils-3.2.tar.gz
38-
cd policycoreutils-3.2
36+
wget https://github.com/SELinuxProject/selinux/releases/download/3.3/policycoreutils-3.3.tar.gz
37+
tar -xvf policycoreutils-3.3.tar.gz
38+
cd policycoreutils-3.3
3939
make CC=gcc
4040
make install
4141
%files

rpm/sles-15/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ COPY rpmbuild/SOURCES/ /usr/src/packages/SOURCES/
2626
RUN zypper -n install $(rpmspec --parse /usr/src/packages/SPECS/sles_dependencies.spec | grep BuildRequires | cut -d' ' -f2 | xargs)
2727
RUN rpmbuild -bb /usr/src/packages/SPECS/policycoreutils.spec
2828
RUN rpmbuild -bb /usr/src/packages/SPECS/checkpolicy.spec
29-
RUN rpm -i /usr/src/packages/RPMS/s390x/policycoreutils-3.2-1.s390x.rpm && rpm -i /usr/src/packages/RPMS/s390x/checkpolicy-3.2.61.1-1.s390x.rpm \
29+
RUN rpm -i /usr/src/packages/RPMS/s390x/policycoreutils-3.3-1.s390x.rpm && rpm -i /usr/src/packages/RPMS/s390x/checkpolicy-3.3.62.2-1.s390x.rpm \
3030
&& sles_version=$(lsb_release -r | rev | cut -c1) \
3131
&& opensuse_repo="https://download.opensuse.org/repositories/security:SELinux/SLE_15_SP$sles_version/security:SELinux.repo" \
3232
&& zypper addrepo $opensuse_repo \

0 commit comments

Comments
 (0)