This repository has been archived by the owner on Jun 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 253
/
spacewalk-backend.spec
3099 lines (2483 loc) · 115 KB
/
spacewalk-backend.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
%global rhnroot %{_prefix}/share/rhn
%global rhnconfigdefaults %{rhnroot}/config-defaults
%global rhnconf %{_sysconfdir}/rhn
%global m2crypto m2crypto
%if 0%{?fedora} || 0%{?suse_version} > 1320 || 0%{?rhel} >= 8
%{!?python3_sitelib: %global python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%global python3rhnroot %{python3_sitelib}/spacewalk
%global build_py3 1
%endif
%if (0%{?fedora} && 0%{?fedora} <= 29) || 0%{?rhel} >= 7
%{!?pylint2_check: %global pylint2_check 1}
%endif
%if 0%{?fedora} || 0%{?rhel}
%global apacheconfd %{_sysconfdir}/httpd/conf.d
%global apache_user apache
%global apache_group apache
%global apache_pkg httpd
%endif
%if 0%{?suse_version} || 0%{?mageia}
%{!?pylint_check: %global pylint_check 0}
%global apacheconfd %{_sysconfdir}/apache2/conf.d
%global apache_user wwwrun
%global apache_group www
%global apache_pkg apache2
%global m2crypto python-m2crypto
%endif
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
%global python_prefix python2
%else
%global python_prefix python
%endif
%define manzip %{?mageia:xz}%{!?mageia:gz}
%global pythonrhnroot %{python_sitelib}/spacewalk
Name: spacewalk-backend
Summary: Common programs needed to be installed on the Spacewalk servers/proxies
License: GPLv2
Version: 2.10.5
Release: 1%{?dist}
URL: https://github.com/spacewalkproject/spacewalk
Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz
BuildArch: noarch
Requires: python2, rpm-python
# /etc/rhn is provided by spacewalk-proxy-common or by spacewalk-config
Requires: /etc/rhn
Requires: rhnlib >= 2.5.74
# for Debian support
Requires: %{python_prefix}-debian
Requires: %{name}-libs >= 1.1.16-1
%if 0%{?rhel}
Requires: pyliblzma
%endif
%if 0%{?pylint2_check}
BuildRequires: spacewalk-python2-pylint
%endif
BuildRequires: /usr/bin/msgfmt
BuildRequires: /usr/bin/docbook2man
BuildRequires: docbook-utils
BuildRequires: python2
BuildRequires: python2-spacewalk-usix
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} > 1310
BuildRequires: rhnlib >= 2.5.74
BuildRequires: python2-rhn-client-tools
BuildRequires: rpm-python
BuildRequires: %{python_prefix}-crypto
BuildRequires: %{python_prefix}-debian
BuildRequires: python2-gzipstream
BuildRequires: yum
BuildRequires: %{m2crypto}
%endif
Requires(pre): %{apache_pkg}
Requires: %{apache_pkg}
Requires: python2-spacewalk-usix
# we don't really want to require this redhat-release, so we protect
# against installations on other releases using conflicts...
Obsoletes: rhns-common < 5.3.0
Obsoletes: rhns < 5.3.0
Provides: rhns = 1:%{version}-%{release}
Provides: rhns-common = 1:%{version}-%{release}
Obsoletes: spacewalk-backend-upload-server < 1.2.28
Provides: spacewalk-backend-upload-server = 1:%{version}-%{release}
%description
Generic program files needed by the Spacewalk server machines.
This package includes the common code required by all servers/proxies.
%package sql
Summary: Core functions providing SQL connectivity for the Spacewalk backend modules
Requires(pre): %{name} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Obsoletes: rhns-sql < 5.3.0
Provides: rhns-sql = 1:%{version}-%{release}
Requires: %{name}-sql-virtual = %{version}-%{release}
Requires: python2-spacewalk-usix
%description sql
This package contains the basic code that provides SQL connectivity for
the Spacewalk backend modules.
%package sql-oracle
Summary: Oracle backend for Spacewalk
Requires: python(:DBAPI:oracle)
Requires: python2-spacewalk-usix
Provides: %{name}-sql-virtual = %{version}-%{release}
%description sql-oracle
This package contains provides Oracle connectivity for the Spacewalk backend
modules.
%package sql-postgresql
Summary: Postgresql backend for Spacewalk
Requires: python-psycopg2 >= 2.0.14-2
Requires: python2-spacewalk-usix
Provides: %{name}-sql-virtual = %{version}-%{release}
%description sql-postgresql
This package contains provides PostgreSQL connectivity for the Spacewalk
backend modules.
%package server
Summary: Basic code that provides Spacewalk Server functionality
Requires(pre): %{name}-sql = %{version}-%{release}
Requires: %{name}-sql = %{version}-%{release}
Requires: python2-spacewalk-usix
Requires: PyPAM
Obsoletes: rhns-server < 5.3.0
Provides: rhns-server = 1:%{version}-%{release}
#this exists only on rhel5 and rhel6
Conflicts: python-sgmlop
# cobbler-web is known to break our configuration
Conflicts: cobbler-web
Requires: mod_wsgi
%description server
This package contains the basic code that provides server/backend
functionality for a variety of XML-RPC receivers. The architecture is
modular so that you can plug/install additional modules for XML-RPC
receivers and get them enabled automatically.
%package xmlrpc
Summary: Handler for /XMLRPC
Requires: %{name}-server = %{version}-%{release}
Requires: rpm-python
Requires: python2-spacewalk-usix
Obsoletes: rhns-server-xmlrpc < 5.3.0
Obsoletes: rhns-xmlrpc < 5.3.0
Provides: rhns-server-xmlrpc = 1:%{version}-%{release}
Provides: rhns-xmlrpc = 1:%{version}-%{release}
%description xmlrpc
These are the files required for running the /XMLRPC handler, which
provide the basic support for the registration client (rhn_register)
and the up2date clients.
%package applet
Summary: Handler for /APPLET
Requires: %{name}-server = %{version}-%{release}
Requires: python2-spacewalk-usix
Obsoletes: rhns-applet < 5.3.0
Provides: rhns-applet = 1:%{version}-%{release}
%description applet
These are the files required for running the /APPLET handler, which
provides the functions for the Spacewalk applet.
%package app
Summary: Handler for /APP
Requires: %{name}-server = %{version}-%{release}
Requires: python2-spacewalk-usix
Obsoletes: rhns-server-app < 5.3.0
Obsoletes: rhns-app < 5.3.0
Provides: rhns-server-app = 1:%{version}-%{release}
Provides: rhns-app = 1:%{version}-%{release}
Obsoletes: spacewalk-backend-xp < 1.8.38
Provides: spacewalk-backend-xp = %{version}-%{release}
Obsoletes: rhns-server-xp < 5.3.0
Obsoletes: rhns-xp < 5.3.0
Provides: rhns-server-xp = 1:%{version}-%{release}
Provides: rhns-xp = 1:%{version}-%{release}
%description app
These are the files required for running the /APP handler.
Calls to /APP are used by internal maintenance tools (rhnpush).
%package iss
Summary: Handler for /SAT
Requires: %{name}-server = %{version}-%{release}
Obsoletes: rhns-sat < 5.3.0
Provides: rhns-sat = 1:%{version}-%{release}
%description iss
%{name} contains the basic code that provides server/backend
functionality for a variety of XML-RPC receivers. The architecture is
modular so that you can plug/install additional modules for XML-RPC
receivers and get them enabled automatically.
This package contains /SAT handler, which provide Inter Spacewalk Sync
capability.
%package iss-export
Summary: Listener for the Server XML dumper
Requires: rpm-python
Requires: %{name}-xml-export-libs = %{version}-%{release}
Requires: python2-spacewalk-usix
%description iss-export
%{name} contains the basic code that provides server/backend
functionality for a variety of XML-RPC receivers. The architecture is
modular so that you can plug/install additional modules for XML-RPC
receivers and get them enabled automatically.
This package contains listener for the Server XML dumper.
%package libs
Summary: Spacewalk server and client tools libraries
%if 0%{?suse_version}
BuildRequires: python-devel
%else
Requires: python
BuildRequires: python2-devel
Conflicts: %{name} < 1.7.0
Requires: python2-spacewalk-usix
%endif
%description libs
Libraries required by both Spacewalk server and Spacewalk client tools.
%if 0%{?build_py3}
%package -n python3-%{name}-libs
Summary: Spacewalk client tools libraries for Fedora 23
BuildRequires: python2-devel
BuildRequires: python3-devel
Conflicts: %{name} < 1.7.0
%if 0%{?suse_version}
Requires: python3-base
%else
Requires: python3-libs
%endif
Requires: python3-spacewalk-usix
%description -n python3-%{name}-libs
Libraries required by Spacewalk client tools on Fedora 23.
%endif
%package config-files-common
Summary: Common files for the Configuration Management project
Requires: %{name}-server = %{version}-%{release}
Requires: python2-spacewalk-usix
Obsoletes: rhns-config-files-common < 5.3.0
Provides: rhns-config-files-common = 1:%{version}-%{release}
%description config-files-common
Common files required by the Configuration Management project
%package config-files
Summary: Handler for /CONFIG-MANAGEMENT
Requires: %{name}-config-files-common = %{version}-%{release}
Obsoletes: rhns-config-files < 5.3.0
Provides: rhns-config-files = 1:%{version}-%{release}
%description config-files
This package contains the server-side code for configuration management.
%package config-files-tool
Summary: Handler for /CONFIG-MANAGEMENT-TOOL
Requires: %{name}-config-files-common = %{version}-%{release}
Requires: python2-spacewalk-usix
Obsoletes: rhns-config-files-tool < 5.3.0
Provides: rhns-config-files-tool = 1:%{version}-%{release}
%description config-files-tool
This package contains the server-side code for configuration management tool.
%package package-push-server
Summary: Listener for rhnpush (non-XMLRPC version)
Requires: %{name}-server = %{version}-%{release}
Obsoletes: rhns-package-push-server < 5.3.0
Provides: rhns-package-push-server = 1:%{version}-%{release}
%description package-push-server
Listener for rhnpush (non-XMLRPC version)
%package tools
Summary: Spacewalk Services Tools
Requires: %{name}-xmlrpc = %{version}-%{release}
Requires: %{name}-app = %{version}-%{release}
Requires: %{name}
Requires: spacewalk-certs-tools
Requires: spacewalk-admin >= 0.1.1-0
Requires: python2-gzipstream
Requires: python2-rhn-client-tools
%if 0%{?fedora} || 0%{?rhel} > 6
Requires: pyliblzma
%endif
%if 0%{?fedora} || 0%{?rhel}
Requires: python2-devel
Requires: mod_ssl
%endif
Requires: %{name}-xml-export-libs
Requires: cobbler20
Requires: rhnlib >= 2.5.57
Requires: python2-spacewalk-usix
Requires: python-requests
Requires: %{m2crypto}
%if 0%{?fedora} || 0%{?rhel}
BuildRequires: python-requests
%endif
Obsoletes: rhns-satellite-tools < 5.3.0
Obsoletes: spacewalk-backend-satellite-tools <= 0.2.7
Provides: spacewalk-backend-satellite-tools = %{version}-%{release}
Provides: rhns-satellite-tools = 1:%{version}-%{release}
%description tools
Various utilities for the Spacewalk Server.
%package xml-export-libs
Summary: Spacewalk XML data exporter
Requires: %{name}-server = %{version}-%{release}
Requires: python2-spacewalk-usix
Obsoletes: rhns-xml-export-libs < 5.3.0
Provides: rhns-xml-export-libs = 1:%{version}-%{release}
%description xml-export-libs
Libraries required by various exporting tools
%package cdn
Summary: CDN tools
Requires: %{name}-server = %{version}-%{release}
Requires: python2-spacewalk-usix
Requires: subscription-manager
Requires: %{m2crypto}
Requires: python-argparse
%description cdn
Tools for syncing content from Red Hat CDN
%prep
%setup -q
%build
make -f Makefile.backend all
%install
install -d $RPM_BUILD_ROOT%{rhnroot}
install -d $RPM_BUILD_ROOT%{pythonrhnroot}
make -f Makefile.backend install PREFIX=$RPM_BUILD_ROOT \
MANDIR=%{_mandir} APACHECONFDIR=%{apacheconfd}
%if 0%{?build_py3}
install -d $RPM_BUILD_ROOT%{python3rhnroot}/common
cp $RPM_BUILD_ROOT%{pythonrhnroot}/__init__.py \
$RPM_BUILD_ROOT%{python3rhnroot}/
cp $RPM_BUILD_ROOT%{pythonrhnroot}/common/__init__.py \
$RPM_BUILD_ROOT%{python3rhnroot}/common
cp $RPM_BUILD_ROOT%{pythonrhnroot}/common/{checksum.py,cli.py,rhn_deb.py,rhn_mpm.py,rhn_pkg.py,rhn_rpm.py,stringutils.py,fileutils.py,rhnLib.py} \
$RPM_BUILD_ROOT%{python3rhnroot}/common
%endif
export PYTHON_MODULE_NAME=%{name}
export PYTHON_MODULE_VERSION=%{version}
%find_lang %{name}-server
%if 0%{?fedora} || 0%{?rhel} > 6
sed -i 's/#LOGROTATE-3.8#//' $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/spacewalk-backend-*
sed -i 's/#DOCUMENTROOT#/\/var\/www\/html/' $RPM_BUILD_ROOT%{rhnconfigdefaults}/rhn.conf
%endif
%if 0%{?suse_version}
sed -i 's/#LOGROTATE-3.8#.*/ su root www/' $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/spacewalk-backend-*
sed -i 's/#DOCUMENTROOT#/\/srv\/www\/htdocs/' $RPM_BUILD_ROOT%{rhnconfigdefaults}/rhn.conf
pushd $RPM_BUILD_ROOT
find -name '*.py' -print0 | xargs -0 python %py_libdir/py_compile.py
popd
%if 0%{?build_py3}
%py3_compile -O %{buildroot}/%{python3rhnroot}
%endif
%endif
%clean
%check
cp %{pythonrhnroot}/common/usix.py $RPM_BUILD_ROOT%{pythonrhnroot}/common
make -f Makefile.backend PYTHONPATH=$RPM_BUILD_ROOT%{python_sitelib} test || :
%if 0%{?pylint2_check}
# check coding style
export PYTHONPATH=$RPM_BUILD_ROOT%{python_sitelib}:/usr/lib/rhn:/usr/share/rhn
spacewalk-python2-pylint $RPM_BUILD_ROOT%{pythonrhnroot}/common \
$RPM_BUILD_ROOT%{pythonrhnroot}/satellite_exporter \
$RPM_BUILD_ROOT%{pythonrhnroot}/satellite_tools \
$RPM_BUILD_ROOT%{pythonrhnroot}/cdn_tools \
$RPM_BUILD_ROOT%{pythonrhnroot}/upload_server \
$RPM_BUILD_ROOT%{pythonrhnroot}/wsgi
%endif
rm -f $RPM_BUILD_ROOT%{pythonrhnroot}/common/usix.py*
%pre server
OLD_SECRET_FILE=%{_var}/www/rhns/server/secret/rhnSecret.py
if [ -f $OLD_SECRET_FILE ]; then
install -d -m 750 -o root -g %{apache_group} %{rhnconf}
mv ${OLD_SECRET_FILE}* %{rhnconf}
fi
%post server
if [ ! -e %{rhnconf}/rhn.conf ]; then
exit 0
fi
# Is secret key in our config file?
regex="^[[:space:]]*(server\.|)secret_key[[:space:]]*=.*$"
if grep -E -i $regex %{rhnconf}/rhn.conf > /dev/null 2>&1 ; then
# secret key already there
rm -f %{rhnconf}/rhnSecret.py*
exit 0
fi
# Generate a secret key if old one is not present
if [ -f %{rhnconf}/rhnSecret.py ]; then
secret_key=$(PYTHONPATH=%{rhnconf} %{__python} -c \
"from rhnSecret import SECRET_KEY; print SECRET_KEY")
else
secret_key=$(dd if=/dev/urandom bs=1024 count=1 2>/dev/null | sha1sum - |
awk '{print $1}')
fi
echo "server.secret_key = $secret_key" >> %{rhnconf}/rhn.conf
rm -f %{rhnconf}/rhnSecret.py*
%files
%doc LICENSE
%dir %{pythonrhnroot}
%dir %{pythonrhnroot}/common
%{pythonrhnroot}/common/apache.py*
%{pythonrhnroot}/common/byterange.py*
%{pythonrhnroot}/common/rhnApache.py*
%{pythonrhnroot}/common/rhnCache.py*
%{pythonrhnroot}/common/rhnConfig.py*
%{pythonrhnroot}/common/rhnException.py*
%{pythonrhnroot}/common/rhnFlags.py*
%{pythonrhnroot}/common/rhnLog.py*
%{pythonrhnroot}/common/rhnMail.py*
%{pythonrhnroot}/common/rhnTB.py*
%{pythonrhnroot}/common/rhnRepository.py*
%{pythonrhnroot}/common/rhnTranslate.py*
%{pythonrhnroot}/common/RPC_Base.py*
%attr(770,root,%{apache_group}) %dir %{_var}/log/rhn
# Workaround for strict-whitespace-enforcement in httpd
%attr(644,root,%{apache_group}) %config %{apacheconfd}/aa-spacewalk-server.conf
# config files
%attr(755,root,%{apache_group}) %dir %{rhnconfigdefaults}
%attr(644,root,%{apache_group}) %{rhnconfigdefaults}/rhn.conf
%attr(755,root,root) %{_bindir}/spacewalk-cfg-get
%{_mandir}/man8/spacewalk-cfg-get.8.%{manzip}
# wsgi stuff
%dir %{rhnroot}/wsgi
%{rhnroot}/wsgi/__init__.py*
%{rhnroot}/wsgi/wsgiHandler.py*
%{rhnroot}/wsgi/wsgiRequest.py*
%files sql
%doc LICENSE
# Need __init__ = share it with rhns-server
%dir %{pythonrhnroot}/server
%{pythonrhnroot}/server/__init__.py*
%{rhnroot}/server/__init__.py*
%dir %{pythonrhnroot}/server/rhnSQL
%{pythonrhnroot}/server/rhnSQL/const.py*
%{pythonrhnroot}/server/rhnSQL/dbi.py*
%{pythonrhnroot}/server/rhnSQL/__init__.py*
%{pythonrhnroot}/server/rhnSQL/sql_*.py*
%files sql-oracle
%doc LICENSE
%{pythonrhnroot}/server/rhnSQL/driver_cx_Oracle.py*
%files sql-postgresql
%doc LICENSE
%{pythonrhnroot}/server/rhnSQL/driver_postgresql.py*
%files server -f %{name}-server.lang
%doc LICENSE
# modules
%{pythonrhnroot}/server/apacheAuth.py*
%{pythonrhnroot}/server/apacheHandler.py*
%{pythonrhnroot}/server/apacheRequest.py*
%{pythonrhnroot}/server/apacheServer.py*
%{pythonrhnroot}/server/apacheUploadServer.py*
%{pythonrhnroot}/server/rhnAction.py*
%{pythonrhnroot}/server/rhnAuthPAM.py*
%{pythonrhnroot}/server/rhnCapability.py*
%{pythonrhnroot}/server/rhnChannel.py*
%{pythonrhnroot}/server/rhnDependency.py*
%{pythonrhnroot}/server/rhnPackage.py*
%{pythonrhnroot}/server/rhnPackageUpload.py*
%{pythonrhnroot}/server/basePackageUpload.py*
%{pythonrhnroot}/server/rhnHandler.py*
%{pythonrhnroot}/server/rhnImport.py*
%{pythonrhnroot}/server/rhnLib.py*
%{pythonrhnroot}/server/rhnMapping.py*
%{pythonrhnroot}/server/rhnRepository.py*
%{pythonrhnroot}/server/rhnSession.py*
%{pythonrhnroot}/server/rhnUser.py*
%{pythonrhnroot}/server/rhnVirtualization.py*
%{pythonrhnroot}/server/taskomatic.py*
%dir %{pythonrhnroot}/server/rhnServer
%{pythonrhnroot}/server/rhnServer/*
%dir %{pythonrhnroot}/server/importlib
%{pythonrhnroot}/server/importlib/__init__.py*
%{pythonrhnroot}/server/importlib/archImport.py*
%{pythonrhnroot}/server/importlib/backend.py*
%{pythonrhnroot}/server/importlib/backendLib.py*
%{pythonrhnroot}/server/importlib/backendOracle.py*
%{pythonrhnroot}/server/importlib/backend_checker.py*
%{pythonrhnroot}/server/importlib/channelImport.py*
%{pythonrhnroot}/server/importlib/debPackage.py*
%{pythonrhnroot}/server/importlib/errataCache.py*
%{pythonrhnroot}/server/importlib/errataImport.py*
%{pythonrhnroot}/server/importlib/headerSource.py*
%{pythonrhnroot}/server/importlib/importLib.py*
%{pythonrhnroot}/server/importlib/kickstartImport.py*
%{pythonrhnroot}/server/importlib/mpmSource.py*
%{pythonrhnroot}/server/importlib/packageImport.py*
%{pythonrhnroot}/server/importlib/packageUpload.py*
%{pythonrhnroot}/server/importlib/productNamesImport.py*
%{pythonrhnroot}/server/importlib/userAuth.py*
%{pythonrhnroot}/server/importlib/orgImport.py*
%{pythonrhnroot}/server/importlib/contentSourcesImport.py*
%{rhnroot}/server/handlers/__init__.py*
# Repomd stuff
%dir %{pythonrhnroot}/server/repomd
%{pythonrhnroot}/server/repomd/__init__.py*
%{pythonrhnroot}/server/repomd/domain.py*
%{pythonrhnroot}/server/repomd/mapper.py*
%{pythonrhnroot}/server/repomd/repository.py*
%{pythonrhnroot}/server/repomd/view.py*
# the cache
%attr(755,%{apache_user},%{apache_group}) %dir %{_var}/cache/rhn
%attr(755,root,root) %dir %{_var}/cache/rhn/satsync
# config files
%attr(644,root,%{apache_group}) %{rhnconfigdefaults}/rhn_server.conf
# main httpd config
%attr(644,root,%{apache_group}) %config %{apacheconfd}/zz-spacewalk-server.conf
# wsgi stuff
%attr(644,root,%{apache_group}) %config %{apacheconfd}/zz-spacewalk-server-wsgi.conf
%{rhnroot}/wsgi/app.py*
%{rhnroot}/wsgi/applet.py*
%{rhnroot}/wsgi/config.py*
%{rhnroot}/wsgi/config_tool.py*
%{rhnroot}/wsgi/package_push.py*
%{rhnroot}/wsgi/sat.py*
%{rhnroot}/wsgi/sat_dump.py*
%{rhnroot}/wsgi/xmlrpc.py*
# logs and other stuff
%config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-server
%if 0%{?suse_version}
%dir %{rhnroot}/server
%dir %{rhnroot}/server/handlers
%endif
%files xmlrpc
%doc LICENSE
%dir %{rhnroot}/server/handlers/xmlrpc
%{rhnroot}/server/handlers/xmlrpc/*
%dir %{pythonrhnroot}/server/action
%{pythonrhnroot}/server/action/*
%dir %{pythonrhnroot}/server/action_extra_data
%{pythonrhnroot}/server/action_extra_data/*
# config files
%attr(644,root,%{apache_group}) %{rhnconfigdefaults}/rhn_server_xmlrpc.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-xmlrpc
%files applet
%doc LICENSE
%dir %{rhnroot}/server/handlers/applet
%{rhnroot}/server/handlers/applet/*
# config files
%attr(644,root,%{apache_group}) %{rhnconfigdefaults}/rhn_server_applet.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-applet
%files app
%doc LICENSE
%dir %{rhnroot}/server/handlers/app
%{rhnroot}/server/handlers/app/*
# config files
%attr(644,root,%{apache_group}) %{rhnconfigdefaults}/rhn_server_app.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-app
%files iss
%doc LICENSE
%dir %{rhnroot}/server/handlers/sat
%{rhnroot}/server/handlers/sat/*
%config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-iss
%files iss-export
%doc LICENSE
%dir %{pythonrhnroot}/satellite_exporter
%{pythonrhnroot}/satellite_exporter/__init__.py*
%{pythonrhnroot}/satellite_exporter/satexport.py*
%dir %{rhnroot}/satellite_exporter
%dir %{rhnroot}/satellite_exporter/handlers
%{rhnroot}/satellite_exporter/__init__.py*
%{rhnroot}/satellite_exporter/handlers/__init__.py*
%{rhnroot}/satellite_exporter/handlers/non_auth_dumper.py*
# config files
%config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-iss-export
%files libs
%doc LICENSE
%{pythonrhnroot}/common/checksum.py*
%{pythonrhnroot}/common/cli.py*
%{pythonrhnroot}/common/fileutils.py*
%{pythonrhnroot}/common/rhn_deb.py*
%{pythonrhnroot}/common/rhn_mpm.py*
%{pythonrhnroot}/common/rhn_pkg.py*
%{pythonrhnroot}/common/rhn_rpm.py*
%{pythonrhnroot}/common/stringutils.py*
%{pythonrhnroot}/common/rhnLib.py*
%{pythonrhnroot}/common/timezone_utils.py*
%{pythonrhnroot}/__init__.py*
%{pythonrhnroot}/common/__init__.py*
%if 0%{?build_py3}
%files -n python3-%{name}-libs
%doc LICENSE
%{python3rhnroot}/common/checksum.py
%{python3rhnroot}/common/cli.py
%{python3rhnroot}/common/fileutils.py
%{python3rhnroot}/common/rhn_deb.py
%{python3rhnroot}/common/rhn_mpm.py
%{python3rhnroot}/common/rhn_pkg.py
%{python3rhnroot}/common/rhn_rpm.py
%{python3rhnroot}/common/stringutils.py
%{python3rhnroot}/common/rhnLib.py*
%{python3rhnroot}/__init__.py
%{python3rhnroot}/common/__init__.py
%{python3rhnroot}/__pycache__/__init__.*
%{python3rhnroot}/common/__pycache__
%if 0%{?suse_version}
%dir %{python3rhnroot}
%dir %{python3rhnroot}/common
%dir %{python3rhnroot}/__pycache__
%endif
%endif
%files config-files-common
%doc LICENSE
%{pythonrhnroot}/server/configFilesHandler.py*
%dir %{pythonrhnroot}/server/config_common
%{pythonrhnroot}/server/config_common/*
%files config-files
%doc LICENSE
%dir %{rhnroot}/server/handlers/config
%{rhnroot}/server/handlers/config/*
%attr(644,root,%{apache_group}) %{rhnconfigdefaults}/rhn_server_config-management.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-config-files
%files config-files-tool
%doc LICENSE
%dir %{rhnroot}/server/handlers/config_mgmt
%{rhnroot}/server/handlers/config_mgmt/*
%attr(644,root,%{apache_group}) %{rhnconfigdefaults}/rhn_server_config-management-tool.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-config-files-tool
%files package-push-server
%doc LICENSE
%dir %{rhnroot}/upload_server
%{rhnroot}/upload_server/__init__.py*
%dir %{rhnroot}/upload_server/handlers
%{rhnroot}/upload_server/handlers/__init__.py*
%{rhnroot}/upload_server/handlers/package_push
%attr(644,root,%{apache_group}) %{rhnconfigdefaults}/rhn_server_upload.conf
%attr(644,root,%{apache_group}) %{rhnconfigdefaults}/rhn_server_upload_package-push.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-package-push-server
%files tools
%doc LICENSE
%doc README.ULN
%attr(644,root,%{apache_group}) %{rhnconfigdefaults}/rhn_server_satellite.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-tools
%attr(755,root,root) %{_bindir}/rhn-charsets
%attr(755,root,root) %{_bindir}/rhn-satellite-activate
%attr(755,root,root) %{_bindir}/rhn-schema-version
%attr(755,root,root) %{_bindir}/rhn-ssl-dbstore
%attr(755,root,root) %{_bindir}/satellite-sync
%attr(755,root,root) %{_bindir}/spacewalk-debug
%attr(755,root,root) %{_bindir}/rhn-satellite-exporter
%attr(755,root,root) %{_bindir}/update-packages
%attr(755,root,root) %{_bindir}/spacewalk-repo-sync
%attr(755,root,root) %{_bindir}/rhn-db-stats
%attr(755,root,root) %{_bindir}/rhn-schema-stats
%attr(755,root,root) %{_bindir}/satpasswd
%attr(755,root,root) %{_bindir}/satwho
%attr(755,root,root) %{_bindir}/spacewalk-remove-channel*
%attr(755,root,root) %{_bindir}/spacewalk-update-signatures
%attr(755,root,root) %{_bindir}/spacewalk-data-fsck
%attr(755,root,root) %{_bindir}/spacewalk-fips-tool
%{pythonrhnroot}/satellite_tools/contentRemove.py*
%{pythonrhnroot}/satellite_tools/SequenceServer.py*
%{pythonrhnroot}/satellite_tools/messages.py*
%{pythonrhnroot}/satellite_tools/progress_bar.py*
%{pythonrhnroot}/satellite_tools/req_channels.py*
%{pythonrhnroot}/satellite_tools/satsync.py*
%{pythonrhnroot}/satellite_tools/satCerts.py*
%{pythonrhnroot}/satellite_tools/satComputePkgHeaders.py*
%{pythonrhnroot}/satellite_tools/syncCache.py*
%{pythonrhnroot}/satellite_tools/sync_handlers.py*
%{pythonrhnroot}/satellite_tools/rhn_satellite_activate.py*
%{pythonrhnroot}/satellite_tools/rhn_ssl_dbstore.py*
%{pythonrhnroot}/satellite_tools/xmlWireSource.py*
%{pythonrhnroot}/satellite_tools/updatePackages.py*
%{pythonrhnroot}/satellite_tools/reposync.py*
%{pythonrhnroot}/satellite_tools/constants.py*
%{pythonrhnroot}/satellite_tools/download.py*
%dir %{pythonrhnroot}/satellite_tools/disk_dumper
%{pythonrhnroot}/satellite_tools/disk_dumper/__init__.py*
%{pythonrhnroot}/satellite_tools/disk_dumper/iss.py*
%{pythonrhnroot}/satellite_tools/disk_dumper/iss_ui.py*
%{pythonrhnroot}/satellite_tools/disk_dumper/iss_isos.py*
%{pythonrhnroot}/satellite_tools/disk_dumper/iss_actions.py*
%{pythonrhnroot}/satellite_tools/disk_dumper/dumper.py*
%{pythonrhnroot}/satellite_tools/disk_dumper/string_buffer.py*
%dir %{pythonrhnroot}/satellite_tools/repo_plugins
%attr(755,root,%{apache_group}) %dir %{_var}/log/rhn/reposync
%{pythonrhnroot}/satellite_tools/repo_plugins/__init__.py*
%{pythonrhnroot}/satellite_tools/repo_plugins/yum_src.py*
%{pythonrhnroot}/satellite_tools/repo_plugins/uln_src.py*
%{pythonrhnroot}/satellite_tools/repo_plugins/deb_src.py*
%config %attr(644,root,%{apache_group}) %{rhnconfigdefaults}/rhn_server_iss.conf
%{_mandir}/man8/rhn-satellite-exporter.8*
%{_mandir}/man8/rhn-charsets.8*
%{_mandir}/man8/rhn-satellite-activate.8*
%{_mandir}/man8/rhn-schema-version.8*
%{_mandir}/man8/rhn-ssl-dbstore.8*
%{_mandir}/man8/rhn-db-stats.8*
%{_mandir}/man8/rhn-schema-stats.8*
%{_mandir}/man8/satellite-sync.8*
%{_mandir}/man8/spacewalk-debug.8*
%{_mandir}/man8/satpasswd.8*
%{_mandir}/man8/satwho.8*
%{_mandir}/man8/spacewalk-fips-tool.8*
%{_mandir}/man8/spacewalk-remove-channel.8*
%{_mandir}/man8/spacewalk-repo-sync.8*
%{_mandir}/man8/spacewalk-data-fsck.8*
%{_mandir}/man8/spacewalk-update-signatures.8*
%{_mandir}/man8/update-packages.8*
%files xml-export-libs
%doc LICENSE
%dir %{pythonrhnroot}/satellite_tools
%{pythonrhnroot}/satellite_tools/__init__.py*
%{pythonrhnroot}/satellite_tools/geniso.py*
# A bunch of modules shared with satellite-tools
%{pythonrhnroot}/satellite_tools/connection.py*
%{pythonrhnroot}/satellite_tools/diskImportLib.py*
%{pythonrhnroot}/satellite_tools/syncLib.py*
%{pythonrhnroot}/satellite_tools/xmlDiskSource.py*
%{pythonrhnroot}/satellite_tools/xmlSource.py*
%dir %{pythonrhnroot}/satellite_tools/exporter
%{pythonrhnroot}/satellite_tools/exporter/__init__.py*
%{pythonrhnroot}/satellite_tools/exporter/exportLib.py*
%{pythonrhnroot}/satellite_tools/exporter/xmlWriter.py*
%files cdn
%attr(755,root,root) %{_bindir}/cdn-sync
%{pythonrhnroot}/cdn_tools/*.py*
%attr(755,root,%{apache_group}) %dir %{_var}/log/rhn/cdnsync
%config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-cdn
%{_mandir}/man8/cdn-sync.8*
%if 0%{?suse_version}
%dir %{pythonrhnroot}/cdn_tools
%endif
%changelog
* Mon Feb 11 2019 Michael Mraka <michael.mraka@redhat.com> 2.10.5-1
- Add Google Compute Engine as virtualization type for registration
- Add Acropolis Hypervisor as virtualization type for registration
- Add Openstack Compute as virtualization type
* Tue Feb 05 2019 Michael Mraka <michael.mraka@redhat.com> 2.10.4-1
- 1646942 - openscap rule identifiers can exceed 100 chars
* Fri Feb 01 2019 Michael Mraka <michael.mraka@redhat.com> 2.10.3-1
- 1671466 - store only file list not their content
* Wed Jan 23 2019 Michael Mraka <michael.mraka@redhat.com> 2.10.2-1
- don't fail when parsing None as date
* Wed Dec 12 2018 Michael Mraka <michael.mraka@redhat.com> 2.10.1-1
- group virtualization types together
- group products together to make list smaller
- 1651354 - recognize RHV 4.x guests as virtual
* Fri Nov 23 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.33-1
- fixing newline error in translation
* Fri Nov 23 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.32-1
- updated copyright years
- Regenerating .po and .pot files for spacewalk-backend
- Updating .po translations from Zanata
* Fri Nov 23 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.31-1
- use http if proxy does not specify protocol
- Fixed section lookup bug related to processing data from /etc/rhn/spacewalk-
repo-sync/yum.conf
* Fri Nov 16 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.30-1
- run pylint2 on only on Fedora <= 29
- removed unused conditions from spec
* Mon Nov 12 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.29-1
- fixed pylint errors
* Fri Nov 02 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.27-1
- Changed 'cp' parameters to work with the symlinks files.
* Fri Nov 02 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.26-1
- more meaningful variable names
- Fixes proxy support for deb repos
* Fri Oct 19 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.25-1
- fixing pylint line-too-long
* Fri Oct 19 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.24-1
- 1622972 - convert datetime in python
* Thu Oct 18 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.23-1
- don't require python22, python2 is enough
* Thu Oct 18 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.22-1
- 1640156 - correctly recognize Nutanix AHV as virtual guest
* Wed Oct 03 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.21-1
- mageia uses xz to compress man pages
* Tue Oct 02 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.20-1
- fix build on mageia
* Tue Oct 02 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.19-1
- use explicit version of python
- python2 is not in default build root in Fedora 30+
* Tue Oct 02 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.18-1
- fixed pylint error inconsistent-return-statements
* Tue Oct 02 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.17-1
- 1622972 - sync errata if update date has changed
* Fri Sep 21 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.16-1
- 1626797 - fixed line-too-long (build time failure)
* Fri Sep 21 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.15-1
- 1626797 - don't fail if kickstart is missing, just warn
* Tue Sep 04 2018 Jan Dobes <jdobes@redhat.com> 2.9.14-1
- 1624463 - add parser for kickstart directory on local FS
- 1624463 - refactoring: modify common KSDirParser to KSDirHtmlParser
- 1624463 - refactoring: get is_non_local_repo earlier
* Fri Jul 13 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.13-1
- don't try to chgrp stdout
- Add a debug flag to the spacewalk-repo-sync utility
* Mon Jul 09 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.12-1
- 1576775 - fix TypeError: 'NoneType' object is not iterable
* Tue May 29 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.11-1
- 1574437 - enable_nvrea should always be true for cdn-sync
* Mon May 28 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.10-1
- 1576006 - fix detection of parent channel
* Thu May 17 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.9-1
- 1576775 - refresh repodata when channel metadata change (satellite-sync)
- 1576775 - refresh repodata when channel metadata change (cdn-sync, repo-sync)
* Thu May 17 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.8-1
- Fix crash in satellite_tools on RH/Fedora/Mageia urlgrabber
* Wed May 09 2018 Jiri Dostal <jdostal@redhat.com> 2.9.7-1
- fix errata import error if severity is 'None'
* Mon Apr 30 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.6-1
- remove traniling newlien at EOF
* Mon Apr 30 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.5-1
- fix pylint - remove unsused import
* Fri Apr 27 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.4-1
- Fix KeyError: 'authtoken' when running spacewalk-repo-sync with --type deb
* Fri Apr 13 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.3-1
- 1567157 - remove 'www' part from cve.mitre.org domain name
* Thu Apr 12 2018 Jiri Dostal <jdostal@redhat.com> 2.9.2-1
- Sat export evauated severity 0 as None
* Fri Apr 06 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.1-1
- 1198723 - rhnRepository.py: add support for Debian / Ubuntu Release files
- Bumping package versions for 2.9.
* Mon Mar 26 2018 Jiri Dostal <jdostal@redhat.com> 2.8.57-1
- 1549546 - Allow spacewalk-channel to add parent channel.
* Fri Mar 23 2018 Jan Dobes <jdobes@redhat.com> 2.8.56-1
- fixing incorrect syntax of format string
- fixing incorrect syntax of format string
- pylint: Unused variable 'frag' (unused-variable)
* Fri Mar 23 2018 Jiri Dostal <jdostal@redhat.com> 2.8.55-1
- refactoring ljust methods in print
- Hack: Try to build an URL that works for SUSE SCC downloads, based on PR #617
* Wed Mar 21 2018 Jiri Dostal <jdostal@redhat.com> 2.8.54-1
- Make spec file follow guidelines for fedora28+
* Tue Mar 20 2018 Jiri Dostal <jdostal@redhat.com> 2.8.53-1
- Fixing newline error in translation
- Updating copyright years for 2018
- Regenerating .po and .pot files for spacewalk-backend.
- Updating .po translations from Zanata
* Thu Mar 01 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.52-1
- require python2 version of spacewalk-usix for backend server
* Thu Mar 01 2018 Jiri Dostal <jdostal@redhat.com> 2.8.51-1
- 1550001 - KeyError: 'severity' caught when exporting channel with rhn-
satellite-exporter
* Wed Feb 28 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.50-1
- build python3-spacewalk-backend on rhel8
* Fri Feb 23 2018 Grant Gainey 2.8.49-1
- 1534417 - sanitize pwds in backup files and http-proxy-pwds as well
* Tue Feb 13 2018 Eric Herget <eherget@redhat.com> 2.8.48-1
- Update to use newly separated spacewalk-python[2|3]-pylint packages
* Tue Feb 13 2018 Grant Gainey 2.8.47-1
- 1540981 - Clarify error-reporting when checksum_cache is bad
* Fri Feb 09 2018 Michael Mraka <michael.mraka@redhat.com> 2.8.46-1
- clean up specfile
* Thu Feb 08 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.45-1
- fix pylint 2.0
* Thu Feb 08 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.44-1
- fix pylint warnings
* Thu Feb 08 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.43-1
- support syncing of modules during ISS
- export modules in rhn-satellite-exporter
- support downloading modules.yaml from backend
- retrieve module metadata when syncing yum type repository
- provide a way how to retrieve module files for yum type repositories
* Mon Feb 05 2018 Grant Gainey 2.8.42-1
- 1537098 - Teach packageImport to ignore flags RPM doesn't know
* Thu Jan 25 2018 Jiri Dostal <jdostal@redhat.com> 2.8.41-1
- Fix syncing severity
* Wed Jan 24 2018 Jiri Dostal <jdostal@redhat.com> 2.8.40-1
- 1538096 - Security erratum severity is not being synced using synchronization
tools
* Wed Jan 17 2018 Jan Dobes <jdobes@redhat.com> 2.8.39-1
- 1534417 - hide plaintext password in spacewalk-debug archive
* Wed Jan 17 2018 Jiri Dostal <jdostal@redhat.com> 2.8.38-1
- Keep the authtoken appended to the URL when downloading repo content
* Mon Jan 08 2018 Jan Dobes <jdobes@redhat.com> 2.8.37-1
- 1507553 - include unmapped channels in channel list and EOL channel list
- 1507553 - change message to warning and don't display with default verbose
setting