Hi Folks. these two bugs (305357 and 190658) are both related to
getting sample-server and sample-client to build with the typical
debian setup. I agree with bug 305357 that it would be nice to ship
these binaries with some package (though i don't know whether
sasl2-bin is the right package)
i'm posting a copy of a functional Makefile and config.h which allow
these two programs to build on an etch system for me. I hope other
people find this useful.
Regards,
--dkg
#!/usr/bin/make -f
all: sample-server sample-client
sample-server: sample-server.c
gcc -g -o sample-server sample-server.c -I. -I/usr/include/sasl -lsasl2
sample-client: sample-client.c
gcc -g -o sample-client sample-client.c -I. -I/usr/include/sasl -lsasl2
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#define PACKAGE "sasl-sample-dkg"
#define VERSION "0.0"
#define PLUGINDIR "/usr/lib/sasl2"
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#define HIER_DELIMITER '/'