[LON-CAPA-cvs] cvs: doc /loncapafiles chkconfig.piml langcheck.piml modify_config_files.piml ntpcheck.piml picins_check.piml rpmcheck.piml wrap_setuid.piml
raeburn
raeburn at source.lon-capa.org
Sun Jun 10 23:53:08 EDT 2018
raeburn Mon Jun 11 03:53:08 2018 EDT
Modified files:
/doc/loncapafiles chkconfig.piml langcheck.piml
modify_config_files.piml ntpcheck.piml
picins_check.piml rpmcheck.piml wrap_setuid.piml
Log:
- Support Fedora 27 and 28.
-------------- next part --------------
Index: doc/loncapafiles/chkconfig.piml
diff -u doc/loncapafiles/chkconfig.piml:1.38 doc/loncapafiles/chkconfig.piml:1.39
--- doc/loncapafiles/chkconfig.piml:1.38 Mon Oct 23 23:57:46 2017
+++ doc/loncapafiles/chkconfig.piml Mon Jun 11 03:53:08 2018
@@ -3,7 +3,7 @@
<!-- checkconfig.piml -->
<!-- Matthew Hall -->
-<!-- $Id: chkconfig.piml,v 1.38 2017/10/23 23:57:46 raeburn Exp $ -->
+<!-- $Id: chkconfig.piml,v 1.39 2018/06/11 03:53:08 raeburn Exp $ -->
<!--
@@ -59,7 +59,8 @@
('<DIST />' eq 'fedora20') || ('<DIST />' eq 'fedora21') ||
('<DIST />' eq 'fedora22') || ('<DIST />' eq 'fedora23') ||
('<DIST />' eq 'fedora24') || ('<DIST />' eq 'fedora25') ||
- ('<DIST />' eq 'fedora26') || ('<DIST />' eq 'suse12.1') ||
+ ('<DIST />' eq 'fedora26') || ('<DIST />' eq 'fedora27') ||
+ ('<DIST />' eq 'fedora28') || ('<DIST />' eq 'suse12.1') ||
('<DIST />' eq 'suse12.2') || ('<DIST />' eq 'suse12.3') ||
('<DIST />' eq 'suse13.1') || ('<DIST />' eq 'suse13.2') ||
('<DIST />' eq 'sles12') || ('<DIST />' eq 'rhes7') ||
Index: doc/loncapafiles/langcheck.piml
diff -u doc/loncapafiles/langcheck.piml:1.13 doc/loncapafiles/langcheck.piml:1.14
--- doc/loncapafiles/langcheck.piml:1.13 Mon Oct 23 23:57:46 2017
+++ doc/loncapafiles/langcheck.piml Mon Jun 11 03:53:08 2018
@@ -64,7 +64,8 @@
} elsif ('<DIST />' eq 'fedora18' || '<DIST />' eq 'fedora19' || '<DIST />' eq 'fedora20' ||
'<DIST />' eq 'fedora21' || '<DIST />' eq 'fedora22' || '<DIST />' eq 'fedora23' ||
'<DIST />' eq 'fedora24' || '<DIST />' eq 'fedora25' || '<DIST />' eq 'fedora26' ||
- '<DIST />' eq 'rhes7' || '<DIST />' eq 'centos7' || <DIST />' eq 'scientific7') {
+ '<DIST />' eq 'fedora27' || '<DIST />' eq 'fedora28' || '<DIST />' eq 'rhes7' ||
+ '<DIST />' eq 'centos7' || '<DIST />' eq 'scientific7') {
if (open(PIPE,"cat /etc/locale.conf |grep '^LANG' |")) {
print "Checking OS language";
if (<PIPE> =~ /^LANG="en/) {
Index: doc/loncapafiles/modify_config_files.piml
diff -u doc/loncapafiles/modify_config_files.piml:1.34 doc/loncapafiles/modify_config_files.piml:1.35
--- doc/loncapafiles/modify_config_files.piml:1.34 Mon Oct 23 23:57:46 2017
+++ doc/loncapafiles/modify_config_files.piml Mon Jun 11 03:53:08 2018
@@ -3,7 +3,7 @@
<!-- modify_config_files.piml -->
<!-- Matthew Hall -->
-<!-- $Id: modify_config_files.piml,v 1.34 2017/10/23 23:57:46 raeburn Exp $ -->
+<!-- $Id: modify_config_files.piml,v 1.35 2018/06/11 03:53:08 raeburn Exp $ -->
<!--
@@ -55,7 +55,8 @@
} elsif (('<DIST />' eq 'rhes7') || ('<DIST />' eq 'centos7') ||
('<DIST />' eq 'scientific7') || ('<DIST />' eq 'fedora22') ||
('<DIST />' eq 'fedora23') || ('<DIST />' eq 'fedora24') ||
- ('<DIST />' eq 'fedora25') || ('<DIST />' eq 'fedora26')) {
+ ('<DIST />' eq 'fedora25') || ('<DIST />' eq 'fedora26') ||
+ ('<DIST />' eq 'fedora27') || ('<DIST />' eq 'fedora28')) {
$mysqlcmd = '/bin/systemctl restart mariadb.service';
}
Index: doc/loncapafiles/ntpcheck.piml
diff -u doc/loncapafiles/ntpcheck.piml:1.31 doc/loncapafiles/ntpcheck.piml:1.32
--- doc/loncapafiles/ntpcheck.piml:1.31 Mon Oct 23 23:57:46 2017
+++ doc/loncapafiles/ntpcheck.piml Mon Jun 11 03:53:08 2018
@@ -3,7 +3,7 @@
<!-- ntpcheck.piml -->
<!-- Matthew Hall -->
-<!-- $Id: ntpcheck.piml,v 1.31 2017/10/23 23:57:46 raeburn Exp $ -->
+<!-- $Id: ntpcheck.piml,v 1.32 2018/06/11 03:53:08 raeburn Exp $ -->
<!--
@@ -47,6 +47,7 @@
('<DIST />' eq 'fedora21') || ('<DIST />' eq 'fedora22') ||
('<DIST />' eq 'fedora23') || ('<DIST />' eq 'fedora24') ||
('<DIST />' eq 'fedora25') || ('<DIST />' eq 'fedora26') ||
+ ('<DIST />' eq 'fedora27') || ('<DIST />' eq 'fedora28') ||
('<DIST />' eq 'centos7') || ('<DIST />' eq 'rhes7') ||
('<DIST />' eq 'scientific7') || ('<DIST />' eq 'sles12')) {
$NTPD = 'ntpd';
@@ -87,8 +88,9 @@
('<DIST />' eq 'fedora17') || ('<DIST />' eq 'fedora18') ||
('<DIST />' eq 'fedora19') || ('<DIST />' eq 'fedora20') ||
('<DIST />' eq 'fedora21') || ('<DIST />' eq 'fedora22') ||
- ('<DIST />' eq 'fedora23') || ('<DIST />' eq 'fedora24') ||
- ('<DIST />' eq 'fedora25') || ('<DIST />' eq 'fedora26') ||
+ ('<DIST />' eq 'fedora23') || ('<DIST />' eq 'fedora24') ||
+ ('<DIST />' eq 'fedora25') || ('<DIST />' eq 'fedora26') ||
+ ('<DIST />' eq 'fedora27') || ('<DIST />' eq 'fedora28') ||
('<DIST />' eq 'centos7') || ('<DIST />' eq 'rhes7') ||
('<DIST />' eq 'scientific7') || ('<DIST />' eq 'sles12')) {
if (!-l "/etc/systemd/system/multi-user.target.wants/ntpd.service") {
Index: doc/loncapafiles/picins_check.piml
diff -u doc/loncapafiles/picins_check.piml:1.34 doc/loncapafiles/picins_check.piml:1.35
--- doc/loncapafiles/picins_check.piml:1.34 Mon Oct 23 23:57:46 2017
+++ doc/loncapafiles/picins_check.piml Mon Jun 11 03:53:08 2018
@@ -3,7 +3,7 @@
<!-- picins_check.piml -->
<!-- Stuart Raeburn -->
-<!-- $Id: picins_check.piml,v 1.34 2017/10/23 23:57:46 raeburn Exp $ -->
+<!-- $Id: picins_check.piml,v 1.35 2018/06/11 03:53:08 raeburn Exp $ -->
<!--
@@ -32,7 +32,7 @@
<piml>
<files>
<file>
-<perlscript mode="fg" dist="fedora9 fedora10 fedora11 fedora12 fedora13 fedora14 fedora15 fedora16 fedora17 fedora18 fedora19 fedora20 fedora21 fedora22 fedora 23 fedora24 fedora25 fedora26 rhes6 scientific6 centos6 rhes7 scientific7 centos7 sles11 sles12 suse11.1 suse11.2 suse11.3 suse11.4 suse12.1 suse12.2 suse12.3 suse13.1 suse13.2 debian5 debian6 ubuntu8 ubuntu10 ubuntu12 ubuntu14 ubuntu16">
+<perlscript mode="fg" dist="fedora9 fedora10 fedora11 fedora12 fedora13 fedora14 fedora15 fedora16 fedora17 fedora18 fedora19 fedora20 fedora21 fedora22 fedora 23 fedora24 fedora25 fedora26 fedora27 fedora28 rhes6 scientific6 centos6 rhes7 scientific7 centos7 sles11 sles12 suse11.1 suse11.2 suse11.3 suse11.4 suse12.1 suse12.2 suse12.3 suse13.1 suse13.2 debian5 debian6 ubuntu8 ubuntu10 ubuntu12 ubuntu14 ubuntu16">
my $picinspath = '/usr/share/texmf/tex/latex/picins';
my $file = 'picins.sty';
if (!-e "$picinspath/$file") {
Index: doc/loncapafiles/rpmcheck.piml
diff -u doc/loncapafiles/rpmcheck.piml:1.40 doc/loncapafiles/rpmcheck.piml:1.41
--- doc/loncapafiles/rpmcheck.piml:1.40 Mon Oct 23 23:57:46 2017
+++ doc/loncapafiles/rpmcheck.piml Mon Jun 11 03:53:08 2018
@@ -3,7 +3,7 @@
<!-- phpcheck.piml -->
<!-- Matthew Hall -->
-<!-- $Id: rpmcheck.piml,v 1.40 2017/10/23 23:57:46 raeburn Exp $ -->
+<!-- $Id: rpmcheck.piml,v 1.41 2018/06/11 03:53:08 raeburn Exp $ -->
<!--
@@ -81,7 +81,7 @@
}
}
</perlscript>
-<perlscript dist="fedora1 fedora2 fedora3 fedora4 fedora5 fedora6 fedora7 fedora8 fedora9 fedora10 fedora11 fedora12 fedora13 fedora14 fedora15 fedora16 fedora17 fedora18 fedora19 fedora20 fedora21 fedora22 fedora23 fedora24 fedora25 fedora26 rhes5 rhes6 rhes7 centos5 scientific5 scientific6 centos6 scientific7 centos7 suse9.2 suse9.3 suse10.1 suse10.2 suse10.3 sles9 sles10 sles11 sles12 suse11.1 suse11.2 suse11.3 suse11.4 suse12.1 suse12.2 suse12.3 suse13.1 suse13.2" mode="fg">
+<perlscript dist="fedora1 fedora2 fedora3 fedora4 fedora5 fedora6 fedora7 fedora8 fedora9 fedora10 fedora11 fedora12 fedora13 fedora14 fedora15 fedora16 fedora17 fedora18 fedora19 fedora20 fedora21 fedora22 fedora23 fedora24 fedora25 fedora26 fedora27 fedora28 rhes5 rhes6 rhes7 centos5 scientific5 scientific6 centos6 scientific7 centos7 suse9.2 suse9.3 suse10.1 suse10.2 suse10.3 sles9 sles10 sles11 sles12 suse11.1 suse11.2 suse11.3 suse11.4 suse12.1 suse12.2 suse12.3 suse13.1 suse13.2" mode="fg">
my $hasprereqs = 0;
if (open(PIPE,"rpm -q LONCAPA-prerequisites|")) {
my @lines = (<PIPE>);
Index: doc/loncapafiles/wrap_setuid.piml
diff -u doc/loncapafiles/wrap_setuid.piml:1.33 doc/loncapafiles/wrap_setuid.piml:1.34
--- doc/loncapafiles/wrap_setuid.piml:1.33 Mon Oct 23 23:57:46 2017
+++ doc/loncapafiles/wrap_setuid.piml Mon Jun 11 03:53:08 2018
@@ -3,7 +3,7 @@
<!-- wrap_setuid.piml -->
<!-- Guy Albertelli -->
-<!-- $Id: wrap_setuid.piml,v 1.33 2017/10/23 23:57:46 raeburn Exp $ -->
+<!-- $Id: wrap_setuid.piml,v 1.34 2018/06/11 03:53:08 raeburn Exp $ -->
<!--
@@ -37,7 +37,7 @@
<perlscript mode="fg" dist="default">
#print("Not wrapping setuid scripts\n");
</perlscript>
-<perlscript mode="fg" dist="suse9.2 suse9.3 sles9 sles10 sles11 sles12 suse10.1 suse10.2 suse10.3 suse11.1 suse11.2 suse11.3 suse11.4 suse12.1 suse12.2 suse12.3 suse13.1 suse13.2 fedora14 fedora15 fedora16 fedora17 fedora18 fedora19 fedora20 fedora21 fedora22 fedora23 fedora24 fedora25 fedora26 ubuntu12 ubuntu14 ubuntu16 rhes7 centos7 scientific7">
+<perlscript mode="fg" dist="suse9.2 suse9.3 sles9 sles10 sles11 sles12 suse10.1 suse10.2 suse10.3 suse11.1 suse11.2 suse11.3 suse11.4 suse12.1 suse12.2 suse12.3 suse13.1 suse13.2 fedora14 fedora15 fedora16 fedora17 fedora18 fedora19 fedora20 fedora21 fedora22 fedora23 fedora24 fedora25 fedora26 fedora27 fedora28 ubuntu12 ubuntu14 ubuntu16 rhes7 centos7 scientific7">
$fslist='<TARGET />';
open(FIND, "find <TARGET /> -xdev -type f \\( -perm -04000 -o -perm -02000 \\) -print|");
More information about the LON-CAPA-cvs
mailing list