1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 27 |
%define release 29 |
4 |
Summary: easy configuration of extra yum repo |
Summary: easy configuration of extra yum repo |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
18 |
Provides configuration for external yum repository comaptible with Koozali SME Server. |
Provides configuration for external yum repository comaptible with Koozali SME Server. |
19 |
|
|
20 |
%changelog |
%changelog |
21 |
|
* Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-29.sme |
22 |
|
- add new zabbix version |
23 |
|
|
24 |
|
* Mon Mar 22 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-28.sme |
25 |
|
- add extra packages from openfusion [SME: 11223] |
26 |
|
- fix wrong event for remi-unsafe [SME: 11181] |
27 |
|
- add repo for postgsql |
28 |
|
- remove digium asterisk repo for SME10 [SME: 11482] |
29 |
|
- remove geekery repo [SME: 11483] |
30 |
|
|
31 |
* Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-27.sme |
* Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-27.sme |
32 |
- Add perl-Disk-Free and perl-Type-Tiny to Migrate script [SME: 11024] |
- Add perl-Disk-Free and perl-Type-Tiny to Migrate script [SME: 11024] |
33 |
|
|
138 |
echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible |
echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible |
139 |
echo "${REPO['status']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status |
echo "${REPO['status']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status |
140 |
echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type |
echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type |
141 |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}-update/templates2expand/etc/yum.smerepos.d/ |
unsafe=""; |
142 |
touch $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}-update/templates2expand/etc/yum.smerepos.d/sme-base.repo |
[[ "${REPO['reponame']}" == 'remi' ]] && unsafe="-unsafe" |
143 |
|
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}$unsafe-update/templates2expand/etc/yum.smerepos.d/ |
144 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}$unsafe-update/templates2expand/etc/yum.smerepos.d/sme-base.repo |
145 |
|
|
146 |
[[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\ |
[[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\ |
147 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL |
158 |
|
|
159 |
|
|
160 |
|
|
|
###################### |
|
|
##################### |
|
|
# asterisk 13 LTS |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='asterisk-13' |
|
|
REPO['fullreponame']='Asterisk-13 - EL' |
|
|
REPO['EnableGroups']='yes' |
|
|
REPO['GPGCheck']='no' |
|
|
REPO['Visible']='no' |
|
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/$basearch/' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGKey']='' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
|
###################### |
|
|
##################### |
|
|
# asterisk current |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='asterisk-current' |
|
|
REPO['fullreponame']='Asterisk-current - EL' |
|
|
REPO['EnableGroups']='yes' |
|
|
REPO['GPGCheck']='no' |
|
|
REPO['Visible']='no' |
|
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGKey']='' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
|
##################### |
|
|
##################### |
|
|
# Digium Repo |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='digium-current' |
|
|
REPO['fullreponame']='Digium packages - EL' |
|
|
REPO['EnableGroups']='no' |
|
|
REPO['Visible']='no' |
|
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='http://packages.digium.com/centos/$releasever/current/$basearch/' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGCheck']='no' |
|
|
REPO['GPGKey']='' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
|
##################### |
|
|
##################### |
|
|
# Digium 13 |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='digium-13' |
|
|
REPO['fullreponame']='Digium-13 packages - EL' |
|
|
REPO['EnableGroups']='no' |
|
|
REPO['Visible']='no' |
|
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='http://packages.digium.com/centos/$releasever/digium-13/$basearch/' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGCheck']='no' |
|
|
REPO['GPGKey']='' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
161 |
##################### |
##################### |
162 |
##################### |
##################### |
163 |
#atomic |
#atomic |
379 |
|
|
380 |
##################### |
##################### |
381 |
##################### |
##################### |
|
# Geekery (last update 2016-09-25) |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='geekery' |
|
|
REPO['fullreponame']='geekery repository' |
|
|
REPO['EnableGroups']='no' |
|
|
REPO['Visible']='no' |
|
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='' |
|
|
REPO['MirrorList']='http://geekery.epac.to/geekery/el$releasever-mirrors' |
|
|
REPO['GPGCheck']='yes' |
|
|
REPO['GPGKey']='http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
|
##################### |
|
|
##################### |
|
382 |
# Libreswan |
# Libreswan |
383 |
##################### |
##################### |
384 |
##################### |
##################### |
401 |
# NodeJS 4 |
# NodeJS 4 |
402 |
##################### |
##################### |
403 |
##################### |
##################### |
404 |
REPO['reponame']='node4' |
for nodever in "4" "5" "6" "7" "8" "9" "10" "11"; do |
405 |
REPO['fullreponame']='NodeJS 4' |
REPO['reponame']="node$nodever" |
406 |
|
REPO['fullreponame']="NodeJS $nodever" |
407 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
408 |
REPO['Visible']='no' |
REPO['Visible']='no' |
409 |
REPO['status']='disabled' |
REPO['status']='disabled' |
410 |
REPO['BaseURL']='https://rpm.nodesource.com/pub_4.x/el/$releasever/$basearch/' |
REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/' |
411 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
412 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
413 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
414 |
REPO['Exclude']='' |
REPO['Exclude']='' |
415 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
416 |
createrepo |
createrepo |
417 |
|
done |
418 |
|
|
419 |
##################### |
##################### |
420 |
##################### |
##################### |
450 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
451 |
REPO['Exclude']='' |
REPO['Exclude']='' |
452 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
453 |
createrepo |
#createrepo |
454 |
|
|
455 |
##################### |
##################### |
456 |
##################### |
##################### |
468 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
469 |
REPO['Exclude']='' |
REPO['Exclude']='' |
470 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
471 |
createrepo |
#createrepo |
472 |
|
|
473 |
##################### |
##################### |
474 |
##################### |
##################### |
486 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
487 |
REPO['Exclude']='' |
REPO['Exclude']='' |
488 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
489 |
createrepo |
#createrepo |
490 |
|
|
491 |
##################### |
##################### |
492 |
##################### |
##################### |
504 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
505 |
REPO['Exclude']='' |
REPO['Exclude']='' |
506 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
507 |
createrepo |
#createrepo |
508 |
|
|
509 |
##################### |
##################### |
510 |
##################### |
##################### |
522 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
523 |
REPO['Exclude']='' |
REPO['Exclude']='' |
524 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
525 |
createrepo |
#createrepo |
526 |
|
|
527 |
##################### |
##################### |
528 |
##################### |
##################### |
540 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
541 |
REPO['Exclude']='' |
REPO['Exclude']='' |
542 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
543 |
createrepo |
#createrepo |
544 |
|
|
545 |
|
|
546 |
|
|
615 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
616 |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
617 |
REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent' |
REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent' |
618 |
REPO['IncludePkgs']='perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent,perl-Array-Compare,perl-Type-Tiny,perl-Filesys-DiskFree' |
REPO['IncludePkgs']='perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent,perl-Array-Compare,perl-Type-Tiny,perl-Filesys-DiskFree,perl-Array-Compare,perl-Type-Tiny' |
619 |
|
createrepo |
620 |
|
|
621 |
|
##################### |
622 |
|
##################### |
623 |
|
# Postgresql |
624 |
|
##################### |
625 |
|
##################### |
626 |
|
for pgsqlver in "9.6" "10" "11" "12" "13"; do |
627 |
|
REPO['reponame']="pgsql$pgsqlver" |
628 |
|
REPO['fullreponame']="Postgresql $pgsqlver" |
629 |
|
REPO['EnableGroups']='no' |
630 |
|
REPO['Visible']='no' |
631 |
|
REPO['status']='disabled' |
632 |
|
REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
633 |
|
REPO['MirrorList']='' |
634 |
|
REPO['GPGCheck']='yes' |
635 |
|
ext=$pgsqlver; |
636 |
|
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
637 |
|
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext |
638 |
|
REPO['Exclude']='' |
639 |
|
REPO['IncludePkgs']='' |
640 |
|
createrepo |
641 |
|
|
642 |
|
|
643 |
|
REPO['reponame']="pgsql$pgsqlver-nonfree" |
644 |
|
REPO['fullreponame']="Postgresql $pgsqlver non free" |
645 |
|
REPO['EnableGroups']='no' |
646 |
|
REPO['Visible']='no' |
647 |
|
REPO['status']='disabled' |
648 |
|
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/non-free/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
649 |
|
REPO['MirrorList']='' |
650 |
|
REPO['GPGCheck']='yes' |
651 |
|
ext=$pgsqlver; |
652 |
|
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
653 |
|
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext |
654 |
|
REPO['Exclude']='' |
655 |
|
REPO['IncludePkgs']='' |
656 |
|
createrepo |
657 |
|
|
658 |
|
REPO['reponame']="pgsql$pgsqlver-common" |
659 |
|
REPO['fullreponame']="Postgresql $pgsqlver non free" |
660 |
|
REPO['EnableGroups']='no' |
661 |
|
REPO['Visible']='no' |
662 |
|
REPO['status']='disabled' |
663 |
|
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/common/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
664 |
|
REPO['MirrorList']='' |
665 |
|
REPO['GPGCheck']='yes' |
666 |
|
ext=$pgsqlver; |
667 |
|
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
668 |
|
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext |
669 |
|
REPO['Exclude']='' |
670 |
|
REPO['IncludePkgs']='' |
671 |
createrepo |
createrepo |
672 |
|
|
673 |
|
done |
674 |
|
|
675 |
##################### |
##################### |
676 |
##################### |
##################### |
677 |
# Reetspetit |
# Reetspetit |
1039 |
#Zabbix2.4 |
#Zabbix2.4 |
1040 |
##################### |
##################### |
1041 |
##################### |
##################### |
1042 |
declare -A zabshort=( ['1.8']='18' ['2.0']='20' ['2.0']='20' ['2.4']='24' ['3.0']='30' ['3.2']='32' ['3.4']='34' ['4.0']='40' ['4.2']='42' ['4.4']='44') |
declare -A zabshort=( ['1.8']='18' ['2.0']='20' ['2.0']='20' ['2.4']='24' ['3.0']='30' ['3.2']='32' ['3.4']='34' ['4.0']='40' ['4.2']='42' ['4.4']='44' ['4.5']='45' ['5.0']='50' ['5.1']='51' ['5.2']='52' ['5.3']='53') |
1043 |
for elasver in "4.2" "4.4" ; do |
for elasver in "4.2" "4.4" '4.5' '5.0' '5.1' '5.2' '5.3'; do |
1044 |
REPO['reponame']="zabbix${zabshort[$elasver]}" |
REPO['reponame']="zabbix${zabshort[$elasver]}" |
1045 |
REPO['fullreponame']="Zabbix $elasver Official Repository" |
REPO['fullreponame']="Zabbix $elasver Official Repository" |
1046 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
1154 |
|
|
1155 |
EOF |
EOF |
1156 |
|
|
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk |
|
|
{ |
|
|
for my $name ( qw(asterisk-current) ) |
|
|
{ |
|
|
my $repo = $DB->get($name) or next; |
|
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
|
|
if ($BaseURL =~ s/centos\$/centos\/\$/g) |
|
|
{$repo->set_prop('BaseURL', $BaseURL);} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
EOF |
|
1157 |
|
|
1158 |
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion |
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion |
1159 |
{ |
{ |
1160 |
my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent"); |
my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent"); |
1161 |
my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version'); |
my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version'); |
1162 |
my @addinclude = split(/,/,"perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent,perl-Array-Compare,perl-Type-Tiny,perl-Filesys-DiskFree"); |
my @addinclude = split(/,/,"perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent,perl-Array-Compare,perl-Type-Tiny,perl-Filesys-DiskFree,perl-Array-Compare,perl-Type-Tiny"); |
1163 |
|
|
1164 |
my %removeinclude = map { $_ => 1 } split(/[,; ]+/, ''); |
my %removeinclude = map { $_ => 1 } split(/[,; ]+/, ''); |
1165 |
|
|
1214 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
1215 |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
1216 |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
|
cat %{name}-%{version}-filelist| egrep 'digium|asterisk' > %{name}-%{version}-filelist-asterisk |
|
1217 |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
1218 |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
1219 |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
1221 |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
1222 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
1223 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
|
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
|
1224 |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
1225 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
1226 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
1231 |
cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp |
cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp |
1232 |
cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory |
cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory |
1233 |
cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube |
cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube |
1234 |
cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube' > %{name}-%{version}-filelist-remi |
cat %{name}-%{version}-filelist| grep remi|egrep -v 'ocsinventory|roundcube' > %{name}-%{version}-filelist-remi |
1235 |
cat %{name}-%{version}-filelist| grep rpmfusion > %{name}-%{version}-filelist-rpmfusion |
cat %{name}-%{version}-filelist| grep rpmfusion > %{name}-%{version}-filelist-rpmfusion |
1236 |
cat %{name}-%{version}-filelist| grep sogo > %{name}-%{version}-filelist-sogo |
cat %{name}-%{version}-filelist| grep sogo > %{name}-%{version}-filelist-sogo |
1237 |
cat %{name}-%{version}-filelist| grep spectrum2 > %{name}-%{version}-filelist-spectrum2 |
cat %{name}-%{version}-filelist| grep spectrum2 > %{name}-%{version}-filelist-spectrum2 |
1242 |
cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon |
cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon |
1243 |
cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix |
cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix |
1244 |
cat %{name}-%{version}-filelist| grep zmrepo > %{name}-%{version}-filelist-zmrepo |
cat %{name}-%{version}-filelist| grep zmrepo > %{name}-%{version}-filelist-zmrepo |
1245 |
|
cat %{name}-%{version}-filelist| grep pgsql > %{name}-%{version}-filelist-pgsql |
1246 |
%clean |
%clean |
1247 |
cd .. |
cd .. |
1248 |
rm -rf %{name}-%{version} |
rm -rf %{name}-%{version} |
1283 |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
1284 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1285 |
|
|
|
%package asterisk |
|
|
Summary: All repositories you need for Asterisk and FreePBX |
|
|
%description asterisk |
|
|
All repositories you need for Asterisk and FreePBX |
|
|
%files asterisk -f %{name}-%{version}-filelist-asterisk |
|
|
%defattr(-,root,root) |
|
|
|
|
1286 |
%package egroupware |
%package egroupware |
1287 |
Summary: Repository for eGroupWare |
Summary: Repository for eGroupWare |
1288 |
%description egroupware |
%description egroupware |
1332 |
%files fws -f %{name}-%{version}-filelist-fws |
%files fws -f %{name}-%{version}-filelist-fws |
1333 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1334 |
|
|
|
%package geekery |
|
|
Summary: Geekery Repository |
|
|
%description geekery |
|
|
Geekery Repository |
|
|
%files geekery -f %{name}-%{version}-filelist-geekery |
|
|
%defattr(-,root,root) |
|
|
|
|
1335 |
%package libreswan |
%package libreswan |
1336 |
Summary: Libreswan Repository |
Summary: Libreswan Repository |
1337 |
%description libreswan |
%description libreswan |
1369 |
%files openfusion -f %{name}-%{version}-filelist-openfusion |
%files openfusion -f %{name}-%{version}-filelist-openfusion |
1370 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1371 |
|
|
1372 |
|
%package pgsql |
1373 |
|
Summary: PostGreSQL Repositories |
1374 |
|
%description pgsql |
1375 |
|
PostGreSQL Repositories |
1376 |
|
%files pgsql -f %{name}-%{version}-filelist-pgsql |
1377 |
|
%defattr(-,root,root) |
1378 |
|
|
1379 |
%package reetp |
%package reetp |
1380 |
Summary: Mirror John Crisp reetspetit.com |
Summary: Mirror John Crisp reetspetit.com |
1381 |
%description reetp |
%description reetp |