1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 27 |
%define release 28 |
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 |
|
* Mon Mar 22 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-28.sme |
22 |
|
- add extra packages from openfusion [SME: 11223] |
23 |
|
- fix wrong event for remi-unsafe [SME: 11181] |
24 |
|
- add repo for postgsql |
25 |
|
- remove digium asterisk repo for SME10 [SME: 11482] |
26 |
|
- remove geekery repo [SME: 11483] |
27 |
|
|
28 |
* 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 |
29 |
- 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] |
30 |
|
|
135 |
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 |
136 |
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 |
137 |
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 |
138 |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}-update/templates2expand/etc/yum.smerepos.d/ |
unsafe=""; |
139 |
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" |
140 |
|
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}$unsafe-update/templates2expand/etc/yum.smerepos.d/ |
141 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}$unsafe-update/templates2expand/etc/yum.smerepos.d/sme-base.repo |
142 |
|
|
143 |
[[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\ |
[[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\ |
144 |
$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 |
155 |
|
|
156 |
|
|
157 |
|
|
|
###################### |
|
|
##################### |
|
|
# 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 |
|
|
|
|
158 |
##################### |
##################### |
159 |
##################### |
##################### |
160 |
#atomic |
#atomic |
376 |
|
|
377 |
##################### |
##################### |
378 |
##################### |
##################### |
|
# 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 |
|
|
|
|
|
##################### |
|
|
##################### |
|
379 |
# Libreswan |
# Libreswan |
380 |
##################### |
##################### |
381 |
##################### |
##################### |
398 |
# NodeJS 4 |
# NodeJS 4 |
399 |
##################### |
##################### |
400 |
##################### |
##################### |
401 |
REPO['reponame']='node4' |
for nodever in "4" "5" "6" "7" "8" "9" "10" "11"; do |
402 |
REPO['fullreponame']='NodeJS 4' |
REPO['reponame']="node$nodever" |
403 |
|
REPO['fullreponame']="NodeJS $nodever" |
404 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
405 |
REPO['Visible']='no' |
REPO['Visible']='no' |
406 |
REPO['status']='disabled' |
REPO['status']='disabled' |
407 |
REPO['BaseURL']='https://rpm.nodesource.com/pub_4.x/el/$releasever/$basearch/' |
REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/' |
408 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
409 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
410 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
411 |
REPO['Exclude']='' |
REPO['Exclude']='' |
412 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
413 |
createrepo |
createrepo |
414 |
|
done |
415 |
|
|
416 |
##################### |
##################### |
417 |
##################### |
##################### |
447 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
448 |
REPO['Exclude']='' |
REPO['Exclude']='' |
449 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
450 |
createrepo |
#createrepo |
451 |
|
|
452 |
##################### |
##################### |
453 |
##################### |
##################### |
465 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
466 |
REPO['Exclude']='' |
REPO['Exclude']='' |
467 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
468 |
createrepo |
#createrepo |
469 |
|
|
470 |
##################### |
##################### |
471 |
##################### |
##################### |
483 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
484 |
REPO['Exclude']='' |
REPO['Exclude']='' |
485 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
486 |
createrepo |
#createrepo |
487 |
|
|
488 |
##################### |
##################### |
489 |
##################### |
##################### |
501 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
502 |
REPO['Exclude']='' |
REPO['Exclude']='' |
503 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
504 |
createrepo |
#createrepo |
505 |
|
|
506 |
##################### |
##################### |
507 |
##################### |
##################### |
519 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
520 |
REPO['Exclude']='' |
REPO['Exclude']='' |
521 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
522 |
createrepo |
#createrepo |
523 |
|
|
524 |
##################### |
##################### |
525 |
##################### |
##################### |
537 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
538 |
REPO['Exclude']='' |
REPO['Exclude']='' |
539 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
540 |
createrepo |
#createrepo |
541 |
|
|
542 |
|
|
543 |
|
|
612 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
613 |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
614 |
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' |
615 |
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' |
616 |
|
createrepo |
617 |
|
|
618 |
|
##################### |
619 |
|
##################### |
620 |
|
# Postgresql |
621 |
|
##################### |
622 |
|
##################### |
623 |
|
for pgsqlver in "9.6" "10" "11" "12" "13"; do |
624 |
|
REPO['reponame']="pgsql$pgsqlver" |
625 |
|
REPO['fullreponame']="Postgresql $pgsqlver" |
626 |
|
REPO['EnableGroups']='no' |
627 |
|
REPO['Visible']='no' |
628 |
|
REPO['status']='disabled' |
629 |
|
REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
630 |
|
REPO['MirrorList']='' |
631 |
|
REPO['GPGCheck']='yes' |
632 |
|
ext=$pgsqlver; |
633 |
|
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
634 |
|
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext |
635 |
|
REPO['Exclude']='' |
636 |
|
REPO['IncludePkgs']='' |
637 |
|
createrepo |
638 |
|
|
639 |
|
|
640 |
|
REPO['reponame']="pgsql$pgsqlver-nonfree" |
641 |
|
REPO['fullreponame']="Postgresql $pgsqlver non free" |
642 |
|
REPO['EnableGroups']='no' |
643 |
|
REPO['Visible']='no' |
644 |
|
REPO['status']='disabled' |
645 |
|
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/non-free/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
646 |
|
REPO['MirrorList']='' |
647 |
|
REPO['GPGCheck']='yes' |
648 |
|
ext=$pgsqlver; |
649 |
|
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
650 |
|
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext |
651 |
|
REPO['Exclude']='' |
652 |
|
REPO['IncludePkgs']='' |
653 |
|
createrepo |
654 |
|
|
655 |
|
REPO['reponame']="pgsql$pgsqlver-common" |
656 |
|
REPO['fullreponame']="Postgresql $pgsqlver non free" |
657 |
|
REPO['EnableGroups']='no' |
658 |
|
REPO['Visible']='no' |
659 |
|
REPO['status']='disabled' |
660 |
|
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/common/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
661 |
|
REPO['MirrorList']='' |
662 |
|
REPO['GPGCheck']='yes' |
663 |
|
ext=$pgsqlver; |
664 |
|
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
665 |
|
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext |
666 |
|
REPO['Exclude']='' |
667 |
|
REPO['IncludePkgs']='' |
668 |
createrepo |
createrepo |
669 |
|
|
670 |
|
done |
671 |
|
|
672 |
##################### |
##################### |
673 |
##################### |
##################### |
674 |
# Reetspetit |
# Reetspetit |
1151 |
|
|
1152 |
EOF |
EOF |
1153 |
|
|
|
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 |
|
1154 |
|
|
1155 |
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 |
1156 |
{ |
{ |
1157 |
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"); |
1158 |
my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version'); |
my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version'); |
1159 |
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"); |
1160 |
|
|
1161 |
my %removeinclude = map { $_ => 1 } split(/[,; ]+/, ''); |
my %removeinclude = map { $_ => 1 } split(/[,; ]+/, ''); |
1162 |
|
|
1211 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
1212 |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
1213 |
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 |
|
1214 |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
1215 |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
1216 |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
1218 |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
1219 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
1220 |
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 |
|
1221 |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
1222 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
1223 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
1228 |
cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp |
cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp |
1229 |
cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory |
cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory |
1230 |
cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube |
cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube |
1231 |
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 |
1232 |
cat %{name}-%{version}-filelist| grep rpmfusion > %{name}-%{version}-filelist-rpmfusion |
cat %{name}-%{version}-filelist| grep rpmfusion > %{name}-%{version}-filelist-rpmfusion |
1233 |
cat %{name}-%{version}-filelist| grep sogo > %{name}-%{version}-filelist-sogo |
cat %{name}-%{version}-filelist| grep sogo > %{name}-%{version}-filelist-sogo |
1234 |
cat %{name}-%{version}-filelist| grep spectrum2 > %{name}-%{version}-filelist-spectrum2 |
cat %{name}-%{version}-filelist| grep spectrum2 > %{name}-%{version}-filelist-spectrum2 |
1239 |
cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon |
cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon |
1240 |
cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix |
cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix |
1241 |
cat %{name}-%{version}-filelist| grep zmrepo > %{name}-%{version}-filelist-zmrepo |
cat %{name}-%{version}-filelist| grep zmrepo > %{name}-%{version}-filelist-zmrepo |
1242 |
|
cat %{name}-%{version}-filelist| grep pgsql > %{name}-%{version}-filelist-pgsql |
1243 |
%clean |
%clean |
1244 |
cd .. |
cd .. |
1245 |
rm -rf %{name}-%{version} |
rm -rf %{name}-%{version} |
1280 |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
1281 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1282 |
|
|
|
%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) |
|
|
|
|
1283 |
%package egroupware |
%package egroupware |
1284 |
Summary: Repository for eGroupWare |
Summary: Repository for eGroupWare |
1285 |
%description egroupware |
%description egroupware |
1329 |
%files fws -f %{name}-%{version}-filelist-fws |
%files fws -f %{name}-%{version}-filelist-fws |
1330 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1331 |
|
|
|
%package geekery |
|
|
Summary: Geekery Repository |
|
|
%description geekery |
|
|
Geekery Repository |
|
|
%files geekery -f %{name}-%{version}-filelist-geekery |
|
|
%defattr(-,root,root) |
|
|
|
|
1332 |
%package libreswan |
%package libreswan |
1333 |
Summary: Libreswan Repository |
Summary: Libreswan Repository |
1334 |
%description libreswan |
%description libreswan |
1366 |
%files openfusion -f %{name}-%{version}-filelist-openfusion |
%files openfusion -f %{name}-%{version}-filelist-openfusion |
1367 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1368 |
|
|
1369 |
|
%package pgsql |
1370 |
|
Summary: PostGreSQL Repositories |
1371 |
|
%description pgsql |
1372 |
|
PostGreSQL Repositories |
1373 |
|
%files pgsql -f %{name}-%{version}-filelist-pgsql |
1374 |
|
%defattr(-,root,root) |
1375 |
|
|
1376 |
%package reetp |
%package reetp |
1377 |
Summary: Mirror John Crisp reetspetit.com |
Summary: Mirror John Crisp reetspetit.com |
1378 |
%description reetp |
%description reetp |