initial commit
This commit is contained in:
commit
51ac96f868
31
dev-php/atom/atom-0.1.ebuild
Normal file
31
dev-php/atom/atom-0.1.ebuild
Normal file
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="A Simple PHP Framework"
|
||||
HOMEPAGE="http://registeredhosting.ca"
|
||||
SRC_URI="http://registeredhosting.ca/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT=${PV}
|
||||
KEYWORDS="x86"
|
||||
#IUSE=""
|
||||
|
||||
#RESTRICT="fetch"
|
||||
|
||||
inherit eutils
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/php-5.4[mysqli,postgres,gd]
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/php/atom
|
||||
cp -R ${S}/* ${D}/usr/share/php/atom
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
/usr/bin/php /usr/share/php/atom/manifest.php
|
||||
}
|
||||
31
dev-php/atom/atom-1.0.ebuild
Normal file
31
dev-php/atom/atom-1.0.ebuild
Normal file
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="A Simple PHP Framework"
|
||||
HOMEPAGE="http://registeredhosting.ca"
|
||||
SRC_URI="http://registeredhosting.ca/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT=${PV}
|
||||
KEYWORDS="x86"
|
||||
#IUSE=""
|
||||
|
||||
#RESTRICT="fetch"
|
||||
|
||||
inherit eutils
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/php-5.5[mysqli,postgres,gd]
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/php/atom/${SLOT}
|
||||
cp -R ${S}/* ${D}/usr/share/php/atom/${SLOT}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
/usr/bin/php /usr/share/php/atom/${SLOT}/manifest.php
|
||||
}
|
||||
16
layman.xml
Normal file
16
layman.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE repositories SYSTEM "/dtd/repositories.dtd">
|
||||
<repositories xmlns="" version="1.0">
|
||||
<repo quality="experimental" status="unofficial">
|
||||
<name>RHWSI</name>
|
||||
<description lang="en">Registered Hosting supplimentary ebuild tree</description>
|
||||
<homepage>http://git.registeredhosting.ca/rhwsi/gentoo-overlay</homepage>
|
||||
<owner type="person">
|
||||
<email>info@registeredhosting.ca</email>
|
||||
<name>Nick Wiltshire</name>
|
||||
</owner>
|
||||
<source type="git">http://git.registeredhosting.ca/rhwsi/gentoo-overlay.git</source>
|
||||
<!--feed>https://gittr.ch/manuel/gentoo-overlay/commits/master.atom</feed>
|
||||
<feed>https://gittr.ch/manuel/gentoo-overlay/issues.atom</feed-->
|
||||
</repo>
|
||||
</repositories>
|
||||
97
www-apps/ghostpanel/ghostpanel-0.1_beta.ebuild
Normal file
97
www-apps/ghostpanel/ghostpanel-0.1_beta.ebuild
Normal file
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="A web-based control panel for web hosting servers"
|
||||
HOMEPAGE="http://ghostpanel.org"
|
||||
SRC_URI="http://registeredhosting.ca/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86"
|
||||
#IUSE=""
|
||||
|
||||
#RESTRICT="fetch"
|
||||
|
||||
inherit eutils ssl-cert
|
||||
|
||||
RDEPEND="
|
||||
>=mail-mta/postfix-2.5.7[postgres,sasl,ssl]
|
||||
>=dev-lang/php-5.3[cgi,curl,mysql,postgres,unicode]
|
||||
>=www-servers/apache-2.2.11-r2[suexec,apache2_modules_proxy,apache2_modules_proxy_http]
|
||||
>=net-dns/pdns-2.9.22-r1[postgres]
|
||||
>=dev-db/mysql-5.0.60-r1
|
||||
>=dev-db/postgresql-base-8.1.11
|
||||
>=dev-db/postgresql-server-8.0.22
|
||||
>=net-libs/courier-authlib-0.62.2[postgres]
|
||||
>=net-mail/courier-imap-4.5.0
|
||||
>=dev-libs/cyrus-sasl-2.1.22-r2
|
||||
>=app-admin/sudo-1.7.2_p1
|
||||
>=sys-process/vixie-cron-4.1-r10
|
||||
>=mail-filter/amavisd-new-2.6.3[spamassassin,postgres]
|
||||
>=sys-apps/shadow-4.1.4.2-r4
|
||||
>=app-antivirus/clamav-0.96.1
|
||||
>=dev-php/atom-0.1
|
||||
>=www-misc/awstats-7.0_p20101205-r3
|
||||
>=app-admin/logrotate-3.7.8
|
||||
>=app-admin/syslog-ng-3.2.5[hardened]
|
||||
mail-client/roundcube[postgres]
|
||||
dev-db/phpmyadmin
|
||||
dev-db/phppgadmin
|
||||
net-firewall/iptables
|
||||
net-misc/ntp
|
||||
net-analyzer/fail2ban
|
||||
"
|
||||
|
||||
pkg_preinst() {
|
||||
useradd -MU ghostpanel
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /var/www/ghostpanel
|
||||
fperms 755 /var/www/ghostpanel
|
||||
fowners ghostpanel:ghostpanel /var/www/ghostpanel
|
||||
cp -R ${S}/* ${D}/var/www/ghostpanel/
|
||||
|
||||
dodir /etc/apache2/ghostpanel
|
||||
fperms 755 /etc/apache2/ghostpanel
|
||||
fowners apache /etc/apache2/ghostpanel
|
||||
cp ${S}/etc/apache/000_ghostpanel.conf ${D}/etc/apache2/ghostpanel/
|
||||
|
||||
dodir /etc/apache2/modules.d
|
||||
cp ${S}/etc/apache/99_ghostpanel.conf ${D}/etc/apache2/modules.d/99_ghostpanel.conf
|
||||
|
||||
dodir /etc/ssl/ghostpanel
|
||||
fperms 755 /etc/ssl/ghostpanel
|
||||
|
||||
dodir /etc/logrotate.d
|
||||
cp ${S}/etc/logrotate.d/ghostpanel ${D}/etc/logrotate.d/
|
||||
|
||||
dodir /etc/cron.daily
|
||||
cp ${S}/etc/cron.daily/ghostpanel.cron ${D}/etc/cron.daily
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chown -R ghostpanel:ghostpanel /var/www/ghostpanel
|
||||
find /var/www/ghostpanel -type f -exec chmod 644 '{}' \;
|
||||
find /var/www/ghostpanel -type d -exec chmod 755 '{}' \;
|
||||
chmod 755 /var/www/ghostpanel/bin/*
|
||||
chmod 700 /var/www/ghostpanel/cgi-bin/php
|
||||
chmod 644 /etc/postfix*/*
|
||||
chmod 755 /etc/cron.daily/ghostpanel.cron
|
||||
|
||||
if [[ ! -e "${ROOT}/etc/ssl/ghostpanel/server.crt" ]]; then
|
||||
SSL_DAYS="${SSL_DAYS:-730}"
|
||||
SSL_BITS="${SSL_BITS:-4096}"
|
||||
SSL_COUNTRY="${SSL_COUNTRY:-CA}"
|
||||
SSL_STATE="${SSL_STATE:-Alberta}"
|
||||
SSL_LOCALITY="${SSL_LOCALITY:-Calgary}"
|
||||
SSL_ORGANIZATION="${SSL_ORGANIZATION:-GHostPanel}"
|
||||
SSL_UNIT="${SSL_UNIT:-For Testing Purposes Only}"
|
||||
SSL_COMMONNAME="${SSL_COMMONNAME:-localhost}"
|
||||
SSL_EMAIL="${SSL_EMAIL:-root@localhost}"
|
||||
install_cert /etc/ssl/ghostpanel/server
|
||||
fi;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user