Skip to content

Commit

Permalink
Have it compiling on Solaris, and soon should have it working. Bwahah…
Browse files Browse the repository at this point in the history
…ahahahahaha
  • Loading branch information
fyodor committed Jul 22, 2005
1 parent 153df8b commit 2b834d9
Show file tree
Hide file tree
Showing 18 changed files with 245 additions and 229 deletions.
22 changes: 11 additions & 11 deletions config.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
#ifndef CONFIG_H
#define CONFIG_H

#define PCAP_TIMEOUT_IGNORED 1
/* #undef PCAP_TIMEOUT_IGNORED */

#define HAVE_STRUCT_IP 1

Expand All @@ -123,15 +123,15 @@

#define HAVE_STRING_H 1

#define HAVE_GETOPT_H 1
/* #undef HAVE_GETOPT_H */

#define HAVE_STRINGS_H 1

#define HAVE_PWD_H 1

/* #undef HAVE_BSTRING_H */

/* #undef WORDS_BIGENDIAN */
#define WORDS_BIGENDIAN 1

#define HAVE_MEMORY_H 1

Expand All @@ -142,29 +142,29 @@

#define HAVE_SYS_PARAM_H 1

/* #undef HAVE_SYS_SOCKIO_H */
#define HAVE_SYS_SOCKIO_H 1

/* #undef HAVE_PCRE_H */

#define HAVE_PCRE_PCRE_H 1
/* #undef HAVE_PCRE_PCRE_H */

#define BSD_NETWORKING 1

#define HAVE_INET_ATON 1
/* #undef HAVE_INET_ATON */

#define HAVE_STRCASESTR 1
/* #undef HAVE_STRCASESTR */

/* #undef HAVE_GETOPT_LONG */

/* #undef IN_ADDR_DEEPSTRUCT */
#define IN_ADDR_DEEPSTRUCT 1

/* #undef HAVE_NETINET_IN_SYSTEM_H */

/* #undef HAVE_SOCKADDR_SA_LEN */

#define HAVE_NETINET_IF_ETHER_H 1

#define HAVE_OPENSSL 1
/* #undef HAVE_OPENSSL */

/* #undef STUPID_SOLARIS_CHECKSUM_BUG */

Expand All @@ -191,10 +191,10 @@ extern "C" int gethostname (char *, unsigned int);
#endif

/* #undef DEC */
#define LINUX 1
/* #undef LINUX */
/* #undef FREEBSD */
/* #undef OPENBSD */
/* #undef SOLARIS */
#define SOLARIS 1
/* #undef SUNOS */
/* #undef BSDI */
/* #undef IRIX */
Expand Down
30 changes: 15 additions & 15 deletions libdnet-stripped/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pkglibdir = $(libdir)/libdnet
pkgincludedir = $(includedir)/libdnet
top_builddir = .
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c
INSTALL = config/install-sh -c
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
Expand All @@ -34,8 +34,8 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = x86_64-unknown-linux-gnu
host_triplet = x86_64-unknown-linux-gnu
build_triplet = sparc-sun-solaris2.9
host_triplet = sparc-sun-solaris2.9
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/dnet-config.in \
$(top_srcdir)/Makefile.am.common $(top_srcdir)/configure \
Expand Down Expand Up @@ -118,11 +118,11 @@ INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
LDFLAGS =
LIBOBJS = strlcat$U.o strlcpy$U.o arp-ioctl$U.o eth-linux$U.o fw-ipchains$U.o intf$U.o ip$U.o route-linux$U.o tun-linux$U.o
LIBS =
LIBOBJS = err$U.o strsep$U.o arp-ioctl$U.o eth-dlpi$U.o fw-none$U.o intf$U.o ip-cooked$U.o route-bsd$U.o tun-none$U.o
LIBS = -lsocket -lnsl
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LN_S = ln -s
LTLIBOBJS = strlcat$U.lo strlcpy$U.lo arp-ioctl$U.lo eth-linux$U.lo fw-ipchains$U.lo intf$U.lo ip$U.lo route-linux$U.lo tun-linux$U.lo
LTLIBOBJS = err$U.lo strsep$U.lo arp-ioctl$U.lo eth-dlpi$U.lo fw-none$U.lo intf$U.lo ip-cooked$U.lo route-bsd$U.lo tun-none$U.lo
MAINT = #
MAINTAINER_MODE_FALSE =
MAINTAINER_MODE_TRUE = #
Expand Down Expand Up @@ -164,26 +164,26 @@ am__quote =
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
build = x86_64-unknown-linux-gnu
build = sparc-sun-solaris2.9
build_alias =
build_cpu = x86_64
build_os = linux-gnu
build_vendor = unknown
build_cpu = sparc
build_os = solaris2.9
build_vendor = sun
datadir = ${prefix}/share
exec_prefix = ${prefix}
host = x86_64-unknown-linux-gnu
host = sparc-sun-solaris2.9
host_alias =
host_cpu = x86_64
host_os = linux-gnu
host_vendor = unknown
host_cpu = sparc
host_os = solaris2.9
host_vendor = sun
includedir = ${prefix}/include
infodir = ${prefix}/info
install_sh = /home/fyodor/nmap/libdnet-stripped/config/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localstatedir = ${prefix}/var
mandir = ${prefix}/man
mkdir_p = mkdir -p --
mkdir_p = $(mkinstalldirs)
oldincludedir = /usr/include
prefix = /usr/local
program_transform_name = s,x,x,
Expand Down
30 changes: 15 additions & 15 deletions libdnet-stripped/include/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pkglibdir = $(libdir)/libdnet
pkgincludedir = $(includedir)/libdnet
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c
INSTALL = ../config/install-sh -c
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
Expand All @@ -34,8 +34,8 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = x86_64-unknown-linux-gnu
host_triplet = x86_64-unknown-linux-gnu
build_triplet = sparc-sun-solaris2.9
host_triplet = sparc-sun-solaris2.9
DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(top_srcdir)/Makefile.am.common
Expand Down Expand Up @@ -109,11 +109,11 @@ INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
LDFLAGS =
LIBOBJS = strlcat$U.o strlcpy$U.o arp-ioctl$U.o eth-linux$U.o fw-ipchains$U.o intf$U.o ip$U.o route-linux$U.o tun-linux$U.o
LIBS =
LIBOBJS = err$U.o strsep$U.o arp-ioctl$U.o eth-dlpi$U.o fw-none$U.o intf$U.o ip-cooked$U.o route-bsd$U.o tun-none$U.o
LIBS = -lsocket -lnsl
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LN_S = ln -s
LTLIBOBJS = strlcat$U.lo strlcpy$U.lo arp-ioctl$U.lo eth-linux$U.lo fw-ipchains$U.lo intf$U.lo ip$U.lo route-linux$U.lo tun-linux$U.lo
LTLIBOBJS = err$U.lo strsep$U.lo arp-ioctl$U.lo eth-dlpi$U.lo fw-none$U.lo intf$U.lo ip-cooked$U.lo route-bsd$U.lo tun-none$U.lo
MAINT = #
MAINTAINER_MODE_FALSE =
MAINTAINER_MODE_TRUE = #
Expand Down Expand Up @@ -155,26 +155,26 @@ am__quote =
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
build = x86_64-unknown-linux-gnu
build = sparc-sun-solaris2.9
build_alias =
build_cpu = x86_64
build_os = linux-gnu
build_vendor = unknown
build_cpu = sparc
build_os = solaris2.9
build_vendor = sun
datadir = ${prefix}/share
exec_prefix = ${prefix}
host = x86_64-unknown-linux-gnu
host = sparc-sun-solaris2.9
host_alias =
host_cpu = x86_64
host_os = linux-gnu
host_vendor = unknown
host_cpu = sparc
host_os = solaris2.9
host_vendor = sun
includedir = ${prefix}/include
infodir = ${prefix}/info
install_sh = /home/fyodor/nmap/libdnet-stripped/config/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localstatedir = ${prefix}/var
mandir = ${prefix}/man
mkdir_p = mkdir -p --
mkdir_p = $(mkinstalldirs)
oldincludedir = /usr/include
prefix = /usr/local
program_transform_name = s,x,x,
Expand Down
44 changes: 22 additions & 22 deletions libdnet-stripped/include/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* include/config.h.in. Generated automatically from configure.in by autoheader. */

/* Define if arpreq struct has arp_dev. */
#define HAVE_ARPREQ_ARP_DEV 1
/* #undef HAVE_ARPREQ_ARP_DEV */

/* Define if you have the Berkeley Packet Filter. */
/* #undef HAVE_BSD_BPF */
Expand All @@ -11,7 +11,7 @@
#define HAVE_DLFCN_H 1

/* Define if you have the `err' function. */
#define HAVE_ERR 1
/* #undef HAVE_ERR */

/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
Expand Down Expand Up @@ -44,13 +44,13 @@
/* #undef HAVE_LIBNM */

/* Define if you have the `nsl' library (-lnsl). */
/* #undef HAVE_LIBNSL */
#define HAVE_LIBNSL 1

/* Define if you have the `resolv' library (-lresolv). */
/* #undef HAVE_LIBRESOLV */

/* Define if you have the `socket' library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
#define HAVE_LIBSOCKET 1

/* Define if you have the `str' library (-lstr). */
/* #undef HAVE_LIBSTR */
Expand All @@ -59,7 +59,7 @@
/* #undef HAVE_LIBWS2_32 */

/* Define if you have the <linux/if_tun.h> header file. */
#define HAVE_LINUX_IF_TUN_H 1
/* #undef HAVE_LINUX_IF_TUN_H */

/* Define if you have the <linux/ip_fwchains.h> header file. */
/* #undef HAVE_LINUX_IP_FWCHAINS_H */
Expand All @@ -69,19 +69,19 @@

/* Define if you have the <linux/netfilter_ipv4/ipchains_core.h> header file.
*/
#define HAVE_LINUX_NETFILTER_IPV4_IPCHAINS_CORE_H 1
/* #undef HAVE_LINUX_NETFILTER_IPV4_IPCHAINS_CORE_H */

/* Define if you have Linux PF_PACKET sockets. */
#define HAVE_LINUX_PF_PACKET 1
/* #undef HAVE_LINUX_PF_PACKET */

/* Define if you have the Linux /proc filesystem. */
#define HAVE_LINUX_PROCFS 1
/* #undef HAVE_LINUX_PROCFS */

/* Define if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define if you have the <netinet/in_var.h> header file. */
/* #undef HAVE_NETINET_IN_VAR_H */
#define HAVE_NETINET_IN_VAR_H 1

/* Define if you have the <netinet/ip_compat.h> header file. */
/* #undef HAVE_NETINET_IP_COMPAT_H */
Expand All @@ -96,13 +96,13 @@
/* #undef HAVE_NETINET_IP_FW_H */

/* Define if you have the <net/bpf.h> header file. */
/* #undef HAVE_NET_BPF_H */
#define HAVE_NET_BPF_H 1

/* Define if you have the <net/if_arp.h> header file. */
#define HAVE_NET_IF_ARP_H 1

/* Define if you have the <net/if_dl.h> header file. */
/* #undef HAVE_NET_IF_DL_H */
#define HAVE_NET_IF_DL_H 1

/* Define if you have the <net/if.h> header file. */
#define HAVE_NET_IF_H 1
Expand All @@ -129,13 +129,13 @@
#define HAVE_NET_ROUTE_H 1

/* Define if you have cooked raw IP sockets. */
/* #undef HAVE_RAWIP_COOKED */
#define HAVE_RAWIP_COOKED 1

/* Define if raw IP sockets require host byte ordering for ip_off, ip_len. */
/* #undef HAVE_RAWIP_HOST_OFFLEN */

/* Define if <net/route.h> has rt_msghdr struct. */
/* #undef HAVE_ROUTE_RT_MSGHDR */
#define HAVE_ROUTE_RT_MSGHDR 1

/* Define if <netinet/in.h> has sockaddr_in6 struct. */
#define HAVE_SOCKADDR_IN6 1
Expand All @@ -144,13 +144,13 @@
/* #undef HAVE_SOCKADDR_SA_LEN */

/* Define if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* #undef HAVE_STDINT_H */

/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define if you have SNMP MIB2 STREAMS. */
/* #undef HAVE_STREAMS_MIB2 */
#define HAVE_STREAMS_MIB2 1

/* Define if you have route(7) STREAMS. */
/* #undef HAVE_STREAMS_ROUTE */
Expand All @@ -162,19 +162,19 @@
#define HAVE_STRING_H 1

/* Define if you have the `strlcat' function. */
/* #undef HAVE_STRLCAT */
#define HAVE_STRLCAT 1

/* Define if you have the `strlcpy' function. */
/* #undef HAVE_STRLCPY */
#define HAVE_STRLCPY 1

/* Define if you have the <stropts.h> header file. */
#define HAVE_STROPTS_H 1

/* Define if you have the `strsep' function. */
#define HAVE_STRSEP 1
/* #undef HAVE_STRSEP */

/* Define if you have the <sys/bufmod.h> header file. */
/* #undef HAVE_SYS_BUFMOD_H */
#define HAVE_SYS_BUFMOD_H 1

/* Define if you have the <sys/dlpihdr.h> header file. */
/* #undef HAVE_SYS_DLPIHDR_H */
Expand All @@ -183,7 +183,7 @@
/* #undef HAVE_SYS_DLPI_EXT_H */

/* Define if you have the <sys/dlpi.h> header file. */
/* #undef HAVE_SYS_DLPI_H */
#define HAVE_SYS_DLPI_H 1

/* Define if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
Expand All @@ -198,13 +198,13 @@
#define HAVE_SYS_SOCKET_H 1

/* Define if you have the <sys/sockio.h> header file. */
/* #undef HAVE_SYS_SOCKIO_H */
#define HAVE_SYS_SOCKIO_H 1

/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define if you have the <sys/sysctl.h> header file. */
#define HAVE_SYS_SYSCTL_H 1
/* #undef HAVE_SYS_SYSCTL_H */

/* Define if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
Expand Down
Loading

0 comments on commit 2b834d9

Please sign in to comment.