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
> 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