equal
deleted
inserted
replaced
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 |
20 |
21 # |
21 # |
22 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
22 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
23 # |
23 # |
24 |
24 |
25 include ../../make-rules/shared-macros.mk |
25 include ../../make-rules/shared-macros.mk |
26 |
26 |
27 COMPONENT_NAME= sudo |
27 COMPONENT_NAME= sudo |
28 SRC_VERSION= 1.8.1 |
28 SRC_VERSION= 1.8.3 |
29 SRC_PATCH_VERSION= 2 |
29 SRC_PATCH_VERSION= 2 |
30 COMPONENT_VERSION= $(SRC_VERSION).$(SRC_PATCH_VERSION) |
30 COMPONENT_VERSION= $(SRC_VERSION).$(SRC_PATCH_VERSION) |
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(SRC_VERSION)p$(SRC_PATCH_VERSION) |
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(SRC_VERSION)p$(SRC_PATCH_VERSION) |
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
33 COMPONENT_ARCHIVE_HASH= sha1:b743b3d7bdb06de68ea24eedfe13530e8fbcae09 |
33 COMPONENT_ARCHIVE_HASH= sha1:37d70b133f809116ce631229fa0e727d9f5125ad |
34 COMPONENT_ARCHIVE_URL= http://www.sudo.ws/sudo/dist/$(COMPONENT_ARCHIVE) |
34 COMPONENT_ARCHIVE_URL= http://www.sudo.ws/sudo/dist/$(COMPONENT_ARCHIVE) |
35 COMPONENT_PROJECT_URL= http://www.sudo.ws/ |
35 COMPONENT_PROJECT_URL= http://www.sudo.ws/ |
36 |
36 |
37 include $(WS_TOP)/make-rules/prep.mk |
37 include $(WS_TOP)/make-rules/prep.mk |
38 include $(WS_TOP)/make-rules/configure.mk |
38 include $(WS_TOP)/make-rules/configure.mk |
41 CONFIGURE_ENV += "CC=$(CC)" |
41 CONFIGURE_ENV += "CC=$(CC)" |
42 CONFIGURE_ENV += "CFLAGS=$(CFLAGS)" |
42 CONFIGURE_ENV += "CFLAGS=$(CFLAGS)" |
43 CONFIGURE_ENV += "CXX=$(CXX)" |
43 CONFIGURE_ENV += "CXX=$(CXX)" |
44 CONFIGURE_ENV += "MAKE=$(GMAKE)" |
44 CONFIGURE_ENV += "MAKE=$(GMAKE)" |
45 |
45 |
46 CONFIGURE_OPTIONS += --with-CC=$(CC) |
|
47 CONFIGURE_OPTIONS += --with-ldap |
46 CONFIGURE_OPTIONS += --with-ldap |
48 CONFIGURE_OPTIONS += --with-project |
47 CONFIGURE_OPTIONS += --with-project |
49 CONFIGURE_OPTIONS += --with-timedir=/var/run/sudo |
48 CONFIGURE_OPTIONS += --with-timedir=/system/volatile/sudo |
50 CONFIGURE_OPTIONS += --with-pam --with-pam-login |
49 CONFIGURE_OPTIONS += --with-pam --with-pam-login |
51 CONFIGURE_OPTIONS += --with-tty-tickets |
50 CONFIGURE_OPTIONS += --with-tty-tickets |
52 CONFIGURE_OPTIONS += --without-insults |
51 CONFIGURE_OPTIONS += --without-insults |
53 CONFIGURE_OPTIONS += --without-lecture |
52 CONFIGURE_OPTIONS += --without-lecture |
54 CONFIGURE_OPTIONS += --with-ignore-dot |
53 CONFIGURE_OPTIONS += --with-ignore-dot |