Happened across aget today. The source is available from http://www.enderunix.org/aget/aget-0.4.1.tar.gz.

To compile under Mac OS X (10.6 Snow Leopard), you need to add -D_DARWIN_C_SOURCE to the gcc compile flags in the Makefile.


# EnderUNIX Aget Makefile
# http://www.enderunix.org/aget/

OBJS = main.o Aget.o Misc.o Head.o Signal.o Download.o Resume.o
CFLAGS = -g -W -D_DARWIN_C_SOURCE
LDFLAGS = -pthread
CC = gcc
STRIP = strip

all: $(OBJS)
$(CC) -o aget $(OBJS) $(LDFLAGS)

strip: $(all)
$(STRIP) aget

install:
cp -f aget /usr/local/bin/aget
cp -f aget.1 /usr/share/man/man1/

clean:
rm -f aget *.o core.* *~

c:
rm -f *core* *~ *log