Skip to contentSkip to conversation

update deps and change yum to dnf

PATCH In review Joshua Brindle 2 participants 5 messages Jan 4, 2016 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 update deps and change yum to dnf

---
 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
README +1 -1
index dae1eb9..2497485 100644
@@ -2,7 +2,7 @@ Please submit all bug reports and patches to [email protected].
 Subscribe via [email protected].
 
 Build dependencies on Fedora:
-yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig ustr-devel
+dnf install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig ustr-devel gcc redhat-rpm-config xmlto
 
 To build and install everything under a private directory, run:
 make DESTDIR=~/obj install install-pywrap
Signature · 1 line
2.5.0
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Quoted 9 lines · Joshua Brindle
---
 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
README +0 -0
index dae1eb9..2497485 100644

README Please submit all bug reports and patches to [email protected]. · line 5

Quoted 5 lines
README +1 -1
@@ -2,7 +2,7 @@ Please submit all bug reports and patches to [email protected].
 Subscribe via [email protected].
 
 Build dependencies on Fedora:
-yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig ustr-devel
+dnf install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig ustr-devel gcc redhat-rpm-config xmlto

What are xmlto, and redhat-rpm-config for?

Building secilc html and pdf docs requires pandoc as per: https://github.com/SELinuxProject/selinux/blob/master/secilc/README#L59

Quoted 11 lines
README +0 -0
 To build and install everything under a private directory, run:
 make DESTDIR=~/obj install install-pywrap
Signature · 7 lines
2.5.0

_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].

- --
02DFF788
4D30 903A 1CF3 B756 FB48 1514 3148 83A2 02DF F788
https://sks-keyservers.net/pks/lookup?op=get&search=0x314883A202DFF788
Dominick Grift
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQGcBAEBCgAGBQJWip4jAAoJENAR6kfG5xmcVa4MALk6x3voVGy0ECchEu0vfHnN FgyZGt9zUaXsEkAXH3867LuBTamn3DT8grt8hqIFZcwfxRBYfq9mrZvw5qLhB5uM xtaYYihcbCx5iVqEP9BMH5MQXZJEnfRrQOh+uvMYkpKTZ50g2hqbp+f5i4rHm9JM dOgnalC8ZpMar1mfnabNH4Lp3X+zxTIfO8wigQuvN5i2VIO/aMWxsbhSm1NzSjJE Ww2ZCE+D2mhGsD2HQe/J714wdC3c1MYVqwUSpHnkz2xsq6rUfq0XehjOu0ao/GTd 8TH1fXlSaqskRBPZdH0TqjA4zGwbQS3OnuWwc4Wn3jIOpirQa91/gBeDaoH/oPvD SCfvzTPGGrywSK95ZlOH/EI5Iu5TCmg0c3rrGtgSaX1Pss1KCsG8mViXSHued6EY Xh4GQfwa3XlNzy2V/cVGCcRPKMVR1Ruhrjt45oIKK2hMOyEEnJVs2dDZOHAlwd9K a9KUrigmrRjYRfja1hxu5K76w5GViKby64Jjb7S8aA==
=XAEE
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 15 lines · Dominick Grift

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Quoted 11 lines · Joshua Brindle
---
  README | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
README +0 -0
index dae1eb9..2497485 100644
@@ -2,7 +2,7 @@ Please submit all bug reports and patches to [email protected].
  Subscribe via [email protected].
 
Quoted 5 lines

README Please submit all bug reports and patches to [email protected]. · line 5

Quoted 3 lines
README +1 -1
  Build dependencies on Fedora:
-yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig ustr-devel
+dnf install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig ustr-devel gcc redhat-rpm-config xmlto

What are xmlto, and redhat-rpm-config for?

secilc/Makefile: $(XMLTO) man $(MANPAGE).xml

and redhat-rpm-config is required for /usr/lib/rpm/redhat/redhat-hardened-cc1

Quoted 3 lines

Building secilc html and pdf docs requires pandoc as per: https://github.com/SELinuxProject/selinux/blob/master/secilc/README#L59

Hrm, are these optional?

Quoted 31 lines
Quoted 11 lines
README +0 -1
  To build and install everything under a private directory, run:
  make DESTDIR=~/obj install install-pywrap
--

2.5.0

_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].

- --
02DFF788
4D30 903A 1CF3 B756 FB48 1514 3148 83A2 02DF F788
https://sks-keyservers.net/pks/lookup?op=get&search=0x314883A202DFF788
Dominick Grift
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQGcBAEBCgAGBQJWip4jAAoJENAR6kfG5xmcVa4MALk6x3voVGy0ECchEu0vfHnN FgyZGt9zUaXsEkAXH3867LuBTamn3DT8grt8hqIFZcwfxRBYfq9mrZvw5qLhB5uM xtaYYihcbCx5iVqEP9BMH5MQXZJEnfRrQOh+uvMYkpKTZ50g2hqbp+f5i4rHm9JM dOgnalC8ZpMar1mfnabNH4Lp3X+zxTIfO8wigQuvN5i2VIO/aMWxsbhSm1NzSjJE Ww2ZCE+D2mhGsD2HQe/J714wdC3c1MYVqwUSpHnkz2xsq6rUfq0XehjOu0ao/GTd 8TH1fXlSaqskRBPZdH0TqjA4zGwbQS3OnuWwc4Wn3jIOpirQa91/gBeDaoH/oPvD SCfvzTPGGrywSK95ZlOH/EI5Iu5TCmg0c3rrGtgSaX1Pss1KCsG8mViXSHued6EY Xh4GQfwa3XlNzy2V/cVGCcRPKMVR1Ruhrjt45oIKK2hMOyEEnJVs2dDZOHAlwd9K a9KUrigmrRjYRfja1hxu5K76w5GViKby64Jjb7S8aA==
=XAEE
-----END PGP SIGNATURE-----

#3 lore raw
In reply to Dominick Grift

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Quoted 12 lines · Dominick Grift
Quoted 11 lines · Joshua Brindle
---
 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
README +0 -0
index dae1eb9..2497485 100644
@@ -2,7 +2,7 @@ Please submit all bug reports and patches to [email protected].
 Subscribe via [email protected].
 
Quoted 5 lines

README Please submit all bug reports and patches to [email protected]. · line 5

Quoted 3 lines
README +1 -1
 Build dependencies on Fedora:
-yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig ustr-devel
+dnf install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig ustr-devel gcc redhat-rpm-config xmlto

What are xmlto, and redhat-rpm-config for?

Oh i see it is to build man pages (https://github.com/SELinuxProject/selinux/blob/master/secilc/Makefile#L14)

redhat-rpm-config seems only needed if you use rpm to build? If you use rpm to build then there are probably other requirements as well, and then i believe you do not strictly require that package or gcc for that matter since those are part of the core build tools (1):

Exceptions

There is no need to include the following packages or their dependencies as Build Requires because they would occur too often. These packages are considered the minimum build environment.

bash
bzip2
coreutils
cpio
diffutils
fedora-release (and/or redhat-release)
gcc
gcc-c++
gzip
make
patch
perl
rpm-build
redhat-rpm-config
sed
tar
unzip

(1) https://fedoraproject.org/wiki/HOWTOFindMissingBuildRequires

Quoted 9 lines

Building secilc html and pdf docs requires pandoc as per: https://github.com/SELinuxProject/selinux/blob/master/secilc/README#L59

Quoted 6 lines
README +0 -0
 To build and install everything under a private directory, run:
 make DESTDIR=~/obj install install-pywrap
Signature · 1 line
2.5.0
Quoted 11 lines
Quoted 5 lines

_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].

Signature · 4 lines
02DFF788
4D30 903A 1CF3 B756 FB48  1514 3148 83A2 02DF F788
https://sks-keyservers.net/pks/lookup?op=get&search=0x314883A202DFF788
Dominick Grift

- --
02DFF788
4D30 903A 1CF3 B756 FB48 1514 3148 83A2 02DF F788
https://sks-keyservers.net/pks/lookup?op=get&search=0x314883A202DFF788
Dominick Grift
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQGcBAEBCgAGBQJWip+uAAoJENAR6kfG5xmcdgwL/22baZ8MBVEiE9adrKSgUKal ig/DmEchlYHuRYvpyEYK7M85vVHpom0vs7X2nAQbxmEnLLYlBdmQzrl872f4lqY8 xR7RPoA1NPKaBtY0yvj4h8AD/AtlSioXB81XMzOTXpss+y1D6HyDur/Grakx86kN 7wA6KVhlQaZEVbuAjBJ3mYt/sQFH6zRg4EKP1r5ebpxWTDdZfI0kwoSD/+cHPct6 HI3/CfOAVBULd/zHn35MKe9njIq2g+5KP7M99h4mziraiA2kVo0mngoWw8yFMjE9 H+4lrG9/J2T8eiPiThqXdw6oFaK7Wu3AP/HYSOcsuFn9U9stMmr7SKG9gBBGn3BL SUuiekmsG2bNGWf3EmjxUMTlZDxwyVEGv25BgNX0UoxbvHKDAOQS7jYezHqOh6/g AV5uPa2b27cwRKm03I5R3HtPOJppShjINWuaMDvn7XUD33oNrsH55tWYOiXF6D0E esIJeUrwtyiGlOiUAYltMtLvqaFvClppxRCMo1545Q==
=EmOE
-----END PGP SIGNATURE-----

#4 lore raw
Quoted 21 lines · Dominick Grift

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Quoted 12 lines · Dominick Grift
Quoted 11 lines · Joshua Brindle
---
  README | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
README +0 -0
index dae1eb9..2497485 100644
@@ -2,7 +2,7 @@ Please submit all bug reports and patches to [email protected].
  Subscribe via [email protected].
 
Quoted 4 lines

README Please submit all bug reports and patches to [email protected]. · line 5

Quoted 3 lines
README +1 -1
  Build dependencies on Fedora:
-yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig ustr-devel
+dnf install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig ustr-devel gcc redhat-rpm-config xmlto

What are xmlto, and redhat-rpm-config for?

Quoted 4 lines

Oh i see it is to build man pages (https://github.com/SELinuxProject/selinux/blob/master/secilc/Makefile#L14)

redhat-rpm-config seems only needed if you use rpm to build? If you use rpm to build then there are probably other requirements as well, and

I encountered this on a fresh F23 system by running DESTDIR=~/tmp make install pywrap-install. I was not building with rpm.

Quoted 67 lines

then i believe you do not strictly require that package or gcc for that matter since those are part of the core build tools (1):

Exceptions

There is no need to include the following packages or their dependencies as Build Requires because they would occur too often. These packages are considered the minimum build environment.

bash
bzip2
coreutils
cpio
diffutils
fedora-release (and/or redhat-release)
gcc
gcc-c++
gzip
make
patch
perl
rpm-build
redhat-rpm-config
sed
tar
unzip

(1) https://fedoraproject.org/wiki/HOWTOFindMissingBuildRequires

Quoted 13 lines

Building secilc html and pdf docs requires pandoc as per: https://github.com/SELinuxProject/selinux/blob/master/secilc/README#L59

Quoted 11 lines
README +0 -1
  To build and install everything under a private directory, run:
  make DESTDIR=~/obj install install-pywrap
--

2.5.0

_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].

Quoted 5 lines

--
02DFF788
4D30 903A 1CF3 B756 FB48 1514 3148 83A2 02DF F788
https://sks-keyservers.net/pks/lookup?op=get&search=0x314883A202DFF788
Dominick Grift

- --
02DFF788
4D30 903A 1CF3 B756 FB48 1514 3148 83A2 02DF F788
https://sks-keyservers.net/pks/lookup?op=get&search=0x314883A202DFF788
Dominick Grift
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQGcBAEBCgAGBQJWip+uAAoJENAR6kfG5xmcdgwL/22baZ8MBVEiE9adrKSgUKal ig/DmEchlYHuRYvpyEYK7M85vVHpom0vs7X2nAQbxmEnLLYlBdmQzrl872f4lqY8 xR7RPoA1NPKaBtY0yvj4h8AD/AtlSioXB81XMzOTXpss+y1D6HyDur/Grakx86kN 7wA6KVhlQaZEVbuAjBJ3mYt/sQFH6zRg4EKP1r5ebpxWTDdZfI0kwoSD/+cHPct6 HI3/CfOAVBULd/zHn35MKe9njIq2g+5KP7M99h4mziraiA2kVo0mngoWw8yFMjE9 H+4lrG9/J2T8eiPiThqXdw6oFaK7Wu3AP/HYSOcsuFn9U9stMmr7SKG9gBBGn3BL SUuiekmsG2bNGWf3EmjxUMTlZDxwyVEGv25BgNX0UoxbvHKDAOQS7jYezHqOh6/g AV5uPa2b27cwRKm03I5R3HtPOJppShjINWuaMDvn7XUD33oNrsH55tWYOiXF6D0E esIJeUrwtyiGlOiUAYltMtLvqaFvClppxRCMo1545Q==
=EmOE
-----END PGP SIGNATURE-----