Difference between revisions of "Sme11BuildQueue"

From SME Server
Jump to navigationJump to search
Line 34: Line 34:
 
|
 
|
 
|mod_authnz_external-3.3.3-3.el8.x86_64.rpm
 
|mod_authnz_external-3.3.3-3.el8.x86_64.rpm
|-
 
|smeserver-base
 
|vconfig
 
|
 
|
 
|'''none'''
 
 
|-
 
|-
 
|smeserver-base
 
|smeserver-base
Line 124: Line 118:
 
|
 
|
 
|perl-Authen-PAM-0.16-37.el8.x86_64.rpm
 
|perl-Authen-PAM-0.16-37.el8.x86_64.rpm
|-
 
|smeserver-lib
 
smeserver-base
 
 
smeserver-lib
 
|perl(Net::IPv4Addr) >= 0.10
 
|
 
|
 
|not for rocky 8 but for epel 7 and 9
 
 
https://dl.fedoraproject.org/pub/epel/9/Everything/source/tree/Packages/p/perl-Net-IPv4Addr-0.10-44.el9.src.rpm
 
 
|-
 
|-
 
|smeserver-lib
 
|smeserver-lib
Line 252: Line 235:
 
|remi php-horde-Horde-Role
 
|remi php-horde-Horde-Role
 
|}
 
|}
 
 
 
==RPM's from smeos directory==
 
==RPM's from smeos directory==
  
Line 976: Line 957:
 
|https://koji.koozali.org/koji/buildinfo?buildID=163 need to check if really used
 
|https://koji.koozali.org/koji/buildinfo?buildID=163 need to check if really used
 
|-
 
|-
|php-pear(HTTP)
+
|php-pear-HTTP
 
|
 
|
 
|need git
 
|need git
 
|https://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/p/php-pear-HTTP-1.4.1-12.el7.src.rpm
 
|https://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/p/php-pear-HTTP-1.4.1-12.el7.src.rpm
 
|-
 
|-
|php-pear(Services_Weather)
+
|[https://src.koozali.org/smeserver/php-pear-Services_Weather php-pear-Services_Weather]
 
|
 
|
 
|need git
 
|need git
 
|EL7: https://rhel.pkgs.org/7/epel-x86_64/php-pear-Services-Weather-1.4.7-2.el7.noarch.rpm.html
 
|EL7: https://rhel.pkgs.org/7/epel-x86_64/php-pear-Services-Weather-1.4.7-2.el7.noarch.rpm.html
 
|-
 
|-
|php-pear(File)
+
|php-pear-File
 
|
 
|
 
|need git
 
|need git
Line 1,007: Line 988:
 
|https://koji.koozali.org/koji/buildinfo?buildID=161
 
|https://koji.koozali.org/koji/buildinfo?buildID=161
 
|-
 
|-
|perl-JSON-PP-4.04
+
|[https://src.koozali.org/smeserver/perl-JSON-PP perl-JSON-PP]-4.04
|
+
|jpp
|need git
+
|builds ok
|https://dl.rockylinux.org/pub/rocky/9/AppStream/source/tree/Packages/p/perl-JSON-PP-4.06-4.el9.src.rpm
+
|https://koji.koozali.org/koji/buildinfo?buildID=166
version perl-JSON-PP-2.97.001-3.el8.noarch.rpm not compatible
 
 
|-
 
|-
 
|[https://src.koozali.org/smeserver/perl-Net-IPv4Addr perl-Net-IPv4Addr] >= 0.10
 
|[https://src.koozali.org/smeserver/perl-Net-IPv4Addr perl-Net-IPv4Addr] >= 0.10
 
|jpp
 
|jpp
|
+
|builds ok
| + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+
| https://koji.koozali.org/koji/buildinfo?buildID=167
Checking if your kit is complete...
 
 
 
Looks good
 
 
 
JSON::PP 2.27300 is not available (perl-JSON-PP-2.97.001-3.el8.noarch.rpm or perl-JSON-PP-4.04-2.module+el8.6.0+878+f93dfff7.noarch.rpm)
 
 
 
at /usr/share/perl5/vendor_perl/CPAN/Meta.pm line 616.
 
 
|-
 
|-
|libdb4-utils
+
|[https://src.koozali.org/smeserver/libdb4 libdb4-utils]
|
+
from libdb4
|need git
+
|jpp
|raven third party...
+
|builds ok
 
+
|https://koji.koozali.org/koji/buildinfo?buildID=168
https://pkgs.dyn.su/el8/base/SRPMS/libdb4-4.8.30-30.el8.src.rpm
 
 
|}
 
|}
  
Line 1,187: Line 1,159:
  
 
==Bare install test==
 
==Bare install test==
 +
{{Warning box|WIP inspired from [[Sme10BuildQueue#Bare install test]]}}
 +
install minimal iso for rocky 8 https://download.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.9-x86_64-minimal.iso
 +
 +
configure network access during installation with option to restore.
 +
dnf update -y
 +
dnf install nano net-tools mc man htop top iftop iptraf screen openssh-clients mlocate wget vim
 +
 +
* disable SELinux
 +
 +
SELinux is enabled by default. We want to disable it for there are a few services (e.g. httpd) that get blocked by SELinux. To check the status of SELinux you can enter the command:
 +
getenforce
 +
SELinux uses policies that conflict with some of the SME Server services ports like https. One can adjust the allowed ports, or remove the SELinux policies and disable SELinux by the following commands:
 +
setenforce 0
 +
sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
 +
yum remove selinux-policy-targeted
 +
 +
* Enable SSH
 +
 +
SSH is present but is disabled at this stage. To enable ssh issue:
 +
service sshd start
 +
You may have a slow login to ssh, if needed :
 +
vi /etc/ssh/sshd_config
 +
You have to restart the ssh service or the server
 +
 +
* Reboot system to ensure all new config are permanent
 +
 +
reboot
 +
update packages
 +
yum update
 +
install SME11 repo
 +
vim /etc/yum.repos.d/smeserver11.repo
 +
and paste
 +
[smedev]
 +
enabled=1
 +
MirrorList=<nowiki>http://mirrorlist.contribs.org/mirrorlist/smedev-10</nowiki>
 +
name=SME Server - dev
 +
gpgcheck=1
 +
enablegroups=1
 +
[smetest]
 +
enabled=1
 +
MirrorList=<nowiki>http://mirrorlist.contribs.org/mirrorlist/smetest-10</nowiki>
 +
name=SME Server - dev
 +
gpgcheck=1
 +
enablegroups=1
 +
[smeos]
 +
enabled=1
 +
MirrorList=<nowiki>http://mirrorlist.contribs.org/mirrorlist/smeos-10</nowiki>
 +
name=SME Server - dev
 +
gpgcheck=1
 +
enablegroups=1
 +
[smeupdates]
 +
enabled=1
 +
MirrorList=<nowiki>http://mirrorlist.contribs.org/mirrorlist/smeupdates-10</nowiki>
 +
name=SME Server - dev
 +
gpgcheck=1
 +
enablegroups=1
 +
[koji-dist-sme11-os-build]
 +
name=koji-sme11
 +
baseurl=<nowiki>http://koji.koozali.org/kojifiles/repos/dist-sme11-os-build/latest/x86_64/</nowiki>
 +
gpgcheck=0
 +
enablegroups=1
 +
 +
 +
install SME10 key
 +
wget <nowiki>http://mirror.koozali.org/releases/10/smeos/x86_64/RPM-GPG-KEY-koozali</nowiki>
 +
rpm --import RPM-GPG-KEY-koozali
 +
install EPEL8 repo
 +
dnf install epel-release
 +
install remi 8 repos
 +
dnf install <nowiki>https://rpms.remirepo.net/enterprise/remi-release-8.rpm</nowiki>
 +
dnf install <nowiki>https://rpms.remirepo.net/enterprise/remi-release-8.rpm</nowiki>
  
TODO
+
install openfusion 8
 +
dnf install <nowiki>http://repo.openfusion.net/centos8-x86_64/openfusion-release-0.8-1.of.el8.noarch.rpm</nowiki>
 +
then
 +
yum --enablerepo=* clean all
 +
 +
try installing SME11 packages, you might need to enable some repo using --enablerepo=smedev,epel,elrepo ... e.g.
 +
yum install smeserver-* --enablerepo=koji-sme11,smedev,smetest,epel,base,updates,remi
  
  

Revision as of 19:03, 17 March 2024

This page lists all the packages that SME Server needs to build for SME 11. The starting point is the smeos directory from SME 10. For each package it should be checked if it is still needed, or can we use an upstream package if one is available. see bug https://bugs.koozali.org/show_bug.cgi?id=12424

Package Build Steps

things have changed between SME10 and SME11. we moved from cvs to git. We also need to change the name of a few old e-smith rpm to smeserver for better consistency, but without forgetting from where we are coming. git is available here : https://src.koozali.org

TODO; write how to checkout and start a build

TODO ; reference on how to configure a build environement.

Required dependencies

created from the work on SME10, and updated.

you can use http://pkgs.org to fill the blank, reference where the rpm can be found (EPEL8,ROCKY8,REMI8,OPENFUSION8,RPMFUSION8,smedev,smetest) and the status (Build OK, NEED COPY,NOTABUG,WONTFIX,FIXED).

fill bug before building a new package : https://bugs.contribs.org/enter_bug.cgi?product=SME%20Server%2011.X&component=build

Package Requiring Required Package Possible sources status Reference
dar par2cmdline epel par2cmdline-0.8.0-3.el8.x86_64.rpm
smeserver-apache mod_authnz_external epel mod_authnz_external-3.3.3-3.el8.x86_64.rpm
smeserver-base pv epel pv-1.6.6-7.el8.x86_64.rpm
smeserver-email perl(Net::Server::Fork) Rocky Linux AppStream perl-Net-Server-2.009-3.el8.noarch.rpm
smeserver-email perl(Net::Server) >= 0.85 Rocky Linux AppStream perl-Net-Server-2.009-3.el8.noarch.rpm
smeserver-grub grub2 Rocky Linux BaseOS grub2-pc-2.02-150.el8.rocky.0.1.x86_64.rpm
smeserver-horde php-pear(HTTP) none
smeserver-horde php-pear(Date) epel / remi php-pear-Date-1.4.7-22.el8.noarch.rpm

php-pear-Date-1.4.7-20.el8.remi.noarch.rpm

smeserver-horde php-pear(Services_Weather) none
smeserver-horde php-pear(File) none
smeserver-horde php-pear(Log) remi php-pear-Log-1.14.1-1.el8.remi.noarch.rpm
smeserver-horde php-pear(HTTP_Request) epel / remi php-pear-HTTP-Request-1.4.4-18.el8.noarch.rpm

php-pear-HTTP-Request-1.4.4-16.el8.remi.noarch.rpm

smeserver-ldap libdb4-utils raven third party...

https://pkgs.dyn.su/el8/base/SRPMS/libdb4-4.8.30-30.el8.src.rpm

smeserver-devtools perl-Pod-Tests epel perl-Pod-Tests-1.20-6.el8.noarch.rpm
smeserver-lib perl(Authen::PAM) epel perl-Authen-PAM-0.16-37.el8.x86_64.rpm
smeserver-lib

perl-Mojolicious

perl(Taint::Util) epel perl-Taint-Util-0.08-22.el8.x86_64.rpm
smeserver-mysql mariadb-server Rocky Linux AppStream / mariadb mariadb-server-10.5.22-1.module
smeserver-nutUPS nut epel nut-2.8.0-3.el8.x86_64.rpm
smeserver-nutUPS nut-client epel
smeserver-proftpd proftpd epel proftpd-1.3.6e-6.el8.x86_64.rpm
smeserver-radiusd radiusclient-ng >= 0.5.6 none, should migrate to freeradius-client . radius
mbuffer libmhash.so.2()(64bit) epel mhash-devel-0.9.9.9-20.el8.x86_64.rpm
smeserver-lib perl(Text::Template) Rocky Linux AppStream perl-Text-Template-1.51-1.el8.noarch.rpm (also module 1.58 and 1.47)
qpsmtpd perl(Net::IP) epel perl-Net-IP-1.26-20.el8.noarch.rpm
smeserver-qpsmtpd perl-MIME-tools epel perl-MIME-tools-5.509-9.el8.noarch.rpm
smeserver-qpsmtpd perl-File-MMagic Rocky Linux Devel perl-File-MMagic-1.30-16.el8.noarch.rpm
smeserver-qpsmtpd perl-Convert-TNEF epel perl-Convert-TNEF-0.18-17.el8.noarch.rpm
smeserver-spamassassin perl-razor-agents epel add dep back to spec perl-Razor-Agent-2.86-1.el8.x86_64.rpm
smeserver-spamassassin pyzor epel pyzor-1.0.0-28.20200530gitf46159b.el8.noarch.rpm
smeserver-horde php-pear-Log remi php-pear-Log-1.14.1-1.el8.remi.noarch.rpm
smeserver-horde php-pecl-geoip remi-modular wait is required by remi for php-horde-imp, php-horde-kronolith, php-horde-nag, php-horde-turba : available by modular only
smeserver-horde php-imap remi-modular wait is required by remi for php-horde-ingo, php-horde-mnemo : available by modular only
smeserver-horde php-channel-horde

php-channel(pear.horde.org)

remi wait remi php-channel-horde
smeserver-horde php-horde-Horde-Role remi wait remi php-horde-Horde-Role

RPM's from smeos directory

before attempting to buidl check if they are available and put them rather in the table above with source to copy from, with at least the version number we had on SME10.

if you need to build check if a newer version is available. Sometime we might need to stick to an old version so document here when uping version in reference.

koji build dist-sme11-os git+https://src.koozali.org/smeserver/PACKAGE.git?#GITTAG

where PACKAGE is listed under, and GITTAG should be found in https://src.koozali.org

Package Builder status Reference
bglibs terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=45
buffer-1.19-11 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=123
buildsys-macros jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=72
cpu-1.4.3-14 trevorb builds ok https://koji.koozali.org/koji/buildinfo?buildID=16
checkpassword-pam-0.99-1.3 trevorb builds ok https://koji.koozali.org/koji/buildinfo?buildID=15
daemontools-0.76-6 trevorb build failed to drop? https://koji.koozali.org/koji/buildinfo?buildID=10

./chkshsgr

( cat warn-shsgr; exit 1 )

Oops. Your getgroups() returned 0, and setgroups() failed; this means

DCC-2.3.168-1 trevorb builds ok https://koji.koozali.org/koji/buildinfo?buildID=12
diald-1.0-5 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=125
dietlibc terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=50
djbdns trevorb build failed https://koji.koozali.org/koji/buildinfo?buildID=18

make error

Oops. Your getgroups() returned 0, and setgroups() failed; this means that I can't reliably do my shsgr test. Please either ``make'' as root or ``make'' while you're in one or more supplementary groups. make: *** [Makefile:530: hasshsgr.h] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.iejSjT (%build) Bad exit status from /var/tmp/rpm-tmp.iejSjT (%build)

dot-forward-0.71-5 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=128
fastforward-0.51-5 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=143
flexbackup jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=129
headermatch-0.0.1-4 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=144
ipsvd terryf build failed https://koji.koozali.org/koji/taskinfo?taskID=16277

Oops. Your getgroups() returned 0, and setgroups() failed; this means

that I can't reliably do my shsgr test. Please either ``make'' as root

or ``make'' while you're in one or more supplementary groups.

make: *** [Makefile:330: hasshsgr.h] Error 1

libnetfilter_acct-1.0.3 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=126
libnetfilter_log-devel-1.0.2-1

libnetfilter_log-1.0.2-1

jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=159
LPRng-3.8.35-7 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=156
mod_auth_tkt-2.3.99b1 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=37
perl-Algorithm-Dependency-1.112 trevorb builds ok https://koji.koozali.org/koji/buildinfo?buildID=6
perl-Apache-AuthTkt-2.1-1 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=35
perl-CGI-FormMagick-0.93-8 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=32
perl-CGI-Persistent-1.11-1 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=20 after perl-Object-Persistence
perl-ClamAV-Client-0.11-1 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=33 cpan latest
perl-Class-ParamParser-1.041-1 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=21
perl-File-chmod-0.42 trevorb builds ok https://koji.koozali.org/koji/buildinfo?buildID=4
perl-File-Flat-1.07 trevorb builds ok https://koji.koozali.org/koji/buildinfo?buildID=2
perl-HTML-Tabulate-0.45-1 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=22 cpan latest

openfusion perl-HTML-Tabulate-0.45-1.of.el8.noarch.rpm

perl-I18N-AcceptLanguage-1.04-1 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=31 cpan latest
perl-IP-Country-2.28-1 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=34 cpan latest
perl-Mail-DMARC terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=36

cpan has newer version https://metacpan.org/release/MSIMERSON/Mail-DMARC-1.20240214/source

perl-Net-DNS-Native >= 0.15 terryf build ok https://koji.koozali.org/koji/buildinfo?buildID=39

cpan newer version https://metacpan.org/dist/Net-DNS-Native 0.22 https://github.com/olegwtf/p5-Net-DNS-Native/tags

perl-Net-Ident-1.25 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=40 cpan latest
perl-Object-Persistence-0.92-8 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=30
perl-Passwd-Unix-1.09-1 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=157 cpan latest
perl-Quota-1.8.2 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=41 cpan latest
perl-Session-Token-1.503 terryf builds ok

https://koji.koozali.org/koji/buildinfo?buildID=44 cpan latest

perl-Struct-Compare-1.0.1-1 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=68 cpan latest
perl-Test-ClassAPI-1.07 trevorb builds ok https://koji.koozali.org/koji/buildinfo?buildID=3
perl-Test-Harness-Straps-0.30 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=69
perl-Test-Inline-2.214-2 trevorb builds ok https://koji.koozali.org/koji/buildinfo?buildID=7
perl-Unix-ConfigFile-0.06 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=29
perl-WWW-Automate-0.21 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=38

cpan latest

php-horde-Horde-ActiveSync-2.34.0 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=118

will need v3 https://github.com/horde/ActiveSync/archive/refs/tags/v3.0.0alpha4.tar.gz

php-horde-Horde-Service-Facebook-2.0.9 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=141

will need v3 https://github.com/horde/Service_Facebook/archive/refs/tags/v3.0.0alpha1.tar.gz

php-horde-Horde-Service-Twitter-2.1.5 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=165

will need v3 https://github.com/horde/Service_Twitter https://github.com/horde/Service_Twitter/archive/refs/tags/v3.0.0alpha1.tar.gz

php-pear-Auth-SASL2-0.1.0 brianr builds ok https://koji.koozali.org/koji/taskinfo?taskID=16313
php-pear-Console-GetoptPlus-1.0.0RC1 brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=117
php-pear-Date-Holidays-Australia-0.2.2 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=122

http://www.nosuchhost.net/~cheese/fedora/packages/epel-8/x86_64/php-pear-Date-Holidays-Australia.html

php-pear-Date-Holidays-Denmark-0.1.3 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=131

http://www.nosuchhost.net/~cheese/fedora/packages/epel-8/x86_64/php-pear-Date-Holidays-Denmark.html

php-pear-Date-Holidays-France-0.1.0 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=130

http://www.nosuchhost.net/~cheese/fedora/packages/epel-8/x86_64/php-pear-Date-Holidays-France.html

php-pear-Date-Holidays-Germany-0.1.2 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=132

http://www.nosuchhost.net/~cheese/fedora/packages/epel-8/x86_64/php-pear-Date-Holidays-Germany.html

php-pear-Date-Holidays-Italy-0.1.1 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=133

http://www.nosuchhost.net/~cheese/fedora/packages/epel-8/x86_64/php-pear-Date-Holidays-Italy.html

php-pear-Date-Holidays-Netherlands-0.1.4 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=134

http://www.nosuchhost.net/~cheese/fedora/packages/epel-8/x86_64/php-pear-Date-Holidays-Netherlands.html

php-pear-Date-Holidays-Norway-0.1.2 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=135

http://www.nosuchhost.net/~cheese/fedora/packages/epel-8/x86_64/php-pear-Date-Holidays-Norway.html

php-pear-Date-Holidays-Portugal-0.1.1 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=136

http://www.nosuchhost.net/~cheese/fedora/packages/epel-8/x86_64/php-pear-Date-Holidays-Portugal.html

php-pear-Date-Holidays-Russia-0.1.0 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=137

http://www.nosuchhost.net/~cheese/fedora/packages/epel-8/x86_64/php-pear-Date-Holidays-Russia.html

php-pear-Date-Holidays-Slovenia-0.1.2 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=138

http://www.nosuchhost.net/~cheese/fedora/packages/epel-8/x86_64/php-pear-Date-Holidays-Slovenia.html

php-pear-Date-Holidays-Sweden-0.1.3 terryf builds oj https://koji.koozali.org/koji/buildinfo?buildID=139

http://www.nosuchhost.net/~cheese/fedora/packages/epel-8/x86_64/php-pear-Date-Holidays-Sweden.html

php-pear-Date-Holidays-Turkey-0.1.1 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=140

http://www.nosuchhost.net/~cheese/fedora/packages/epel-8/x86_64/php-pear-Date-Holidays-Turkey.html

php-pear-HTTP_WebDAV_Server-1.0.0RC8 brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=116
php-pear-Math_BigInteger-1.0.3 brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=115
php-pear-XML-Parser2-0.1.0 brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=114
qmail jpp build failed https://koji.koozali.org/koji/buildinfo?buildID=42

Oops. Your getgroups() returned 0, and setgroups() failed;

qmailanalog-0.70-9 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=145
qpsmtpd terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=111
qpsmtpd-plugins brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=124

merge to smeserver-qpsmtpd?

runit jpp build failed https://koji.koozali.org/koji/buildinfo?buildID=146

./chkshsgr

( cat warn-shsgr; exit 1 )

Oops. Your getgroups() returned 0, and setgroups() failed; this means that I can't reliably do my shsgr test. Please either ``make'' as root

smeserver trevorb builds ok http://koji.koozali.org/koji/taskinfo?taskID=15388
smeserver-apache trevor builds ok https://koji.koozali.org/koji/buildinfo?buildID=47
smeserver-audittools brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=93
smeserver-backup terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=48
smeserver-base-5.8.1-32 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=80
smeserver-clamav brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=94
smeserver-devtools-2.6.0-19 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=71
smeserver-dnscache terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=49
smeserver-domains terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=51
smeserver-dovecot brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=95
smeserver-email terryf builds ok https://koji.koozali.org/koji/taskinfo?taskID=15684
smeserver-flexbackup terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=53
smeserver-formmagick terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=54
smeserver-grub terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=55
smeserver-horde terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=56
smeserver-hosts terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=57
smeserver-ibays terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=58
smeserver-ldap terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=59
smeserver-lib-2.6.0-18 terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=113
smeserver-lib-compspec brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=61
smeserver-locale brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=96
smeserver-LPRng jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=64
smeserver-manager Will pull this across as "smeserver-manager-panels".
smeserver-manager-panels jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=150
e-smith-manager -2.8.0-40 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=78
smeserver-manager-locale brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=26
smeserver-manager-jsquery brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=28
smeserver-mock
smeserver-mysql brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=63
smeserver-ntp brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=65
smeserver-nutUPS brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=66
smeserver-oidentd jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=67
smeserver-openssh jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=73
smeserver-packetfilter terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=79
smeserver-php jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=74
smeserver-portforwarding brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=82
smeserver-proftpd brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=83
smeserver-proxy brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=84
smeserver-qmail brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=85
smeserver-qmailanalog brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=86
smeserver-quota brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=87
smeserver-qpsmtpd brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=97
smeserver-radiusd brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=89
smeserver-release brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=98
smeserver-runit jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=149
smeserver-samba brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=90
smeserver-spamassassin brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=99
smeserver-support brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=101
smeserver-test brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=91
smeserver-tinydns brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=92
smeserver-viewlogfiles terryf builds ok https://koji.koozali.org/koji/buildinfo?buildID=77
smeserver-yum brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=155
spamassassin jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=103 resubmitted after 'perl-IP-Country-DB_File' 'perl-Net-DNS-Nameserver'
tai64nunix brianr Build failed https://koji.koozali.org/koji/buildinfo?buildID=104

Oops. Your getgroups() returned 0, and setgroups() failed; this means that I can't reliably do my shsgr test. Please either ``make'' as root or ``make'' while you're in one or more supplementary groups. make: *** [Makefile:168: hasshsgr.h] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.EJoXeg (%build) Bad exit status from /var/tmp/rpm-tmp.EJoXeg (%build)

timeobjects-2.1.2 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=162
ucspi-tcp brianr Build failed https://koji.koozali.org/koji/buildinfo?buildID=107

Oops. Your getgroups() returned 0, and setgroups() failed; this means that I can't reliably do my shsgr test. Please either ``make'' as root or ``make'' while you're in one or more supplementary groups.

ulogd jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=110
xlhtml-0.5 brianr builds ok https://koji.koozali.org/koji/buildinfo?buildID=109

not installed on SME10

vconfig jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=163 need to check if really used
php-pear-HTTP need git https://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/p/php-pear-HTTP-1.4.1-12.el7.src.rpm
php-pear-Services_Weather need git EL7: https://rhel.pkgs.org/7/epel-x86_64/php-pear-Services-Weather-1.4.7-2.el7.noarch.rpm.html
php-pear-File need git https://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/p/php-pear-File-1.4.1-5.el7.src.rpm
perl-Time-TAI64 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=164
perl-IP-Country-DB_File jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=160
perl-Net-DNS-Nameserver

from perl-Net-DNS-1.15-1

jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=161
perl-JSON-PP-4.04 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=166
perl-Net-IPv4Addr >= 0.10 jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=167
libdb4-utils

from libdb4

jpp builds ok https://koji.koozali.org/koji/buildinfo?buildID=168

Packages in git, but we will use upstream

in git but use the upstream version
Package Builder status Reference
dar X epel: dar-2.7.6-2.el8.x86_64.rpm
geoipupdate X Rocky Linux AppStream : geoipupdate-2.5.0-3.el8.x86_64.rpm

unless we see we have a local patch to use older app

maildrop-2.8.4 X epel maildrop-3.0.8-1.el8.x86_64.rpm
mbuffer X epel mbuffer-20190725-1.el8.x86_64.rpm
mod_perl X epel mod_perl-2.0.12-1.el8.x86_64.rpm
oidentd >= 2.0.6 X epel oidentd-2.5.0-1.el8.x86_64.rpm
perl-Crypt-Cracklib X epel perl-Crypt-Cracklib-1.7-24.el8.x86_64.rpm
perl-Data-Validate-Domain X epel perl-Data-Validate-Domain-0.15-7.el8.noarch.rpm

openfusion perl-Data-Validate-Domain-0.14-1.of.el8.noarch.rpm

perl-IO-Socket-SSL X Rocky Linux AppStream perl-IO-Socket-SSL-2.066-4.module
perl-Mail-RFC822-Address X epel perl-Mail-RFC822-Address-0.3-36.el8.noarch.rpm
perl-Net-IMAP-Simple-1.1916 X openfusion perl-Net-IMAP-Simple-1.2212-1.of.el8.noarch.rpm
perl-RPM2 X epel perl-RPM2-1.4-10.el8.x86_64.rpm
ppp X Rocky Linux BaseOS ppp-2.4.7-26.el8_1.x86_64.rpm
pwauth X epel pwauth-2.3.10-25.el9.x86_64.rpm

but might need a patch

Packages to obsolete from git / not to build

in git but obsolete not to build.
Package Builder status Reference
cvm to drop!
pam_abl need git https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/source/tree/Packages/p/pam_abl-0.6.0-25.fc40.src.rpm https://github.com/deksai/pam_abl https://github.com/deksai/pam_abl/archive/refs/tags/v0.9.0.tar.gz

not installed on SME10

rssh to drop unmaintianed and unsecure http://www.pizzashack.org/rssh/

need to import - EL7: https://rhel.pkgs.org/7/epel-x86_64/rssh-2.3.4-16.el7.x86_64.rpm.html

smeserver-cvm-unix-local to drop!
smeserver-dynamicdns-dyndns to drop?
smeserver-dynamicdns-dyndns.org to drop?
smeserver-dynamicdns-tzo to drop?
smeserver-dynamicdns-yi to drop?
whiptail usage drop, references needs to be removed

https://bugs.koozali.org/show_bug.cgi?id=8275

wv-1.2.7 cc1: some warnings being treated as errors

make[2]:

warning: 'password' may be used uninitialized in this function [-Wmaybe-uninitialized]

=> not installed on SME10 ; was needed by e-smith-horde, but not anymore

new version and last version (2009) https://sourceforge.net/projects/wvware/files/wv2-0.4.2.tar.bz2/download

Bare install test

Warning.png Warning:
WIP inspired from Sme10BuildQueue#Bare install test


install minimal iso for rocky 8 https://download.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.9-x86_64-minimal.iso

configure network access during installation with option to restore.

dnf update -y
dnf install nano net-tools mc man htop top iftop iptraf screen openssh-clients mlocate wget vim
  • disable SELinux

SELinux is enabled by default. We want to disable it for there are a few services (e.g. httpd) that get blocked by SELinux. To check the status of SELinux you can enter the command:

getenforce

SELinux uses policies that conflict with some of the SME Server services ports like https. One can adjust the allowed ports, or remove the SELinux policies and disable SELinux by the following commands:

setenforce 0
sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
yum remove selinux-policy-targeted
  • Enable SSH

SSH is present but is disabled at this stage. To enable ssh issue:

service sshd start

You may have a slow login to ssh, if needed :

vi /etc/ssh/sshd_config

You have to restart the ssh service or the server

  • Reboot system to ensure all new config are permanent
reboot

update packages

yum update

install SME11 repo

vim /etc/yum.repos.d/smeserver11.repo

and paste

[smedev]
enabled=1
MirrorList=http://mirrorlist.contribs.org/mirrorlist/smedev-10
name=SME Server - dev
gpgcheck=1
enablegroups=1
[smetest]
enabled=1
MirrorList=http://mirrorlist.contribs.org/mirrorlist/smetest-10
name=SME Server - dev
gpgcheck=1
enablegroups=1
[smeos]
enabled=1
MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeos-10
name=SME Server - dev
gpgcheck=1
enablegroups=1
[smeupdates]
enabled=1
MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeupdates-10
name=SME Server - dev
gpgcheck=1
enablegroups=1
[koji-dist-sme11-os-build]
name=koji-sme11
baseurl=http://koji.koozali.org/kojifiles/repos/dist-sme11-os-build/latest/x86_64/
gpgcheck=0
enablegroups=1


install SME10 key

wget http://mirror.koozali.org/releases/10/smeos/x86_64/RPM-GPG-KEY-koozali
rpm --import RPM-GPG-KEY-koozali

install EPEL8 repo

dnf install epel-release

install remi 8 repos

dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm

dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm

install openfusion 8

dnf install http://repo.openfusion.net/centos8-x86_64/openfusion-release-0.8-1.of.el8.noarch.rpm

then

yum --enablerepo=* clean all

try installing SME11 packages, you might need to enable some repo using --enablerepo=smedev,epel,elrepo ... e.g.

yum install smeserver-* --enablerepo=koji-sme11,smedev,smetest,epel,base,updates,remi


Notes

we will have horde 6 in remi Horde 6 requires PHP 8.1 or PHP 8.2 versions. Support for PHP 8.3 is in development. https://wiki.horde.org/Doc/Dev/H6/Installation/PHP?referrer=Doc%2FDev%2FH6%2FInstallation

Horde 6 has been tested with MariaDB 10.8 and MariaDB 10.9 - any MariaDB of the 10.x series should work.

* ensure mariadb uses "innodb" as its default engine

* ensure the PHP server can reach the database hostname and port

* use utf8mb4 as default charset.

* create a database schema. This documentation assumes the db name is "horde"

https://wiki.horde.org/Doc/Dev/H6/Installation?version=10