diff options
38 files changed, 3 insertions, 970 deletions
@@ -3049,3 +3049,6 @@ japanese/addttfont||2007-06-03|obsolete japanese/p5-mkres||2007-06-03|obsolete x11-toolkits/py-wmgeneral||2007-06-04|Renamed to x11-toolkits/py-wmdockapps misc/gretl|math/gretl|2007-06-04|New category +devel/ups-debug||2007-06-04|Has expired: only runs on FreeBSD 4.X/386 +korean/han||2007-06-04|Has expired: Broken on all supported versions of FreeBSD +net/tspc2||2007-06-04|Has expired: development is discontinued diff --git a/devel/Makefile b/devel/Makefile index 4b8896fc90df..78e614b6571a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2171,7 +2171,6 @@ SUBDIR += upnp104 SUBDIR += upp SUBDIR += uppaal - SUBDIR += ups-debug SUBDIR += ustl SUBDIR += valgrind SUBDIR += valgrind-snapshot diff --git a/devel/ups-debug/Makefile b/devel/ups-debug/Makefile deleted file mode 100644 index 1cbb6ae87f6d..000000000000 --- a/devel/ups-debug/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: UPS -# Date created: Mon Feb 03, 1997 -# Whom: David O'Brien (obrien@FreeBSD.org) -# -# $FreeBSD$ -# - -PORTNAME= ups -PORTVERSION= 3.38.b1 -PORTREVISION= 2 -CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= ups-3.38-beta1 - -MAINTAINER= ports@FreeBSD.org -COMMENT= X based source level debugger for C, C++, and Fortran - -DEPRECATED= only runs on FreeBSD 4.X/386 -EXPIRATION_DATE= 2007-05-15 -IGNORE= only runs on FreeBSD 4.X/386 - -GNU_CONFIGURE= yes -USE_X_PREFIX= yes -USE_GMAKE= yes -ALL_TARGET= ups - -MAN1= ups.1 -DOCS= CHANGES FAQ README - -ONLY_FOR_ARCHS= i386 - -post-install: - @${INSTALL_DATA} ${WRKSRC}/Ups ${X11BASE}/lib/X11/app-defaults -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} -.endif - -.include <bsd.port.mk> diff --git a/devel/ups-debug/distinfo b/devel/ups-debug/distinfo deleted file mode 100644 index 4b247c3e1adc..000000000000 --- a/devel/ups-debug/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (ups-3.38-beta1.tar.gz) = 46b79feccf0889fd15001cc6711ade0b -SHA256 (ups-3.38-beta1.tar.gz) = 24bc2932b64e985880f971f064c5e8f7b386d15e70dd96346aec6f6577678801 -SIZE (ups-3.38-beta1.tar.gz) = 2513693 diff --git a/devel/ups-debug/files/patch-04 b/devel/ups-debug/files/patch-04 deleted file mode 100644 index 4fcb59509d60..000000000000 --- a/devel/ups-debug/files/patch-04 +++ /dev/null @@ -1,38 +0,0 @@ ---- ups/xc_builtins.c.orig Fri Feb 19 07:14:51 1999 -+++ ups/xc_builtins.c Sun May 9 10:45:18 1999 -@@ -61,7 +61,7 @@ - static int builtin_read PROTO((int fd, void *buf, size_t nbytes)); - static int builtin_write PROTO((int fd, const void *buf, size_t nbytes)); - static int builtin_pipe PROTO((int *fds)); --static int builtin_lseek PROTO((int fd, off_t offset, int whence)); -+static off_t builtin_lseek PROTO((int fd, off_t offset, int whence)); - static int builtin_fcntl PROTO((int fd, int cmd, char *arg)); - static int builtin_dup2 PROTO((int fd, int newfd)); - static int builtin_dup PROTO((int fd)); -@@ -71,7 +71,7 @@ - #if HAVE_FLOCK - static int builtin_flock PROTO((int fd, int op)); - #endif --static int builtin_ftruncate PROTO((int fd, long length)); -+static int builtin_ftruncate PROTO((int fd, off_t length)); - static int builtin_ioctl PROTO((int fd, unsigned cmd, caddr_t arg)); - static int builtin_fstat PROTO((int fd, struct stat *stbuf)); - #if HAVE_X_WINDOWS -@@ -306,7 +306,7 @@ - static int - builtin_ftruncate(fd, length) - int fd; --long length; -+off_t length; - { - return fd_ok(fd) ? ftruncate(fd, (off_t)length) : -1; - } -@@ -329,7 +329,7 @@ - return res; - } - --static int -+static off_t - builtin_lseek(fd, offset, whence) - int fd; - off_t offset; diff --git a/devel/ups-debug/files/patch-configure b/devel/ups-debug/files/patch-configure deleted file mode 100644 index ef35aa6f368d..000000000000 --- a/devel/ups-debug/files/patch-configure +++ /dev/null @@ -1,48 +0,0 @@ ---- configure.in.orig Mon Sep 30 20:26:28 2002 -+++ configure.in Fri Nov 29 00:51:28 2002 -@@ -981,13 +981,13 @@ - AC_CACHE_VAL(ups_cv_var_global_files,[ - ups_cv_var_global_files=no - if test $ups_cv_var_global_files = no ; then -- AC_EGREP_HEADER( __iob.*;, stdio.h, ups_cv_var_global_files=__iob) -+ AC_EGREP_HEADER( __iob\>.*;, stdio.h, ups_cv_var_global_files=__iob) - fi - if test $ups_cv_var_global_files = no ; then -- AC_EGREP_HEADER( _iob.*;, stdio.h, ups_cv_var_global_files=_iob) -+ AC_EGREP_HEADER( _iob\>.*;, stdio.h, ups_cv_var_global_files=_iob) - fi - if test $ups_cv_var_global_files = no ; then -- AC_EGREP_HEADER( __sF.*;, stdio.h, ups_cv_var_global_files=__sF) -+ AC_EGREP_HEADER( __sF\>.*;, stdio.h, ups_cv_var_global_files=__sF) - fi - ]) - case "$ups_cv_var_global_files" in ---- configure.orig Wed Oct 23 01:37:31 2002 -+++ configure Fri Nov 29 00:51:12 2002 -@@ -6624,7 +6624,7 @@ - #include <stdio.h> - EOF - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -- egrep "__iob.*;" >/dev/null 2>&1; then -+ egrep "__iob\>.*;" >/dev/null 2>&1; then - rm -rf conftest* - ups_cv_var_global_files=__iob - fi -@@ -6638,7 +6638,7 @@ - #include <stdio.h> - EOF - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -- egrep "_iob.*;" >/dev/null 2>&1; then -+ egrep "_iob\>.*;" >/dev/null 2>&1; then - rm -rf conftest* - ups_cv_var_global_files=_iob - fi -@@ -6652,7 +6652,7 @@ - #include <stdio.h> - EOF - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -- egrep "__sF.*;" >/dev/null 2>&1; then -+ egrep "__sF\>.*;" >/dev/null 2>&1; then - rm -rf conftest* - ups_cv_var_global_files=__sF - fi diff --git a/devel/ups-debug/files/patch-ups+ao_pt_regs.c b/devel/ups-debug/files/patch-ups+ao_pt_regs.c deleted file mode 100644 index 8d288533746e..000000000000 --- a/devel/ups-debug/files/patch-ups+ao_pt_regs.c +++ /dev/null @@ -1,17 +0,0 @@ ---- ups/ao_pt_regs.c.orig Wed Oct 23 01:07:46 2002 -+++ ups/ao_pt_regs.c Fri Nov 29 01:01:58 2002 -@@ -495,9 +495,13 @@ - e_ptrace(PTRACE_GETDREGS, ip->ip_pid, (char *)&pr->dbregs, 0); - - /* FreeBSD : .../sys/i386/i386/machdep.c -- * dr6 is status register, dr7 is control register. -+ * dr[6] is status register, dr[7] is control register. - */ -+#if (defined __FreeBSD__) && __FreeBSD_version >= 500043 -+ return (pr->dbregs.dr[6] & 0x0000000f); -+#else - return (pr->dbregs.dr6 & 0x0000000f); -+#endif - } - - /* diff --git a/devel/ups-debug/pkg-descr b/devel/ups-debug/pkg-descr deleted file mode 100644 index 25184bcbf6c4..000000000000 --- a/devel/ups-debug/pkg-descr +++ /dev/null @@ -1,18 +0,0 @@ -Ups is a X based source level debugger for the C, C++ and Fortran -programming languages. It supports both run time debugging with -breakpoints and post-mortem debugging from a core file. On Suns you can -attach ups to a running process. Ups runs in its own window, thus not -interfering with the target program's I/O. The ups window has two major -areas - one showing a structured document representing the target state, -the other showing the source that is being executed. - -Ups makes heavy use of direct manipulation and feedback. When you add a -breakpoint it is shown as a pseudo C statement (#stop) in the source -display. The current point of execution is highlighted in the source -display and you can watch it move as you step through loops and function -calls. You can edit in fragments of interpreted C code (including -assignments to variables and calls to target functions). There are -powerful facilities for exploring linked data structures - you can -recursively expand and collapse structures to follow links. - -WWW: http://ups.sourceforge.net/ diff --git a/devel/ups-debug/pkg-plist b/devel/ups-debug/pkg-plist deleted file mode 100644 index 3fec7456b069..000000000000 --- a/devel/ups-debug/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -@comment $FreeBSD$ -bin/ups -lib/X11/app-defaults/Ups -%%PORTDOCS%%share/doc/ups/CHANGES -%%PORTDOCS%%share/doc/ups/FAQ -%%PORTDOCS%%share/doc/ups/README -%%PORTDOCS%%@dirrm share/doc/ups diff --git a/korean/Makefile b/korean/Makefile index 998d27114e57..d1341215a35d 100644 --- a/korean/Makefile +++ b/korean/Makefile @@ -19,7 +19,6 @@ SUBDIR += ghostscript-gnu-korfont SUBDIR += gtkcomm SUBDIR += h2ps - SUBDIR += han SUBDIR += hanIM SUBDIR += hanemacs SUBDIR += hanmiscutils diff --git a/korean/han/Makefile b/korean/han/Makefile deleted file mode 100644 index 9a125bc4a3eb..000000000000 --- a/korean/han/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# New ports collection makefile for: han -# Date created: 12 Apr 1997 -# Whom: CHOI Junho <cjh@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= han -PORTVERSION= 1.0fb -PORTREVISION= 1 -CATEGORIES= korean -MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/ - -MAINTAINER= cjh@FreeBSD.org -COMMENT= A hangul console - -DEPRECATED= Broken on all supported versions of FreeBSD -EXPIRATION_DATE=2007-03-10 - -ONLY_FOR_ARCHS= i386 - -USE_GMAKE= YES - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - -pre-patch: - @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \ - ${WRKSRC}/src/vt.c ${WRKSRC}/lib/mem.c - -post-configure: - ${SED} -e 's%%WRKSRC%%${WRKSRC}' \ - -e 's%%PREFIX%%${PREFIX}' \ - -e 's%%DISTDIR%%${DISTDIR}' \ - ${FILESDIR}/dotconfig > ${WRKSRC}/.config - ${SED} -e 's%%WRKSRC%%${WRKSRC}' \ - -e 's%%PREFIX%%${PREFIX}' \ - -e 's%%DISTDIR%%${DISTDIR}' \ - ${FILESDIR}/han.sh > ${WRKSRC}/han.sh - -.include <bsd.port.post.mk> diff --git a/korean/han/distinfo b/korean/han/distinfo deleted file mode 100644 index 17fb3cc08454..000000000000 --- a/korean/han/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (han-1.0fb.tar.gz) = 54a39dd32e9292509a3fa75547a05963 -SHA256 (han-1.0fb.tar.gz) = b54958f4173956648277623fc96450e04324b601f326f55e3273efcef6ab3395 -SIZE (han-1.0fb.tar.gz) = 129138 diff --git a/korean/han/files/dotconfig b/korean/han/files/dotconfig deleted file mode 100644 index bb3161bd9762..000000000000 --- a/korean/han/files/dotconfig +++ /dev/null @@ -1,18 +0,0 @@ -INCDIR = %%WRKSRC%%/include -LIB = %%WRKSRC%%/lib/libgon.a -DISTDIR = %%DISTDIR%% - -TOPDIR = %%PREFIX%% -BINDIR = $(TOPDIR)/bin -LIBDIR = $(TOPDIR)/etc -FONTDIR = $(TOPDIR)/share/fonts/han -CONFIG_NAME = han.cfg -OPTS = -DCONFIG_NAME=\"$(LIBDIR)/$(CONFIG_NAME)\" -I$(INCDIR) -CFLAGS = -O -Wall $(OPTS) -LD = gcc $(CFLAGS) -RM = rm -f -INSTALL = install -c -s -SUBDIRS = lib src font # tools - -HAS_VGA = HAS_VGA -FLD_BDF = FLD_BDF diff --git a/korean/han/files/han.sh b/korean/han/files/han.sh deleted file mode 100644 index 06b9970f4302..000000000000 --- a/korean/han/files/han.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# -# Wrapper script of han. -# -# 12 Apr 1997, Choi Jun Ho <junker@jazz.snu.ac.kr> -# -gzip -cd %%PREFIX%%/share/fonts/han/h16m.bdf.gz \ - | %%PREFIX%%/bin/hanfld -t bdf -n -gzip -cd %%PREFIX%%/share/fonts/han/8x16pc.bdf.gz \ - | %%PREFIX%%/bin/hanfld -t bdf -n -exec han.bin diff --git a/korean/han/files/patch-aa b/korean/han/files/patch-aa deleted file mode 100644 index cf6a0733cf40..000000000000 --- a/korean/han/files/patch-aa +++ /dev/null @@ -1,52 +0,0 @@ ---- src/vc.c.orig Tue Feb 20 23:38:10 2001 -+++ src/vc.c Tue Feb 20 23:41:25 2001 -@@ -37,7 +37,13 @@ - #include <termio.h> - #elif defined(__FreeBSD__) - #include <termios.h> --#include <machine/console.h> -+#include <osreldate.h> -+#if __FreeBSD_version >= 410000 -+# include <sys/consio.h> -+# include <sys/kbio.h> -+#else -+# include <machine/console.h> -+#endif - #endif - #include <sys/ioctl.h> - #if defined(linux) -@@ -94,28 +100,26 @@ - inline void blatch(void *head, int n) - { - -- __asm__("\t clc\n" -+ __asm__ volatile("\t clc\n" - "1:\n" - "\t andb %%bl, (%%eax)\n" - "\t incl %%eax\n" - "\t loop 1b\n" -- : -- : "eax" ((long)head), "bl" (0x7F), "c" (n) -- : "bl", "cx" ); -+ : "=bl" (head), "=c" (n) -+ : "eax" ((long)head), "0" (0x7F), "1" (n)); - } - - static - inline void llatch(void *head, int n) - { - -- __asm__("\t clc\n" -+ __asm__ volatile("\t clc\n" - "1:\n" - "\t andl %%ebx, (%%eax)\n" - "\t addl $4, %%eax\n" - "\t loop 1b\n" -- : -- : "eax" ((long)head), "ebx" (0x7F7F7F7F), "c" (n>>2) -- : "ebx", "cx" ); -+ : "=ebx" (head), "=c" (n) -+ : "eax" ((long)head), "0" (0x7F7F7F7F), "1" (n>>2)); - } - - static inline u_int TextAddress(u_int x, u_int y) diff --git a/korean/han/files/patch-ab b/korean/han/files/patch-ab deleted file mode 100644 index e5e72bfb0180..000000000000 --- a/korean/han/files/patch-ab +++ /dev/null @@ -1,44 +0,0 @@ ---- src/child.c.orig Sat Mar 29 05:29:53 1997 -+++ src/child.c Sun Jul 16 12:48:02 2000 -@@ -26,6 +26,7 @@ - - #ifdef __FreeBSD__ - #include <errno.h> -+#include <sys/ioctl.h> - #endif - - #include <getcap.h> -@@ -98,6 +99,9 @@ - { - char *shell, *tail, *tcap; - char buff[80]; -+#if defined(__FreeBSD__) -+ struct winsize win; -+#endif - - setgid(getgid()); - setuid(getuid()); -@@ -107,6 +111,10 @@ - sprintf(buff, "TERMCAP=:co#%d:li#%d:tc=console:", - dInfo.txmax + 1, dInfo.tymax + 1); - #elif defined(__FreeBSD__) -+ win.ws_row = dInfo.tymax + 1; -+ win.ws_col = dInfo.txmax + 1; -+ win.ws_xpixel = win.ws_ypixel = 0; -+ ioctl(STDIN_FILENO, TIOCSWINSZ, &win); - sprintf(buff,"TERM=vt100"); - #endif - tcap = strdup(buff); -@@ -120,10 +128,10 @@ - "HAN is free software, and you are welcome to redistribute it\r\n" - "HAN under certain conditions; show COPYING for details.\r\n"); - #if defined(__FreeBSD__) -- printf("\rHAN for FreeBSD-2.x\r\n"); -+ printf("\rHAN for FreeBSD\r\n"); - #endif - } -- printf("HAN using VT number %c.\n\n", -+ printf("HAN using VT number %c.\r\n", - #if defined(linux) - *(ttyname(fileno(errfp))+8)); - #elif defined(__FreeBSD__) diff --git a/korean/han/files/patch-af b/korean/han/files/patch-af deleted file mode 100644 index 48da8e937172..000000000000 --- a/korean/han/files/patch-af +++ /dev/null @@ -1,36 +0,0 @@ ---- src/term.c.orig Sat Mar 29 04:36:54 1997 -+++ src/term.c Tue Feb 20 23:43:44 2001 -@@ -30,7 +30,13 @@ - #include <termio.h> - #elif defined(__FreeBSD__) - #include <termios.h> --#include <machine/console.h> -+#include <osreldate.h> -+#if __FreeBSD_version >= 410000 -+# include <sys/consio.h> -+# include <sys/kbio.h> -+#else -+# include <machine/console.h> -+#endif - #define termio termios - #endif - #include <signal.h> -@@ -209,6 +215,9 @@ - } - if (FD_ISSET(0, &readFds)) { - i = read(0, buff, BUFSIZ); -+#if defined(__FreeBSD__) -+ i = cons25tovt100(buff, i, BUFSIZ); -+#endif - #if 1 - { - int k, l; -@@ -239,7 +248,7 @@ - PollCursor(TRUE); - } - if (FD_ISSET(sockFd, &readFds)) SocketInterface(sockFd); -- if (mInfo.has_mouse) { -+ if (mInfo.has_mouse && mouseFd > 0) { - if (FD_ISSET(mouseFd, &readFds) && con.active) { - i = read(mouseFd, buff, BUFSIZ); - if (i > 0) MouseGetPacket(buff, i); diff --git a/korean/han/files/patch-ag b/korean/han/files/patch-ag deleted file mode 100644 index 66ac5d73c41c..000000000000 --- a/korean/han/files/patch-ag +++ /dev/null @@ -1,103 +0,0 @@ ---- src/utmp.c.orig Fri Jan 24 09:37:28 1997 -+++ src/utmp.c Sat Apr 26 21:50:30 1997 -@@ -41,20 +41,32 @@ - #include <utmp.h> - #include <grp.h> - #include <sys/stat.h> -+#if defined(__FreeBSD__) -+#include <ttyent.h> -+#endif - -+#if !defined(__FreeBSD__) - static int ttyGid; -+#else -+static gid_t ttyGid; -+static int ts; -+#endif - - void SetUtmp(char *tty) - { --#ifdef linux - struct utmp utmp; - struct passwd *pw; - struct group *ttygrp; - char *tn; -+#if defined(__FreeBSD__) -+ struct ttyent *ttyp; -+ int fd, i; -+#endif - - pw = getpwuid(getuid()); - tn = rindex(tty, '/') + 1; - memset((char *)&utmp, 0, sizeof(utmp)); -+#if !defined(__FreeBSD__) - strncpy(utmp.ut_id, tn + 3, sizeof(utmp.ut_id)); - utmp.ut_type = DEAD_PROCESS; - setutent(); -@@ -66,21 +78,43 @@ - time(&(utmp.ut_time)); - pututline(&utmp); - endutent(); -+#else -+ time(&(utmp.ut_time)); -+ strncpy(utmp.ut_name, pw->pw_name, sizeof(utmp.ut_name)); -+ strncpy(utmp.ut_line, tn, sizeof(utmp.ut_line)); -+ setttyent(); -+ ts = 0; -+ for (i = 1; (ttyp = getttyent()); ++i) -+ if (!strcmp(ttyp->ty_name,tn)) { -+ ts = i; -+ break; -+ } -+ endttyent(); -+ if (ts > 0 && (fd = open(_PATH_UTMP, O_WRONLY|O_CREAT, 0644)) >= 0) { -+ lseek(fd, (ts*sizeof(struct utmp)), L_SET); -+ write(fd, &utmp, sizeof(struct utmp)); -+ close(fd); -+ } -+#endif - if ((ttygrp = getgrnam("tty")) != NULL) - ttyGid = ttygrp->gr_gid; - else - ttyGid = -1; - chmod(tty, 0622); - chown(tty, getuid(), ttyGid); --#endif - } - - void ResetUtmp(char *tty) - { --#ifdef linux -+#if !defined(__FreeBSD__) - struct utmp utmp, *utp; - char *tn; -+#else -+ struct utmp utmp; -+ int fd; -+#endif - -+#if !defined(__FreeBSD__) - tn = rindex(tty, '/') + 4; - memset((char *)&utmp, 0, sizeof(utmp)); - strncpy(utmp.ut_id, tn, sizeof(utmp.ut_id)); -@@ -93,7 +127,19 @@ - time(&(utp->ut_time)); - pututline(utp); - endutent(); -+#else -+ if (ts > 0 && (fd = open(_PATH_UTMP, O_RDWR, 0)) >= 0) { -+ lseek(fd, (ts*sizeof(struct utmp)), L_SET); -+ if (read(fd, &utmp, sizeof(struct utmp)) == sizeof(struct utmp)) { -+ bzero(utmp.ut_name, sizeof(utmp.ut_name)); -+ bzero(utmp.ut_host, sizeof(utmp.ut_host)); -+ time(&utmp.ut_time); -+ lseek(fd, (ts*sizeof(struct utmp)), L_SET); -+ write(fd, &utmp, sizeof(struct utmp)); -+ } -+ close(fd); -+ } -+#endif - chmod(tty, 0600); - chown(tty, 0, ttyGid); --#endif - } diff --git a/korean/han/files/patch-ah b/korean/han/files/patch-ah deleted file mode 100644 index 952f34d0e564..000000000000 --- a/korean/han/files/patch-ah +++ /dev/null @@ -1,38 +0,0 @@ ---- src/display/vga.c.orig Wed Apr 9 21:34:02 1997 -+++ src/display/vga.c Tue Feb 20 23:39:29 2001 -@@ -42,7 +42,13 @@ - #elif defined(__FreeBSD__) - #include <vm/vm_param.h> - #include <sys/ioctl.h> --#include <machine/console.h> -+#include <osreldate.h> -+#if __FreeBSD_version >= 410000 -+# include <sys/consio.h> -+# include <sys/kbio.h> -+#else -+# include <machine/console.h> -+#endif - vm_size_t page_size; - #endif - #undef free -@@ -379,7 +385,7 @@ - /* if (!code) return;*/ - VgaSetColor(fc); - if (bc & 0x8) *(vcls - dInfo.glineByte) = 0; -- for (x = 0;x < sbFReg->high;x ++, code ++, fm >>= 1) { -+ if (code) for (x = 0;x < sbFReg->high;x ++, code ++, fm >>= 1) { - if (*code) { - VgaOutByte(*code); - *gram = *gram; -@@ -617,7 +623,11 @@ - Perror("ioctl CONSOLE_IO_ENABLE/KDSETMODE"); - return FAILURE; - } -+#if (__FreeBSD__ <= 3) - if ((devMem = open("/dev/vga", O_RDWR|O_NDELAY) ) < 0) { -+#else -+ if ((devMem = open("/dev/mem", O_RDWR|O_NDELAY) ) < 0) { -+#endif - Perror("/dev/mem"); - return FAILURE; - } diff --git a/korean/han/files/patch-ak b/korean/han/files/patch-ak deleted file mode 100644 index bd724bb48035..000000000000 --- a/korean/han/files/patch-ak +++ /dev/null @@ -1,25 +0,0 @@ ---- include/vt.h.orig Fri Jan 24 16:08:13 1997 -+++ include/vt.h Sat Aug 7 05:06:49 1999 -@@ -59,7 +59,12 @@ - ins, - active, - wrap, -+#if defined(__FreeBSD__) -+ text_mode, -+ cursor_key_mode; -+#else - text_mode; -+#endif - }; - - extern struct _con_info con; -@@ -75,6 +80,9 @@ - extern void VtStart(void); - extern void VtEmu(const char*, int nchars); - extern void VtCleanup(void); -+#if defined(__FreeBSD__) -+extern int cons25tovt100(u_char *buff, int len, const int max); -+#endif - - #define sjistojis(ch, cl)\ - {\ diff --git a/korean/han/files/patch-al b/korean/han/files/patch-al deleted file mode 100644 index 5555214c56d5..000000000000 --- a/korean/han/files/patch-al +++ /dev/null @@ -1,159 +0,0 @@ ---- src/vt.c.orig Sat Jan 25 17:55:02 1997 -+++ src/vt.c Sat Aug 7 05:09:15 1999 -@@ -185,6 +185,11 @@ - static void VtSetMode(u_char mode, bool sw) - { - switch(mode) { -+#if defined(__FreeBSD__) -+ case 1: -+ con.cursor_key_mode = sw; -+ break; -+#endif - case 4: - con.ins = sw; - break; -@@ -654,4 +659,144 @@ - con.sb = lInfo.sb; - con.db = lInfo.db|LATCH_1; - con.active = cInfo.sw = TRUE; -+#if defined(__FreeBSD__) -+ con.cursor_key_mode = FALSE; -+#endif - } -+ -+#if defined(__FreeBSD__) -+ -+static int ReplaceString(char *sp, const int len, const int maxlen, -+ const int oldlen, const char *newstr) -+{ -+ int newlen, copylen, diff; -+ -+ newlen = strlen(newstr); -+ diff = newlen - oldlen; -+ copylen = len - oldlen; -+ -+ if(len + diff > maxlen){ -+ diff -= (len + diff - maxlen); -+ copylen = maxlen - newlen; -+ } -+ if(copylen > 0) -+ memcpy(sp + newlen, sp + oldlen, copylen); -+ -+ copylen = newlen; -+ if(newlen > maxlen){ -+ copylen = maxlen; -+ diff = maxlen - len; -+ } -+ if(copylen > 0) -+ memcpy(sp, newstr, copylen); -+ -+ return(diff); -+} -+ -+int cons25tovt100(u_char *buff, int len, const int max) -+{ -+ u_char *p; -+ int i; -+ int newlen = len; -+ -+ p = buff; -+ -+ for(i=0; i<newlen; i++, p++){ -+ switch(*p){ -+ case '\177': -+ newlen += ReplaceString(p, len-i, max-i, 1, "\x1b[3~"); -+ i += 3; p += 3; -+ break; -+ case '\033': /* ESC */ -+ if(i + 2 <= newlen && *(p+1) == '['){ -+ switch(*(p+2)){ -+ case 'A': /* up arrow */ -+ if(con.cursor_key_mode) -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1bOA"); -+ break; -+ case 'B': /* down arrow */ -+ if(con.cursor_key_mode) -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1bOB"); -+ break; -+ case 'C': /* right arrow */ -+ if(con.cursor_key_mode) -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1bOC"); -+ break; -+ case 'D': /* left arrow */ -+ if(con.cursor_key_mode) -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1bOD"); -+ break; -+ case 'L': /* insert */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[2~"); -+ i++; p++; -+ break; -+ case 'H': /* home key */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[4~"); -+ i++; p++; -+ break; -+ case 'I': /* prev page */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[5~"); -+ i++; p++; -+ break; -+ case 'G': /* next page */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[6~"); -+ i++; p++; -+ break; -+ case 'M': /* F1 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[11~"); -+ i += 2; p += 2; -+ break; -+ case 'N': /* F2 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[12~"); -+ i += 2; p += 2; -+ break; -+ case 'O': /* F3 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[13~"); -+ i += 2; p += 2; -+ break; -+ case 'P': /* F4 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[14~"); -+ i += 2; p += 2; -+ break; -+ case 'Q': /* F5 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[15~"); -+ i += 2; p += 2; -+ break; -+ case 'R': /* F6 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[17~"); -+ i += 2; p += 2; -+ break; -+ case 'S': /* F7 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[18~"); -+ i += 2; p += 2; -+ break; -+ case 'T': /* F8 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[19~"); -+ i += 2; p += 2; -+ break; -+ case 'U': /* F9 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[20~"); -+ i += 2; p += 2; -+ break; -+ case 'V': /* F10 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[21~"); -+ i += 2; p += 2; -+ break; -+ case 'W': /* F11 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[23~"); -+ i += 2; p += 2; -+ break; -+ case 'X': /* F12 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[24~"); -+ i += 2; p += 2; -+ break; -+ } -+ i += 2; p += 2; -+ } -+ } -+ } -+ -+ return(newlen); -+} -+ -+#endif diff --git a/korean/han/files/patch-am b/korean/han/files/patch-am deleted file mode 100644 index 89c19f5d9b1c..000000000000 --- a/korean/han/files/patch-am +++ /dev/null @@ -1,15 +0,0 @@ ---- include/vga.h.orig Fri Jan 24 16:08:01 1997 -+++ include/vga.h Mon Jan 31 14:13:08 2000 -@@ -59,7 +59,11 @@ - #if defined(linux) - #define GRAPH_BASE 0xA0000 - #elif defined(__FreeBSD__) --#define GRAPH_BASE 0x0 -+# if (__FreeBSD__ <= 3) -+# define GRAPH_BASE 0x0 -+# else -+# define GRAPH_BASE 0xA0000 -+# endif - #endif - #define FONT_SIZE 0x2000 - diff --git a/korean/han/files/patch-ba b/korean/han/files/patch-ba deleted file mode 100644 index f47facb6fe2f..000000000000 --- a/korean/han/files/patch-ba +++ /dev/null @@ -1,35 +0,0 @@ -diff -ur include/mem.h.old include/mem.h ---- include/mem.h.old Tue Jan 25 20:16:57 2000 -+++ include/mem.h Tue Jan 25 20:30:48 2000 -@@ -46,6 +46,7 @@ - "d" ((u_short) port)); - } - -+#if 0 - static inline - void lzero(void *head, int n) - { -@@ -93,11 +94,23 @@ - "D" ((long)head) - :"cx","di"); - } -+#endif - - extern u_char PortInb(u_short); -+#if 1 -+#define bzero(b, len) bzero(b, len) -+#define bzero2(b, len) bzero(b, len) -+#define lzero(b, len) bzero(b, len) -+#define wzero(b, len) bzero(b, len) -+#define bmove(dst, src, len) bcopy(src, dst, len) -+#define brmove(dst, src, len) bcopy(src, dst, len) -+#define wmove(dst, src, len) bcopy(src, dst, len) -+#define lmove(dst, src, len) bcopy(src, dst, len) -+#else - extern void wzero(void *, int); - extern void wmove(void *, void *, int); - extern void lmove(void *, void *, int); -+#endif - extern void SafeFree(void **); - - #endif diff --git a/korean/han/files/patch-bb b/korean/han/files/patch-bb deleted file mode 100644 index fc703b8536b0..000000000000 --- a/korean/han/files/patch-bb +++ /dev/null @@ -1,19 +0,0 @@ -diff -ur lib/mem.c.old lib/mem.c ---- lib/mem.c.old Tue Jan 25 20:16:57 2000 -+++ lib/mem.c Tue Jan 25 20:28:18 2000 -@@ -44,6 +44,7 @@ - return(_rval); - } - -+#if 0 - void wzero(void *head, int n) - { - __asm__ ("cld\n\t" -@@ -76,6 +77,7 @@ - "S" ((long)src) - :"cx","di","si"); - } -+#endif - - void SafeFree(void **p) - { diff --git a/korean/han/files/patch-bc b/korean/han/files/patch-bc deleted file mode 100644 index 7cba6bf48f5f..000000000000 --- a/korean/han/files/patch-bc +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur src/main.c.old src/main.c ---- src/main.c.old Tue Jan 25 20:16:57 2000 -+++ src/main.c Tue Jan 25 20:32:52 2000 -@@ -34,7 +34,7 @@ - #include <version.h> - #include <term.h> - --void main(int argc, const char *argv[]) -+int main(int argc, const char *argv[]) - { - char *p; - diff --git a/korean/han/files/patch-be b/korean/han/files/patch-be deleted file mode 100644 index e85ef0e9a9a0..000000000000 --- a/korean/han/files/patch-be +++ /dev/null @@ -1,12 +0,0 @@ ---- src/mouse.c.orig Mon Jan 27 20:40:27 1997 -+++ src/mouse.c Tue May 9 18:08:44 2000 -@@ -176,7 +176,8 @@ - - mouseType = MOUSE_NONE; - mInfo.has_mouse = FALSE; -- sscanf(config, "%s", name); -+ strncpy(name, config, MAX_COLS - 1); -+ name[MAX_COLS - 1] = '\0'; - for (p = mice; p->name != NULL; p++) { - if (strcasecmp(name, p->name) == 0) { - mouseType = p->type; diff --git a/korean/han/pkg-descr b/korean/han/pkg-descr deleted file mode 100644 index 337d472ce0b3..000000000000 --- a/korean/han/pkg-descr +++ /dev/null @@ -1,17 +0,0 @@ -HAN ---- - -HAN is a hangul console. This is an alpha version. Supported video card is -VGA only, and, supported font are Minix/V and BDF. This program requires -shared memory. HAN is derived from KON, a Kanji COnsole for Linux/FreeBSD. - -This version supports ko_KR.euc. - -Orignal kon written by manabe@papilio.tutics.tut.ac.jp. -FreeBSD port of kon is done by ogura@st.rim.or.jp. - -HAN written by nsroh@juno.kaist.ac.kr, hanmaum@baram.kaist.ac.kr. -FreeBSD port of HAN is done by yujeny@pandora.snu.ac.kr & cjh@FreeBSD.org. - --- -CHOI Junho <cjh@FreeBSD.org> diff --git a/korean/han/pkg-plist b/korean/han/pkg-plist deleted file mode 100644 index 919dcb87f6ed..000000000000 --- a/korean/han/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -bin/han -bin/han.bin -bin/hanfld -etc/han.cfg -share/fonts/han/8x16pc.bdf.gz -share/fonts/han/h16m.bdf.gz -@dirrm share/fonts/han -@dirrm share/fonts diff --git a/net/Makefile b/net/Makefile index 629124705774..42f7c05b27b8 100644 --- a/net/Makefile +++ b/net/Makefile @@ -878,7 +878,6 @@ SUBDIR += tshark SUBDIR += tshark-lite SUBDIR += tsocks - SUBDIR += tspc2 SUBDIR += ttlscan SUBDIR += ttt SUBDIR += tvark diff --git a/net/tspc2/Makefile b/net/tspc2/Makefile deleted file mode 100644 index ea6f48985ace..000000000000 --- a/net/tspc2/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# New ports collection makefile for: tspc2 -# Date created: 11 July 2005 -# Whom: pypt -# -# $FreeBSD$ -# - -PORTNAME= tspc2 -PORTVERSION= 2.1.1 -PORTREVISION= 1 -CATEGORIES= net ipv6 -MASTER_SITES= http://www.hexago.com/files/ -DISTNAME= tspc-${PORTVERSION}-src -EXTRACT_SUFX= .tgz - -MAINTAINER= shirshegsm@gmail.com -COMMENT= TSP (Tunnel Setup Protocol) client from Freenet6 - -DEPRECATED= development is discontinued -EXPIRATION_DATE= 2007-05-11 - -WRKSRC= ${WRKDIR}/tspc2 -MAN5= tspc.conf.5 -MAN8= tspc.8 -USE_RC_SUBR= tspc2.sh - -MAKE_ARGS= target=freebsd installdir=${PREFIX} - -post-patch: - @${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}|g' ${WRKSRC}/conf/tspc.conf.in - @${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}|g' ${WRKSRC}/platform/freebsd/tsp_local.c - -.include <bsd.port.mk> diff --git a/net/tspc2/distinfo b/net/tspc2/distinfo deleted file mode 100644 index 271947226e61..000000000000 --- a/net/tspc2/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (tspc-2.1.1-src.tgz) = 65183cae002feaacd8bc92d6a5404cc2 -SHA256 (tspc-2.1.1-src.tgz) = 1fc6aa77a0badc567914c13700baacb84ca01e972b946ae6efb78cdf4eac1433 -SIZE (tspc-2.1.1-src.tgz) = 1745514 diff --git a/net/tspc2/files/patch-Makefile b/net/tspc2/files/patch-Makefile deleted file mode 100644 index b28d79120589..000000000000 --- a/net/tspc2/files/patch-Makefile +++ /dev/null @@ -1,21 +0,0 @@ ---- Makefile.old Wed Jul 14 21:08:03 2004 -+++ Makefile Mon Jul 11 16:41:46 2005 -@@ -71,13 +71,14 @@ - - @mkdir -p $(install_bin) - @$(COPY) bin/$(TSPC) $(install_bin) -- @$(COPY) bin/tspc.conf.sample $(install_bin) - -- @if [ ! -f $(install_bin)/tspc.conf ]; then \ -- $(COPY) $(install_bin)/tspc.conf.sample $(install_bin)/tspc.conf; \ -+ @mkdir -p $(installdir)/etc -+ @$(COPY) bin/tspc.conf.sample $(installdir)/etc -+ -+ @if [ ! -f $(installdir)/etc/tspc.conf ]; then \ -+ $(COPY) $(installdir)/etc/tspc.conf.sample $(installdir)/etc/tspc.conf; \ - fi - -- @$(COPY) GPL_LICENSE.txt $(installdir) - - clean: pre-checks - @for dir in ${subdirs}; do \ diff --git a/net/tspc2/files/patch-Mk-mk-freebsd.mk b/net/tspc2/files/patch-Mk-mk-freebsd.mk deleted file mode 100644 index db60e5b694fc..000000000000 --- a/net/tspc2/files/patch-Mk-mk-freebsd.mk +++ /dev/null @@ -1,11 +0,0 @@ ---- Mk/mk-freebsd.mk.bak Fri Feb 13 01:05:08 2004 -+++ Mk/mk-freebsd.mk Mon Jul 11 16:45:09 2005 -@@ -26,7 +26,7 @@ - install_bin=$(installdir)/bin - install_etc=$(installdir)/etc - install_lib=$(installdir)/lib --install_template=$(installdir)/template -+install_template=$(installdir)/share/tspc2/template - install_man=$(installdir)/man - subdirs=src/net src/lib src/tsp src/xml platform/freebsd template conf man - ifname=gif0 diff --git a/net/tspc2/files/patch-conf-tspc.conf.in b/net/tspc2/files/patch-conf-tspc.conf.in deleted file mode 100644 index a862329f7d32..000000000000 --- a/net/tspc2/files/patch-conf-tspc.conf.in +++ /dev/null @@ -1,11 +0,0 @@ ---- conf/tspc.conf.in.bak Tue Jun 15 18:01:01 2004 -+++ conf/tspc.conf.in Mon Jul 11 18:24:39 2005 -@@ -24,7 +24,7 @@ - # the only use is for the OS scripts which will be taken - # from $tsp_dir/template - # --tsp_dir=@tsp_dir@ -+tsp_dir=PREFIX/share/tspc2 - - # - # authentication method: diff --git a/net/tspc2/files/patch-platform-freebsd-tsp_local.c b/net/tspc2/files/patch-platform-freebsd-tsp_local.c deleted file mode 100644 index 383ed1f73774..000000000000 --- a/net/tspc2/files/patch-platform-freebsd-tsp_local.c +++ /dev/null @@ -1,19 +0,0 @@ ---- platform/freebsd/tsp_local.c.bak Wed Mar 31 00:27:35 2004 -+++ platform/freebsd/tsp_local.c Mon Jul 11 18:12:14 2005 -@@ -59,13 +59,13 @@ - #include "tsp_tun.h" /* freebsd's tun */ - - --char *FileName = "tspc.conf"; --char *LogFile = "tspc.log"; -+char *FileName = "PREFIX/etc/tspc.conf"; -+char *LogFile = "/var/log/tspc.log"; - char *LogFileName = NULL; - char *ScriptInterpretor = "/bin/sh"; - char *ScriptExtension = "sh"; - char *ScriptDir = NULL; --char *TspHomeDir = "/usr/local/etc/tsp"; -+char *TspHomeDir = "PREFIX/share/tspc2"; - char DirSeparator = '/'; - - int Verbose = 0; diff --git a/net/tspc2/files/tspc2.sh.in b/net/tspc2/files/tspc2.sh.in deleted file mode 100644 index 8c2b03c47973..000000000000 --- a/net/tspc2/files/tspc2.sh.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -case "$1" in - -start) - %%PREFIX%%/bin/tspc -f %%PREFIX%%/etc/tspc.conf - echo -n ' tspc2' - ;; - -stop) - killall -TERM tspc - echo -n ' tspc2' - ;; - -restart) - killall -TERM tspc - %%PREFIX%%/bin/tspc -f %%PREFIX%%/etc/tspc.conf - echo 'tspc2 restarted' - ;; - -*) - echo "Usage: ${0##*/}: { start | stop | restart }" >&2 - exit 64 - ;; - -esac diff --git a/net/tspc2/pkg-descr b/net/tspc2/pkg-descr deleted file mode 100644 index 6e90cb66924a..000000000000 --- a/net/tspc2/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -Instead of a Web interface, which is usually offered by traditional tunnel -brokers, Freenet6 uses an innovative model based on the TSP Client. The TSP -Client is software that usually runs on a PC and that implements the Tunnel -Setup Protocol (TSP). The TSP Client is used to automatically negotiate a -configured tunnel between a PC or router and the Freenet6 tunnel broker, -making IPv6 easy to install and maintain. The TSP Client source code is -licensed under the GPL. A commercial license is also available. - -WWW: http://www.hexago.com/ - -- Linas -shirshegsm@gmail.com diff --git a/net/tspc2/pkg-plist b/net/tspc2/pkg-plist deleted file mode 100644 index 893641654eea..000000000000 --- a/net/tspc2/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -bin/tspc -etc/tspc.conf -etc/tspc.conf.sample -%%DATADIR%%/template/README -%%DATADIR%%/template/checktunnel.sh -%%DATADIR%%/template/freebsd.sh -@dirrm %%DATADIR%%/template -@dirrm %%DATADIR%% |