net-misc/raccess: removal.
authorPatrice Clement <monsieurp@gentoo.org>
Wed, 15 Feb 2017 22:53:56 +0000 (23:53 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 15 Feb 2017 23:00:17 +0000 (00:00 +0100)
net-misc/raccess/Manifest [deleted file]
net-misc/raccess/files/raccess-0.7-glibc210.patch [deleted file]
net-misc/raccess/files/raccess-0.7-r1-asneeded.patch [deleted file]
net-misc/raccess/metadata.xml [deleted file]
net-misc/raccess/raccess-0.7.ebuild [deleted file]

diff --git a/net-misc/raccess/Manifest b/net-misc/raccess/Manifest
deleted file mode 100644 (file)
index 09aeee8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-DIST raccess-0.7.tar.gz 228067 SHA256 df48138333e674aea7b76f00ca67fccae74af9972ddd421c1c959ea2aaa34a50 SHA512 610c0d4cebf5130eb2de4b64e76ff55210645331ce8a24b6a3e6975f456b6f447e737a59634a052e5bacf74cb300b6ef02d95a5ab133d2af5f7e239ee006675d WHIRLPOOL e0b95536c2204fedfc6a2b73ef2fb4c496487ba7f96c4f58e269d4218f8b746e7f36bc01d8dcfb2397e5b38402d29015fa293df316786cbe2646e42cb6c1ba18
diff --git a/net-misc/raccess/files/raccess-0.7-glibc210.patch b/net-misc/raccess/files/raccess-0.7-glibc210.patch
deleted file mode 100644 (file)
index 2ffb566..0000000
+++ /dev/null
@@ -1,585 +0,0 @@
-diff -NrU5 raccess-0.7.original/exploits/wu2.5.0a.c raccess-0.7/exploits/wu2.5.0a.c
---- raccess-0.7.original/exploits/wu2.5.0a.c   2009-07-08 17:55:35.000000000 +0000
-+++ raccess-0.7/exploits/wu2.5.0a.c    2009-07-08 18:09:23.000000000 +0000
-@@ -104,11 +104,11 @@
- int     xconnect (int  sockfd,  struct sockaddr *serv_addr, int addrlen);\r
- void    sighandler (int signal);\r
- struct hostent  *xgethostbyname (const char *name);\r
- struct hostent  *xgethostbyaddr (const char *addr, int len, int type);\r
- void    putserv (const char *fmt, ...);\r
--char    *getline (void);\r
-+char    *get_line (void);\r
- char    *getmsg (const char *msg);\r
- int     wuftpd_250_sploitit (void);\r
- dirptr  newdir (char *name);\r
- char    *getdir (char *stat);\r
- char    *int2char (int addr);\r
-@@ -759,16 +759,16 @@
- }\r
\r
- #define LINEBUFLEN 8192\r
- char    linebuf[LINEBUFLEN];  /* saves us free()ing trouble. */\r
\r
--/* getline\r
-+/* get_line\r
-  *\r
-  * get next line from server or local buffer\r
-  */\r
- char *\r
--getline (void)\r
-+get_line (void)\r
- {\r
-   char    y[2];\r
-   int     i = 0;\r
\r
-   memset (linebuf, '\0', sizeof (linebuf));\r
-@@ -776,11 +776,11 @@
\r
-   while (strncmp (y, "\n", 1) != 0)\r
-     {\r
-       if (i > (sizeof (linebuf) + 2))\r
-         {\r
--          err (0, "getline() buffer full");\r
-+          err (0, "get_line() buffer full");\r
-         }\r
-       i += xread (fd, y, 1);\r
-       strcat (linebuf, y);\r
-     }\r
\r
-@@ -835,11 +835,11 @@
-   char    *line;\r
-   int     i = strlen (msg);\r
\r
-   do\r
-     {\r
--      line = getline ();\r
-+      line = get_line ();\r
-     }\r
-   while (strncmp (line, msg, i) != 0 && strncmp (line, "5", 1) != 0);\r
\r
-   return (line);\r
- }\r
-@@ -919,11 +919,11 @@
-   nostat = 0;\r
-   putserv ("STAT .\n");\r
\r
-   while (strncmp (line, "213 ", 4) != 0)\r
-     {\r
--      line = getline ();\r
-+      line = get_line ();\r
-       tmp = getdir (line);\r
\r
-       if (tmp == NULL)\r
-         continue;\r
-       if (dirroot == NULL)\r
-@@ -1279,14 +1279,14 @@
-           break;\r
-         }\r
\r
-       string[tesopt.dirlen] = 0;\r
-       putserv ("MKD %s\n", string);\r
--      getline ();\r
-+      get_line ();\r
\r
-       putserv ("CWD %s\n", string);\r
--      getline ();\r
-+      get_line ();\r
-     }\r
\r
-   getpwd ();\r
-   disp = 1;\r
\r
-@@ -1318,11 +1318,11 @@
\r
-   if (strlen (string) < 20)\r
-     err (0, "cwd string too short.. check for 0x0's.\n");\r
\r
-   putserv ("CWD %s\n", string);\r
--  getline ();\r
-+  get_line ();\r
\r
-   /************ jmpbuf ***********/\r
\r
-   if (debug > 0)\r
-     printf ("Sending jmpbuf\n");\r
-@@ -1334,11 +1334,11 @@
-   if (strlen (string) != 32)\r
-     err (0, "jmpbuf string too short.. check for 0x0's.\n");\r
\r
-   putserv ("%s\n", string);\r
\r
--  getline ();\r
-+  get_line ();\r
\r
-   return (1);\r
- }\r
\r
- /* shell\r
-diff -NrU5 raccess-0.7.original/exploits/wu2.5.0b.c raccess-0.7/exploits/wu2.5.0b.c
---- raccess-0.7.original/exploits/wu2.5.0b.c   2009-07-08 17:55:35.000000000 +0000
-+++ raccess-0.7/exploits/wu2.5.0b.c    2009-07-08 18:12:44.000000000 +0000
-@@ -104,11 +104,11 @@
- int     xconnect (int  sockfd,  struct sockaddr *serv_addr, int addrlen);\r
- void    sighandler (int signal);\r
- struct hostent  *xgethostbyname (const char *name);\r
- struct hostent  *xgethostbyaddr (const char *addr, int len, int type);\r
- void    putserv (const char *fmt, ...);\r
--char    *getline (void);\r
-+char    *get_line (void);\r
- char    *getmsg (const char *msg);\r
- int     wuftpd_250_sploitit (void);\r
- dirptr  newdir (char *name);\r
- char    *getdir (char *stat);\r
- char    *int2char (int addr);\r
-@@ -759,16 +759,16 @@
- }\r
\r
- #define LINEBUFLEN 8192\r
- char    linebuf[LINEBUFLEN];  /* saves us free()ing trouble. */\r
\r
--/* getline\r
-+/* get_line\r
-  *\r
-  * get next line from server or local buffer\r
-  */\r
- char *\r
--getline (void)\r
-+get_line (void)\r
- {\r
-   char    y[2];\r
-   int     i = 0;\r
\r
-   memset (linebuf, '\0', sizeof (linebuf));\r
-@@ -776,11 +776,11 @@
\r
-   while (strncmp (y, "\n", 1) != 0)\r
-     {\r
-       if (i > (sizeof (linebuf) + 2))\r
-         {\r
--          err (0, "getline() buffer full");\r
-+          err (0, "get_line() buffer full");\r
-         }\r
-       i += xread (fd, y, 1);\r
-       strcat (linebuf, y);\r
-     }\r
\r
-@@ -835,11 +835,11 @@
-   char    *line;\r
-   int     i = strlen (msg);\r
\r
-   do\r
-     {\r
--      line = getline ();\r
-+      line = get_line ();\r
-     }\r
-   while (strncmp (line, msg, i) != 0 && strncmp (line, "5", 1) != 0);\r
\r
-   return (line);\r
- }\r
-@@ -919,11 +919,11 @@
-   nostat = 0;\r
-   putserv ("STAT .\n");\r
\r
-   while (strncmp (line, "213 ", 4) != 0)\r
-     {\r
--      line = getline ();\r
-+      line = get_line ();\r
-       tmp = getdir (line);\r
\r
-       if (tmp == NULL)\r
-         continue;\r
-       if (dirroot == NULL)\r
-@@ -1279,14 +1279,14 @@
-           break;\r
-         }\r
\r
-       string[tesopt.dirlen] = 0;\r
-       putserv ("MKD %s\n", string);\r
--      getline ();\r
-+      get_line ();\r
\r
-       putserv ("CWD %s\n", string);\r
--      getline ();\r
-+      get_line ();\r
-     }\r
\r
-   getpwd ();\r
-   disp = 1;\r
\r
-@@ -1318,11 +1318,11 @@
\r
-   if (strlen (string) < 20)\r
-     err (0, "cwd string too short.. check for 0x0's.\n");\r
\r
-   putserv ("CWD %s\n", string);\r
--  getline ();\r
-+  get_line ();\r
\r
-   /************ jmpbuf ***********/\r
\r
-   if (debug > 0)\r
-     printf ("Sending jmpbuf\n");\r
-@@ -1334,11 +1334,11 @@
-   if (strlen (string) != 32)\r
-     err (0, "jmpbuf string too short.. check for 0x0's.\n");\r
\r
-   putserv ("%s\n", string);\r
\r
--  getline ();\r
-+  get_line ();\r
\r
-   return (1);\r
- }\r
\r
- /* shell\r
-diff -NrU5 raccess-0.7.original/exploits/wu2.5.0c.c raccess-0.7/exploits/wu2.5.0c.c
---- raccess-0.7.original/exploits/wu2.5.0c.c   2009-07-08 17:55:35.000000000 +0000
-+++ raccess-0.7/exploits/wu2.5.0c.c    2009-07-08 18:14:14.000000000 +0000
-@@ -104,11 +104,11 @@
- int     xconnect (int  sockfd,  struct sockaddr *serv_addr, int addrlen);\r
- void    sighandler (int signal);\r
- struct hostent  *xgethostbyname (const char *name);\r
- struct hostent  *xgethostbyaddr (const char *addr, int len, int type);\r
- void    putserv (const char *fmt, ...);\r
--char    *getline (void);\r
-+char    *get_line (void);\r
- char    *getmsg (const char *msg);\r
- int     wuftpd_250_sploitit (void);\r
- dirptr  newdir (char *name);\r
- char    *getdir (char *stat);\r
- char    *int2char (int addr);\r
-@@ -759,16 +759,16 @@
- }\r
\r
- #define LINEBUFLEN 8192\r
- char    linebuf[LINEBUFLEN];  /* saves us free()ing trouble. */\r
\r
--/* getline\r
-+/* get_line\r
-  *\r
-  * get next line from server or local buffer\r
-  */\r
- char *\r
--getline (void)\r
-+get_line (void)\r
- {\r
-   char    y[2];\r
-   int     i = 0;\r
\r
-   memset (linebuf, '\0', sizeof (linebuf));\r
-@@ -776,11 +776,11 @@
\r
-   while (strncmp (y, "\n", 1) != 0)\r
-     {\r
-       if (i > (sizeof (linebuf) + 2))\r
-         {\r
--          err (0, "getline() buffer full");\r
-+          err (0, "get_line() buffer full");\r
-         }\r
-       i += xread (fd, y, 1);\r
-       strcat (linebuf, y);\r
-     }\r
\r
-@@ -835,11 +835,11 @@
-   char    *line;\r
-   int     i = strlen (msg);\r
\r
-   do\r
-     {\r
--      line = getline ();\r
-+      line = get_line ();\r
-     }\r
-   while (strncmp (line, msg, i) != 0 && strncmp (line, "5", 1) != 0);\r
\r
-   return (line);\r
- }\r
-@@ -919,11 +919,11 @@
-   nostat = 0;\r
-   putserv ("STAT .\n");\r
\r
-   while (strncmp (line, "213 ", 4) != 0)\r
-     {\r
--      line = getline ();\r
-+      line = get_line ();\r
-       tmp = getdir (line);\r
\r
-       if (tmp == NULL)\r
-         continue;\r
-       if (dirroot == NULL)\r
-@@ -1279,14 +1279,14 @@
-           break;\r
-         }\r
\r
-       string[tesopt.dirlen] = 0;\r
-       putserv ("MKD %s\n", string);\r
--      getline ();\r
-+      get_line ();\r
\r
-       putserv ("CWD %s\n", string);\r
--      getline ();\r
-+      get_line ();\r
-     }\r
\r
-   getpwd ();\r
-   disp = 1;\r
\r
-@@ -1318,11 +1318,11 @@
\r
-   if (strlen (string) < 20)\r
-     err (0, "cwd string too short.. check for 0x0's.\n");\r
\r
-   putserv ("CWD %s\n", string);\r
--  getline ();\r
-+  get_line ();\r
\r
-   /************ jmpbuf ***********/\r
\r
-   if (debug > 0)\r
-     printf ("Sending jmpbuf\n");\r
-@@ -1334,11 +1334,11 @@
-   if (strlen (string) != 32)\r
-     err (0, "jmpbuf string too short.. check for 0x0's.\n");\r
\r
-   putserv ("%s\n", string);\r
\r
--  getline ();\r
-+  get_line ();\r
\r
-   return (1);\r
- }\r
\r
- /* shell\r
-diff -NrU5 raccess-0.7.original/exploits/wu2.5.0d.c raccess-0.7/exploits/wu2.5.0d.c
---- raccess-0.7.original/exploits/wu2.5.0d.c   2009-07-08 17:55:35.000000000 +0000
-+++ raccess-0.7/exploits/wu2.5.0d.c    2009-07-08 18:06:24.000000000 +0000
-@@ -104,11 +104,11 @@
- int     xconnect (int  sockfd,  struct sockaddr *serv_addr, int addrlen);\r
- void    sighandler (int signal);\r
- struct hostent  *xgethostbyname (const char *name);\r
- struct hostent  *xgethostbyaddr (const char *addr, int len, int type);\r
- void    putserv (const char *fmt, ...);\r
--char    *getline (void);\r
-+char    *get_line (void);\r
- char    *getmsg (const char *msg);\r
- int     wuftpd_250_sploitit (void);\r
- dirptr  newdir (char *name);\r
- char    *getdir (char *stat);\r
- char    *int2char (int addr);\r
-@@ -759,16 +759,16 @@
- }\r
\r
- #define LINEBUFLEN 8192\r
- char    linebuf[LINEBUFLEN];  /* saves us free()ing trouble. */\r
\r
--/* getline\r
-+/* get_line\r
-  *\r
-  * get next line from server or local buffer\r
-  */\r
- char *\r
--getline (void)\r
-+get_line (void)\r
- {\r
-   char    y[2];\r
-   int     i = 0;\r
\r
-   memset (linebuf, '\0', sizeof (linebuf));\r
-@@ -776,11 +776,11 @@
\r
-   while (strncmp (y, "\n", 1) != 0)\r
-     {\r
-       if (i > (sizeof (linebuf) + 2))\r
-         {\r
--          err (0, "getline() buffer full");\r
-+          err (0, "get_line() buffer full");\r
-         }\r
-       i += xread (fd, y, 1);\r
-       strcat (linebuf, y);\r
-     }\r
\r
-@@ -835,11 +835,11 @@
-   char    *line;\r
-   int     i = strlen (msg);\r
\r
-   do\r
-     {\r
--      line = getline ();\r
-+      line = get_line ();\r
-     }\r
-   while (strncmp (line, msg, i) != 0 && strncmp (line, "5", 1) != 0);\r
\r
-   return (line);\r
- }\r
-@@ -919,11 +919,11 @@
-   nostat = 0;\r
-   putserv ("STAT .\n");\r
\r
-   while (strncmp (line, "213 ", 4) != 0)\r
-     {\r
--      line = getline ();\r
-+      line = get_line ();\r
-       tmp = getdir (line);\r
\r
-       if (tmp == NULL)\r
-         continue;\r
-       if (dirroot == NULL)\r
-@@ -1279,14 +1279,14 @@
-           break;\r
-         }\r
\r
-       string[tesopt.dirlen] = 0;\r
-       putserv ("MKD %s\n", string);\r
--      getline ();\r
-+      get_line ();\r
\r
-       putserv ("CWD %s\n", string);\r
--      getline ();\r
-+      get_line ();\r
-     }\r
\r
-   getpwd ();\r
-   disp = 1;\r
\r
-@@ -1318,11 +1318,11 @@
\r
-   if (strlen (string) < 20)\r
-     err (0, "cwd string too short.. check for 0x0's.\n");\r
\r
-   putserv ("CWD %s\n", string);\r
--  getline ();\r
-+  get_line ();\r
\r
-   /************ jmpbuf ***********/\r
\r
-   if (debug > 0)\r
-     printf ("Sending jmpbuf\n");\r
-@@ -1334,11 +1334,11 @@
-   if (strlen (string) != 32)\r
-     err (0, "jmpbuf string too short.. check for 0x0's.\n");\r
\r
-   putserv ("%s\n", string);\r
\r
--  getline ();\r
-+  get_line ();\r
\r
-   return (1);\r
- }\r
\r
- /* shell\r
-diff -NrU5 raccess-0.7.original/exploits/wu2.5.0e.c raccess-0.7/exploits/wu2.5.0e.c
---- raccess-0.7.original/exploits/wu2.5.0e.c   2009-07-08 17:55:35.000000000 +0000
-+++ raccess-0.7/exploits/wu2.5.0e.c    2009-07-08 18:07:19.000000000 +0000
-@@ -104,11 +104,11 @@
- int     xconnect (int  sockfd,  struct sockaddr *serv_addr, int addrlen);\r
- void    sighandler (int signal);\r
- struct hostent  *xgethostbyname (const char *name);\r
- struct hostent  *xgethostbyaddr (const char *addr, int len, int type);\r
- void    putserv (const char *fmt, ...);\r
--char    *getline (void);\r
-+char    *get_line (void);\r
- char    *getmsg (const char *msg);\r
- int     wuftpd_250_sploitit (void);\r
- dirptr  newdir (char *name);\r
- char    *getdir (char *stat);\r
- char    *int2char (int addr);\r
-@@ -759,16 +759,16 @@
- }\r
\r
- #define LINEBUFLEN 8192\r
- char    linebuf[LINEBUFLEN];  /* saves us free()ing trouble. */\r
\r
--/* getline\r
-+/* get_line\r
-  *\r
-  * get next line from server or local buffer\r
-  */\r
- char *\r
--getline (void)\r
-+get_line (void)\r
- {\r
-   char    y[2];\r
-   int     i = 0;\r
\r
-   memset (linebuf, '\0', sizeof (linebuf));\r
-@@ -776,11 +776,11 @@
\r
-   while (strncmp (y, "\n", 1) != 0)\r
-     {\r
-       if (i > (sizeof (linebuf) + 2))\r
-         {\r
--          err (0, "getline() buffer full");\r
-+          err (0, "get_line() buffer full");\r
-         }\r
-       i += xread (fd, y, 1);\r
-       strcat (linebuf, y);\r
-     }\r
\r
-@@ -835,11 +835,11 @@
-   char    *line;\r
-   int     i = strlen (msg);\r
\r
-   do\r
-     {\r
--      line = getline ();\r
-+      line = get_line ();\r
-     }\r
-   while (strncmp (line, msg, i) != 0 && strncmp (line, "5", 1) != 0);\r
\r
-   return (line);\r
- }\r
-@@ -919,11 +919,11 @@
-   nostat = 0;\r
-   putserv ("STAT .\n");\r
\r
-   while (strncmp (line, "213 ", 4) != 0)\r
-     {\r
--      line = getline ();\r
-+      line = get_line ();\r
-       tmp = getdir (line);\r
\r
-       if (tmp == NULL)\r
-         continue;\r
-       if (dirroot == NULL)\r
-@@ -1279,14 +1279,14 @@
-           break;\r
-         }\r
\r
-       string[tesopt.dirlen] = 0;\r
-       putserv ("MKD %s\n", string);\r
--      getline ();\r
-+      get_line ();\r
\r
-       putserv ("CWD %s\n", string);\r
--      getline ();\r
-+      get_line ();\r
-     }\r
\r
-   getpwd ();\r
-   disp = 1;\r
\r
-@@ -1318,11 +1318,11 @@
\r
-   if (strlen (string) < 20)\r
-     err (0, "cwd string too short.. check for 0x0's.\n");\r
\r
-   putserv ("CWD %s\n", string);\r
--  getline ();\r
-+  get_line ();\r
\r
-   /************ jmpbuf ***********/\r
\r
-   if (debug > 0)\r
-     printf ("Sending jmpbuf\n");\r
-@@ -1334,11 +1334,11 @@
-   if (strlen (string) != 32)\r
-     err (0, "jmpbuf string too short.. check for 0x0's.\n");\r
\r
-   putserv ("%s\n", string);\r
\r
--  getline ();\r
-+  get_line ();\r
\r
-   return (1);\r
- }\r
\r
- /* shell\r
diff --git a/net-misc/raccess/files/raccess-0.7-r1-asneeded.patch b/net-misc/raccess/files/raccess-0.7-r1-asneeded.patch
deleted file mode 100644 (file)
index 47ed0e1..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig       2009-01-05 19:23:26.671861574 +0100
-+++ src/Makefile.in    2009-01-05 19:23:37.603959062 +0100
-@@ -83,7 +83,7 @@
- detectos.o remote_attack_module.o lookfor.o
- raccess_LDADD = $(LDADD)
- raccess_DEPENDENCIES = 
--raccess_LDFLAGS = -lm
-+raccess_LDADD = -lm
- BINFILES = -DLOCATION_BIN_FILES=\"@bindir@\"
- CFGFILES = -DLOCATION_CONFIG_FILES=\"@sysconfdir@\"
- COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(BINFILES) $(CFGFILES)
diff --git a/net-misc/raccess/metadata.xml b/net-misc/raccess/metadata.xml
deleted file mode 100644 (file)
index 6f49eba..0000000
+++ /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>
diff --git a/net-misc/raccess/raccess-0.7.ebuild b/net-misc/raccess/raccess-0.7.ebuild
deleted file mode 100644 (file)
index 82f90fa..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils toolchain-funcs multilib
-
-DESCRIPTION="Remote Access Session is an systems security analyzer"
-HOMEPAGE="http://salix.org/raccess/"
-SRC_URI="http://salix.org/raccess/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 sparc ~ppc ~amd64"
-IUSE=""
-
-DEPEND="net-libs/libpcap"
-RDEPEND=""
-
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       epatch "${FILESDIR}"/${P}-r1-asneeded.patch
-       epatch "${FILESDIR}"/${P}-glibc210.patch
-       sed -i '/^BINFILES/s:@bindir@:/usr/$(get_libdir)/raccess:' src/Makefile.in
-       sed -i '/^bindir/s:@bindir@/exploits:/usr/$(get_libdir)/raccess:' exploits/Makefile.in
-}
-
-src_compile() {
-       econf --sysconfdir=/etc/raccess
-       emake CC="$(tc-getCC)" || die "emake failed"
-}
-
-src_install() {
-       emake install DESTDIR="${D}" || die "emake install failed"
-       dodoc AUTHORS ChangeLog NEWS PROJECT_PLANNING README
-}