components/samba/samba/Makefile
changeset 5137 b0c6a0c83b00
parent 5083 30d15206ebc4
child 5145 652f7016dfd9
equal deleted inserted replaced
5136:545b33faf1ec 5137:b0c6a0c83b00
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
       
    26 include ../../../make-rules/shared-macros.mk
       
    27 
    26 # Samba does not work properly on i386 when built by studio with -xO3+.
    28 # Samba does not work properly on i386 when built by studio with -xO3+.
    27 ifeq ($(MACH), sparc)
    29 ifeq ($(MACH), sparc)
    28 # parallelize up to 64 concurent tasks for sparc
    30 # standard options
    29 WAFOPT1 = -j64
       
    30 else
    31 else
    31 # Both SPRO_VROOT and studio_OPT vars must use the override keyword otherwise
    32 # Both SPRO_VROOT and studio_OPT vars must use the override keyword otherwise
    32 # Userland will ignore it and use its default value.
    33 # Userland will ignore it and use its default value.
    33 # To use the older 12.3 compiler instead of the default 12.4 compiler uncomment
    34 # To use the older 12.3 compiler instead of the default 12.4 compiler uncomment
    34 # the following line.
    35 # the following line.
    35 #override SPRO_VROOT = $(SPRO_ROOT)/solarisstudio12.3
    36 #override SPRO_VROOT = $(SPRO_ROOT)/solarisstudio12.3
    36 override studio_OPT = -xO1
    37 override studio_OPT = -xO1
    37 # parallelize up to 16 concurent tasks for i386
       
    38 WAFOPT1 = -j16
       
    39 endif
    38 endif
    40 
    39 
    41 # parfait seems to spin on us
    40 # parfait seems to spin on us
    42 export PARFAIT_BUILD=no
    41 export PARFAIT_BUILD=no
    43 
       
    44 include ../../../make-rules/shared-macros.mk
       
    45 
    42 
    46 COMPONENT_NAME=		samba
    43 COMPONENT_NAME=		samba
    47 COMPONENT_VERSION=	4.1.17
    44 COMPONENT_VERSION=	4.1.17
    48 TPNO=			20605
    45 TPNO=			20605
    49 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    46 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    72 # Set the pkg... path to search files in ./Solaris/ dir (mainly the SMF manifests are there)
    69 # Set the pkg... path to search files in ./Solaris/ dir (mainly the SMF manifests are there)
    73 PKG_PROTO_DIRS += $(COMPONENT_DIR)
    70 PKG_PROTO_DIRS += $(COMPONENT_DIR)
    74 
    71 
    75 # Oracle HSM is not supported on 12.0 yet but the libsam.so target should rather be commented out than removed
    72 # Oracle HSM is not supported on 12.0 yet but the libsam.so target should rather be commented out than removed
    76 # (note) change compiler bitness here when Samba became 64bits
    73 # (note) change compiler bitness here when Samba became 64bits
    77 #$(PROTO_DIR)/opt/SUNWsamfs/lib/libsam.so: Solaris/libsam.c
    74 #$(PROTO_DIR)/opt/SUNWsamfs/lib/$(MACH64)/libsam.so: Solaris/libsam.c
    78 #	$(MKDIR) $(@D)
    75 #	$(MKDIR) $(@D)
    79 #	$(CC.studio.32) -m32 -G $(studio_PIC) -hlibsam.so Solaris/libsam.c \
    76 #	$(CC.studio.64) -m64 -G $(studio_PIC) -hlibsam.so Solaris/libsam.c \
    80 #		-I$(COMPONENT_DIR)/Solaris/include \
    77 #		-I$(COMPONENT_DIR)/Solaris/include \
    81 #		-o $@
    78 #		-o $@
    82 
    79 
    83 # Samba 4 needs extension of krb5 API, which is implemented in a Samba private
    80 # Samba 4 needs extension of krb5 API, which is implemented in a Samba private
    84 # library libgssapi_krb5.so.  Once MIT Kerberos is updated in Solaris 12 to
    81 # library libgssapi_krb5.so.  Once MIT Kerberos is updated in Solaris 12 to
   110 
   107 
   111 # Compiler settings
   108 # Compiler settings
   112 CFLAGS.studio	+=	$(studio_C99_ENABLE)
   109 CFLAGS.studio	+=	$(studio_C99_ENABLE)
   113 
   110 
   114 LIBS +=		-lrt -lsec -lcrypt -lmd5 -lsocket -lnsl
   111 LIBS +=		-lrt -lsec -lcrypt -lmd5 -lsocket -lnsl
   115 # libavahi and libgamin libraries are not available for 64bits
   112 # More libs needed by smbd (libavahi, libgamin, ...)
   116 LIBS32 =	-lsendfile -lavahi-common -lavahi-core
   113 LIBS4SMBD =	-lsendfile -lavahi-common -lavahi-core
   117 
   114 
   118 #CPPFLAGS +=	-DSAMBA_VERSION_VENDOR_SUFFIX=\\\"Placeholder_for_vendor_suffix\\\"
   115 #CPPFLAGS +=	-DSAMBA_VERSION_VENDOR_SUFFIX=\\\"Placeholder_for_vendor_suffix\\\"
   119 CPPFLAGS +=	$(CPP_LARGEFILES)
   116 CPPFLAGS +=	$(CPP_LARGEFILES)
   120 CPPFLAGS +=	$(CPP_XPG6MODE)
   117 CPPFLAGS +=	$(CPP_XPG6MODE)
   121 CPPFLAGS +=	-I/usr/include/openldap
   118 CPPFLAGS +=	-I/usr/include/openldap
   122 
   119 
   123 LDFLAGS.32 +=	-R/usr/lib/samba
   120 LDFLAGS +=	-m$(BITS)
   124 LDFLAGS.32 +=	-R/usr/lib/samba/private
   121 LDFLAGS +=	-R/usr/lib/samba$(MACHLIBDIR)
   125 LDFLAGS.32 +=	$(LIBS) $(LIBS32)
   122 LDFLAGS +=	-R/usr/lib/samba/private$(MACHLIBDIR)
   126 
   123 LDFLAGS +=	$(LIBS)
   127 LDFLAGS.64 +=	-m64
   124 $(BUILD_DIR_SMB)/.configured:	LDFLAGS +=	$(LIBS4SMBD)
   128 LDFLAGS.64 +=	-R/usr/lib/samba/$(MACH64)
       
   129 LDFLAGS.64 +=	-R/usr/lib/samba/private/$(MACH64)
       
   130 LDFLAGS.64 +=	$(LIBS)
       
   131 
   125 
   132 ASLR_MODE =	$(ASLR_ENABLE)
   126 ASLR_MODE =	$(ASLR_ENABLE)
   133 LD_OPTIONS += 	-B direct
   127 LD_OPTIONS += 	-B direct
   134 
   128 
   135 # --enable-fhs should not be on
   129 # --enable-fhs should not be on
   136 CONFIGURE_OPTIONS =	--exec-prefix=/usr
   130 CONFIGURE_OPTIONS =	--exec-prefix=/usr
   137 CONFIGURE_OPTIONS +=	--bindir=/usr/lib/samba/bin
   131 CONFIGURE_OPTIONS +=	--bindir=/usr/lib/samba/bin
   138 CONFIGURE_OPTIONS +=	--sbindir=/usr/lib/samba/sbin
   132 CONFIGURE_OPTIONS +=	--sbindir=/usr/lib/samba/sbin
   139 CONFIGURE_OPTIONS.32 +=	--libdir=/usr/lib/samba
   133 CONFIGURE_OPTIONS +=	--libdir=/usr/lib/samba$(MACHLIBDIR)
   140 CONFIGURE_OPTIONS.64 +=	--libdir=/usr/lib/samba/$(MACH64)
   134 CONFIGURE_OPTIONS +=	--with-privatelibdir=/usr/lib/samba/private$(MACHLIBDIR)
   141 CONFIGURE_OPTIONS.32 +=	--with-privatelibdir=/usr/lib/samba/private
       
   142 CONFIGURE_OPTIONS.64 +=	--with-privatelibdir=/usr/lib/samba/private/$(MACH64)
       
   143 CONFIGURE_OPTIONS +=	--sysconfdir=/etc/samba
   135 CONFIGURE_OPTIONS +=	--sysconfdir=/etc/samba
   144 CONFIGURE_OPTIONS.32 +=	--with-pammodulesdir=/usr/lib/samba/security
   136 CONFIGURE_OPTIONS +=	--with-pammodulesdir=/usr/lib/samba/security$(MACHLIBDIR)
   145 CONFIGURE_OPTIONS.64 +=	--with-pammodulesdir=/usr/lib/samba/security/$(MACH64)
       
   146 CONFIGURE_OPTIONS +=	--datarootdir=/usr/lib/samba
   137 CONFIGURE_OPTIONS +=	--datarootdir=/usr/lib/samba
   147 CONFIGURE_OPTIONS +=	--mandir=/usr/share/man
   138 CONFIGURE_OPTIONS +=	--mandir=/usr/share/man
   148 CONFIGURE_OPTIONS +=	--htmldir=/usr/share/samba/swat/help
   139 CONFIGURE_OPTIONS +=	--htmldir=/usr/share/samba/swat/help
   149 CONFIGURE_OPTIONS +=	--includedir=/usr/include/samba
   140 CONFIGURE_OPTIONS +=	--includedir=/usr/include/samba
   150 CONFIGURE_OPTIONS +=	--with-privatedir=/etc/samba/private
   141 CONFIGURE_OPTIONS +=	--with-privatedir=/etc/samba/private
   152 CONFIGURE_OPTIONS +=	--with-logfilebase=/var/samba/log
   143 CONFIGURE_OPTIONS +=	--with-logfilebase=/var/samba/log
   153 CONFIGURE_OPTIONS +=	--sharedstatedir=/var/samba/com
   144 CONFIGURE_OPTIONS +=	--sharedstatedir=/var/samba/com
   154 CONFIGURE_OPTIONS +=	--libexecdir=/usr/lib/samba
   145 CONFIGURE_OPTIONS +=	--libexecdir=/usr/lib/samba
   155 
   146 
   156 CONFIGURE_OPTIONS +=	--with-static-modules=
   147 CONFIGURE_OPTIONS +=	--with-static-modules=
   157 CONFIGURE_OPTIONS.32 +=	--with-shared-modules=vfs_worm,vfs_zfsacl,vfs_prealloc,vfs_cacheprime,vfs_commit,idmap_ldap,idmap_tdb2,idmap_rid,idmap_ad,idmap_hash,idmap_adex,vfs_solarisacl
   148 $(BUILD_DIR_SMB)/.configured:	CONFIGURE_OPTIONS += \
   158 CONFIGURE_OPTIONS.64 +=	--with-shared-modules=idmap_ldap,idmap_tdb2,idmap_rid,idmap_ad,idmap_hash,idmap_adex
   149 	--with-shared-modules=vfs_worm,vfs_zfsacl,vfs_prealloc,vfs_cacheprime,vfs_commit,idmap_ldap,idmap_tdb2,idmap_rid,idmap_ad,idmap_hash,idmap_adex,vfs_solarisacl
       
   150 $(BUILD_DIR_WINB)/.configured:	CONFIGURE_OPTIONS += \
       
   151 	--with-shared-modules=idmap_ldap,idmap_tdb2,idmap_rid,idmap_ad,idmap_hash,idmap_adex
   159 CONFIGURE_OPTIONS +=	--with-ads
   152 CONFIGURE_OPTIONS +=	--with-ads
   160 CONFIGURE_OPTIONS +=	--with-winbind
   153 CONFIGURE_OPTIONS +=	--with-winbind
   161 CONFIGURE_OPTIONS +=	--enable-nss-wrapper
   154 CONFIGURE_OPTIONS +=	--enable-nss-wrapper
   162 CONFIGURE_OPTIONS +=	--with-ldap
   155 CONFIGURE_OPTIONS +=	--with-ldap
   163 CONFIGURE_OPTIONS +=	--with-libldap=ldap_r
   156 CONFIGURE_OPTIONS +=	--with-libldap=ldap_r
   168 CONFIGURE_OPTIONS +=	--nopyo
   161 CONFIGURE_OPTIONS +=	--nopyo
   169 CONFIGURE_OPTIONS +=	--disable-rpath
   162 CONFIGURE_OPTIONS +=	--disable-rpath
   170 CONFIGURE_OPTIONS +=	--disable-gnutls
   163 CONFIGURE_OPTIONS +=	--disable-gnutls
   171 CONFIGURE_OPTIONS +=	--bundled-libraries=ALL
   164 CONFIGURE_OPTIONS +=	--bundled-libraries=ALL
   172 
   165 
   173 #CONFIGURE_OPTIONS.32 +=	--with-samfs=$(PROTO_DIR)/opt/SUNWsamfs/lib
   166 #$(BUILD_DIR_SMB)/.configured:	CONFIGURE_OPTIONS +=	--with-samfs=$(PROTO_DIR)/opt/SUNWsamfs/lib
   174 
   167 
   175 CONFIGURE_ENV += 	CC="$(CC)"
   168 CONFIGURE_ENV += 	CC="$(CC)"
   176 CONFIGURE_ENV += 	CPP="$(CC) -E"
   169 CONFIGURE_ENV += 	CPP="$(CC) -E"
   177 CONFIGURE_ENV += 	AWK=gawk
   170 CONFIGURE_ENV += 	AWK=gawk
   178 CONFIGURE_ENV += 	PERL=$(PERL.5.20)
   171 CONFIGURE_ENV += 	PERL=$(PERL.5.20)
   179 CONFIGURE_ENV += 	PYTHONDIR="$(PYTHON_VENDOR_PACKAGES)"
   172 CONFIGURE_ENV += 	PYTHONDIR="$(PYTHON_VENDOR_PACKAGES)"
   180 CONFIGURE_ENV += 	PYTHONARCHDIR="$(PYTHON_VENDOR_PACKAGES)/samba"
   173 CONFIGURE_ENV += 	PYTHONARCHDIR="$(PYTHON_VENDOR_PACKAGES)/samba"
   181 CONFIGURE_ENV += 	LD="$(LD)"
   174 CONFIGURE_ENV += 	LD="$(LD)"
   182 CONFIGURE_ENV +=	CFLAGS="$(CFLAGS)"
   175 CONFIGURE_ENV +=	CFLAGS="$(CFLAGS)"
   183 CONFIGURE_ENV.32 +=	CPPFLAGS="$(CPPFLAGS) -I$(PROTO_DIR)/usr/include -I$(COMPONENT_DIR)/Solaris/include"
   176 CONFIGURE_ENV +=	CPPFLAGS="$(CPPFLAGS) -I$(PROTO_DIR)/usr/include -I$(COMPONENT_DIR)/Solaris/include"
   184 CONFIGURE_ENV.64 +=	CPPFLAGS="$(CPPFLAGS) -I$(PROTO_DIR)/usr/include"
   177 CONFIGURE_ENV +=	LINKFLAGS="$(LD_OPTIONS) $(LDFLAGS)"
   185 CONFIGURE_ENV.32 +=	LINKFLAGS="$(LDFLAGS.32)"
       
   186 CONFIGURE_ENV.64 +=	LINKFLAGS="$(LDFLAGS.64)"
       
   187 CONFIGURE_ENV.64 +=	MACH64="$(MACH64)"
   178 CONFIGURE_ENV.64 +=	MACH64="$(MACH64)"
   188 CONFIGURE_ENV +=	LD_EXEC_OPTIONS="$(LD_EXEC_OPTIONS)"
   179 CONFIGURE_ENV +=	LD_EXEC_OPTIONS="$(LD_EXEC_OPTIONS)"
   189 CONFIGURE_ENV +=	CUPS_CONFIG=$(USRBINDIR)/cups-config
   180 CONFIGURE_ENV +=	CUPS_CONFIG=$(USRBINDIR)/cups-config
   190 
   181 
   191 # Propagation of smb.conf with default settings.
   182 # Propagation of smb.conf with default settings.
   213 	# clenup of clone
   204 	# clenup of clone
   214 	(cd $(@D) ; $(ENV) $(WAF_PATH) waf distclean $(WAFOPT1) )
   205 	(cd $(@D) ; $(ENV) $(WAF_PATH) waf distclean $(WAFOPT1) )
   215 	$(TOUCH) $@
   206 	$(TOUCH) $@
   216 
   207 
   217 # Configure of Samba + Winbind.
   208 # Configure of Samba + Winbind.
   218 $(BUILD_DIR_SMB)/.configured:	$(BUILD_DIR_SMB)/.BDprep $(PROTO_DIR)/usr/lib/samba/libgssapi_krb5.so
   209 $(BUILD_DIR_SMB)/.configured:	$(BUILD_DIR_SMB)/.BDprep $(PROTO_DIR)/usr/lib/samba/$(MACH64)/libgssapi_krb5.so
   219 	(cd $(@D) ; $(ENV) $(WAF_PATH) $(CONFIGURE_ENV) \
   210 	(cd $(@D) ; $(ENV) $(WAF_PATH) $(CONFIGURE_ENV) $(CONFIGURE_ENV.$(BITS)) \
   220 		$(CONFIGURE_ENV.32) waf configure $(WAFOPT1) $(CONFIGURE_OPTIONS) $(CONFIGURE_OPTIONS.32) )
   211 		waf configure $(WAFOPT1) $(CONFIGURE_OPTIONS) $(CONFIGURE_OPTIONS.$(BITS)) )
   221 	$(TOUCH) $@
   212 	$(TOUCH) $@
   222 
   213 
   223 # Build of Samba + Winbind.
   214 # Build of Samba + Winbind.
   224 $(BUILD_DIR_SMB)/.built:	$(BUILD_DIR_SMB)/.configured
   215 $(BUILD_DIR_SMB)/.built:	$(BUILD_DIR_SMB)/.configured
   225 	(cd $(@D) ; $(ENV) $(WAF_PATH) LD_EXEC_OPTIONS="$(LD_EXEC_OPTIONS)" waf build $(WAFOPT1) )
   216 	(cd $(@D) ; $(ENV) $(WAF_PATH) LD_EXEC_OPTIONS="$(LD_EXEC_OPTIONS)" waf build $(WAFOPT1) )
   241 	# clenup of clone
   232 	# clenup of clone
   242 	(cd $(@D) ; $(ENV) $(WAF_PATH) waf distclean $(WAFOPT1) )
   233 	(cd $(@D) ; $(ENV) $(WAF_PATH) waf distclean $(WAFOPT1) )
   243 	$(TOUCH) $@
   234 	$(TOUCH) $@
   244 
   235 
   245 # Configure of Winbind (without Samba) for different bitness.
   236 # Configure of Winbind (without Samba) for different bitness.
   246 $(BUILD_DIR_WINB)/.configured:	$(BUILD_DIR_WINB)/.BDprep $(PROTO_DIR)/usr/lib/samba/$(MACH64)/libgssapi_krb5.so
   237 $(BUILD_DIR_WINB)/.configured:	$(BUILD_DIR_WINB)/.BDprep $(PROTO_DIR)/usr/lib/samba/libgssapi_krb5.so
   247 	(cd $(@D) ; $(ENV) $(WAF_PATH) $(CONFIGURE_ENV) \
   238 	(cd $(@D) ; $(ENV) $(WAF_PATH) $(CONFIGURE_ENV) $(CONFIGURE_ENV.$(BITS)) \
   248 		$(CONFIGURE_ENV.64) waf configure $(WAFOPT1) $(CONFIGURE_OPTIONS) $(CONFIGURE_OPTIONS.64) )
   239 		waf configure $(WAFOPT1) $(CONFIGURE_OPTIONS) $(CONFIGURE_OPTIONS.$(BITS)) )
   249 	$(TOUCH) $@
   240 	$(TOUCH) $@
   250 
   241 
   251 # Build of Winbind (without Samba) for different bitness.
   242 # Build of Winbind (without Samba) for different bitness.
   252 WB_TARGETS =	--targets=nss_winbind,pamsmbpass,pamwinbind
   243 WB_TARGETS =	--targets=nss_winbind,pamsmbpass,pamwinbind
   253 $(BUILD_DIR_WINB)/.built:	$(BUILD_DIR_WINB)/.configured
   244 $(BUILD_DIR_WINB)/.built:	$(BUILD_DIR_WINB)/.configured
   255 	    $(WB_TARGETS) )
   246 	    $(WB_TARGETS) )
   256 	$(TOUCH) $@
   247 	$(TOUCH) $@
   257 
   248 
   258 # Installf Winbind (without Samba) for different bitness.
   249 # Installf Winbind (without Samba) for different bitness.
   259 $(BUILD_DIR_WINB)/.installed:	$(BUILD_DIR_WINB)/.built
   250 $(BUILD_DIR_WINB)/.installed:	$(BUILD_DIR_WINB)/.built
   260 	(cd $(@D) ; \
   251 	/bin/sh -c "cd $(@D) ; \
   261 	    $(INSTALL) -d $(PROTO_DIR)/usr/lib/samba/$(MACH64) ; \
   252 	    $(INSTALL) -d $(PROTO_DIR)/usr/lib/samba$(MACHLIBDIR) ; \
   262 	    $(INSTALL) -m 0555 -t $(PROTO_DIR)/usr/lib/samba/$(MACH64) bin/shared/*.so* ; \
   253 	    $(INSTALL) -m 0555 -t $(PROTO_DIR)/usr/lib/samba$(MACHLIBDIR) bin/shared/!(pam_*).so* ; \
   263 	    $(INSTALL) -d $(PROTO_DIR)/usr/lib/samba/private/$(MACH64) ; \
   254 	    $(INSTALL) -d $(PROTO_DIR)/usr/lib/samba/security$(MACHLIBDIR) ; \
   264 	    $(INSTALL) -m 0555 -t $(PROTO_DIR)/usr/lib/samba/private/$(MACH64) bin/shared/private/*.so* \
   255 	    $(INSTALL) -m 0555 -t $(PROTO_DIR)/usr/lib/samba/security$(MACHLIBDIR) bin/shared/pam_*.so* ; \
   265 	)
   256 	    $(INSTALL) -d $(PROTO_DIR)/usr/lib/samba/private$(MACHLIBDIR) ; \
       
   257 	    $(INSTALL) -m 0555 -t $(PROTO_DIR)/usr/lib/samba/private$(MACHLIBDIR) bin/shared/private/*.so* \
       
   258 	"
   266 	$(TOUCH) $@
   259 	$(TOUCH) $@
   267 
   260 
   268 # Set appropriate bitnesses for Samba + Winbind / Winbind (without Samba).
   261 # Set appropriate bitnesses for Samba + Winbind / Winbind (without Samba).
   269 $(BUILD_DIR_SMB)/.configured:	BITS=32
   262 $(BUILD_DIR_SMB)/.configured:	BITS=64
   270 $(BUILD_DIR_WINB)/.configured:	BITS=64
   263 $(BUILD_DIR_SMB)/.configured:	MACHLIBDIR=/$(MACH64)	
       
   264 $(BUILD_DIR_WINB)/.configured:	BITS=32
       
   265 $(BUILD_DIR_WINB)/.configured $(BUILD_DIR_WINB)/.installed:	MACHLIBDIR=
   271 
   266 
   272 # common targets
   267 # common targets
   273 build:		$(BUILD_DIR_SMB)/.built $(BUILD_DIR_WINB)/.built
   268 build:		$(BUILD_DIR_SMB)/.built $(BUILD_DIR_WINB)/.built
   274 
   269 
   275 include $(WS_MAKE_RULES)/shared-targets.mk
   270 include $(WS_MAKE_RULES)/shared-targets.mk
   281 system-test:    $(NO_TESTS)
   276 system-test:    $(NO_TESTS)
   282 
   277 
   283 clean::
   278 clean::
   284 	$(RM) -r $(BUILD_DIR)
   279 	$(RM) -r $(BUILD_DIR)
   285 
   280 
   286 
       
   287 REQUIRED_PACKAGES += archiver/gnu-tar
       
   288 REQUIRED_PACKAGES += compress/bzip2
       
   289 REQUIRED_PACKAGES += compress/gzip
       
   290 REQUIRED_PACKAGES += compress/p7zip
       
   291 REQUIRED_PACKAGES += compress/unzip
       
   292 REQUIRED_PACKAGES += compress/xz
       
   293 REQUIRED_PACKAGES += data/xml-common
       
   294 REQUIRED_PACKAGES += developer/build/gnu-make
       
   295 REQUIRED_PACKAGES += developer/build/make
       
   296 REQUIRED_PACKAGES += developer/java/jdk
       
   297 REQUIRED_PACKAGES += developer/java/jdk-7
       
   298 REQUIRED_PACKAGES += developer/versioning/mercurial
       
   299 REQUIRED_PACKAGES += file/gnu-findutils
       
   300 REQUIRED_PACKAGES += library/file-monitor/gamin
   281 REQUIRED_PACKAGES += library/file-monitor/gamin
   301 REQUIRED_PACKAGES += library/ncurses
       
   302 REQUIRED_PACKAGES += library/openldap
   282 REQUIRED_PACKAGES += library/openldap
   303 REQUIRED_PACKAGES += library/popt
       
   304 REQUIRED_PACKAGES += library/print/cups-libs
   283 REQUIRED_PACKAGES += library/print/cups-libs
   305 REQUIRED_PACKAGES += library/readline
       
   306 REQUIRED_PACKAGES += library/zlib
   284 REQUIRED_PACKAGES += library/zlib
   307 REQUIRED_PACKAGES += package/pkg
       
   308 REQUIRED_PACKAGES += runtime/perl-512
       
   309 REQUIRED_PACKAGES += runtime/perl-520
   285 REQUIRED_PACKAGES += runtime/perl-520
   310 REQUIRED_PACKAGES += runtime/python-27
   286 REQUIRED_PACKAGES += runtime/python-27
   311 REQUIRED_PACKAGES += runtime/ruby
       
   312 REQUIRED_PACKAGES += security/sudo
       
   313 REQUIRED_PACKAGES += service/security/kerberos-5
   287 REQUIRED_PACKAGES += service/security/kerberos-5
   314 REQUIRED_PACKAGES += shell/bash
       
   315 REQUIRED_PACKAGES += shell/ksh93
   288 REQUIRED_PACKAGES += shell/ksh93
   316 REQUIRED_PACKAGES += system/core-os
   289 REQUIRED_PACKAGES += system/core-os
   317 REQUIRED_PACKAGES += system/library
   290 REQUIRED_PACKAGES += system/library
   318 REQUIRED_PACKAGES += system/library/gcc-3-runtime
       
   319 REQUIRED_PACKAGES += system/library/gcc-45-runtime
       
   320 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
       
   321 REQUIRED_PACKAGES += system/library/security/crypto
   291 REQUIRED_PACKAGES += system/library/security/crypto
   322 REQUIRED_PACKAGES += system/library/security/gss
   292 REQUIRED_PACKAGES += system/library/security/gss
       
   293 REQUIRED_PACKAGES += system/linker
   323 REQUIRED_PACKAGES += system/network
   294 REQUIRED_PACKAGES += system/network
   324 REQUIRED_PACKAGES += system/network/avahi
   295 REQUIRED_PACKAGES += system/network/avahi
   325 REQUIRED_PACKAGES += text/gawk
       
   326 REQUIRED_PACKAGES += text/gnu-grep
       
   327 REQUIRED_PACKAGES += text/gnu-patch
       
   328 REQUIRED_PACKAGES += text/gnu-sed
       
   329