summaryrefslogtreecommitdiff
path: root/net-misc
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-07-21 02:45:33 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-07-21 02:46:32 +1000
commit8b872eb02eb5bd8da3f413269a6eb6160dac8fe1 (patch)
tree58d13e91f104a77d6cb4dcca3bd5b057cb2c37a4 /net-misc
parent5fbcfca593c770137b497eb2dc977cfdeb1e265b (diff)
downloadgentoo-8b872eb02eb5bd8da3f413269a6eb6160dac8fe1.tar.gz
gentoo-8b872eb02eb5bd8da3f413269a6eb6160dac8fe1.tar.xz
net-misc/mdidentd: remove last rited package
Gentoo-bug: 586348
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/mdidentd/Manifest1
-rw-r--r--net-misc/mdidentd/files/1.04a-glibc210.patch32
-rw-r--r--net-misc/mdidentd/files/1.04a-pidfile.patch17
-rw-r--r--net-misc/mdidentd/files/1.04a-security.patch77
-rw-r--r--net-misc/mdidentd/files/mdidentd.conf.d3
-rw-r--r--net-misc/mdidentd/files/mdidentd.init.d21
-rw-r--r--net-misc/mdidentd/mdidentd-1.04c-r1.ebuild50
-rw-r--r--net-misc/mdidentd/metadata.xml5
8 files changed, 0 insertions, 206 deletions
diff --git a/net-misc/mdidentd/Manifest b/net-misc/mdidentd/Manifest
deleted file mode 100644
index 2b87fcc329b..00000000000
--- a/net-misc/mdidentd/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ezbounce-1.04c.tar.gz 192630 SHA256 5be7b903e3682aee9d1758f60957486e4aa08da717fc763caab1415454eaebd8 SHA512 2c0bfbb71a269eb01fb7b75f52070218271fb65a6fae0a38d057c13087ccba294084297ab4e766872a029a188912bf8b5fbf33edf3d2719152650b3c689bfdab WHIRLPOOL 0d732d13021b787b5eccc59a6213afbd1a833fe970caab86ba92e501a2a370ad4c8ba4acbb67e22e378e6d4d8071de7d9408665e10ec52616fc675c7b0315567
diff --git a/net-misc/mdidentd/files/1.04a-glibc210.patch b/net-misc/mdidentd/files/1.04a-glibc210.patch
deleted file mode 100644
index 9f059cef330..00000000000
--- a/net-misc/mdidentd/files/1.04a-glibc210.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -NrU5 ezbounce-1.04c.original/lib/general.cpp ezbounce-1.04c/lib/general.cpp
---- ezbounce-1.04c.original/lib/general.cpp 2009-08-08 18:50:44.000000000 -0600
-+++ ezbounce-1.04c/lib/general.cpp 2009-08-08 18:55:30.000000000 -0600
-@@ -366,11 +366,11 @@
- while (*p == sep)
- p++;
- do {
- if (numfound == which && *p)
- {
-- char * next = strchr(p, sep);
-+ const char * next = strchr(p, sep);
- if ((get_rest && buffer) || (!next /* && *(p+1) */) )
- {
- if (buffer)
- safe_strcpy(buffer, p, maxsize);
- return 1;
-diff -NrU5 ezbounce-1.04c.original/mdidentd/identd.cpp ezbounce-1.04c/mdidentd/identd.cpp
---- ezbounce-1.04c.original/mdidentd/identd.cpp 2009-08-08 18:50:44.000000000 -0600
-+++ ezbounce-1.04c/mdidentd/identd.cpp 2009-08-08 19:00:08.000000000 -0600
-@@ -739,11 +739,11 @@
- while (*p == sep)
- p++;
- do {
- if (numfound == which && *p)
- {
-- char * next = strchr(p, sep);
-+ const char * next = strchr(p, sep);
- if ((get_rest && buffer) || (!next /* && *(p+1) */) )
- {
- if (buffer)
- safe_strcpy(buffer, p, maxsize);
- return 1;
diff --git a/net-misc/mdidentd/files/1.04a-pidfile.patch b/net-misc/mdidentd/files/1.04a-pidfile.patch
deleted file mode 100644
index ec75f22b85b..00000000000
--- a/net-misc/mdidentd/files/1.04a-pidfile.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- mdidentd/identd.cpp.orig 2003-11-03 19:21:50.175424408 -0500
-+++ mdidentd/identd.cpp 2003-11-03 19:25:05.683702632 -0500
-@@ -709,6 +709,14 @@
- return -1;
-
- default:
-+ FILE *pidfile;
-+ /* make the pid file */
-+ pidfile = fopen("/var/run/mdidentd.pid", "w");
-+ if (pidfile) {
-+ fprintf(pidfile, "%i", xx);
-+ fclose(pidfile);
-+ } else
-+ perror("Could not write pidfile");
- return xx;
-
- }
diff --git a/net-misc/mdidentd/files/1.04a-security.patch b/net-misc/mdidentd/files/1.04a-security.patch
deleted file mode 100644
index 70815d38434..00000000000
--- a/net-misc/mdidentd/files/1.04a-security.patch
+++ /dev/null
@@ -1,77 +0,0 @@
---- ezbounce-1.04a/mdidentd/identd.cpp
-+++ ezbounce-1.04a/mdidentd/identd.cpp 2003-10-20 20:23:26.000000000 +0000
-@@ -44,6 +44,7 @@
-
- #include <unistd.h>
- #include <sys/socket.h>
-+#include <pwd.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <arpa/inet.h>
-@@ -76,6 +77,7 @@
- static bool foreground, auto_kill; /* Some options */
- bool no_real;
- static uid_t uid; /* Become this user after binding sock */
-+static gid_t gid; /* Primary group of uid */
- static unsigned int hard_limit; /* Max # of fake idents */
- static unsigned int num_conns;
- static unsigned int num_unix;
-@@ -179,10 +181,16 @@
- id = argv[y+1];
- if (!id)
- {
-- fprintf(stderr, "Option '-u' requires numeric user id to follow it\n");
-+ fprintf(stderr, "Option '-u' requires user id to follow it\n");
- exit(1);
- }
-- uid = (uid_t) atoi(id);
-+ struct passwd *pw_ent;
-+ if (!(pw_ent = getpwnam(id))) {
-+ fprintf(stderr, "Option '-u' requires valid user id to follow it\n");
-+ exit(1);
-+ }
-+ uid = pw_ent->pw_uid;
-+ gid = pw_ent->pw_gid;
- y++;
- break;
- case 'h':
-@@ -277,9 +285,6 @@
- unix_listen_fd = -1;
- return 0;
- }
-- /* Must make it world writable if we expect to receive connections
-- on it */
-- fchmod(unix_listen_fd, 0777);
- return 1;
- }
-
-@@ -396,7 +401,7 @@
- * see if matches any of our fake ones, if not..
- * its time to load the user's other identd.
- *
-- * Currently replies system name as 'OTHER'.
-+ * Currently replies system name as 'UNIX'.
- */
- static int reply(conn * c)
- {
-@@ -422,8 +427,8 @@
- if (table->lookup(p1, p2, ident, sizeof(ident)))
- {
- syslog(LOG_INFO, "Request from %s for: %d , %d ", inet_ntoa(sin.sin_addr), p1, p2);
-- syslog(LOG_INFO, "(fake) reply: %d, %d : USERID : OTHER :%s", p1, p2, ident);
-- fdprintf(c->fd, "%d , %d : USERID : OTHER :%s\r\n",
-+ syslog(LOG_INFO, "(fake) reply: %d , %d : USERID : UNIX : %s", p1, p2, ident);
-+ fdprintf(c->fd, "%d , %d : USERID : UNIX : %s\r\n",
- p1, p2, ident);
- if (auto_kill)
- table->remove(p1, p2, ident);
-@@ -491,7 +496,8 @@
- /* we already did this. but it doesn't work. i dunno why.
- * i am messing up somwhere. dunno where. but we will do it again.
- * and it will work. so there!! */
-- chmod(MDIDENTD_SOCK_PATH, 0777);
-+ chmod(MDIDENTD_SOCK_PATH, 0770);
-+ chown(MDIDENTD_SOCK_PATH, uid, gid);
- #ifndef NOFORK
- if (!foreground)
- {
diff --git a/net-misc/mdidentd/files/mdidentd.conf.d b/net-misc/mdidentd/files/mdidentd.conf.d
deleted file mode 100644
index 4b7793565ce..00000000000
--- a/net-misc/mdidentd/files/mdidentd.conf.d
+++ /dev/null
@@ -1,3 +0,0 @@
-# /etc/conf.d/mdidentd: config file for /etc/init.d/mdidentd
-
-MDIDENTD_UID=mdidentd
diff --git a/net-misc/mdidentd/files/mdidentd.init.d b/net-misc/mdidentd/files/mdidentd.init.d
deleted file mode 100644
index 8144c09c94b..00000000000
--- a/net-misc/mdidentd/files/mdidentd.init.d
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting mdidentd"
- /usr/sbin/mdidentd -u ${MDIDENTD_UID} -kr /usr/sbin/mdidentd
- eend $?
-}
-
-stop() {
- ebegin "Stopping mdidentd"
- kill $(</var/run/mdidentd.pid)
- eend $?
- rm -f /var/run/mdidentd.pid
-}
diff --git a/net-misc/mdidentd/mdidentd-1.04c-r1.ebuild b/net-misc/mdidentd/mdidentd-1.04c-r1.ebuild
deleted file mode 100644
index 8dd559ef277..00000000000
--- a/net-misc/mdidentd/mdidentd-1.04c-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit user
-
-DESCRIPTION="This is an identd with provides registering of idents"
-HOMEPAGE="http://druglord.freelsd.org/ezbounce/"
-SRC_URI="http://druglord.freelsd.org/ezbounce/files/ezbounce-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="ssl"
-
-DEPEND="ssl? ( dev-libs/openssl )"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/ezbounce-${PV}
-
-pkg_setup() {
- enewgroup mdidentd
- enewuser mdidentd -1 -1 /dev/null mdidentd
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/1.04a-security.patch
- eapply -p0 "${FILESDIR}"/1.04a-pidfile.patch
- eapply -p1 "${FILESDIR}"/1.04a-glibc210.patch
-
- default
-}
-
-src_configure() {
- econf $(use_with ssl)
-}
-
-src_compile() {
- emake CXX="$(tc-getCXX)" -C mdidentd CXX_OPTIMIZATIONS="${CXXFLAGS}"
-}
-
-src_install() {
- dosbin mdidentd/mdidentd
- dodoc mdidentd/README
-
- newinitd "${FILESDIR}"/mdidentd.init.d mdidentd
- newconfd "${FILESDIR}"/mdidentd.conf.d mdidentd
-}
diff --git a/net-misc/mdidentd/metadata.xml b/net-misc/mdidentd/metadata.xml
deleted file mode 100644
index 6f49eba8f49..00000000000
--- a/net-misc/mdidentd/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>