Deleted simpleid and spyc
I couldn't get it to work for hours and i don't want to spend more time trying.
This commit is contained in:
parent
0dc8b3d3cd
commit
af859044a9
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@tastytea.de</email>
|
||||
<name>tastytea</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>mustangostang</name>
|
||||
<email>vlad.andersen@gmail.com</email>
|
||||
</maintainer>
|
||||
<bugs-to>https://github.com/mustangostang/spyc/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit git-r3
|
||||
|
||||
KEYWORDS=""
|
||||
|
||||
DESCRIPTION="A simple YAML loader/dumper class for PHP"
|
||||
HOMEPAGE="https://github.com/mustangostang/spyc"
|
||||
EGIT_REPO_URI="https://github.com/mustangostang/spyc.git"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/php-7.1.18"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/spyc"
|
||||
doins Spyc.php
|
||||
dodoc README.md
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@tastytea.de</email>
|
||||
<name>tastytea</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Kelvin Mo</name>
|
||||
<email>kmo@users.sourceforge.net</email>
|
||||
</maintainer>
|
||||
<doc>https://simpleid.koinic.net/docs/2/</doc>
|
||||
<bugs-to>https://github.com/simpleid/simpleid/issues</bugs-to>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="nginx">Adds support for nginx</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit git-r3
|
||||
|
||||
KEYWORDS=""
|
||||
|
||||
DESCRIPTION="A simple, personal OpenID provider written in PHP"
|
||||
HOMEPAGE="http://simpleid.koinic.net/"
|
||||
EGIT_REPO_URI="https://github.com/simpleid/simpleid.git"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
IUSE="nginx"
|
||||
|
||||
RDEPEND=">=dev-lang/php-7.1.18:*
|
||||
>=dev-php/spyc-0.6.1
|
||||
>=dev-php/symfony-console-2.7.9-r1
|
||||
nginx? ( >=www-servers/nginx-1.12.2-r1:* )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cp www/config.php.dist config.php
|
||||
sed -i 's|@@IDENTITIES_DIR@@|/etc/simpleid/identities|' config.php
|
||||
sed -i 's|@@CACHE_DIR@@|/var/cache/simpleid|' config.php
|
||||
sed -i 's|@@STORE_DIR@@|/var/db/simpleid|' config.php
|
||||
sed -i 's|@@ETC_DIR@@|/etc/simpleid|' config.php
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/cache/simpleid
|
||||
keepdir /var/db/simpleid
|
||||
|
||||
insinto /etc/simpleid
|
||||
doins config.php
|
||||
keepdir /etc/simpleid/identities
|
||||
|
||||
insinto /usr/share/webapps/simpleid
|
||||
doins -r www
|
||||
dosym /etc/simpleid/config.php /usr/share/webapps/simpleid/www/config.php
|
||||
|
||||
dodoc README.md identities/example*
|
||||
|
||||
newbin bin/simpleid-tool.phar simpleid-tool
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use nginx; then
|
||||
fowners nginx:nginx /var/cache/simpleid
|
||||
fowners nginx:nginx /var/db/simpleid
|
||||
fi
|
||||
elog "Read https://simpleid.koinic.net/docs/2/installing/#directories carefully"
|
||||
elog "to learn how to proceed with the installation."
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit git-r3
|
||||
|
||||
KEYWORDS=""
|
||||
|
||||
DESCRIPTION="A simple, personal OpenID provider written in PHP"
|
||||
HOMEPAGE="http://simpleid.koinic.net/"
|
||||
EGIT_REPO_URI="https://github.com/simpleid/simpleid.git"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
IUSE="nginx"
|
||||
|
||||
RDEPEND="dev-lang/php[gmp,bcmath]
|
||||
nginx? ( >=www-servers/nginx-1.12.2-r1:* )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-php/composer-1.6.5"
|
||||
|
||||
pkg_pretend () {
|
||||
ewarn "This ebuild uses dev-php/composer for dependencies instead of Gentoo"
|
||||
ewarn "packages. This is potentially insecure."
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cp www/config.php.dist config.php
|
||||
sed -i 's|@@IDENTITIES_DIR@@|/etc/simpleid/identities|' config.php
|
||||
sed -i 's|@@CACHE_DIR@@|/var/cache/simpleid|' config.php
|
||||
sed -i 's|@@STORE_DIR@@|/var/db/simpleid|' config.php
|
||||
sed -i 's|@@ETC_DIR@@|/etc/simpleid|' config.php
|
||||
|
||||
cd www
|
||||
cp composer.json{.dist,}
|
||||
composer update --no-dev
|
||||
cd ..
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/cache/simpleid
|
||||
keepdir /var/db/simpleid
|
||||
|
||||
insinto /etc/simpleid
|
||||
doins config.php
|
||||
keepdir /etc/simpleid/identities
|
||||
|
||||
insinto /usr/share/webapps/simpleid
|
||||
doins -r www
|
||||
dosym /etc/simpleid/config.php /usr/share/webapps/simpleid/www/config.php
|
||||
|
||||
dodoc README.md identities/example*
|
||||
|
||||
newbin bin/simpleid-tool.phar simpleid-tool
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use nginx; then
|
||||
fowners nginx:nginx /var/cache/simpleid
|
||||
fowners nginx:nginx /var/db/simpleid
|
||||
fi
|
||||
elog "Read https://simpleid.koinic.net/docs/2/installing/#directories carefully"
|
||||
elog "to learn how to proceed with the installation."
|
||||
}
|
Reference in New Issue
Block a user