dot

packages and services management
Log | Files | Refs | README

commit ee446015c14b8302163bbc71a063a3b6c0601290
parent 6d40dc32d0e579358c0ee91bc27ec5f6a97214d5
Author: Josuah Demangeon <mail@josuah.net>
Date:   Tue, 27 Mar 2018 15:28:53 +0200

adding another missing piece

Diffstat:
Mpack/ldapd/build | 28+++++++++++++---------------
Apack/ldapd/config.h.in | 105+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 118 insertions(+), 15 deletions(-)

diff --git a/pack/ldapd/build b/pack/ldapd/build @@ -1,17 +1,15 @@ #!/bin/sh -ex -cp "$PACK/ldapd/config.mk" . -cp "$PACK/ldapd/Makefile" . -cp "$PACK/ldapd/Makefile.compat" compat/Makefile -cp "$PACK/ldapd/Makefile.ldapctl" ldapctl/Makefile -cp "$PACK/ldapd/Makefile.ldapd" ldapd/Makefile - -printf '#include <%s>\n' netinet/in.h net/if.h \ - >>compat/compat.h - -make - -mkdir -p "$PREFIX/bin" "$PREFIX/share/man/man8" - -cp ldapd/ldapd ldapctl/ldapctl "$PREFIX/bin" -cp ldapd/ldapd.8 ldapctl/ldapctl.8 "$PREFIX/share/man/man8" +cp "$PACK/ldapd/Makefile.in" Makefile.in +cp "$PACK/ldapd/Makefile.in.compat" compat/Makefile.in +cp "$PACK/ldapd/Makefile.in.ldapctl" ldapctl/Makefile.in +cp "$PACK/ldapd/Makefile.in.ldapd" ldapd/Makefile.in +cp "$PACK/ldapd/config.h.in" config.h.in +cp "$PACK/ldapd/configure" configure +cp "$PACK/ldapd/install-sh" install-sh + +export CFLAGS="-I'$PACKROOT/include'" LDFLAGS="-L'$PACKROOT/lib'" + +./configure \ + --prefix="$PREFIX" \ + --with-libevent="$PACKROOT" diff --git a/pack/ldapd/config.h.in b/pack/ldapd/config.h.in @@ -0,0 +1,105 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define to 1 if you have the `arc4random' function. */ +#undef HAVE_ARC4RANDOM + +/* Define to 1 if you have the `auth_userokay' function. */ +#undef HAVE_AUTH_USEROKAY + +/* Define to 1 if you have the `getpeereid' function. */ +#undef HAVE_GETPEEREID + +/* Define to 1 if you have the <inttypes.h> header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the <memory.h> header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the `memrchr' function. */ +#undef HAVE_MEMRCHR + +/* Define to 1 if you have the <net/if_dl.h> header file. */ +#undef HAVE_NET_IF_DL_H + +/* Define to 1 if you have the <net/if_media.h> header file. */ +#undef HAVE_NET_IF_MEDIA_H + +/* Define to 1 if you have the <net/if_types.h> header file. */ +#undef HAVE_NET_IF_TYPES_H + +/* Define to 1 if you have the `setproctitle' function. */ +#undef HAVE_SETPROCTITLE + +/* Define to 1 if you have the `setresgid' function. */ +#undef HAVE_SETRESGID + +/* Does struct sockaddr_storage have ss_len? */ +#undef HAVE_SS_LEN_IN_SS + +/* Define to 1 if you have the <stdint.h> header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the <stdlib.h> header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the <strings.h> header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the <string.h> header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the `strlcat' function. */ +#undef HAVE_STRLCAT + +/* Define to 1 if you have the `strlcpy' function. */ +#undef HAVE_STRLCPY + +/* Define to 1 if you have the `strtonum' function. */ +#undef HAVE_STRTONUM + +/* Define to 1 if you have the <sys/file.h> header file. */ +#undef HAVE_SYS_FILE_H + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the <sys/types.h> header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the <unistd.h> header file. */ +#undef HAVE_UNISTD_H + +/* Does struct sockaddr_storage have __ss_len? */ +#undef HAVE___SS_LEN_IN_SS + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Version number of package */ +#undef VERSION + +/* Handle ss_len */ +#if !defined(HAVE_SS_LEN_IN_SS) && defined(HAVE___SS_LEN_IN_SS) +# define ss_len __ss_len +#endif /* !defined(HAVE_SS_LEN_IN_SS) && defined(HAVE_SA_LEN_IN_SS) */