net-misc/sgopherd: update live ebuild, bump EAPI, change project license, fix metadata

This commit is contained in:
Sergey Popov 2017-09-14 13:18:42 +03:00
parent 1fb988f6a5
commit 40a44fe1d7
2 changed files with 7 additions and 8 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<maintainer> <maintainer type="person">
<email>admin@pinkbyte.ru</email> <email>admin@pinkbyte.ru</email>
<name>Sergey Popov</name> <name>Sergey Popov</name>
</maintainer> </maintainer>

View File

@ -1,21 +1,19 @@
# Copyright 1999-2013 Gentoo Foundation # Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5 EAPI=6
EGIT_REPO_URI="git://github.com/vain/sgopherd.git" EGIT_REPO_URI="https://github.com/vain/sgopherd.git"
inherit git-2 inherit git-r3
DESCRIPTION="Small Gopher Server written in GNU Bash" DESCRIPTION="Small Gopher Server written in GNU Bash"
HOMEPAGE="https://github.com/vain/sgopherd" HOMEPAGE="https://github.com/vain/sgopherd"
SRC_URI="" SRC_URI=""
LICENSE="PIZZA-WARE" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="" KEYWORDS=""
IUSE=""
DEPEND="" DEPEND=""
RDEPEND="app-shells/bash RDEPEND="app-shells/bash
@ -25,6 +23,7 @@ RDEPEND="app-shells/bash
src_prepare() { src_prepare() {
# Set default user to run sgopherd # Set default user to run sgopherd
sed -i -e '/user/s/http/nobody/' xinetd/xinetd-example.conf || die 'sed failed' sed -i -e '/user/s/http/nobody/' xinetd/xinetd-example.conf || die 'sed failed'
default
} }
src_install() { src_install() {