mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Upgrade from 0.50-13 to 0.50.8-2.
PR: ports/20097 Submitted by: Trevor Johnson <trevor@jpj.net>
This commit is contained in:
parent
3355cc2b26
commit
0c331e1541
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31181
7 changed files with 41 additions and 34 deletions
|
@ -6,13 +6,13 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= newt
|
PORTNAME= newt
|
||||||
PORTVERSION= 0.50.13
|
PORTVERSION= 0.50.8.2
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
MASTER_SITES= \
|
MASTER_SITES= \
|
||||||
ftp://ftp.freesoftware.com/pub/linux/redhat/redhat-6.1/SRPMS/SRPMS/ \
|
ftp://ftp.freesoftware.com/pub/linux/redhat/redhat-6.2/SRPMS/SRPMS/ \
|
||||||
ftp://ftp.redhat.com/pub/redhat/redhat-6.1/SRPMS/SRPMS/ \
|
ftp://ftp.redhat.com/pub/redhat/redhat-6.2/SRPMS/SRPMS/ \
|
||||||
ftp://ftp.infomagic.com/pub/mirrors/linux/RedHat/redhat-6.1/SRPMS/SRPMS/
|
ftp://ftp.infomagic.com/pub/mirrors/linux/RedHat/redhat-6.2/SRPMS/SRPMS/
|
||||||
DISTNAME= ${PORTNAME}-0.50-13
|
DISTNAME= ${PORTNAME}-0.50.8-2
|
||||||
EXTRACT_SUFX= .src.rpm
|
EXTRACT_SUFX= .src.rpm
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
@ -26,7 +26,7 @@ BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm \
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
WRKSRC= ${WRKDIR}/newt-0.50
|
WRKSRC= ${WRKDIR}/newt-0.50.8
|
||||||
VERSION= 0
|
VERSION= 0
|
||||||
MAKE_ENV+= prefix=${PREFIX} VERSION=${VERSION} CC=${CC} PCFLAGS="${CFLAGS}"
|
MAKE_ENV+= prefix=${PREFIX} VERSION=${VERSION} CC=${CC} PCFLAGS="${CFLAGS}"
|
||||||
PLIST_SUB+= VERSION="${VERSION}"
|
PLIST_SUB+= VERSION="${VERSION}"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (newt-0.50-13.src.rpm) = 20558ad28c9091272000192b53c435de
|
MD5 (newt-0.50.8-2.src.rpm) = e3af47fa49859b7a72ac03ab352c793f
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- grid.c Mon Feb 8 11:41:47 1999
|
--- grid.c.orig Mon Feb 8 16:41:47 1999
|
||||||
+++ grid.c.new Sun Jan 9 01:15:24 2000
|
+++ grid.c Sat Jul 22 01:14:25 2000
|
||||||
@@ -1,4 +1,3 @@
|
@@ -1,4 +1,3 @@
|
||||||
-#include <alloca.h>
|
-#include <alloca.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- Makefile.in Wed Feb 2 22:18:26 2000
|
--- Makefile.in.orig Thu Feb 3 18:57:57 2000
|
||||||
+++ Makefile.in.new Wed Feb 2 22:19:01 2000
|
+++ Makefile.in Sat Jul 22 01:45:55 2000
|
||||||
@@ -1,16 +1,11 @@
|
@@ -1,16 +1,12 @@
|
||||||
-LIBS = -lslang -lm #-lefence
|
-LIBS = -lslang -lm #-lefence
|
||||||
-SHLIBS = -lslang -lm -lc
|
-SHLIBS = -lslang -lm -lc
|
||||||
+CC ?= cc
|
+CC ?= cc
|
||||||
|
@ -16,14 +16,14 @@
|
||||||
-endif
|
-endif
|
||||||
-
|
-
|
||||||
-VERSION = @VERSION@
|
-VERSION = @VERSION@
|
||||||
-CVSTAG = r$(subst .,-,$(VERSION))
|
|
||||||
-SONAME = @VERSION@
|
|
||||||
+VERSION ?= 0
|
+VERSION ?= 0
|
||||||
|
CVSTAG = r$(subst .,-,$(VERSION))
|
||||||
|
-SONAME = @SONAME@
|
||||||
+SONAME = $(VERSION)
|
+SONAME = $(VERSION)
|
||||||
|
|
||||||
PROGS = test whiptail whiptcl.so testgrid testtree
|
PROGS = test whiptail whiptcl.so testgrid testtree
|
||||||
TESTOBJS = test.o
|
TESTOBJS = test.o
|
||||||
@@ -25,7 +20,7 @@
|
@@ -25,7 +21,7 @@
|
||||||
|
|
||||||
SHCFLAGS = -fPIC
|
SHCFLAGS = -fPIC
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
includedir = $(prefix)/include
|
includedir = $(prefix)/include
|
||||||
libdir = $(prefix)/lib
|
libdir = $(prefix)/lib
|
||||||
bindir = $(prefix)/bin
|
bindir = $(prefix)/bin
|
||||||
@@ -49,25 +44,25 @@
|
@@ -49,25 +45,25 @@
|
||||||
all: $(TARGET) _snackmodule.so
|
all: $(TARGET) _snackmodule.so
|
||||||
|
|
||||||
test: $(TESTOBJS) $(LIBNEWT)
|
test: $(TESTOBJS) $(LIBNEWT)
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
|
|
||||||
$(LIBNEWT): $(LIBNEWT)($(LIBOBJS))
|
$(LIBNEWT): $(LIBNEWT)($(LIBOBJS))
|
||||||
|
|
||||||
@@ -90,7 +85,7 @@
|
@@ -90,7 +86,7 @@
|
||||||
sharedlib: $(LIBNEWTSH)
|
sharedlib: $(LIBNEWTSH)
|
||||||
|
|
||||||
$(LIBNEWTSH): $(SHAREDDIR) $(SHAREDOBJS)
|
$(LIBNEWTSH): $(SHAREDDIR) $(SHAREDOBJS)
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
|
|
||||||
$(SHAREDDIR)/%.o : %.c
|
$(SHAREDDIR)/%.o : %.c
|
||||||
$(CC) $(SHCFLAGS) -c $(CFLAGS) -o $@ $<
|
$(CC) $(SHCFLAGS) -c $(CFLAGS) -o $@ $<
|
||||||
@@ -100,21 +95,21 @@
|
@@ -100,21 +96,23 @@
|
||||||
|
|
||||||
|
|
||||||
install: $(LIBNEWT) install-sh whiptail
|
install: $(LIBNEWT) install-sh whiptail
|
||||||
|
@ -90,14 +90,15 @@
|
||||||
+ install -c -m 644 newt.h $(includedir)
|
+ install -c -m 644 newt.h $(includedir)
|
||||||
+ install -c -m 644 $(LIBNEWT) $(libdir)
|
+ install -c -m 644 $(LIBNEWT) $(libdir)
|
||||||
+ install -c -s -m 755 whiptail $(bindir)
|
+ install -c -s -m 755 whiptail $(bindir)
|
||||||
|
+
|
||||||
|
|
||||||
install-sh: sharedlib whiptcl.so _snackmodule.so
|
install-sh: sharedlib whiptcl.so _snackmodule.so
|
||||||
- [ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir)
|
- [ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir)
|
||||||
- install -m 755 $(LIBNEWTSH) $(instroot)/$(libdir)
|
- install -s -m 755 $(LIBNEWTSH) $(instroot)/$(libdir)
|
||||||
- ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/libnewt.so
|
- ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/libnewt.so
|
||||||
- install -m 755 whiptcl.so $(instroot)/$(libdir)
|
- install -s -m 755 whiptcl.so $(instroot)/$(libdir)
|
||||||
- [ -d $(instroot)/$(pythonbindir) ] || install -m 755 -d $(instroot)/$(pythonbindir)
|
- [ -d $(instroot)/$(pythonbindir) ] || install -m 755 -d $(instroot)/$(pythonbindir)
|
||||||
- install -m 755 _snackmodule.so $(instroot)/$(pythonbindir)
|
- install -s -m 755 _snackmodule.so $(instroot)/$(pythonbindir)
|
||||||
- install -m 755 snack.py $(instroot)/$(pythondir)
|
- install -m 755 snack.py $(instroot)/$(pythondir)
|
||||||
+ [ -d $(libdir) ] || install -m 755 -d $(libdir)
|
+ [ -d $(libdir) ] || install -m 755 -d $(libdir)
|
||||||
+ install -c -m 755 $(LIBNEWTSH) $(libdir)
|
+ install -c -m 755 $(LIBNEWTSH) $(libdir)
|
||||||
|
@ -106,6 +107,7 @@
|
||||||
+ [ -d $(pythonbindir) ] || install -m 755 -d $(pythonbindir)
|
+ [ -d $(pythonbindir) ] || install -m 755 -d $(pythonbindir)
|
||||||
+ install -c -m 755 _snackmodule.so $(pythonbindir)
|
+ install -c -m 755 _snackmodule.so $(pythonbindir)
|
||||||
+ install -c -m 755 snack.py $(pythondir)
|
+ install -c -m 755 snack.py $(pythondir)
|
||||||
|
+
|
||||||
|
|
||||||
archive:
|
configure: configure.in
|
||||||
@cvs tag -F $(CVSTAG)
|
autoconf
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
--- form.c Fri Mar 5 18:27:57 1999
|
--- form.c.orig Sat Dec 11 21:04:22 1999
|
||||||
+++ form.c.new Wed Jan 26 20:33:25 2000
|
+++ form.c Sat Jul 22 01:49:24 2000
|
||||||
@@ -3,9 +3,7 @@
|
@@ -3,10 +3,8 @@
|
||||||
#include <slang.h>
|
#include <slang.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
-#include <sys/select.h>
|
-#include <sys/select.h>
|
||||||
|
#include <sys/time.h>
|
||||||
-
|
-
|
||||||
-#ifdef USE_GPM
|
-#ifdef USE_GPM
|
||||||
+#include <string.h>
|
+#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <sys/time.h> /* timeval */
|
#include <sys/time.h> /* timeval */
|
||||||
#include <sys/types.h> /* socket() */
|
#include <sys/types.h> /* socket() */
|
||||||
@@ -15,11 +13,8 @@
|
@@ -16,11 +14,8 @@
|
||||||
#include <sys/stat.h> /* stat() */
|
#include <sys/stat.h> /* stat() */
|
||||||
#include <termios.h> /* winsize */
|
#include <termios.h> /* winsize */
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Console I/O handling library from the Redhat people
|
Not Erik's Windowing Toolkit: console I/O handling library
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
This is the Redhat newt library, a library that is
|
Newt is a windowing toolkit for text mode built from the slang
|
||||||
similar to (and based on) ncurses in that it does
|
library. It allows color text mode applications to easily use
|
||||||
special things with console I/O.
|
stackable windows, push buttons, check boxes, radio buttons, lists,
|
||||||
|
entry fields, labels, and displayable text. Scrollbars are supported,
|
||||||
|
and forms may be nested to provide extra functionality.
|
||||||
|
|
||||||
Unfortunately, there do not seem to be any documentation
|
WWW: http://www.redhat.com/support/manuals/archive/RHL-5.1-Installation-Guide/ manual/doc102.html
|
||||||
available on Redhat's website about newt.
|
|
||||||
|
|
||||||
--Will <andrews@technologist.com>
|
Besides the newt library, this port provides whiptail, which may
|
||||||
|
be used from shell scripts similarly to Savio Lam's "dialog". Newt
|
||||||
|
provides the textual interface for the Red Hat and Debian boot
|
||||||
|
disks.
|
||||||
|
|
Loading…
Add table
Reference in a new issue