Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
playground
:
zpanel
>
zpanelx
> zpanelx.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File zpanelx.spec of Package zpanelx (Revision 2)
Currently displaying revision
2
,
show latest
Summary: Zpanel is a free and complete web hosting panel Zpanel is written in PHP and uses several opensource (or freely available) software packages to provide a secure, web hosting system compile by andykimpe Name: zpanelx Version: 10.1.1 Release: 1 License: GPL3 Group: Applications/Internet Packager: andykimpe andykimpe@gmail.com Source0: zpanelx-%{version}.tar.bz2 Url: http://www.zpanelcp.com/ BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: sudo, wget, vim, make, zip, unzip, git, chkconfig, bzip2-devel, gd-devel, httpd, zpphp, zpphp-suhosin, zpphp-devel, zpphp-gd, zpphp-mbstring, zpphp-intl, zpphp-imap, zpphp-mysql, zpphp-xml, zpphp-xmlrpc, curl, curl-devel, perl-libwww-perl, libxml2, libxml2-devel, mysql-server, zip, webalizer, gcc, gcc-c++, httpd-devel, at, make, mysql-devel, bzip2-devel, postfix, postfix-perl-scripts, dovecot, dovecot-mysql, dovecot-pigeonhole, mysql-server, proftpd, proftpd-mysql, bind, bind-utils, bind-libs, iptables, sendmail Requires: sudo, wget, vim, make, zip, unzip, git, chkconfig, httpd, zpphp, zpphp-suhosin, zpphp-devel, zpphp-gd, zpphp-mbstring, zpphp-intl, zpphp-imap, zpphp-mysql, zpphp-xml, zpphp-xmlrpc, curl, curl-devel, perl-libwww-perl, libxml2, libxml2-devel, mysql-server, zip, webalizer, gcc, gcc-c++, httpd-devel, at, make, mysql-devel, bzip2-devel, postfix, postfix-perl-scripts, dovecot, dovecot-mysql, dovecot-pigeonhole, mysql-server, proftpd, proftpd-mysql, bind, bind-utils, bind-libs, iptables, sendmail Conflicts: bind-chroot, qpid-cpp-client %description Zpanel is a free and complete web hosting panel Zpanel is written in PHP and uses several opensource (or freely available) software packages to provide a secure, web hosting system compile by andykimpe. %prep %setup -n zpanelx-%{version} %build mkdir -p $RPM_BUILD_ROOT cp -R * $RPM_BUILD_ROOT/ %post if [ -f /usr/bin/zppy ] then chmod +x /etc/zpanel/update.sh php -f /etc/zpanel/update.php else chmod +x /usr/bin/passwordgen chmod +x /etc/zpanel/install.sh /etc/zpanel/install.sh fi rm -f /etc/zpanel/install.sh /etc/zpanel/update.sh /etc/zpanel/update.php %preun service httpd stop > /dev/null 2>&1 service postfix stop > /dev/null 2>&1 service dovecot stop > /dev/null 2>&1 service crond stop > /dev/null 2>&1 service mysqld stop > /dev/null 2>&1 service named stop > /dev/null 2>&1 service proftpd stop > /dev/null 2>&1 service atd stop > /dev/null 2>&1 service iptables start > /dev/null 2>&1 service sendmail start > /dev/null 2>&1 chkconfig iptables on chkconfig sendmail on chkconfig httpd off chkconfig postfix off chkconfig dovecot off chkconfig crond off chkconfig mysqld off chkconfig named off chkconfig proftpd off chkconfig atd off rm -rf /var/zpanel rm -rf /etc/zpanel rm -f /root/passwords.txt rm -rf /var/spool/vacation rm -rf /var/lib/dovecot/sieve/ rm -rf /var/spool/cron/* rm -rf /etc/cron.d/* rm -rf /usr/bin/zppy /usr/bin/setso /usr/bin/setzadmin /etc/postfix/main.cf /etc/postfix/master.cf /etc/dovecot/dovecot.conf /etc/named.conf /etc/rndc.conf /etc/rndc.key /etc/php.ini /etc/my.cnf /var/lib/mysql/* /etc/httpd/conf/httpd.conf /etc/proftpd.conf cp /etc/postfix/main.cf.zp-install /etc/postfix/main.cf cp /etc/postfix/master.cf.zp-install /etc/postfix/master.cf cp /etc/dovecot/dovecot.conf.zp-install /etc/dovecot/dovecot.conf cp /etc/named.conf.zp-install /etc/named.conf cp /etc/php.ini.zp-install /etc/php.ini cp /etc/httpd/conf/httpd.conf.zp-install /etc/httpd/conf/httpd.conf cp /etc/proftpd.conf.zp-install /etc/proftpd.conf cp /etc/my.cnf.zp-install /etc/my.cnf userdel vmail userdel vacation userdel ftpuser groupdel ftpgroup %files %defattr(777,root,root) /etc/zpanel/install.sh /etc/zpanel/update.sh /etc/zpanel/update.php /etc/postfix/main.cf.zp-install /etc/postfix/master.cf.zp-install /etc/dovecot/dovecot.conf.zp-install /etc/named.conf.zp-install /etc/php.ini.zp-install /etc/httpd/conf/httpd.conf.zp-install /etc/proftpd.conf.zp-install /etc/my.cnf.zp-install /usr/bin/passwordgen