* Thu Sep 25 2025 Jean-Philippe Pialasse <jpp@koozali.org> 8.11.1-1.sme
- first release for Rocky 8 SME 11
This commit is contained in:
109
smeserver-rocky2sme.spec
Normal file
109
smeserver-rocky2sme.spec
Normal file
@@ -0,0 +1,109 @@
|
||||
# $Id: smeserver-rocky2sme.spec,v 1.9 2022/06/20 04:33:17 jpp Exp $
|
||||
# Authority: unnilennium
|
||||
# Name: Jean-Philippe Pialasse
|
||||
|
||||
Summary: smeserver-rocky2sme
|
||||
%define name smeserver-rocky2sme
|
||||
%define version 8.11.1
|
||||
# version number CentosMajorVersion.SMEmajorVersion.RPMversion
|
||||
%define release 1
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
License: GPL
|
||||
Group: Applications/System
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
|
||||
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
||||
BuildArch: noarch
|
||||
BuildRequires: smeserver-devtools >= 1.13.1-03
|
||||
Requires: rocky-release >= 7
|
||||
|
||||
%description
|
||||
Package to help transform a rocky box into a Koozali SME Server.
|
||||
Just run /usr/bin/rocky2sme ; answer the few question and sit back while your base install of rocky is morphed into a SME Server.
|
||||
Do not use on a machine with user data present or with extra packages already installed.
|
||||
%prep
|
||||
%setup
|
||||
mkdir -p root/etc/e-smith/events/smeserver-rocky2sme
|
||||
|
||||
%build
|
||||
# /usr/bin/perl createlinks
|
||||
|
||||
%install
|
||||
/bin/rm -rf $RPM_BUILD_ROOT
|
||||
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
|
||||
/bin/rm -f %{name}-%{version}-filelist
|
||||
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
||||
--file /usr/bin/rocky2sme '%attr(0755,root,root)' \
|
||||
> %{name}-%{version}-filelist
|
||||
cat %{name}-%{version}-filelist
|
||||
%files -f %{name}-%{version}-filelist
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
touch /etc/hosts.deny_ssh
|
||||
|
||||
%changelog
|
||||
* Thu Sep 25 2025 Jean-Philippe Pialasse <jpp@koozali.org> 8.11.1-1.sme
|
||||
- first release for Rocky 8 SME 11
|
||||
|
||||
* Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 6.9.1-15.sme
|
||||
- Fix e-smith references in smeserver-rocky2sme [SME: 12732]
|
||||
|
||||
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 6.9.1-14.sme
|
||||
- Roll up patches and move to git repo [SME: 12338]
|
||||
|
||||
* Sat Sep 07 2024 BogusDateBot
|
||||
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||
by assuming the date is correct and changing the weekday.
|
||||
|
||||
* Mon Jun 20 2022 Jean-Philippe Pialasse <tests@pialasse.com> 6.9.1-13.sme
|
||||
- fix failure to install due to missing remi-safe repo [SME: 12075]
|
||||
|
||||
* Sun May 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 6.9.1-12.sme
|
||||
- remove sendmail and postfix prior SME install [SME: 11599]
|
||||
|
||||
* Sun Mar 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 6.9.1-11.sme
|
||||
- fix typo [SME: 10850]
|
||||
|
||||
* Sat Mar 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 6.9.1-10.sme
|
||||
- create empty smeserver-rocky2sme [SME: 10850]
|
||||
should not be necessary as it should be installed on bare CentOS, not on SME...
|
||||
|
||||
* Sat Mar 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 6.9.1-9.sme
|
||||
- use systemctl when needed [SME: 10850]
|
||||
- fix issue with sshd not reloading and locking user [SME: 10850]
|
||||
- remove rpm -e dhcp-common
|
||||
|
||||
* Fri Apr 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-8.sme
|
||||
- improve script
|
||||
- TODO: *some deps are forced, might be added as dep for e-smith-base
|
||||
*some packages conflicting like nm and firewalld are removed should be done via e-smith-base
|
||||
|
||||
* Fri Apr 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-7.sme
|
||||
- fix Requires, improve script
|
||||
|
||||
* Sun Dec 15 2019 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-6.sme
|
||||
- first build for SME10
|
||||
|
||||
* Mon Mar 12 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-5.sme
|
||||
- few improvements and bug fixes see patch improvements
|
||||
|
||||
* Sat Mar 10 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-4.sme
|
||||
- fix execution permission on /usr/bin/rocky2sme [SME: 10535]
|
||||
- added warning at the begining of script to check for working network interface
|
||||
- added warning at end of script to add a SSH key before the reboot
|
||||
- added full path to signal-event in the last messages
|
||||
- set path after first packages installation.
|
||||
|
||||
* Fri Mar 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-3.sme
|
||||
- fix bad dependencies to smeserver release and formagick [SME: 10535]
|
||||
- added requirement for rocky-release between 6 and 7.
|
||||
|
||||
* Fri Mar 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-2.sme
|
||||
- initial version [SME: 10533]
|
||||
|
Reference in New Issue
Block a user