silc-server version bump
This commit is contained in:
parent
f5389c6551
commit
a9d36f4cc7
2 changed files with 70 additions and 0 deletions
2
net-im/silc-server/Manifest
Normal file
2
net-im/silc-server/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
DIST silc-server-1.1.19.tar.gz 1228752 SHA256 4aeb473014a0b2586b1174a3b394cc137f72d55d6a8dd39de01c1e520f26ed20 SHA512 820bbc1942f92593822b275e74cf3ac83d40bb9a348f5cad38a7449e96e965109a960e45e48d7c47993cc0f6fa6aa82355c262d19b1c4c182cb3caef19e9fbed WHIRLPOOL d2a88f406356dce0251a4c7ab28a86588ef02db3129580dcce6c6b1208a1eeac7bf31365d46e0f9359fbf930f74560ea14089952a0e6fc02936e11bc6e50e977
|
||||
EBUILD silc-server-1.1.19.ebuild 1748 SHA256 4e04211eee68f0fc812923a52a7f744144c5cb04e85ab730dc1e9e4bedaadc17 SHA512 98f24feb78bcb156a3bc7abd1631e58624f6d4e4e7bb9303b4357ed7a28b5ce5dafc3fd06ae18abc7c3943f91479792717b76d6041f6af6fbe49ecdb6fcd2ee5 WHIRLPOOL 567ba4ee22f6acb7ff781a2ac75489f88a4f6bff09c48bfb42496b8a957fae59bdd5c28c96d83a2e7547df6d6a0023e79525f586a8f9da4b83db6dca0a9e9cd0
|
68
net-im/silc-server/silc-server-1.1.19.ebuild
Normal file
68
net-im/silc-server/silc-server-1.1.19.ebuild
Normal file
|
@ -0,0 +1,68 @@
|
|||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-im/silc-server/silc-server-1.1.14.ebuild,v 1.1 2008/11/27 10:31:43 armin76 Exp $
|
||||
|
||||
inherit eutils autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="Server for Secure Internet Live Conferencing"
|
||||
#SRC_URI="http://www.silcnet.org/download/server/sources/${P}.tar.bz2"
|
||||
SRC_URI="mirror://sourceforge/silc/${P}.tar.gz"
|
||||
HOMEPAGE="http://silcnet.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="ipv6 debug"
|
||||
|
||||
RDEPEND="!<=net-im/silc-toolkit-1.1.10
|
||||
!<=net-im/silc-client-1.1.10"
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
--datadir=/usr/share/${PN} \
|
||||
--datarootdir=/usr/share/${PN} \
|
||||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc/silc \
|
||||
--with-helpdir=/usr/share/${PN}/help \
|
||||
--libdir=/usr/$(get_libdir)/${PN} \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--disable-optimizations \
|
||||
--with-logsdir=/var/log/${PN} \
|
||||
--with-silcd-pid-file=/var/run/silcd.pid \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable debug) \
|
||||
|| die "econf failed"
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins doc/examples/*.conf
|
||||
|
||||
fperms 600 /etc/silc
|
||||
keepdir /var/log/${PN}
|
||||
|
||||
rm -rf \
|
||||
"${D}"/usr/libsilc* \
|
||||
"${D}"/usr/include \
|
||||
"${D}"/etc/silc/silcd.{pub,prv}
|
||||
|
||||
newinitd "${FILESDIR}/silcd.initd" silcd
|
||||
|
||||
sed -i \
|
||||
-e 's:10.2.1.6:0.0.0.0:' \
|
||||
-e 's:User = "nobody";:User = "silcd";:' \
|
||||
"${D}"/etc/silc/silcd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewuser silcd
|
||||
|
||||
if [ ! -f "${ROOT}"/etc/silc/silcd.prv ] ; then
|
||||
einfo "Creating key pair in /etc/silc"
|
||||
silcd -C "${ROOT}"/etc/silc
|
||||
chmod 600 "${ROOT}"/etc/silc/silcd.{prv,pub}
|
||||
fi
|
||||
}
|
Loading…
Reference in a new issue