# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/simpserver-bin/simpserver-bin-2.1.0.ebuild,v 1.4 2008/11/02 05:45:21 jmbsvicetto Exp $ MY_PN=${PN/-bin/} MY_P="${MY_PN}-${PV}" DESCRIPTION="SimpServer for Unix: IM instant security transparent proxy" SRC_URI="http://download.secway.com/public/products/simpserver/${MY_P}-linux-x86.tgz" HOMEPAGE="http://www.secway.com/" LICENSE="simpserver-test" KEYWORDS="-* ~amd64 ~x86" IUSE="" SLOT="0" S=${WORKDIR}/simp RESTRICT="strip" src_compile() { einfo "Binary distribution. No compilation required." } src_install () { dodoc LICENSE README VERSION doc/CONFIG doc/TODO exeinto /opt/bin doexe bin/${MY_PN} insinto /etc doins etc/simp.conf etc/access.conf dodir /etc/simpserver/keyring/pending/ /etc/simpserver/keyring/private /etc/simpserver/keyring/public newinitd "${FILESDIR}/${MY_PN}".rc ${MY_PN} } pkg_postinst() { echo elog "To start the script, run:" elog " /etc/init.d/simpserver start" echo elog "If you want to start this script at boot, run:" elog " rc-update add simpserver default" echo ewarn "When you stop this script, You cannot use encrytion more!" echo elog "Then please make the Key Pair for Simp Server." echo elog "login with telnet to Simp Server." elog "netcat -T localhost 10023 --> user admin, password admin" echo elog "help --> to se all Options, make Key Pair for MSN with:" elog "generate -b4096 -sMSN" echo elog "list --> to see Key Pair and the "quit" to exit Session" echo elog "For use Simp Server in Yours MSN Messenger adjust" elog "aMSN / Preferences / Advanced / Initial notification server. Set to "localhost:1863"" elog "Piggin / Accounts / Manage Yours MSN Acount / Advanced / Server Set to localhost" echo elog "If you DON'T run Simp-server (before You start Yours Programm for MSN)" elog "You should change back to "messenger.hotmail.com:1863" or You cannot connect to MSN Server." echo }