Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 24 Jul 2011 16:26:34 -0500
From: "JFoug" <>
To: <>
Subject: Re: Plugin formats "released"

----- Original Message ----- 
From: "Solar Designer" <>

> So I simplified it to:
> Then, I did not like the grep|sed|awk commands, which I simplified to
> single invocations of sed:
> fmt_externs.h: $(PLUGFORMATS_SRCS) Makefile
> $(SED) -n 's/^\(struct fmt_main [^ ]\+\) =.*/extern \1;/p' *_fmt_plug.c > 
> fmt_externs.h
> fmt_registers.h: $(PLUGFORMATS_SRCS) Makefile
> $(SED) -n 's/^struct fmt_main \([^ ]\+\) =.*/john_register_one(\&\1);/p' 
> *_fmt_plug.c > fmt_registers.h
> john.o: john.c fmt_externs.h fmt_registers.h
> $(CC) $(CFLAGS) $(OPT_NORMAL) john.c

Your simplifications fail on Sparc.  I get empty fmt_registers.h and 
fmt_externs.h   Thus even though all the .o are built, I get pretty much a 
'base' 1.7.8 john build.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.