equal
deleted
inserted
replaced
57 # enough for us. We need to include the $(COMPONENT_SUBVERSION) somehow. |
57 # enough for us. We need to include the $(COMPONENT_SUBVERSION) somehow. |
58 # Because the IPS_COMPONENT_VERSION cannot contain letters we used '.0.5' |
58 # Because the IPS_COMPONENT_VERSION cannot contain letters we used '.0.5' |
59 # instead of 'e'. |
59 # instead of 'e'. |
60 IPS_COMPONENT_VERSION= $(COMPONENT_VERSION) |
60 IPS_COMPONENT_VERSION= $(COMPONENT_VERSION) |
61 |
61 |
62 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -I/usr/include/kerberosv5 -DHAVE_KRB5_H=1 -DKRB5_DLLIMP= -DHAVE__GETGRPSBYMEMBER" |
62 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -I/usr/include/kerberosv5 -DHAVE_KRB5_H=1 -DKRB5_DLLIMP= -DHAVE__GETGRPSBYMEMBER -D_SOLARIS_DTRACE" |
63 # Force immediate binding because of chroot(). |
63 # Force immediate binding because of chroot(). |
64 CONFIGURE_OPTIONS += LDFLAGS="-z guidance=nolazyload -z nolazyload -lbsm" |
64 CONFIGURE_OPTIONS += LDFLAGS="-z guidance=nolazyload -z nolazyload -lbsm" |
65 CONFIGURE_OPTIONS += install_user=`id -nu` |
65 CONFIGURE_OPTIONS += install_user=`id -nu` |
66 CONFIGURE_OPTIONS += install_group=`groups | cut -f 1 -d ' '` |
66 CONFIGURE_OPTIONS += install_group=`groups | cut -f 1 -d ' '` |
67 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
67 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
76 CONFIGURE_OPTIONS += --disable-static |
76 CONFIGURE_OPTIONS += --disable-static |
77 CONFIGURE_OPTIONS += --with-modules=mod_solaris_audit:mod_solaris_priv |
77 CONFIGURE_OPTIONS += --with-modules=mod_solaris_audit:mod_solaris_priv |
78 CONFIGURE_OPTIONS += --with-shared=mod_facl:mod_wrap:mod_tls:mod_auth_gss:mod_gss |
78 CONFIGURE_OPTIONS += --with-shared=mod_facl:mod_wrap:mod_tls:mod_auth_gss:mod_gss |
79 CONFIGURE_OPTIONS += --enable-buffer-size=16384 |
79 CONFIGURE_OPTIONS += --enable-buffer-size=16384 |
80 |
80 |
81 # Copy Solaris modules and GSSAPI modules to proftpd source tree |
81 # Copy Solaris modules and GSSAPI modules to proftpd source tree. |
82 COMPONENT_PRE_CONFIGURE_ACTION = \ |
82 COMPONENT_PRE_CONFIGURE_ACTION = \ |
83 ($(CP) mod_solaris_audit.c $(SOURCE_DIR)/contrib ; \ |
83 ($(CP) mod_solaris_audit.c $(SOURCE_DIR)/contrib ; \ |
84 $(CP) mod_solaris_priv.c $(SOURCE_DIR)/contrib ; \ |
84 $(CP) mod_solaris_priv.c $(SOURCE_DIR)/contrib ; \ |
85 cd $(BUILD_DIR) ; \ |
85 cd $(BUILD_DIR) ; \ |
86 $(UNPACK) $(UNPACK_ARGS) ../$(COMPONENT_ARCHIVE_1) ; \ |
86 $(UNPACK) $(UNPACK_ARGS) ../$(COMPONENT_ARCHIVE_1) ; \ |
88 ./configure CC="$(CC)" CFLAGS="-I/usr/include/kerberosv5" ; \ |
88 ./configure CC="$(CC)" CFLAGS="-I/usr/include/kerberosv5" ; \ |
89 $(CP) mod_gss.c mod_auth_gss.c $(SOURCE_DIR)/contrib ; \ |
89 $(CP) mod_gss.c mod_auth_gss.c $(SOURCE_DIR)/contrib ; \ |
90 $(CP) mod_gss.h $(SOURCE_DIR)/include ; \ |
90 $(CP) mod_gss.h $(SOURCE_DIR)/include ; \ |
91 $(CP) mod_gss.html $(SOURCE_DIR)/doc/contrib ; \ |
91 $(CP) mod_gss.html $(SOURCE_DIR)/doc/contrib ; \ |
92 $(CLONEY) $(SOURCE_DIR) $(@D)) |
92 $(CLONEY) $(SOURCE_DIR) $(@D)) |
|
93 |
|
94 # Build Solaris dtrace object files and copy to proftpd build tree. |
|
95 COMPONENT_PRE_BUILD_ACTION = \ |
|
96 (cd dtrace && make CP="$(CP)" CC="$(CC)" BD="$(BUILD_DIR)/$(MACH32)") |
93 |
97 |
94 # proftpd configure and build is not ready for run out of the source tree |
98 # proftpd configure and build is not ready for run out of the source tree |
95 CONFIGURE_SCRIPT = $(@D)/configure |
99 CONFIGURE_SCRIPT = $(@D)/configure |
96 |
100 |
97 # Do not apply the standard license transforms for this component. The |
101 # Do not apply the standard license transforms for this component. The |