public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-im/simpserver-bin/files/, net-im/simpserver-bin/
@ 2016-05-02 22:24 Austin English
  0 siblings, 0 replies; only message in thread
From: Austin English @ 2016-05-02 22:24 UTC (permalink / raw
  To: gentoo-commits

commit:     57dff2c099318bd33ed1b18f325400a317a90874
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon May  2 21:17:19 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Mon May  2 22:21:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57dff2c0

net-im/simpserver-bin: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.2.26

 net-im/simpserver-bin/files/simpserver.rc          |  4 +--
 .../simpserver-bin/simpserver-bin-2.1.0-r2.ebuild  | 40 ++++++++++++++++++++++
 2 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/net-im/simpserver-bin/files/simpserver.rc b/net-im/simpserver-bin/files/simpserver.rc
index 4a48f58..16528fe 100644
--- a/net-im/simpserver-bin/files/simpserver.rc
+++ b/net-im/simpserver-bin/files/simpserver.rc
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/net-im/simpserver-bin/simpserver-bin-2.1.0-r2.ebuild b/net-im/simpserver-bin/simpserver-bin-2.1.0-r2.ebuild
new file mode 100644
index 0000000..7ee8c63
--- /dev/null
+++ b/net-im/simpserver-bin/simpserver-bin-2.1.0-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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 README VERSION doc/CONFIG doc/TODO
+
+	exeinto /opt/bin
+	doexe bin/${MY_PN}
+
+	insinto /etc
+	doins etc/simp.conf
+
+	newinitd "${FILESDIR}/${MY_PN}".rc ${MY_PN}
+}
+
+pkg_postinst() {
+	elog "Please edit the configuration file: /etc/simp.conf."
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-02 22:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-02 22:24 [gentoo-commits] repo/gentoo:master commit in: net-im/simpserver-bin/files/, net-im/simpserver-bin/ Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox