FreeBSD Bugzilla – Attachment 153024 Details for
Bug 197601
net/omnitty: Allow >32-character hostnames
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
typescript, showing "svn diff" & successful build
pr197601.txt (text/plain), 6.04 KB, created by
david
on 2015-02-16 03:30:04 UTC
(
hide
)
Description:
typescript, showing "svn diff" & successful build
Filename:
MIME Type:
Creator:
david
Created:
2015-02-16 03:30:04 UTC
Size:
6.04 KB
patch
obsolete
>Script started on Sun Feb 15 19:17:28 2015 >root@g1-254:/common/home/david # cd /usr/ports >root@g1-254:/usr/ports # svn dui[K[Kiff net/omnitty/ >Index: net/omnitty/files/patch-main.c >=================================================================== >--- net/omnitty/files/patch-main.c (revision 379032) >+++ net/omnitty/files/patch-main.c (working copy) >@@ -1,5 +1,13 @@ > --- main.c.orig 2005-10-26 06:08:25.000000000 +0800 > +++ main.c 2011-04-22 23:14:33.000000000 +0800 >+@@ -36,6 +36,7 @@ >+ /* minimum terminal dimensions to run program */ >+ #define MIN_REQUIRED_WIDTH 80 >+ #define MIN_REQUIRED_HEIGHT 25 >++#define MAX_HOSTNAME_LENGTH 64 >+ >+ #define REMINDER_LINE "OmNiTTY-R v" OMNITTY_VERSION \ >+ " \007F1\007:menu \006F2/3\007:sel \003F4\007:tag" \ > @@ -88,6 +88,12 @@ > define_key("\e[15~", KEY_F(5)); define_key("\e[17~", KEY_F(6)); > define_key("\e[18~", KEY_F(7)); define_key("\e[19~", KEY_F(8)); >@@ -13,6 +21,19 @@ > > getmaxyx(stdscr, h, w); > if (h < MIN_REQUIRED_HEIGHT || w < MIN_REQUIRED_WIDTH) { >+@@ -288,10 +289,10 @@ >+ } >+ >+ static void add_machine() { >+- static char buf[32]; >++ static char buf[MAX_HOSTNAME_LENGTH]; >+ >+ *buf = 0; >+- if (minibuf_prompt(minibuf, "Add: ", 0xE0, buf, 32)) { >++ if (minibuf_prompt(minibuf, "Add: ", 0xE0, buf, sizeof(buf))) { >+ if (*buf == '@') add_machines_from_file(buf+1); >+ else machmgr_add(buf); >+ } > @@ -335,9 +341,10 @@ > > while (!quit) { >root@g1-254:/usr/ports # cd net/oi[Kmnitty/ && make stage && make check-plist && ma ke stage-qa && make package >===> omnitty-0.3.0_2 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by omnitty-0.3.0_2 for building >===> Extracting for omnitty-0.3.0_2 >=> SHA256 Checksum OK for omnitty-0.3.0.tar.gz. >===> Patching for omnitty-0.3.0_2 >===> Applying FreeBSD patches for omnitty-0.3.0_2 >/usr/bin/sed -i.bak 's|<alloca.h>|<stdlib.h>|' /common/ports/net/omnitty/work/omnitty-0.3.0/machmgr.c >===> omnitty-0.3.0_2 depends on executable: gmake - found >===> omnitty-0.3.0_2 depends on shared library: librote.so - found (/usr/local/lib/librote.so.0.2.8) >===> Configuring for omnitty-0.3.0_2 >configure: loading site script /usr/ports/Templates/config.site >checking whether libROTE is installed... yes >checking for gcc... cc >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether cc accepts -g... yes >checking for cc option to accept ANSI C... none needed >checking how to run the C preprocessor... cpp >checking for egrep... grep -E >checking for ANSI C header files... (cached) yes >checking for sys/wait.h that is POSIX.1 compatible... (cached) yes >checking for an ANSI C-conforming const... yes >checking for sys/types.h... (cached) yes >checking for sys/stat.h... (cached) yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for memory.h... (cached) yes >checking for strings.h... (cached) yes >checking for inttypes.h... (cached) yes >checking for stdint.h... (cached) yes >checking for unistd.h... (cached) yes >checking for pid_t... (cached) yes >checking return type of signal handlers... void >checking for strdup... (cached) yes >configure: creating ./config.status >config.status: creating Makefile >===> Building for omnitty-0.3.0_2 >gmake[1]: Entering directory '/common/ports/net/omnitty/work/omnitty-0.3.0' >cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -Wall -DOMNITTY_VERSION=\"0.3.0\" -MM curutil.c main.c menu.c help.c machmgr.c machine.c minibuf.c >.depends >cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -Wall -DOMNITTY_VERSION=\"0.3.0\" -c -o curutil.o curutil.c >cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -Wall -DOMNITTY_VERSION=\"0.3.0\" -c -o main.o main.c >cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -Wall -DOMNITTY_VERSION=\"0.3.0\" -c -o menu.o menu.c >cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -Wall -DOMNITTY_VERSION=\"0.3.0\" -c -o help.o help.c >cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -Wall -DOMNITTY_VERSION=\"0.3.0\" -c -o machmgr.o machmgr.c >cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -Wall -DOMNITTY_VERSION=\"0.3.0\" -c -o machine.o machine.c >cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -Wall -DOMNITTY_VERSION=\"0.3.0\" -c -o minibuf.o minibuf.c >cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -Wall -DOMNITTY_VERSION=\"0.3.0\" -o omnitty curutil.o main.o menu.o help.o machmgr.o machine.o minibuf.o -fstack-protector -lncurses -L/usr/local/lib -lrote >gmake[1]: Leaving directory '/common/ports/net/omnitty/work/omnitty-0.3.0' >===> Staging for omnitty-0.3.0_2 >===> Generating temporary packing list >install -s -o root -g wheel -m 555 /common/ports/net/omnitty/work/omnitty-0.3.0/omnitty /common/ports/net/omnitty/work/stage/usr/local/bin >install -o root -g wheel -m 444 /common/ports/net/omnitty/work/omnitty-0.3.0/omnitty.1 /common/ports/net/omnitty/work/stage/usr/local/man/man1 >====> Compressing man pages (compress-man) >====> Checking for pkg-plist issues (check-plist) >===> Parsing plist >===> Checking for items in STAGEDIR missing from pkg-plist >===> Checking for items in pkg-plist which are not in STAGEDIR >===> No pkg-plist issues found (check-plist) >====> Running Q/A tests (stage-qa) >===> Building package for omnitty-0.3.0_2 >/usr/local/lib/librote.so.0.2.8 >root@g1-254:/usr/ports/net/omnitty # echo $? >0 >root@g1-254:/usr/ports/net/omnitty # dirs >/usr/ports/net/omnitty >root@g1-254:/usr/ports/net/omnitty # make clean >===> Cleaning for omnitty-0.3.0_2 >root@g1-254:/usr/ports/net/omnitty # ^Dexit > >Script done on Sun Feb 15 19:18:47 2015
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 197601
:
152947
| 153024