net-im/silc-server: removed old ebuild (eapi not supported)
This commit is contained in:
parent
4396a11632
commit
ba99529356
2 changed files with 0 additions and 84 deletions
|
@ -1,4 +1,3 @@
|
|||
AUX silcd.rc 739 BLAKE2B 086e2f233171edd63b49db101983979d1d415c5e7a096fba0015e64b166bcc830b1d3a38655377df372f1ca1a0db5691cacf8df783e7f53e96e313aaa51a02a5 SHA512 a067b666c4b5cab4b54eb6a0a44722b2dc551b243faf9ae0b571acc99eb52f166b04c0afaa83cf4639caa66e19b7ef9fb85c58a6f9c95ae0d964dd4e7892b397
|
||||
DIST silc-server-1.1.19.tar.gz 1228752 BLAKE2B e4fbdcd7c0bebba1afbb0ec897f841869143b6f79da09daa8bba97b66cea3c4a2c311263059527a04addeb5d700ba954966c76870dae7beeb7e8591bc21a5172 SHA512 820bbc1942f92593822b275e74cf3ac83d40bb9a348f5cad38a7449e96e965109a960e45e48d7c47993cc0f6fa6aa82355c262d19b1c4c182cb3caef19e9fbed
|
||||
EBUILD silc-server-1.1.19-r1.ebuild 1902 BLAKE2B e03bc5fe63a4d26969dc204010064a51d8db3edf24906ecb80cbdeff111464d9b4ec0bc3cd05574f8c4a07b7b9b80518a3c6143e0a51280b16430227e7d49df7 SHA512 1fd0c6e6cddbf835c8bbc04936c2cb0ede80b7e6683756cdfdc23fd50bbe9181388e462e215ec2e2a8e76ed9c996ae4a619784e6edb14d51ee8a60f987832856
|
||||
EBUILD silc-server-1.1.19-r2.ebuild 1902 BLAKE2B 8862e7daf4adf24d3660d3906f3d9f4014d3d6313fffc1d4f494cc18b7beff6fc8d001db5f745e17c05b06fbcb30fbe88d5e8e2ad90bb1ca2ab369ef5cbd4a84 SHA512 7c4235d11be43d0e5d2a185ef44a91745b3e5e1befd56427a96f7599d387ec0cc4b95f7628b8108529aa1b3701286c59a2f97d4955828208adc15cd8fe3a5559
|
||||
|
|
|
@ -1,83 +0,0 @@
|
|||
# Copyright 1999-2014 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.18.ebuild,v 1.2 2014/01/08 06:41:24 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic user
|
||||
|
||||
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="gmp ipv6 debug"
|
||||
|
||||
RDEPEND=">=net-im/silc-toolkit-1.1.12
|
||||
!<=net-im/silc-client-1.1.11
|
||||
gmp? ( dev-libs/gmp )"
|
||||
|
||||
pkg_setup() {
|
||||
enewuser silcd
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--datadir=/usr/share/${PN} \
|
||||
--datarootdir=/usr/share/${PN} \
|
||||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc/silc \
|
||||
--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_with gmp) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
#src_compile() {
|
||||
# emake -j1
|
||||
#}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
insinto /etc/silc
|
||||
doins doc/silcalgs.conf
|
||||
|
||||
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.rc" silcd
|
||||
doman doc/silcd.8 doc/silcd.conf.5
|
||||
|
||||
sed -i \
|
||||
-e 's:10.2.1.6:0.0.0.0:' \
|
||||
-e 's:User = "nobody";:User = "silcd";:' \
|
||||
-e 's:/var/run:/run:' \
|
||||
-e 's:lassi.kuo.fi.ssh.com:localhost:' \
|
||||
doc/example_silcd.conf \
|
||||
|| die
|
||||
dodoc doc/example_silcd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
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