fix distribution
This commit is contained in:
@@ -9,6 +9,7 @@ SCM=""
|
|||||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||||
SCM="git-r3"
|
SCM="git-r3"
|
||||||
EGIT_REPO_URI="https://github.com/spacefreak86/${PN}"
|
EGIT_REPO_URI="https://github.com/spacefreak86/${PN}"
|
||||||
|
EGIT_BRANCH="master"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
inherit ${SCM} distutils-r1 systemd
|
inherit ${SCM} distutils-r1 systemd
|
||||||
@@ -28,7 +29,7 @@ fi
|
|||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="lxml systemd"
|
IUSE="+lxml systemd"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
dev-python/beautifulsoup[${PYTHON_USEDEP}]
|
dev-python/beautifulsoup[${PYTHON_USEDEP}]
|
||||||
@@ -41,12 +42,12 @@ RDEPEND="
|
|||||||
python_install_all() {
|
python_install_all() {
|
||||||
distutils-r1_python_install_all
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
dodir /etc/${PN}
|
dodir /etc/pyquarantine
|
||||||
insinto /etc/${PN}
|
insinto /etc/pyquarantine
|
||||||
doins pyquarantine/docs/pyquarantine.conf.example
|
doins pyquarantine/misc/pyquarantine.conf.example
|
||||||
doins -r pyquarantine/docs/templates
|
doins -r pyquarantine/misc/templates
|
||||||
|
|
||||||
use systemd && systemd_dounit ${PN}/misc/${PN}-milter.service
|
use systemd && systemd_dounit pyquarantine/misc/${PN}.service
|
||||||
newinitd ${PN}/misc/openrc/${PN}-milter.initd ${PN}-milter
|
newinitd pyquarantine/misc/openrc/${PN}.initd ${PN}
|
||||||
newconfd ${PN}/misc/openrc/${PN}-milter.confd ${PN}-milter
|
newconfd pyquarantine/misc/openrc/${PN}.confd ${PN}
|
||||||
}
|
}
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
# /etc/conf.d/pyquarantine: config file for /etc/init.d/pyquarantine
|
# /etc/conf.d/pyquarantine-milter: config file for /etc/init.d/pyquarantine-milter
|
||||||
|
|
||||||
# Start the daemon as the user. You can optionally append a group name here also.
|
# Start the daemon as the user. You can optionally append a group name here also.
|
||||||
# USER="daemon"
|
# USER="daemon"
|
||||||
# USER="daemon:nobody"
|
# USER="daemon:nobody"
|
||||||
|
|
||||||
# Optional parameters for pyquarantine
|
# Optional parameters for pyquarantine-milter
|
||||||
# MILTER_OPTS=""
|
# MILTER_OPTS=""
|
||||||
|
|||||||
Reference in New Issue
Block a user