version bump
This commit is contained in:
parent
ddd4ab6c91
commit
06427488e2
|
@ -1 +1 @@
|
||||||
DIST froxlor-0.9.36.tar.gz 1114755 SHA256 6991a2359636a9b1faf66370ae7381670ff9c979a90d4a9ac44dcde91cda770e SHA512 83a2c411cffb36545ed9a7aacb981ade637c2a9339069521de31376c14443685e0c853a1b6fe605999e442ddce7beafba3d5cd09438bc7116b2df7d26c431559 WHIRLPOOL ee2219655e5dbf68358c717bc0d4d942c53276a0b02249e081d8741d19e3a424f5b8b4ae7ae3293fc396e3be9203a5cb83bd1e3a735f17ab027162f0ad4e9052
|
DIST froxlor-0.9.37.tar.gz 1189808 SHA256 fed0fa4addc25b45b475d98998cdf62cc97c1dc97cca41879a1dd6a69cef6daf SHA512 877196c6d8cec6d2f049e3801d1c02d470a541119883f456222f4580fc2b62afacc39f1722f6fc783bccad2196c14d548f64cce4096627263bc151e1d335bcc0 WHIRLPOOL c9b26f55152b258553e8812761453b97d240480ae23974c9fa4736ca8acbd7d0480b0a90881a7a700f7272de16d7f8c749bcca0ebfe84d55f64f13444e379b89
|
||||||
|
|
|
@ -22,7 +22,7 @@ HOMEPAGE="http://www.froxlor.org/"
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="awstats bind domainkey +dovecot fcgid ftpquota fpm libressl lighttpd +log mailquota nginx pureftpd quota ssl +tickets vsftpd"
|
IUSE="awstats bind domainkey +dovecot fcgid ftpquota fpm libressl lighttpd +log mailquota nginx pdns pureftpd quota ssl +tickets vsftpd"
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
!www-apps/syscp
|
!www-apps/syscp
|
||||||
|
@ -50,8 +50,11 @@ DEPEND="
|
||||||
!awstats? (
|
!awstats? (
|
||||||
app-admin/webalizer
|
app-admin/webalizer
|
||||||
)
|
)
|
||||||
bind? ( net-dns/bind
|
bind? ( net-dns/bind[ssl=]
|
||||||
domainkey? ( mail-filter/opendkim )
|
domainkey? ( mail-filter/opendkim[ssl=,libressl=] )
|
||||||
|
)
|
||||||
|
pdns? ( net-dns/pdns[mysql]
|
||||||
|
domainkey? ( mail-filter/opendkim[ssl=,libressl=] )
|
||||||
)
|
)
|
||||||
ssl? (
|
ssl? (
|
||||||
!libressl? ( >=dev-libs/openssl-1.0.2:* )
|
!libressl? ( >=dev-libs/openssl-1.0.2:* )
|
||||||
|
@ -96,7 +99,7 @@ DEPEND="
|
||||||
|
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
REQUIRED_USE="lighttpd? ( !nginx ) fcgid? ( !fpm ) vsftpd? ( !ftpquota )"
|
REQUIRED_USE="lighttpd? ( !nginx ) fcgid? ( !fpm ) vsftpd? ( !ftpquota ) pdns? ( !bind )"
|
||||||
|
|
||||||
# we need that to set the standardlanguage later
|
# we need that to set the standardlanguage later
|
||||||
LANGS="de en fr it nl pt sv"
|
LANGS="de en fr it nl pt sv"
|
||||||
|
@ -200,11 +203,28 @@ src_install() {
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If Bind will not used disable it and change the reload path for it
|
# If Bind and pdns will not be used disable nameserver
|
||||||
if ! use bind ; then
|
if ! use bind && ! use pdns; then
|
||||||
einfo "Switching 'bind' to 'Off'"
|
einfo "Disabling nameserver"
|
||||||
sed -e 's|'bind_enable', '1'|'bind_enable', '0'|g' -i "${S}/install/froxlor.sql" || die "Unable to change reload path for Bind"
|
sed -e 's|'bind_enable', '1'|'bind_enable', '0'|g' -i "${S}/install/froxlor.sql" || die "Unable to change binds enabled flag"
|
||||||
sed -e 's|/etc/init.d/named reload|/bin/true|g' -i "${S}/install/froxlor.sql" || die "Unable to change reload path for Bind"
|
sed -e 's|/etc/init.d/bind9 reload|/bin/true|g' -i "${S}/install/froxlor.sql" || die "Unable to change reload path for Bind"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use bind ; then
|
||||||
|
einfo "Setting bind9 reload command"
|
||||||
|
sed -e 's|'bind_enable', '0'|'bind_enable', '1'|g' -i "${S}/install/froxlor.sql" || die "Unable to change binds enabled flag"
|
||||||
|
sed -e 's|/etc/init.d/bind9 reload|/etc/init.d/named reload|g' -i "${S}/install/froxlor.sql" || die "Unable to change reload path for Bind"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use pdns ; then
|
||||||
|
einfo "Switching from 'bind' to 'powerdns'"
|
||||||
|
sed -e 's|'bind_enable', '0'|'bind_enable', '1'|g' -i "${S}/install/froxlor.sql" || die "Unable to change binds enabled flag"
|
||||||
|
sed -e 's|/etc/init.d/bind9 reload|/etc/init.d/pdns restart|g' -i "${S}/install/froxlor.sql" || die "Unable to change reload path for pdns"
|
||||||
|
sed -e 's|'dns_server', 'bind'|'dns_server', 'pdns'|g' -i "${S}/install/froxlor.sql" || die "Unable to change dns-server value from bind to pdns"
|
||||||
|
ewarn ""
|
||||||
|
ewarn "Note that you need to configure pdns and create a separate database for it, see:"
|
||||||
|
ewarn "https://doc.powerdns.com/3/authoritative/installation/#basic-setup-configuring-database-connectivity"
|
||||||
|
ewarn ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# default value is logging_enabled='1'
|
# default value is logging_enabled='1'
|
||||||
|
@ -254,7 +274,7 @@ src_install() {
|
||||||
# Install the Froxlor files
|
# Install the Froxlor files
|
||||||
einfo "Installing Froxlor files"
|
einfo "Installing Froxlor files"
|
||||||
dodir ${FROXLOR_DOCROOT}
|
dodir ${FROXLOR_DOCROOT}
|
||||||
cp -Rf "${S}/" "${D}${FROXLOR_DOCROOT}/" || die "Installation of the Froxlor files failed"
|
cp -R "${S}/" "${D}${FROXLOR_DOCROOT}/" || die "Installation of the Froxlor files failed"
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
@ -272,7 +292,7 @@ pkg_postinst() {
|
||||||
elog "to /etc/cron.d/froxlor and remove /etc/cron.d/syscp"
|
elog "to /etc/cron.d/froxlor and remove /etc/cron.d/syscp"
|
||||||
else
|
else
|
||||||
elog "Please open http://[ip]/froxlor in your browser to continue"
|
elog "Please open http://[ip]/froxlor in your browser to continue"
|
||||||
elog "continue with the basic setup of Froxlor."
|
elog "with the basic setup of Froxlor."
|
||||||
elog
|
elog
|
||||||
elog "Don't forget to setup your MySQL databases root user and password"
|
elog "Don't forget to setup your MySQL databases root user and password"
|
||||||
elog "using emerge --config mysql"
|
elog "using emerge --config mysql"
|
Loading…
Reference in New Issue