Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

5
misc/lile/DESCR Normal file
View File

@@ -0,0 +1,5 @@
The ile program can be run as a simple shell around any program.
It gives any program an input line editing and a history mechanism. It
can also be run around your favourite shell. When run around the shell
ile records the input to interactive programs launched from the
shell as well as the commands to the shell in its history buffer.

29
misc/lile/Makefile Normal file
View File

@@ -0,0 +1,29 @@
# $NetBSD: Makefile,v 1.16 2012/10/08 09:57:29 asau Exp $
DISTNAME= lile-2.0
PKGNAME= ile-2.0
CATEGORIES= misc
MASTER_SITES= ftp://ftp.inria.fr/system/user/
EXTRACT_SUFX= .tar.z
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Input Line Editor that wraps itself around programs
# uses struct sgttyb
NOT_FOR_PLATFORM= Linux-*-*
USE_TOOLS+= gzcat
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
post-patch:
@(cd ${WRKSRC}; ${SED} "s,/usr/local,${PREFIX}," Makefile \
> Makefile.done; ${MV} Makefile.done Makefile; \
${ECHO} all: ile >> Makefile; \
${ECHO} CC=${CC} ${CFLAGS} >> Makefile )
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ile ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ile.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"

3
misc/lile/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/12 19:09:37 rillig Exp $
bin/ile
man/man1/ile.1

6
misc/lile/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.7 2013/01/11 23:28:36 joerg Exp $
SHA1 (lile-2.0.tar.z) = 8969acd0de5599fee8fb2d1c49c4804f5ae25156
RMD160 (lile-2.0.tar.z) = 3aac03a4a9fccf3aac9155ab02592c4a5571cb8a
Size (lile-2.0.tar.z) = 22901 bytes
SHA1 (patch-aa) = 605f487a17e2c4997a947bd1ced7d305e808a08d

View File

@@ -0,0 +1,53 @@
$NetBSD: patch-aa,v 1.7 2013/01/11 23:28:36 joerg Exp $
--- ile.c.orig 1993-06-09 03:12:33.000000000 +0000
+++ ile.c
@@ -2,6 +2,9 @@
/* Copyright message is near the bottom of the file */
#include "config.h"
+#include <signal.h>
+#include <ctype.h>
+#include <unistd.h>
/* #define DEBUG /**/
@@ -43,7 +46,7 @@ void setup_action_table();
#include <stdio.h>
#include <fcntl.h>
#include <sgtty.h>
-#include <signal.h>
+#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <pwd.h>
@@ -51,7 +54,7 @@ void setup_action_table();
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/types.h>
-#include <sys/dir.h>
+#include <dirent.h>
#include <sys/file.h>
#include <sys/time.h>
#include <sys/wait.h>
@@ -61,11 +64,6 @@ void setup_action_table();
*/
/* Definitions of system stuff. */
-extern int errno;
-
-long lseek();
-char *malloc();
-char *realloc();
time_t time();
#ifndef TRUE
@@ -312,7 +310,7 @@ void handle_child() {
getpty opens a pty, storing file descriptors in pty and tty.
It trys pairs in order until it finds a pair that is not in use.
*/
-getpty(pty, tty) int *pty; int *tty; {
+static void getpty(pty, tty) int *pty; int *tty; {
int devindex;
int letter;