1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 5 |
%define release 15 |
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 Jan 02 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15.sme |
22 |
|
- Exclude mod_perl and other files from OpenFusion repo |
23 |
|
|
24 |
|
* Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme |
25 |
|
- fix typo in asterisk-current |
26 |
|
- fix typo in migrate fragment for zmrepo |
27 |
|
- renamed digium as digium-current |
28 |
|
|
29 |
|
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme |
30 |
|
- zoneminder needs ffmpeg from zmrepo [SME: 10539] |
31 |
|
|
32 |
|
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme |
33 |
|
- zmrepo url has changed [SME: 10675] |
34 |
|
|
35 |
|
* Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme |
36 |
|
- Add libreswan repo [SME: 10605] |
37 |
|
- remove duplicate remi-safe entry |
38 |
|
|
39 |
|
* Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme |
40 |
|
- Update reetp URL [SME: 10604] |
41 |
|
|
42 |
* Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme |
* Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme |
43 |
- add elrepo-kernel repo [SME: 10581] |
- add elrepo-kernel repo [SME: 10581] |
44 |
|
|
105 |
|
|
106 |
|
|
107 |
|
|
|
#remi-safe |
|
|
REPO['reponame']='remi-safe' |
|
|
REPO['fullreponame']='Remi - safe' |
|
|
REPO['EnableGroups']='no' |
|
|
REPO['GPGCheck']='yes' |
|
|
REPO['Visible']='yes' |
|
|
REPO['status']='enabled' |
|
|
REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
108 |
###################### |
###################### |
109 |
##################### |
##################### |
110 |
# asterisk 13 LTS |
# asterisk 13 LTS |
134 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
135 |
REPO['Visible']='no' |
REPO['Visible']='no' |
136 |
REPO['status']='disabled' |
REPO['status']='disabled' |
137 |
REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/' |
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/' |
138 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
139 |
REPO['GPGKey']='' |
REPO['GPGKey']='' |
140 |
REPO['Exclude']='' |
REPO['Exclude']='' |
146 |
# Digium Repo |
# Digium Repo |
147 |
##################### |
##################### |
148 |
##################### |
##################### |
149 |
REPO['reponame']='digium' |
REPO['reponame']='digium-current' |
150 |
REPO['fullreponame']='Digium packages - EL' |
REPO['fullreponame']='Digium packages - EL' |
151 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
152 |
REPO['Visible']='no' |
REPO['Visible']='no' |
231 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
232 |
createrepo |
createrepo |
233 |
|
|
|
|
|
234 |
##################### |
##################### |
235 |
##################### |
##################### |
236 |
#egroupware |
#egroupware |
414 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
415 |
createrepo |
createrepo |
416 |
|
|
417 |
|
##################### |
418 |
|
##################### |
419 |
|
# Libreswan |
420 |
|
##################### |
421 |
|
##################### |
422 |
|
REPO['reponame']='libreswan' |
423 |
|
REPO['fullreponame']='Libreswan' |
424 |
|
REPO['EnableGroups']='no' |
425 |
|
REPO['Visible']='no' |
426 |
|
REPO['status']='disabled' |
427 |
|
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/6/x86_64/' |
428 |
|
REPO['MirrorList']='' |
429 |
|
REPO['GPGCheck']='yes' |
430 |
|
REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan' |
431 |
|
REPO['Exclude']='' |
432 |
|
REPO['IncludePkgs']='' |
433 |
|
createrepo |
434 |
|
|
435 |
|
|
436 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
437 |
##################### |
##################### |
438 |
##################### |
##################### |
503 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
504 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
505 |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
506 |
REPO['Exclude']='' |
REPO['Exclude']='mod_auth_tkt,mod_perl,nmap,perl-Apache-AuthTkt,perl-Archive-Tar,perl-Authen-SASL,perl-B-Keywords,perl-BSD-Resource,perl-CPAN,perl-Class-Inspector,perl-Clone,perl-Compress-Raw-Bzip2,perl-Compress-Raw-Zlib,perl-Config-IniFiles,perl-Config-Tiny,perl-Convert-ASN1,perl-Crypt-OpenSSL-RSA,perl-DBD-MySQL,perl-DBD-SQLite,perl-Data-Validate-Domain,perl-Date-Manip,perl-Devel-StackTrace,perl-Digest-HMAC,perl-Digest-SHA,perl-Digest-SHA1,perl-Email-Address,perl-Email-Date-Format,perl-Email-MIME,perl-Email-MIME-ContentType,perl-Email-MIME-Encodings,perl-Email-MessageID,perl-Email-Simple,perl-Exception-Class,perl-Exporter-Tiny,perl-ExtUtils-ParseXS,perl-File-HomeDir,perl-File-MMagic,perl-File-ShareDir,perl-Geo-IP,perl-Geography-Countries,perl-HTML-Parser,perl-HTML-Tabulate,perl-IO-Socket-INET6,perl-IO-Socket-IP,perl-IO-Socket-SSL,perl-IP-Country,perl-JSON,perl-MIME-Lite,perl-MIME-Types,perl-MIME-tools,perl-Mail-SPF,perl-MailTools,perl-Module-Pluggable,perl-Mojolicious,perl-Moo,perl-Net-CIDR-Lite,perl-Net-DNS,perl-Net-Domain-TLD,perl-Net-IP,perl-Net-SSLeay,perl-Net-Server,perl-NetAddr-IP,perl-Number-Compare,perl-PPI,perl-Params-Util,perl-Perl-Critic,perl-Pod-Simple,perl-Proc-ProcessTable,perl-RPM2,perl-Role-Tiny,perl-String-Format,perl-Sub-Install,perl-Taint-Util,perl-Test-Harness,perl-Test-Simple,perl-Text-Glob,perl-Text-Template,perl-Time-Local,perl-Time-TAI64,perl-URI,perl-WWW-Curl,perl-XML-LibXML,perl-XML-NamespaceSupport,perl-XML-Parser,perl-XML-SAX,perl-YAML-Syck,perl-libwww-perl,tokyocabinet,daemontools,daemontools-encore,mutt,perl-Compress-Zlib,perl-IO-Compress,perl-IO-Compress-Base,perl-IO-Compress-Base2,perl-IO-Compress-Zlib,urlview' |
507 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
508 |
createrepo |
createrepo |
509 |
|
|
517 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
518 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
519 |
REPO['status']='disabled' |
REPO['status']='disabled' |
520 |
REPO['BaseURL']='https://reetspetit.com/smeserver/$releasever' |
REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever' |
521 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
522 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
523 |
REPO['GPGKey']='https://reetspetit.com/RPM-GPG-KEY' |
REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY' |
524 |
REPO['Exclude']='' |
REPO['Exclude']='' |
525 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
526 |
createrepo |
createrepo |
527 |
|
|
528 |
|
##################### |
529 |
|
##################### |
530 |
#remi-safe |
#remi-safe |
531 |
|
##################### |
532 |
|
##################### |
533 |
REPO['reponame']='remi-safe' |
REPO['reponame']='remi-safe' |
534 |
REPO['fullreponame']='Remi - safe' |
REPO['fullreponame']='Remi - safe' |
535 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
831 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
832 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
833 |
REPO['status']='disabled' |
REPO['status']='disabled' |
834 |
REPO['BaseURL']='http://zmrepo.mehvc.com/el/$releasever/$basearch' |
REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch' |
835 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
836 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
837 |
REPO['GPGKey']="" |
REPO['GPGKey']="" |
838 |
REPO['Exclude']='ffmpeg-2.6.4,celt-0.11' |
REPO['Exclude']='' |
839 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
840 |
createrepo |
createrepo |
841 |
|
|
905 |
|
|
906 |
EOF |
EOF |
907 |
|
|
908 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo |
909 |
|
{ |
910 |
|
for my $name ( qw(zmrepo) ) |
911 |
|
{ |
912 |
|
my $repo = $DB->get($name) or next; |
913 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
914 |
|
$BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g; |
915 |
|
$repo->set_prop('BaseURL', $BaseURL); |
916 |
|
$repo->delete('Exclude'); |
917 |
|
} |
918 |
|
|
919 |
|
} |
920 |
|
|
921 |
|
EOF |
922 |
|
|
923 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk |
924 |
|
{ |
925 |
|
for my $name ( qw(asterisk-current) ) |
926 |
|
{ |
927 |
|
my $repo = $DB->get($name) or next; |
928 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
929 |
|
$BaseURL =~ s/centos\$/centos\/\$/g; |
930 |
|
$repo->set_prop('BaseURL', $BaseURL); |
931 |
|
} |
932 |
|
|
933 |
|
} |
934 |
|
|
935 |
|
EOF |
936 |
|
|
937 |
|
|
938 |
|
|
952 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
953 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
954 |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
955 |
|
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
956 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
957 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
958 |
fi |
fi |
1076 |
%files geekery -f %{name}-%{version}-filelist-geekery |
%files geekery -f %{name}-%{version}-filelist-geekery |
1077 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1078 |
|
|
1079 |
|
%package libreswan |
1080 |
|
Summary: Libreswan Repository |
1081 |
|
%description libreswan |
1082 |
|
Geekery Repository |
1083 |
|
%files libreswan -f %{name}-%{version}-filelist-libreswan |
1084 |
|
%defattr(-,root,root) |
1085 |
|
|
1086 |
%package odoo |
%package odoo |
1087 |
Summary: Odoo 10 Nightly - EL7 Repository |
Summary: Odoo 10 Nightly - EL7 Repository |
1088 |
Distribution: el7 |
Distribution: el7 |