Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29125 - new ebuild request (unix2tcp)
Summary: new ebuild request (unix2tcp)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: SpanKY
URL: http://dizzy.roedu.net/unix2tcp/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-19 08:12 UTC by Dizzy
Modified: 2003-11-28 18:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dizzy 2003-09-19 08:12:36 UTC
Hi

I have made a new ebuild which should probably go into net-misc if aproved.
unix2tcp is a project of my own which can be very usefull in some situations
(read the README or the homepage for more info).

URL: http://dizzy.roedu.net/unix2tcp/unix2tcp.portage.tar.gz

Please advise, thanks


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-19 22:45:14 UTC
Mihai, on your homepage, you have the word "between" mis-spelled, by the way.
Comment 2 Dizzy 2003-09-20 03:20:45 UTC
Thanks! I just corrected the typo.
Comment 3 SpanKY gentoo-dev 2003-09-21 00:00:23 UTC
might i suggest the following changes to your Makefile:

this will allow environment variables to override the default Makefile settings:
-CC=gcc
-CCFLAGS=-O2 -g -Wall
-LDFLAGS=-g
+CC ?= gcc
+CFLAGS ?= -O2 -g -Wall
+LDFLAGS ?= -g

also, you could unify the way your Makefile builds your .c files:
OBJS = unix2tcp.o list.o
unix2tcp: $(OBJS)
    $(CC) $(LDFLAGS) $(LIBS) $(OBJS) -o unix2tcp

.c.o:
    $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@

clean:
    rm -f unix2tcp utelnet $(OBJS) *~

at least add the variable stuff to your tarball and i'll add the ebuild to portage ;)
Comment 4 Dizzy 2003-09-21 10:31:58 UTC
Thanks for you sugestions! I have updated Makefile on unix2tcp to contain both sugestions. I have tested them on both GNU make and BSD make and they work fine. So I guess you need to update my ebuild tarball to not do those sed's ...
Comment 5 SpanKY gentoo-dev 2003-09-22 06:56:25 UTC
now in cvs, thanks ;)
Comment 6 Dizzy 2003-11-28 01:05:36 UTC
any chance to become unmasked in the near future ? or is some doc out there explaining the gentoo portage policy and when new packages can become unmasked that I have missed to read it ?

Thanks
Comment 7 SpanKY gentoo-dev 2003-11-28 18:21:25 UTC
it's masked in unstable ... it'll remain so for some time as long as new bug reports dont come out and no one complains ;)