*** Makefile.ORIG Thu Sep 18 11:09:55 2008 --- Makefile Thu Sep 18 13:09:49 2008 *************** *** 1,11 **** # Makefile for systems with GNU tools ! CC = gcc INSTALL = install ! IFLAGS = -idirafter dummyinc #CFLAGS = -g ! CFLAGS = -O2 -Wall -W -Wshadow #-pedantic -Werror -Wconversion ! LIBS = `./vsf_findlibs.sh` LINK = -Wl,-s OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \ --- 1,11 ---- # Makefile for systems with GNU tools ! CC = xlc INSTALL = install ! #IFLAGS = -idirafter dummyinc #CFLAGS = -g ! CFLAGS = -O -I/opt/freeware/include ! LIBS = `./vsf_findlibs.sh` -lcrypto -lssl LINK = -Wl,-s OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \ *** builddefs.h.ORIG Thu Sep 18 12:06:44 2008 --- builddefs.h Thu Sep 18 12:06:58 2008 *************** *** 3,9 **** #undef VSF_BUILD_TCPWRAPPERS #define VSF_BUILD_PAM ! #undef VSF_BUILD_SSL #endif /* VSF_BUILDDEFS_H */ --- 3,9 ---- #undef VSF_BUILD_TCPWRAPPERS #define VSF_BUILD_PAM ! #define VSF_BUILD_SSL #endif /* VSF_BUILDDEFS_H */ *** sysdeputil.c.ORIG Thu Sep 18 12:59:06 2008 --- sysdeputil.c Thu Sep 18 13:02:16 2008 *************** *** 145,151 **** --- 145,153 ---- /* No PAM? Try getspnam() with a getpwnam() fallback */ #ifndef VSF_SYSDEP_HAVE_PAM /* This may hit our own "dummy" include and undef VSF_SYSDEP_HAVE_SHADOW */ + #ifndef _AIX #include + #endif #include #include #include *************** *** 152,158 **** --- 154,164 ---- #endif /* Prefer libcap based capabilities over raw syscall capabilities */ + #ifdef _AIX + #include + #else #include + #endif #if defined(VSF_SYSDEP_HAVE_CAPABILITIES) && !defined(VSF_SYSDEP_HAVE_LIBCAP) #include