Mailing List Archive

libspf-0.23c1 - autoconf-ed version
On Tue, 2004-02-10 at 01:52, Meng Weng Wong wrote:
> On Mon, Feb 09, 2004 at 06:29:50PM +0300, Eugene Crosser wrote:
> |
> | I think that I could provide diffs to address these things, if you
> | like...
> |
>
> patches are always welcome ...

Please have a look.

Practically, the only change is to use automake/autoconf. Due to that, I
had to rename one enum element - it was called VERSION and clashed with
the VERSION #defined in config.h. Other than that, no change in the C
code was made, only a set of #includes added at the top of each file.
The size of the diff is so big because I had to include GNU
getopt.[ch]. I think that it would be better to change spfquery to use
standard getopt, but my goal was to minimize changes in the code itself,
so I left it alone.

I checked it on SPARC/Solaris 8 and FreeBSD 4.9. I can do further
checking and cleanup if I get your approval for the proposed changes.

HOW TO BUILD:

after applying the diff, the maintainer of the package should run these
commands:

$ aclocal
$ autoheader
$ libtoolize
$ automake -a
$ autoconf
$ ./configure

After that, "make" will build the library and the "spfquery" binary.
"make dist", or better yet, "make distcheck" will create a distribution
tarball "libspf-0.23c1.tar.gz".

When a user gets the above tarball, there is no need for autoconf
witchcraft anymore. Just untar the file, run "./configure
[--various-options]", "make" and "make install".

IMPORTANT NOTE:

Tarball created with "make dist" DOES NOT CONTAIN sendmail and qmail
patches. I think that they should rather be distributed in a separate
package, but if necessary, they can be included in the tarball by
specifying all the needed files in EXTRA_DIST in Makefile.am.

Eugene

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname@Ë`Ì{5¤¨wâÇSÓ°)h
Re: libspf-0.23c1 - autoconf-ed version [ In reply to ]
In <1076439361.7404.27.camel@ariel.sovam.com> Eugene Crosser <crosser@rol.ru> writes:

> Please have a look.

Thanks much!

I'll try to get to incorporating the changes you made to the spfquery
program in a day or two. James may want to apply the patches
directly. (I think the copy of spfquery in the libspf tarball is
slightly different than the one I maintain.)


-wayne

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname@Ë`Ì{5¤¨wâÇSÓ°)h
Re: libspf-0.23c1 - autoconf-ed version [ In reply to ]
On Tue, 2004-02-10 at 10:56, Eugene Crosser wrote:

> Practically, the only change is to use automake/autoconf. Due to that, I
> had to rename one enum element - it was called VERSION and clashed with
> the VERSION #defined in config.h. Other than that, no change in the C
> code was made, only a set of #includes added at the top of each file.
> The size of the diff is so big because I had to include GNU
> getopt.[ch]. I think that it would be better to change spfquery to use
> standard getopt, but my goal was to minimize changes in the code itself,
> so I left it alone.
>
> I checked it on SPARC/Solaris 8 and FreeBSD 4.9. I can do further
> checking and cleanup if I get your approval for the proposed changes.
>
> HOW TO BUILD:
>
> after applying the diff, the maintainer of the package should run these
> commands:
>
> $ aclocal
> $ autoheader
> $ libtoolize
> $ automake -a
> $ autoconf
> $ ./configure
>
> After that, "make" will build the library and the "spfquery" binary.
> "make dist", or better yet, "make distcheck" will create a distribution
> tarball "libspf-0.23c1.tar.gz".
>
> When a user gets the above tarball, there is no need for autoconf
> witchcraft anymore. Just untar the file, run "./configure
> [--various-options]", "make" and "make install".
>
> IMPORTANT NOTE:
>
> Tarball created with "make dist" DOES NOT CONTAIN sendmail and qmail
> patches. I think that they should rather be distributed in a separate
> package, but if necessary, they can be included in the tarball by
> specifying all the needed files in EXTRA_DIST in Makefile.am.
>
> Eugene

Thanks Eugene!

I will try to include this in today's/tonight's 0.24! Much appreciated.

Cheers,

James
--
James Couzens,
Programmer

Current projects:
http://libspf.org

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname@Ï#ÄÏÉæGã!'Rzš´ˆ»£‡Æ~3com