Lines 74-80
src_configure() {
Link Here
|
74 |
--with-logdir="${EPREFIX}"/var/log/${PN} \ |
74 |
--with-logdir="${EPREFIX}"/var/log/${PN} \ |
75 |
--with-modulesdir="${EPREFIX}/usr/$(get_libdir)"/${PN}/modules \ |
75 |
--with-modulesdir="${EPREFIX}/usr/$(get_libdir)"/${PN}/modules \ |
76 |
--without-privatelibdir \ |
76 |
--without-privatelibdir \ |
77 |
--with-pidfile="${EPREFIX}"/run/${PN}/ircd.pid \ |
77 |
--with-pidfile="${EPREFIX}"/run/${PN}.pid \ |
78 |
--with-tmpdir="${EPREFIX}"/var/lib/${PN}/tmp \ |
78 |
--with-tmpdir="${EPREFIX}"/var/lib/${PN}/tmp \ |
79 |
--with-maxconnections=1024 \ |
79 |
--with-maxconnections=1024 \ |
80 |
--with-nick-history=2000 \ |
80 |
--with-nick-history=2000 \ |
Lines 85-91
src_configure() {
Link Here
|
85 |
--with-system-sodium \ |
85 |
--with-system-sodium \ |
86 |
--with-system-jansson \ |
86 |
--with-system-jansson \ |
87 |
--enable-dynamic-linking \ |
87 |
--enable-dynamic-linking \ |
88 |
--with-controlfile="${EPREFIX}"/run/${PN}/unrealircd.ctl \ |
88 |
--with-controlfile="${EPREFIX}"/run/${PN}/${PN}.ctl \ |
89 |
--enable-ssl="${EPREFIX}"/usr \ |
89 |
--enable-ssl="${EPREFIX}"/usr \ |
90 |
$(use_enable curl libcurl "${EPREFIX}"/usr) \ |
90 |
$(use_enable curl libcurl "${EPREFIX}"/usr) \ |
91 |
$(use_with !operoverride no-operoverride) \ |
91 |
$(use_with !operoverride no-operoverride) \ |
Lines 123-130
src_install() {
Link Here
|
123 |
|
123 |
|
124 |
einstalldocs |
124 |
einstalldocs |
125 |
|
125 |
|
126 |
newinitd "${FILESDIR}"/${PN}.initd-r3 ${PN} |
126 |
newinitd "${FILESDIR}"/${PN}.initd-r4 ${PN} |
127 |
newconfd "${FILESDIR}"/${PN}.confd-r4 ${PN} |
127 |
newconfd "${FILESDIR}"/${PN}.confd-r5 ${PN} |
128 |
|
128 |
|
129 |
# config should be read-only |
129 |
# config should be read-only |
130 |
fperms -R 0640 /etc/${PN} |
130 |
fperms -R 0640 /etc/${PN} |