summaryrefslogtreecommitdiff
path: root/app-admin/radmind
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-admin/radmind
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/radmind')
-rw-r--r--app-admin/radmind/Manifest7
-rw-r--r--app-admin/radmind/files/radmind-1.14.0-parallel-make.patch50
-rw-r--r--app-admin/radmind/files/radmind-1.14.1-glibc225.patch22
-rw-r--r--app-admin/radmind/files/radmind-1.7.0-gentoo.patch29
-rw-r--r--app-admin/radmind/files/radmind-1.7.1-dnssd.patch22
-rw-r--r--app-admin/radmind/metadata.xml10
-rw-r--r--app-admin/radmind/radmind-1.14.1-r1.ebuild34
7 files changed, 174 insertions, 0 deletions
diff --git a/app-admin/radmind/Manifest b/app-admin/radmind/Manifest
new file mode 100644
index 000000000000..5f1d4ef6ca12
--- /dev/null
+++ b/app-admin/radmind/Manifest
@@ -0,0 +1,7 @@
+AUX radmind-1.14.0-parallel-make.patch 1447 BLAKE2B 875034aeadbd247e2578f3bcedb8384782b1825d9e8c92e48af51fd6216faede28d5c4d89888103468f2056f3955ec31f8fcfd8335419b3111791524c30e9f06 SHA512 6fc839a6a626dd4a3366fc85b185f4f0e944e21a8ad3ab4763f290d15c0ed8dbba3919f19f74f7b2a9e59709b017c6ec9e9c2baab7b31b24fc4c212e3b504c4a
+AUX radmind-1.14.1-glibc225.patch 709 BLAKE2B 48890c31f0b2f4a8945f8cbf9c02cf842744949be10355f3f2b6aee0f56bfe9847b7293524151c72a5ed93e1fa1ca1957261c8b7d000668e4d10fed8bd5154b8 SHA512 faba25648305e3c5374f37037cf61f22bc2e6d1a3f40395e988f00f6c2335cd22fe962d0a9a6ae3ccfd879afb05965916f8f333fb677e89e7b7080f5c977a3b0
+AUX radmind-1.7.0-gentoo.patch 850 BLAKE2B 3ad977b414913caa868e6bb967f73fb0920c2a59fe91f22617f27aec89a7750e0b3b67cf8eaa383d3b3a5326f1033346b507ec46bfdb48fafda0a1551da549e5 SHA512 9eb98ce293fa9c1dae22ec596353deae2e9262427ead062890ef7848fb5fdff1e061b4bacef681465eee2b17d06c371b01c12e547538e0b9385ebfffb9b46a72
+AUX radmind-1.7.1-dnssd.patch 493 BLAKE2B 8c431769b3908b6961380d5da1b54a64cc10ed00c77900f08a680a5782df0b204cf63be9155ba62fea1d637e4ae7ffe84ce1e2745ae0488e4fcab2ff3faad6f1 SHA512 95577070b42d8abc754c1ae235a8d40bd15acbea71b560a8defd69f2becf8c89b592420d872b93409eb142731b7ea0a5180394218ed440d7d633a6e004b7aaa7
+DIST radmind-1.14.1.tar.gz 403553 BLAKE2B ea89c7c28714134df3d9f9ab522c4499590f5f08f3b5d6c0d02c750ee896922720d66e4f08dac70fe93933da0fa5d8776fdf0f7d32b926d76ece27cbcedb87ad SHA512 bccf9681a6899be3b500065237dd1e04cd83ffb6f9be0e355412e7b0c556325f7d13435cec65a8a5e156e4411da915744f01a615472f6361d52c4d54d8be20eb
+EBUILD radmind-1.14.1-r1.ebuild 827 BLAKE2B d2165ad597c05eb169f8ed4b45bf6e7baae6c02a5b4c463c39e5724ce34a5b1dfcb716faa42e52626b3305c29fd3147fa5a92d3bfcaeb6be45eef833aa2e736e SHA512 d98f6ad920a8fc0e0c61979af4414877a6a0318842e13c27337dd55229b4ee6137a425858881b7fa46e7b8f7cd06f6fcf9e343220a6e60a9df384af43b68780a
+MISC metadata.xml 404 BLAKE2B 365cee5ab102123ebee500dc96ba31bc9b47b9e415c1a6b5f682adc011d62f460a09174888f444ecdd6136b86843a55aa64ab15dd9e7af00ffa628099b87b261 SHA512 cac73072027c59e6e34a3eee8cb602d72601306e5f1d8d4b4214d12b900320f0f7cc7f4a8f0a6590e2f6286799d0f96d3edf5c14d85b4f586ae9ad1293138577
diff --git a/app-admin/radmind/files/radmind-1.14.0-parallel-make.patch b/app-admin/radmind/files/radmind-1.14.0-parallel-make.patch
new file mode 100644
index 000000000000..63c52ba33066
--- /dev/null
+++ b/app-admin/radmind/files/radmind-1.14.0-parallel-make.patch
@@ -0,0 +1,50 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -204,37 +204,37 @@
+ radmind : libsnet/libsnet.la ${RADMIND_OBJ} Makefile
+ ${CC} ${CFLAGS} -o radmind ${RADMIND_OBJ} ${LDFLAGS}
+
+-fsdiff : ${FSDIFF_OBJ}
++fsdiff : libsnet/libsnet.la ${FSDIFF_OBJ}
+ ${CC} ${CFLAGS} -o fsdiff ${FSDIFF_OBJ} ${LDFLAGS}
+
+-ktcheck: ${KTCHECK_OBJ}
++ktcheck: libsnet/libsnet.la ${KTCHECK_OBJ}
+ ${CC} ${CFLAGS} -o ktcheck ${KTCHECK_OBJ} ${LDFLAGS}
+
+-lapply: ${LAPPLY_OBJ}
++lapply: libsnet/libsnet.la ${LAPPLY_OBJ}
+ ${CC} ${CFLAGS} -o lapply ${LAPPLY_OBJ} ${LDFLAGS}
+
+-lcksum: ${LCKSUM_OBJ}
++lcksum: libsnet/libsnet.la ${LCKSUM_OBJ}
+ ${CC} ${CFLAGS} -o lcksum ${LCKSUM_OBJ} ${LDFLAGS}
+
+-lcreate: ${LCREATE_OBJ}
++lcreate: libsnet/libsnet.la ${LCREATE_OBJ}
+ ${CC} ${CFLAGS} -o lcreate ${LCREATE_OBJ} ${LDFLAGS}
+
+-lmerge: ${LMERGE_OBJ}
++lmerge: libsnet/libsnet.la ${LMERGE_OBJ}
+ ${CC} ${CFLAGS} -o lmerge ${LMERGE_OBJ} ${LDFLAGS}
+
+-lfdiff: ${LFDIFF_OBJ}
++lfdiff: libsnet/libsnet.la ${LFDIFF_OBJ}
+ ${CC} ${CFLAGS} -o lfdiff ${LFDIFF_OBJ} ${LDFLAGS}
+
+-repo : ${REPO_OBJ}
++repo: libsnet/libsnet.la ${REPO_OBJ}
+ ${CC} ${CFLAGS} -o repo ${REPO_OBJ} ${LDFLAGS}
+
+ t2pkg: ${T2PKG_OBJ}
+ ${CC} ${CFLAGS} -o t2pkg ${T2PKG_OBJ} ${LDFLAGS}
+
+-twhich: ${TWHICH_OBJ}
++twhich: libsnet/libsnet.la ${TWHICH_OBJ}
+ ${CC} ${CFLAGS} -o twhich ${TWHICH_OBJ} ${LDFLAGS}
+
+-lsort: ${LSORT_OBJ}
++lsort: libsnet/libsnet.la ${LSORT_OBJ}
+ ${CC} ${CFLAGS} -o lsort ${LSORT_OBJ} ${LDFLAGS}
+
+ FRC :
diff --git a/app-admin/radmind/files/radmind-1.14.1-glibc225.patch b/app-admin/radmind/files/radmind-1.14.1-glibc225.patch
new file mode 100644
index 000000000000..60ff5925ae11
--- /dev/null
+++ b/app-admin/radmind/files/radmind-1.14.1-glibc225.patch
@@ -0,0 +1,22 @@
+diff -ruN radmind-1.14.1.orig/transcript.c radmind-1.14.1/transcript.c
+--- radmind-1.14.1.orig/transcript.c 2010-12-13 04:42:49.000000000 +0100
++++ radmind-1.14.1/transcript.c 2017-10-20 23:07:47.126110238 +0200
+@@ -6,6 +6,7 @@
+ #include "config.h"
+
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/param.h>
+ #ifdef sun
+ #include <sys/mkdev.h>
+diff -ruN radmind-1.14.1.orig/update.c radmind-1.14.1/update.c
+--- radmind-1.14.1.orig/update.c 2010-12-13 04:42:49.000000000 +0100
++++ radmind-1.14.1/update.c 2017-10-20 23:07:29.173898776 +0200
+@@ -6,6 +6,7 @@
+ #include "config.h"
+
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/stat.h>
+ #include <sys/param.h>
+ #ifdef sun
diff --git a/app-admin/radmind/files/radmind-1.7.0-gentoo.patch b/app-admin/radmind/files/radmind-1.7.0-gentoo.patch
new file mode 100644
index 000000000000..1734abdb51be
--- /dev/null
+++ b/app-admin/radmind/files/radmind-1.7.0-gentoo.patch
@@ -0,0 +1,29 @@
+diff -Naur radmind-1.5.0/radmind.conf radmind-1.5.0-r1/radmind.conf
+--- radmind-1.5.0/radmind.conf 1970-01-01 01:00:00.000000000 +0100
++++ radmind-1.5.0-r1/radmind.conf 2005-02-24 23:04:12.379193384 +0100
+@@ -0,0 +1,3 @@
++# chose server dir here
++# RADMIND_PATH="/srv/radmind"
++# RADMIND_OPTS="-D ${RADMIND_PATH} -p 6666"
+diff -Naur radmind-1.5.0/rc.radmind radmind-1.5.0-r1/rc.radmind
+--- radmind-1.5.0/rc.radmind 1970-01-01 01:00:00.000000000 +0100
++++ radmind-1.5.0-r1/rc.radmind 2005-02-24 23:04:12.379193384 +0100
+@@ -0,0 +1,18 @@
++#!/sbin/openrc-run
++
++depend (){
++ need net
++}
++
++start(){
++ ebegin "Starting radmind server"
++ start-stop-daemon --start --quiet --exec /usr/sbin/radmind \
++ -- ${RADMIND_OPTS}
++ eend $?
++}
++
++stop() {
++ ebegin "Stopping radmind"
++ start-stop-daemon --stop --quiet --exec /usr/sbin/radmind
++ eend $?
++}
diff --git a/app-admin/radmind/files/radmind-1.7.1-dnssd.patch b/app-admin/radmind/files/radmind-1.7.1-dnssd.patch
new file mode 100644
index 000000000000..fe71ee013d1b
--- /dev/null
+++ b/app-admin/radmind/files/radmind-1.7.1-dnssd.patch
@@ -0,0 +1,22 @@
+diff -ru radmind-1.7.1~/configure radmind-1.7.1/configure
+--- radmind-1.7.1~/configure 2007-02-10 19:20:01.000000000 +0100
++++ radmind-1.7.1/configure 2007-02-10 19:22:04.000000000 +0100
+@@ -5265,12 +5265,12 @@
+ echo "${ECHO_T}$ac_cv_header_dns_sd_h" >&6
+
+ fi
+-if test $ac_cv_header_dns_sd_h = yes; then
+- cat >>confdefs.h <<\_ACEOF
+-#define HAVE_DNSSD 1
+-_ACEOF
+-
+-fi
++#if test $ac_cv_header_dns_sd_h = yes; then
++# cat >>confdefs.h <<\_ACEOF
++##define HAVE_DNSSD 1
++#_ACEOF
++#
++#fi
+
+
+
diff --git a/app-admin/radmind/metadata.xml b/app-admin/radmind/metadata.xml
new file mode 100644
index 000000000000..482e81520aa1
--- /dev/null
+++ b/app-admin/radmind/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>A suite of Unix command-line tools and a server designed to remotely administer
+the file systems of multiple Unix machines.</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">radmind</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-admin/radmind/radmind-1.14.1-r1.ebuild b/app-admin/radmind/radmind-1.14.1-r1.ebuild
new file mode 100644
index 000000000000..f571df699003
--- /dev/null
+++ b/app-admin/radmind/radmind-1.14.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="command-line tools and server to remotely administer multiple Unix filesystems"
+HOMEPAGE="http://rsug.itd.umich.edu/software/radmind/"
+SRC_URI="mirror://sourceforge/radmind/${P}.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="libressl"
+
+DEPEND="
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )"
+RDEPEND="${DEPEND}
+ !dev-util/repo"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.7.0-gentoo.patch
+ # remove dnssd as it doesn't compile
+ epatch "${FILESDIR}"/${PN}-1.7.1-dnssd.patch
+ epatch "${FILESDIR}"/${PN}-1.14.0-parallel-make.patch
+ epatch "${FILESDIR}"/${PN}-1.14.1-glibc225.patch
+}
+
+src_install() {
+ default
+ dodoc README VERSION COPYRIGHT
+}