summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2011-05-01 20:06:53 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2011-05-01 20:06:53 +0000
commit112dc5510205ff6e986858ae81bbffe82a3cf548 (patch)
tree903c6a095f5a27da008dc2584ad76b29feb63464 /net-misc/ris-linux
parentNew snapshot (diff)
downloadhistorical-112dc5510205ff6e986858ae81bbffe82a3cf548.tar.gz
historical-112dc5510205ff6e986858ae81bbffe82a3cf548.tar.bz2
historical-112dc5510205ff6e986858ae81bbffe82a3cf548.zip
Add net-misc/ris-linux, #365605
Package-Manager: portage-2.1.9.45/cvs/Linux i686
Diffstat (limited to 'net-misc/ris-linux')
-rw-r--r--net-misc/ris-linux/ChangeLog11
-rw-r--r--net-misc/ris-linux/Manifest7
-rw-r--r--net-misc/ris-linux/files/binlsrv.confd2
-rw-r--r--net-misc/ris-linux/files/binlsrv.initd31
-rw-r--r--net-misc/ris-linux/files/setup.py9
-rw-r--r--net-misc/ris-linux/metadata.xml8
-rw-r--r--net-misc/ris-linux/ris-linux-0.4.ebuild39
7 files changed, 107 insertions, 0 deletions
diff --git a/net-misc/ris-linux/ChangeLog b/net-misc/ris-linux/ChangeLog
new file mode 100644
index 000000000000..6b668e67435a
--- /dev/null
+++ b/net-misc/ris-linux/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-misc/ris-linux
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ris-linux/ChangeLog,v 1.1 2011/05/01 20:06:53 maksbotan Exp $
+
+*ris-linux-0.4 (01 May 2011)
+
+ 01 May 2011; Maxim Koltsov (maksbotan) <maksbotan@gentoo.org>
+ +ris-linux-0.4.ebuild, +files/binlsrv.confd, +files/binlsrv.initd,
+ +files/setup.py, +metadata.xml:
+ Add net-misc/ris-linux, bug #365605
+
diff --git a/net-misc/ris-linux/Manifest b/net-misc/ris-linux/Manifest
new file mode 100644
index 000000000000..388eff7eddfd
--- /dev/null
+++ b/net-misc/ris-linux/Manifest
@@ -0,0 +1,7 @@
+AUX binlsrv.confd 90 RMD160 e29cf63634b4b784fbce0055c4fb703585338edc SHA1 44102e7cefadac02c02f16fe9f9feee5fe455f9b SHA256 6406706adacbe1dcfa106afa012fd6c1ec81834d51931248022529333ab609ba
+AUX binlsrv.initd 890 RMD160 466b41e51efa74b3f33ef25889a3e935b6773d62 SHA1 a5ebac6a3150beb9e3194e28c7e0e285490a70cf SHA256 5a71b622495117c105e0af35ecc1cb8afb8ea4bb858adff1faccf9e994eb4e1d
+AUX setup.py 204 RMD160 902870221cda17b34e80cd521fed88771929258c SHA1 9232ceec6d96a453a0ec1e4be579772a621a4d85 SHA256 67d2ac20a5ec88a2ebcaae642a49a36485eaea318ec75d4fb6aade5199592953
+DIST ris-linux-0.4.tar.gz 21634 RMD160 5b1cbcbc90434c8c2ebef9c0fb01673bdab11d50 SHA1 857eb00dcaaaa3c843e96b42124ce48ea2c19dff SHA256 196c7441f498154d1ae41ef4f1e5107296b7de39f345c763ccce2e913432ae19
+EBUILD ris-linux-0.4.ebuild 887 RMD160 240fa2a8e26dfd4fbd7c66177c0e782f8e84e370 SHA1 f244cb24c963e75cbd854e7eb2f6629c1720a634 SHA256 51abfb31215640b2dbb919bfc0b503348df4a00c903ab65aa67819f59de4ae62
+MISC ChangeLog 448 RMD160 1d6aee9e839be0a490c2fc79e5880e3c7a6b818e SHA1 330b450e237540372fbaa466d39d427efb4335ca SHA256 607e03ed4ca8faa34c512ae5ffdd61a39c412f594d4624afa4983c1e35e41942
+MISC metadata.xml 225 RMD160 49e9dce48b40db4e20315ba85b73e55473fc166b SHA1 17b574735f04646867187edc6ab1b2077edd8bfe SHA256 05b015e3affc82267a395da547c28d42b4f9134b5842af6bc3a840cebbef500f
diff --git a/net-misc/ris-linux/files/binlsrv.confd b/net-misc/ris-linux/files/binlsrv.confd
new file mode 100644
index 000000000000..2e6ed9f9090f
--- /dev/null
+++ b/net-misc/ris-linux/files/binlsrv.confd
@@ -0,0 +1,2 @@
+#Specify here path to directory with 'devlist.cache' file
+INFILE_PATH="/var/lib/ris/binl"
diff --git a/net-misc/ris-linux/files/binlsrv.initd b/net-misc/ris-linux/files/binlsrv.initd
new file mode 100644
index 000000000000..e5e504b213d7
--- /dev/null
+++ b/net-misc/ris-linux/files/binlsrv.initd
@@ -0,0 +1,31 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ris-linux/files/binlsrv.initd,v 1.1 2011/05/01 20:06:53 maksbotan Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting binlsrv"
+ if [ -z "$INFILE_PATH" ]; then
+ eerror "Path to devlist.cache not set, please set \$INFILE_PATH in /etc/conf.d/binlsrv"
+ return 1
+ fi
+ if [ ! -e "$INFILE_PATH/devlist.cache" ]; then
+ eerror "devlist.cache not generated, please make it with infparser.py"
+ fi
+
+ start-stop-daemon --start -i --exec /usr/bin/binlsrv.py --background \
+ --make-pidfile --pidfile /var/run/binlsrv.pid --chdir "$INFILE_PATH" \
+ --stdout /var/log/binlsrv.log
+
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping binlsrv"
+ start-stop-daemon --stop -i --exec /usr/bin/binlsrv.py --pidfile /var/run/binlsrv.pid
+ eend $?
+} \ No newline at end of file
diff --git a/net-misc/ris-linux/files/setup.py b/net-misc/ris-linux/files/setup.py
new file mode 100644
index 000000000000..0873f2512c99
--- /dev/null
+++ b/net-misc/ris-linux/files/setup.py
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+
+from distutils.core import setup
+
+setup(
+ name = 'ris-linux',
+ version = 'VERSION',
+ scripts = [ 'binlsrv.py', 'decode.py', 'infparser.py', 'fixloader.py', 'modldr.py' ]
+)
diff --git a/net-misc/ris-linux/metadata.xml b/net-misc/ris-linux/metadata.xml
new file mode 100644
index 000000000000..ba92e3f0b6db
--- /dev/null
+++ b/net-misc/ris-linux/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>maksbotan@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-misc/ris-linux/ris-linux-0.4.ebuild b/net-misc/ris-linux/ris-linux-0.4.ebuild
new file mode 100644
index 000000000000..4e8441629b63
--- /dev/null
+++ b/net-misc/ris-linux/ris-linux-0.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ris-linux/ris-linux-0.4.ebuild,v 1.1 2011/05/01 20:06:53 maksbotan Exp $
+
+EAPI=3
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils python
+
+DESCRIPTION="BINL server to doing Windows(r) RIS"
+HOMEPAGE="http://oss.netfarm.it/guides/pxe.php"
+SRC_URI="http://oss.netfarm.it/guides/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ || ( net-ftp/atftp net-ftp/tftp-hpa )
+ net-misc/dhcp
+ net-fs/samba
+ sys-boot/syslinux"
+
+src_prepare(){
+ sed "s:VERSION:${PV}:" "${FILESDIR}"/setup.py > "${S}"/setup.py
+ distutils_src_prepare
+}
+
+src_install() {
+ distutils_src_install
+
+ newinitd "${FILESDIR}"/binlsrv.initd binlsrv
+ newconfd "${FILESDIR}"/binlsrv.confd binlsrv
+}