forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvesta.spec
More file actions
527 lines (465 loc) · 18.1 KB
/
Copy pathvesta.spec
File metadata and controls
527 lines (465 loc) · 18.1 KB
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
Name: vesta
Version: 0.9.8
Release: 17
Summary: Vesta Control Panel
Group: System Environment/Base
License: GPL
URL: http://vestacp.com/
Vendor: vestacp.com
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: redhat-release >= 5
Provides: vestacp vesta-api vesta
%define _vestadir /usr/local/%{name}
%description
This package contains the packages for Vesta Control Panel api.
%prep
%setup -q -n %{name}-%{version}
%build
%install
install -d %{buildroot}%{_vestadir}
%{__cp} -ad ./* %{buildroot}%{_vestadir}
%clean
rm -rf %{buildroot}
%post
if [ $1 -ge 2 ]; then
if [ -e /usr/local/vesta/upd/add_sudo.sh ]; then
/usr/local/vesta/upd/add_sudo.sh
fi
if [ -e /usr/local/vesta/upd/add_notifications.sh ]; then
/usr/local/vesta/upd/add_notifications.sh
fi
if [ -e /usr/local/vesta/upd/fix_sessions.sh ]; then
/usr/local/vesta/upd/fix_sessions.sh
fi
fi
%files
%{_vestadir}
%config(noreplace) %{_vestadir}/web/images/sprite.png
%config(noreplace) %{_vestadir}/web/images/favicon.ico
%config(noreplace) %{_vestadir}/web/css/file_manager.css
%config(noreplace) %{_vestadir}/web/css/file_manager_editor.css
%config(noreplace) %{_vestadir}/web/css/jquery.arcticmodal.css
%config(noreplace) %{_vestadir}/web/css/jquery-custom-dialogs.css
%config(noreplace) %{_vestadir}/web/css/jquery.fileupload.css
%config(noreplace) %{_vestadir}/web/css/styles.min.css
%config(noreplace) %{_vestadir}/web/css/uploadify.css
%changelog
* Mon Nov 14 2016 Serghey Rodin <builder@vestacp.com> - 0.9.8-17
- System Config Editor
- Let's Encrypt GUI
- Google Nearline expiremental backup support
- User notifcation panel
- ClamAV fixes for CentOS/Debian/Ubuntu
- i18n updates
- Web stats support for php-fpm systems
- Georgian Translation
- Filemanager improvements
- Imap/Pop3 JS helpers
- Dozen bugfixes including security issues
* Mon Jun 27 2016 Serghey Rodin <builder@vestacp.com> - 0.9.8-16
- Full keyboard control
- Cron Helper
- LetsEncrypt Support cli-only
- Language files update
- File permission in File Manager
- Handle DES passwords
- New templates for PHP-FPM
- Core refactoring
- Dozen bugfixes including security issues
* Fri Nov 06 2015 Serghey Rodin <builder@vestacp.com> - 0.9.8-15
- File Manager (commercial plugin)
- SFTP Chroot (commercial plugin)
- Monitoring Tools: top/free/df/server-status/mysql-status/etc
- New installer
- Improved PHP-FPM support
- UI: Notification center
- UI: Starred objects
- UI: Object sorting
- UI: HotKeys suport
- UI: Mail account settings JS hint
- UI: Autofocus on first input when adding/editing
- UI: Up to 8 nameserver dns support
- Core: Improved system logger, domain adding api and backup routine
- Japanese language support. Thanks to Flatta
- Polish language support. Thanks to MarPiRK
- Vietnamese language support. Thanks to Nguyen Ngoc Phuong
- Security Fix: Command Injection and XSS Thanks to Global IT
- BugFix: DNS Cluster SOA synchronization
- BugFix: Bulk Operation
- BugFix: Backup exclusions
- BugFix: Domain validation
- BugFix: FTP user name prefix
- BugFix: Fail2Ban manager
- BugFix: Service manager
* Wed Jun 03 2015 Serghey Rodin <builder@vestacp.com> - 0.9.8-13
- New UI
- PHP-FPM support
- Security improvements
- Dozen bugfixes
* Wed Oct 23 2014 Serghey Rodin <builder@vestacp.com> - 0.9.8-12
- Firewall service handler for Debian and Ubuntu
- Minor i18n fix
* Wed Oct 22 2014 Serghey Rodin <builder@vestacp.com> - 0.9.8-11
- Firewall support
- Fail2ban support
- Sudo support for admin user
- Cron email reporting switch
- Improved SSL validation
- Minor design improvements
- Unsuccessfull login attempt logger
- Fix for fase sensitive dns records
- Fix for webstats
- Fix for ftp user login
* Mon Aug 4 2014 Serghey Rodin <builder@vestacp.com> - 0.9.8-10
- New Design
- MultiFTP Support
- Exim Queue Chart
- Arabic Language file. Thanks to Bashar Al-Abdulhadi http://bashar.com
- Italian Language Support. Thanks to Fabio Cagliero http://webnuvola.com
- Finnish Languge Support. Thanks to Juho Räsänen and Onni Hakala https://github.com/RJuho http://koodimonni.fi
- French Language Support. Thanks to nhoway https://github.com/nhoway
- Hungarian Language Support. Thanks to Kovacs Akos http://kovacsakos.info
- Improved SSL CA Validation
- Detailed report on mysql dump error
- Restart Confirmation Dialogue
- Autorefresh Module for Graphs
- Switched service manager from init.d to service command
- Switched free memeory rrd overlay style to linear
- Updated nginx extention list. Thanks to Vasily Kraev https://github.com/vasilykraev
- Updated skel templates. Thanks to Jason Hanes https://github.com/square-orange
- Urlencoder for DNS Cluster API
- Fixed dnsbl+authentication router. Thanks to Mirek Kratochvil http://e-x-a.org/
- Fix for tar < 1.24 to preserve directory ownership
- Fixed autoupdate script. Thanks to Kijamve
- Fixed some spelling errors. Thanks to Estratos Consulting
- Fixed backup exclusion for cron objects
- Fixed MySQL autostart issue on Ubuntu 14.04
- Fixed Awstats template parser for Ubuntu 14.04
- Fixed NameServer validation bug
- Fixed FS-Quota conversion. Thanks to demlasjr https://github.com/demlasjr
- Fixed spelling. Thanks to Jakub Ďuraš https://github.com/jlamer, Kotso https://github.com/kotso, Dustin Dauncey http://www.dustindauncey.com
* Sun May 18 2014 Serghey Rodin <builder@vestacp.com> - 0.9.8-9
- File System Quota support
- Norwegian translation. Thanks to Helge Sverre
- New script to change system hostname
- Updated Ukranian translation. Thanks to Alexandr Loskutov
- Updated RRD Memory Graph. Thanks to Demian
- Updated Dutch translation. Thanks to Ricardo
- Fix for dns gmail template. Thanks to flangefrog
- Fix for fwd_only rule. Thanks to demlasjr
- Fix for oversized backup tarballs
- Fix for exim mail user on Debian
- Fix for better vhost matching in get_web_config_brds()
- Fix for upstart service handler
* Fri Apr 18 2014 Serghey Rodin <builder@vestacp.com> - 0.9.8-8
- Auto Updates
- Backup Exclusions
- Memory Chart Improvements
- DNS Cluster Improvements ()
- Dutch Language support
- Separate error log
- Secured way to show RRD Grapsh
- Nginx 404 error handler
- Fix for nginx configuration error on rebuild
- Fix for template verification on restore
- Fix for backup ownership verification
- Fix for preg_match() ruleset
- Fix for ftp account which starts with digits
- Fix for 1024 DKIM keys. Thanks to demlasjr
- Fix for exim user on Debian/Ubuntu
* Tue Feb 18 2014 Serghey Rodin <builder@vestacp.com> - 0.9.8-7
- CSR Generator
- JS hint for dns record
- Support for single-character email usernames
- German language support by Nevil Verdoold <evilverdoold@gmail.com>
- Chinese language support by Kevin <kevin@kvm.la>
- Indonesian(slank) language support by Rumi <rumi4acc@gmail.com>
- New HTML layout
- Improved DNS record validation
- Default dkim size is now set to 1024
- Explicit error if restart failed
- Fix for logged-in message window
- Fix for missing FWD_ONLY flag on restore
- Fix for MX and CNAME (IDN support)
- Fix for missing nginx restart trigger on template change
- Fix for awstats months associactions
- Fix for logged in message window
- Fix for SSL template change
- Fix for PostgreSQL database status
* Wed Nov 27 2013 Serghey Rodin <builder@vestacp.com> - 0.9.8-6
- New style for "Add" button
- Quick links after object creation (login as/webmail/pma)
- Custom 3rd party links
- Checkbox to control email forwardin behaviour
- Database host selector
- Portuguese language support from he-rnand-es
- System info on a service page
- More robust dns cluster sync
- User backup/restore logging
- Database names can contain dots
- Database user field is now changeable
- Spaces are now allowed in First Name and Last Name
- New script to change domain owner
- New script to database owner
- New script to show DKIM records in Bind format
- Ursadon fixed return code for is_mail_new()
- Ursadon fixed bug in email accounts restore
- Fix for full restore button
- Fix for custom ftp restore
- Fix for package change on Debian and Ubuntu
- Fix for webalizer and awstats on Debian/Ubuntu
- Fix for remi awstats package
- Fix for date and time on database creation
- Fix for Web API encoding artefacts in web API
* Mon Oct 15 2013 Serghey Rodin <builder@vestacp.com> - 0.9.8-5
- Fix for dns sensitive records from Ursadon
- Fix for exim antispam/antivirus protection
- Fix for service listing func on RHEL/CentOS 5
- Fix for remote ftp backups on RHEL/CentOS 5
- Fix for web-updates on Ubuntu
- Fix for additional ftp accounts on Ubuntu
- Fix for user rebuild on Ubuntu
- Fix for dns removal func on Ubuntu
- Autoreply permission fix. Thanks to l170v
- Short domains like co.uk or com.au will be ignored on dns autocreation
- Implemented automatical suspend function for failed remote dns host
- Improved restart functions
- Default DKIM key size has been increased to 1024
- From now vesta.conf can override any func variable
- Ubuntu LTS 12.04/13.04 and Debian 7 are now officially supported
* Tue Sep 17 2013 Serghey Rodin <builder@vestacp.com> - 0.9.8-4
- DNS cluster 5-minute sync improvement
- Crontab ownership fix
- Fix for nginx template switcher
- Fix for LoadAverage check
* Mon Jul 30 2013 Serghey Rodin <builder@vestacp.com> - 0.9.8-3
- Fix for zero cron bug
- Minor fixes for dns sync
- Updated romanian language file
- Fixed issue with uppercase domains
- Implemented JS hints when adding database or ftp domain
- Package trigger support
- Improved html structure
- Debian/Ubuntu addoptation
- Czech language support
* Mon Jun 10 2013 Serghey Rodin <builder@vestacp.com> - 0.9.8-2
- Fixed missing ssl certificate on restore
- Fixed wrong disk usage key
- Added nginx trigger for templates
- Added template update function
* Mon May 27 2013 Serghey Rodin <builder@vestacp.com> - 0.9.8-1
- DNS Cluster
- JS: select checkbox by clicking on a row
- Record order change functions
- Fix for ns3 and ns4 support
- Web-log viewer
- Fixed i18n login bug
- New template logic
- RSSH shell on additional web users
- Romanian language file
- Edit user from topmenu links
- Highlighted active links
* Mon Apr 08 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-21
- Fix for null data in bandwidth calculation
- Fix from Magentron for updating or deleting SSL certificates
- Fix from Magentron for database host validation
* Fri Apr 05 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-21
- i18n fix for IDN domain names
- fixed bandwidth calculation
* Tue Apr 03 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-20
- email notifcation on backup error
- backup now saves file permissions
- web backup scheduler
- improved web/dns rebuild functions
- fix for idn mail domains
- added script for ftp backup config
- added restore function
- added vsftpd pasv_address trigger
- SNI support on shared IP
- Increasing contrast on top panel
- Nginx repo integration
- Improved template structure
* Thu Mar 05 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-19
- Inconsistent archive removal when backup failed
- Fixed mail config removal
- Removed email notification if database hasn't been created
- Fixed BW calculation bug
- Spanish translation
- APC will be installed by default
- Even more clean looking html
* Wed Feb 27 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-18
- Web API wrapper
- WHMCS support module
- Reread system ip addresses function
- Fix for missing package names begin with numbers
- Fixed bug on ip removal
- Fix for shell change in package
- HTML code fix for submenu
- Fix for broken dns unsuspend function
- Improved traffic calc function
- Fixed incomplete mail account listing bug
* Mon Feb 18 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-17
- fixed blank screen on bad login
- ftp account uid same as uid of main user
- support for NATed network
- phpMyadmin/pgMyAdmin links to remote database servers
- new installer (info about packages)
- dns records remains alive on suspend
* Mon Jan 28 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-16
- new color scheme
- i18n support
- idn fix for awstats
- service manager
- web updater
* Mon Jan 14 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-15
- replaced underlines in rebuild script
- less history to improve listing speed
- proper perms for fcgid in rebuild script
- improved domain validation
- added dash as a valid character for templates
* Tue Jan 08 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-14
- display full emailbox on edit page
- submenu scroling visabilty
- uppercase arguments in cli help message
- webmail reset function
- more contrast on topmenu
- special info line for dns records and mail account listing
- number of records on "list records" button
- send database credentials to email
- nonreplaceble logo.png
- added verification for none uniq ftp account
* Mon Dec 24 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-13
- imroved ssl certificate validation
- added links in return status string
- disabled database charset validation
- renamed css styles to prevent blocking from adblock
- fixed cgi-bin permissions for mod_fcgid
- excluded threads from rrd procs calculation
- added overall monthly statistics
- improved dns expiriation date formating
- navigation menu improvements
* Mon Dec 17 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-12
- renamed SSL Certificate Authority field
- fixed history log page for users
* Sun Dec 16 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-11
- disabled ssl check function for startssl certificates
* Sun Dec 16 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-10
- fixed bug in ip change function
- replaced cancel with back on control buttons
* Sat Dec 01 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-3
- hotfix for mysql unsuspend function
* Thu Nov 29 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-2
- hotfix for user valudation function
* Sun Jul 01 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-1
- New web interface
- Mail api
- Changed vesta user with admin
* Wed Jan 25 2012 Serghey Rodin <builder@vestacp.com> - 0.9.6-3
- Alpha preview of 'login as' function
* Tue Jan 24 2012 Serghey Rodin <builder@vestacp.com> - 0.9.6-2
- Bugfix: nginx include + dublicate ip adresses in listing
* Tue Jan 17 2012 Serghey Rodin <builder@vestacp.com> - 0.9.6-1
- Web interface
- Rebuild functions
- RRD support
- SSL Certificate Authority support
- New return codes
- ServerAlias 8k issue
- Autodocumentation
* Tue Sep 13 2011 Serghey Rodin <builder@vestacp.com> - 0.9.5-2
- small fixes to domain function
* Tue Sep 13 2011 Serghey Rodin <builder@vestacp.com> - 0.9.5-1
- added mpm itk, fcgi, mod_ruid2 support
- changed permissions in bin directory
- new scripts v_del_sys_user v_list_sys_user_childs v_rebuild_dns_domains
- removed backup.pipe
- renamed reseller.conf to child.conf
- complex dns format validator
- added new key for disk usage U_DIR_DISK
- improved rebuild webdomain script
- fixed cron bug
- added backup system
- new user keys FNAME LNAME
- merged key NS1 and NS2 to NS
- moved db configs to conf folder
- yes|no boolean logic in config
- renamed crontab.conf to cron.conf
- renamed web_domains.conf to web.conf
- changed web domains directory to "web"
- fixed v_change_db_password localhost bug
- removed main config from rpm
- improved vesta install scenario
* Tue Jul 05 2011 Serghey Rodin <builder@vestacp.com> - 0.9.4-1
- nginx per domain integration
- removed SSL key and renamed TEMPLATES to WEB_TPL
- added web config rebuild script
- added includes into templates
- code formating by convention
- added error_document support
- v_check_sys_user_password refactoring
- added v_change_sys_ip_status script
- fixed ip interface bugs
- added libidn support
- added skel directory in templates
- updated site templates
- added v_list_sys_user_packages
- updated v_add_sys_user script (ns1 ns2 args)
- updated documentation
* Tue Jan 04 2011 Serghey Rodin <builder@vestacp.com> - 0.9.3-3
- new rpm spec without updates to code
* Sun Jan 02 2011 Serghey Rodin <builder@vestacp.com> - 0.9.3-2
- many fixes to installer
- added condition to upgrade macro in spec file
- fixed v_add_web_alias_script
- updated disk.pipe
* Tue Dec 28 2010 Serghey Rodin <builder@vestacp.com> - 0.9.3-1
- excluded vesta user from package
- new template storage scheme
- updated funcion increase_user_value()
- added new keys U_CHILDS MAX_CHILDS U_DIR_DISK
- renamed template php_cgi to phpcgi
- added apache_ prefix to tpls
- new logic on keys STATS_AUTH='no' STATS='no'
- updated function get_usr_disk()
- added new script v_upd_sys_user_disk
* Mon Nov 22 2010 Serghey Rodin <builder@vestacp.com> - 0.9.2-4
- fixed update script / rpm %files section
* Mon Nov 22 2010 Serghey Rodin <builder@vestacp.com> - 0.9.2-3
- fixed update script v_upd_sys_vesta
* Mon Nov 22 2010 Serghey Rodin <builder@vestacp.com> - 0.9.2-2
- removed user vesta user from rpm
- fixed %postun script
* Mon Nov 22 2010 Serghey Rodin <builder@vestacp.com> - 0.9.2-1
- added sqlite support into x86_64 repo
- fixed permissions on /var/log/httpd/domains
- many fixes in installer
- fixed empty mask in v_upd_sys_ip script
- added default robots.txt in v_add_web_domain
- new web_domains.conf key NGINX_EXT
* Sat Nov 13 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-7
- added script v_upd_sys_user_bill
- updated installer
- replaced v_list_web_domains_proxy with v_list_web_domains_nginx
- fixed rpaf.conf generation
- added nginx templates
* Tue Oct 29 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-6
- added missing function to db/ip/shared includes
* Tue Oct 26 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-5
- added U prefix to DISK and BANDWIDTH keys
- new script v_change_sys_ip_name
- added keys NETMASK,INTERFACE,DATE to ip system
- added key IP_OWNED to user system
- improved decrease_db_value() function
- fixed update_user_value() function
- updated installer
* Thu Oct 07 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-4
- fixed path in php-cgi templates
- increased php_memory_limit up to 32M for wordpress
- updated vsftpd and sudoers configs
* Wed Oct 05 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-3
- updated db functions
* Wed Oct 04 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-2
- fixed dns installer + added cron job logging
* Wed Sep 15 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-1
- created vesta api package