diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-06-14 21:23:39 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-06-14 21:23:39 +0000 |
commit | fb4046ba7b13903187d498a3e193e0f7c841aa1e (patch) | |
tree | 1ebbab1f73926e5e26938c38b3199bf94217bb7d /net-im/silc-server | |
parent | Version bump. (diff) | |
download | gentoo-2-fb4046ba7b13903187d498a3e193e0f7c841aa1e.tar.gz gentoo-2-fb4046ba7b13903187d498a3e193e0f7c841aa1e.tar.bz2 gentoo-2-fb4046ba7b13903187d498a3e193e0f7c841aa1e.zip |
Version bump
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-im/silc-server')
-rw-r--r-- | net-im/silc-server/ChangeLog | 7 | ||||
-rw-r--r-- | net-im/silc-server/files/digest-silc-server-1.0.4 | 3 | ||||
-rw-r--r-- | net-im/silc-server/silc-server-1.0.4.ebuild | 79 |
3 files changed, 88 insertions, 1 deletions
diff --git a/net-im/silc-server/ChangeLog b/net-im/silc-server/ChangeLog index 74096afb7f2a..e14d227d4c3d 100644 --- a/net-im/silc-server/ChangeLog +++ b/net-im/silc-server/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-im/silc-server # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/silc-server/ChangeLog,v 1.22 2007/03/20 17:43:33 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/silc-server/ChangeLog,v 1.23 2007/06/14 21:23:39 armin76 Exp $ + +*silc-server-1.0.4 (14 Jun 2007) + + 14 Jun 2007; Raúl Porcel <armin76@gentoo.org> +silc-server-1.0.4.ebuild: + Version bump 20 Mar 2007; Raúl Porcel <armin76@gentoo.org> silc-server-1.0.3.ebuild: back to ~arch diff --git a/net-im/silc-server/files/digest-silc-server-1.0.4 b/net-im/silc-server/files/digest-silc-server-1.0.4 new file mode 100644 index 000000000000..71ab77c7354c --- /dev/null +++ b/net-im/silc-server/files/digest-silc-server-1.0.4 @@ -0,0 +1,3 @@ +MD5 251eee0025f6dfdda18fe1c8b3397771 silc-server-1.0.4.tar.bz2 895370 +RMD160 0ff1fd41b8e1fb379ad75a4e53c694d135aa752a silc-server-1.0.4.tar.bz2 895370 +SHA256 3cc4e6a7b4578d511a12806ec7c2baaa5863890ca7fb3653f61a6d7d5b551e7e silc-server-1.0.4.tar.bz2 895370 diff --git a/net-im/silc-server/silc-server-1.0.4.ebuild b/net-im/silc-server/silc-server-1.0.4.ebuild new file mode 100644 index 000000000000..360f7d7a3e30 --- /dev/null +++ b/net-im/silc-server/silc-server-1.0.4.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2007 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.0.4.ebuild,v 1.1 2007/06/14 21:23:39 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" +HOMEPAGE="http://silcnet.org/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~ppc ~sparc ~x86" +IUSE="ipv6 debug" + +RDEPEND="!<=net-im/silc-toolkit-0.9.12-r1 + !<=net-im/silc-client-1.0.1" +DEPEND="${RDEPEND} + =sys-devel/automake-1.9*" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/1.0-fPIC.patch + + eautoreconf +} + +src_compile() { + ### Append -fsigned-char for platforms without this as default + ### Fixes runtime conf parsing bug on ppc + append-flags -fsigned-char + + econf \ + --sysconfdir=/etc/silc \ + --with-docdir=/usr/share/doc/${PF} \ + --with-helpdir=/usr/share/${PN}/help \ + --with-logsdir=/var/log/${PN} \ + --with-mandir=/usr/share/man \ + --with-silcd-pid-file=/var/run/silcd.pid \ + --with-simdir=/usr/$(get_libdir)/${PN} \ + --without-silc-libs \ + $(use_enable ipv6) \ + $(use_enable debug) \ + || die "econf failed" + emake -j1 || die "emake failed" +} + +src_install() { + make 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 + fi +} |