-
Notifications
You must be signed in to change notification settings - Fork 9
/
virtualmin-config.spec
132 lines (121 loc) · 5.34 KB
/
virtualmin-config.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
Name: virtualmin-config
Version: 7.0.30
Release: 1
Summary: Collection of plugins to initialize the configuration of services that Virtualmin manages, and a command line tool called config-system to run them
License: GPL+
Group: Development/Libraries
URL: https://github.com/virtualmin/Virtualmin-Config/
Source0: Virtualmin-Config-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 0:5.016
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Log::Log4perl)
BuildRequires: perl(Test::More)
BuildRequires: perl(Module::Load)
Requires: webmin
Requires: perl(Log::Log4perl)
Requires: perl(Term::ANSIColor)
Requires: perl(Module::Load)
%description
This is a mini-framework for configuring elements of a Virtualmin system.
It uses Webmin as a library to abstract common configuration tasks,
provides a friendly status indicator, and makes it easy to pick and choose
the kind of configuration you want (should you choose to go that route).
The Virtualmin install script chooses either the LAMP (with Apache) or LEMP
(with nginx) bundle, and performs the configuration for the whole stack.
%prep
%setup -q -n Virtualmin-Config-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/libexec/webmin/virtual-server
# link virtualmin-config-system into Virtualmin dir
ln -s /usr/bin/virtualmin-config-system \
$RPM_BUILD_ROOT/usr/libexec/webmin/virtual-server/config-system.pl
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
#%check
#make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc dist.ini LICENSE META.json README
%{perl_vendorlib}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%{_bindir}/*
/usr/libexec/webmin/virtual-server/config-system.pl
%changelog
* Sun Sep 29 2024 Ilia Ross <[email protected]> 7.0.30
- Fix to prevent breaking spinners on user input
* Sun May 19 2024 Ilia Ross <[email protected]> 7.0.22
- Fix to directly create systemd override files
* Tue May 14 2024 Ilia Ross <[email protected]> 7.0.21
- Fix to save Virtualmin configuration reliably
* Tue May 14 2024 Ilia Ross <[email protected]> 7.0.20
- Fix bug when saving Virtualmin configuration
* Sat Apr 27 2024 Ilia Ross <[email protected]> 7.0.19
- Add Ubuntu 24.04 support, fix Nginx start after reboot, enable DKIM at install time
* Sun Dec 03 2023 Ilia Ross <[email protected]> 7.0.18
- Fix ProFTPd chroot jail, enable quotas in RHEL 9.3+ and mod_include in Apache
* Wed Sep 20 2023 Ilia Ross <[email protected]> 7.0.17
- Fix temp directory environmental variable name and improve support for openSUSE
* Sun Aug 27 2023 Ilia Ross <[email protected]> 7.0.16
- Fix to also disable a new `spamd` service in Debian 12
* Sun Aug 20 2023 Ilia Ross <[email protected]> 7.0.15
- Add ability to create host default domain with Let's Encrypt SSL
* Sun Aug 20 2023 Ilia Ross <[email protected]> 7.0.14
- Fix to support Webmin distributed Perl modules
* Wed Aug 10 2023 Joe Cooper <[email protected]> 7.0.13
- Remove Usermin File Manager configuration
* Tue Apr 18 2023 iliajie <[email protected]> 7.0.12
- Fix missing Fail2banFirewalld changes
* Sun Apr 16 2023 iliajie <[email protected]> 7.0.11
- Fix Fail2ban issues
* Thu Apr 13 2023 iliajie <[email protected]> 7.0.10
- Fix Usermin and ClamAV related issues
* Mon Jan 09 2023 iliajie <[email protected]> 7.0.9
- Fix minor issues
* Sat Dec 18 2022 Joe Cooper <[email protected]> 7.0.8
- Fix PHP-FPM, ProFTPd, self-signed SSL and spinners
* Sat Jan 08 2022 Joe Cooper <[email protected]> 7.0.0
- New branch for Virtualmin 7
* Sun Nov 04 2018 Joe Cooper <[email protected]> 6.0.24-1
- A bunch of changes for Ubuntu/Debian that don't impact RHEL
* Fri Oct 13 2017 Joe Cooper <[email protected]> 6.0.21-1
- Update SASL flags
* Thu Sep 28 2017 Joe Cooper <[email protected]> 6.0.20-1
- Minimal configs adds Dovecot, SASL, removes Fail2ban
- Fix Apache default file handling on Ubuntu 16.04
- ProFTPd shouldn't require TlS
* Mon Sep 04 2017 Joe Cooper <[email protected]> 6.0.16-1
- Fix ProFTPd failure to write config changes
* Fri Sep 01 2017 Joe Cooper <[email protected]> 6.0.15-1
- Remove MiniVirtualmin plugin, Virtualmin plugin handles it when bundle is Mini*
- Handle some DHCP configured systems by adding localhost to name servers
- Fix SSL default site on CentOS (disabling it).
* Wed Aug 23 2017 Joe Cooper <[email protected]> 6.0.14-1
- Fix non-fatal warn on Quotas
- Fix some SASL problems
- Fix Quotas convertquota error by using checkquota instead
- Make Virtualmin use nginx correctly
* Tue Aug 22 2017 Joe Cooper <[email protected]> 6.0.13-1
- Fixes for Apache init/systemd detection
- Non-fatal error on Quotas
- New non-fatal error result type
* Fri Jun 23 2017 Joe Cooper <[email protected]> 6.0.5-1
- Fail2ban and Firewalld modules added
- Handle systemd or not
* Mon May 08 2017 Joe Cooper <[email protected]>
- Rename to config-system
* Mon May 08 2017 Joe Cooper <[email protected]>
- Tweak deps
* Sat May 06 2017 Joe Cooper <[email protected]> 6.0.0-1
- Specfile autogenerated by cpanspec 1.78.