Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 25 Jul 2011 01:48:58 +0400
From: Solar Designer <>
Subject: Re: Plugin formats "released"

On Sun, Jul 24, 2011 at 04:26:34PM -0500, JFoug wrote:
> ----- Original Message ----- 
> From: "Solar Designer" <>
> >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.

Oops.  Well, we'll need to adjust the sed expressions to make them
portable, then.  I am really not comfortable about going back to the
grep|sed|awk commands, which I expect will fail in more places overall.

What specific version of Solaris are you testing these on?



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.