[Oisf-devel] [PATCH] Get make distcheck working

Victor Julien victor at inliniac.net
Sun Jan 24 12:31:56 UTC 2010


Hi Steve, thanks for the patch. I've applied it.

Steve Grubb wrote:
> Hello,
> 
> Below is a patch that gets "make distcheck" working. Its against the
> current code in git. The project version was set to 0.1 in configure,
> I changed that to 0.8.1 just so its actually relevant. You might want
> to set that to something else. 
> 
> After checking this patch, I find that there are several source code
> files in src/ that are not getting compiled:
> 
> -app-layer-detect.c
> -app-layer-detect.h
> -app-layer-http.c

There are obsolete indeed, I've removed them.

> -reputation.h

This is going to be used by a patch I'll apply soon.

Cheers,
Victor

> Are these new or abandoned? Anyways...here's the patch.
> 
> -Steve
> 
> 
> diff -ur oisf.orig/configure.in oisf/configure.in
> --- oisf.orig/configure.in	2010-01-23 10:31:04.000000000 -0500
> +++ oisf/configure.in	2010-01-23 10:56:09.000000000 -0500
> @@ -3,7 +3,7 @@
>  AC_INIT(configure.in)
>  
>      AM_CONFIG_HEADER(config.h)
> -    AM_INIT_AUTOMAKE(suricata, 0.1)
> +    AM_INIT_AUTOMAKE(suricata, 0.8.1)
>  
>      AC_LANG_C
>      AC_PROG_CC_C99
> diff -ur oisf.orig/Makefile.am oisf/Makefile.am
> --- oisf.orig/Makefile.am	2010-01-23 10:31:04.000000000 -0500
> +++ oisf/Makefile.am	2010-01-23 10:54:59.000000000 -0500
> @@ -1,5 +1,7 @@
>  # not a GNU package. You can remove this line, if
>  # have all needed files, that a GNU package needs
>  AUTOMAKE_OPTIONS = foreign 1.4
> -
> -SUBDIRS = src
> +EXTRA_DIST = ChangeLog COPYING LICENSE suricata.yaml \
> +	doc/AUTHORS doc/GITGUIDE doc/INSTALL doc/NEWS \
> +	doc/README doc/TODO
> +SUBDIRS = src 
> diff -ur oisf.orig/src/Makefile.am oisf/src/Makefile.am
> --- oisf.orig/src/Makefile.am	2010-01-23 10:31:04.000000000 -0500
> +++ oisf/src/Makefile.am	2010-01-23 10:42:13.000000000 -0500
> @@ -1,3 +1,7 @@
> +noinst_HEADERS = action-globals.h app-layer-http.h \
> +	app-layer-nbss.h debug.h decode-events.h \
> +	flow-private.h queue.h source-nfq-prototypes.h \
> +	suricata-common.h threadvars.h
>  bin_PROGRAMS = suricata
>  suricata_SOURCES = suricata.c suricata.h \
>  runmodes.c runmodes.h \
> _______________________________________________
> Oisf-devel mailing list
> Oisf-devel at openinfosecfoundation.org
> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel


-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------




More information about the Oisf-devel mailing list