Index: head/CHANGES =================================================================== --- head/CHANGES (revision 394507) +++ head/CHANGES (revision 394508) @@ -1,2900 +1,2908 @@ Updating Information for FreeBSD ports developers This file is maintained by portmgr@FreeBSD.org and copyrighted by the FreeBSD Foundation. This file contains major changes to ports and the ports infrastructure. Intended audience are ports committers, maintainers and other developers. User oriented changes should be submitted for inclusion in the release notes and/or placed into UPDATING. All ports committers are allowed to commit to this file. +20150817: +AUTHOR: mat@FreeBSD.org + + UNIQUENAME and LATEST_LINK have been removed. LATEST_LINK was only used by + ports-mgmt/pkg{,-devel} and PKGBASE can be used in its stead. UNIQUENAME was + used by USE_LDCONFIG where it was not unique enough, and as old compat shims + with options. + 20150716: AUTHOR: kwm@FreeBSD.org USE_GHOSTSCRIPT was replaced by USES=ghostscript. The ghostscript USES accepts version, build, run, nox11 and for version 9 the agpl argument. If no version is specified, the default 9 for GHOSTSCRIPT_DEFAULT is honored. 20150701: AUTHOR: mat@FreeBSD.org Make option target helpers have been added, it allows replacing: .include post-patch: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh .if ${PORT_OPTIONS:MPTHREAD} ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \ ${WRKSRC}/hints/freebsd.sh .else ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \ ${WRKSRC}/hints/freebsd.sh .endif with: post-patch: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh post-patch-PTHREAD-on: ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \ ${WRKSRC}/hints/freebsd.sh post-patch-PTHREAD-off: ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \ ${WRKSRC}/hints/freebsd.sh 20150622: AUTHOR: bapt@FreeBSD.org Remove USE_RCORDER, USE_RC_SUBR has been modified to support PREFIX=/usr automatically 20150529: AUTHOR: mat@FreeBSD.org Extend the multiple distfiles USE_GITHUB framework by allowing it to fetch only additional distfiles, but not the main one. Set USE_GITHUB=nodefault and use the GH_* variables with groups as usual. 20150528: AUTHOR: mat@FreeBSD.org USE_GITHUB can now fetch multiple distfiles. It uses a grouping feature similar to MASTER_SITES/PATCH_SITES. Some helpful variables are provided: WRKSRC_ for putting things in the right place in post-extract, and DISTNAME_/DISTFILE_ for use with EXTRACT_ONLY. A simple example: PORTNAME= bar PORTVERSION= 1.0 USE_GITHUB= yes GH_ACCOUNT= foo GH_PROJECT= ${PORTNAME}-images:images post-extract: @${MV} ${WRKSRC_images} ${WRKSRC}/images It will fetch those two distfiles: $ make fetch-urlall-list https://codeload.github.com/foo/bar/tar.gz/1.0?dummy=/foo-bar-1.0_GH0.tar.gz https://codeload.github.com/foo/bar-images/tar.gz/1.0?dummy=/foo-bar-images-1.0-1.0.tar.gz It will then extract them to ${WRKDIR} in their respectives directories. 20150526: AUTHOR: antoine@FreeBSD.org PYTHON_REL has been switched from a 3 digits number to a 4 digits number to handle python 2.7.10. Ports checking for python 2.7.9 should compare PYTHON_REL against 2709 and ports checking for python 2.7.10 should compare PYTHON_REL against 2710. 20150521: AUTHOR: mat@FreeBSD.org GH_COMMIT support has been removed, see the 20150319 for more informations. 20150419: AUTHOR: tijl@FreeBSD.org USE_AUTOTOOLS has been deprecated. It can be replaced with USES=autoreconf and GNU_CONFIGURE=yes. Support for USE_AUTOTOOLS=libtoolize has been removed. It can be replaced with "USES=autoreconf libtool". 20150409: AUTHOR: bapt@FreeBSD.org Add a new USES=gnustep to handle the GNUstep ports. Now the dependencies on GNUstep libraries is done via the regular LIB_DEPENDS USE_GNUSTEP is now a macro that accept many arguments: back, build, gui, back Depending on the feature needed for a given port Reuse USES=objc to avoid duplicating code 20150408: AUTHOR: bapt@FreeBSD.org Add a new USES=waf to handle the waf building system, allowing to factorise code. Plug waf into MAKE_CMD and CONFIGURE_CMD so the regular defined targets can be reused. Always define _MAKE_JOBS so that when bsd.port.mk will stop overwritting _MAKE_JOBS when parallel jobs are disabled we can enforce -j1 (which is needed to really disable parallelisation with waf WAF_CMD has been created to allow one to override the location of the waf script relatively to WRKSRC CONFIGURE_TARGET is by default defined to "configure" ALL_TARGET is by default defined to "build" INSTALL_TARGET is by default defined to "install" USES=waf is by default stagedir safe 20150407: AUTHOR: bapt@FreeBSD.org USE_XZ and USE_BZIP2 are not supported anymore, they have been replaced by USES=tar:bzip2 and tar:xz 20150328: AUTHOR: bapt@FreeBSD.org New "metaport" USES to take care of predefining correctly the needed macros as expected by meta ports. 20150323: AUTHOR: bapt@FreeBSD.org Remove "@fc" and "@fontsdir". All fonts should always use @fcfontsdir which Properly takes care of the fonts.dir and fonts.scale cache files as well as ensure to properly update the fontconfig cache New "fonts" USES. It defines the default variables needed for fonts and also takes care of the run time dependencies 20150326: AUTHOR: bdrewery@FreeBSD.org PTHREAD_CLFAGS and PTHREAD_LIBS have been removed. Please see entry 20130207 for more information. 20150319: AUTHOR: bdrewery@FreeBSD.org MASTER_SITE GHR (GITHUB_RELEASE) has been removed. The same functionality can be achieved with just USE_GITHUB/GH_ACCOUNT/GH_PROJECT. GH_TAGNAME defaults to DISTVERSION. If the tag needs to be adjusted then change GH_TAGNAME. No GH_COMMIT is needed. 20150319: AUTHOR: bdrewery@FreeBSD.org USE_GITHUB has been updated to make GH_COMMIT optional. Using this new scheme allows only setting the _tag_ or _commit hash_ in GH_TAGNAME and not having to know the hash for a tag. This scheme will download a tarball that has a different checksum than before due to a changed directory name for extraction. GH_TAGNAME can now be any length of the hash as long as it is unique. There is no longer a 7-character requirement. The following MASTER_SITES are provided to retain the old checksum and directory structure (that require GH_COMMIT): GH -> GHL GITHUB -> GITHUB_LEGACY 20150305: AUTHOR: olivierd@FreeBSD.org Dependencies on the Xfce ports have been migrated to USES. Instead of USE_XFCE= configenv, you should use USES= xfce. 20150224: AUTHOR: makc@FreeBSD.org New USE_QT4 component has been introduced to reduce buildtime dependencies for Qt 4 ports that use localization support. Instead of USE_QT4=linguist you should now use USE_QT4=linguisttools_build. Conversion of existing ports may require USE_QT4 adjustment for missing components. 20141217: AFFECTS: users of lang/perl5.* AUTHOR: mat@FreeBSD.org Perl now links libperl.so with all .so it builds. The stage-qa checks have been extended to check that libperl.so is in fact linked with .so in SITE_ARCH and errors out if none of the .so build by a port are linked with it. It also checks that the rpath and runpath elf attributes are present. 20141130: AUTHOR: tijl@FreeBSD.org The devel/gettext port has been split up in devel/gettext-runtime which contains runtime libraries such as libintl, and devel/gettext-tools which contains build tools such as msgfmt. You can use USES=gettext-runtime to set a LIB/BUILD/RUN_DEPENDS on devel/gettext-runtime and USES=gettext-tools to set a BUILD/RUN_DEPENDS on devel/gettext-tools. USES=gettext is now the same as "USES=gettext-runtime gettext-tools", meaning a LIB_DEPENDS on devel/gettext-runtime and a BUILD_DEPENDS on devel/gettext-tools. 20141126: AUTHOR: mat@FreeBSD.org The way Perl modules are installed has changed. Before, we had site_perl : lib/perl5/site_perl/5.18 site_perl/perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have : site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. 20141122: AUTHOR: crees@FreeBSD.org Dependencies on the PostgreSQL ports have been migrated to USES. Instead of USE_PGSQL, please use USES=pgsql instead. USE_PGSQL=yes becomes USES=pgsql WANT_PGSQL_VER=91+ becomes USES=pgsql:9.1+ USE_PGSQL=server becomes USES=pgsql and WANT_PGSQL=server 20141118: AUTHOR: mat@FreeBSD.org To ease future work, a new SITE_ARCH variable and PLIST_SUB replacement containing SITE_PERL/PERL_ARCH has been added. 20141102: AUTHOR: bdrewery@FreeBSD.org SSP is now default. This can be disabled with WITHOUT_SSP. SSP_CFLAGS defaults to -fstack-protector. SSP will be used on all amd64 releases. It will only be used on i386 releases over 10.0. 20141007: AUTHOR: mat@FreeBSD.org The @cwd [path] construct in plist files is deprecated. Instead of adding those lines to the plist: @cwd / etc/rc.d/foo var/db/bar @cwd /some @exec mkdir -p %D/nested/dir add this: /etc/rc.d/foo /var/db/bar @exec mkdir -p /some/nested/dir 20141002: AUTHOR: bapt@FreeBSD.org New BUNDLE_LIBS knobs to allow a port to tell pkg(8) not to compute provided libraries, this is to be used when a port bundles libraries it doesn't want to expose to other ports. 20141001: AUTHOR: tijl@FreeBSD.org Support for autoconf213, autoheader213, aclocal14 and automake14 has been removed from USE_AUTOTOOLS. 20140930: AUTHOR: bdrewery@FreeBSD.org Building ports in a chroot or jail have always required a particular environment be setup. This was not clear though and the ports framework did not enforce it. These requirements are: 1. Either a SRC_BASE/sys/sys/param.h, or /usr/include/sys/param.h be present with the __FreeBSD_version_ number of the target system, or OSVERSION be set in the environment. Lack of these would fallback on kern.osreldate before, which is no longer the case. 2. UNAME_r,UNAME_v,UNAME_s all must be set for the target system. Not having these values in sync will now cause the build to error until it is resolved. Setting these in the environment can be done via your own wrapper scripts, or /etc/login.conf (along with cap_mkdb /etc/login.conf) or via /etc/make.conf using appropriate values. Note that OSVERSION is redundant if a proper param.h is in the environment: OSVERSION+= 1100036 UNAME_ENV+= OSVERSION=${OSVERSION} UNAME_ENV+= UNAME_s=FreeBSD UNAME_ENV+= UNAME_r=11.0-CURRENT UNAME_ENV+= UNAME_v="${UNAME_s} ${UNAME_r}" .MAKEFLAGS: ${UNAME_ENV} MAKE_ENV+= ${UNAME_ENV} CONFIGURE_ENV+= ${UNAME_ENV} SCRIPTS_ENV+= ${UNAME_ENV} 20140922: AUTHOR: bapt@FreeBSD.org pkg(8) now handles the directories under PREFIX automatically, and will automatically remove them as needed. A new @dir keyword has been introduced to handle directories specially: - directories with special owner, group, or permissions (access mode) - empty directories - directories out of PREFIX As a consequence @dirrm and @dirrmtry are now considered deprecated. Credentials can now be passed in arguments to keywords (the empty keyword means "regular file"): @(user,group,mode) file1 @dir(user,group,mode) directory_with_special_owner_or_mode PLIST_DIRSTRY is now considered deprecated, use PLIST_DIRS instead. 20140917: AUTHOR: tijl@FreeBSD.org Support for USE_AUTOTOOLS=libtool, USE_GNOME=ltasneededhack, USE_GNOME=lthack and USE_GNOME=ltverhack has been removed. Ports should use USES=libtool instead. Support for USE_AUTOTOOLS=libltdl has been removed. Ports should use LIB_DEPENDS=libltdl.so:${PORTSDIR}/devel/libltdl 20140916: AUTHOR: tijl@FreeBSD.org The installation of *.la files without some form of USES=libtool in the port Makefile will now result in a stage-qa error. Previously this would only cause a warning. The :keepla argument to USES=libtool is no longer special. It is now only needed if a port uses *.la files at run time and no longer to fix link problems in other ports. 20140901: AUTHOR: bapt@FreeBSD.org Support for pkg_install has been removed. Note that WITH_PKGNG is now called WITH_PKG (still used to define 'devel') WITH_PKGNG remains for compatibility @stopdaemon support has gone, pkg(8) has a generic mechanism to provide the same function, see HANDLE_RC_SCRIPTS in pkg.conf(5). 20140901: AUTHOR: bapt@FreeBSD.org Support for NO_STAGE has been removed. 20140825: AUTHOR: antoine@FreeBSD.org Support for NOPORTDATA has been removed. 20140809: AUTHOR: mva@FreeBSD.org The Python language bits of the ports framework have been converted to USES. Instead of USE_PYTHON, please use USES=python instead. USE_PYTHON=yes becomes USES=python USE_PYTHON=2.7+ becomes USES=python:2.7+ USE_PYTHON_BUILD=3.3 becomes USES=python:3.3,build ... Additionally, several Python specific features have been converted to USES-inspired USE_PYTHON=,. USE_PYDISTUTILS becomes USE_PYTHON=distutils PYDISTUTILS_AUTOPLIST becomes USE_PYTHON=autoplist ... Please read the header comments of Uses/python.mk for more details about the new and changed bits and pieces. You will find a list of deprecated variables and how to replace them in your own ports at the end of the header comment. 20140715: AUTHOR: bapt@FreeBSD.org LIB_DEPENDS only supports one form: lib*.so 20140708: AUTHOR: mva@FreeBSD.org Support for installations based on the easy_install setup.py target has been removed from the Ports framework for Python software. The PYEASYINSTALL_* knobs and support for USE_PYDISTUTILS=easy_install have been removed. 20140623: AUTHOR: bapt@FreeBSD.org IGNOREFILES is not supported anymore, it was an unsafe feature allowing to use unchecked files downloaded from untrusted places to be used in the ports tree. 20140607: AUTHOR: mva@FreeBSD.org New PYTHON_CONCURRENT_INSTALL knob to support the parallel installation of ports for different python versions. If set to yes, the knob indicates that the port can be installed for different python versions at the same time. The port will use a unique prefix for certain directories using USES=uniquefiles:dirs (see the uniquefiles.mk Uses for details about the directories). Binaries receive an additional suffix, based on ${PYTHON_VER}. The values for the uniquefiles USES are set as follows: UNIQUE_PREFIX= ${PYTHON_PKGNAMEPREFIX} UNIQUE_SUFFIX= -${PYTHON_VER} If the port is installed for the current default python version, scripts and binaries in ${PREFIX}/bin ${PREFIX}/sbin ${PREFIX}/libexec are linked from the prefixed version to the prefix-less original name, e.g. bin/foo-2.7 --> bin/foo. 20140529: AUTHOR: miwi@FreeBSD.org USE_GMAKE is no longer supported, please use USES=gmake instead 20140526: AUTHOR: bapt@FreeBSD.org USE_DOS2UNIX is no longer supported, USES=dos2unix should be used instead 20140525: AUTHOR: mat@FreeBSD.org Add a USE_PERL5=fixpacklist to account for ports creating a .packlist file referencing ${STAGEDIR} when not using USE_PERL5=configure or USE_PERL5=modbuildtiny. 20140505: AUTHOR: bapt@FreeBSD.org :U and :L syntax is not supported anymore in the ports tree, :tu and :tl should be used instead This makes the ports tree incompatible with make(1) version that does not support :tu and :tl (aka FreeBSD 8.3 and earlier) 20140428: AUTHOR: bapt@FreeBSD.org EXTRA_PATCHES has been extended to support a new syntax: EXTRA_PATCHES= file:-pX Where X is the pathname strip count passed to patch(1) 20140423: AUTHOR: tijl@FreeBSD.org The semantics of USES=libtool have changed. It now deletes .la libraries from the staging area to reduce overlinking. USES=libtool:keepla can be used in case they need to be kept. This form still modifies .la libraries to remove references to other libraries to reduce overlinking. Note that .la libraries have to kept around as long as there are .la libraries from other ports that refer to them. Those ports need to use some form of USES=libtool first such that those references are removed. 20140419: AUTHOR: bdrewery@FreeBSD.org check-orphans has been renamed to check-plist. It now checks: A. Files in STAGEDIR that are missing from plist. To make check-plist ignore a file *as an orphan* do one of the following: 1. Install it 2. post-install: ${RM} ${STAGEDIR}file 3. Put the file behind an OPTION with a PLIST_SUB: %%OPTION%%file 4. Add to plist as a @comment @comment file @comment @dirrmtry dir B. Files in plist missing from STAGEDIR C. Files in plist which are owned by dependencies/MTREEs 20140416: AUTHOR: bdrewery@FreeBSD.org The default target for 'make' now runs 'make stage' if the port supports it, otherwise 'make build' as before. 20140411: AUTHOR: bdrewery@FreeBSD.org A new plist keyword has been added, @sample. It accepts a file (must end in .sample): @sample file.conf.sample This will install file.conf.sample and copy it to file.conf. The file.conf will be removed if it matches file.conf.sample on deinstall. This replaces older patterns of: @unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi etc/pkgtools.conf.sample @exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf 20140312: AUTHOR: bapt@FreeBSD.org Two new USES were added to finish handling distfiles formats a consistent way: USES=tar[:[xz|bzip2|Z|tgz]] handles distributions files in format: - plain tar - tar.xz - tar.bz2 - tar.Z - tgz USES=lha handles distributions files info LHA format 20140307: AUTHOR: rene@FreeBSD.org Two new USES were added by bapt@FreeBSD.org : USES=zip handles distribution files in Zip format. InfoZip files need USES=zip:infozip USES=makeself handles distribution files in makeself format. 20140303: AUTHOR: kde@FreeBSD.org Add support for Qt 5 via USE_QT5. USE_QT5 is analogous to USE_QT4, the only difference is the list of available components (see Mk/bsd.qt.mk for details). USES=qmake supports Qt 5 as well. 20140127: AUTHOR: mat@FreeBSD.org Add two new options helpers: ${OPT}_${TYPE}_DEPENDS_OFF= will automatically add: ${TYPE_DEPENDS}+= in case OPT is 'off' ${OPT}_${FLAG}_OFF= will automatically add: ${FLAG}+= in case OPT is 'off' 20140111: AUTHOR: mva@FreeBSD.org New USES=uniquefiles to make files or directories unique by adding a prefix or suffix to them. Files listed in UNIQUE_PREFIX_FILES will receive the prefix set via UNIQUE_PREFIX. The same applies to UNIQUE_SUFFIX_FILES, but with the chosen UNIQUE_SUFFIX. UNIQUE_PREFIX and UNIQUE_SUFFIX are set to PKGNAMEPREFIX and PKGNAMESUFFIX by default. The uniquefiles USES enables ports to name files in special ways, e.g. by outlining that the port does not support X11 (-nox11). A binary named bin/foo thus can be easily renamed to bin/foo-featureA via USES= uniquefiles UNIQUE_SUFFIX= -featureA UNIQUE_SUFFIX_FILES= bin/foo The uniquefiles USES automatically adjusts the plist at installation time. There is no need to consider the prefix or suffix in the pkg-plist file itself. If the original name of the renamed file is bin/foo, this exact name should be put into pkg-plist. The dirs argument to USES=uniquefiles will cause certain standard directories, such as DOCSDIR or EXAMPLESDIR to be prepended with the UNIQUE_PREFIX. The change to the directories will hapen prior to configuring or building the port, so that the port Makefile as well as the port's build logic are aware of the changed name. Since the uniquefiles USES effectively manipulates the port's installation and file layout, it will only be available for stagedir-aware ports. Ports with NO_STAGE=yes will be unable to use the uniquefiles USES. 20131218: AUTHOR: mva@FreeBSD.org lang/python (and as such the 'python' binary and accomplices) has been removed as default dependency for the USE_PYTHON, USE_PYTHON_BUILD and USE_PYTHON_RUN knobs. Ports need to use a designated (default) python interpreter to build and install and in most cases for execution in the user environment. Ports that install python scripts, which are not limited to a certain python version (or version range), can include lang/python as build and/or run dependency. USE_PYTHON=yes and similar knobs will only pull in the default python version (e.g. lang/python27), but none of the meta ports or lang/python itself. Please use lang/python as build or run-time dependency only, if there is no other way to get a port working properly, since the usage of lang/python complicates package builds for different python versions. 20131213: AUTHOR: tijl@FreeBSD.org New USES=fortran to replace USE_FORTRAN. USE_FORTRAN=yes can be replaced with USES=fortran or USES=fortran:gcc. USE_FORTRAN=ifort can be replaced with USES=fortran:ifort. USE_FORTRAN=f77 is deprecated and the version of gcc it depends on (lang/gcc34) is scheduled to be removed. Note that USE_FORTRAN=yes also makes GCC the C/C++ compiler while USES=fortran only sets the Fortran compiler and can be used together with Clang as C/C++ compiler. 20131208: AUTHOR: mva@FreeBSD.org New USES=twisted, to replace the old USE_TWISTED knob. twisted can be configured with the arguments run or build to replace the previous USE_TWISTED_RUN and USE_TWISTED_BUILD knobs. The twisted components can be added as comma-separated arguments. If you previously wrote USE_TWISTED= yes USE_TWISTED= conch names USE_TWISTED_RUN= yes you now would write USES= twisted USES= twisted:conch,names USES= twisted:run 20131119: AUTHOR: kwm@FreeBSD.org The USE_GNOME component ltverhack no longer has a hard dependancy on libtool. If USE_AUTOTOOLS=libtool isn't defined it will try to patch ltmain.sh and or libtool in ${WRKSRC}. If those files are located somewhere else in ${WRKSRC} then it is possible to overwrite ltverhack_PATCH_FILES with there new locations. configure script --distable-static will work also after using the "new" ltverhack. Please keep in mind that USE_AUTOTOOLS implies GNU_CONFIGURE so you might need to add that back for the port to work. 20131031: AUTHOR: rene@FreeBSD.org Add a new USES for kernel module ports. USES=kmod takes no arguments and: - adds kld to CATEGORIES - sets SSP_UNSAFE - sets IGNORE if the kernel sources are not found - defines KMODDIR to /boot/modules by default, add it to PLIST_SUB and MAKE_ENV, and create it upon installation - handles cross-referencing kernel modules upon installation and deinstallation 20131021: AUTHOR: amdmi3@FreeBSD.org share/applications directory was added to the mtree, meaning that you no longer need to create or remove it in your ports. 20131008: AUTHOR: bapt@FreeBSD.org New "compiler" USES to be able to select the compiler based on the features it provides. Supported arguments are: - c++11-lang: the port needs a c++11 aware compiler what ever standard library it uses, implies features - c++11-lib: the port needs a c++11 standard library, implies features - c11: the ports needs a c11 aware compiler implies features - features: this will create a COMPILER_FEATURES variable which contains the list of features ${CC} do support, implies env. - env: the COMPILER_TYPE will be set to either gcc or clang. By default the uses will try to use clang33 from ports when nothing in base is relevant except if the user explicitly defines FAVORITE_COMPILER=gcc in his make.conf 20131008: AUTHOR: makc@FreeBSD.org New USES: qmake, configure tool widely used among Qt based projects. New framework is stage-friendly. To convert existing ports remove custom configure target, adjust QMAKE_ENV, QMAKE_ARGS, QMAKE_PRO if required (see Mk/Uses/qmake.mk for details). 20131005: AUTHOR: bdrewery@FreeBSD.org PATCHFILES now support an optional :-pX flag that notes which patch strip level to use. This allows multiple patches in 1 port to use different PATCH_DIST_STRIP values without changing PATCH_DIST_STRIP. Syntax: PATCHFILES= patch[:-pX][:distgroup] 20131003: AUTHOR: bapt@FreeBSD.org New USES: scons, to handle properly the scons building system, this this also gives the scons packages user the ability to respect MAKE_JOBS. 20130924: AUTHOR: bapt@FreeBSD.org Stage aware ports can now create package without the requirement from being root. If a port really needs root anyway it should add NEED_ROOT in its Makefile. For a port that needs special credential on files DO NOT RELY on chown in post-install section but rely on @own, @group in pkg-plist Be careful about rights on directories as pkg_install cannot store them they needs to be done via @exec chown. 20130923: AUTHOR: bapt@FreeBSD.org The ports tree is now staged by default. With pkgng the sequence hasn't changed, the main difference is that creating package is now independent from installing it. With pkg_install, the package is now created first and make install, do install the package. New macros: - STAGEDIR: PATH to the directory where the port will be staged. - NO_STAGE: Keep the old behaviour of the ports tree (aka no staging area) Unsupported macro if NO_STAGE is not set: - MAN* with staging man page compression and handling of hardlinks and symlinks is automatically done in the stage. the manpages becomes then a "normal" plist files and should be tracked in pkg-plist. - MANCOMPRESSED the compress-man target is able to only compress when it needed. New target: - stage: this installs everything into the stage directory - makeplist: this will create a pkg-plist and print it to stdout. This is a sample plist and it should always be _reviewed_ not directly used. NOTE: with staging only what is in the plist will be installed, nothing more, meaning a port staged cannot have leftovers except directories left. It is really important to double check the pkg-plist to make sure all the files the maintainer wants to package are in! make makeplist can help in that area. 20130923: AUTHOR: mva@FreeBSD.org * New USES: zope This replaces the previous USE_ZOPE knob. All other zope related knobs for port Makefiles still exist. See Mk/Uses/zope.mk for details. 20130920: AUTHOR: bdrewery@FreeBSD.org SSP support has been added to ports with WITH_SSP_PORTS for i386 and amd64 on FreeBSD 10, and amd64 on earlier versions. SSP_UNSAFE is added to disable in a port if it fails to build, but this should only be used in rare circumstances such as kernel modules. Otherwise, the port may just be failing due to lack of respecting LDFLAGS. On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in libssp_nonshared.a to address issues linking on i386 [1]. On earlier FreeBSD versions the WITH_SSP_PORTS knob will add -lssp_nonshared to LDFLAGS on i386. This is not needed on amd64. However, several hundred ports do not currently respect LDFLAGS, so this support is disabled currently as it causes build failures if a dependency is looking for the stack_chk symbols. [1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup 20130919: AUTHOR: gahr@FreeBSD.org * New USES: tcl, tk This uses replaces all the previous USE_TCL, USE_TCL_BUILD, USE_TCL_RUN, USE_TCL_WRAPPER, USE_TK, USE_TK_BUILD, USE_TK_RUN and USE_TK_WRAPPER macros. See the Mk/Uses/tcl.mk and the commit message of r327607 for details. Moreover, the default Tcl/Tk version is now specified in terms of bsd.default-versions.mk. It is now possible to specify one's preferred Tcl/Tk version using DEFAULT_VERSIONS+= tcltk=x.y in make.conf. 20130918: AUTHOR: bapt@FreeBSD.org The perl framework is not included unconditionally and the old framework is not recognized anymore, the following MACROS has been removed: * PERL_CONFIGURE * USE_PERL5_RUN * USE_PERL5_BUILD * PERL_MODBUILD 20130904: AUTHOR: madpilot@FreeBSD.org To allow ports to work with the iconv implementation in 10-CURRENT after commit r254273 the USES=iconv options now conditionally adds a dependency depending on the FreeBSD version. It also defines a few utility variables which can be used in the ports: ICONV_CMD: location of the iconv binary. after r254273: /usr/bin/iconv before: ${LOCALBASE}/bin/iconv ICONV_LIB: ld(1) flags to get the iconv DSO. after r254273: empty before: -liconv ICONV_CONFIGURE_ARG: String that can be passed to configure scripts to hint the location of the libiconv library. after r254273: empty before: --with-libiconv-prefix=${LOCALBASE} 20130902: AUTHOR: bapt@FreeBSD.org USE_GNOME=pkgconfig is not supported anymore by the ports tree, please uses: USES=pkgconfig 20130831: AUTHOR: bdrewery@FreeBSD.org crees has added USE_PACKAGE_DEPENDS_ONLY which works like USE_PACKAGE_DEPENDS but will not fallback on source if a package is missing. 20130731: AUTHOR: bapt@FreeBSD.org * New USES: perl5 This uses replaces all the previous perl macros. Here is how to migrate: Always include perl5: USES= perl5 If USE_PERL5 is undefined then perl5 will be a build and run dependency Migrating to new USE_PERL5: ======================================================= | BEFORE | AFTER | ======================================================= | PERL_CONFIGURE=yes | USE_PERL5= configure | ------------------------------------------------------- | USE_PERL5_RUN=yes | USE_PERL5=run | ------------------------------------------------------- | USE_PERL5_BUILD=yes | USE_PERL5=build | ------------------------------------------------------- | PERL_MODBUILD=yes | USE_PERL5=modbuild | ------------------------------------------------------- | USE_PERL5=yes | | ------------------------------------------------------- | USE_PERL5=5.14+ | USE_PERL5= 5.14+ | ------------------------------------------------------- | PERL_CONFIGURE= 5.14+ | USE_PERL5=5.14+ configure | ------------------------------------------------------- | PERL_MODBUILD= 5.14+ | USE_PERL5=5.14+ modbuild | ------------------------------------------------------- 20130726: AUTHOR: rene@FreeBSD.org * With the removal of QT 3/KDE 3, the following are no longer recognized: - USE_KDEBASE_VER - USE_KDELIBS_VER - USE_QT_VER Mk/bsd.kde.mk has been removed, it was only used for QT 3/KDE 3. 20130628: AUTHOR: bapt@FreeBSD.org * New USES: imake This uses replaces USE_IMAKE, it handles dependency on imake. Its only argument is 'env', which prevent from defining the do-configure target. * New LATE_INSTALL_TARGET This content of this new macro is appended to INSTALL_TARGET 20130620: AUTHOR: bapt@FreeBSD.org * New USES: fmake This uses will allow to build ports using the legacy FreeBSD make, for ports not compatible with bmake 20130614: AUTHOR: bapt@FreeBSD.org * New macros to help dealing with ports that have options: OPTIONS_SUB=yes when set in a port, all the option names are automatically added to the PLIST_SUB with "@comment " value in case the option is off and empty value in case the options is on. ${OPT}_CONFIGURE_ENABLE= will automatically add: CONFIGURE_ARGS+=--enable- in case OPT is activated CONFIGURE_ARGS+=--disable- in case OPT is deactivated ${OPT}_CONFIGURE_ON= will automatically add: CONFIGURE_ARGS+= in case OPT is activated ${OPT}_CONFIGURE_OFF= will automatically add: CONFIGURE_ARGS+= in case OPT is deactivated ${OPT}_CFLAGS will append the specified new flags to CFLAGS if OPT is 'on' ${OPT}_CXXFLAGS will append the specified new flags to CXXFLAGS if OPT is 'on' ${OPT}_LDFLAGS will append the specified new flags to LDFLAGS if OPT is 'on' ${OPT}_CONFIGURE_ENV will append the specified variables to CONFIGURE_ENV if OPT is 'on' ${OPT}_MAKE_ENV will append the specified variables to MAKE_ENV if OPT is 'on' ${OPT}_USES will append the speficied uses to USES if OPT is 'on' ${OPT}_DISTFILES will append the specified distiles to DISTFILES if OPT in 'on' ${OPT}_CMAKE_ON= will automatically add: CMAKE_ARGS+= in case OPT is activated ${OPT}_CMAKE_OFF= will automatically add: CMAKE_ARGS+= in case OPT is deactivated ${OPT}_${TYPE}_DEPENDS= will automatically add: ${TYPE_DEPENDS}+= in case OPT is 'on' 20130614: AUTHOR: bapt@FreeBSD.org * New 'display' USES macro to handle building ports that may require a a display to build. USES= display[:install] will start Xvfb and set the DISPLAY environment variable before the installation phase and stop it at the end. (install is the implicit value) USES= display:build will start Xvfb and set the DISPLAY environment variable before the build phase and stop it at the end. 20130607: AUTHOR: bdrewery@FreeBSD.org * Checks were added to block GH_TAGNAME=master as this is not a valid setup. A known hash or tag should be used for GH_TAGNAME instead of a branch name. As soon as a branch is updated, the known checksum in the distinfo would then be invalid. 20130606: AUTHOR: bdrewery@FreeBSD.org * WRKSRC_SUBDIR has been added to simplify overriding WRKSRC to use a subdirectory: WRKSRC= ${WRKDIR}/${DISTNAME}/src Becomes: WRKSRC_SUBDIR= src 20130606: AUTHOR: bapt@FreeBSD.org The OPTIONS macro is no longer recognized, please use the new options framework. 20130509: AUTHOR: kwm@FreeBSD.org * Two new USES macros to handle mime data of ports. USES= desktop-file-utils Handles MimeType in .desktop files that are installed in share/applications. USES= shared-mime-info For supporting mime xml files installed in share/mime/packages. The desktop-file-utils USES is only needed if the .desktop files installed by the port has a MimeType field. USE_GNOME=desktopfileutils is deprecated. The shared-mime-info USES handles mime types xml files. Please note that only the packages/${NAME}.xml file should be listed in the plist. The shared-mime-info port will clean up the share/mime/* directories and generated files. Both USES have there own post-install and code that adds @exec/@unexec lines to the pkg-plist. This means that when a port switches to the USES macro, the related post-install command and @exec/@unexec lines can be removed from the prot. 20130507: AUTHOR: bapt@FreeBSD.org * New USES macro to handle setting correct shebang to scripts By default it will fix bash, perl, php, ruby and python on all files specified in the SHEBANG_FILES macro (glob pattern relative to ${WRKSRC}) Paths can be customized, and number of languages supported can be extended. * USE_GETTEXT, USE_NCURSES, USE_READLINE are no longer recognized 20130506: AUTHOR: bapt@FreeBSD.org * New USES macro to handle linking on ncurses and on readline USES= ncurses will set env and make the port link to base version of ncurses if no port version is installed otherwise it will link against port version USES= ncurses:port will for the port to link against the ports version of ncurses USES= ncurses:base will force to link against base version of ncurses. USES= readline will make the port link against base version of readline except on 10+ where it will force dependency on the port version of readline USES= readline:port will anyway force dependency on the port version of readline. 20130426: AUTHOR: mva@FreeBSD.org * USE_ICONV has been deprecated and converted into the iconv USE feature USES= iconv 20130425: AUTHOR: bapt@FreeBSD.org * USE_CDRTOOLS is no longer recognized * USE_FREETYPE is no longer recognized 20130423: AUTHOR: jgh@FreeBSD.org * New USES macro to handle support for gettext dependency: USES= gettext:build will add gettext into BUILD_DEPENDS USES= gettext:run will add gettext into RUN_DEPENDS USES= gettext:lib will add gettext into LIB_DEPENDS It deprecates USE_GETTEXT which will be removed as soon as it is not used anymore 20130422: AUTHOR: bdrewery@FreeBSD.org * The entry for 20120830 to change CCACHE_DIR was not fully supported by all ports. There is now a CCACHE_DIR variable that can be used in /etc/make.conf for more complete coverage: CCACHE_DIR=/var/cache/ccache 20130422: AUTHOR: bapt@FreeBSD.org * New USES macro to handle support for pkgconf (pkg-config) dependency: USES= pkgconfig[:build] will add pkgconf into BUILD_DEPENDS USES= pkgconfig:run will add pkgconf into RUN_DEPENDS USES= pkgconfig:both will add pkgconf into both RUN and BUILD DEPENDS It deprecates USE_PKGCONFIG which will be removed as soon as it is not used anymore 20130320: AUTHOR: jgh@FreeBSD.org * New USES macro to handle support for Zenoss ports and Zenpacks: USES= zenoss 20130319: AUTHOR: makc@FreeBSD.org * New USES macro should be used instead of deprecated USE_CMAKE and CMAKE_OUTSOURCE: USES= cmake:outsource to perform out-of-source build (equivalent to former pair usage of USE_CMAKE/CMAKE_OUTSOURCE) USES= cmake In-source build (equivalent to plain USE_CMAKE=yes) can be used if project doesn't support out-of-source build. 20130319: AUTHOR: bapt@FreeBSD.org * The options framework now uses ports-mgmt/dialog4ports contributed by Ilya A. Arkhipov. It boostraps it if not present when one calls make config. dialog4ports provides a new UI able to represent all the features provided by the new options framework. 20130315: AUTHOR: bdrewery@FreeBSD.org * USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL have been removed and converted into the qmail USE feature USES= qmail:run will add qmail into RUN_DEPENDS USES= qmail:build will add qmail into BUILD_DEPENDS USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS USES= qmail:vars will set QMAIL_PREFIX 20130315: AUTHOR: bapt@FreeBSD.org * Add new Keywords directory and first info.yaml keyword (@info). Keywords directory will contain all the custom plist keywords allowing to extend pkg-plist with new keywords. Only works with pkgng. 20130307: AUTHOR: bapt@FreeBSD.org * New USES macro to handle on demand features, 2 examples has been added to the ports tree: pathfix: to replace USE_GNOME= gnomehack fuse: to replace USE_FUSE= yes 20130207: AUTHOR: gahr@FreeBSD.org * Use of PTHREAD_CFLAGS and PTHREAD_LIBS is unsupported. The former expands to the empty string, while the second is simply -pthread. Please use -pthread directly in your LDFLAGS, if needed. 20121214: AUTHOR: flo@FreeBSD.org * Add a USE_FUSE macro to handle fuse dependencies. It makes sure sysutils/fusefs-libs gets installed and depending on fuse being in base or not it installs sysutils/fusefs-kmod. 20121210: AUTHOR: bapt@FreeBSD.org * OPTIONS has been extended 2 new macros are available: OPTIONS_RADIO - allows only 0 or 1 options to be selected OPTIONS_GROUP - allows 0 or N options among to be selected 20121010: AUTHOR: bapt@FreeBSD.org * IPV6 option is now activated by default for the whole ports tree 20121010: AUTHOR: bapt@FreeBSD.org * The ports tree is now using pkgng as the default package manager for HEAD. This only affects users of CURRENT -- users of other branches need not take any action. To keep pkg_install as the default package manager, use the new WITHOUT_PKGNG knob in make.conf 20120830: AUTHOR: beat@FreeBSD.org * CCACHE support for building ports has been added (depends on devel/ccache). Therefore new user settable variables are available: WITH_CCACHE_BUILD - Enable CCACHE support (Default off) NO_CCACHE - Disable CCACHE support for example for certain ports if CCACHE is enabled. By default CCACHE uses $HOME/.ccache as cache directory. To use a non-default cache directory this could be overwritten like: MAKE_ENV+= CCACHE_DIR=/var/cache/ccache 20120820: AUTHOR: gahr@FreeBSD.org * GitHub support has been integrated into bsd.sites.mk. In order to fetch distfiles from GitHub, a port must define USE_GITHUB along with the following variables: GH_ACCOUNT - account name of the GitHub user hosting the project default: not set, mandatory GH_PROJECT - name of the project on GitHub default: ${PORTNAME} GH_TAGNAME - name of the tag to download (master, 2.0.1, ...) default: ${DISTVERSION} GH_COMMIT - first 7 digits of the commit that generated GH_TAGNAME (man git-describe(1)) default: not set, mandatory The port www/tivoka is an example how to use this mechanism. 20120726: AUTHOR: bapt@FreeBSD.org * new macro USE_PKGCONFIG has been introduce in place of USE_GNOME= pkgconfig USE_PKGCONFIG= yes and USE_PKGCONFIG= build for build only dependency USE_PKGCONFIG= run for run only dependency USE_PKGCONFIG= both for both build and run dependency 20120715: AUTHOR: beat@FreeBSD.org * The ports tree moved from CVS to Subversion. A Subversion to CVS exporter is in place to continue the support of CVSup but do not commit to pcvs directly. All commits have to be done in the new port Subversion repository on svn.FreeBSD.org. You will find more information about Subversion in the Ports Subversion Primer in the FreeBSD wiki, in the "Committer's Guide" and the "Porter's Handbook". If you are in doubt or unsure about a Subversion operation please contact ports@FreeBSD.org. 20120529: AUTHOR: crees@FreeBSD.org * OPTIONS has been updated with many changes and improvements. Old-style OPTIONS declarations will continue to work for a while, but do not introduce any into existing or new ports. For further information, see the Porter's Handbook section on Makefile Options. 20110923: AUTHOR: amdmi3@FreeBSD.org * LDFLAGS is now passed to both the configure and make environments, and should be handled just like CPPFLAGS (see previous entry). Summarizing both LDFLAGS and CPPFLAGS changes, where you would have used CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" now just use CPPFLAGS+= "-I${LOCALBASE}/include" LDFLAGS+= "-L${LOCALBASE}/lib" Note that it's advised to append these variables (+=) instead of overriding (=) to allow customization by user. 20110320: AUTHOR: gerald@FreeBSD.org * CPPFLAGS is now passed to both the configure and make environments, so this no longer needs to happen in individual ports by adding this to CONFIGURE_ENV or MAKE_ENV. Rather, just set CPPFLAGS in the port Makefile (if necessary). For example, where you would have used CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" MAKE_ENV= SOMETHING=foo CPPFLAGS="-I${LOCALBASE}/include" now just use CPPFLAGS= "-I${LOCALBASE}/include" MAKE_ENV SOMETHING=foo 20100831: AUTHOR: autotools@FreeBSD.org * USE_GETTEXT has been cleaned up. 'build' BUILD time dependency only 'run' RUN time dependency only 'yes' LIBRARY dependency 20100606: AUTHOR: gerald@FreeBSD.org * USE_GCC=4.3 is deprecated (and no port uses it anymore). USE_GCC=4.3+ is transparently rewritten to USE_GCC=4.4+ and lang/gcc43 will be disconnected from the USE_GCC infrastructure soon. 20100524: AUTHOR: alepulver@FreeBSD.org * The license support files (bsd.licenses.mk and bsd.licenses.db.mk) from GSoc 2008/2009 have been committed. A new PH entry will be available soon, but for the moment look at: http://wiki.freebsd.org/PortsLicenseInfrastructure Or, alternatively, the comments at the beginning of the mentioned files. 20090906: AUTHOR: flz@FreeBSD.org * There is now a unified way to create users and groups in your ports. First, make sure they are added to both ports/GIDs and ports/UIDs, then add the following in your port: USERS= foo GROUPS= foo ... if you want your port to create the foo user and group. 20090812: AUTHOR: portmgr@FreeBSD.org * sourceforge.net has changed their URL layout to be more flexible for their users. A new bsd.sites.mk macro SFP has been added for projects that moved from http://${mirror}/sourceforge/%SUBDIR%/ to http://${mirror}/project/%SUBDIR%/ Note that %SUBDIR% is now highly individual for each project and might need changing as well. 20090521: AUTHOR: portmgr@FreeBSD.org * bsd.port.options.mk is now clear to be widely used. 20090516: AUTHOR: pgollucci@FreeBSD.org * APACHE_COMPAT is dead! * USE_APACHE=yes is dead! * WITH_APACHE13, WITH_APACHE2, WITH_APACHE20, and WITH_APACHE22 are dead You should set USE_APACHE=13|20|22+. WITH_APACHE option can be used to conditional include support for ANY version of Apache based on APACHE_PORT. Currently www/apache13 20090207: AUTHOR: pgollucci@FreeBSD.org * devel/libslang dropped in favor of devel/libslang2 * WITH_SLANG2 has been removed. WITH_SLANG now implies devel/libslang2. 20080905: AUTHOR: hrs@FreeBSD.org * print/ghostscript-* and related ports have been renamed in the following way: print/ghostscript-gnu -> print/ghostscript7 print/ghostscript-gnu-nox11 -> print/ghostscript7-nox11 print/ghostscript-gnu-commfont -> print/ghostscript7-commfont print/ghostscript-gpl -> print/ghostscript8 print/ghostscript-gpl-nox11 -> print/ghostscript8-nox11 japanese/ghostscript-gnu-jpnfont -> print/ghostscript7-jpnfont korean/ghostscript-gnu-korfont -> print/ghostscript7-korfont * USE_GHOSTSCRIPT now supports a version number which the port requires. The valid value is "7" or "8". If other value is specified, value of WITH_GHOSTSCRIPT_VER is used. * WITH_GHOSTSCRIPT_GNU has been removed in favor of WITH_GHOSTSCRIPT_VER. The valid value of WITH_GHOSTSCRIPT_VER is "7" or "8", and the default value is "8". 20080821: AUTHOR: rafan@FreeBSD.org * CONFIGURE_ARGS is updated to use correct syntax for newer autoconf on the configure target. Individual ports no longer need to change CONFIGURE_TARGET to have the '--build=' prefix. 20080721: AUTHOR: pav@FreeBSD.org * Default OpenLDAP version was changed from 2.3 to 2.4. * USE_GTK and USE_XPM variables are no longer recognized. 20080523: AUTHOR: flz@FreeBSD.org * By default, ports-mgmt/pkg_install now sets up a wrapper to use ports pkg_install (when installed) instead of base when the former is more recent. This can be disabled in the options menu, or with the WITHOUT_WRAPPER knob. 20080414: AUTHOR: pav@FreeBSD.org * @rmtry is now supported in pkg-plist. * USE_DISPLAY made more powerful, see comments in bsd.port.mk for details. * ${PW} is now defined. * LIB_DEPENDS can now be used with libraries with + sign in their name without the need for escaping. 20080312: AUTHOR: pav@FreeBSD.org * USE_XPM no longer implies USE_XLIB. * USE_LDCONFIG can now be used to Linux binary ports that install shared libraries instead of INSTALLS_SHLIB. 20070908: AUTHOR: gabor@FreeBSD.org, linimon@FreeBSD.org * The Perl-related code parts have been extracted from bsd.port.mk to bsd.perl.mk. This includes the user-settable knobs (e.g. USE_PERL5) and infrastructure parts of the code, like default targets. The new code is designed to be conditionally included based on either USE_PERL5_*, PERL_CONFIGURE, or PERL_MODBUILD being set. However, some of the default settings remain in bsd.port.mk while we make sure that all ports comply with this. * A convenient version handling has been implemented for Perl-related knobs. With this new feature one can require a minimal, a maximal or an exact version, that the given port needs. For the full description and some examples, please see the documentation in bsd.perl.mk. 20070804: AUTHOR: gabor@FreeBSD.org The following functional changes were made to bsd.*.mk and to Tools/scripts/security-check.awk: * The variable definitions that cover command line tools, e.g. MKDIR, were extracted from bsd.port.mk into bsd.commands.mk, so that we can reuse them within the infrastructure later. * The old DESTDIR implementation was removed both from the infrastructure, and from the individual ports. Variables like TARGETDIR should not longer be used. * A new DESTDIR implementation has been added, implemented in bsd.destdir.mk. The new implementation puts no requirements on the individual ports. 20070730: AUTHOR: python@FreeBSD.org * The default Python version has been changed from 2.4.x to 2.5.x. * A number of variables have been added to bsd.python.mk to support the more integrated support for Python eggs, including: PYDISTUTILS_PKGNAME, PYDISTUTILS_PKGVERSION, PYEASYINSTALL_EGG, PYDISTUTILS_NOEGGINFO, PYDISTUTILS_EGGINFO, PYEASYINSTALL_ARCHDEP * More detailed descriptions of the variables can be found in the comments in bsd.python.mk. 20070723: AUTHOR: rafan@FreeBSD.org * The default CONFIGURE_ARGS when GNU_CONFIGURE is set now contains --mandir and --infodir if configure script supports them. 20070712: AUTHOR: maho@FreeBSD.org * Add knob USE_FORTRAN for ports which uses FORTRAN. All ports uses FORTRAN compiler should use this knob. Usages are: USE_FORTRAN=yes (default;gfortran42), USE_FORTRAN=ifc (Intel FORTRAN compiler) and USE_FORTRAN=g77 (/usr/bin/f77 or g77-34). 20070701: AUTHOR: portmgr@FreeBSD.org The following change was made to the ports infrastructure: * Virtual category 'kld' was added. If the port installs kernel loadable modules, it should be included in this category. 20070524: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * The 'make-deinstall-all' target now checks for moved ports. * The installation directories PORTEXAMPLES and PORTDATA are now defined. * The USE_MAKESELF knob is added for ports that use the makeself archiver. * The description of fetch-list was updated. The targets fetch-required-list, fetch-url-list, and fetch-urlall-list were added. * 'make search' will also now search in ports/MOVED. * The default method for 'make update' is now portsnap. Previously, you had to manually select one of 3 methods: SUP_UPDATE, CVS_UPDATE, or PORTSNAP_UPDATE. The latter is now obsolete. * Several Makevar definitions have been moved to the pre-makefile section: DATADIR, DOCSDIR, ETCDIR, EXAMPLESDIR, WWWDIR. 20070403: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * The default dependency of USE_GHOSTSCRIPT has been changed from ghostscript-gnu to ghostscript-gpl. The WITH_GHOSTSCRIPT_GPL variable is now no-op. New WITH_GHOSTSCRIPT_GNU variable was added. * bsd.tcl.mk was overhauled. Most importantly, the semantics of USE_TCL* and USE_TK* variables was changed. USE_TCL and USE_TK now implies both build and run dependencies, USE_TCL_RUN and USE_TK_BUILD variables were introduced. Existing ports in the tree were modified. * Unused category 'tcl81' was removed, and new categories 'tcl' and 'tk' were added. 20070324: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * Default LIBTOOLFILES value was changed from literal `configure' to ${CONFIGURE_SCRIPT}. * bsd.efl.mk was moved to ports/Mk. USE_EFL family of macros is now generally available to all ports. * New macros COPYTREE_BIN and COPYTREE_SHARE were added, to allow for easy installation of a tree hierarchy, either with executable (bin) or read-only (share) permissions on files. * A new variable WWWDIR was added, with default value of ${PREFIX}/www/${PORTNAME}. * Variables DOCSDIR_REL, DATADIR_REL, EXAMPLESDIR_REL and WWWDIR_REL were added for porter's convenience. They contain the values of their respective non-REL variables, except relative to installation PREFIX. 20070313: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * bsd.ocaml.mk and bsd.xfce.mk were added. * The FETCH_CMD was refactored so that ports can override the command, the arguments, or both. 20070306: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * The remaining vestiges of FreeBSD 4.X support were removed. Any remaining users of 4.X should have stayed with the RELEASE_4_EOL tag. * It is now possible to include USE_PHP after bsd.port.pre.mk. * 'make search' should now work with non-default ${PORTSDIR}. 20070130: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * DEPENDS variable was removed, please use other *_DEPENDS variables instead. * A new pkg-plist keyword is available, @stopdaemon. It will call forcestop on all rc.subr scripts installed by the port on deinstall, effectively stopping services on deinstall/upgrade. * rc.subr script suffix is now available in Makefile as RC_SUBR_SUFFIX. * New variable USE_CDRTOOLS was introduced. It replaced direct dependencies on sysutils/cdrtools port. It now automatically support switching to cdrtools-cjk port when user specified WITH_CJK. All ports were converted. * USE_DOS2UNIX, infrastructure for converting DOS to UNIX line feeds, was enhanced by a new variable DOS2UNIX_REGEX. It allows to specify a find -iregex parameter to limit touched files by file extensions. * Support for partially translated manpages was added. For examples of usage, please refer to Porter's Handbook. * USE_TCL/USE_TK variables were changed to provide runtime dependency. New variables USE_TCL_BUILD and USE_TK_BUILD were added. All unintuitive quirks of these variables were fixed. * USE_LDCONFIG was fixed to work properly for ports, that specify @cwd in the pkg-plists. * Old bsd.java.mk version 1.0 macros were removed. * New category: ports-mgmt * New virtual category: gnustep * Unused 'picobsd' category was removed. 20070118: AUTHOR: maho@FreeBSD.org We'd like to ask all ports maintainers, who are using Fortran77 (f77 in base), to switch to Fortran90/95 (gfortran42, lang/gcc42). Please refer to http://people.freebsd.org/~maho/gfortran/gfortran.html for details. 20061014: AUTHOR: gnome@FreeBSD.org The following changes have been introduced to the GNOME porting process during the GNOME 2.16 update: * GNOME is now installed into LOCALBASE. Any port which makes use of the gnomeprefix component will have its PREFIX forced to LOCALBASE 20060930: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * The bsd.port.mk pre and post includes have been split into 3 pieces instead of 2, to allow OPTIONS to be able to influence dependencies. This is still experimental and not yet enabled by any port. This adds the file 'bsd.port.options.mk'. * bsd.gcc.mk has been updated to understand gfortran. * emulators/linux_base is now removed. linux_base-fc4 has been the default for some time. * The USE_FIREBIRD macro was added to bsd.database.mk. 20060914: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * PKGVERSION was introduced as an intermediate variable refactored out of PKGNAME. * bsd.lua.mk was added to support lua-related ports. * DESTDIR was removed from bsd.scons.mk because it was problematic. * Some quotes were added to the 'missing' target to improve handling of duplicate origins. 20060903: AUTHOR: sat@FreeBSD.org The following functional changes were made to bsd.sites.mk: * MASTER_SITES variable can now look like MACRO1/subdir1 MACRO2/subdir2, and be expanded in a way that you expect it to, that is apply different subdirs to different sites. You can safely replace ${M_S_FOO:S/%SUBDIR%/bar/} with FOO/bar. * If M_S_SUBDIR is unset, a macro in M_S won't set it anymore, but rather substitute %SUBDIR% all by itself. Now it's possible to use macros with different default subdirs and they will expand in a proper way. 20060805: AUTHOR: sat@FreeBSD.org The following functional changes were made to bsd.sites.mk: * MASTER_SITES variable can now contain special macros which are expanded into traditional URL[:group] syntax and cause some convenient effects, e.g. set a default M_S_SUBDIR. * A macro is any space-delimited word in MASTER_SITES without a forward slash. * If MASTER_SITE_ is defined, then the macro is expanded to its value. * Abbreviated macros are provided for extremely popular locations, e.g. CPAN and SF. To avoid further obfuscation their unabbreviated equivalents should be avoided. * Popular macros can trigger M_S_SUBDIR to default to a predefined value, e.g. ${PORTNAME:L} for SF and ${PORTNAME:C/-.*//} for CPAN. * Abbreviations and M_S_SUBDIR defaults are defined by MASTER_SITES_ABBREVS and MASTER_SITES_SUBDIRS, both set in bsd.sites.mk. * If a macro belongs to a group (e.g. SF:source1), all the sites it expands into also belong to the same group. * Macros and traditional URL's can be mixed safely, their order stays intact. 20060804: AUTHOR: gabor@FreeBSD.org The following functional changes were made to bsd.*.mk and to Tools/scripts/security-check.awk: * Add DESTDIR support to let one install ports into a jail from outside. A package is installed under ${DESTDIR}${PREFIX} now and registered under ${DESTDIR}/var/db/pkg. * TARGETDIR variable has been added for referencing ${DESTDIR}${PREFIX}. * LOCALBASE, LINUXBASE and X11BASE variables point to the final destination now, LOCALBASE_REL, LINUXBASE_REL and X11BASE_REL can be used for the old behavior. The behavior has not been changed in PLIST_SUB. Note, that the three variables are still overridable with a hack, so this change doesn't affect POLA, but necessary for DESTDIR support. * OSVERSION is now determined from the userland, not from the kernel. Cross-compiling between releases is still not supported, but this behavior is more correct for jails with differing userland from the kernel version. * Add some sanity check for PREFIX and DESTDIR. This can be skipped by defining IGNORE_PATH_CHECKS, but very discouraged. * Deinstalling from DESTDIR, determining if a port is already installed in DESTDIR, etc. are implemented by chrooting those specific commands. * Text changes to reflect that we are installing to DESTDIR, removing from DESTDIR, etc. Note, that this change implements only the infrastructure support. Ports should also be implemented to respect DESTDIR. 20060717: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * Introduces IA32_BINARY_PORT for certain cases where a given port fetches and installs compiled i386 binaries. * Adds some infrastructure for support of 32-bit i386 apps on amd64. * Again fix USE_LDCONFIG logic to make it work with non-default PREFIX to fix bug introduced in previous revision. 20060705: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * Change all bogus uses of BROKEN to IGNORE. (Note: the BROKEN_WITH_* forms are retained for compatibility but deprecated.) Internally, these variables all had already set IGNORE, not BROKEN, so they were really misnomers. * Fix USE_LDCONFIG with non-default PREFIX. * Fix DESKTOP_ENTRIES processing on 4.x. * Add 'make missing' to show missing dependencies. * Add bsd.scons.mk and bsd.wx.mk. 20060616: AUTHOR: portmgr@FreeBSD.org The patch in ports/95841 to get rid of remnants of FORCE_PKG_REGISTER was backed out because it broke kdelibs3*. 20060616: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * Update default MySQL version from 4.1 to 5.0 [1] * Update default PHP version from 4 to 5 [2] * Update default LDAP version from 2.2 to 2.3 [3] * Add support for LDAP version 2.4 [4] * Update default linux_base from '8' (Redhat 8) to 'fc4' (Fedora Core 4) [5] * Switch default Linux X implementation from XFree86 to X.org to track the above [5] * Deprecate INSTALLS_SHLIB and replace it by USE_LDCONFIG. If set to "yes", the old behavior is preserved. Otherwise, it can be set to a list of directories to be added to ${PREFIX}/libdata/ldconfig/${UNIQUENAME}. Note that this directory is used by ldconfig startup script, it is meant to replace ldconfig scripts installed by some ports as (sometimes 000.${UNQUENAME}.sh) [6] * Adds USE_LDCONFIG32 which is like USE_LDCONFIG but the target file is ${PREFIX}/libdata/ldconfig32/${UNIQUENAME} instead. (Note: this should only be used on 64-bit architectures) [6] * Set the default LANG for tr to be C to avoid some build problems [7] * Include bsd.java.mk in both pre and post sections [8] * Get rid of remnants of FORCE_PKG_REGISTER [9] * Always print options with make showconfig [10] PR: 92805 [1], 92806 [2], 96793 [3], 97515 [4], 96849 [5], 91933 [6], 91381 [7], 97020 [8], 95841 [9], 97133 [10] 20060523: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * include bsd.emacs.mk only when USE_EMACS is set [5] * Correct the implementation of pretty-print-run-depends-list [8] * Use a consistent name for the cookies file when PKGNAMEPREFIX/SUFFIX are set after bsd.port.pre.mk. [9] * Include bsd.tcl.mk if USE_TCL_BUILD is defined [10] * Set PERL_MM_USE_DEFAULT in BATCH mode [11] * Add the {ONLY,NOT}_FOR_ARCH_REASON and {ONLY,NOT}_FOR_ARCH_REASON_${ARCH} variables to allow better customization of the error string reported to users when they attempt a build on an unsupported architecture. [12] * Avoid errors from duplicated targets when parsing MLINKS on ports without a default value set. [13] * Fix handling of MLINKS when invalid entries are listed [14] * Enforce sanity of DESKTOP_ENTRIES. If the Categories field is omitted, try to map ports categories to their freedesktop.org counterpart [15] PR: 95238 [5], 94164 [8], 94219 [9], 92355 [10], 95579 [11], 94675 [12], 66109 [13], 66110 [14], 95603 [15] 20060121: AUTHOR: portmgr@FreeBSD.org The following changes affecting ports developers were introduced: * Gamin is a default FAM system * New virtual categories: hamradio and rubygems * Virtual category 'offix' was removed * New USE_DOS2UNIX variable for converting DOS linefeeds to UNIX * Variables like BROKEN and FORBIDDEN should no longer be quoted * New NOFETCHFILES variable to prevent downloading from MASTER_SITES while still allowing MASTER_SITE_OVERRIDE * New plist macro @dirrmtry with functionality of @unexec rmdir || true * USE_REINPLACE no longer needs to be defined, REINPLACE_CMD is always available Detailed documentation of new features is available in Porter's Handbook. 20051108: AUTHOR: portmgr@FreeBSD.org The following changes were introduced: * Add bsd.database.mk - move out from bsd.port.mk USE_MYSQL and USE_PGSQL. - add support for Berkeley DB and SQLite (via USE_BDB and USE_SQLITE knobs). * Escape '+' in make search * Add "makepatch" target to simplify creation of patches during porting * Replace deprecated MACHINE_ARCH with ARCH * Remove support of OpenLDAP 2.1 * Add bsd.tcl.mk It introduces USE_TCL/USE_TCL_BUILD knobs to support various version of tcl (8.0 -> 8.4) * Fix cosmetic bugs in security-check target * Add support for INDEX-7 and above (up to INDEX-9 actually) * Add "package-recursive" to bsd.port.subdir.mk * Remove check for FreeBSD version < 460101 * New category: net-im * Add .desktop file facilities It introduces DESKTOPDIR and DESKTOP_ENTRIES knobs * Add SHA256 support to "*checksum" targets * Fix USE_PYTHON with OPTIONS * Force NO_LINT to MAKE_ENV to avoid library breaks * Fix typo: s/RC_ORDER/USE_RCORDER/g * Add support for PostgreSQL 8.1 * Add bsd.apache.mk USE_APACHE knob enhancements 20051105: AUTHOR: gnome@FreeBSD.org GNOME has been upgraded from 2.10.2 to 2.12.1. This update brings with it many important porting changes: - gtk20's pkg-config file no longer contains the X11 pango modules. Therefore, if your port requires these modules, you may have to manually patch them in to your port's Makefiles. Contact gnome@FreeBSD.org if you have questions on this. - A new USE_GNOME component, ltverhack, has been added. This pseudo-component hacks libtool so that shared library versions are more consistent with other operating systems. Using this component can prevent unnecessary shared library version changes. - A new macro, INSTALLS_ICONS, has been added. If your port installs Freedesktop-style icons to ${LOCALBASE}/share/icons or ${X11BASE}/share/icons, then you should use this macro. NOTE: use of this macro requires your port to set either USE_GNOME or WANT_GNOME. 20050618: AUTHOR: netchild@FreeBSD.org - USE_LINUX now implies NO_FILTER_SHLIBS=yes. It also doesn't use FreeBSD tools to strip binaries anymore, so it's not necessary anymore to override STRIP and STRIP_CMD. - USE_LINUX_PREFIX implies NO_MTREE now. - In the USE_LINUX case, USE_XLIB now depends upon the Linux X11 libraries instead upon the native FreeBSD libraries. - The variable LINUX_BASE_PORT contains a string which is suitable as an item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon the default (or overridden) Linux base, ${LINUX_BASE_PORT} should be used instead of a hardcoded reference. - If USE_LINUX or OVERRIDE_LINUX_BASE doesn't point to an existing linux_base port and if USE_LINUX isn't set to "yes" (case insensitive), the port will be marked as IGNORE. 20050609: AUTHOR: portmgr@FreeBSD.org The following changes were introduced: * Improve documentation of CONFLICTS. * Fix add-plist-docs target to work correctly with wildcards. * Fix USE_MYSQL and USE_PGSQL knobs to work in partial ports tree. * Introduce 2 new variables: USE_FAM and WANT_FAM_SYSTEM. * Suppress "Vulnerability check disabled" message if DISABLE_VULNERABILITIES is defined. * Switch default MySQL version to 4.1 * Add support for OpenLDAP v.23 * Fix add-plist-info and add-plist-post targets to avoid warnings from ports which redefine them. * Fix add-plist-docs target to handle NOPORTDOCS knob properly. * Use INSTALLDIRS="site" in configure for perl ports. * Fix NO_(CHECKSUM|BUILD|INSTALL|PACKAGE) knobs if OPTIONS are defined. * Add an ability to depend on versioned installed package. Example: BUILD_DEPENDS=p5-Tree-Simple>=1.12:${PORTSDIR}/devel/p5-Tree-Simple Please note, it's experimental feature, work is currently in progress. 20050325: AUTHOR: jdp@FreeBSD.org The CVSup port has been upgraded with a patch to correct the handling of the "refuse" file for files that are in the CVS Attic. This solves a problem some people were having, where CVSup would delete their ports/INDEX* files even though the files were listed in the "refuse" file. The bug fix is in the cvsupd server, so mirror sites must upgrade their servers in order for this fix to help. Meanwhile, adding "ports/Attic/INDEX*" to the refuse file serves as a work-around. 20050321: AUTHOR: kwm@FreeBSD.org The gstreamer-plugins gconf dependency moved to its own port in devel. When your application needs gstreamer-plug-gconf, just add USE_GSTREAMER=gconf to you Makefile 20050319: AUTHOR: gnome@FreeBSD.org New GNOME components have been added to bsd.gnome.mk. See http://www.FreeBSD.org/gnome/docs/gnome2_porting.html for the complete list of available GNOME 2 components. Py-gnome2 lost many of its GNOME dependencies to a new port, py-gnome-extras. Therefore, ports that used to depend on the pygnome2 component for modules such as gtkhtml2, gnomepanel, etc. should replace the pygnome2 dependency with pygnomeextras. 20050314: AUTHOR: edwin@FreeBSD.org New variable for in /etc/make.conf: IGNORE_MASTER_SITE_xxx If you prefer a certain mastersite for a collection of master-sites, set this in your /etc/make.conf: MASTER_SITE_xxx=http://z.x.y/%SUBDIR%/ If you insist on only using the ones you specify, set this in your /etc/make.conf: IGNORE_MASTER_SITE_xxx=yes MASTER_SITE_xxx=http://z.x.y/%SUBDIR%/ Use "make -V MASTER_SITES" to see the differences. 20050313: AUTHOR: ahze@FreeBSD.org, kwm@FreeBSD.org The following changes were committed: * USE_GNOME=gstreamerplugins has been deprecated. The new method which uses bsd.gstreamer.mk is: USE_GSTREAMER=plugin-name Example: USE_GSTREAMER= dvd or WANT_GSTREAMER= yes .include .if defined(WITH_DVD) USE_GSTREAMER= dvd .endif * misc/gnomehier now creates a mtree file and each port using USE_GNOME=gnomehier or gnomeprefix now use the BSD.gnome-x11.dist mtree file to help "keep" directories and not accidentally add gnome directories to a port. 20050207: AUTHOR: portmgr@FreeBSD.org The following changes were committed: * Change bento to pointyhat names in comments. * Document DISABLE_VULNERABILITIES variable. * Add WWW: line for 'search' target. * Speedup check-vulnerable invocation, if portaudit is installed. * Run install-info for all .info files. * Run add-plist-docs more strictly and prevent some situations with leftover files in the future. * Introduce two new variables: MASTER_PORT and SLAVE_PORT. The results from these variables is only used as information for users. * Honor OPTIONS if PACKAGE_BUILDING or BATCH are defined. * Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc' target allows users to check gcc version if USE_GCC is used. Give maintainers opportunity to add '+' character to USE_GCC version for using specified and higher versions. Example: USE_GCC=3.3+ builds ports with gcc version 3.3 and higher (3.4, 4.0). * Install startup scripts with the help of USE_RC_SUBR variable. * Add three new targets: config-recursive, rmconfig-recursive and config-conditional. You can set or delete OPTIONS for all dependencies before every build. config-conditional target is used to skip configuring ports which have already been configured. * Fix using of WANT_PGSQL_VER variable if PostgreSQL is already installed. 20041231: AUTHOR: netchild@FreeBSD.org USE_LINUX_PREFIX doesn't implies USE_LINUX anymore. 20041209: AUTHOR: portmgr@FreeBSD.org The following changes were committed: * Define new macros: DATE, FMT, MKTEMP, OBJDUMP, and use command macro SORT. * Change layout of comments to 4 column tabs, remove lots of spaces and eight-column-tabs. * Introduce 2 new variables: SUB_FILES and SUB_LIST: Example: SUB_FILES= pkg-message pkg-install SUB_LIST+= "VERSION=${VERSION}" This looks for ${FILESDIR}/pkg-message.in and ${FILESDIR}/pkg-install.in Substitutions in SUB_LIST are applied to these files and the output is redirected to ${WRKDIR}. PKGMESSAGE will be set to ${WRKDIR}/pkg-message. PKGINSTALL will be set to ${WRKDIR}/pkg-install. * Document DEPRECATED and EXPIRATION_DATE variables. * Sanitize the intermittent output by the build infrastructure so that cutting and pasting from it no longer interferes with GNATS-tags. * Honor configure arguments for USE_XLIB if USE/WITH_LIBTOOL_ is used. * Properly document 'describe' target. * Properly remove directories at deinstallation time if ports sets a non-standard PREFIX. * Defaults INDEXFILE to INDEX-6 on 6-CURRENT. 20041119: AUTHOR: portmgr@FreeBSD.org The following changes were committed: * Fix INDEX build if MAINTAINER is not defined. * Remove USE_QT2 option, since qt2 is obsolete. * Better define and explain ARCH option. * Add new script Tools/make_readmes, to speedup 'readmes' target. Avoid recursing into individual port directories and run it at top level, after the category README.html files have been created. * Fix 'search' target and enable a case-insensitive search on 5-x. * Extend 'search' target and enable search by categories. * Remove 'tk42' and 'tcl76' categories since they're obsolete. * Introduce DISTVERSION variable, that can be set instead of PORTVERSION and is automatically converted in a conforming PORTVERSION. Example: DISTVERSION= 10Alpha3 extends 10Alpha3 to 10.a3 DISTVERSION= 3Beta7-pre2 extends 3Beta7-pre2 to 3.b7.p2 * Use --suffix option instead of -b for patch(1), to make it compatible with BSD patch(1). * Fix {WANT,WITH}_MYSQL_VER behavior, to deal with conflicting versions. 20041116: AUTHOR: gnome@FreeBSD.org The way OMF files are handled has been changed to use the new INSTALLS_OMF macro (similar to INSTALLS_SHLIB). Details about the new macro can be found at http://www.FreeBSD.org/gnome/docs/porting.html and bsd.gnome.mk. 20041113: AUTHOR: portmgr@FreeBSD.org Since INDEX version in CVS is always too old, portmgr decided to remove it. You will still be able to build your own INDEX or use 'fetchindex' target in /usr/ports/. 20041109: AUTHOR: gnome@FreeBSD.org The way GConf schema files are handled has been changed to use the new GCONF_SCHEMAS macro (similar to MAN). Details about the new macro can be found at http://www.FreeBSD.org/gnome/docs/porting.html and bsd.gnome.mk. 20040803: AUTHOR: ade@FreeBSD.org As part of the ongoing autotools cleanup, devel/autoconf has been replaced with devel/autoconf253, and devel/automake with devel/automake15. Consumers of the various autotools knobs from bsd.autotools.mk should not notice any differences. This update completes the transition of autotools to true versioned packages (cf: tcl/tk) 20040723: AUTHOR: anholt@FreeBSD.org The XFREE86_VERSION variable is replaced by the X_WINDOW_SYSTEM variable. XFREE86_VERSION may no longer be used by ports Makefiles. X_WINDOW_SYSTEM may currently be set to xorg, xfree86-4, and xfree86-3 (please use :L in checking it). Several X_*_PORT variables are provided by bsd.port.mk which map to the appropriate port for the X_WINDOW_SYSTEM chosen. 20040719: AUTHOR: ale@FreeBSD.org There has been a big update to PHP ports and bsd.php.mk to add more flexibility and new features. Now a port may depend on a specific set of PHP extensions. To do so, simply replace: USE_PHP= yes with: USE_PHP= ext1 ext2 ext3 ... in the port Makefile. A list of all PHP extensions is included in bsd.php.mk. If the requirement is a build dependency too, the port should also define: USE_PHP_BUILD=yes Moreover, the new knob WANT_PHP_SCR has been added to indicate that the port requires the 'php' binary to run. Last but not least, many common operations to build/install/register a PHP extension can now be omitted from the port Makefile if it defines: USE_PHPEXT= yes For more information on this point and on additional variables, see bsd.php.mk. 20040717: AUTHOR: eik@FreeBSD.org OpenLDAP version 2.2 is now the default. When your port links against the openldap client libraries use USE_OPENLDAP= yes and do not depend on a particular version. A user (or package building cluster) can select the desired flavor with WANT_OPENLDAP_VER and WANT_OPENLDAP_SASL, but these must not be used in ports Makefiles. 20040709: AUTHOR: portmgr@FreeBSD.org USE_LIBTOOL_VER now configures a port to use the ports version of libtool instead of its included version. This was put in place to reduce the number of ad hoc patches to individual ports' libtools to prevent .la file installation as well as fix various threading problems. To restore the previous libtool behavior, use the new macro, USE_INC_LIBTOOL_VER. It works the exact same way as USE_LIBTOOL_VER in that it takes a libtool version as its argument. For example, to use the included version of libtool with extra hacks provided by libtool-1.5, add the following to your Makefile: USE_INC_LIBTOOL_VER= 15 To use the ports version of libtool-1.5, add the following to your Makefile: USE_LIBTOOL_VER= 15 Note: these macros are mutually exclusive. Your port should only include one or the other if it needs to make use of libtool. 20040707: AUTHOR: gnome@FreeBSD.org The way GConf schema files are installed has changed to support the upcoming GNOME 2.8 GConf. Details about the change can be found at http://www.FreeBSD.org/gnome/docs/porting.html. All existing ports have been converted to the new style, and portlint has been updated to flag old-style GConf schema installation. 20040610: AUTHOR: portmgr@FreeBSD.org The following behavioral or feature changes were committed: * Support verbose index builds with INDEX_VERBOSE * Support glob expressions in USE_GETTEXT to allow more flexibility in the face of future gratuitous library version bumps by the gettext developers: USE_GETTEXT=yEs # Works as before (case-insensitive) USE_GETTEXT=[5-7] # Accepts any of those libintl.so.x versions # in the LIB_DEPENDS * Extend 'make search' support to allow much more flexible searching From the PR: Besides the good old key and name variables, this patch adds support for path, info, maint, cat, bdeps, and rdeps, which match on the appropriate fields, plus their exclusion counterparts: xkey, xname, etc. Examples: Find all ports whose names contain "pear-" but not "html" or "http": make search name=pear- xname='ht(tp|ml)' Find ports whose names contain "pear-" and which don't have apache listed in build-time dependencies: make search name=pear- xbdeps=apache The positive variables (name, key, maint, etc) are AND-ed, their negative versions are OR-ed; in other words, matching any x- variable will cause the port to be skipped, mismatch on any non-x- variable will cause it to be skipped. Examples: Find ports that are both in the 'www' category and maintained by Thierry Thomas: make search maint=thierry@ path=/www/ Find ports in the 'archivers' category that are either not orphaned or don't have "zip" in their names (contrived): make search cat=archivers xmaint=ports@freebsd xname=zip It is possible to select fields to display. Example: Find PEAR ports that don't build-depend on apache, displaying only Port:, Path:, and Info: lines: make search name=pear- xbdeps=apache display=name,path,info Case-sensitivity can now be turned of with icase=1. Example: Find ports with @freebsd.org maintainer addresses without the "proper" capitalization (@FreeBSD.org), display their paths and maintainer addresses: make search maint=@freebsd\\.org icase=0 display=maint,path The key and xkey variables can be limited in scope to displayed fields by setting keylim to 1. Example: Find ports that contain "apache" in either of the name, path, info fields, ignore the rest of the record (dependencies, maintainer address, etc): make search key=apache display=name,path,info keylim=1 The following variables can be set e.g. in /etc/make.conf to control default search behavior: PORTSEARCH_DISPLAY_FIELDS?=name,path,info,maint,index,bdeps,rdeps PORTSEARCH_KEYLIM?=0 PORTSEARCH_XKEYLIM?=0 PORTSEARCH_IGNORECASE?=1 * Extend USE_PERL5_BUILD and USE_PERL5 to add EXTRACT and PATCH dependencies * While building index, treat non-existent dependencies as fatal. Previously the error was being hidden by the stderr redirection. * Don't always retry BROKEN ports when package building (it is taking too much time to continually rebuild ports that are usually going to really be broken). Set TRYBROKEN if you want to attempt a build of a BROKEN port. 20040604: AUTHOR: ade@FreeBSD.org Over the past few weeks, we have been testing the next incarnation of ports/Mk/bsd.autotools.mk on the road to bringing at least some semblance of sanity back to this corner of the ports collection. By far and away the easiest way to see the changes will be to view the new file once committed, but here is a summary of the changes: 1. USE_LIBTOOL, USE_AUTOCONF, USE_AUTOHEADER, USE_AUTOMAKE have been fully deprecated. Ports attempting to use these variables after the commit will error out, and most obviously break INDEX generation, with a helpful error message. Instead, ports must now specifically choose the version of any of these tools that they need with the corresponding USE_*_VER variables. Note that these variables understand any and all versions of autotools ports in the tree, there is no longer a need to have specific version numbers hardcoded in the infrastructure of bsd.autotools.mk (as there is now). In particular, this will immediately open up automake18 and autoconf259 for general use and beating. 2. Similarly for WANT_LIBTOOL, WANT_AUTOCONF, and WANT_AUTOMAKE. Again, these have been fully deprecated, and the equivalent WANT_*_VER versions should be used. In order to preserve existing behavior for these variables, please note the 20040314 entry in ports/CHANGES for the appropriate version numbers to use for any ports in the GNATS queue. Both WANT_* and USE_* bring in the relevant tool as a build dependency, and set up a reasonably large number of variables pointing to the right programs to be using in the port. The only difference at the moment, is that USE_* will run an extra autotools-related configuration step, whereas WANT_* merely requests the environment. 3. The helper knob USE_LIBLTDL has been added which currently simply adds a LIB dependency on the libltdl port. 4. Three new variables have been introduced, WANT_{LIBTOOL,AUTOCONF,AUTOMAKE}_RUN=yes. These variables will do nothing by themselves (a Work-In-Progress), but if the appropriate autotool version is defined (either through WANT_*_VER or USE_*_VER), this will add the relevant dependency to RUN_DEPENDS. Steps 3 and 4 now essentially negate the need for any kind of direct dependency within a non-autotools port Makefile on devel/autoconf*, devel/automake*, devel/libtool*, and devel/libltdl. 20040416: AUTHOR: java@FreeBSD.org There has been a couple of bsd.java.mk tweaks and fixes. . Features from Stage 2 has been removed. A port can no longer use the JDK dependency features by setting JAVA_HOME. Use JAVA_PREFERRED_PORT instead (see below). . The default JDK port now depends on OS version: java/diablo-jdk13 for 4.x, and java/jdk14 for 5.x . It is now possible for the user (and the porters) to define a list of preferred JDK ports to build and run ports. The port will use the first JDK port from the list that matches the requirements specified in the Makefile. JAVA_PREFERRED_PORT contains a list of suitable JDK ports (sorted by preference). Names for JDKs may be found in bsd.java.mk, listed in ${_JAVA_PORTS_ALL} (e.g. "JAVA_PORT_NATIVE_BSDJAVA_1_4"). . JAVA_PORT_VERSION is now set to the full version number of the chosen JDK (e.g. "1.4.2"). Porters will find hints regarding how to obtain the same behavior as before in the header of bsd.java.mk. 20040414: AUTHOR: gnome@FreeBSD.org When writing a port that uses GTK+ 2.X, you can now list the dependency with "USE_GNOME=gtk20" which is preferable to LIB_DEPENDS because the GTK+ library version only needs to be changed in bsd.gnome.mk. Please see http://www.FreeBSD.org/gnome/docs/porting.html for all the available GNOME components as well as detailed instructions on creating ports that use the GNOME infrastructure. 20040404: AUTHOR: gnome@FreeBSD.org The glib20 and gtk20 ports were updated to 2.4.0. This new version is completely source and binary compatible with the previous 2.2.x series. However, certain API calls have been deprecated. If your port defines the following macros, they may refuse to build with the new versions of glib20 and gtk20: GTK_DISABLE_DEPRECATED GDK_DISABLE_DEPRECATED G_DISABLE_DEPRECATED The temporary solution is to either patch your port's Makefiles to, or use an in-place regular expression to remove these macros. The more permanent solution is to wait until the port's authors update their code to use current API calls. 20040402: AUTHOR: java@FreeBSD.org There has been a big update to bsd.java.mk. However, this update is mostly backwards compatible, so it shouldn't affect most java port maintainers. There is some new functionality and minor changes worth documenting here though. bsd.java.mk now provides a new set of macros to be used by ports that require a JDK. When USE_JAVA is set, the following variables may be set in order to give to precision regarding the requirements of the port: . JAVA_VERSION A list of space-separated suitable java versions for the port. An optional "+" allows you to specify a range of versions. (allowed values: 1.1[+] 1.2[+] 1.3[+] 1.4[+]) (NOTE: Used to be set by bsd.java.mk) . JAVA_OS A list of space-separated suitable JDK port operating systems for the port. (allowed values: native linux) (NOTE: Used to be set by bsd.java.mk) . JAVA_VENDOR A list of space-separated suitable JDK port vendors for the port. (allowed values: freebsd bsdjava sun ibm blackdown) (NOTE: Used to be set by bsd.java.mk) . JAVA_BUILD When set, it means that the selected JDK port should be added to build dependencies for the port. . JAVA_RUN This variable works exactly the same as JAVA_BUILD but regarding run dependencies. Here are some of the macros defined after setting USE_JAVA: . JAVA_PORT The name of the JDK port (e.g. java/jdk14) . JAVA_HOME The home of the JDK port in the local base . JAVA_PORT_VERSION The version of the JDK port. (NOTE: Used to be JAVA_VERSION, see above) . JAVA_PORT_OS The operating system used by the JDK port. (NOTE: Used to be JAVA_OS, see above) . JAVA_PORT_VENDOR The vendor of the JDK port. (NOTE: Used to be JAVA_VENDOR, see above) Plus many macros for the commonly used java executables: APPLETVIEWER, JAR, JAVA, JAVAC, JAVADOC, JAVAH, JAVAP, JAVA_KEYTOOL, JAVA_N2A, JAVA_POLICYTOOL, JAVA_SERIALVER, RMIC, RMID and RMIREGISTRY. bsd.java.mk 2.0 is mostly backward compatible with the previous version, save for the notes above and changed internal variables. Using the new features is strongly encouraged, since the old bsd.java.mk 1.0 features will be deprecated and may be removed in the future. You will find more detailed info (as well as a quick tutorial) at: http://www.esil.univ-mrs.fr/~hquiroz/freebsd/bsd.java.mk-2.0.html 20040316: AUTHOR: gnome@FreeBSD.org The print/freetype2 port has been updated to 2.1.7. This update changes some of the internal FreeType API. Applications may need to be patched to support this new API. If a source files includes freetype/freetype.h, make sure ft2build.h is included before freetype/freetype.h. The proper way to do this is: #include #include FT_FREETYPE_H However, the following will work as well, but is deprecated: #include #include 20040314: AUTHOR: ade@FreeBSD.org USE_LIBTOOL, USE_AUTOCONF, and USE_AUTOMAKE are now considered deprecated, and will be removed on or around June 1st 2004. All ports should now choose the specific version of the tool, using USE_LIBTOOL_VER, USE_AUTOCONF_VER, and USE_AUTOMAKE_VER. The old "system default" behavior can be written as follows: Old New USE_LIBTOOL=yes USE_LIBTOOL_VER=13 USE_AUTOCONF=yes USE_AUTOCONF_VER=213 USE_AUTOMAKE=yes USE_AUTOMAKE_VER=14 20040304: AUTHOR: eik@FreeBSD.org New variable MASTER_SITE_SOURCEFORGE_EXTENDED. It has the ten official sourceforge.net download mirrors, whereas MASTER_SITE_SOURCEFORGE only has five. To check if your port is mirrored there, go to click on ${DISTFILES} and you'll see five or ten mirrors, corresponding to the variables above. 20040226: AUTHOR: knu@FreeBSD.org The default version of Ruby is now 1.8 on all platforms including the i386. Users on the i386 platform need to follow the instructions described in the UPDATING file to cope with this upgrade. Next time ruby is major upgraded, you won't need to do this kind of messy work because some subtle changes have been made to the ruby port infrastructure to make it easier to handle multiple versions of ruby. 20040217: AUTHOR: gnome@FreeBSD.org Mozilla will now default to using GTK2, and will only compile against Gtk+-1.2 if explicitly requested. This is in exact opposite to the old behavior. The valid values of WITH_MOZILLA are now: mozilla (www/mozilla, GTK2) mozilla-devel (www/mozilla-devel, GTK2) mozilla-gtk1 (www/mozilla-gtk1, GTK1) mozilla-devel-gtk1 (www/mozilla-devel-gtk1, GTK1) As before, WITH_MOZILLA can be set in /etc/make.conf, but doing so is not advised unless you desire the development versions. GTK2 browsers will automatically compile against GTK2 mozilla, and GTK1 browsers (galeon1, galeon1, and galeon1) will automatically compile against GTK1. Again, the only people who will need to take action are those who desire development versions (which are inactive at this time anyway). Those who want GTK1 mozilla-devel must set WITH_MOZILLA=mozilla-devel-gtk1 or they will be pleasantly surprised with their very own GTK2 installation on the next update. WITH_MOZILLA=mozilla-gtk2 and WITH_MOZILLA=mozilla-devel-gtk2 are still honored for the time being, but their use is now deprecated. Any new ports are not required to consider their values, and so eventually WITH_MOZILLA _will_ have to be changed. Hopefully galeon2 can catch up to peoples' expectations from galeon1 soon, and we can remove the GTK1 ports altogether. 20040204: AUTHOR: portmgr@FreeBSD.org The bsd.php.mk file has been moved out of the lang/php4 port into the Mk directory. This will make it much easier to include PHP support in PHP-dependent ports. Instead of including bsd.php.mk directly, a port can simply set USE_PHP=yes, and the ports system with Do the Right Thing. All trailing whitespace has been removed from bsd.port.mk. Enhance the new OPTIONS code by only including saved options if the port defines OPTIONS, attempt to use LATEST_LINK as the unique name for a port (fall back to ${PKGNAMEPREFIX}${PORTNAME} otherwise), bring the ===> messages in line with the existing ones by using PKGNAME instead of PORTNAME, use PKGNAME in the dialog, use ECHO_CMD instead of ECHO_MSG to write the OPTIONSFILE, display a message during compilation indicating that user-specified options have been found, and make the output of the showconfig target a little more user-friendly. A new USE_ICONV macro has been added that takes the place of an explicit LIB_DEPENDS on converters/libiconv. This will help with future shared lib version bumps. A new USE_GETTEXT macro has been added that takes the place of an explicit LIB_DEPENDS on devel/gettext. This will help with future shared lib version bumps. Module::Build is a system for building, testing, and installing Perl modules. It will eventually replace the obsoleted ExtUtils::MakeMaker. Many new Perl modules have already switched to using Build.PL instead of Makefile.PL. To facilitate building those modules, a new PERL_MODBUILD macro has been added. Use that in place of PERL_CONFIGURE when porting Perl modules that make use of the Module::Build framework. Certain ports want to check for the availability of SDL libraries before including them. This change adds a new WANT_SDL macro similar to WANT_GNOME. By setting this, the porter indicates that her port can optional use SDL if present on the system. WANT_SDL should be defined _before_ bsd.port.pre.mk is included. After including bsd.port.pre.mk, the list of available SDL components will be returned in the HAVE_SDL macro. For details on how to process this component list, refer to bsd.sdl.mk. The OpenBSD and NetBSD projects diverged from the FreeBSD ports tree years ago, and it no longer make sense to include obsolete references to incorrect paths in the FreeBSD ports system. This change removes the NetBSD and OpenBSD PORTSDIR compatibility bits from bsd.port.mk. The comment for PKGDIR read, ``A direction containing any package creating file.'' The word ``direction'' should be ``directory.'' This has been fixed. A new DIRNAME macro has been added that points to /usr/bin/dirname. All direct use of dirname in ports can be switched to this macro. Direct use of commands dirname, id, and rm have been corrected to use their macro equivalents instead. Some useless ${HEAD} -n 1 statements have been removed. A strange comment in the do-install target and an out of place ``fi'' have been fixed as well. On 5-CURRENT after the 5.2-RELEASE split, the default Perl version has been updated from 5.6.1 to 5.8.2. As well, some Perl definitions in bsd.port.mk have been moved to their correct locations which corrects the PERL_LEVEL definition. The following optimizations have been added to the ports system to speed up recursive operations such as make describe, make index, make ignorelist, etc. bsd.gnome.mk is now only included if a port defines USE_GNOME, WANT_GNOME, and/or USE_GTK. More variables are cached and passed down through bsd.port.subdir.mk. Perl is no longer invoked when a simple ``echo'' will do. More subshell variable assignments have been hidden behind conditionals so that the commands are not spawned every time. Finally, dependency lists are only constructed if ports actually declare dependencies. These optimizations give make index approximately a 43% speedup. If CPUFLAGS is not defined (this _CPUCFLAGS is empty), trying to remove _CPUCFLAGS from CFLAGS will result in an error. This change fixes that. On recent versions of 5.X, /etc/rc.subr exists, and there is no reason to install another copy in ${LOCALBASE}/etc. The reason this was ever done was to workaround some build issues on bento. However, testing OSVERSION seems to work in spite of those build issues. The ports system now supports MySQL 3.23, 4.0, 4.1, and 5.0. Also, the ability to scale to newer versions was also but in place. An .endif comment indicated that the .if block checked WANT_MYSQL when, in fact, it was checking WANT_MYSQL_VER. This has been corrected. The PTHREAD{CFLAGS,LIBS} macros have been made overridable on all versions of FreeBSD to allow for alternate threading implementations (e.g. -lc_r, -lthr, -mt, etc.). The default threading library has been changed to -lpthread from -lc_r on -CURRENT. The new SIZE support broke distfiles fetching on FreeBSD < 4.8. On those versions of FreeBSD, the SIZE distfile attribute is now ignored. Also, defining DISABLE_SIZE in, for example, /etc/make.conf, will ignore the SIZE attribute on all versions of FreeBSD. This is useful with alternate values for FETCH_CMD. A new vulnerabilities database has been added to the ports system in order to keep more accurate, up-to-date, track of security vulnerabilities. The ports system now knows how to query that database and dynamically prevents the installation of vulnerable ports. In order to allow for more rapid development of the package tools, the ports system will prefer to use pkg_* tools found in ${LOCALBASE} over those in the base system. However, all PKG_* macros are still overridable. A new physical category, net-mgmt, has been created to house network management ports. The /var/db/port.mkversion file never really took off, and is now very obsolete. Replace the code used to generate and check this file with a simple OSVERSION check. The ports system now requires FreeBSD 4.3 or higher. The last round of bsd.*.mk changes broke ports that had duplicate distinfo entries (e.g. linux_base). This is now fixed. Along with this fix, only distfiles with a bad checksum will be refetched, where as distfiles missing from distinfo will not be refetched. The PLIST_{DIRS,FILES} macros were passed to the final package list unchanged by PLIST_SUB. This is not always desirable. Now, those macros are passed through PLIST_SUB. The previous OPTIONS code assumed users would be running port build as root. If this was not the case, OPTIONS configuration would fail. Now, the bits of the config and rmconfig targets that require write access to system directories are run under SU_CMD. The makesum target will now add a SIZE attribute for each distfile by default. This can be overridden by defining NO_SIZE in a port's Makefile. Note: this could probably be expanded to omit SIZE attributes for specific distfiles in the future. 20040129: AUTHOR: trevor@FreeBSD.org SIZE lines in distinfo files: if you set USE_SIZE when you do "make makesum", the byte sizes of the distfiles will be listed in the distinfo file. Then, if a distfile is replaced on its master site with one of a different size than that listed, "make fetch" will fail with a "size mismatch" error before downloading the file and the user will be asked to fetch the file by hand. Also, a user will know the size of the distfiles before fetching and decide to fetch later. 20040129: AUTHOR: erwin@FreeBSD.org Start of CHANGES file. FORMAT: This file contains a list, in reverse chronological order, of major breakages or added features in tracking ports. Not all things will be listed here, and it only starts on January 29, 2004. Copyright information: Copyright 2004-2012 FreeBSD Foundation All Rights Reserved. Redistribution, publication, translation and use, with or without modification, in full or in part, in any form or format of this document are permitted without further permission from the author. THIS DOCUMENT IS PROVIDED BY FREEBSD FOUNDATION ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Contact portmgr@FreeBSD.org if you have any questions about your use of this document. $FreeBSD$ Index: head/Mk/bsd.database.mk =================================================================== --- head/Mk/bsd.database.mk (revision 394507) +++ head/Mk/bsd.database.mk (revision 394508) @@ -1,430 +1,432 @@ # $FreeBSD$ # .if defined(_POSTMKINCLUDED) && !defined(Database_Post_Include) Database_Post_Include= bsd.database.mk Database_Include_MAINTAINER= ports@FreeBSD.org # This file contains some routines to interact with different databases, such # as MySQL and Berkley DB. To include this file, define macro # USE_[DATABASE], for example USE_MYSQL. Defining macro like # USE_[DATABASE]_VER or WANT_[DATABASE]_VER will include this file as well. # ## # USE_MYSQL - Add MySQL (client/server/embedded) dependency (default: # client). # If no version is given (by the maintainer via the port or # by the user via defined variable), try to find the # currently installed version. Fall back to default if # necessary (MySQL-5.6 = 56). # DEFAULT_MYSQL_VER # - MySQL default version. Can be overridden within a port. # Default: 56. # WANT_MYSQL_VER # - Maintainer can set an arbitrary version of MySQL to always # build this port with (overrides WITH_MYSQL_VER). # IGNORE_WITH_MYSQL # - This variable can be defined if the ports does not support # one or more versions of MySQL. # WITH_MYSQL_VER # - User defined variable to set MySQL version. # MYSQL_VER # - Detected MySQL version. ## # USE_BDB - Add Berkeley DB library dependency. # If no version is given (by the maintainer via the port or # by the user via defined variable), try to find the # currently installed version. Fall back to default if # necessary (db5 if compatible). # This adds a "debug-bdb" make target which will dump the # related data. # INVALID_BDB_VER # - This variable can be defined when the port does not # support one or more versions of Berkeley DB. # WANT_BDB_VER # - Maintainer can set a version of Berkeley DB to always # build this port with (overrides WITH_BDB_VER). # WITH_BDB_VER # - User defined global variable to set Berkeley DB version. -# _WITH_BDB_VER +# _WITH_BDB_VER # - User defined port specific variable to set Berkeley DB # version. # WITH_BDB_HIGHEST # - Use the highest installed version of Berkeley DB. # WITH_BDB6_PERMITTED # - If defined, BerkeleyDB 6 is added to the # default version set, making it eligible even # if not already installed. This is due to its # stricter Affero GNU Public License. # # These variables will then be filled in by this .mk file: # # BDB_LIB_NAME # - This variable is automatically set to the name of the # Berkeley DB library (default: db41). # BDB_LIB_CXX_NAME # - This variable is automatically set to the name of the # Berkeley DB C++ library (default: db41_cxx). # BDB_INCLUDE_DIR # - This variable is automatically set to the location of # the Berkeley DB include directory (default: # ${LOCALBASE}/include/db41). # BDB_LIB_DIR # - This variable is automatically set to the location of # the Berkeley DB library directory. # BDB_VER # - Detected Berkeley DB version. ## # USE_SQLITE - Add dependency on SQLite library. Valid values are: # 3 and 2. If version is not specified directly then # SQLite-3 is used (if USE_SQLITE= yes). # SQLITE_VER # - Detected SQLite version. ## # USE_FIREBIRD - Add dependency on Firebird library. Valid values are: # 2 and 1. If no version is given by the maintainer (if # USE_FIREBIRD= yes) and the user did not define # WITH_FIREBIRD_VER variable, fall back to default "2". # WITH_FIREBIRD_VER # - User defined variable to set Firebird version. # FIREBIRD_VER # - Detected Firebird version. .include "${PORTSDIR}/Mk/bsd.default-versions.mk" .if defined(DEFAULT_MYSQL_VER) WARNING+= "DEFAULT_MYSQL_VER is defined, consider using DEFAULT_VERSIONS=mysql=${DEFAULT_MYSQL_VER} instead" .endif .if defined(USE_MYSQL) DEFAULT_MYSQL_VER?= ${MYSQL_DEFAULT:S/.//} # MySQL client version currently supported. MYSQL51_LIBVER= 16 MYSQL53m_LIBVER= 16 MYSQL55_LIBVER= 18 MYSQL55m_LIBVER= 18 MYSQL55p_LIBVER= 18 MYSQL56_LIBVER= 18 MYSQL56p_LIBVER= 18 MYSQL100m_LIBVER= 18 # Setting/finding MySQL version we want. .if exists(${LOCALBASE}/bin/mysql) _MYSQL!= ${LOCALBASE}/bin/mysql --version | ${SED} -e 's/.*Distrib \([0-9]\{1,2\}\)\.\([0-9]*\).*/\1\2/' _PERCONA!= ${LOCALBASE}/bin/mysql --version | ${GREP} Percona | wc -l _MARIADB!= ${LOCALBASE}/bin/mysql --version | ${GREP} MariaDB | wc -l .if ${_PERCONA} == 1 _MYSQL_VER= ${_MYSQL}p .elif ${_MARIADB} == 1 _MYSQL_VER= ${_MYSQL}m .else _MYSQL_VER= ${_MYSQL} .endif .endif .if defined(WANT_MYSQL_VER) .if defined(WITH_MYSQL_VER) && ${WITH_MYSQL_VER} != ${WANT_MYSQL_VER} IGNORE= cannot install: the port wants mysql${WANT_MYSQL_VER}-client and you try to install mysql${WITH_MYSQL_VER}-client .endif MYSQL_VER= ${WANT_MYSQL_VER} .elif defined(WITH_MYSQL_VER) MYSQL_VER= ${WITH_MYSQL_VER} .else .if defined(_MYSQL_VER) MYSQL_VER= ${_MYSQL_VER} .else MYSQL_VER= ${DEFAULT_MYSQL_VER} .endif .endif # WANT_MYSQL_VER .if defined(_MYSQL_VER) .if ${_MYSQL_VER} != ${MYSQL_VER} IGNORE= cannot install: MySQL versions mismatch: mysql${_MYSQL_VER}-client is installed and wanted version is mysql${MYSQL_VER}-client .endif .endif .if (${MYSQL_VER} == "53m") _MYSQL_CLIENT= databases/mariadb-client _MYSQL_SERVER= databases/mariadb-server .elif (${MYSQL_VER} == "55m") _MYSQL_CLIENT= databases/mariadb55-client _MYSQL_SERVER= databases/mariadb55-server .elif (${MYSQL_VER} == "100m") _MYSQL_CLIENT= databases/mariadb100-client _MYSQL_SERVER= databases/mariadb100-server .elif (${MYSQL_VER} == "55p") _MYSQL_CLIENT= databases/percona55-client _MYSQL_SERVER= databases/percona55-server .elif (${MYSQL_VER} == "56p") _MYSQL_CLIENT= databases/percona56-client _MYSQL_SERVER= databases/percona56-server .else _MYSQL_CLIENT= databases/mysql${MYSQL_VER}-client _MYSQL_SERVER= databases/mysql${MYSQL_VER}-server .endif # And now we are checking if we can use it .if defined(MYSQL${MYSQL_VER}_LIBVER) .if defined(IGNORE_WITH_MYSQL) . for VER in ${IGNORE_WITH_MYSQL} . if (${MYSQL_VER} == "${VER}") IGNORE= cannot install: does not work with MySQL version ${MYSQL_VER} (MySQL ${IGNORE_WITH_MYSQL} not supported) . endif . endfor .endif # IGNORE_WITH_MYSQL .if (${USE_MYSQL} == "server" || ${USE_MYSQL} == "embedded") RUN_DEPENDS+= ${LOCALBASE}/libexec/mysqld:${PORTSDIR}/${_MYSQL_SERVER} .if (${USE_MYSQL} == "embedded") BUILD_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqld.a:${PORTSDIR}/${_MYSQL_SERVER} .endif .else LIB_DEPENDS+= libmysqlclient.so.${MYSQL${MYSQL_VER}_LIBVER}:${PORTSDIR}/${_MYSQL_CLIENT} .endif .else IGNORE= cannot install: unknown MySQL version: ${MYSQL_VER} .endif # Check for correct libs .endif # USE_MYSQL .if defined(USE_BDB) # TODO: avoid malformed conditional with invalid USE_BDB/WITH_BDB_VER # check if + works properly from test builds 01h12m23s +BDB_UNIQUENAME?= ${PKGNAMEPREFIX}${PORTNAME} + _USE_BDB_save:=${USE_BDB} _WITH_BDB_VER_save:=${WITH_BDB_VER} _DB_PORTS= 48 5 6 _DB_DEFAULTS= 48 5 # does not include 6 due to different licensing # but user can re-add it through WITH_BDB6_PERMITTED . if defined(WITH_BDB6_PERMITTED) _DB_DEFAULTS+= 6 . endif # Dependency lines for different db versions db48_DEPENDS= libdb-4.8.so:${PORTSDIR}/databases/db48 db5_DEPENDS= libdb-5.3.so:${PORTSDIR}/databases/db5 db6_DEPENDS= libdb-6.1.so:${PORTSDIR}/databases/db6 # Detect db versions by finding some files db48_FIND= ${LOCALBASE}/include/db48/db.h db5_FIND= ${LOCALBASE}/include/db5/db.h db6_FIND= ${LOCALBASE}/include/db6/db.h # Override the global WITH_BDB_VER with the -# port specific _WITH_BDB_VER -.if defined(${UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER) -WITH_BDB_VER= ${${UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER} +# port specific _WITH_BDB_VER +.if defined(${BDB_UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER) +WITH_BDB_VER= ${${BDB_UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER} .endif # Override USE_BDB with global WITH_BDB_VER .if defined(WITH_BDB_VER) . if ${WITH_BDB_VER} != 1 USE_BDB= ${WITH_BDB_VER} . endif .endif # Override USE_BDB with maintainer's WANT_BDB_VER .if defined(WANT_BDB_VER) USE_BDB= ${WANT_BDB_VER} .endif # Compatiblity hack: # upgrade older plussed versions to 48+ _BDB_OLDPLUSVERS=4+ 40+ 41+ 42+ 43+ 44+ 45+ 46+ 47+ .for i in ${USE_BDB} . if ${_BDB_OLDPLUSVERS:M${i}} USE_BDB:= 48+ . endif .endfor .if ${USE_BDB} == yes USE_BDB:= 48+ .endif # 1. detect installed versions _INST_BDB_VER= .for bdb in ${_DB_PORTS} . if exists(${db${bdb}_FIND}) _INST_BDB_VER+=${bdb} . endif .endfor # 2. parse supported versions: # 2a. build list from USE_BDB _SUPP_BDB_VER= _USE_BDB:=${USE_BDB:C,\+$,,:C/(.)(.)$/\1.\2/} .if !empty(USE_BDB:M*+) . for bdb in ${_DB_PORTS:C/(.)(.)$/\1.\2/} . if ${_USE_BDB} <= ${bdb} _SUPP_BDB_VER+=${bdb:C/\.//} . endif . endfor .else _SUPP_BDB_VER=${USE_BDB} .endif # 2b. expand INVALID_BDB_VER if given with "+": .if !empty(INVALID_BDB_VER:M*+) _INV_BDB:=${INVALID_BDB_VER:C,\+$,,:C/(.)(.)$/\1.\2/} _INV_BDB_VER:= . for bdb in ${_DB_PORTS:C/(.)(.)$/\1.\2/} . if ${_INV_BDB} <= ${bdb} _INV_BDB_VER+=${bdb:C/\.//} . endif . endfor .else _INV_BDB_VER:=${INVALID_BDB_VER} .endif # 2c. strip versions from INVALID_BDB_VER out of _SUPP_BDB_VER .for unsupp in ${_INV_BDB_VER} _SUPP_BDB_VER:=${_SUPP_BDB_VER:N${unsupp}} .endfor # 3a. calculate intersection in _INST_BDB_VER to see if there # is a usable installed version .for i in ${_INST_BDB_VER} . if empty(_SUPP_BDB_VER:M${i}) _INST_BDB_VER:= ${_INST_BDB_VER:N${i}} . endif .endfor _ELIGIBLE_BDB_VER:=${_INST_BDB_VER} # 3b. if there is no usable version installed, check defaults .if empty(_INST_BDB_VER) _DFLT_BDB_VER:=${_DB_DEFAULTS} # make sure we use a reasonable version for package builds _WITH_BDB_HIGHEST=yes . for i in ${_DFLT_BDB_VER} . if empty(_SUPP_BDB_VER:M${i}) _DFLT_BDB_VER:= ${_DFLT_BDB_VER:N${i}} . endif . endfor _ELIGIBLE_BDB_VER:=${_DFLT_BDB_VER} .endif # 4. elect a version _BDB_VER= .for i in ${_ELIGIBLE_BDB_VER} . if !empty(WITH_BDB_HIGHEST) || !empty(_WITH_BDB_HIGHEST) || empty(${_BDB_VER}) _BDB_VER:=${i} . endif .endfor # 5. catch errors or set variables .if empty(_BDB_VER) IGNORE= cannot install: no eligible BerkeleyDB version. Requested: ${USE_BDB}, incompatible: ${_INV_BDB_VER}. Try: make debug-bdb .else . if defined(BDB_BUILD_DEPENDS) BUILD_DEPENDS+= ${db${_BDB_VER}_FIND}:${db${_BDB_VER}_DEPENDS:C/^libdb.*://} . else LIB_DEPENDS+= ${db${_BDB_VER}_DEPENDS} . endif . if ${_BDB_VER} == 48 BDB_LIB_NAME= db-4.8 BDB_LIB_CXX_NAME= db_cxx-4.8 BDB_LIB_DIR= ${LOCALBASE}/lib/db48 . elif ${_BDB_VER} == 5 BDB_LIB_NAME= db-5.3 BDB_LIB_CXX_NAME= db_cxx-5.3 BDB_LIB_DIR= ${LOCALBASE}/lib/db5 . elif ${_BDB_VER} == 6 BDB_LIB_NAME= db-6.1 BDB_LIB_CXX_NAME= db_cxx-6.1 BDB_LIB_DIR= ${LOCALBASE}/lib/db6 . endif BDB_LIB_NAME?= db${_BDB_VER} BDB_LIB_CXX_NAME?= db${_BDB_VER}_cxx BDB_INCLUDE_DIR?= ${LOCALBASE}/include/db${_BDB_VER} BDB_LIB_DIR?= ${LOCALBASE}/lib .endif BDB_VER= ${_BDB_VER} debug-bdb: @${ECHO_CMD} "--INPUTS----------------------------------------------------" - @${ECHO_CMD} "${UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER: ${${UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER}" + @${ECHO_CMD} "${BDB_UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER: ${${BDB_UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER}" @${ECHO_CMD} "WITH_BDB_VER: ${_WITH_BDB_VER_save}" @${ECHO_CMD} "WANT_BDB_VER: ${WANT_BDB_VER}" @${ECHO_CMD} "BDB_BUILD_DEPENDS: ${BDB_BUILD_DEPENDS}" @${ECHO_CMD} "USE_BDB (original): ${_USE_BDB_save}" @${ECHO_CMD} "WITH_BDB_HIGHEST (original): ${WITH_BDB_HIGHEST}" @${ECHO_CMD} "--PROCESSING------------------------------------------------" @${ECHO_CMD} "supported versions: ${_SUPP_BDB_VER}" @${ECHO_CMD} "invalid versions: ${_INV_BDB_VER}" @${ECHO_CMD} "installed versions: ${_INST_BDB_VER}" @${ECHO_CMD} "eligible versions: ${_ELIGIBLE_BDB_VER}" @${ECHO_CMD} "USE_BDB (effective): ${USE_BDB}" @${ECHO_CMD} "WITH_BDB_HIGHEST (override): ${_WITH_BDB_HIGHEST}" @${ECHO_CMD} "--OUTPUTS---------------------------------------------------" @${ECHO_CMD} "IGNORE=${IGNORE}" @${ECHO_CMD} "BDB_VER=${BDB_VER}" @${ECHO_CMD} "BDB_INCLUDE_DIR=${BDB_INCLUDE_DIR}" @${ECHO_CMD} "BDB_LIB_NAME=${BDB_LIB_NAME}" @${ECHO_CMD} "BDB_LIB_CXX_NAME=${BDB_LIB_CXX_NAME}" @${ECHO_CMD} "BDB_LIB_DIR=${BDB_LIB_DIR}" @${ECHO_CMD} "BUILD_DEPENDS=${BUILD_DEPENDS:M*/databases/db*}" @${ECHO_CMD} "LIB_DEPENDS=${LIB_DEPENDS:M*/databases/db*}" @${ECHO_CMD} "------------------------------------------------------------" # Obsolete variables - ports can define these to want users about # variables that may be in /etc/make.conf but that are no longer # effective: .if defined(OBSOLETE_BDB_VAR) . for var in ${OBSOLETE_BDB_VAR} . if defined(${var}) BAD_VAR+= ${var}, . endif . endfor . if defined(BAD_VAR) -_IGNORE_MSG= Obsolete variable(s) ${BAD_VAR} use WITH_BDB_VER or ${UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER to select Berkeley DB version +_IGNORE_MSG= Obsolete variable(s) ${BAD_VAR} use WITH_BDB_VER or ${BDB_UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER to select Berkeley DB version . if defined(IGNORE) IGNORE+= ${_IGNORE_MSG} . else IGNORE= ${_IGNORE_MSG} . endif . endif .endif .endif # USE_BDB # Handling SQLite dependency .if defined(USE_SQLITE) .if ${USE_SQLITE:tl} == "yes" _SQLITE_VER= 3 .else _SQLITE_VER= ${USE_SQLITE} .endif # USE_SQLITE is specified incorrectly, so mark this as IGNORE .if ${_SQLITE_VER} == "3" LIB_DEPENDS+= libsqlite3.so:${PORTSDIR}/databases/sqlite${_SQLITE_VER} SQLITE_VER= ${_SQLITE_VER} .elif ${_SQLITE_VER} == "2" LIB_DEPENDS+= libsqlite.so:${PORTSDIR}/databases/sqlite${_SQLITE_VER} SQLITE_VER= ${_SQLITE_VER} .else IGNORE= cannot install: unknown SQLite version: ${_SQLITE_VER} .endif .endif # defined(USE_SQLITE) .if defined(USE_FIREBIRD) .if defined(WITH_FIREBIRD_VER) USE_FIREBIRD= ${WITH_FIREBIRD_VER} .endif .if ${USE_FIREBIRD:tl} == "yes" FIREBIRD_VER= ${FIREBIRD_DEFAULT:S/.//} .else FIREBIRD_VER= ${USE_FIREBIRD} .endif .if ${FIREBIRD_VER} == "25" LIB_DEPENDS+= libfbclient.so:${PORTSDIR}/databases/firebird25-client .else IGNORE= cannot install: unknown Firebird version: ${FIREBIRD_VER} .endif .endif # defined(USE_FIREBIRD) .endif # defined(_POSTMKINCLUDED) && !defined(Database_Post_Include) Index: head/Mk/bsd.options.mk =================================================================== --- head/Mk/bsd.options.mk (revision 394507) +++ head/Mk/bsd.options.mk (revision 394508) @@ -1,529 +1,496 @@ # $FreeBSD$ # # These variables are used in port makefiles to define the options for a port. # # OPTIONS_DEFINE - List of options this ports accept # OPTIONS_DEFINE_${ARCH} - List of options this ports accept and are # specific to ${ARCH} # OPTIONS_DEFAULT - List of options activated by default # OPTIONS_DEFAULT_${ARCH} - List of options activated by default for a # given arch # # ${OPTION}_DESC - Description of the ${OPTION} # # OPTIONS_SINGLE - List of single-choice grouped options: 1 and # only 1 among N # OPTIONS_RADIO - List of radio-choice grouped options: 0 or 1 # among N # OPTIONS_MULTI - List of multiple-choice grouped options: at # least 1 among N # OPTIONS_GROUP - List of group-choice grouped options: 0 or # more among N # # OPTIONS_SINGLE_${NAME} - List of OPTIONS grouped as single choice (for # the single named as ${NAME} as defined in # OPTIONS_SINGLE) # OPTIONS_RADIO_${NAME} - List of OPTIONS grouped as radio choice (for # the radio named as ${NAME} as defined in # OPTIONS_RADIO) # OPTIONS_MULTI_${NAME} - List of OPTIONS grouped as multiple-choice # (for the multi named as ${NAME} as defined in # OPTIONS_MULTI) # OPTIONS_GROUP_${NAME} - List of OPTIONS grouped as group-choice (for # the group named as ${NAME} as defined in # OPTIONS_GROUP) # # OPTIONS_EXCLUDE - List of options unsupported (useful for slave ports) # OPTIONS_EXCLUDE_${ARCH} - List of options unsupported on a given ${ARCH} # OPTIONS_EXCLUDE_${OPSYS} - List of options unsupported on a given ${OPSYS} # OPTIONS_SLAVE - This is designed for slave ports, it removes an # option from the options list inherited from the # master port and it always adds it to PORT_OPTIONS # meaning activated # # These variables can be used in make.conf to configure options. They are # processed in the order listed below, i.e. later variables override the effects # of previous variables. Options saved using the options dialog are processed # right before OPTIONS_SET_FORCE. When building a port a dialog to configure # options will only appear if there are new options, i.e. options which have not # been configured before either using the option dialog in a previous build or # using the variables below. You can force the dialog to appear by running # "make config". # # OPTIONS_SET - List of options to enable for all ports. # OPTIONS_UNSET - List of options to disable for all ports. # ${OPTIONS_NAME}_SET - List of options to enable for a specific port. # ${OPTIONS_NAME}_UNSET - List of options to disable for a specific port. # # OPTIONS_SET_FORCE - List of options to enable for all ports. # OPTIONS_UNSET_FORCE - List of options to disable for all ports. # ${OPTIONS_NAME}_SET_FORCE - List of options to enable for a specific port. # ${OPTIONS_NAME}_UNSET_FORCE # - List of options to disable for a specific port. # # These variables can be used on the command line. They override the effects of # the make.conf variables above. # # WITH - Set options from the command line # WITHOUT - Unset options from the command line # # # The following knobs are there to simplify the handling of OPTIONS in simple # cases : # # OPTIONS_SUB When defined it will add to PLIST_SUB: # Option enabled ${opt}="" # Option disabled ${opt}="@comment " # # ${opt}_CONFIGURE_ON When option is enabled, it will add its content to # the CONFIGURE_ARGS. # ${opt}_CONFIGURE_OFF When option is disabled, it will add its content to # the CONFIGURE_ARGS. # ${opt}_CONFIGURE_ENABLE Will add to CONFIGURE_ARGS: # Option enabled --enable-${content} # Option disabled --disable-${content} # ${opt}_CONFIGURE_WITH Will add to CONFIGURE_ARGS: # Option enabled --with-${content} # Option disabled --without-${content} # # ${opt}_CMAKE_ON When option is enabled, it will add its content to # the CMAKE_ARGS. # ${opt}_CMAKE_OFF When option is disabled, it will add its content to # the CMAKE_ARGS. # # ${opt}_QMAKE_ON When option is enabled, it will add its content to # the QMAKE_ARGS. # ${opt}_QMAKE_OFF When option is disabled, it will add its content to # the QMAKE_ARGS. # # ${opt}_USE= FOO=bar When option is enabled, it will enable # USE_FOO+= bar # If you need more than one option, you can do # FOO=bar,baz and you'll get USE_FOO=bar baz # ${opt}_USE_OFF= FOO=bar When option is disabled, it will enable # USE_FOO+= bar # # For each of: # ALL_TARGET CATEGORIES CFLAGS CONFIGURE_ENV CONFLICTS CONFLICTS_BUILD # CONFLICTS_INSTALL CPPFLAGS CXXFLAGS DISTFILES EXTRA_PATCHES GH_ACCOUNT # GH_PROJECT GH_TAGNAME INFO INSTALL_TARGET LDFLAGS LIBS MAKE_ARGS MAKE_ENV # PATCHFILES PATCH_SITES PLIST_DIRS PLIST_DIRSTRY PLIST_FILES PLIST_SUB # PORTDOCS SUB_FILES SUB_LIST USES, # defining ${opt}_${variable} will add its content to the actual variable when # the option is enabled. Defining ${opt}_${variable}_OFF will add its content # to the actual variable when the option is disabled. # # For each of the depends target PKG FETCH EXTRACT PATCH BUILD LIB RUN, # defining ${opt}_${deptype}_DEPENDS will add its content to the actual # dependency when the option is enabled. Defining # ${opt}_${deptype}_DEPENDS_OFF will add its content to the actual dependency # when the option is disabled. ## # Set all the options available for the ports, beginning with the # global ones and ending with the ones decided by the maintainer. .if !defined(OPTIONSMKINCLUDED) OPTIONSMKINCLUDED= bsd.options.mk OPTIONS_NAME?= ${PKGORIGIN:S/\//_/} -OPTIONSFILE?= ${PORT_DBDIR}/${UNIQUENAME}/options OPTIONS_FILE?= ${PORT_DBDIR}/${OPTIONS_NAME}/options _OPTIONS_FLAGS= ALL_TARGET CATEGORIES CFLAGS CONFIGURE_ENV CONFLICTS \ CONFLICTS_BUILD CONFLICTS_INSTALL CPPFLAGS CXXFLAGS DISTFILES \ EXTRA_PATCHES GH_ACCOUNT GH_PROJECT GH_TAGNAME INFO \ INSTALL_TARGET LDFLAGS LIBS MAKE_ARGS MAKE_ENV PATCHFILES \ PATCH_SITES PLIST_DIRS PLIST_DIRSTRY PLIST_FILES PLIST_SUB \ PORTDOCS SUB_FILES SUB_LIST USES _OPTIONS_DEPENDS= PKG FETCH EXTRACT PATCH BUILD LIB RUN # The format here is target_family:priority:target-type _OPTIONS_TARGETS= fetch:300:pre fetch:500:do fetch:700:post \ extract:300:pre extract:500:do extract:700:post \ patch:300:pre patch:500:do patch:700:post \ configure:300:pre configure:500:do configure:700:post \ build:300:pre build:500:do build:700:post \ install:300:pre install:500:do install:700:post \ package:300:pre package:500:do package:700:post \ stage:800:post # Set the default values for the global options, as defined by portmgr .if !defined(NOPORTDOCS) PORT_OPTIONS+= DOCS .else OPTIONS_WARNINGS+= "NOPORTDOCS" WITHOUT+= DOCS OPTIONS_WARNINGS_UNSET+= DOCS .endif .if !defined(WITHOUT_NLS) PORT_OPTIONS+= NLS .else WITHOUT+= NLS .endif .if !defined(NOPORTEXAMPLES) PORT_OPTIONS+= EXAMPLES .else OPTIONS_WARNINGS+= "NOPORTEXAMPLES" WITHOUT+= EXAMPLES OPTIONS_WARNINGS_UNSET+= EXAMPLES .endif PORT_OPTIONS+= IPV6 # Add per arch options .for opt in ${OPTIONS_DEFINE_${ARCH}} .if empty(OPTIONS_DEFINE:M${opt}) OPTIONS_DEFINE+= ${opt} .endif .endfor # Add per arch defaults OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${ARCH}} # Remove options the port maintainer doesn't want .for opt in ${OPTIONS_EXCLUDE_${ARCH}} ${OPTIONS_EXCLUDE} ${OPTIONS_SLAVE} \ ${OPTIONS_EXCLUDE_${OPSYS}} OPTIONS_DEFAULT:= ${OPTIONS_DEFAULT:N${opt}} OPTIONS_DEFINE:= ${OPTIONS_DEFINE:N${opt}} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} . for otype in SINGLE RADIO MULTI GROUP . for m in ${OPTIONS_${otype}} OPTIONS_${otype}_${m}:= ${OPTIONS_${otype}_${m}:N${opt}} . endfor . endfor .endfor # Remove empty SINGLE/GROUP/RADIO/MULTI # Can be empty because of exclude/slaves .for otype in SINGLE RADIO MULTI GROUP . for m in ${OPTIONS_${otype}} . if empty(OPTIONS_${otype}_${m}) OPTIONS_${otype}:= ${OPTIONS_${otype}:N${m}} . endif . endfor .endfor # Sort options ALL_OPTIONS:= ${OPTIONS_DEFINE:O:u} OPTIONS_DEFAULT:= ${OPTIONS_DEFAULT:O:u} # complete list COMPLETE_OPTIONS_LIST= ${ALL_OPTIONS} .for otype in SINGLE RADIO MULTI GROUP . for m in ${OPTIONS_${otype}} COMPLETE_OPTIONS_LIST+= ${OPTIONS_${otype}_${m}} . endfor .endfor ## Now create the list of activated options .if defined(OPTIONS_OVERRIDE) # Special case $OPTIONS_OVERRIDE; if it is defined forget about anything done # before NEW_OPTIONS= PORT_OPTIONS:= ${OPTIONS_OVERRIDE} .else NEW_OPTIONS= ${COMPLETE_OPTIONS_LIST} ## Set default options defined by the port maintainer PORT_OPTIONS+= ${OPTIONS_DEFAULT} ## Set system-wide defined options (set by user in make.conf) . for opt in ${OPTIONS_SET} . if !empty(COMPLETE_OPTIONS_LIST:M${opt}) PORT_OPTIONS+= ${opt} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endif . endfor ## Remove the options excluded system-wide (set by user in make.conf) . for opt in ${OPTIONS_UNSET} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endfor -# XXX To remove once UNIQUENAME will be removed ## Set the options specified per-port (set by user in make.conf) -. for opt in ${${UNIQUENAME}_SET} -. if !empty(COMPLETE_OPTIONS_LIST:M${opt}) -PORT_OPTIONS+= ${opt} -NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} -. endif -. endfor - -## Unset the options excluded per-port (set by user in make.conf) -. for opt in ${${UNIQUENAME}_UNSET} -PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} -NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} -. endfor -# XXX To remove once UNIQUENAME will be removed - -## Set the options specified per-port (set by user in make.conf) . for opt in ${${OPTIONS_NAME}_SET} . if !empty(COMPLETE_OPTIONS_LIST:M${opt}) PORT_OPTIONS+= ${opt} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endif . endfor ## Unset the options excluded per-port (set by user in make.conf) . for opt in ${${OPTIONS_NAME}_UNSET} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endfor -# XXX to remove once UNIQUENAME is removed ## options files (from dialog) -. if exists(${OPTIONSFILE}) && !make(rmconfig) -. include "${OPTIONSFILE}" -. endif -. sinclude "${OPTIONSFILE}.local" -# XXX to remove once UNIQUENAME is removed - -## options files (from dialog) . if exists(${OPTIONS_FILE}) && !make(rmconfig) . include "${OPTIONS_FILE}" . endif . sinclude "${OPTIONS_FILE}.local" ### convert WITH and WITHOUT found in make.conf or reloaded from old optionsfile # XXX once WITH_DEBUG is not magic any more, do remove the :NDEBUG from here. .for opt in ${ALL_OPTIONS:NDEBUG} .if defined(WITH_${opt}) OPTIONS_WARNINGS+= "WITH_${opt}" OPTIONS_WARNINGS_SET+= ${opt} PORT_OPTIONS+= ${opt} .endif .if defined(WITHOUT_${opt}) OPTIONS_WARNINGS+= "WITHOUT_${opt}" OPTIONS_WARNINGS_UNSET+= ${opt} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} .endif .endfor +_OPTIONS_UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME} +.for _k in SET UNSET SET_FORCE UNSET_FORCE +.if defined(${_OPTIONS_UNIQUENAME}_${_k}) +WARNING+= "You are using ${_OPTIONS_UNIQUENAME}_${_k} which is not supported any more, use:" +WARNING+= "${OPTIONS_NAME}_${_k}= ${${_OPTIONS_UNIQUENAME}_${_k}}" +.endif +.endfor + .if defined(OPTIONS_WARNINGS) WARNING+= "You are using the following deprecated options: ${OPTIONS_WARNINGS}" WARNING+= "If you added them on the command line, you should replace them by" WARNING+= "WITH=\"${OPTIONS_WARNINGS_SET}\" WITHOUT=\"${OPTIONS_WARNINGS_UNSET}\"" WARNING+= "" WARNING+= "If they are global options set in your make.conf, you should replace them with:" .if defined(OPTIONS_WARNINGS_SET) WARNING+= "OPTIONS_SET=${OPTIONS_WARNINGS_SET}" .endif .if defined(OPTIONS_WARNINGS_UNSET) WARNING+= "OPTIONS_UNSET=${OPTIONS_WARNINGS_UNSET}" .endif WARNING+= "" WARNING+= "If they are local to this port, you should use:" .if defined(OPTIONS_WARNINGS_SET) WARNING+= "${OPTIONS_NAME}_SET=${OPTIONS_WARNINGS_SET}" .endif .if defined(OPTIONS_WARNINGS_UNSET) WARNING+= "${OPTIONS_NAME}_UNSET=${OPTIONS_WARNINGS_UNSET}" .endif .endif ## Finish by using the options set by the port config dialog, if any . for opt in ${OPTIONS_FILE_SET} . if !empty(COMPLETE_OPTIONS_LIST:M${opt}) PORT_OPTIONS+= ${opt} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endif . endfor .for opt in ${OPTIONS_FILE_UNSET} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} .endfor .endif ## FORCE ## Set system-wide defined options (set by user in make.conf) . for opt in ${OPTIONS_SET_FORCE} . if !empty(COMPLETE_OPTIONS_LIST:M${opt}) PORT_OPTIONS+= ${opt} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endif . endfor ## Remove the options excluded system-wide (set by user in make.conf) . for opt in ${OPTIONS_UNSET_FORCE} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endfor - -# XXX To remove once UNIQUENAME will be removed -## Set the options specified per-port (set by user in make.conf) -. for opt in ${${UNIQUENAME}_SET_FORCE} -. if !empty(COMPLETE_OPTIONS_LIST:M${opt}) -PORT_OPTIONS+= ${opt} -NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} -. endif -. endfor - -## Unset the options excluded per-port (set by user in make.conf) -. for opt in ${${UNIQUENAME}_UNSET_FORCE} -PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} -NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} -. endfor -# XXX To remove once UNIQUENAME will be removed ## Set the options specified per-port (set by user in make.conf) . for opt in ${${OPTIONS_NAME}_SET_FORCE} . if !empty(COMPLETE_OPTIONS_LIST:M${opt}) PORT_OPTIONS+= ${opt} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endif . endfor ## Unset the options excluded per-port (set by user in make.conf) . for opt in ${${OPTIONS_NAME}_UNSET_FORCE} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endfor ## Cmdline always win over the rest .for opt in ${WITH} . if !empty(COMPLETE_OPTIONS_LIST:M${opt}) PORT_OPTIONS+= ${opt} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endif .endfor .for opt in ${WITHOUT} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} .endfor # Finally, add options required by slave ports PORT_OPTIONS+= ${OPTIONS_SLAVE} # Sort options and eliminate duplicates PORT_OPTIONS:= ${PORT_OPTIONS:O:u} ## Now some compatibility .if empty(PORT_OPTIONS:MDOCS) NOPORTDOCS= yes .endif .if empty(PORT_OPTIONS:MEXAMPLES) NOPORTEXAMPLES= yes .endif .if ${PORT_OPTIONS:MDEBUG} WITH_DEBUG= yes .endif .if defined(NO_OPTIONS_SORT) ALL_OPTIONS= ${OPTIONS_DEFINE} .endif .for target in ${_OPTIONS_TARGETS:C/:.*//:u} _OPTIONS_${target}?= .endfor .for opt in ${COMPLETE_OPTIONS_LIST} ${OPTIONS_SLAVE} ${OPTIONS_EXCLUDE_${ARCH}} ${OPTIONS_EXCLUDE} # PLIST_SUB PLIST_SUB?= SUB_LIST?= . if defined(OPTIONS_SUB) . if ! ${PLIST_SUB:M${opt}=*} . if ${PORT_OPTIONS:M${opt}} PLIST_SUB:= ${PLIST_SUB} ${opt}="" NO_${opt}="@comment " . else PLIST_SUB:= ${PLIST_SUB} ${opt}="@comment " NO_${opt}="" . endif . endif . if ! ${SUB_LIST:M${opt}=*} . if ${PORT_OPTIONS:M${opt}} SUB_LIST:= ${SUB_LIST} ${opt}="" NO_${opt}="@comment " . else SUB_LIST:= ${SUB_LIST} ${opt}="@comment " NO_${opt}="" . endif . endif . endif . if ${PORT_OPTIONS:M${opt}} . if defined(${opt}_USE) . for option in ${${opt}_USE} _u= ${option:C/=.*//g} USE_${_u:tu}+= ${option:C/.*=//g:C/,/ /g} . endfor . endif . if defined(${opt}_CONFIGURE_ENABLE) . for iopt in ${${opt}_CONFIGURE_ENABLE} CONFIGURE_ARGS+= --enable-${iopt} . endfor . endif . if defined(${opt}_CONFIGURE_WITH) . for iopt in ${${opt}_CONFIGURE_WITH} CONFIGURE_ARGS+= --with-${iopt} . endfor . endif . for configure in CONFIGURE CMAKE QMAKE . if defined(${opt}_${configure}_ON) ${configure}_ARGS+= ${${opt}_${configure}_ON} . endif . endfor . for flags in ${_OPTIONS_FLAGS} . if defined(${opt}_${flags}) ${flags}+= ${${opt}_${flags}} . endif . endfor . for deptype in ${_OPTIONS_DEPENDS} . if defined(${opt}_${deptype}_DEPENDS) ${deptype}_DEPENDS+= ${${opt}_${deptype}_DEPENDS} . endif . endfor . for target in ${_OPTIONS_TARGETS} _target= ${target:C/:.*//} _prio= ${target:C/.*:(.*):.*/\1/} _type= ${target:C/.*://} _OPTIONS_${_target}:= ${_OPTIONS_${_target}} ${_prio}:${_type}-${_target}-${opt}-on . endfor . else . if defined(${opt}_USE_OFF) . for option in ${${opt}_USE_OFF} _u= ${option:C/=.*//g} USE_${_u:tu}+= ${option:C/.*=//g:C/,/ /g} . endfor . endif . if defined(${opt}_CONFIGURE_ENABLE) . for iopt in ${${opt}_CONFIGURE_ENABLE} CONFIGURE_ARGS+= --disable-${iopt:C/=.*//} . endfor . endif . if defined(${opt}_CONFIGURE_WITH) . for iopt in ${${opt}_CONFIGURE_WITH} CONFIGURE_ARGS+= --without-${iopt:C/=.*//} . endfor . endif . for configure in CONFIGURE CMAKE QMAKE . if defined(${opt}_${configure}_OFF) ${configure}_ARGS+= ${${opt}_${configure}_OFF} . endif . endfor . for flags in ${_OPTIONS_FLAGS} . if defined(${opt}_${flags}_OFF) ${flags}+= ${${opt}_${flags}_OFF} . endif . endfor . for deptype in ${_OPTIONS_DEPENDS} . if defined(${opt}_${deptype}_DEPENDS_OFF) ${deptype}_DEPENDS+= ${${opt}_${deptype}_DEPENDS_OFF} . endif . endfor . for target in ${_OPTIONS_TARGETS} _target= ${target:C/:.*//} _prio= ${target:C/.*:(.*):.*/\1/} _type= ${target:C/.*://} _OPTIONS_${_target}:= ${_OPTIONS_${_target}} ${_prio}:${_type}-${_target}-${opt}-off . endfor . endif .endfor .endif Index: head/Mk/bsd.port.mk =================================================================== --- head/Mk/bsd.port.mk (revision 394507) +++ head/Mk/bsd.port.mk (revision 394508) @@ -1,5739 +1,5705 @@ #-*- tab-width: 4; -*- # ex:ts=4 # # $FreeBSD$ # $NetBSD: $ # # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # # Please view me with 4 column tabs! # This is the master file for the most common elements to all port # Makefile in the ports system. For a more general overview of its # use and importance, see the Porter's Handbook. # There are two different types of "maintainers" in the ports framework. # The maintainer alias of the bsd.port.mk file is listed below in the # FreeBSD_MAINTAINER entry. You should consult them if you have any # questions/suggestions regarding this file. # # DO NOT COMMIT CHANGES TO THIS FILE BY YOURSELF, EVEN IF YOU DID NOT GET # A RESPONSE FROM THE MAINTAINER(S) WITHIN A REASONABLE TIMEFRAME! ALL # UNAUTHORISED CHANGES WILL BE UNCONDITIONALLY REVERTED! FreeBSD_MAINTAINER= portmgr@FreeBSD.org # For each port, the MAINTAINER variable is what you should consult for # contact information on the person(s) to contact if you have questions/ # suggestions about that specific port. By default (if no MAINTAINER # is listed), a port is maintained by the subscribers of the ports@FreeBSD.org # mailing list, and any correspondence should be directed there. # # MAINTAINER - The e-mail address of the contact person for this port. # Default: ports@FreeBSD.org # # These are meta-variables that are automatically set to the system # you are running on. These are provided in case you need to take # different actions for different values. # # ARCH - The architecture of the target machine, such as would be # returned by "uname -p". # OPSYS - Portability clause. This is the operating system the # makefile is being used on. Automatically set to # "FreeBSD," "NetBSD," or "OpenBSD" as appropriate. # OSREL - The release version (numeric) of the operating system. # OSVERSION - The value of __FreeBSD_version. # # This is the beginning of the list of all variables that need to be # defined in a port, listed in order that they should be included # to fit in with existing conventions. (Exception: MAINTAINER actually # should appear after EXTRACT_ONLY and before MASTER_SITE_BACKUP). # # These variables are used to identify your port. # # PORTNAME - Name of software. Mandatory. # PORTVERSION - Version of software. Mandatory when no DISTVERSION is given. # PORTREVISION - Version of port. Optional. Commonly used to indicate # that an update has happened that affects the port # framework itself, but not the distributed software # (e.g., local patches or Makefile changes). # PORTEPOCH - Optional. In certain odd cases, the PORTREVISION logic # can be fooled by ports that appear to go backwards # numerically (e.g. if port-0.3 is newer than port-1998). # In this case, incrementing PORTEPOCH forces the revision. # Default: 0 (no effect). # PKGNAME - Always defined as # ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}. # Do not define this in your Makefile. # PKGNAMEPREFIX - Prefix to specify that port is language-specific, etc. # Optional. # PKGNAMESUFFIX - Suffix to specify compilation options or a version # designator (in case there are different versions of # one port as is the case for Tcl). # Optional. # PKGVERSION - Always defined as ${PORTVERSION}. # Do not define this in your Makefile. -# UNIQUENAME - A name for your port that is globally unique. By default, -# this is set to ${LATEST_LINK} when LATEST_LINK is set, -# and to ${PKGNAMEPREFIX}${PORTNAME} otherwise. # DISTVERSION - Vendor version of the distribution. # Default: ${PORTVERSION} # DISTNAME - Name of port or distribution used in generating # WRKSRC and DISTFILES below. # Default: # ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} # CATEGORIES - A list of descriptive categories into which this port falls. # Mandatory. # # These variable describe how to fetch files required for building the port. # # DISTFILES - Name(s) of archive file(s) containing distribution. # Set this to an empty string if the port doesn't require it. # Default: ${DISTNAME}${EXTRACT_SUFX} # EXTRACT_SUFX - Suffix for archive names # You never have to set both DISTFILES and EXTRACT_SUFX. # Default: .tar.bz2 if USES=tar:bzip2 is set, .tar.xz if # USES=tar:xz USE_XZ is set, .tar.gz otherwise). # MASTER_SITES - Primary location(s) for distribution files if not found # locally. See bsd.sites.mk for common choices for # MASTER_SITES. # MASTER_SITE_SUBDIR # - Subdirectory of MASTER_SITES. Will sometimes need to be # set to ${PORTNAME} for (e.g.) MASTER_SITE_SOURCEFORGE. # Only guaranteed to work for choices of ${MASTER_SITES} # defined in bsd.sites.mk. # Default: not set. # PATCHFILES - Name(s) of additional files that contain distribution # patches. Make will look for them at PATCH_SITES (see below). # They will automatically be uncompressed before patching if # the names end with ".gz", ".bz2" or ".Z". # For each file you can optionally specify a strip # flag of patch(1) after a colon if it has a different # base directory, e.g. "file1 file2:-p1 file3". # You can also use a :group at the end for matching up to # dist file groups. See Porters Handbook for more information. # Syntax: PATCHFILES= patch[:-pX][:group] # Default: not set. # PATCH_SITES - Primary location(s) for distribution patch files # if not found locally. # DIST_SUBDIR - Suffix to ${DISTDIR}. If set, all ${DISTFILES} and # ${PATCHFILES} will be put in this subdirectory of # ${DISTDIR} (see below). Also they will be fetched in this # subdirectory from FreeBSD mirror sites. # ALLFILES - All of ${DISTFILES} and ${PATCHFILES}. # NOFETCHFILES - If set, don't download these files from the ${MASTER_SITES} # or ${MASTER_SITE_BACKUP} (but do from # ${MASTER_SITE_OVERRIDE}) # EXTRACT_ONLY - If set, a subset of ${DISTFILES} you want to # actually extract. # ALWAYS_KEEP_DISTFILES # - If set, the package building cluster will save the distfiles # along with the packages. This may be required to comply with # some licenses, e.g. GPL in some cases. # Default: not set. # # (NOTE: by convention, the MAINTAINER entry (see above) should go here.) # # These variables are typically set in /etc/make.conf to indicate # the user's preferred location to fetch files from. You should # rarely need to set these. # # MASTER_SITE_BACKUP # - Backup location(s) for distribution files and patch # files if not found locally and ${MASTER_SITES}/${PATCH_SITES}. # This should *not* be changed. # Default: # http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/ # MASTER_SITE_OVERRIDE # - If set, prepend the MASTER_SITES setting with this value. # MASTER_SITE_FREEBSD # - If set, prepend ${MASTER_SITE_BACKUP} in MASTER_SITES. # # Set these if your port should not be built under certain circumstances. # These are string variables; you should set them to the reason why # they are necessary. # # RESTRICTED - Prevent the distribution of distfiles and packages to # the FTP sites or on CDROM (e.g. forbidden by license # considerations). # NO_CDROM - Packages and distfiles may not go on CDROM (e.g. must # not be re-sold) but can go on FTP sites. # NO_PACKAGE - Port should not be packaged for ftp sites or CDROMs, # but distfiles can be put on ftp sites and CDROMs. # FORBIDDEN - Package build should not be attempted because of # security vulnerabilities. # LEGAL_TEXT - Port has legal issues (e.g., special permission to distribute, lacks a license). # LEGAL_PACKAGE - Port has no legal issues but defines NO_PACKAGE # IGNORE - Package build should be skipped entirely (e.g. # because of serious unfixable problems in the build, # because it cannot be manually fetched, etc). Error # logs will not appear on pointyhat, so this should be # used sparingly. # BROKEN - Port is believed to be broken. Package builds can # still be attempted using TRYBROKEN to test this # assumption. # BROKEN_${ARCH} - Port is believed to be broken on ${ARCH}. Package builds # can still be attempted using TRYBROKEN to # test this assumption. # BROKEN_${OPSYS} - Port is believed to be broken on ${OPSYS}. Package builds # can still be attempted using TRYBROKEN to # test this assumption. # BROKEN_${OPSYS}_${OSREL:R} - Port is believed to be broken on a single # release of ${OPSYS}, e.g BROKEN_FreeBSD_8 # would affect all point releases of FreeBSD 8 # unless TRYBROKEN is also set. # BROKEN_${OPSYS}_${OSREL:R}_${ARCH} - Port is believed to be broken on a # single release of ${OPSYS} and specific architecture, # e.g BROKEN_FreeBSD_8_i386 would affect all point # releases of FreeBSD 8 in i386 # unless TRYBROKEN is also set. # DEPRECATED - Port is deprecated to install. Advisory only. # EXPIRATION_DATE # - If DEPRECATED is set, determines a date when # the port is planed to remove. The date format is # ISO 8601 (YYYY-MM-DD). # # DISABLE_VULNERABILITIES # - If set, do not check if the port is listed in the # vulnerabilities database. # # In addition to RESTRICTED or NO_CDROM, if only a subset of distfiles # or patchfiles have redistribution restrictions, set the following # to the list of such files. # # RESTRICTED_FILES # - List of files that cannot be redistributed. # Default: "${DISTFILES} ${PATCHFILES}" if RESTRICTED # or NO_CDROM is set, empty otherwise. # # These variables are booleans, so you don't need to set them to the reason. # # IS_INTERACTIVE # - Set this if your port needs to interact with the user # during any step in a package build. User can then decide # to skip this port by setting ${BATCH}, or compiling only # the interactive ports by setting ${INTERACTIVE}. # Default: not set. # USE_SUBMAKE - Set this if you want that each of the port's main 7 targets # (extract, patch, configure, build, stage, install and # package) to be executed in a separate make(1) process. # Useful when one of the stages needs to influence make(1) # variables of the later stages using ${WRKDIR}/Makefile.inc # generated on the fly. # Default: not set. # # NO_ARCH - Set this if port is architecture neutral. # # Set these if your port only makes sense to certain architectures. # They are lists containing names for them (e.g., "amd64 i386"). # (Defaults: not set.) # # ONLY_FOR_ARCHS # - Only build ports if ${ARCH} matches one of these. # NOT_FOR_ARCHS - Only build ports if ${ARCH} doesn't match one of these. # ONLY_FOR_ARCHS_REASON # ONLY_FOR_ARCHS_REASON_${ARCH} # - Reason why it's only for ${ONLY_FOR_ARCHS}s # NOT_FOR_ARCHS_REASON # NOT_FOR_ARCHS_REASON_${ARCH} # - Reason why it's not for ${NOT_FOR_ARCHS}s # IA32_BINARY_PORT # - Set this instead of ONLY_FOR_ARCHS if the given port # fetches and installs compiled i386 binaries. # # Dependency checking. Use these if your port requires another port # not in the list below. (Default: empty.) # # EXTRACT_DEPENDS # - A list of "path:dir[:target]" tuples of other ports this # package depends on in the "extract" stage. "path" is # the name of a file if it starts with a slash (/), an # executable otherwise. make will test for the existence # (if it is a full pathname) or search for it in your # $PATH (if it is an executable) and go into "dir" to do # a "make all install" if it's not found. If the third # field ("target") exists, it will be used instead of # ${DEPENDS_TARGET}. The first field also supports a # package name with a version range, in the form package>=1.2 # if a particular version is desired. # PATCH_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends on in the "patch" stage. "path" is the # name of a file if it starts with a slash (/), an # executable otherwise. make will test for the existence # (if it is a full pathname) or search for it in your # $PATH (if it is an executable) and go into "dir" to do # a "make all install" if it's not found. If the third # field ("target") exists, it will be used instead of # ${DEPENDS_TARGET}. The first field also supports a # package name with a version range, in the form package>=1.2 # if a particular version is desired. # FETCH_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends in the "fetch" stage. "path" is the # name of a file if it starts with a slash (/), an # executable otherwise. make will test for the # existence (if it is a full pathname) or search for # it in your $PATH (if it is an executable) and go # into "dir" to do a "make all install" if it's not # found. If the third field ("target") exists, it will # be used instead of ${DEPENDS_TARGET}. The first field # also supports a package name with a version range, in # the form package>=1.2 if a particular version is desired. # BUILD_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends to build (between the "extract" and # "build" stages, inclusive). The test done to # determine the existence of the dependency is the # same as FETCH_DEPENDS. If the third field ("target") # exists, it will be used instead of ${DEPENDS_TARGET}. # RUN_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends to run. The test done to determine # the existence of the dependency is the same as # FETCH_DEPENDS. This will be checked during the # "install" stage and the name of the dependency will # be put into the package as well. If the third field # ("target") exists, it will be used instead of # ${DEPENDS_TARGET}. The first field also supports a # package name with a version range, in the form package>=1.2 # if a particular version is desired. # LIB_DEPENDS - A list of "lib:dir[:target]" tuples of other ports this # package depends on. "lib" is the name of a shared library. # make will use "ldconfig -r" to search for the library. # lib can contain extended regular expressions. # DEPENDS_TARGET # - The default target to execute when a port is calling a # dependency. # Default: install # # These variables control options about how a port gets built and/or # are shorthand notations for common sets of dependencies. # Use these if your port uses some of the common software packages. By # convention these should be set to 'yes', although they only need to be # defined. Defaults: not set, unless explicitly indicated below. # # Note: the distinction between the USE_* and WANT_* variables, and the # WITH_* and WITHOUT_* variables, are that the former are restricted to # usage inside the ports framework, and the latter are reserved for user- # settable options. (Setting USE_* in /etc/make.conf is always wrong). # # WITH_DEBUG - If set, debugging flags are added to CFLAGS and the # binaries don't get stripped by INSTALL_PROGRAM or # INSTALL_LIB. Besides, individual ports might # add their specific to produce binaries for debugging # purposes. You can override the debug flags that are # passed to the compiler by setting DEBUG_FLAGS. It is # set to "-g" at default. # # WITH_DEBUG_PORTS - A list of origins for which WITH_DEBUG will be set # # WITHOUT_SSP - Disable SSP. # # SSP_CFLAGS - Defaults to -fstack-protector. This value # is added to CFLAGS and the necessary flags # are added to LDFLAGS. Note that SSP_UNSAFE # can be used in Makefiles by port maintainers # if a port breaks with it (it should be # extremely rare). # # USE_GCC - If set, this port requires this version of gcc, either in # the system or installed from a port. # USE_CSTD - Override the default C language standard (gnu89, gnu99) # USE_CXXSTD Override the default C++ language standard # USE_BINUTILS - Use binutils suite from port instead of the version in base. # CFLAGS_${ARCH} Append the cflags to CFLAGS only on the specified architecture # CXXFLAGS_${ARCH} # Append the cxxflags to CXXFLAGS only on the specified architecture ## # USE_GL - A list of Mesa or GL related dependencies needed by the port. # Supported components are: egl, glesv2, glut, glu, glw, and gl. # If set to "yes", this is equivalent to "glu". Note that # glew and glut depend on glu, glw and glu depend on gl. ## # USE_SDL - If set, this port uses the sdl libraries. # See bsd.sdl.mk for more information. ## # USE_OPENSSL - If set, this port relies on the OpenSSL package. ## # USE_OPENLDAP - If set, this port uses the OpenLDAP libraries. # Implies: WANT_OPENLDAP_VER?=24 # WANT_OPENLDAP_VER # - Legal values are: 23, 24 # If set to an unknown value, the port is marked BROKEN. # WANT_OPENLDAP_SASL # - If set, the system should use OpenLDAP libraries # with SASL support. ## # USE_AUTOTOOLS - If set, this port uses various GNU autotools # (libtool, autoconf, autoheader, automake et al.) # See bsd.autotools.mk for more details. ## # USE_FPC - If set, this port relies on the Free Pascal language. # Implies inclusion of bsd.fpc.mk. (Also see # that file for more information on WANT_FPC_*). # USE_JAVA - If set, this port relies on the Java language. # Implies inclusion of bsd.java.mk. (Also see # that file for more information on USE_JAVA_*). # USE_OCAML - If set, this port relies on the OCaml language. # Implies inclusion of bsd.ocaml.mk. (Also see # that file for more information on USE_OCAML*). # USE_RUBY - If set, this port relies on the Ruby language. # Implies inclusion of bsd.ruby.mk. (Also see # that file for more information on USE_RUBY_*). ## # USE_GECKO - If set, this port uses the Gecko/Mozilla product. # See bsd.gecko.mk for more details. ## # USE_GNOME - A list of the Gnome dependencies the port has (e.g., # glib12, gtk12). Implies that the port needs Gnome. # Implies inclusion of bsd.gnome.mk. See bsd.gnome.mk # or http://www.FreeBSD.org/gnome/docs/porting.html # for more details. ## # USE_MATE - A list of the MATE dependencies the port has. Implies # that the port needs MATE. Implies inclusion of # bsd.mate.mk. See bsd.mate.mk for more details. ## # USE_WX - If set, this port uses the WxWidgets library and related # components. See bsd.wx.mk for more details. ## # USE_KDE4 - A list of the KDE 4 dependencies the port has (e.g., # kdelibs, kdebase). Implies that the port needs KDE. # Implies inclusion of bsd.kde4.mk. See bsd.kde4.mk # for more details. # # USE_QT4 - A list of the Qt 4 dependencies the port has (e.g, # corelib, webkit). Implies that the port needs Qt. # Implies the inclusion of bsd.qt.mk. See bsd.qt.mk # for more details. # # USE_QT5 - A list of the Qt 5 dependencies the port has (e.g, # core, webkit). Implies that the port needs Qt. # Implies the inclusion of bsd.qt.mk. See bsd.qt.mk # for more details. # # USE_LINUX - Set to yes to say the port needs the default linux base port. # Set to value , if the port needs emulators/linux_base-. # Implies appropriate settings for STRIP and STRIP_CMD. # USE_LINUX_PREFIX # - controls the action of PREFIX (see above). Only use this # if the port is a linux infrastructure port (e.g. contains libs # or a sound server which supports the FreeBSD native one), # use the default or the X11 prefix if it's a leaf port # (e.g. a game or program). # Implies NO_MTREE=yes, and, if USE_LDCONFIG is defined: # - USE_LINUX=yes # - appropriate invocation of the Linux ldconfig # USE_LINUX_RPM - Set to yes to pull in variables and targets useful to Linux # RPM ports. # Implies inclusion of bsd.linux-rpm.mk. # # LINUX_OSRELEASE - Contains the value of compat.linux.osrelease sysctl. # Will be used to distinguish which linux # infrastructure ports should be used. # Valid values: 2.6.16. # # OVERRIDE_LINUX_BASE_PORT # - This specifies the default linux base to use, for valid # values have a look at the description of USE_LINUX. This is # an user-only variable. Don't use it in any port, it's meant # to be used in make.conf. # # LINUX_BASE_PORT # - This is a read-only variable, it gets set to a value which is # usable in *_DEPENDS (e.g. BUILD_DEPENDS=${LINUX_BASE_PORT}). # It honors USE_LINUX=foo and OVERRIDE_LINUX_BASE_PORT. ## # USE_XORG - Set to a list of X.org module dependencies. # Implies inclusion of bsd.xorg.mk. ## # USE_TEX - A list of the TeX dependencies the port has. # ## # USE_RC_SUBR - If set, the ports startup/shutdown script uses the common # routines found in /etc/rc.subr. # If this is set to a list of files, these files will be # automatically added to ${SUB_FILES}, some %%VAR%%'s will # automatically be expanded, they will be installed in # ${PREFIX}/etc/rc.d if ${PREFIX} is not /usr, otherwise they # will be installed in /etc/rc.d/ and added to the packing list. ## # USE_APACHE - If set, this port relies on an apache webserver. # # Conflict checking. Use if your port cannot be installed at the same time as # another package. # # CONFLICTS - A list of package name patterns that the port conflicts # with, separated by blanks. The names may include shell # pattern meta-characters "*", "?", "[", "]", and "!". # Example: apache*-1.2* apache*-1.3.[012345] apache-*+ssl_* # # CONFLICTS_BUILD # - Check conflict prior to the build. # # CONFLICTS_INSTALL # - Check conflict prior to the installation stage. # # Various directory definitions and variables to control them. # You rarely need to redefine any of these except WRKSRC and NO_WRKSUBDIR. # # LOCALBASE - Where ports install things. # Default: /usr/local # LINUXBASE - Where Linux ports install things. # Default: /compat/linux # PREFIX - Where *this* port installs its files. # Default: ${LINUXBASE} if USE_LINUX_PREFIX is set, # otherwise ${LOCALBASE} # # IGNORE_PATH_CHECKS # - There are some sanity checks against PREFIX. # You can disable these checks with defining # this variable, but this is not recommended! # Only do this if you really know what you are # doing. These sanity checks are the following: # - PREFIX has to be an absolute path. # - PREFIX can't have a trailing slash. # # BUNDLE_LIBS Teach pkg(8) to not automatically add all shared libraries # installed by a port as shared libraries "provided" for # other packages (i.e., do not expose them in the solver). # This has to be used for ports that bundle third party # libraries for internal usage. # MASTERDIR - Where the port finds patches, package files, etc. Define # this is you have two or more ports that share most of the # files. # Default: ${.CURDIR} # PORTSDIR - The root of the ports tree. # Default: /usr/ports # DISTDIR - Where to search for and store copies of original sources # Default: ${PORTSDIR}/distfiles # PACKAGES - A top level directory where all packages go (rather than # going locally to each port). # Default: ${PORTSDIR}/packages # WRKDIRPREFIX - The place to root the temporary working directory # hierarchy. # Default: none # WRKDIR - A temporary working directory that gets *clobbered* on clean # Default: ${WRKDIRPREFIX}${.CURDIR}/work # WRKSRC - A subdirectory of ${WRKDIR} where the distribution actually # unpacks to. # Default: ${WRKDIR}/${DISTNAME} unless NO_WRKSUBDIR is set, # in which case simply ${WRKDIR} # WRKSRC_SUBDIR - A subdirectory of ${WRKSRC} where the distribution actually # builds in. # Default: not set # NO_WRKSUBDIR - Assume port unpacks directly into ${WRKDIR}. # PATCHDIR - A directory containing any additional patches you made # to port this software to FreeBSD. # Default: ${MASTERDIR}/files # SCRIPTDIR - A directory containing any auxiliary scripts # Default: ${MASTERDIR}/scripts # FILESDIR - A directory containing any miscellaneous additional files. # Default: ${MASTERDIR}/files # PKGDIR - A directory containing any package creation files. # Default: ${MASTERDIR} # SRC_BASE - The root of the src tree. (Some ports require this to get # kernel sources). Default: /usr/src # UID_FILES - A list of files containing information about registered UIDs. # Note that files have decreasing priority. # GID_FILES - A list of files containing information about registered GIDs. # Note that files have decreasing priority. # # Variables that serve as convenient "aliases" for your *-install targets. # Use these like: "${INSTALL_PROGRAM} ${WRKSRC}/prog ${PREFIX}/bin". # # INSTALL_PROGRAM # - A command to install binary executables. (By # default, also strips them, unless ${STRIP} is # overridden to be the empty string). # INSTALL_KLD - As INSTALL_PROGRAM, but without the STRIP. # INSTALL_LIB - As INSTALL_DATA, but also strips the file. # INSTALL_SCRIPT # - A command to install executable scripts. # INSTALL_DATA - A command to install sharable data. # INSTALL_MAN - A command to install manpages. # COPYTREE_BIN # COPYTREE_SHARE # - Similiar to INSTALL_PROGRAM and INSTALL_DATA commands but # working on whole trees of directories, takes 3 arguments, # last one is find(1) arguments and optional. # Example use: # cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} "! -name *\.bak" # # Installs all directories and files from ${WRKSRC}/doc # to ${DOCSDIR} except sed backup files. # # MANPREFIX - The directory prefix for ${MAN} and ${MLINKS}. # Default: ${PREFIX} # MANPREFIX # - If manual pages of some sections install in different # locations than others, use these. # Default: ${MANPREFIX} # # Set the following to specify all .info files your port installs. # # INFO - A list of .info files (omitting the trailing ".info"); # only one entry per document! These files are listed in # the path relative to ${INFO_PATH}. # INFO_PATH - Path, where all .info files will be installed by your # port, relative to ${PREFIX} # Default: "share/info" if ${PREFIX} is equal to /usr # and "info" otherwise. # # Set the following to specify all documentation your port installs into # ${DOCSDIR} # # PORTDOCS - A list of files and directories relative to DOCSDIR. # Shell glob patterns can be used, directories include # the entire subtree of contained files and directories. # Should not be set when no documentation files are # installed. # Useful for dynamically generated documentation. # # Set the following to specify all documentation your port installs into # ${EXAMPLESDIR} # # PORTEXAMPLES - A list of files and directories relative to EXAMPLESDIR. # Shell glob patterns can be used, directories include # the entire subtree of contained files and directories. # Should not be set when no examples files are # installed. # Useful for dynamically generated examples. # # Set the following to specify all files and directories your port installs into # ${DATADIR} # # PORTDATA - A list of files and directories relative to DATADIR. # Shell glob patterns can be used, directories include # the entire subtree of contained files and directories. # Should not be set when no data files are # installed. # Useful for dynamically generated data files. # # Default targets and their behaviors: # # fetch - Retrieves missing ${DISTFILES} and ${PATCHFILES} for this # port. # fetch-list - Show list of commands to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port. # fetch-recursive # - Retrieves missing ${DISTFILES} and ${PATCHFILES} for this # port and dependencies. # fetch-recursive-list # - Show list of commands to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port and dependencies. # fetch-required # - Retrieves missing ${DISTFILES} and ${PATCHFILES} for this # port and dependencies. # fetch-required-list # - Show list of commands to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port and dependencies. # fetch-url-list # - Show list of URLS to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port. # fetch-urlall-list # - Show list of URLS to retrieve ${DISTFILES} and # ${PATCHFILES} for this port. # # all-depends-list # - Show all directories which are dependencies # for this port. # build-depends-list # - Show all directories which are build-dependencies # for this port. # package-depends-list # - Show all directories which are package-dependencies # for this port. This is based upon the dependency # tree as recorded in the Makefiles of the ports # collection, not as recorded in the currently # installed ports. # actual-package-depends # - Like package-depends-list but with the difference # that the dependencies of the currently installed # ports are used instead of the dependencies as # recorded in the ports collection. # run-depends-list # - Show all directories which are run-dependencies # for this port. # # extract - Unpacks ${DISTFILES} into ${WRKDIR}. # patch - Apply any provided patches to the source. # configure - Runs either GNU configure, one or more local configure # scripts or nothing, depending on what's available. # build - Actually compile the sources. # install - Install the results of a build. # reinstall - Install the results of a build, ignoring "already installed" # flag. # deinstall - Remove the installation. # deinstall-all - Remove all installations with the same PKGORIGIN. # package - Create a package from an _installed_ port. # package-recursive # - Create a package for a port and _all_ of its dependencies. # describe - Try to generate a one-line description for each port for # use in INDEX files and the like. # check-plist - Checks for files missing from the plist, and files in the plist # that are not installed by the port. # check-sanity - Perform some basic checks of the port layout. # checkpatch - Do a "patch -C" instead of a "patch". Note that it may # give incorrect results if multiple patches deal with # the same file. # checksum - Use distinfo to ensure that your distfiles are valid. # checksum-recursive # - Run checksum in this port and all dependencies. # makesum - Generate distinfo (only do this for your own ports!). # clean - Remove ${WRKDIR} and other temporary files used for building. # clean-depends - Do a "make clean" for all dependencies. # config - Configure options for this port (using ${DIALOG}). # Automatically run prior to extract, patch, configure, build, # install, and package. # config-recursive # - Configure options for this port for a port and all its # dependencies. # showconfig - Display options config for this port. # showconfig-recursive # - Display options config for this port and all its # dependencies. # rmconfig - Remove the options config for this port. # rmconfig-recursive # - Remove the options config for this port and all its # dependencies. # # Default sequence for "all" is: # # check-sanity fetch checksum extract patch configure build # # Please read the comments in the targets section below; you # should be able to use the pre-* or post-* targets/scripts # (which are available for every stage except checksum) or # override the do-* targets to do pretty much anything you want. # # The TARGET_ORDER_OVERRIDE variable can be set to multiple : # to change the ordering of targets, have a look at the _SEQ variables at the # end of this file for the default order and priorities. # # NEVER override the "regular" targets unless you want to open # a major can of worms. # # Set these variables if your port doesn't need some of the steps. # Note that there are no NO_PATCH or NO_CONFIGURE variables because # those steps are empty by default. NO_EXTRACT is not allowed anymore # since we need to at least create ${WRKDIR}. Also, NO_CHECKSUM is a user # variable and is not to be set in a port's Makefile. See above for NO_PACKAGE. # # NO_BUILD - Use a dummy (do-nothing) build target. # NO_INSTALL - Use a dummy (do-nothing) install target. # # Here are some variables used in various stages. # # For options see bsd.options.mk # # For fetch: # # FETCH_BINARY - Path to ftp/http fetch command if not in $PATH. # Default: "/usr/bin/fetch" # FETCH_ARGS - Arguments to ftp/http fetch command. # Default: "-Fpr" # FETCH_CMD - ftp/http fetch command. # Default: ${FETCH_BINARY} ${FETCH_ARGS} # FETCH_BEFORE_ARGS # - Arguments to ${FETCH_CMD} before filename. # Default: none # FETCH_AFTER_ARGS # - Arguments to ${FETCH_CMD} following filename. # Default: none # FETCH_ENV - Environment to pass to ${FETCH_CMD}. # Default: none # FETCH_REGET - Times to retry fetching of files on checksum errors. # Default: 1 # CLEAN_FETCH_ENV # - Disable package dependency in fetch target for mass # fetching. User settable. # # For extract: # # EXTRACT_CMD - Command for extracting archive # Default: ${TAR} # EXTRACT_BEFORE_ARGS # - Arguments to ${EXTRACT_CMD} before filename. # Default: "-xf" # EXTRACT_AFTER_ARGS # - Arguments to ${EXTRACT_CMD} following filename. # Default: "--no-same-owner --no-same-permissions" # For patch: # # EXTRA_PATCHES - Define this variable if you have patches not in # ${PATCHDIR}. This usually happens when you need to # do some pre-processing before some distribution # patches can be applied. In that case, fetch them as # extra distfiles, put the processed results in # ${WRKDIR}, then point EXTRA_PATCHES to them. # The patches specified by this variable will be # applied after the normal distribution patches but # before those in ${PATCHDIR}. # PATCH_WRKSRC - Directory to apply patches in. # Default: ${WRKSRC} # # For configure: # # HAS_CONFIGURE - If set, this port has its own configure script. The # configure stage will not do anything if this is not set. # GNU_CONFIGURE - If set, you are using GNU configure (optional). Implies # HAS_CONFIGURE. # CONFIGURE_WRKSRC # - Directory to run configure in. # Default: ${WRKSRC} # CONFIGURE_SCRIPT # - Name of configure script, relative to ${CONFIGURE_WRKSRC}. # Default: "Makefile.PL" if USES=perl5 and USE_PERL5=configure # are set, "configure" otherwise. # CONFIGURE_TARGET # - The name of target to call when GNU_CONFIGURE is # defined. # Default: ${ARCH}-portbld-${OPSYS:tl}${OSREL} # GNU_CONFIGURE_PREFIX # - The directory passed as prefix to the configure script if # GNU_CONFIGURE is set. # Default: ${PREFIX} # CONFIGURE_ARGS # - Pass these args to configure if ${HAS_CONFIGURE} is set. # Default: "--prefix=${GNU_CONFIGURE_PREFIX} # --infodir=${PREFIX}/${INFO_PATH} --localstatedir=/var # --mandir=${MANPREFIX}/man --build=${CONFIGURE_TARGET}" if # GNU_CONFIGURE is set, "CC=${CC} CFLAGS=${CFLAGS} # PREFIX=${PREFIX} INSTALLPRIVLIB=${PREFIX}/lib # INSTALLARCHLIB=${PREFIX}/lib" if USES=perl5 and # USE_PERL5=configure are set, empty otherwise. # CONFIGURE_ENV - Pass these env (shell-like) to configure if # ${HAS_CONFIGURE} is set. # CONFIGURE_LOG - The name of configure log file. It will be printed to # the screen if configure fails. # Default: config.log # CONFIGURE_FAIL_MESSAGE # - A message displayed to users when configure # fails (note: this assumes the do-configure # target has not been overwritten). This message # will be passed through /usr/bin/fmt before # being shown to the user. # # WITHOUT_FBSD10_FIX Disable FreeBSD 10.0 autotools workaround. # # For build and install: # # MAKEFILE - Name of the makefile. # Default: Makefile # ALL_TARGET - Default target for sub-make in build stage. # Default: all # BUILD_WRKSRC - Directory to do build in (default: ${WRKSRC}). # MAKE_ENV - Additional environment vars passed to sub-make in build # and install stages. # Default: see below # MAKE_ARGS - Any extra arguments to sub-make in build and install stages. # Default: none ## # MAKE_JOBS_UNSAFE # - Disallow multiple jobs even when user set a global override. # To be used with known bad ports. # DISABLE_MAKE_JOBS # - Set to disable the multiple jobs feature. User settable. # MAKE_JOBS_NUMBER # - Override the number of make jobs to be used. User settable. # MAKE_JOBS_NUMBER_LIMIT # - Set a limit for maximum number of make jobs allowed to be # used. ## cacche # # WITH_CCACHE_BUILD # - Enable CCACHE support (devel/ccache). User settable. # CCACHE_DIR # - Which directory to use for ccache (default: $HOME/.ccache) # NO_CCACHE # - Disable CCACHE support for example for certain ports if # CCACHE is enabled. User settable. # # For install: # # INSTALL_TARGET # - Default target for sub-make in install stage. # Default: install # INSTALL_WRKSRC # - Directory to install from # Default: ${WRKSRC} # NO_MTREE - If set, will not invoke mtree from bsd.port.mk from # the "install" target. # MTREE_FILE - The name of the mtree file. # Default: ${PORTSDIR}/Templates/BSD.local.dist or # /etc/mtree/BSD.usr.dist if ${PREFIX} == "/usr". # PLIST_DIRS - Directories to be added to packing list # PLIST_FILES - Files and symbolic links to be added to packing list # # PLIST - Name of the `packing list' file. # Change this to ${WRKDIR}/PLIST or something if you # need to write to it. (It is not a good idea for a port # to write to any file outside ${WRKDIR} during a normal # build.) # Default: ${PKGDIR}/pkg-plist # TMPPLIST - Name of the `packing list' file after processing # Default: ${WRKDIR}/.PLIST.mktmp # PLIST_SUB - List of "variable=value" pair for substitution in ${PLIST} # Default: see below # # SUB_FILES - Files that should be passed through sed and redirected to # ${WRKDIR}. # - For each file specified in SUB_FILES, there must be a # corresponding file in ${FILESDIR} whose suffix is ".in". For # instance, if the Makefile specifies "SUB_FILES= pkg-message" # then there must be a file called pkg-message.in in # ${FILESDIR}. # - The substitution process is the same as PLIST_FILES, as # described below except that any line beginning with @comment # is deleted. # SUB_LIST - List of "variable=value" pair for substitution in ${SUB_FILES} # Some pairs are added by default: eg. PREFIX=${PREFIX} # # USE_LDCONFIG - If set to "yes", this adds ${PREFIX}/lib to the list of # directories to be searched for shared libraries. # Otherwise, this is a list of directories to be added to that # list. The directory names are written to -# ${LOCALBASE}/libdata/ldconfig/${UNIQUENAME} which is then +# ${LOCALBASE}/libdata/ldconfig/${PKGBASE} which is then # used by the ldconfig startup script. # This mechanism replaces ldconfig scripts installed by some # ports, often under such names as 000.${UNQUENAME}.sh. # If USE_LINUX_PREFIX is defined, the Linux version of # ldconfig will be used instead of the native FreeBSD # version, and the directory list given will be ignored. # USE_LDCONFIG32 # - Same as USE_LDCONFIG but the target file is -# ${LOCALBASE}/libdata/ldconfig32/${UNIQUENAME} instead. +# ${LOCALBASE}/libdata/ldconfig32/${PKGBASE} instead. # Note: that should only be used on 64-bit architectures. # # DOCSDIR - Name of the directory to install the packages docs in. # Default: ${PREFIX}/share/doc/${PORTNAME} # DOCSDIR_REL - The DOCSDIR relative to ${PREFIX} # EXAMPLESDIR - Name of the directory to install the packages examples in. # Default: ${PREFIX}/share/examples/${PORTNAME} # EXAMPLESDIR_REL # - The EXAMPLESDIR relative to ${PREFIX} # DATADIR - Name of the directory to install the packages shared data in. # Default: ${PREFIX}/share/${PORTNAME} # DATADIR_REL - The DATADIR relative to ${PREFIX} # # WWWDIR - Name of the directory to install the packages www data in. # Default: ${PREFIX}/www/${PORTNAME} # WWWDIR_REL - The WWWDIR relative to ${PREFIX} # # USERS - List of users to create at install time. Each login must # have a corresponding entry in ${UID_FILES}. # GROUPS - List of groups to create at install time. Each group must # have a corresponding entry in ${GID_FILES}. # # DESKTOPDIR - Name of the directory to install ${DESKTOP_ENTRIES} in. # Default: ${PREFIX}/share/applications # DESKTOP_ENTRIES # - List of desktop entry files to generate and install in # ${DESKTOPDIR}. The format is # "Name" "Comment" "Icon" "Exec" "Categories" StartupNotify # Rules: # * Only add desktop entries for applications which do not # require a terminal (ie. X applications). # * If the upstream distribution already installs .desktop # files, you do not need to use this. # * If you require a more elaborate .desktop file than this # variable permits, write it yourself and install it # in ${DESKTOPDIR}. # Notes: # * Comment, Icon and StartupNotify may be empty # strings (""). Categories may be an empty string in some # cases (see below). The other fields are mandatory. # * If Comment is an empty string, port ${COMMENT} will be # used. # * If set, Icon must be either absolute path (usually # ${PREFIX}/share/pixmaps/${PORTNAME}.png) or icon name # without extension if installed icons follow Icon Theme # Specification. # * If Categories is an empty string, bsd.port.mk will try # to deduce a default value using the CATEGORIES variable. # If the deduction fails, you will have to set Categories # manually. You should check the generated value using # "make desktop-categories", and override it if necessary. # * Exec will also be used to name the .desktop file. # * StartupNotify may be true, false or empty (see Desktop # Entry Specification for details). # * The files will be automatically added to ${PLIST}. # Example: # "X Window Information" \ # "Get information about X windows" \ # "${PREFIX}/share/pixmaps/wininfo.png" \ # "${PREFIX}/bin/wininfo" \ # "System;" \ # "" # See http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html # for an explanation of the fields. If you need to create more # than one file, just chain them into a single variable. # # Note that the install target will automatically add manpages (see # above) and also substitute special sequences of characters (delimited # by "%%") as defined in PLIST_SUB to generate ${TMPPLIST}. For # instance, "OSREL=${OSREL}" in PLIST_SUB causes all occurrences of # "%%OSREL%%" in ${PLIST} to be substituted by the value of OSREL. # ${TMPPLIST} is generated before the do-install stage. If you are # generating the packing list on-the-fly, make sure it's generated before # do-install is called! # -# For package: -# -# LATEST_LINK - Install the "Latest" link for the package as ___. Define -# this if the "Latest" link name will be incorrectly determined. -# # This is used in all stages: # # SCRIPTS_ENV - Additional environment vars passed to scripts in # ${SCRIPTDIR} executed by bsd.port.mk. # Default: see below # # Finally, variables to change if you want a special behavior. These # are for debugging purposes. Don't set them in your Makefile. # # ECHO_MSG - Used to print all the '===>' style prompts - override this # to turn them off. # Default: ${ECHO_CMD} # PATCH_DEBUG - If set, print out more information about the patches as # it attempts to apply them. # PKG_DBDIR - Where package installation is recorded; this directory # must not contain anything else. # Default: /var/db/pkg # PORT_DBDIR - Where port configuration options are recorded. # Default: /var/db/ports # NO_PKG_REGISTER # - Don't register a port installation as a package. # FORCE_PKG_REGISTER # - If set, it will overwrite any existing package # registration information in ${PKG_DBDIR}/${PKGNAME}. # NO_DEPENDS - Don't verify build of dependencies. # STRICT_DEPENDS # - Verify dependencies but consider missing dependencies as # fatal. # CHECKSUM_ALGORITHMS # - Different checksum algorithms to check for verifying the # integrity of the distfiles. The absence of the algorithm # in distinfo doesn't make it fail. # Default: sha256 # NO_CHECKSUM - Don't verify the checksum. Typically used when # when you noticed the distfile you just fetched has # a different checksum and you intend to verify if # the port still works with it. # USE_PACKAGE_DEPENDS # - Try to install dependencies from existing packages instead # of building the port from scratch. Fallback on source # if an existing package is not present. # USE_PACKAGE_DEPENDS_ONLY # - Like USE_PACKAGE_DEPENDS, but do not fallback on source. # INSTALL_AS_USER # - Define this to install as the current user, intended # for systems where you have no root access. # DISABLE_SIZE - Do not check the size of a distfile even if the SIZE field # has been specified in distinfo. This is useful # when using an alternate FETCH_CMD. # # End of the list of all variables that need to be defined in a port. # Most port authors should not need to understand anything after this point. # # These need to be absolute since we don't know how deep in the ports # tree we are and thus can't go relative. They can, of course, be overridden # by individual Makefiles or local system make configuration. PORTSDIR?= /usr/ports LOCALBASE?= /usr/local LINUXBASE?= /compat/linux DISTDIR?= ${PORTSDIR}/distfiles _DISTDIR?= ${DISTDIR}/${DIST_SUBDIR} INDEXDIR?= ${PORTSDIR} SRC_BASE?= /usr/src USESDIR?= ${PORTSDIR}/Mk/Uses SCRIPTSDIR?= ${PORTSDIR}/Mk/Scripts LIB_DIRS?= /lib /usr/lib ${LOCALBASE}/lib STAGEDIR?= ${WRKDIR}/stage NOTPHONY?= MINIMAL_PKG_VERSION= 1.3.8 # make sure bmake treats -V as expected .MAKE.EXPAND_VARIABLES= yes .include "${PORTSDIR}/Mk/bsd.commands.mk" .if defined(X_BUILD_FOR) .if !defined(.PARSEDIR) IGNORE= Cross building can only be done when using bmake(1) as make(1) .endif # Do not define CPP on purpose .if !defined(HOSTCC) HOSTCC:= ${CC} HOSTCXX:= ${CXX} .endif .if !exists(/usr/${X_BUILD_FOR}/usr/bin/cc) X_SYSROOT= ${LOCALBASE}/${X_BUILD_FOR} .else X_SYSROOT= /usr/${X_BUILD_FOR} .endif CC= ${X_SYSROOT}/usr/bin/cc CXX= ${X_SYSROOT}/usr/bin/c++ NM= ${X_BUILD_FOR}-nm STRIP_CMD= ${X_BUILD_FOR}-strip # only bmake support the below STRIPBIN= ${STRIP_CMD} .export.env STRIPBIN .endif # # DESTDIR section to start a chrooted process if invoked with DESTDIR set # .if defined(DESTDIR) && !empty(DESTDIR) && !defined(CHROOTED) && \ !defined(BEFOREPORTMK) && !defined(INOPTIONSMK) .include "${PORTSDIR}/Mk/bsd.destdir.mk" .else # Look for files named "*.orig" under ${PATCH_WRKSRC} and (re-)generate # ${PATCHDIR}/patch-* files from them. By popular demand, we currently # use '_' (underscore) to replace path separators in patch file names. # # If a file name happens to contain character which is also a separator # replacement character, it will be doubled in the resulting patch name. # # To minimize gratuitous patch renames, newly generated patches will be # written under existing file names when they use any of the previously # common path separators ([-+_]) or legacy double underscore (__). .if !target(makepatch) PATCH_PATH_SEPARATOR= _ makepatch: @${MKDIR} ${PATCHDIR} @(cd ${PATCH_WRKSRC}; \ for f in `${FIND} -s . -type f -name '*.orig'`; do \ ORIG=$${f#./}; \ NEW=$${ORIG%.orig}; \ cmp -s $${ORIG} $${NEW} && continue; \ ! for _lps in `${ECHO} _ - + | ${SED} -e \ 's|${PATCH_PATH_SEPARATOR}|__|'`; do \ PATCH=`${ECHO} $${NEW} | ${SED} -e "s|/|$${_lps}|g"`; \ test -f "${PATCHDIR}/patch-$${PATCH}" && break; \ done || ${ECHO} $${_SEEN} | ${GREP} -q /$${PATCH} && { \ PATCH=`${ECHO} $${NEW} | ${SED} -e \ 's|${PATCH_PATH_SEPARATOR}|&&|g' -e \ 's|/|${PATCH_PATH_SEPARATOR}|g'`; \ _SEEN=$${_SEEN}/$${PATCH}; \ }; \ OUT=${PATCHDIR}/patch-$${PATCH}; \ ${ECHO} ${DIFF} -udp $${ORIG} $${NEW} '>' $${OUT}; \ TZ=UTC ${DIFF} -udp $${ORIG} $${NEW} | ${SED} -e \ '/^---/s|\.[0-9]* +0000$$| UTC|' -e \ '/^+++/s|\([[:blank:]][-0-9:.+]*\)*$$||' \ > $${OUT} || ${TRUE}; \ done \ ) .endif # Start of options section .if defined(INOPTIONSMK) || ( !defined(USEOPTIONSMK) && !defined(AFTERPORTMK) ) # Get the default maintainer MAINTAINER?= ports@FreeBSD.org # Get the architecture .if !defined(ARCH) ARCH!= ${UNAME} -p .endif # Get the operating system type .if !defined(OPSYS) OPSYS!= ${UNAME} -s .endif UNAMER!=${UNAME} -r # Get the operating system revision OSREL?= ${UNAMER:C/-.*//} # Get __FreeBSD_version .if !defined(OSVERSION) .if exists(/usr/include/sys/param.h) OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < /usr/include/sys/param.h .elif exists(${SRC_BASE}/sys/sys/param.h) OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC_BASE}/sys/sys/param.h .else .error Unable to determine OS version. Either define OSVERSION, install /usr/include/sys/param.h or define SRC_BASE. .endif .endif # Convert OSVERSION to major release number _OSVERSION_MAJOR= ${OSVERSION:C/([0-9]?[0-9])([0-9][0-9])[0-9]{3}/\1/} # Sanity checks for chroot/jail building. # Skip if OSVERSION specified on cmdline for testing. Only works for bmake. .if !defined(.MAKEOVERRIDES) || !${.MAKEOVERRIDES:MOSVERSION} .if ${_OSVERSION_MAJOR} != ${UNAMER:R} .error UNAME_r (${UNAMER}) and OSVERSION (${OSVERSION}) do not agree on major version number. .elif ${_OSVERSION_MAJOR} != ${OSREL:R} .error OSREL (${OSREL}) and OSVERSION (${OSVERSION}) do not agree on major version number. .endif .endif # Only define tools here (for transition period with between pkg tools) .include "${PORTSDIR}/Mk/bsd.commands.mk" .if exists(${PKG_BIN}) .if !defined(_PKG_VERSION) _PKG_VERSION!= ${PKG_BIN} -v .endif _PKG_STATUS!= ${PKG_BIN} version -t ${_PKG_VERSION:C/-.*//g} ${MINIMAL_PKG_VERSION} .if ${_PKG_STATUS} == "<" IGNORE= pkg(8) must be version ${MINIMAL_PKG_VERSION} or greater, but you have ${_PKG_VERSION}. You must upgrade the ${PKG_ORIGIN} port first .endif .endif MASTERDIR?= ${.CURDIR} .if ${MASTERDIR} != ${.CURDIR} SLAVE_PORT?= yes MASTER_PORT?=${MASTERDIR:C/[^\/]+\/\.\.\///:C/[^\/]+\/\.\.\///:C/^.*\/([^\/]+\/[^\/]+)$/\\1/} .else SLAVE_PORT?= no MASTER_PORT?= .endif # If they exist, include Makefile.inc, then architecture/operating # system specific Makefiles, then local Makefile.local. .if ${MASTERDIR} != ${.CURDIR} && exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" USE_SUBMAKE= yes .endif .if exists(${MASTERDIR}/../Makefile.inc) .include "${MASTERDIR}/../Makefile.inc" USE_SUBMAKE= yes .endif .if exists(${MASTERDIR}/Makefile.${ARCH}-${OPSYS}) .include "${MASTERDIR}/Makefile.${ARCH}-${OPSYS}" USE_SUBMAKE= yes .elif exists(${MASTERDIR}/Makefile.${OPSYS}) .include "${MASTERDIR}/Makefile.${OPSYS}" USE_SUBMAKE= yes .elif exists(${MASTERDIR}/Makefile.${ARCH}) .include "${MASTERDIR}/Makefile.${ARCH}" USE_SUBMAKE= yes .endif .if exists(${MASTERDIR}/Makefile.local) .include "${MASTERDIR}/Makefile.local" USE_SUBMAKE= yes .endif .for _CATEGORY in ${CATEGORIES} PKGCATEGORY?= ${_CATEGORY} .endfor _PORTDIRNAME= ${.CURDIR:T} PORTDIRNAME?= ${_PORTDIRNAME} PKGORIGIN?= ${PKGCATEGORY}/${PORTDIRNAME} # where 'make config' records user configuration options PORT_DBDIR?= /var/db/ports UID_FILES?= ${PORTSDIR}/UIDs GID_FILES?= ${PORTSDIR}/GIDs UID_OFFSET?= 0 GID_OFFSET?= 0 # predefined accounts from src/etc/master.passwd # alpha numeric sort order USERS_BLACKLIST= _dhcp _pflogd auditdistd bin bind daemon games hast kmem mailnull man news nobody operator pop proxy root smmsp sshd toor tty uucp www LDCONFIG_DIR= libdata/ldconfig LDCONFIG32_DIR= libdata/ldconfig32 -.if defined(LATEST_LINK) -UNIQUENAME?= ${LATEST_LINK} -.else -UNIQUENAME?= ${PKGNAMEPREFIX}${PORTNAME} .endif -.endif - # At least KDE needs TMPDIR for the package building, # so we're setting it to the known default value. .if defined(PACKAGE_BUILDING) TMPDIR?= /tmp .endif # defined(PACKAGE_BUILDING) .if defined(WITH_DEBUG_PORTS) .if ${WITH_DEBUG_PORTS:M${PKGORIGIN}} WITH_DEBUG= yes .endif .endif .include "${PORTSDIR}/Mk/bsd.options.mk" # Start of pre-makefile section. .if !defined(AFTERPORTMK) && !defined(INOPTIONSMK) .if defined(PORTNAME) .include "${PORTSDIR}/Mk/bsd.sanity.mk" .endif _PREMKINCLUDED= yes .if defined(PORTVERSION) .if ${PORTVERSION:M*[-_,]*}x != x IGNORE= PORTVERSION ${PORTVERSION} may not contain '-' '_' or ',' .endif DISTVERSION?= ${PORTVERSION:S/:/::/g} .elif defined(DISTVERSION) PORTVERSION= ${DISTVERSION:tl:C/([a-z])[a-z]+/\1/g:C/([0-9])([a-z])/\1.\2/g:C/:(.)/\1/g:C/[^a-z0-9+]+/./g} .endif PORTREVISION?= 0 .if ${PORTREVISION} != 0 _SUF1= _${PORTREVISION} .endif PORTEPOCH?= 0 .if ${PORTEPOCH} != 0 _SUF2= ,${PORTEPOCH} .endif PKGVERSION= ${PORTVERSION:C/[-_,]/./g}${_SUF1}${_SUF2} PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PKGVERSION} DISTVERSIONFULL= ${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX} .if defined(USE_GITHUB) && empty(MASTER_SITES:MGHC) && empty(DISTNAME) && empty(USE_GITHUB:Mnodefault) _GITHUB_MUST_SET_DISTNAME= yes .else DISTNAME?= ${PORTNAME}-${DISTVERSIONFULL} .endif INDEXFILE?= INDEX-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME} EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME} DATADIR?= ${PREFIX}/share/${PORTNAME} WWWDIR?= ${PREFIX}/www/${PORTNAME} ETCDIR?= ${PREFIX}/etc/${PORTNAME} .if defined(USE_LINUX_RPM) .include "${PORTSDIR}/Mk/bsd.linux-rpm.mk" .endif .if defined(USE_LINUX_APPS) .include "${PORTSDIR}/Mk/bsd.linux-apps.mk" .endif .if defined(USE_XORG) || defined(XORG_CAT) .include "${PORTSDIR}/Mk/bsd.xorg.mk" .endif PACKAGES?= ${PORTSDIR}/packages TEMPLATES?= ${PORTSDIR}/Templates KEYWORDS?= ${PORTSDIR}/Keywords PATCHDIR?= ${MASTERDIR}/files FILESDIR?= ${MASTERDIR}/files SCRIPTDIR?= ${MASTERDIR}/scripts PKGDIR?= ${MASTERDIR} .if defined(USE_LINUX_PREFIX) PREFIX:= ${LINUXBASE} NO_MTREE= yes .else PREFIX?= ${LOCALBASE} .endif .if defined(USE_LINUX_PREFIX) LDCONFIG_CMD?= ${LINUXBASE}/sbin/ldconfig -r ${LINUXBASE} .endif PKGCOMPATDIR?= ${LOCALBASE}/lib/compat/pkg .if defined(USE_LOCAL_MK) .include "${PORTSDIR}/Mk/bsd.local.mk" .endif .if defined(USE_OPENSSL) .include "${PORTSDIR}/Mk/bsd.openssl.mk" .endif .if defined(USE_EMACS) .include "${PORTSDIR}/Mk/bsd.emacs.mk" .endif .if defined(USE_PHP) .include "${PORTSDIR}/Mk/bsd.php.mk" .endif .if defined(USE_FPC) || defined(WANT_FPC_BASE) || defined(WANT_FPC_ALL) .include "${PORTSDIR}/Mk/bsd.fpc.mk" .endif .if defined(USE_JAVA) .include "${PORTSDIR}/Mk/bsd.java.mk" .endif .if defined(USE_RUBY) || defined(USE_LIBRUBY) .include "${PORTSDIR}/Mk/bsd.ruby.mk" .endif .if defined(USE_OCAML) .include "${PORTSDIR}/Mk/bsd.ocaml.mk" .endif .if defined(USE_APACHE) || defined(USE_APACHE_BUILD) || defined(USE_APACHE_RUN) .include "${PORTSDIR}/Mk/bsd.apache.mk" .endif .if defined(USE_QT4) || defined(USE_QT5) .include "${PORTSDIR}/Mk/bsd.qt.mk" .endif .if defined(USE_TEX) .include "${PORTSDIR}/Mk/bsd.tex.mk" .endif .if defined(USE_GECKO) .include "${PORTSDIR}/Mk/bsd.gecko.mk" .endif .if defined(WANT_GNOME) || defined(USE_GNOME) || defined(INSTALLS_ICONS) .include "${PORTSDIR}/Mk/bsd.gnome.mk" .endif .if defined(USE_MATE) .include "${PORTSDIR}/Mk/bsd.mate.mk" .endif .if defined(WANT_WX) || defined(USE_WX) || defined(USE_WX_NOT) .include "${PORTSDIR}/Mk/bsd.wx.mk" .endif .if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER) || defined(USE_GSTREAMER1) .include "${PORTSDIR}/Mk/bsd.gstreamer.mk" .endif .if defined(USE_SDL) || defined(WANT_SDL) .include "${PORTSDIR}/Mk/bsd.sdl.mk" .endif .if defined(USE_KDE4) || defined(KDE4_BUILDENV) .include "${PORTSDIR}/Mk/bsd.kde4.mk" .endif .if !defined(UID) UID!= ${ID} -u .endif DESTDIRNAME?= DESTDIR # setup empty variables for USES targets .for target in sanity fetch extract patch configure build install package stage _USES_${target}?= .endfor # Loading features .for f in ${USES} _f:= ${f:C/\:.*//} .if !defined(${_f}_ARGS) ${_f}_ARGS:= ${f:C/^[^\:]*(\:|\$)//:S/,/ /g} .endif .endfor .for f in ${USES} .include "${USESDIR}/${f:C/\:.*//}.mk" .endfor EXTRACT_SUFX?= .tar.gz # You can force skipping these test by defining IGNORE_PATH_CHECKS .if !defined(IGNORE_PATH_CHECKS) .if ! ${PREFIX:M/*} .BEGIN: @${ECHO_MSG} "PREFIX must be defined as an absolute path so that when 'make'" @${ECHO_MSG} "is invoked in the work area PREFIX points to the right place." @${FALSE} .endif .endif # Owner and group of the WWW user WWWOWN?= www WWWGRP?= www # Keep PKGNG_ORIGIN/WITH_PKGNG for compat with scripts which are looking for it PKG_ORIGIN?= ports-mgmt/pkg PKGNG_ORIGIN= ${PKG_ORIGIN} WITH_PKGNG?= yes WITH_PKG?= ${WITH_PKGNG} .endif # End of pre-makefile section. # Start of post-makefile section. .if !defined(BEFOREPORTMK) && !defined(INOPTIONSMK) .if defined(_POSTMKINCLUDED) DEV_ERROR+= "${PKGNAME}: Makefile error: you cannot include bsd.port[.post].mk twice" @${FALSE} .endif _POSTMKINCLUDED= yes .if defined(BUNDLE_LIBS) PKG_NOTES+= no_provide_shlib PKG_NOTE_no_provide_shlib= yes .endif PKG_ENV+= PORTSDIR=${PORTSDIR} CONFIGURE_ENV+= XDG_DATA_HOME=${WRKDIR} \ XDG_CONFIG_HOME=${WRKDIR} \ HOME=${WRKDIR} MAKE_ENV+= XDG_DATA_HOME=${WRKDIR} \ XDG_CONFIG_HOME=${WRKDIR} \ HOME=${WRKDIR} # Respect TMPDIR passed via make.conf or similar and pass it down # to configure and make. .if defined(TMPDIR) MAKE_ENV+= TMPDIR="${TMPDIR}" CONFIGURE_ENV+= TMPDIR="${TMPDIR}" .endif # defined(TMPDIR) QA_ENV+= STAGEDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ LINUXBASE=${LINUXBASE} \ LOCALBASE=${LOCALBASE} \ "STRIP=${STRIP}" \ TMPPLIST=${TMPPLIST} \ PKGBASE=${PKGBASE} .if !empty(USES:Mdesktop-file-utils) QA_ENV+= USESDESKTOPFILEUTILS=yes .endif .if !empty(USES:Mlibtool*) QA_ENV+= USESLIBTOOL=yes .endif .if !empty(USES:Mshared-mime-info) QA_ENV+= USESSHAREDMIMEINFO=yes .endif CO_ENV+= STAGEDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ LOCALBASE=${LOCALBASE} \ WRKDIR=${WRKDIR} \ WRKSRC=${WRKSRC} \ MTREE_FILE=${MTREE_FILE} \ TMPPLIST=${TMPPLIST} \ SCRIPTSDIR=${SCRIPTSDIR} \ PLIST_SUB_SED="${PLIST_SUB_SED}" \ PORT_OPTIONS="${PORT_OPTIONS}" \ PORTSDIR="${PORTSDIR}" .if defined(X_BUILD_FOR) BUILD_DEPENDS+= ${X_BUILD_FOR}-cc:${PORTSDIR}/devel/${X_BUILD_FOR}-xdev PKG_ENV+= ABI_FILE=${X_SYSROOT}/usr/lib/crt1.o MAKE_ENV+= NM=${NM} \ STRIPBIN=${X_BUILD_FOR}-strip \ PKG_CONFIG_SYSROOT_DIR="${X_SYSROOT}" CONFIGURE_ENV+= PKG_CONFIG_SYSROOT_DIR="${X_SYSROOT}" .endif WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work .if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB) WRKSRC?= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT} .endif .if defined(NO_WRKSUBDIR) WRKSRC?= ${WRKDIR} .else WRKSRC?= ${WRKDIR}/${DISTNAME} .endif .if defined(WRKSRC_SUBDIR) WRKSRC:= ${WRKSRC}/${WRKSRC_SUBDIR} .endif PATCH_WRKSRC?= ${WRKSRC} CONFIGURE_WRKSRC?= ${WRKSRC} BUILD_WRKSRC?= ${WRKSRC} INSTALL_WRKSRC?=${WRKSRC} PLIST_SUB+= OSREL=${OSREL} PREFIX=%D LOCALBASE=${LOCALBASE} \ RESETPREFIX=${PREFIX} SUB_LIST+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} \ DATADIR=${DATADIR} DOCSDIR=${DOCSDIR} EXAMPLESDIR=${EXAMPLESDIR} \ WWWDIR=${WWWDIR} ETCDIR=${ETCDIR} # This is used for check-stagedir.sh and check_leftover.sh to replace # directories/files with PLIST_SUB %%KEYS%%. # Remove VARS that are too generic # Remove empty values # Remove @comment values # Remove quotes # Replace . with \. for later sed(1) usage PLIST_SUB_SED_MIN?= 2 PLIST_SUB_SED?= ${PLIST_SUB:C/.*=.{1,${PLIST_SUB_SED_MIN}}$//g:NEXTRACT_SUFX=*:NOSREL=*:NLIB32DIR=*:NPREFIX=*:NLOCALBASE=*:NRESETPREFIX=*:N*="":N*="@comment*:C/([^=]*)="?([^"]*)"?/s!\2!%%\1%%!g;/g:C/\./\\./g} # kludge to strip trailing whitespace from CFLAGS; # sub-configure will not # survive double space CFLAGS:= ${CFLAGS:C/ $//} .if defined(WITHOUT_CPU_CFLAGS) .if defined(_CPUCFLAGS) .if !empty(_CPUCFLAGS) CFLAGS:= ${CFLAGS:C/${_CPUCFLAGS}//} .endif .endif .endif # Reset value from bsd.own.mk. .if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG) .if !defined(INSTALL_STRIPPED) STRIP= #none MAKE_ENV+= DONTSTRIP=yes STRIP_CMD= ${TRUE} .endif DEBUG_FLAGS?= -g CFLAGS:= ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS} .if defined(INSTALL_TARGET) INSTALL_TARGET:= ${INSTALL_TARGET:S/^install-strip$/install/g} .endif .endif .if !defined(WITHOUT_SSP) .include "${PORTSDIR}/Mk/bsd.ssp.mk" .endif # XXX PIE support to be added here MAKE_ENV+= NO_PIE=yes .if defined(NOPORTDOCS) PLIST_SUB+= PORTDOCS="@comment " .else PLIST_SUB+= PORTDOCS="" .endif .if defined(NOPORTEXAMPLES) PLIST_SUB+= PORTEXAMPLES="@comment " .else PLIST_SUB+= PORTEXAMPLES="" .endif CONFIGURE_SHELL?= ${SH} MAKE_SHELL?= ${SH} CONFIGURE_ENV+= SHELL=${CONFIGURE_SHELL} CONFIG_SHELL=${CONFIGURE_SHELL} MAKE_ENV+= SHELL=${MAKE_SHELL} NO_LINT=YES .if defined(PATCHFILES) && ${PATCHFILES:M*.zip} PATCH_DEPENDS+= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip .endif # Check the compatibility layer for amd64/ia64 .if ${ARCH} == "amd64" || ${ARCH} =="ia64" .if exists(/usr/lib32) HAVE_COMPAT_IA32_LIBS?= YES .endif .if !defined(HAVE_COMPAT_IA32_KERN) HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; then echo YES; fi; echo .if empty(HAVE_COMPAT_IA32_KERN) .undef HAVE_COMPAT_IA32_KERN .endif .endif .endif .if defined(IA32_BINARY_PORT) && ${ARCH} != "i386" .if ${ARCH} == "amd64" || ${ARCH} == "ia64" .if !defined(HAVE_COMPAT_IA32_KERN) IGNORE= requires a kernel with compiled-in IA32 compatibility .elif !defined(HAVE_COMPAT_IA32_LIBS) IGNORE= requires 32-bit libraries installed under /usr/lib32 .endif _LDCONFIG_FLAGS=-32 LIB32DIR= lib32 .else IGNORE= requires i386 (or compatible) platform to run .endif .else LIB32DIR= lib .endif PLIST_SUB+= LIB32DIR=${LIB32DIR} .if ${WITH_PKG} == devel PKG_ORIGIN= ports-mgmt/pkg-devel .endif .if !defined(PKG_DEPENDS) && !defined(CLEAN_FETCH_ENV) PKG_DEPENDS+= ${LOCALBASE}/sbin/pkg:${PORTSDIR}/${PKG_ORIGIN} .endif .if defined(USE_GCC) .include "${PORTSDIR}/Mk/bsd.gcc.mk" .endif .if defined(USE_BINUTILS) && !defined(DISABLE_BINUTILS) BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils BINUTILS?= ADDR2LINE AR AS CPPFILT GPROF LD NM OBJCOPY OBJDUMP RANLIB \ READELF SIZE STRINGS BINUTILS_NO_MAKE_ENV?= . for b in ${BINUTILS} ${b}= ${LOCALBASE}/bin/${b:C/PP/++/:tl} . if defined(GNU_CONFIGURE) || defined(BINUTILS_CONFIGURE) CONFIGURE_ENV+= ${b}="${${b}}" . endif . if ${BINUTILS_NO_MAKE_ENV:M${b}} == "" MAKE_ENV+= ${b}="${${b}}" . endif . endfor .endif .if defined(USE_OPENLDAP) || defined(WANT_OPENLDAP_VER) .include "${PORTSDIR}/Mk/bsd.ldap.mk" .endif .if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES" SUB_FILES+= ${USE_RC_SUBR} .endif .if defined(USE_RCORDER) SUB_FILES+= ${USE_RCORDER} .endif .if defined(USE_LDCONFIG) && ${USE_LDCONFIG:tl} == "yes" USE_LDCONFIG= ${PREFIX}/lib .endif .if defined(USE_LDCONFIG32) && ${USE_LDCONFIG32:tl} == "yes" IGNORE= has USE_LDCONFIG32 set to yes, which is not correct .endif .if defined(USE_LINUX_PREFIX) && defined(USE_LDCONFIG) # we need ${LINUXBASE}/sbin/ldconfig USE_LINUX?= yes .endif .if defined(USE_LINUX) . if !defined(LINUX_OSRELEASE) LINUX_OSRELEASE!= ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null` . endif # install(1) also does a brandelf on strip, so don't strip with FreeBSD tools. STRIP= . if exists(${LINUXBASE}/usr/bin/strip) STRIP_CMD= ${LINUXBASE}/usr/bin/strip . else STRIP_CMD= ${TRUE} . endif # Allow the user to specify another linux_base version. . if defined(OVERRIDE_LINUX_BASE_PORT) . if ${USE_LINUX:tl} == yes USE_LINUX= ${OVERRIDE_LINUX_BASE_PORT} . elif ${USE_LINUX} == "c6" && ${OVERRIDE_LINUX_BASE_PORT} == "c6_64" USE_LINUX= ${OVERRIDE_LINUX_BASE_PORT} . endif . endif # NOTE: when you update the default linux_base version (case "yes"), # don't forget to update the Handbook! . if exists(${PORTSDIR}/emulators/linux_base-${USE_LINUX}) LINUX_BASE_PORT= ${LINUXBASE}/bin/sh:${PORTSDIR}/emulators/linux_base-${USE_LINUX} . else . if ${USE_LINUX:tl} == "yes" USE_LINUX= c6 LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base-c6 . elif ${USE_LINUX} == "c6_64" LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base-c6 . else IGNORE= cannot be built: there is no emulators/linux_base-${USE_LINUX}, perhaps wrong use of USE_LINUX or OVERRIDE_LINUX_BASE_PORT . endif . endif . if ${USE_LINUX} == "c6_64" || (defined(OVERRIDE_LINUX_BASE_PORT) && ${OVERRIDE_LINUX_BASE_PORT} == "c6_64") . if ${ARCH} != "amd64" IGNORE= Cannot install 64 bit Linux on non-64bit platforms . endif LINUX_RPM_ARCH?= x86_64 LINUX_REPO_ARCH?= x86_64 . elif ${USE_LINUX} == "c6" || ${USE_LINUX} == "yes" # default to CentOS LINUX_RPM_ARCH?= i686 LINUX_REPO_ARCH?= i386 . elif ${USE_LINUX} == "f10" LINUX_RPM_ARCH?= i386 LINUX_REPO_ARCH?= i386 . endif RUN_DEPENDS+= ${LINUX_BASE_PORT} .endif PKG_IGNORE_DEPENDS?= 'this_port_does_not_exist' _GL_gbm_LIB_DEPENDS= libgbm.so:${PORTSDIR}/graphics/gbm _GL_glesv2_BUILD_DEPENDS= libglesv2>0:${PORTSDIR}/graphics/libglesv2 _GL_glesv2_RUN_DEPENDS= libglesv2>0:${PORTSDIR}/graphics/libglesv2 _GL_egl_BUILD_DEPENDS= libEGL>0:${PORTSDIR}/graphics/libEGL _GL_egl_RUN_DEPENDS= libEGL>0:${PORTSDIR}/graphics/libEGL _GL_gl_BUILD_DEPENDS= libGL>0:${PORTSDIR}/graphics/libGL _GL_gl_RUN_DEPENDS= libGL>0:${PORTSDIR}/graphics/libGL _GL_gl_USE_XORG= glproto dri2proto _GL_glew_LIB_DEPENDS= libGLEW.so:${PORTSDIR}/graphics/glew _GL_glu_LIB_DEPENDS= libGLU.so:${PORTSDIR}/graphics/libGLU _GL_glu_USE_XORG= glproto dri2proto _GL_glw_LIB_DEPENDS= libGLw.so:${PORTSDIR}/graphics/libGLw _GL_glut_LIB_DEPENDS= libglut.so:${PORTSDIR}/graphics/freeglut .if defined(USE_GL) . if ${USE_GL:tl} == "yes" USE_GL= glu . endif . for _component in ${USE_GL} . if !defined(_GL_${_component}_LIB_DEPENDS) && \ !defined(_GL_${_component}_RUN_DEPENDS) IGNORE= uses unknown GL component . else USE_XORG+= ${_GL_${_component}_USE_XORG} BUILD_DEPENDS+= ${_GL_${_component}_BUILD_DEPENDS} LIB_DEPENDS+= ${_GL_${_component}_LIB_DEPENDS} RUN_DEPENDS+= ${_GL_${_component}_RUN_DEPENDS} . endif . endfor .endif .if defined(_DESTDIR_VIA_ENV) MAKE_ENV+= ${DESTDIRNAME}=${STAGEDIR} .else MAKE_ARGS+= ${DESTDIRNAME}=${STAGEDIR} .endif .if defined(NO_PREFIX_RMDIR) CO_ENV+= NO_PREFIX_RMDIR=1 .else CO_ENV+= NO_PREFIX_RMDIR=0 .endif METADIR= ${WRKDIR}/.metadir MANIFESTF= ${METADIR}/+MANIFEST PKGPREINSTALL?= ${PKGDIR}/pkg-pre-install PKGPOSTINSTALL?= ${PKGDIR}/pkg-post-install PKGPREDEINSTALL?= ${PKGDIR}/pkg-pre-deinstall PKGPOSTDEINSTALL?= ${PKGDIR}/pkg-post-deinstall PKGPREUPGRADE?= ${PKGDIR}/pkg-pre-upgrade PKGPOSTUPGRADE?= ${PKGDIR}/pkg-post-upgrade PKGUPGRADE?= ${PKGDIR}/pkg-upgrade _FORCE_POST_PATTERNS= rmdir kldxref mkfontscale mkfontdir fc-cache \ fonts.dir fonts.scale gtk-update-icon-cache \ gio-querymodules \ gtk-query-immodules \ ldconfig \ load-octave-pkg \ ocamlfind \ update-desktop-database update-mime-database \ gdk-pixbuf-query-loaders catalog.ports \ glib-compile-schemas \ ccache-update-links .if defined(USE_LOCAL_MK) .include "${PORTSDIR}/Mk/bsd.local.mk" .endif .if defined(USE_XORG) || defined(XORG_CAT) .include "${PORTSDIR}/Mk/bsd.xorg.mk" .endif .if defined(USE_MYSQL) || defined(WANT_MYSQL_VER) || \ defined(USE_BDB) || defined(USE_SQLITE) || defined(USE_FIREBIRD) .include "${PORTSDIR}/Mk/bsd.database.mk" .endif .if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER) || defined(USE_GSTREAMER1) .include "${PORTSDIR}/Mk/bsd.gstreamer.mk" .endif .if defined(USE_JAVA) .include "${PORTSDIR}/Mk/bsd.java.mk" .endif .if defined(USE_OCAML) .include "${PORTSDIR}/Mk/bsd.ocaml.mk" .endif .if defined(USE_LINUX_RPM) .include "${PORTSDIR}/Mk/bsd.linux-rpm.mk" .endif .if defined(USE_LINUX_APPS) .include "${PORTSDIR}/Mk/bsd.linux-apps.mk" .endif .if defined(USE_QT4) || defined(USE_QT5) .include "${PORTSDIR}/Mk/bsd.qt.mk" .endif .if defined(USE_SDL) || defined(WANT_SDL) .include "${PORTSDIR}/Mk/bsd.sdl.mk" .endif .if defined(USE_PHP) .include "${PORTSDIR}/Mk/bsd.php.mk" .endif .if defined(USE_WX) || defined(USE_WX_NOT) .include "${PORTSDIR}/Mk/bsd.wx.mk" .endif .if defined(USE_APACHE) || defined(USE_APACHE_BUILD) || defined(USE_APACHE_RUN) .include "${PORTSDIR}/Mk/bsd.apache.mk" .endif .if defined(USE_AUTOTOOLS) .include "${PORTSDIR}/Mk/bsd.autotools.mk" .endif .if defined(USE_FPC) || defined(WANT_FPC_BASE) || defined(WANT_FPC_ALL) .include "${PORTSDIR}/Mk/bsd.fpc.mk" .endif .if defined(USE_GECKO) .include "${PORTSDIR}/Mk/bsd.gecko.mk" .endif .if defined(WANT_GNOME) || defined(USE_GNOME) .include "${PORTSDIR}/Mk/bsd.gnome.mk" .endif .if defined(USE_MATE) .include "${PORTSDIR}/Mk/bsd.mate.mk" .endif .if defined(USE_KDE4) .include "${PORTSDIR}/Mk/bsd.kde4.mk" .endif .if exists(${PORTSDIR}/Makefile.inc) .include "${PORTSDIR}/Makefile.inc" USE_SUBMAKE= yes .endif # Loading features .for f in ${_USES_POST} _f:= ${f:C/\:.*//} .if !defined(${_f}_ARGS) ${_f}_ARGS:= ${f:C/^[^\:]*(\:|\$)//:S/,/ /g} .endif .endfor .for f in ${_USES_POST} .include "${USESDIR}/${f:C/\:.*//}.mk" .endfor .if defined(USE_XORG) # Add explicit X options to avoid problems with false positives in configure .if defined(GNU_CONFIGURE) CONFIGURE_ARGS+=--x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include .endif .endif # Macro for doing in-place file editing using regexps REINPLACE_ARGS?= -i.bak REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS} # Names of cookies used to skip already completed stages EXTRACT_COOKIE?= ${WRKDIR}/.extract_done.${PORTNAME}.${PREFIX:S/\//_/g} CONFIGURE_COOKIE?= ${WRKDIR}/.configure_done.${PORTNAME}.${PREFIX:S/\//_/g} INSTALL_COOKIE?= ${WRKDIR}/.install_done.${PORTNAME}.${PREFIX:S/\//_/g} BUILD_COOKIE?= ${WRKDIR}/.build_done.${PORTNAME}.${PREFIX:S/\//_/g} PATCH_COOKIE?= ${WRKDIR}/.patch_done.${PORTNAME}.${PREFIX:S/\//_/g} PACKAGE_COOKIE?= ${WRKDIR}/.package_done.${PORTNAME}.${PREFIX:S/\//_/g} STAGE_COOKIE?= ${WRKDIR}/.stage_done.${PORTNAME}.${PREFIX:S/\//_/g} # How to do nothing. Override if you, for some strange reason, would rather # do something. DO_NADA?= ${TRUE} # Use this as the first operand to always build dependency. NONEXISTENT?= /nonexistent CHECKSUM_ALGORITHMS?= sha256 DISTINFO_FILE?= ${MASTERDIR}/distinfo MAKE_FLAGS?= -f MAKEFILE?= Makefile MAKE_CMD?= ${BSDMAKE} MAKE_ENV+= PREFIX=${PREFIX} \ LOCALBASE=${LOCALBASE} \ LIBDIR="${LIBDIR}" \ CC="${CC}" CFLAGS="${CFLAGS}" \ CPP="${CPP}" CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \ CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ MANPREFIX="${MANPREFIX}" # Add -fno-strict-aliasing to CFLAGS with optimization level -O2 or higher. # gcc 4.x enable strict aliasing optimization with -O2 which is known to break # a lot of ports. .if !defined(WITHOUT_NO_STRICT_ALIASING) .if ${CC} != "icc" .if empty(CFLAGS:M-fno-strict-aliasing) CFLAGS+= -fno-strict-aliasing .endif .endif .endif .for lang in C CXX .if defined(USE_${lang}STD) ${lang}FLAGS:= ${${lang}FLAGS:N-std=*} -std=${USE_${lang}STD} .endif .if defined(${lang}FLAGS_${ARCH}) ${lang}FLAGS+= ${${lang}FLAGS_${ARCH}} .endif .endfor # Multiple make jobs support .if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE) _MAKE_JOBS?= # MAKE_JOBS_NUMBER= 1 .else .if defined(MAKE_JOBS_NUMBER) _MAKE_JOBS_NUMBER:= ${MAKE_JOBS_NUMBER} .else _MAKE_JOBS_NUMBER!= ${SYSCTL} -n kern.smp.cpus .endif .if defined(MAKE_JOBS_NUMBER_LIMIT) && ( ${MAKE_JOBS_NUMBER_LIMIT} < ${_MAKE_JOBS_NUMBER} ) MAKE_JOBS_NUMBER= ${MAKE_JOBS_NUMBER_LIMIT} .else MAKE_JOBS_NUMBER= ${_MAKE_JOBS_NUMBER} .endif _MAKE_JOBS?= -j${MAKE_JOBS_NUMBER} BUILD_FAIL_MESSAGE+= Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. .endif .include "${PORTSDIR}/Mk/bsd.ccache.mk" FETCH_ENV?= SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1 FETCH_BINARY?= /usr/bin/fetch FETCH_ARGS?= -Fpr FETCH_REGET?= 1 .if !defined(DISABLE_SIZE) FETCH_BEFORE_ARGS+= $${CKSIZE:+-S $$CKSIZE} .endif FETCH_CMD?= ${FETCH_BINARY} ${FETCH_ARGS} .if defined(RANDOMIZE_MASTER_SITES) .if exists(/usr/games/random) RANDOM_CMD?= /usr/games/random RANDOM_ARGS?= "-w -f -" _RANDOMIZE_SITES= " |${RANDOM_CMD} ${RANDOM_ARGS}" .endif .endif TOUCH?= /usr/bin/touch TOUCH_FLAGS?= -f DISTORIG?= .bak.orig PATCH?= /usr/bin/patch PATCH_STRIP?= -p0 PATCH_DIST_STRIP?= -p0 .if defined(PATCH_DEBUG) PATCH_DEBUG_TMP= yes PATCH_ARGS?= -d ${PATCH_WRKSRC} -E ${PATCH_STRIP} PATCH_DIST_ARGS?= --suffix ${DISTORIG} -d ${PATCH_WRKSRC} -E ${PATCH_DIST_STRIP} .else PATCH_DEBUG_TMP= no PATCH_ARGS?= -d ${PATCH_WRKSRC} --forward --quiet -E ${PATCH_STRIP} PATCH_DIST_ARGS?= --suffix ${DISTORIG} -d ${PATCH_WRKSRC} --forward --quiet -E ${PATCH_DIST_STRIP} .endif .if !defined(QUIET) PATCH_SILENT= PATCH_SILENT=yes .endif .if defined(BATCH) PATCH_ARGS+= --batch PATCH_DIST_ARGS+= --batch .endif # Prevent breakage with VERSION_CONTROL=numbered PATCH_ARGS+= -V simple .if defined(PATCH_CHECK_ONLY) PATCH_ARGS+= -C PATCH_DIST_ARGS+= -C .endif .if ${PATCH} == "/usr/bin/patch" PATCH_ARGS+= --suffix .orig PATCH_DIST_ARGS+= --suffix .orig .endif TAR?= /usr/bin/tar # EXTRACT_SUFX is defined in .pre.mk section EXTRACT_CMD?= ${TAR} EXTRACT_BEFORE_ARGS?= -xf EXTRACT_AFTER_ARGS?= --no-same-owner --no-same-permissions # Figure out where the local mtree file is .if !defined(MTREE_FILE) && !defined(NO_MTREE) .if ${PREFIX} == /usr MTREE_FILE= /etc/mtree/BSD.usr.dist .else MTREE_FILE= ${PORTSDIR}/Templates/BSD.local.dist .endif MTREE_FILE_DEFAULT=yes .endif MTREE_CMD?= /usr/sbin/mtree MTREE_ARGS?= -U ${MTREE_FOLLOWS_SYMLINKS} -f ${MTREE_FILE} -d -e -p _SHAREMODE?= 0644 # A few aliases for *-install targets INSTALL_PROGRAM= ${INSTALL} ${COPY} ${STRIP} -m ${BINMODE} INSTALL_KLD= ${INSTALL} ${COPY} -m ${BINMODE} INSTALL_LIB= ${INSTALL} ${COPY} ${STRIP} -m ${SHAREMODE} INSTALL_SCRIPT= ${INSTALL} ${COPY} -m ${BINMODE} INSTALL_DATA= ${INSTALL} ${COPY} -m ${_SHAREMODE} INSTALL_MAN= ${INSTALL} ${COPY} -m ${MANMODE} INSTALL_MACROS= BSD_INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ BSD_INSTALL_LIB="${INSTALL_LIB}" \ BSD_INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ BSD_INSTALL_DATA="${INSTALL_DATA}" \ BSD_INSTALL_MAN="${INSTALL_MAN}" MAKE_ENV+= ${INSTALL_MACROS} SCRIPTS_ENV+= ${INSTALL_MACROS} # Macro for copying entire directory tree with correct permissions COPYTREE_BIN= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ 2>&1) && \ ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \; && \ ${FIND} -d $$0 $$2 -type f -exec chmod ${BINMODE} $$1/{} \;' -- COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ 2>&1) && \ ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \; && \ ${FIND} -d $$0 $$2 -type f -exec chmod ${SHAREMODE} $$1/{} \;' -- # The user can override the NO_PACKAGE by specifying this from # the make command line .if defined(FORCE_PACKAGE) .undef NO_PACKAGE .endif DESCR?= ${PKGDIR}/pkg-descr PLIST?= ${PKGDIR}/pkg-plist PKGHELP?= ${PKGDIR}/pkg-help PKGINSTALL?= ${PKGDIR}/pkg-install PKGDEINSTALL?= ${PKGDIR}/pkg-deinstall PKGREQ?= ${PKGDIR}/pkg-req PKGMESSAGE?= ${PKGDIR}/pkg-message TMPPLIST?= ${WRKDIR}/.PLIST.mktmp TMPPLIST_SORT?= ${WRKDIR}/.PLIST.mktmp.sorted TMPGUCMD?= ${WRKDIR}/.PLIST.gucmd .if defined(PKG_NOCOMPRESS) PKG_SUFX?= .tar .else PKG_SUFX?= .txz .endif # where pkg_add records its dirty deeds. PKG_DBDIR?= /var/db/pkg ALL_TARGET?= all INSTALL_TARGET?= install INSTALL_TARGET+= ${LATE_INSTALL_ARGS} # Integrate with the license auditing framework .if !defined (DISABLE_LICENSES) .include "${PORTSDIR}/Mk/bsd.licenses.mk" .endif # Popular master sites .include "${PORTSDIR}/Mk/bsd.sites.mk" # Empty declaration to avoid "variable MASTER_SITES recursive" error MASTER_SITES?= PATCH_SITES?= _MASTER_SITES_DEFAULT?= _PATCH_SITES_DEFAULT?= # Feed internal _{MASTER,PATCH}_SITES_n where n is a group designation # as per grouping rules (:something) # Organize _{MASTER,PATCH}_SITES_{DEFAULT,[^/:]+} according to grouping # rules (:something) .for _S in ${MASTER_SITES} _S_TEMP= ${_S:S/^${_S:C@/?:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} . if ${_G_TEMP} == all || ${_G_TEMP} == ALL || ${_G_TEMP} == default check-makevars:: @${ECHO_MSG} "Makefile error: the words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your MASTER_SITES" @${FALSE} . endif _MASTER_SITES_${_group}+= ${_S:C@^(.*/):[^/:]+$@\1@} . endfor . else _MASTER_SITES_DEFAULT+= ${_S:C@^(.*/):[^/:]+$@\1@} . endif .endfor .for _S in ${PATCH_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} . if ${_G_TEMP} == all || ${_G_TEMP} == ALL || ${_G_TEMP} == default check-makevars:: @${ECHO_MSG} "The words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your PATCH_SITES" @${FALSE} . endif _PATCH_SITES_${_group}+= ${_S:C@^(.*/):[^/:]+$@\1@} . endfor . else _PATCH_SITES_DEFAULT+= ${_S:C@^(.*/):[^/:]+$@\1@} . endif .endfor # Feed internal _{MASTER,PATCH}_SITE_SUBDIR_n where n is a group designation # as per grouping rules (:something) # Organize _{MASTER,PATCH}_SITE_SUBDIR_{DEFAULT,[^/:]+} according to grouping # rules (:something) .for _S in ${MASTER_SITE_SUBDIR} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} . if ${_G_TEMP} == all || ${_G_TEMP} == ALL || ${_G_TEMP} == default check-makevars:: @${ECHO_MSG} "Makefile error: the words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your MASTER_SITE_SUBDIR" @${FALSE} . endif . if defined(_MASTER_SITES_${_group}) _MASTER_SITE_SUBDIR_${_group}+= ${_S:C@^(.*)/:[^/:]+$@\1@} . endif . endfor . else . if defined(_MASTER_SITES_DEFAULT) _MASTER_SITE_SUBDIR_DEFAULT+= ${_S:C@^(.*)/:[^/:]+$@\1@} . endif . endif .endfor .for _S in ${PATCH_SITE_SUBDIR} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} . if ${_G_TEMP} == all || ${_G_TEMP} == ALL || ${_G_TEMP} == default check-makevars:: @${ECHO_MSG} "Makefile error: the words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your PATCH_SITE_SUBDIR" @${FALSE} . endif . if defined(_PATCH_SITES_${_group}) _PATCH_SITE_SUBDIR_${_group}+= ${_S:C@^(.*)/:[^/:]+$@\1@} . endif . endfor . else . if defined(_PATCH_SITES_DEFAULT) _PATCH_SITE_SUBDIR_DEFAULT+= ${_S:C@^(.*)/:[^/:]+$@\1@} . endif . endif .endfor # Substitute subdirectory names # XXX simpler/faster solution but not the best space wise, suggestions please .for _S in ${MASTER_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} . if !defined(_MASTER_SITE_SUBDIR_${_group}) MASTER_SITES_TMP= ${_MASTER_SITES_${_group}:S^%SUBDIR%/^^} . else _S_TEMP_TEMP= ${_MASTER_SITES_${_group}:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) MASTER_SITES_TMP= ${_MASTER_SITES_${_group}} . else MASTER_SITES_TMP= . for site in ${_MASTER_SITES_${_group}} _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) MASTER_SITES_TMP+= ${site} . else . for dir in ${_MASTER_SITE_SUBDIR_${_group}} MASTER_SITES_TMP+= ${site:S^%SUBDIR%^\${dir}^} . endfor . endif . endfor . endif . endif _MASTER_SITES_${_group}:= ${MASTER_SITES_TMP} . endfor . endif .endfor .if defined(_MASTER_SITE_SUBDIR_DEFAULT) _S_TEMP= ${_MASTER_SITES_DEFAULT:M*%SUBDIR%/*} . if empty(_S_TEMP) MASTER_SITES_TMP= ${_MASTER_SITES_DEFAULT} . else MASTER_SITES_TMP= . for site in ${_MASTER_SITES_DEFAULT} _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) MASTER_SITES_TMP+= ${site} . else . for dir in ${_MASTER_SITE_SUBDIR_DEFAULT} MASTER_SITES_TMP+= ${site:S^%SUBDIR%^\${dir}^} . endfor . endif . endfor . endif .else MASTER_SITES_TMP= ${_MASTER_SITES_DEFAULT:S^%SUBDIR%/^^} .endif _MASTER_SITES_DEFAULT:= ${MASTER_SITES_TMP} MASTER_SITES_TMP= .for _S in ${PATCH_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} . if !defined(_PATCH_SITE_SUBDIR_${_group}) PATCH_SITES_TMP= ${_PATCH_SITES_${_group}:S^%SUBDIR%/^^} . else _S_TEMP_TEMP= ${_PATCH_SITES_${_group}:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) PATCH_SITES_TMP= ${_PATCH_SITES_${_group}} . else PATCH_SITES_TMP= . for site in ${_PATCH_SITES_${_group}} _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) PATCH_SITES_TMP+= ${site} . else . for dir in ${_PATCH_SITE_SUBDIR_${_group}} PATCH_SITES_TMP+= ${site:S^%SUBDIR%^\${dir}^} . endfor . endif . endfor . endif . endif _PATCH_SITES_${_group}:= ${PATCH_SITES_TMP} . endfor . endif .endfor .if defined(_PATCH_SITE_SUBDIR_DEFAULT) _S_TEMP= ${_PATCH_SITES_DEFAULT:M*%SUBDIR%/*} . if empty(_S_TEMP) PATCH_SITES_TMP= ${_PATCH_SITES_DEFAULT} . else PATCH_SITES_TMP= . for site in ${_PATCH_SITES_DEFAULT} _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) PATCH_SITES_TMP+= ${site} . else . for dir in ${_PATCH_SITE_SUBDIR_DEFAULT} PATCH_SITES_TMP+= ${site:S^%SUBDIR%^\${dir}^} . endfor . endif . endfor . endif .else PATCH_SITES_TMP= ${_PATCH_SITES_DEFAULT:S^%SUBDIR%/^^} .endif _PATCH_SITES_DEFAULT:= ${PATCH_SITES_TMP} PATCH_SITES_TMP= # The primary backup site. MASTER_SITE_BACKUP?= \ http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/ MASTER_SITE_BACKUP:= ${MASTER_SITE_BACKUP:S^\${DIST_SUBDIR}/^^} # If the user has MASTER_SITE_FREEBSD set, go to the FreeBSD repository # for everything, but don't search it twice by appending it to the end. .if defined(MASTER_SITE_FREEBSD) _MASTER_SITE_OVERRIDE:= ${MASTER_SITE_BACKUP} _MASTER_SITE_BACKUP:= # empty .else _MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE} _MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP} .endif NOFETCHFILES?= # Organize DISTFILES, PATCHFILES, _MASTER_SITES_ALL, _PATCH_SITES_ALL # according to grouping rules (:something) DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} _MASTER_SITES_ALL= ${_MASTER_SITES_DEFAULT} _PATCH_SITES_ALL= ${_PATCH_SITES_DEFAULT} _G_TEMP= DEFAULT .for _D in ${DISTFILES} _D_TEMP= ${_D:S/^${_D:C/:[^:]+$//}//} . if !empty(_D_TEMP) . for _group in ${_D_TEMP:S/^://:S/,/ /g} . if !defined(_MASTER_SITES_${_group}) _G_TEMP_TEMP= ${_G_TEMP:M/${_group}/} . if empty(_G_TEMP_TEMP) _G_TEMP+= ${_group} _MASTER_SITES_ALL+= ${_MASTER_SITES_${_group}} . endif . endif . endfor _DISTFILES+= ${_D:C/:[^:]+$//} . else _DISTFILES+= ${_D} . endif .endfor _G_TEMP= DEFAULT .for _P in ${PATCHFILES} _P_TEMP= ${_P:C/:[^-:][^:]*$//} _P_groups= ${_P:S/^${_P:C/:[^:]+$//}//:S/^://} _P_file= ${_P_TEMP:C/:-[^:]+$//} _P_strip= ${_P_TEMP:S/^${_P_TEMP:C/:-[^:]*$//}//:S/^://} . if !empty(_P_groups) . for _group in ${_P_groups:S/,/ /g} . if !defined(_PATCH_SITES_${_group}) _G_TEMP_TEMP= ${_G_TEMP:M/${_group}/} . if empty(_G_TEMP_TEMP) _G_TEMP+= ${_group} _PATCH_SITES_ALL+= ${_PATCH_SITES_${_group}} . endif . endif . endfor . endif _PATCHFILES:= ${_PATCHFILES} ${_P_file} . if !empty(_P_strip) _PATCH_DIST_STRIP_CASES:= ${_PATCH_DIST_STRIP_CASES} ("${_P_file}") printf %s "${_P_strip}" ;; . endif .endfor _P_groups= _P_file= _P_strip= _G_TEMP= _G_TEMP_TEMP= ALLFILES?= ${_DISTFILES} ${_PATCHFILES} # # Sort the master site list according to the patterns in MASTER_SORT # MASTER_SORT?= MASTER_SORT_REGEX?= MASTER_SORT_REGEX+= ${MASTER_SORT:S|.|\\.|g:S|^|://[^/]*|:S|$|/|} MASTER_SORT_AWK= BEGIN { RS = " "; ORS = " "; IGNORECASE = 1 ; gl = "${MASTER_SORT_REGEX:S|\\|\\\\|g}"; } .for srt in ${MASTER_SORT_REGEX} MASTER_SORT_AWK+= /${srt:S|/|\\/|g}/ { good["${srt:S|\\|\\\\|g}"] = good["${srt:S|\\|\\\\|g}"] " " $$0 ; next; } .endfor MASTER_SORT_AWK+= { rest = rest " " $$0; } END { n=split(gl, gla); for(i=1;i<=n;i++) { print good[gla[i]]; } print rest; } SORTED_MASTER_SITES_DEFAULT_CMD= cd ${.CURDIR} && ${MAKE} master-sites-DEFAULT SORTED_PATCH_SITES_DEFAULT_CMD= cd ${.CURDIR} && ${MAKE} patch-sites-DEFAULT SORTED_MASTER_SITES_ALL_CMD= cd ${.CURDIR} && ${MAKE} master-sites-ALL SORTED_PATCH_SITES_ALL_CMD= cd ${.CURDIR} && ${MAKE} patch-sites-ALL # has similar effect to old targets, i.e., access only {MASTER,PATCH}_SITES, not working with the new _n variables master-sites-DEFAULT: @${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} '${_MASTER_SITES_DEFAULT}' | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP} patch-sites-DEFAULT: @${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} '${_PATCH_SITES_DEFAULT}' | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP} # # Sort the master site list according to the patterns in MASTER_SORT # according to grouping rules (:something) # # for use in the fetch targets .for _S in ${MASTER_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/^://:S/,/ /g} . if !target(master-sites-${_group}) SORTED_MASTER_SITES_${_group}_CMD= cd ${.CURDIR} && ${MAKE} master-sites-${_group} master-sites-${_group}: @${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} '${_MASTER_SITES_${_group}}' | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP} . endif . endfor . endif .endfor .for _S in ${PATCH_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/^://:S/,/ /g} . if !target(patch-sites-${_group}) SORTED_PATCH_SITES_${_group}_CMD= cd ${.CURDIR} && ${MAKE} patch-sites-${_group} patch-sites-${_group}: @${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} '${_PATCH_SITES_${_group}}' | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP} . endif . endfor . endif .endfor # # Hackery to enable simple fetch targets with several dynamic MASTER_SITES # _MASTER_SITES_ENV= _MASTER_SITES_DEFAULT="${_MASTER_SITES_DEFAULT}" .for _F in ${DISTFILES} _F_TEMP= ${_F:S/^${_F:C/:[^:]+$//}//:S/^://} . if !empty(_F_TEMP) . for _group in ${_F_TEMP:S/,/ /g} . if defined(_MASTER_SITES_${_group}) _MASTER_SITES_ENV+= _MASTER_SITES_${_group}="${_MASTER_SITES_${_group}}" . endif . endfor . endif .endfor _PATCH_SITES_ENV= _PATCH_SITES_DEFAULT="${_PATCH_SITES_DEFAULT}" .for _F in ${PATCHFILES} _F_TEMP= ${_F:S/^${_F:C/:[^-:][^:]*$//}//:S/^://} . if !empty(_F_TEMP) . for _group in ${_F_TEMP:S/,/ /g} . if defined(_PATCH_SITES_${_group}) _PATCH_SITES_ENV+= _PATCH_SITES_${_group}="${_PATCH_SITES_${_group}}" . endif . endfor . endif .endfor master-sites-ALL: @${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} '${_MASTER_SITES_ALL}' | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP} patch-sites-ALL: @${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} '${_PATCH_SITES_ALL}' | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP} # synonyms, mnemonics master-sites-all: master-sites-ALL patch-sites-all: patch-sites-ALL master-sites-default: master-sites-DEFAULT patch-sites-default: patch-sites-DEFAULT # compatibility with old behavior master-sites: master-sites-DEFAULT patch-sites: patch-sites-DEFAULT CKSUMFILES= ${ALLFILES} # List of all files, with ${DIST_SUBDIR} in front. Used for checksum. .if defined(DIST_SUBDIR) .if defined(CKSUMFILES) && ${CKSUMFILES}!="" _CKSUMFILES?= ${CKSUMFILES:S/^/${DIST_SUBDIR}\//} .endif .else _CKSUMFILES?= ${CKSUMFILES} .endif # This is what is actually going to be extracted, and is overridable # by user. EXTRACT_ONLY?= ${_DISTFILES} .if !target(maintainer) maintainer: @${ECHO_CMD} "${MAINTAINER}" .endif .if !defined(CATEGORIES) check-categories: @${ECHO_MSG} "${PKGNAME}: Makefile error: CATEGORIES is mandatory." @${FALSE} .else VALID_CATEGORIES+= accessibility afterstep arabic archivers astro audio \ benchmarks biology cad chinese comms converters databases \ deskutils devel docs dns editors elisp emulators enlightenment finance french ftp \ games geography german gnome gnustep graphics hamradio haskell hebrew hungarian \ ipv6 irc japanese java kde kld korean lang linux lisp \ mail mate math mbone misc multimedia net net-im net-mgmt net-p2p news \ palm parallel pear perl5 plan9 polish portuguese ports-mgmt \ print python ruby rubygems russian \ scheme science security shells spanish sysutils \ tcl textproc tk \ ukrainian vietnamese windowmaker www \ x11 x11-clocks x11-drivers x11-fm x11-fonts x11-servers x11-themes \ x11-toolkits x11-wm xfce zope check-categories: .for cat in ${CATEGORIES} . if empty(VALID_CATEGORIES:M${cat}) @${ECHO_MSG} "${PKGNAME}: Makefile error: category ${cat} not in list of valid categories."; \ ${FALSE}; . endif .endfor .endif PKGREPOSITORYSUBDIR?= All PKGREPOSITORY?= ${PACKAGES}/${PKGREPOSITORYSUBDIR} .if exists(${PACKAGES}) PKGFILE?= ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX} .else PKGFILE?= ${.CURDIR}/${PKGNAME}${PKG_SUFX} .endif WRKDIR_PKGFILE= ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX} # The "latest version" link -- ${PKGNAME} minus everthing after the last '-' PKGLATESTREPOSITORY?= ${PACKAGES}/Latest PKGBASE?= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} -LATEST_LINK?= ${PKGBASE} -PKGLATESTFILE= ${PKGLATESTREPOSITORY}/${LATEST_LINK}${PKG_SUFX} +PKGLATESTFILE= ${PKGLATESTREPOSITORY}/${PKGBASE}${PKG_SUFX} CONFIGURE_SCRIPT?= configure CONFIGURE_CMD?= ./${CONFIGURE_SCRIPT} CONFIGURE_TARGET?= ${ARCH}-portbld-${OPSYS:tl}${OSREL} CONFIGURE_TARGET:= ${CONFIGURE_TARGET:S/--build=//} CONFIGURE_LOG?= config.log # A default message to print if do-configure fails. CONFIGURE_FAIL_MESSAGE?= "Please report the problem to ${MAINTAINER} [maintainer] and attach the \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a ${PKG_INFO} -Ea)." .if defined(GNU_CONFIGURE) # Maximum command line length .if !defined(CONFIGURE_MAX_CMD_LEN) CONFIGURE_MAX_CMD_LEN!= ${SYSCTL} -n kern.argmax .endif GNU_CONFIGURE_PREFIX?= ${PREFIX} GNU_CONFIGURE_MANPREFIX?= ${MANPREFIX} CONFIG_SITE?= ${PORTSDIR}/Templates/config.site CONFIGURE_ARGS+= --prefix=${GNU_CONFIGURE_PREFIX} $${_LATE_CONFIGURE_ARGS} .if defined(X_BUILD_FOR) CONFIGURE_ARGS+= --host=${X_BUILD_FOR} .endif CONFIGURE_ENV+= CONFIG_SITE=${CONFIG_SITE} lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN} HAS_CONFIGURE= yes SET_LATE_CONFIGURE_ARGS= \ _LATE_CONFIGURE_ARGS="" ; \ if [ -z "${CONFIGURE_ARGS:M--localstatedir=*:Q}" ] && \ ./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- --localstatedir > /dev/null; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --localstatedir=/var" ; \ fi ; \ if [ ! -z "`./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- '--mandir'`" ]; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --mandir=${GNU_CONFIGURE_MANPREFIX}/man" ; \ fi ; \ if [ ! -z "`./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- '--infodir'`" ]; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --infodir=${GNU_CONFIGURE_PREFIX}/${INFO_PATH}/${INFO_SUBDIR}" ; \ fi ; \ if [ -z "`./${CONFIGURE_SCRIPT} --version 2>&1 | ${EGREP} -i '(autoconf.*2\.13|Unrecognized option)'`" ]; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --build=${CONFIGURE_TARGET}" ; \ else \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} ${CONFIGURE_TARGET}" ; \ fi ; .endif # Passed to most of script invocations SCRIPTS_ENV+= CURDIR=${MASTERDIR} DISTDIR=${DISTDIR} \ WRKDIR=${WRKDIR} WRKSRC=${WRKSRC} PATCHDIR=${PATCHDIR} \ SCRIPTDIR=${SCRIPTDIR} FILESDIR=${FILESDIR} \ PORTSDIR=${PORTSDIR} PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} .if defined(BATCH) SCRIPTS_ENV+= BATCH=yes .endif .if ${PREFIX} == /usr MANPREFIX?= /usr/share .else MANPREFIX?= ${PREFIX} .endif MANDIRS+= ${MANPREFIX}/man .for sect in 1 2 3 4 5 6 7 8 9 MAN${sect}PREFIX?= ${MANPREFIX} .endfor MANLPREFIX?= ${MANPREFIX} MANNPREFIX?= ${MANPREFIX} .if ${PREFIX} == /usr INFO_PATH?= share/info .else INFO_PATH?= info .endif .if defined(INFO) RUN_DEPENDS+= indexinfo:${PORTSDIR}/print/indexinfo . for D in ${INFO:H} RD:= ${D} . if ${RD} != "." . if !defined(INFO_SUBDIR) INFO_SUBDIR:= ${RD} . elif ${INFO_SUBDIR} != ${RD} BROKEN= only one subdirectory in INFO is allowed . endif . endif .undef RD . endfor .endif DOCSDIR_REL?= ${DOCSDIR:S,^${PREFIX}/,,} EXAMPLESDIR_REL?= ${EXAMPLESDIR:S,^${PREFIX}/,,} DATADIR_REL?= ${DATADIR:S,^${PREFIX}/,,} WWWDIR_REL?= ${WWWDIR:S,^${PREFIX}/,,} ETCDIR_REL?= ${ETCDIR:S,^${PREFIX}/,,} PLIST_SUB+= DOCSDIR="${DOCSDIR_REL}" \ EXAMPLESDIR="${EXAMPLESDIR_REL}" \ DATADIR="${DATADIR_REL}" \ WWWDIR="${WWWDIR_REL}" \ ETCDIR="${ETCDIR_REL}" DESKTOPDIR?= ${PREFIX}/share/applications .MAIN: all ################################################################ # Many ways to disable a port. # # If we're in BATCH mode and the port is interactive, or we're # in interactive mode and the port is non-interactive, skip all # the important targets. The reason we have two modes is that # one might want to leave a build in BATCH mode running # overnight, then come back in the morning and do _only_ the # interactive ones that required your intervention. # # Ignore ports that can't be resold if building for a CDROM. # # Don't build a port if it's restricted and we don't want to get # into that. # # Don't build a port if it's broken, unless we're running a parallel # build (in case it's fixed). # # Don't build a port if it's forbidden for whatever reason. # # Don't build a port if the system is too old. ################################################################ # Check the machine architectures .if defined(ONLY_FOR_ARCHS) .for __ARCH in ${ONLY_FOR_ARCHS} .if ${ARCH:M${__ARCH}} != "" __ARCH_OK?= 1 .endif .endfor .else __ARCH_OK?= 1 .endif .if defined(NOT_FOR_ARCHS) .for __NARCH in ${NOT_FOR_ARCHS} .if ${ARCH:M${__NARCH}} != "" .undef __ARCH_OK .endif .endfor .endif .if !defined(__ARCH_OK) .if defined(ONLY_FOR_ARCHS) IGNORE= is only for ${ONLY_FOR_ARCHS}, .else # defined(NOT_FOR_ARCHS) IGNORE= does not run on ${NOT_FOR_ARCHS}, .endif IGNORE+= while you are running ${ARCH} .if defined(ONLY_FOR_ARCHS_REASON_${ARCH}) IGNORE+= (reason: ${ONLY_FOR_ARCHS_REASON_${ARCH}}) .elif defined(ONLY_FOR_ARCHS_REASON) IGNORE+= (reason: ${ONLY_FOR_ARCHS_REASON}) .endif .if defined(NOT_FOR_ARCHS_REASON_${ARCH}) IGNORE+= (reason: ${NOT_FOR_ARCHS_REASON_${ARCH}}) .elif defined(NOT_FOR_ARCHS_REASON) IGNORE+= (reason: ${NOT_FOR_ARCHS_REASON}) .endif .endif # Check the user interaction and legal issues .if !defined(NO_IGNORE) .if (defined(IS_INTERACTIVE) && defined(BATCH)) IGNORE= is an interactive port .elif (!defined(IS_INTERACTIVE) && defined(INTERACTIVE)) IGNORE= is not an interactive port .elif (defined(NO_CDROM) && defined(FOR_CDROM)) IGNORE= may not be placed on a CDROM: ${NO_CDROM} .elif (defined(RESTRICTED) && defined(NO_RESTRICTED)) IGNORE= is restricted: ${RESTRICTED} .elif (defined(NO_PACKAGE) && defined(PACKAGE_BUILDING)) IGNORE= may not be packaged: ${NO_PACKAGE} .elif defined(BROKEN) .if !defined(TRYBROKEN) IGNORE= is marked as broken: ${BROKEN} .endif .elif defined(BROKEN_${ARCH}) .if !defined(TRYBROKEN) IGNORE= is marked as broken on ${ARCH}: ${BROKEN_${ARCH}} .endif .elif defined(BROKEN_${OPSYS}_${OSREL:R}) .if !defined(TRYBROKEN) IGNORE= is marked as broken on ${OPSYS} ${OSREL}: ${BROKEN_${OPSYS}_${OSREL:R}} .endif .elif defined(BROKEN_${OPSYS}_${OSREL:R}_${ARCH}) .if !defined(TRYBROKEN) IGNORE= is marked as broken on ${OPSYS} ${OSREL} ${ARCH}: ${BROKEN_${OPSYS}_${OSREL:R}_${ARCH}} .endif .elif defined(BROKEN_${OPSYS}) .if !defined(TRYBROKEN) IGNORE= is marked as broken on ${OPSYS}: ${BROKEN_${OPSYS}} .endif .elif defined(FORBIDDEN) IGNORE= is forbidden: ${FORBIDDEN} .endif # Define the text to be output to LEGAL .if defined(LEGAL_TEXT) LEGAL= ${LEGAL_TEXT} .elif defined(RESTRICTED) LEGAL= ${RESTRICTED} .elif defined(NO_CDROM) LEGAL= ${NO_CDROM} .elif defined(NO_PACKAGE) && ! defined(LEGAL_PACKAGE) LEGAL= ${NO_PACKAGE} .endif .if (defined(MANUAL_PACKAGE_BUILD) && defined(PACKAGE_BUILDING)) IGNORE= has to be built manually: ${MANUAL_PACKAGE_BUILD} clean: @${IGNORECMD} .endif .if defined(IGNORE) .if defined(IGNORE_SILENT) IGNORECMD= ${DO_NADA} .else IGNORECMD= ${ECHO_MSG} "===> ${PKGNAME} "${IGNORE:Q}.;exit 1 .endif _TARGETS= check-sanity fetch checksum extract patch configure all build \ install reinstall package stage restage .for target in ${_TARGETS} .if !target(${target}) ${target}: @${IGNORECMD} .if defined(INSTALLS_DEPENDS) @${FALSE} .endif .endif .endfor .endif .endif .if defined(IGNORE) || defined(NO_PACKAGE) ignorelist: package-name .else ignorelist: @${DO_NADA} .endif .if defined(IGNORE) || defined(NO_PACKAGE) ignorelist-verbose: .if defined(IGNORE) @${ECHO_CMD} "${PKGNAME}|IGNORE: "${IGNORE:Q} .else @${ECHO_CMD} "${PKGNAME}|NO_PACKAGE: "${NO_PACKAGE:Q} .endif .else ignorelist-verbose: @${DO_NADA} .endif ################################################################ # Clean directories for ftp or CDROM. ################################################################ .if !defined(LICENSE) .if defined(RESTRICTED) clean-restricted: delete-distfiles delete-package clean-restricted-list: delete-distfiles-list delete-package-list RESTRICTED_FILES?= ${_DISTFILES} ${_PATCHFILES} .else clean-restricted: clean-restricted-list: .endif .if defined(NO_CDROM) clean-for-cdrom: delete-distfiles delete-package clean-for-cdrom-list: delete-distfiles-list delete-package-list RESTRICTED_FILES?= ${_DISTFILES} ${_PATCHFILES} .else clean-for-cdrom: clean-for-cdrom-list: .endif .endif # !defined(LICENSE) .if defined(ALL_HOOK) all: @cd ${.CURDIR} && ${SETENV} CURDIR=${.CURDIR} DISTNAME=${DISTNAME} \ DISTDIR=${DISTDIR} WRKDIR=${WRKDIR} WRKSRC=${WRKSRC} \ PATCHDIR=${PATCHDIR} SCRIPTDIR=${SCRIPTDIR} \ FILESDIR=${FILESDIR} PORTSDIR=${PORTSDIR} PREFIX=${PREFIX} \ BUILD_DEPENDS="${BUILD_DEPENDS}" RUN_DEPENDS="${RUN_DEPENDS}" \ CONFLICTS="${CONFLICTS}" \ ${ALL_HOOK} .endif .if !target(all) all: stage .endif .if !defined(DEPENDS_TARGET) .if defined(DEPENDS_PRECLEAN) DEPENDS_TARGET= clean DEPENDS_ARGS= NOCLEANDEPENDS=yes .endif .if make(reinstall) DEPENDS_TARGET+= reinstall .else DEPENDS_TARGET+= install .endif .if defined(DEPENDS_CLEAN) DEPENDS_TARGET+= clean DEPENDS_ARGS+= NOCLEANDEPENDS=yes .endif .endif ################################################################ # # Do preliminary work to detect if we need to run the config # target or not. # ################################################################ .if ((!defined(OPTIONS_DEFINE) && !defined(OPTIONS_SINGLE) && !defined(OPTIONS_MULTI)) \ && !defined(OPTIONS_GROUP) && !defined(OPTIONS_RADIO) \ - || defined(CONFIG_DONE_${UNIQUENAME:tu}) || \ + || defined(CONFIG_DONE_${PKGBASE:tu}) || \ defined(PACKAGE_BUILDING) || defined(BATCH)) _OPTIONS_OK=yes .endif ################################################################ # The following are used to create easy dummy targets for # disabling some bit of default target behavior you don't want. # They still check to see if the target exists, and if so don't # do anything, since you might want to set this globally for a # group of ports in a Makefile.inc, but still be able to # override from an individual Makefile. ################################################################ # Disable checksum .if defined(NO_CHECKSUM) && !target(checksum) checksum: fetch @${DO_NADA} .endif # Disable build .if defined(NO_BUILD) && !target(build) build: configure @${TOUCH} ${TOUCH_FLAGS} ${BUILD_COOKIE} .endif # Disable package .if defined(NO_PACKAGE) && !target(package) package: .if defined(IGNORE_SILENT) @${DO_NADA} .else @${ECHO_MSG} "===> ${PKGNAME} may not be packaged: "${NO_PACKAGE:Q}. .endif .endif # Disable describe .if defined(NO_DESCRIBE) && !target(describe) describe: @${DO_NADA} .endif ################################################################ # More standard targets start here. # # These are the body of the build/install framework. If you are # not happy with the default actions, and you can't solve it by # adding pre-* or post-* targets/scripts, override these. ################################################################ # Pre-everything pre-everything:: @${DO_NADA} .if defined(TRYBROKEN) && defined(BROKEN) buildanyway-message: @${ECHO_MSG} "Trying build of ${PKGNAME} even though it is marked BROKEN." .endif options-message: .if defined(GNOME_OPTION_MSG) && (!defined(PACKAGE_BUILDING) || !defined(BATCH)) @for m in ${GNOME_OPTION_MSG}; do \ ${ECHO_MSG} $$m; \ done .else @${DO_NADA} .endif .if defined(_OPTIONS_READ) @${ECHO_MSG} "===> Found saved configuration for ${_OPTIONS_READ}" .endif ${PKG_DBDIR} ${PREFIX} ${WRKDIR} ${WRKSRC}: @${MKDIR} ${.TARGET} # Warn user about deprecated packages. Advisory only. .if !target(check-deprecated) check-deprecated: .if defined(DEPRECATED) @${ECHO_MSG} "===> NOTICE:" @${ECHO_MSG} @${ECHO_MSG} "This port is deprecated; you may wish to reconsider installing it:" @${ECHO_MSG} @${ECHO_MSG} ${DEPRECATED:Q}. @${ECHO_MSG} .if defined(EXPIRATION_DATE) @${ECHO_MSG} "It is scheduled to be removed on or after ${EXPIRATION_DATE}." @${ECHO_MSG} .endif .endif .endif # Check if the port is listed in the vulnerability database AUDITFILE?= ${PKG_DBDIR}/vuln.xml _EXTRACT_AUDITFILE= ${CAT} "${AUDITFILE}" check-vulnerable: .if !defined(DISABLE_VULNERABILITIES) && !defined(PACKAGE_BUILDING) @if [ -f "${AUDITFILE}" ]; then \ if [ -x "${PKG_BIN}" ]; then \ vlist=`${PKG_BIN} audit "${PKGNAME}" || :`; \ if [ "$${vlist}" = "0 problem(s) in the installed packages found." ]; then \ vlist=""; \ fi; \ elif [ "${PORTNAME}" = "pkg" ]; then \ vlist=""; \ fi; \ if [ -n "$$vlist" ]; then \ ${ECHO_MSG} "===> ${PKGNAME} has known vulnerabilities:"; \ ${ECHO_MSG} "$$vlist"; \ ${ECHO_MSG} "=> Please update your ports tree and try again."; \ ${ECHO_MSG} "=> Note: Vulnerable ports are marked as such even if there is no update available."; \ ${ECHO_MSG} "=> If you wish to ignore this vulnerability rebuild with 'make DISABLE_VULNERABILITIES=yes'"; \ exit 1; \ fi; \ fi .endif # set alg to any of SIZE, SHA256 (or any other checksum algorithm): DISTINFO_DATA?= if [ \( -n "${DISABLE_SIZE}" -a -n "${NO_CHECKSUM}" \) -o ! -f "${DISTINFO_FILE}" ]; then exit; fi; \ DIR=${DIST_SUBDIR}; ${AWK} -v alg=$$alg -v file=$${DIR:+$$DIR/}$${file} \ '$$1 == alg && $$2 == "(" file ")" {print $$4}' ${DISTINFO_FILE} # Fetch .if !target(do-fetch) do-fetch: @${MKDIR} ${_DISTDIR} @cd ${_DISTDIR};\ ${_MASTER_SITES_ENV} ; \ for _file in ${DISTFILES}; do \ file=$${_file%%:*}; \ if [ $$_file = $$file ]; then \ select=''; \ else \ select=`${ECHO_CMD} $${_file##*:} | ${SED} -e 's/,/ /g'` ; \ fi; \ force_fetch=false; \ filebasename=$${file##*/}; \ for afile in ${FORCE_FETCH}; do \ afile=$${afile##*/}; \ if [ "x$$afile" = "x$$filebasename" ]; then \ force_fetch=true; \ fi; \ done; \ if [ ! -f $$file -a ! -f $$filebasename -o "$$force_fetch" = "true" ]; then \ if [ -L $$file -o -L $$filebasename ]; then \ ${ECHO_MSG} "=> ${_DISTDIR}/$$file is a broken symlink."; \ ${ECHO_MSG} "=> Perhaps a filesystem (most likely a CD) isn't mounted?"; \ ${ECHO_MSG} "=> Please correct this problem and try again."; \ exit 1; \ fi; \ if [ -f ${DISTINFO_FILE} -a "x${NO_CHECKSUM}" = "x" ]; then \ _sha256sum=`alg=SHA256; ${DISTINFO_DATA}`; \ if [ -z "$$_sha256sum" ]; then \ ${ECHO_MSG} "=> $${DIR:+$$DIR/}$$file is not in ${DISTINFO_FILE}."; \ ${ECHO_MSG} "=> Either ${DISTINFO_FILE} is out of date, or"; \ ${ECHO_MSG} "=> $${DIR:+$$DIR/}$$file is spelled incorrectly."; \ exit 1; \ fi; \ fi; \ ${ECHO_MSG} "=> $$file doesn't seem to exist in ${_DISTDIR}."; \ if [ ! -w ${_DISTDIR} ]; then \ ${ECHO_MSG} "=> ${_DISTDIR} is not writable by you; cannot fetch."; \ exit 1; \ fi; \ if [ ! -z "$$select" ] ; then \ __MASTER_SITES_TMP= ; \ for group in $$select; do \ if [ ! -z \$${_MASTER_SITES_$${group}} ] ; then \ eval ___MASTER_SITES_TMP="\$${_MASTER_SITES_$${group}}" ; \ __MASTER_SITES_TMP="$${__MASTER_SITES_TMP} $${___MASTER_SITES_TMP}" ; \ fi; \ done; \ ___MASTER_SITES_TMP= ; \ SORTED_MASTER_SITES_CMD_TMP="${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} $${__MASTER_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_MASTER_SITES_CMD_TMP="${SORTED_MASTER_SITES_DEFAULT_CMD}" ; \ fi; \ sites_remaining=0; \ sites="`eval $$SORTED_MASTER_SITES_CMD_TMP ${_RANDOMIZE_SITES}`"; \ for site in $${sites}; do \ sites_remaining=$$(($${sites_remaining} + 1)); \ done; \ for site in $${sites}; do \ sites_remaining=$$(($${sites_remaining} - 1)); \ ${ECHO_MSG} "=> Attempting to fetch $${site}$${file}"; \ CKSIZE=`alg=SIZE; ${DISTINFO_DATA}`; \ case $${file} in \ */*) ${MKDIR} $${file%/*}; \ args="-o $${file} $${site}$${file}";; \ *) args=$${site}$${file};; \ esac; \ if ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${args} ${FETCH_AFTER_ARGS}; then \ actual_size=`stat -f %z "$${file}"`; \ if [ -n "${DISABLE_SIZE}" ] || [ -z "$${CKSIZE}" ] || [ $${actual_size} -eq $${CKSIZE} ]; then \ continue 2; \ else \ ${ECHO_MSG} "=> Fetched file size mismatch (expected $${CKSIZE}, actual $${actual_size})"; \ if [ $${sites_remaining} -gt 0 ]; then \ ${ECHO_MSG} "=> Trying next site"; \ ${RM} -f $${file}; \ fi; \ fi; \ fi; \ done; \ ${ECHO_MSG} "=> Couldn't fetch it - please try to retrieve this";\ ${ECHO_MSG} "=> port manually into ${_DISTDIR} and try again."; \ exit 1; \ fi; \ done .if defined(PATCHFILES) @cd ${_DISTDIR};\ ${_PATCH_SITES_ENV} ; \ for _file in ${PATCHFILES}; do \ file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^-:][^:]*$$//'` ; \ if [ $$_file = $$file ]; then \ select=''; \ else \ select=`${ECHO_CMD} $${_file##*:} | ${SED} -e 's/,/ /g'` ; \ fi; \ file=`${ECHO_CMD} $$file | ${SED} -E -e 's/:-[^:]+$$//'` ; \ force_fetch=false; \ filebasename=$${file##*/}; \ for afile in ${FORCE_FETCH}; do \ afile=$${afile##*/}; \ if [ "x$$afile" = "x$$filebasename" ]; then \ force_fetch=true; \ fi; \ done; \ if [ ! -f $$file -a ! -f $$filebasename -o "$$force_fetch" = "true" ]; then \ if [ -L $$file -o -L $${file##*/} ]; then \ ${ECHO_MSG} "=> ${_DISTDIR}/$$file is a broken symlink."; \ ${ECHO_MSG} "=> Perhaps a filesystem (most likely a CD) isn't mounted?"; \ ${ECHO_MSG} "=> Please correct this problem and try again."; \ exit 1; \ fi; \ ${ECHO_MSG} "=> $$file doesn't seem to exist in ${_DISTDIR}."; \ if [ ! -z "$$select" ] ; then \ __PATCH_SITES_TMP= ; \ for group in $$select; do \ if [ ! -z \$${_PATCH_SITES_$${group}} ] ; then \ eval ___PATCH_SITES_TMP="\$${_PATCH_SITES_$${group}}" ; \ __PATCH_SITES_TMP="$${__PATCH_SITES_TMP} $${___PATCH_SITES_TMP}" ; \ fi; \ done; \ ___PATCH_SITES_TMP= ; \ SORTED_PATCH_SITES_CMD_TMP="${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} $${__PATCH_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_PATCH_SITES_CMD_TMP="${SORTED_PATCH_SITES_DEFAULT_CMD}" ; \ fi; \ sites_remaining=0; \ sites="`eval $$SORTED_PATCH_SITES_CMD_TMP`"; \ for site in $${sites}; do \ sites_remaining=$$(($${sites_remaining} + 1)); \ done; \ for site in $${sites}; do \ sites_remaining=$$(($${sites_remaining} - 1)); \ ${ECHO_MSG} "=> Attempting to fetch $${site}$${file}"; \ CKSIZE=`alg=SIZE; ${DISTINFO_DATA}`; \ case $${file} in \ */*) ${MKDIR} $${file%/*}; \ args="-o $${file} $${site}$${file}";; \ *) args=$${site}$${file};; \ esac; \ if ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${args} ${FETCH_AFTER_ARGS}; then \ actual_size=`stat -f %z "$${file}"`; \ if [ -n "${DISABLE_SIZE}" ] || [ -z "$${CKSIZE}" ] || [ $${actual_size} -eq $${CKSIZE} ]; then \ continue 2; \ else \ ${ECHO_MSG} "=> Fetched file size mismatch (expected $${CKSIZE}, actual $${actual_size})"; \ if [ $${sites_remaining} -gt 1 ]; then \ ${ECHO_MSG} "=> Trying next site"; \ ${RM} -f $${file}; \ fi; \ fi; \ fi; \ done; \ ${ECHO_MSG} "=> Couldn't fetch it - please try to retrieve this";\ ${ECHO_MSG} "=> port manually into ${_DISTDIR} and try again."; \ exit 1; \ fi; \ done .endif .endif # Extract clean-wrkdir: @${RM} -rf ${WRKDIR} .if !target(do-extract) do-extract: @for file in ${EXTRACT_ONLY}; do \ if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\ then \ exit 1; \ fi; \ done @if [ ${UID} = 0 ]; then \ ${CHMOD} -R ug-s ${WRKDIR}; \ ${CHOWN} -R 0:0 ${WRKDIR}; \ fi .endif # Patch .if !target(do-patch) do-patch: .if defined(PATCHFILES) @${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME}" @(set -e; \ cd ${_DISTDIR}; \ patch_dist_strip () { \ case "$$1" in \ ${_PATCH_DIST_STRIP_CASES} \ esac; \ }; \ for i in ${_PATCHFILES}; do \ if [ ${PATCH_DEBUG_TMP} = yes ]; then \ ${ECHO_MSG} "===> Applying distribution patch $$i" ; \ fi ; \ case $$i in \ *.Z|*.gz) ${GZCAT} $$i ;; \ *.bz2) ${BZCAT} $$i ;; \ *.xz) ${XZCAT} $$i ;; \ *.zip) ${UNZIP_NATIVE_CMD} -p $$i ;; \ *) ${CAT} $$i ;; \ esac | ${PATCH} ${PATCH_DIST_ARGS} `patch_dist_strip $$i` ; \ done ) .endif .if defined(EXTRA_PATCHES) @set -e ; \ for i in ${EXTRA_PATCHES}; do \ case $$i in \ *:-p[0-9]) patch_file=$${i%:*} ; patch_strip=$${i##*:} ;; \ *) patch_file=$$i ;; \ esac ; \ ${ECHO_MSG} "===> Applying extra patch $$patch_file" ; \ case $$patch_file in \ *.Z|*.gz) ${GZCAT} $$patch_file ;; \ *.bz2) ${BZCAT} $$patch_file ;; \ *.xz) ${XZCAT} $$patch_file ;; \ *.zip) ${UNZIP_NATIVE_CMD} -p $$patch_file ;; \ *) ${CAT} $$patch_file ;; \ esac | ${PATCH} ${PATCH_ARGS} $$patch_strip ; \ done .endif @set -e ;\ if [ -d ${PATCHDIR} ]; then \ if [ "`${ECHO_CMD} ${PATCHDIR}/patch-*`" != "${PATCHDIR}/patch-*" ]; then \ ${ECHO_MSG} "===> Applying ${OPSYS} patches for ${PKGNAME}" ; \ PATCHES_APPLIED="" ; \ for i in ${PATCHDIR}/patch-*; do \ case $$i in \ *.orig|*.rej|*~|*,v) \ ${ECHO_MSG} "===> Ignoring patchfile $$i" ; \ ;; \ *) \ if [ ${PATCH_DEBUG_TMP} = yes ]; then \ ${ECHO_MSG} "===> Applying ${OPSYS} patch $$i" ; \ fi; \ if ${PATCH} ${PATCH_ARGS} < $$i ; then \ PATCHES_APPLIED="$$PATCHES_APPLIED $$i" ; \ else \ ${ECHO_MSG} `${ECHO_CMD} "=> Patch $$i failed to apply cleanly." | ${SED} "s|${PATCHDIR}/||"` ; \ if [ x"$$PATCHES_APPLIED" != x"" -a ${PATCH_SILENT} != "yes" ]; then \ ${ECHO_MSG} `${ECHO_CMD} "=> Patch(es) $$PATCHES_APPLIED applied cleanly." | ${SED} "s|${PATCHDIR}/||g"` ; \ fi; \ ${FALSE} ; \ fi; \ ;; \ esac; \ done; \ fi; \ fi .endif .if !target(run-autotools-fixup) run-autotools-fixup: # Work around an issue where FreeBSD 10.0 is detected as FreeBSD 1.x. .if ${OSVERSION} >= 1000000 && !defined(WITHOUT_FBSD10_FIX) -@for f in `${FIND} ${WRKDIR} -type f \( -name config.libpath -o \ -name config.rpath -o -name configure -o -name libtool.m4 -o \ -name ltconfig -o -name libtool -o -name aclocal.m4 -o \ -name acinclude.m4 \)` ; do \ ${SED} -i.fbsd10bak \ -e 's|freebsd1\*)|freebsd1.\*)|g' \ -e 's|freebsd\[12\]\*)|freebsd[12].*)|g' \ -e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \ -e 's|freebsd\[\[12\]\]\*)|freebsd[[12]].*)|g' \ -e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \ $${f} ; \ cmp -s $${f}.fbsd10bak $${f} || \ ${ECHO_MSG} "===> FreeBSD 10 autotools fix applied to $${f}"; \ ${TOUCH} ${TOUCH_FLAGS} -mr $${f}.fbsd10bak $${f} ; \ ${RM} -f $${f}.fbsd10bak ; \ done .endif .endif # Configure .if !target(do-configure) do-configure: @if [ -f ${SCRIPTDIR}/configure ]; then \ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ ${SCRIPTDIR}/configure; \ fi .if defined(GNU_CONFIGURE) @CONFIG_GUESS_DIRS=$$(${FIND} ${WRKDIR} -name config.guess -o -name config.sub \ | ${XARGS} -n 1 ${DIRNAME}); \ for _D in $${CONFIG_GUESS_DIRS}; do \ ${RM} $${_D}/config.guess; \ ${CP} ${TEMPLATES}/config.guess $${_D}/config.guess; \ ${CHMOD} a+rx $${_D}/config.guess; \ ${RM} $${_D}/config.sub; \ ${CP} ${TEMPLATES}/config.sub $${_D}/config.sub; \ ${CHMOD} a+rx $${_D}/config.sub; \ done .endif .if defined(HAS_CONFIGURE) @(cd ${CONFIGURE_WRKSRC} && \ ${SET_LATE_CONFIGURE_ARGS} \ if ! ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \ CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \ INSTALL="/usr/bin/install -c" \ INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_LIB="${INSTALL_LIB}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}; then \ ${ECHO_MSG} "===> Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \ (${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \ ${FALSE}; \ fi) .endif .endif # Build # XXX: ${MAKE_ARGS:N${DESTDIRNAME}=*} would be easier but it is not valid with the old fmake DO_MAKE_BUILD?= ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g} .if !target(do-build) do-build: @(cd ${BUILD_WRKSRC}; if ! ${DO_MAKE_BUILD} ${ALL_TARGET}; then \ if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \ ${ECHO_MSG} "===> Compilation failed unexpectedly."; \ (${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") | ${FMT} 75 79 ; \ fi; \ ${FALSE}; \ fi) .endif # Check conflicts .if !target(check-conflicts) check-conflicts: check-build-conflicts check-install-conflicts .endif .if !target(check-build-conflicts) check-build-conflicts: .if ( defined(CONFLICTS) || defined(CONFLICTS_BUILD) ) && !defined(DISABLE_CONFLICTS) && !defined(DEFER_CONFLICTS_CHECK) @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_BUILD:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " They will not build together."; \ ${ECHO_MSG} " Please remove them first with pkg delete."; \ exit 1;\ fi .endif .endif .if !target(identify-install-conflicts) identify-install-conflicts: .if ( defined(CONFLICTS) || defined(CONFLICTS_INSTALL) ) && !defined(DISABLE_CONFLICTS) @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " They install files into the same place."; \ ${ECHO_MSG} " You may want to stop build with Ctrl + C."; \ sleep 10; \ fi .endif .endif .if !target(check-install-conflicts) check-install-conflicts: .if ( defined(CONFLICTS) || defined(CONFLICTS_INSTALL) || ( defined(CONFLICTS_BUILD) && defined(DEFER_CONFLICTS_CHECK) ) ) && !defined(DISABLE_CONFLICTS) .if defined(DEFER_CONFLICTS_CHECK) @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_BUILD:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " Please remove them first with pkg delete."; \ exit 1; \ fi .else @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " They install files into the same place."; \ ${ECHO_MSG} " Please remove them first with pkg delete."; \ exit 1; \ fi .endif # defined(DEFER_CONFLICTS_CHECK) .endif .endif # Install .if !target(do-install) && !defined(NO_INSTALL) do-install: @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${FAKEROOT} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .endif # Package .if !target(do-package) PKG_CREATE_ARGS= -r ${STAGEDIR} -m ${METADIR} -p ${TMPPLIST} do-package: create-manifest do-package: ${TMPPLIST} @if [ -d ${PACKAGES} ]; then \ if [ ! -d ${PKGREPOSITORY} ]; then \ if ! ${MKDIR} ${PKGREPOSITORY}; then \ ${ECHO_MSG} "=> Can't create directory ${PKGREPOSITORY}."; \ exit 1; \ fi; \ fi; \ fi @for cat in ${CATEGORIES}; do \ ${RM} -f ${PACKAGES}/$$cat/${PKGNAMEPREFIX}${PORTNAME}*${PKG_SUFX} ; \ done @${MKDIR} ${WRKDIR}/pkg @if ${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CREATE} ${PKG_CREATE_ARGS} -f ${PKG_SUFX:S/.//} -o ${WRKDIR}/pkg ${PKGNAME}; then \ if [ -d ${PKGREPOSITORY} -a -w ${PKGREPOSITORY} ]; then \ ${LN} -f ${WRKDIR_PKGFILE} ${PKGFILE} 2>/dev/null \ || ${CP} -f ${WRKDIR_PKGFILE} ${PKGFILE}; \ if [ "${PKGORIGIN}" = "ports-mgmt/pkg" -o "${PKGORIGIN}" = "ports-mgmt/pkg-devel" ]; then \ if [ ! -d ${PKGLATESTREPOSITORY} ]; then \ if ! ${MKDIR} ${PKGLATESTREPOSITORY}; then \ ${ECHO_MSG} "=> Can't create directory ${PKGLATESTREPOSITORY}."; \ exit 1; \ fi; \ fi ; \ ${LN} -sf ../${PKGREPOSITORYSUBDIR}/${PKGNAME}${PKG_SUFX} ${PKGLATESTFILE} ; \ fi; \ fi; \ else \ cd ${.CURDIR} && eval ${MAKE} delete-package >/dev/null; \ exit 1; \ fi .endif # Some support rules for do-package .if !target(delete-package) delete-package: @${ECHO_MSG} "===> Deleting package for ${PKGNAME}" # When staging, the package may only be in the workdir if not root @${RM} -f ${PKGFILE} ${WRKDIR_PKGFILE} 2>/dev/null || : .endif .if !target(delete-package-list) delete-package-list: @${ECHO_CMD} "[ -f ${PKGFILE} ] && (${ECHO_CMD} deleting ${PKGFILE}; ${RM} -f ${PKGFILE})" .endif # Used by scripts and users to install a package from local repository. # Poudriere -i uses this, please keep. .if !target(install-package) .if defined(FORCE_PKG_REGISTER) _INSTALL_PKG_ARGS= -f .endif .if defined(INSTALLS_DEPENDS) _INSTALL_PKG_ARGS+= -A .endif install-package: @if [ -f "${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX}" ]; then \ _pkgfile="${WRKDIR_PKGFILE}"; \ else \ _pkgfile="${PKGFILE}"; \ fi; \ ${PKG_ADD} ${_INSTALL_PKG_ARGS} $${_pkgfile} .endif # Utility targets follow .if !target(check-already-installed) .if !defined(NO_PKG_REGISTER) && !defined(FORCE_PKG_REGISTER) check-already-installed: @${ECHO_MSG} "===> Checking if ${PKGBASE} already installed"; \ pkgname=`${PKG_INFO} -q -O ${PKGBASE}`; \ if [ -n "$${pkgname}" ]; then \ v=`${PKG_VERSION} -t $${pkgname} ${PKGNAME}`; \ if [ "$${v}" = "<" ]; then \ ${ECHO_CMD} "===> An older version of ${PKGBASE} is already installed ($${pkgname})"; \ else \ ${ECHO_CMD} "===> ${PKGNAME} is already installed"; \ fi; \ ${ECHO_MSG} " You may wish to \`\`make deinstall'' and install this port again"; \ ${ECHO_MSG} " by \`\`make reinstall'' to upgrade it properly."; \ ${ECHO_MSG} " If you really wish to overwrite the old port of ${PKGBASE}"; \ ${ECHO_MSG} " without deleting it first, set the variable \"FORCE_PKG_REGISTER\""; \ ${ECHO_MSG} " in your environment or the \"make install\" command line."; \ exit 1; \ fi .endif .endif .if !target(check-umask) check-umask: @if [ `${SH} -c umask` != 0022 ]; then \ ${ECHO_MSG} "===> Warning: your umask is \"`${SH} -c umask`"\".; \ ${ECHO_MSG} " If this is not desired, set it to an appropriate value"; \ ${ECHO_MSG} " and install this port again by \`\`make reinstall''."; \ fi .endif .if !target(install-mtree) install-mtree: @${DO_NADA} .endif .if !target(install-ldconfig-file) install-ldconfig-file: .if defined(USE_LDCONFIG) || defined(USE_LDCONFIG32) .if defined(USE_LDCONFIG) .if defined(USE_LINUX_PREFIX) .else .if ${USE_LDCONFIG} != "${LOCALBASE}/lib" && !defined(INSTALL_AS_USER) @${ECHO_MSG} "===> Installing ldconfig configuration file" .if defined(NO_MTREE) || ${PREFIX} != ${LOCALBASE} @${MKDIR} ${STAGEDIR}${LOCALBASE}/${LDCONFIG_DIR} .endif @${ECHO_CMD} ${USE_LDCONFIG} | ${TR} ' ' '\n' \ - > ${STAGEDIR}${LOCALBASE}/${LDCONFIG_DIR}/${UNIQUENAME} - @${ECHO_CMD} ${LOCALBASE}/${LDCONFIG_DIR}/${UNIQUENAME} >> ${TMPPLIST} + > ${STAGEDIR}${LOCALBASE}/${LDCONFIG_DIR}/${PKGBASE} + @${ECHO_CMD} ${LOCALBASE}/${LDCONFIG_DIR}/${PKGBASE} >> ${TMPPLIST} .endif .endif .endif .if defined(USE_LDCONFIG32) .if !defined(INSTALL_AS_USER) @${ECHO_MSG} "===> Installing 32-bit ldconfig configuration file" .if defined(NO_MTREE) || ${PREFIX} != ${LOCALBASE} @${MKDIR} ${STAGEDIR}${LOCALBASE}/${LDCONFIG32_DIR} .endif @${ECHO_CMD} ${USE_LDCONFIG32} | ${TR} ' ' '\n' \ - > ${STAGEDIR}${LOCALBASE}/${LDCONFIG32_DIR}/${UNIQUENAME} - @${ECHO_CMD} ${LOCALBASE}/${LDCONFIG32_DIR}/${UNIQUENAME} >> ${TMPPLIST} + > ${STAGEDIR}${LOCALBASE}/${LDCONFIG32_DIR}/${PKGBASE} + @${ECHO_CMD} ${LOCALBASE}/${LDCONFIG32_DIR}/${PKGBASE} >> ${TMPPLIST} .endif .endif .endif .endif .if !target(create-users-groups) .if defined(GROUPS) || defined(USERS) _UG_OUTPUT= ${WRKDIR}/users-groups.sh PKGPREINSTALL+= ${_UG_OUTPUT} create-users-groups: .if defined(GROUPS) .for _file in ${GID_FILES} .if !exists(${_file}) @${ECHO_CMD} "** ${_file} doesn't exist. Exiting."; exit 1 .endif .endfor @${RM} -f ${_UG_OUTPUT} || ${TRUE} @${ECHO_MSG} "===> Creating users and/or groups." @${ECHO_CMD} "echo \"===> Creating users and/or groups.\"" >> ${_UG_OUTPUT} .for _group in ${GROUPS} # _bgpd:*:130: @if ! ${GREP} -h ^${_group}: ${GID_FILES} >/dev/null 2>&1; then \ ${ECHO_CMD} "** Cannot find any information about group \`${_group}' in ${GID_FILES}."; \ exit 1; \ fi @IFS=":"; ${GREP} -h ^${_group}: ${GID_FILES} | head -n 1 | while read group foo gid members; do \ gid=$$(($$gid+${GID_OFFSET})); \ ${ECHO_CMD} -e "if ! ${PW} groupshow $$group >/dev/null 2>&1; then \n \ echo \"Creating group '$$group' with gid '$$gid'.\" \n \ ${PW} groupadd $$group -g $$gid; else echo \"Using existing group '$$group'.\"\nfi" >> ${_UG_OUTPUT}; \ done .endfor .endif .if defined(USERS) .for _file in ${UID_FILES} .if !exists(${_file}) @${ECHO_CMD} "** ${_file} doesn't exist. Exiting."; exit 1 .endif .endfor .for _user in ${USERS} # _bgpd:*:130:130:BGP Daemon:/var/empty:/sbin/nologin @if ! ${GREP} -h ^${_user}: ${UID_FILES} >/dev/null 2>&1; then \ ${ECHO_CMD} "** Cannot find any information about user \`${_user}' in ${UID_FILES}."; \ exit 1; \ fi @IFS=":"; ${GREP} -h ^${_user}: ${UID_FILES} | head -n 1 | while read login passwd uid gid class change expire gecos homedir shell; do \ uid=$$(($$uid+${UID_OFFSET})); \ gid=$$(($$gid+${GID_OFFSET})); \ class="$${class:+-L }$$class"; \ homedir=$$(echo $$homedir | sed "s|^/usr/local|${PREFIX}|"); \ ${ECHO_CMD} -e "if ! ${PW} usershow $$login >/dev/null 2>&1; then \n \ echo \"Creating user '$$login' with uid '$$uid'.\" \n \ ${PW} useradd $$login -u $$uid -g $$gid $$class -c \"$$gecos\" -d $$homedir -s $$shell \n \ else \necho \"Using existing user '$$login'.\" \nfi" >> ${_UG_OUTPUT}; \ case $$homedir in /|/nonexistent|/var/empty) ;; *) ${ECHO_CMD} "${INSTALL} -d -g $$gid -o $$uid $$homedir" >> ${_UG_OUTPUT};; esac; \ done .endfor .if defined(GROUPS) .for _group in ${GROUPS} # mail:*:6:postfix,clamav @IFS=":"; ${GREP} -h ^${_group}: ${GID_FILES} | head -n 1 | while read group foo gid members; do \ gid=$$(($$gid+${GID_OFFSET})); \ IFS=","; for _login in $$members; do \ for _user in ${USERS}; do \ if [ "x$${_user}" = "x$${_login}" ]; then \ ${ECHO_CMD} -e "if ! ${PW} groupshow ${_group} | ${GREP} -qw $${_login}; then \n \ echo \"Adding user '$${_login}' to group '${_group}'.\" \n \ ${PW} groupmod ${_group} -m $${_login} \nfi" >> ${_UG_OUTPUT}; \ fi; \ done; \ done; \ done .endfor .endif .if defined(USERS) .for _user in ${USERS} @if [ ! ${USERS_BLACKLIST:M${_user}} ]; then \ ${ECHO_CMD} "@unexec if ${PW} usershow ${_user} >/dev/null 2>&1; then \ echo \"==> You should manually remove the \\\"${_user}\\\" user. \"; fi" >> ${TMPPLIST}; \ fi .endfor .endif .endif .endif .endif .if !defined(DISABLE_SECURITY_CHECK) .if !target(security-check) security-check: ${TMPPLIST} # Scan PLIST for: # 1. setugid files # 2. accept()/recvfrom() which indicates network listening capability # 3. insecure functions (gets/mktemp/tempnam/[XXX]) # 4. startup scripts, in conjunction with 2. # 5. world-writable files/dirs # -@${RM} -f ${WRKDIR}/.PLIST.setuid ${WRKDIR}/.PLIST.writable ${WRKDIR}/.PLIST.objdump; \ ${AWK} -v prefix='${PREFIX}' ' \ match($$0, /^@cwd /) { prefix = substr($$0, RSTART + RLENGTH); if (prefix == "/") prefix=""; next; } \ /^@/ { next; } \ /^\// { print; next; } \ { print prefix "/" $$0; } \ ' ${TMPPLIST} > ${WRKDIR}/.PLIST.flattened; \ ${TR} '\n' '\0' < ${WRKDIR}/.PLIST.flattened \ | ${XARGS} -0 -J % ${FIND} % -prune ! -type l -type f \( -perm -4000 -o -perm -2000 \) \( -perm -0010 -o -perm -0001 \) 2> /dev/null > ${WRKDIR}/.PLIST.setuid; \ ${TR} '\n' '\0' < ${WRKDIR}/.PLIST.flattened \ | ${XARGS} -0 -J % ${FIND} % -prune -perm -0002 \! -type l 2> /dev/null > ${WRKDIR}/.PLIST.writable; \ ${TR} '\n' '\0' < ${WRKDIR}/.PLIST.flattened \ | ${XARGS} -0 -J % ${FIND} % -prune ! -type l -type f -print0 2> /dev/null \ | ${XARGS} -0 -n 1 ${OBJDUMP} -R 2> /dev/null > ${WRKDIR}/.PLIST.objdump; \ if \ ! ${AWK} -v audit="$${PORTS_AUDIT}" -f ${SCRIPTSDIR}/security-check.awk \ ${WRKDIR}/.PLIST.flattened ${WRKDIR}/.PLIST.objdump ${WRKDIR}/.PLIST.setuid ${WRKDIR}/.PLIST.writable; \ then \ www_site=$$(cd ${.CURDIR} && ${MAKE} www-site); \ if [ ! -z "$${www_site}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} " For more information, and contact details about the security"; \ ${ECHO_MSG} " status of this software, see the following webpage: "; \ ${ECHO_MSG} "$${www_site}"; \ fi; \ fi .endif .else # i.e. defined(DISABLE_SECURITY_CHECK) security-check: @${ECHO_MSG} " WARNING: Security check has been disabled." .endif # !defined(DISABLE_SECURITY_CHECK) ################################################################ # Skeleton targets start here # # You shouldn't have to change these. Either add the pre-* or # post-* targets/scripts or redefine the do-* targets. These # targets don't do anything other than checking for cookies and # call the necessary targets/scripts. ################################################################ extract-message: @${ECHO_MSG} "===> Extracting for ${PKGNAME}" patch-message: @${ECHO_MSG} "===> Patching for ${PKGNAME}" configure-message: @${ECHO_MSG} "===> Configuring for ${PKGNAME}" build-message: @${ECHO_MSG} "===> Building for ${PKGNAME}" stage-message: @${ECHO_MSG} "===> Staging for ${PKGNAME}" install-message: @${ECHO_MSG} "===> Installing for ${PKGNAME}" package-message: @${ECHO_MSG} "===> Building package for ${PKGNAME}" # Empty pre-* and post-* targets .for stage in pre post .for name in pkg check-sanity fetch extract patch configure build stage install package .if exists(${SCRIPTDIR}/${stage}-${name}) .if !target(${stage}-${name}-script) ${stage}-${name}-script: @ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ ${SCRIPTDIR}/${.TARGET:S/-script$//} .endif .endif .endfor .endfor .if !target(pretty-print-www-site) pretty-print-www-site: @www_site=$$(cd ${.CURDIR} && ${MAKE} www-site); \ if [ -n "$${www_site}" ]; then \ ${ECHO_MSG} -n " and/or visit the "; \ ${ECHO_MSG} -n "web site"; \ ${ECHO_MSG} " for further information"; \ fi .endif ################################################################ # Some more targets supplied for users' convenience ################################################################ # Checkpatch # # Special target to verify patches .if !target(checkpatch) checkpatch: @cd ${.CURDIR} && ${MAKE} ${PATCH_SILENT} PATCH_CHECK_ONLY=yes ${_PATCH_DEP} ${_PATCH_REAL_SEQ} .endif # Reinstall # # Special target to re-run install .if !target(reinstall) reinstall: @${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE} @cd ${.CURDIR} && DEPENDS_TARGET="${DEPENDS_TARGET}" ${MAKE} -DFORCE_PKG_REGISTER install .endif .if !target(restage) restage: @${RM} -rf ${STAGEDIR} ${STAGE_COOKIE} ${INSTALL_COOKIE} ${PACKAGE_COOKIE} @cd ${.CURDIR} && ${MAKE} stage .endif # Deinstall # # Special target to remove installation .if !target(deinstall) deinstall: .if defined(UID) && ${UID} != 0 && !defined(INSTALL_AS_USER) @${ECHO_MSG} "===> Switching to root credentials for '${.TARGET}' target" @cd ${.CURDIR} && \ ${SU_CMD} "${MAKE} ${.TARGET}" @${ECHO_MSG} "===> Returning to user credentials" .else @${ECHO_MSG} "===> Deinstalling for ${PKGBASE}" @if ${PKG_INFO} -e ${PKGBASE}; then \ p=`${PKG_INFO} -q -O ${PKGBASE}`; \ ${ECHO_MSG} "===> Deinstalling $${p}"; \ ${PKG_DELETE} -f ${PKGBASE} ; \ else \ ${ECHO_MSG} "===> ${PKGBASE} not installed, skipping"; \ fi @${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE} .endif .endif # Deinstall-all # # Special target to remove installation of all ports of the same origin .if !target(deinstall-all) deinstall-all: .if ${UID} != 0 && !defined(INSTALL_AS_USER) @${ECHO_MSG} "===> Switching to root credentials for '${.TARGET}' target" @cd ${.CURDIR} && \ ${SU_CMD} "${MAKE} ${.TARGET}" @${ECHO_MSG} "===> Returning to user credentials" .else @${ECHO_MSG} "===> Deinstalling for ${PKGORIGIN}" @deinstall_names=`${PKG_INFO} -q -O ${PKGORIGIN}`; \ for oldpkgorigin in $$(${GREP} "|${PKGORIGIN}|" ${PORTSDIR}/MOVED | ${CUT} -f 1 -d '|' | ${SORT} -u); do \ deinstall_names="$${deinstall_names} $$(${PKG_INFO} -q -O $${oldpkgorigin})"; \ done; \ if [ -n "$${deinstall_names}" ]; then \ for d in $${deinstall_names}; do \ ${ECHO_MSG} "===> Deinstalling $${d}"; \ ${PKG_DELETE} -f $${d}; \ done; \ else \ ${ECHO_MSG} "===> ${PKGORIGIN} not installed, skipping"; \ fi; \ ${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE} .endif .endif # Cleaning up .if !target(do-clean) do-clean: @if [ -d ${WRKDIR} ]; then \ if [ -w ${WRKDIR} ]; then \ ${RM} -rf ${WRKDIR}; \ else \ ${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \ fi; \ fi .endif .if !target(clean) clean: .if !defined(NOCLEANDEPENDS) @cd ${.CURDIR} && ${MAKE} limited-clean-depends .endif @${ECHO_MSG} "===> Cleaning for ${PKGNAME}" .if target(pre-clean) @cd ${.CURDIR} && ${MAKE} pre-clean .endif @cd ${.CURDIR} && ${MAKE} do-clean .if target(post-clean) @cd ${.CURDIR} && ${MAKE} post-clean .endif .endif .if !target(pre-distclean) pre-distclean: @${DO_NADA} .endif .if !target(distclean) distclean: pre-distclean clean @cd ${.CURDIR} && ${MAKE} delete-distfiles RESTRICTED_FILES="${_DISTFILES} ${_PATCHFILES}" .endif .if !target(delete-distfiles) delete-distfiles: @${ECHO_MSG} "===> Deleting distfiles for ${PKGNAME}" @(if [ "X${RESTRICTED_FILES}" != "X" -a -d ${_DISTDIR} ]; then \ cd ${_DISTDIR}; \ for file in ${RESTRICTED_FILES}; do \ ${RM} -f $${file}; \ dir=$${file%/*}; \ if [ "$${dir}" != "$${file}" ]; then \ ${RMDIR} -p $${dir} >/dev/null 2>&1 || :; \ fi; \ done; \ fi) .if defined(DIST_SUBDIR) -@${RMDIR} ${_DISTDIR} >/dev/null 2>&1 || ${TRUE} .endif .endif .if !target(delete-distfiles-list) delete-distfiles-list: @${ECHO_CMD} "# ${PKGNAME}" @if [ "X${RESTRICTED_FILES}" != "X" ]; then \ for file in ${RESTRICTED_FILES}; do \ ${ECHO_CMD} "[ -f ${_DISTDIR}/$$file ] && (${ECHO_CMD} deleting ${_DISTDIR}/$$file; ${RM} -f ${_DISTDIR}/$$file)"; \ dir=$${file%/*}; \ if [ "$${dir}" != "$${file}" ]; then \ ${ECHO_CMD} "(cd ${_DISTDIR} && ${RMDIR} -p $${dir} 2>/dev/null)"; \ fi; \ done; \ fi .if defined(DIST_SUBDIR) @${ECHO_CMD} "${RMDIR} ${_DISTDIR} 2>/dev/null || ${TRUE}" .endif .endif # Prints out a list of files to fetch (useful to do a batch fetch) .if !target(fetch-list) fetch-list: @${MKDIR} ${_DISTDIR} @(cd ${_DISTDIR}; \ ${_MASTER_SITES_ENV} ; \ for _file in ${DISTFILES}; do \ file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^:]+$$//'` ; \ if [ $$_file = $$file ]; then \ select=''; \ else \ select=`${ECHO_CMD} $${_file##*:} | ${SED} -e 's/,/ /g'` ; \ fi; \ if [ ! -f $$file -a ! -f $${file##*/} ]; then \ if [ ! -z "$$select" ] ; then \ __MASTER_SITES_TMP= ; \ for group in $$select; do \ if [ ! -z \$${_MASTER_SITES_$${group}} ] ; then \ eval ___MASTER_SITES_TMP=\$${_MASTER_SITES_$${group}} ; \ __MASTER_SITES_TMP="$${__MASTER_SITES_TMP} $${___MASTER_SITES_TMP}" ; \ fi; \ done; \ ___MASTER_SITES_TMP= ; \ SORTED_MASTER_SITES_CMD_TMP="${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} $${__MASTER_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_MASTER_SITES_CMD_TMP="${SORTED_MASTER_SITES_DEFAULT_CMD}" ; \ fi; \ for site in `eval $$SORTED_MASTER_SITES_CMD_TMP ${_RANDOMIZE_SITES}`; do \ if [ ! -z "`${ECHO_CMD} ${NOFETCHFILES} | ${GREP} -w $${file}`" ]; then \ if [ -z "`${ECHO_CMD} ${MASTER_SITE_OVERRIDE} | ${GREP} -w $${site}`" ]; then \ continue; \ fi; \ fi; \ DIR=${DIST_SUBDIR};\ CKSIZE=`alg=SIZE; ${DISTINFO_DATA}`; \ case $${file} in \ */*) args="-o $${file} $${site}$${file}";; \ *) args=$${site}$${file};; \ esac; \ ${ECHO_CMD} -n ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${args} "${FETCH_AFTER_ARGS}" '|| ' ; \ done; \ ${ECHO_CMD} "${ECHO_CMD} $${file} not fetched" ; \ fi; \ done) .if defined(PATCHFILES) @(cd ${_DISTDIR}; \ ${_PATCH_SITES_ENV} ; \ for _file in ${PATCHFILES}; do \ file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^-:][^:]*$$//'` ; \ if [ $$_file = $$file ]; then \ select=''; \ else \ select=`${ECHO_CMD} $${_file##*:} | ${SED} -e 's/,/ /g'` ; \ fi; \ file=`${ECHO_CMD} $$file | ${SED} -E -e 's/:-[^:]+$$//'` ; \ if [ ! -f $$file -a ! -f $${file##*/} ]; then \ if [ ! -z "$$select" ] ; then \ __PATCH_SITES_TMP= ; \ for group in $$select; do \ if [ ! -z \$${_PATCH_SITES_$${group}} ] ; then \ eval ___PATCH_SITES_TMP=\$${_PATCH_SITES_$${group}} ; \ __PATCH_SITES_TMP="$${__PATCH_SITES_TMP} $${___PATCH_SITES_TMP}" ; \ fi; \ done; \ ___PATCH_SITES_TMP= ; \ SORTED_PATCH_SITES_CMD_TMP="${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} $${__PATCH_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_PATCH_SITES_CMD_TMP="${SORTED_PATCH_SITES_DEFAULT_CMD}" ; \ fi; \ for site in `eval $$SORTED_PATCH_SITES_CMD_TMP ${_RANDOMIZE_SITES}`; do \ CKSIZE=`alg=SIZE; ${DISTINFO_DATA}`; \ case $${file} in \ */*) args="-o $${file} $${site}$${file}";; \ *) args=$${site}$${file};; \ esac; \ ${ECHO_CMD} -n ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${args} "${FETCH_AFTER_ARGS}" '|| ' ; \ done; \ ${ECHO_CMD} "${ECHO_CMD} $${file} not fetched" ; \ fi; \ done) .endif .endif .if !target(fetch-url-list-int) fetch-url-list-int: @${MKDIR} ${_DISTDIR} @(cd ${_DISTDIR}; \ ${_MASTER_SITES_ENV}; \ for _file in ${DISTFILES}; do \ file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^:]+$$//'` ; \ fileptn=`${ECHO_CMD} $$file | ${SED} 's|/|\\\\/|g;s/\./\\\\./g;s/\+/\\\\+/g;s/\?/\\\\?/g'` ; \ if [ $$_file = $$file ]; then \ select=''; \ else \ select=`${ECHO_CMD} $${_file##*:} | ${SED} -e 's/,/ /g'` ; \ fi; \ if [ ! -z "${LISTALL}" -o ! -f $$file -a ! -f $${file##*/} ]; then \ if [ ! -z "$$select" ] ; then \ __MASTER_SITES_TMP= ; \ for group in $$select; do \ if [ ! -z \$${_MASTER_SITES_$${group}} ] ; then \ eval ___MASTER_SITES_TMP=\$${_MASTER_SITES_$${group}} ; \ __MASTER_SITES_TMP="$${__MASTER_SITES_TMP} $${___MASTER_SITES_TMP}" ; \ fi \ done; \ ___MASTER_SITES_TMP= ; \ SORTED_MASTER_SITES_CMD_TMP="${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} $${__MASTER_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_MASTER_SITES_CMD_TMP="${SORTED_MASTER_SITES_DEFAULT_CMD}" ; \ fi ; \ for site in `eval $$SORTED_MASTER_SITES_CMD_TMP ${_RANDOMIZE_SITES}`; do \ case $${file} in \ */*) args="-o $${file} $${site}$${file}";; \ *) args=$${site}$${file};; \ esac; \ ${ECHO_CMD} $${args} ; \ done; \ fi \ done) .if defined(PATCHFILES) @(cd ${_DISTDIR}; \ ${_PATCH_SITES_ENV} ; \ for _file in ${PATCHFILES}; do \ file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^-:][^:]*$$//'` ; \ if [ $$_file = $$file ]; then \ select=''; \ else \ select=`${ECHO_CMD} $${_file##*:} | ${SED} -e 's/,/ /g'` ; \ fi; \ file=`${ECHO_CMD} $$file | ${SED} -E -e 's/:-[^:]+$$//'` ; \ fileptn=`${ECHO_CMD} $$file | ${SED} 's|/|\\\\/|g;s/\./\\\\./g;s/\+/\\\\+/g;s/\?/\\\\?/g'` ; \ if [ ! -z "${LISTALL}" -o ! -f $$file -a ! -f $${file##*/} ]; then \ if [ ! -z "$$select" ] ; then \ __PATCH_SITES_TMP= ; \ for group in $$select; do \ if [ ! -z \$${_PATCH_SITES_$${group}} ] ; then \ eval ___PATCH_SITES_TMP=\$${_PATCH_SITES_$${group}} ; \ __PATCH_SITES_TMP="$${__PATCH_SITES_TMP} $${___PATCH_SITES_TMP}" ; \ fi \ done; \ ___PATCH_SITES_TMP= ; \ SORTED_PATCH_SITES_CMD_TMP="${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} $${__PATCH_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_PATCH_SITES_CMD_TMP="${SORTED_PATCH_SITES_DEFAULT_CMD}" ; \ fi ; \ for site in `eval $$SORTED_PATCH_SITES_CMD_TMP ${_RANDOMIZE_SITES}`; do \ case $${file} in \ */*) args="-o $${file} $${site}$${file}";; \ *) args=$${site}$${file};; \ esac; \ ${ECHO_CMD} $${args} ; \ done; \ fi \ done) .endif .endif .if !target(fetch-urlall-list) fetch-urlall-list: @cd ${.CURDIR} && LISTALL=yes ${MAKE} fetch-url-list-int .endif .if !target(fetch-url-list) fetch-url-list: fetch-url-list-int .endif # Generates patches. update-patches: @toedit=`PATCH_WRKSRC=${PATCH_WRKSRC} \ PATCHDIR=${PATCHDIR} \ PATCH_LIST=${PATCHDIR}/patch-* \ DIFF_ARGS=${DIFF_ARGS} \ DISTORIG=${DISTORIG} \ ${SH} ${PORTSDIR}/Tools/scripts/update-patches`; \ case $$toedit in "");; \ *) ${ECHO_CMD} -n 'edit patches: '; read i; \ cd ${PATCHDIR} && $${VISUAL:-$${EDIT:-/usr/bin/vi}} $$toedit;; esac # Checksumming utilities check-checksum-algorithms: @ \ ${checksum_init} \ \ for alg in ${CHECKSUM_ALGORITHMS:tu}; do \ eval alg_executable=\$$$$alg; \ if [ -z "$$alg_executable" ]; then \ ${ECHO_MSG} "Checksum algorithm $$alg: Couldn't find the executable."; \ ${ECHO_MSG} "Set $$alg=/path/to/$$alg in /etc/make.conf and try again."; \ exit 1; \ fi; \ done; \ checksum_init=\ SHA256=${SHA256}; .if !target(makesum) makesum: check-checksum-algorithms @cd ${.CURDIR} && ${MAKE} fetch NO_CHECKSUM=yes \ DISABLE_SIZE=yes @if [ -f ${DISTINFO_FILE} ]; then ${CAT} /dev/null > ${DISTINFO_FILE}; fi @( \ cd ${DISTDIR}; \ \ ${checksum_init} \ \ for file in ${_CKSUMFILES}; do \ for alg in ${CHECKSUM_ALGORITHMS:tu}; do \ eval alg_executable=\$$$$alg; \ \ if [ $$alg_executable != "NO" ]; then \ $$alg_executable $$file >> ${DISTINFO_FILE}; \ fi; \ done; \ ${ECHO_CMD} "SIZE ($$file) = `${STAT} -f \"%z\" $$file`" >> ${DISTINFO_FILE}; \ done \ ) .endif .if !target(checksum) checksum: fetch check-checksum-algorithms @set -e ; \ ${checksum_init} \ if [ -f ${DISTINFO_FILE} ]; then \ cd ${DISTDIR}; OK="";\ for file in ${_CKSUMFILES}; do \ ignored="true"; \ _file=$${file#${DIST_SUBDIR}/*}; \ for alg in ${CHECKSUM_ALGORITHMS:tu}; do \ ignore="false"; \ eval alg_executable=\$$$$alg; \ \ if [ $$alg_executable != "NO" ]; then \ MKSUM=`$$alg_executable < $$file`; \ CKSUM=`file=$$_file; ${DISTINFO_DATA}`; \ else \ ignore="true"; \ fi; \ \ if [ $$ignore = "false" -a -z "$$CKSUM" ]; then \ ${ECHO_MSG} "=> No $$alg checksum recorded for $$file."; \ ignore="true"; \ fi; \ \ if [ $$ignore = "false" ]; then \ match="false"; \ for chksum in $$CKSUM; do \ if [ "$$chksum" = "$$MKSUM" ]; then \ match="true"; \ break; \ fi; \ done; \ if [ $$match = "true" ]; then \ ${ECHO_MSG} "=> $$alg Checksum OK for $$file."; \ ignored="false"; \ else \ ${ECHO_MSG} "=> $$alg Checksum mismatch for $$file."; \ refetchlist="$$refetchlist$$file "; \ OK="$${OK:-retry}"; \ [ "$${OK}" = "retry" -a ${FETCH_REGET} -gt 0 ] && ${RM} -f $${file}; \ ignored="false"; \ fi; \ fi; \ done; \ \ if [ $$ignored = "true" ]; then \ ${ECHO_MSG} "=> No suitable checksum found for $$file."; \ OK="${FALSE}"; \ fi; \ \ done; \ \ if [ "$${OK:=true}" = "retry" ] && [ ${FETCH_REGET} -gt 0 ]; then \ ${ECHO_MSG} "===> Refetch for ${FETCH_REGET} more times files: $$refetchlist"; \ if ( cd ${.CURDIR} && \ ${MAKE} ${.MAKEFLAGS} FORCE_FETCH="$$refetchlist" FETCH_REGET="`${EXPR} ${FETCH_REGET} - 1`" fetch); then \ if ( cd ${.CURDIR} && \ ${MAKE} ${.MAKEFLAGS} FETCH_REGET="`${EXPR} ${FETCH_REGET} - 1`" checksum ); then \ OK="true"; \ fi; \ fi; \ fi; \ \ if [ "$$OK" != "true" -a ${FETCH_REGET} -eq 0 ]; then \ ${ECHO_MSG} "===> Giving up on fetching files: $$refetchlist"; \ ${ECHO_MSG} "Make sure the Makefile and distinfo file (${DISTINFO_FILE})"; \ ${ECHO_MSG} "are up to date. If you are absolutely sure you want to override this"; \ ${ECHO_MSG} "check, type \"make NO_CHECKSUM=yes [other args]\"."; \ exit 1; \ fi; \ if [ "$$OK" != "true" ]; then \ exit 1; \ fi; \ elif [ -n "${_CKSUMFILES:M*}" ]; then \ ${ECHO_MSG} "=> No checksum file (${DISTINFO_FILE})."; \ exit 1; \ fi .endif ################################################################ # The special package-building targets # You probably won't need to touch these ################################################################ # Nobody should want to override this unless PKGNAME is simply bogus. .if !target(package-name) package-name: @${ECHO_CMD} ${PKGNAME} .endif # Build a package but don't check the package cookie .if !target(repackage) repackage: pre-repackage package pre-repackage: @${RM} -f ${PACKAGE_COOKIE} .endif # Build a package but don't check the cookie for installation, also don't # install package cookie .if !target(package-noinstall) package-noinstall: package .endif ################################################################ # Dependency checking ################################################################ .if !target(depends) depends: pkg-depends extract-depends patch-depends lib-depends fetch-depends build-depends run-depends .for deptype in PKG EXTRACT PATCH FETCH BUILD LIB RUN ${deptype:tl}-depends: .if defined(${deptype}_DEPENDS) && !defined(NO_DEPENDS) @${SETENV} \ dp_RAWDEPENDS="${${deptype}_DEPENDS}" \ dp_DEPTYPE="${deptype}_DEPENDS" \ dp_DEPENDS_TARGET="${DEPENDS_TARGET}" \ dp_DEPENDS_PRECLEAN="${DEPENDS_PRECLEAN}" \ dp_DEPENDS_CLEAN="${DEPENDS_CLEAN}" \ dp_DEPENDS_ARGS="${DEPENDS_ARGS}" \ dp_USE_PACKAGE_DEPENDS="${USE_PACKAGE_DEPENDS}" \ dp_USE_PACKAGE_DEPENDS_ONLY="${USE_PACKAGE_DEPENDS_ONLY}" \ dp_PKG_ADD="${PKG_ADD}" \ dp_PKG_INFO="${PKG_INFO}" \ dp_WRKDIR="${WRKDIR}" \ dp_PKGNAME="${PKGNAME}" \ dp_STRICT_DEPENDS="${STRICT_DEPENDS}" \ dp_LOCALBASE="${LOCALBASE}" \ dp_LIB_DIRS="${LIB_DIRS}" \ dp_SH="${SH}" \ dp_SCRIPTSDIR="${SCRIPTSDIR}" \ dp_PORTSDIR="${PORTSDIR}" \ dp_MAKE="${MAKE}" \ ${SH} ${SCRIPTSDIR}/do-depends.sh .endif .endfor .endif # Dependency lists: both build and runtime, recursive. Print out directory names. _UNIFIED_DEPENDS=${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS} ${RUN_DEPENDS} _DEPEND_SPECIALS= ${_UNIFIED_DEPENDS:M*\:*\:*:C,^[^:]*:([^:]*):.*$,\1,} all-depends-list: @${ALL-DEPENDS-LIST} ALL-DEPENDS-LIST= \ ${SETENV} dp_ALLDEPENDS="${_UNIFIED_DEPENDS}" \ dp_PORTSDIR="${PORTSDIR}" \ dp_MAKE="${MAKE}" \ dp_PKGNAME="${PKGNAME}" \ dp_SCRIPTSDIR="${SCRIPTSDIR}" \ ${SH} ${SCRIPTSDIR}/all-depends-list.sh CLEAN-DEPENDS-LIST= \ ${SETENV} dp_ALLDEPENDS="${_UNIFIED_DEPENDS}" \ dp_PORTSDIR="${PORTSDIR}" \ dp_MAKE="${MAKE}" \ dp_PKGNAME="${PKGNAME}" \ dp_SCRIPTSDIR="${SCRIPTSDIR}" \ ${SH} ${SCRIPTSDIR}/clean-depends-list.sh .if !target(clean-depends) clean-depends: @for dir in $$(${CLEAN-DEPENDS-LIST} full); do \ (cd $$dir; ${MAKE} NOCLEANDEPENDS=yes clean); \ done .endif .if !target(limited-clean-depends) limited-clean-depends: @for dir in $$(${CLEAN-DEPENDS-LIST} limited); do \ (cd $$dir; ${MAKE} NOCLEANDEPENDS=yes clean); \ done .endif .if !target(deinstall-depends) deinstall-depends: @for dir in $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} deinstall); \ done .endif .if !target(fetch-specials) fetch-specials: @${ECHO_MSG} "===> Fetching all distfiles required by ${PKGNAME} for building" @for dir in ${_DEPEND_SPECIALS}; do \ (cd $$dir; ${MAKE} fetch); \ done .endif .if !target(fetch-recursive) fetch-recursive: @${ECHO_MSG} "===> Fetching all distfiles for ${PKGNAME} and dependencies" @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} fetch); \ done .endif .if !target(fetch-recursive-list) fetch-recursive-list: @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} fetch-list); \ done .endif # Used by fetch-required and fetch-required list, this script looks # at each of the dependencies. If 3 items are specified in the tuple, # such as foo:${PORTSDIR}/graphics/foo:extract, the first item (foo) # is examined. Only if it begins with a / and does not exist on the # file-system will ``make targ'' proceed. # For more usual (dual-item) dependency tuples, the ``make targ'' # proceeds, if the exact package, which the directory WOULD'VE installed, # is not yet installed. # This is the exact behaviour of the old code, and it may need # revisiting. For example, the entire first case seems dubious, and in # the second case we, probably, should be satisfied with _any_ (earlier) # package, with the same origin as that of the dir. # # -mi FETCH_LIST?= for i in $$deps; do \ prog=$${i%%:*}; dir=$${i\#*:}; \ case $$dir in \ *:*) if [ $$prog != $${prog\#/} -o ! -e $$prog ]; then \ dir=$${dir%%:*}; \ else \ continue; \ fi;; \ *) if [ -d ${PKG_DBDIR}/$$(cd $$dir; ${MAKE} -V PKGNAME) ]; then \ continue; \ fi;; \ esac; \ echo cd $$dir; cd $$dir; ${MAKE} $$targ; \ done .if !target(fetch-required) fetch-required: fetch .if defined(NO_DEPENDS) @${ECHO_MSG} "===> NO_DEPENDS is set, not fetching any other distfiles for ${PKGNAME}" .else @${ECHO_MSG} "===> Fetching all required distfiles for ${PKGNAME} and dependencies" .for deptype in PKG EXTRACT PATCH FETCH BUILD RUN .if defined(${deptype}_DEPENDS) @targ=fetch; deps="${${deptype}_DEPENDS}"; ${FETCH_LIST} .endif .endfor .endif .endif .if !target(fetch-required-list) fetch-required-list: fetch-list .if !defined(NO_DEPENDS) .for deptype in PKG EXTRACT PATCH FETCH BUILD RUN .if defined(${deptype}_DEPENDS) @targ=fetch-list; deps="${${deptype}_DEPENDS}"; ${FETCH_LIST} .endif .endfor .endif .endif .if !target(checksum-recursive) checksum-recursive: @${ECHO_MSG} "===> Fetching and checking checksums for ${PKGNAME} and dependencies" @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} checksum); \ done .endif # Dependency lists: build and runtime. Print out directory names. build-depends-list: .if defined(PKG_DEPENDS) || defined(EXTRACT_DEPENDS) || defined(PATCH_DEPENDS) || defined(FETCH_DEPENDS) || defined(BUILD_DEPENDS) || defined(LIB_DEPENDS) @${BUILD-DEPENDS-LIST} .endif BUILD-DEPENDS-LIST= \ for dir in $$(${ECHO_CMD} "${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS}" | ${SED} -E -e 's,([^: ]*):([^: ]*)(:[^ ]*)?,\2,g' -e 'y/ /\n/'| ${SORT} -u); do \ if [ -d $$dir ]; then \ ${ECHO_CMD} $$dir; \ else \ ${ECHO_MSG} "${PKGNAME}: \"$$dir\" non-existent -- dependency list incomplete" >&2; \ fi; \ done | ${SORT} -u run-depends-list: .if defined(LIB_DEPENDS) || defined(RUN_DEPENDS) @${RUN-DEPENDS-LIST} .endif RUN-DEPENDS-LIST= \ for dir in $$(${ECHO_CMD} "${_LIB_RUN_DEPENDS:C,.*:([^:]*).*,\1,}" | ${SED} -e 'y/ /\n/' | ${SORT} -u); do \ if [ -d $$dir ]; then \ ${ECHO_CMD} $$dir; \ else \ ${ECHO_MSG} "${PKGNAME}: \"$$dir\" non-existent -- dependency list incomplete" >&2; \ fi; \ done | ${SORT} -u # Package (recursive runtime) dependency list. Print out both directory names # and package names. package-depends-list: .if defined(CHILD_DEPENDS) || defined(LIB_DEPENDS) || defined(RUN_DEPENDS) @${PACKAGE-DEPENDS-LIST} .endif _LIB_RUN_DEPENDS= ${LIB_DEPENDS} ${RUN_DEPENDS} PACKAGE-DEPENDS-LIST?= \ if [ "${CHILD_DEPENDS}" ]; then \ installed=$$(${PKG_INFO} -qO ${PKGORIGIN} 2>/dev/null || \ ${TRUE}); \ if [ "$$installed" ]; then \ break; \ fi; \ if [ -z "$$installed" ]; then \ installed="${PKGNAME}"; \ fi; \ for pkgname in $$installed; do \ ${ECHO_CMD} "$$pkgname ${.CURDIR} ${PKGORIGIN}"; \ done; \ fi; \ checked="${PARENT_CHECKED}"; \ for dir in ${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,}; do \ dir=$$(${REALPATH} $$dir); \ if [ -d $$dir ]; then \ case $$checked in \ $$dir|$$dir\ *|*\ $$dir|*\ $$dir\ *) continue;; \ esac; \ childout=$$(cd $$dir; ${MAKE} CHILD_DEPENDS=yes PARENT_CHECKED="$$checked" package-depends-list); \ set -- $$childout; \ childdir=""; \ while [ $$\# != 0 ]; do \ childdir="$$childdir $$2"; \ ${ECHO_CMD} "$$1 $$2 $$3"; \ shift 3; \ done; \ checked="$$dir $$childdir $$checked"; \ else \ ${ECHO_MSG} "${PKGNAME}: \"$$dir\" non-existent -- dependency list incomplete" >&2; \ fi; \ done ACTUAL-PACKAGE-DEPENDS?= \ depfiles="" ; \ for lib in ${LIB_DEPENDS:C/\:.*//}; do \ depfiles="$$depfiles `${SETENV} LIB_DIRS="${LIB_DIRS}" LOCALBASE="${LOCALBASE}" ${SH} ${SCRIPTSDIR}/find-lib.sh $${lib}`" ; \ done ; \ ${SETENV} PKG_BIN="${PKG_BIN}" ${SH} ${SCRIPTSDIR}/actual-package-depends.sh $${depfiles} ${RUN_DEPENDS:C/(.*)\:.*/"\1"/} create-manifest: @${MKDIR} ${METADIR}; \ (\ echo "name: \"${PKGBASE}\"" ; \ echo "version: \"${PKGVERSION}\"" ; \ echo "origin: ${PKGORIGIN}" ; \ echo "comment: < ${MANIFESTF} @${ECHO_CMD} -n "options: {" >> ${MANIFESTF} .for opt in ${COMPLETE_OPTIONS_LIST} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="on" ; ${ECHO_MSG} -n " ${opt}: $${match:-off}," >> ${MANIFESTF} .endfor @${ECHO_CMD} "}" >> ${MANIFESTF} .if defined(PKG_NOTES) @${ECHO_CMD} -n "annotations: {" >> ${MANIFESTF} .for note in ${PKG_NOTES} @${ECHO_CMD} -n ' ${note}: "${PKG_NOTE_${note}:S/"/\"/g}",' >> ${MANIFESTF} .endfor @${ECHO_CMD} " }" >> ${MANIFESTF} .endif @[ -f ${PKGINSTALL} ] && ${CP} ${PKGINSTALL} ${METADIR}/+INSTALL; \ ${RM} -f ${METADIR}/+PRE_INSTALL ; \ for a in ${PKGPREINSTALL}; do \ [ -f $$a ] && ${CAT} $$a >> ${METADIR}/+PRE_INSTALL ; \ done ; \ ${RM} -f ${METADIR}/+POST_INSTALL ; \ for a in ${PKGPOSTINSTALL}; do \ [ -f $$a ] && ${CAT} $$a >> ${METADIR}/+POST_INSTALL ; \ done ; \ [ -f ${PKGDEINSTALL} ] && ${CP} ${PKGDEINSTALL} ${METADIR}/+DEINSTALL; \ ${RM} -f ${METADIR}/+PRE_DEINSTALL ; \ for a in ${PKGPREDEINSTALL}; do \ [ -f $$a ] && ${CAT} $$a >> ${METADIR}/+PRE_DEINSTALL ; \ done ; \ ${RM} -f ${METADIR}/+POST_DEINSTALL ; \ for a in ${PKGPOSTDEINSTALL}; do \ [ -f $$a ] && ${CAT} $$a >> ${METADIR}/+POST_DEINSTALL ; \ done ; \ [ -f ${PKGPOSTDEINSTALL} ] && ${CP} ${PKGPOSTDEINSTALL} ${METADIR}/+POST_DEINSTALL; \ [ -f ${PKGUPGRADE} ] && ${CP} ${PKGUPGRADE} ${METADIR}/+UPGRADE; \ [ -f ${PKGPREUPGRADE} ] && ${CP} ${PKGPREUPGRADE} ${METADIR}/+PRE_UPGRADE; \ [ -f ${PKGPOSTUPGRADE} ] && ${CP} ${PKGPOSTUPGRADE} ${METADIR}/+POST_UPGRADE; \ ${CP} ${DESCR} ${METADIR}/+DESC; \ [ -f ${PKGMESSAGE} ] && ${CP} ${PKGMESSAGE} ${METADIR}/+DISPLAY || return 0 # Print out package names. package-depends: @${PACKAGE-DEPENDS-LIST} | ${AWK} '{print $$1":"$$3}' actual-package-depends: @${ACTUAL-PACKAGE-DEPENDS} # Build packages for port and dependencies package-recursive: package @for dir in $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} package-noinstall); \ done # Show missing dependencies missing: @_origins=$$(${PKG_INFO} -aoq); \ for dir in $$(${ALL-DEPENDS-LIST}); do \ _origin=$${dir##${PORTSDIR}/}; \ if ! $$(${ECHO_CMD} $${_origins} | ${GREP} -q $${_origin}); then \ ${ECHO_CMD} $${_origin}; \ fi; \ done # Show missing dependencies by name missing-packages: @_packages=$$(${PKG_INFO} -aq); \ for dir in $$(${ALL-DEPENDS-LIST}); do \ _p=$$(cd $$dir; ${MAKE} -VPKGNAME); \ if ! $$(${ECHO_CMD} $${_packages} | ${GREP} -q $${_p}); then \ ${ECHO_CMD} $${_p}; \ fi; \ done ################################################################ # Everything after here are internal targets and really # shouldn't be touched by anybody but the release engineers. ################################################################ # This target generates an index entry suitable for aggregation into # a large index. Format is: # # distribution-name|port-path|installation-prefix|comment| \ # description-file|maintainer|categories|extract-depends| \ # patch-depends|fetch-depends|build-depends|run-depends|www site # # If this ever changes, portmgr should contact the portsnap maintainer # first to avoid gratuitous breakage. . if !target(describe) _EXTRACT_DEPENDS=${EXTRACT_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u} _PATCH_DEPENDS=${PATCH_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u} _FETCH_DEPENDS=${FETCH_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u} _LIB_DEPENDS=${LIB_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u} _BUILD_DEPENDS=${BUILD_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u} ${_LIB_DEPENDS} _RUN_DEPENDS=${RUN_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u} ${_LIB_DEPENDS} . if exists(${DESCR}) _DESCR=${DESCR} . else _DESCR=/dev/null . endif . if defined(BUILDING_INDEX) && defined(INDEX_PORTS) INDEX_OUT=${INDEX_TMPDIR}/${INDEXFILE}.desc.aggr . else INDEX_OUT=/dev/stdout . endif describe: @(${ECHO_CMD} -n "${PKGNAME}|${.CURDIR}|${PREFIX}|"; \ ${ECHO_CMD} -n ${COMMENT:Q}; \ ${ECHO_CMD} -n "|${_DESCR}|${MAINTAINER}|${CATEGORIES}|${_EXTRACT_DEPENDS}|${_PATCH_DEPENDS}|${_FETCH_DEPENDS}|${_BUILD_DEPENDS:O:u}|${_RUN_DEPENDS:O:u}|"; \ while read one two discard; do \ case "$$one" in \ WWW:) case "$$two" in \ https://*|http://*|ftp://*) ${ECHO_CMD} -n "$$two" ;; \ *) ${ECHO_CMD} -n "http://$$two" ;; \ esac; \ break; \ ;; \ esac; \ done < ${DESCR}; ${ECHO_CMD}) >>${INDEX_OUT} . endif www-site: .if exists(${DESCR}) @${AWK} '$$1 ~ /^WWW:/ {print $$2}' ${DESCR} | ${HEAD} -1 .else @${ECHO_CMD} .endif .if !target(readmes) readmes: readme .endif .if !target(readme) readme: @${RM} -f ${.CURDIR}/README.html @cd ${.CURDIR} && ${MAKE} ${.CURDIR}/README.html .endif ${.CURDIR}/README.html: @${ECHO_MSG} "===> Creating README.html for ${PKGNAME}" @${SED} -e 's|%%PORT%%|'$$(${ECHO_CMD} ${.CURDIR} | \ ${SED} -e 's|.*/\([^/]*/[^/]*\)$$|\1|')'|g' \ -e 's|%%PKG%%|${PKGNAME}|g' \ -e 's|%%COMMENT%%|'"$$(${ECHO_CMD} ${COMMENT:Q})"'|' \ -e '/%%COMMENT%%/d' \ -e 's|%%DESCR%%|'"$$(${ECHO_CMD} ${DESCR} | \ ${SED} -e 's|${.CURDIR}/||')"'|' \ -e 's|%%EMAIL%%|'"$$(${ECHO_CMD} "${MAINTAINER}" | \ ${SED} -e 's/([^)]*)//;s/.*.*//')"'|g' \ -e 's|%%MAINTAINER%%|${MAINTAINER}|g' \ -e 's|%%WEBSITE%%|'"$$(cd ${.CURDIR} && eval ${MAKE} pretty-print-www-site)"'|' \ -e 's|%%BUILD_DEPENDS%%|'"$$(cd ${.CURDIR} && eval ${MAKE} pretty-print-build-depends-list)"'|' \ -e 's|%%RUN_DEPENDS%%|'"$$(cd ${.CURDIR} && eval ${MAKE} pretty-print-run-depends-list)"'|' \ -e 's|%%TOP%%|'"$$(${ECHO_CMD} ${CATEGORIES} | \ ${SED} -e 's| .*||' -e 's|[^/]*|..|g')"'/..|' \ ${TEMPLATES}/README.port >> ${.TARGET} # The following two targets require an up-to-date INDEX in ${PORTSDIR} _PRETTY_PRINT_DEPENDS_LIST=\ if [ ! -r ${INDEXDIR}/${INDEXFILE} ] ; then \ ${ECHO_MSG} "${.TARGET} requires an INDEX file (${INDEXFILE}). Please run make index or make fetchindex."; \ else \ target=${.TARGET:C/pretty-print-(.*)-depends-list/\1/} ; \ if [ "$$target" = "build" ] ; then fldnum=8 ; else fldnum=9 ; fi; \ ${ECHO_MSG} -n 'This port requires package(s) "' ; \ ${ECHO_MSG} -n `${AWK} -F\| "\\$$1 ~ /^${PKGNAME}/ {print \\$$$${fldnum};}" ${INDEXDIR}/${INDEXFILE}` ; \ ${ECHO_MSG} "\" to $$target."; \ fi; .if !target(pretty-print-build-depends-list) pretty-print-build-depends-list: .if defined(PKG_DEPENDS) || defined(EXTRACT_DEPENDS) || defined(PATCH_DEPENDS) || \ defined(FETCH_DEPENDS) || defined(BUILD_DEPENDS) || defined(LIB_DEPENDS) @${_PRETTY_PRINT_DEPENDS_LIST} .endif .endif .if !target(pretty-print-run-depends-list) pretty-print-run-depends-list: .if defined(RUN_DEPENDS) || defined(LIB_DEPENDS) @${_PRETTY_PRINT_DEPENDS_LIST} .endif .endif _SUB_LIST_TEMP= ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} .if !target(apply-slist) apply-slist: .if defined(SUB_FILES) .for file in ${SUB_FILES} .if !exists(${FILESDIR}/${file}.in) @${ECHO_MSG} "** Missing ${FILESDIR}/${file}.in for ${PKGNAME}."; exit 1 .else @${SED} ${_SUB_LIST_TEMP} -e '/^@comment /d' ${FILESDIR}/${file}.in > ${WRKDIR}/${file} .endif .endfor .for i in pkg-message pkg-install pkg-deinstall pkg-req .if ${SUB_FILES:M${i}*}!="" ${i:S/-//:tu}= ${WRKDIR}/${SUB_FILES:M${i}*} .endif .endfor .endif .endif # Generate packing list. Also tests to make sure all required package # files exist. .if !target(generate-plist) generate-plist: ${WRKDIR} @${ECHO_MSG} "===> Generating temporary packing list" @${MKDIR} `${DIRNAME} ${TMPPLIST}` @if [ ! -f ${DESCR} ]; then ${ECHO_MSG} "** Missing pkg-descr for ${PKGNAME}."; exit 1; fi @>${TMPPLIST} @for file in ${PLIST_FILES}; do \ ${ECHO_CMD} $${file} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} >> ${TMPPLIST}; \ done @if [ -f ${PLIST} ]; then \ ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PLIST} >> ${TMPPLIST}; \ fi # Keep PLIST_DIRSTRY as compatibility .for dir in ${PLIST_DIRS} ${PLIST_DIRSTRY} @${ECHO_CMD} ${dir} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} -e 's,^,@dir ,' >> ${TMPPLIST} .endfor .if defined(USE_LINUX_PREFIX) .if defined(USE_LDCONFIG) @${ECHO_CMD} "@exec ${LDCONFIG_CMD}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${LDCONFIG_CMD}" >> ${TMPPLIST} .endif .else .if defined(USE_LDCONFIG) .if !defined(INSTALL_AS_USER) @${ECHO_CMD} "@exec ${LDCONFIG} -m ${USE_LDCONFIG}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${LDCONFIG} -R" >> ${TMPPLIST} .else @${ECHO_CMD} "@exec ${LDCONFIG} -m ${USE_LDCONFIG} || ${TRUE}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${LDCONFIG} -R || ${TRUE}" >> ${TMPPLIST} .endif .endif .if defined(USE_LDCONFIG32) .if !defined(INSTALL_AS_USER) @${ECHO_CMD} "@exec ${LDCONFIG} -32 -m ${USE_LDCONFIG32}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${LDCONFIG} -32 -R" >> ${TMPPLIST} .else @${ECHO_CMD} "@exec ${LDCONFIG} -32 -m ${USE_LDCONFIG32} || ${TRUE}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${LDCONFIG} -32 -R || ${TRUE}" >> ${TMPPLIST} .endif .endif .endif .endif ${TMPPLIST}: @cd ${.CURDIR} && ${MAKE} generate-plist ${TMPPLIST_SORT}: ${TMPPLIST} @${SORT} -u ${TMPPLIST} >${TMPPLIST_SORT} .for _type in EXAMPLES DOCS .if !target(add-plist-${_type:tl}) .if defined(PORT${_type}) && !defined(NOPORT${_type}) add-plist-${_type:tl}: .for x in ${PORT${_type}} @if ${ECHO_CMD} "${x}"| ${AWK} '$$1 ~ /(\*|\||\[|\]|\?|\{|\}|\$$)/ { exit 1};'; then \ if [ ! -e ${STAGEDIR}${${_type}DIR}/${x} ]; then \ ${ECHO_CMD} ${${_type}DIR}/${x} >> ${TMPPLIST}; \ fi;fi .endfor @${FIND} -P ${PORT${_type}:S/^/${STAGEDIR}${${_type}DIR}\//} ! -type d 2>/dev/null | \ ${SED} -ne 's,^${STAGEDIR},,p' >> ${TMPPLIST} .endif .endif .endfor .if !target(add-plist-data) .if defined(PORTDATA) add-plist-data: .for x in ${PORTDATA} @if ${ECHO_CMD} "${x}"| ${AWK} '$$1 ~ /(\*|\||\[|\]|\?|\{|\}|\$$)/ { exit 1};'; then \ if [ ! -e ${STAGEDIR}${DATADIR}/${x} ]; then \ ${ECHO_CMD} ${DATADIR}/${x} >> ${TMPPLIST}; \ fi;fi .endfor @${FIND} -P ${PORTDATA:S/^/${STAGEDIR}${DATADIR}\//} ! -type d 2>/dev/null | \ ${SED} -ne 's,^${STAGEDIR},,p' >> ${TMPPLIST} .endif .endif .if !target(add-plist-info) .if defined(INFO) add-plist-info: .for i in ${INFO} @${LS} ${STAGEDIR}${PREFIX}/${INFO_PATH}/$i.info* | ${SED} -e s:${STAGEDIR}:@info\ :g >> ${TMPPLIST} .endfor .endif .endif # If we're installing into a non-standard PREFIX, we need to remove that directory at # deinstall-time .if !target(add-plist-post) .if (${PREFIX} != ${LOCALBASE} && ${PREFIX} != ${LINUXBASE} && \ ${PREFIX} != "/usr" && !defined(NO_PREFIX_RMDIR)) add-plist-post: @${ECHO_CMD} "@dir ${PREFIX}" >> ${TMPPLIST} .endif .endif .if !target(install-rc-script) .if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES" install-rc-script: @${ECHO_MSG} "===> Staging rc.d startup script(s)" @for i in ${USE_RC_SUBR}; do \ _prefix=${PREFIX}; \ [ "${PREFIX}" = "/usr" ] && _prefix="" ; \ ${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${STAGEDIR}$${_prefix}/etc/rc.d/$${i%.sh}; \ ${ECHO_CMD} "$${_prefix}/etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \ done .endif .endif .if !target(check-man) check-man: stage @${ECHO_MSG} "====> Checking man pages (check-man)" @mdirs= ; \ for dir in ${MANDIRS:S/^/${STAGEDIR}/} ; do \ [ -d $$dir ] && mdirs="$$mdirs $$dir" ;\ done ; \ err=0 ; \ for dir in $$mdirs; do \ for f in $$(find $$dir -name "*.gz"); do \ ${ECHO_CMD} "===> Checking $${f##*/}" ; \ gunzip -c $$f | mandoc -Tlint -Werror && continue ; \ err=1 ; \ done ; \ done ; \ exit $$err .endif # Compress all manpage not already compressed which are not hardlinks # Find all manpages which are not compressed and are hadlinks, and only get the list of inodes concerned, for each of them compress the first one found and recreate the hardlinks for the others # Fixes all dead symlinks left by the previous round .if !target(compress-man) compress-man: @${ECHO_MSG} "====> Compressing man pages (compress-man)" @mdirs= ; \ for dir in ${MANDIRS:S/^/${STAGEDIR}/} ; do \ [ -d $$dir ] && mdirs="$$mdirs $$dir" ;\ done ; \ for dir in $$mdirs; do \ ${FIND} $$dir -type f \! -name "*.gz" -links 1 -exec ${GZIP_CMD} {} \; ; \ ${FIND} $$dir -type f \! -name "*.gz" \! -links 1 -exec ${STAT} -f '%i' {} \; | \ ${SORT} -u | while read inode ; do \ unset ref ; \ for f in $$(${FIND} $$dir -type f -inum $${inode} -print); do \ if [ -z $$ref ]; then \ ref=$${f}.gz ; \ ${GZIP_CMD} $${f} ; \ continue ; \ fi ; \ ${RM} -f $${f} ; \ (cd $${f%/*}; ${LN} -f $${ref##*/} $${f##*/}.gz) ; \ done ; \ done ; \ ${FIND} $$dir -type l \! -name "*.gz" | while read link ; do \ ${LN} -sf $$(readlink $$link).gz $$link.gz ;\ ${RM} -f $$link ; \ done; \ done .endif .if !target(stage-dir) stage-dir: @${MKDIR} ${STAGEDIR}${PREFIX} .if !defined(NO_MTREE) @${MTREE_CMD} ${MTREE_ARGS} ${STAGEDIR}${PREFIX} > /dev/null .endif .endif .if !target(makeplist) makeplist: stage @${SETENV} ${CO_ENV} ${SH} ${SCRIPTSDIR}/check-stagedir.sh makeplist .endif .if !target(check-plist) check-plist: stage @${ECHO_MSG} "====> Checking for pkg-plist issues (check-plist)" @${SETENV} ${CO_ENV} ${SH} ${SCRIPTSDIR}/check-stagedir.sh checkplist @${ECHO_MSG} "===> No pkg-plist issues found (check-plist)" .endif .if !target(check-orphans) check-orphans: check-plist .endif .if !target(stage-qa) stage-qa: @${ECHO_MSG} "====> Running Q/A tests (stage-qa)" @${SETENV} ${QA_ENV} ${SH} ${SCRIPTSDIR}/qa.sh .endif # Fake installation of package so that user can pkg delete it later. .if !target(fake-pkg) STAGE_ARGS= -i ${STAGEDIR} .if !defined(NO_PKG_REGISTER) fake-pkg: create-manifest .if defined(INSTALLS_DEPENDS) @${ECHO_MSG} "===> Registering installation for ${PKGNAME} as automatic" .else @${ECHO_MSG} "===> Registering installation for ${PKGNAME}" .endif .if defined(INSTALLS_DEPENDS) @${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CMD} -d ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} .else @${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CMD} ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} .endif @${RM} -rf ${METADIR} .endif .endif # Depend is generally meaningless for arbitrary ports, but if someone wants # one they can override this. This is just to catch people who've gotten into # the habit of typing `make depend all install' as a matter of course. # Same goes for tags .for _t in depend tags .if !target(${_t}) ${_t}: .endif .endfor .if !defined(NOPRECIOUSMAKEVARS) # These won't change, so we can pass them through the environment .MAKEFLAGS: \ ARCH="${ARCH:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ OPSYS="${OPSYS:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ OSREL="${OSREL:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ OSVERSION="${OSVERSION:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ SYSTEMVERSION="${SYSTEMVERSION:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" .endif .if !target(pre-check-config) pre-check-config: .for single in ${OPTIONS_SINGLE} . for opt in ${OPTIONS_SINGLE_${single}} . if empty(ALL_OPTIONS:M${single}) || !empty(PORT_OPTIONS:M${single}) . if !empty(PORT_OPTIONS:M${opt}) . if defined(OPTFOUND) OPTIONS_WRONG_SINGLE+= ${single} . else OPTFOUND= true . endif . endif . else # if conditional and if the condition is unchecked, remove opt from the list of # set options PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} OPTNOCHECK= true . endif . endfor . if !defined(OPTFOUND) && !defined(OPTNOCHECK) OPTIONS_WRONG_SINGLE+= ${single} . endif . undef OPTFOUND . undef OPTNOCHECK .endfor .undef single .for radio in ${OPTIONS_RADIO} . for opt in ${OPTIONS_RADIO_${radio}} . if !empty(PORT_OPTIONS:M${opt}) . if defined(OPTFOUND) OPTIONS_WRONG_RADIO+= ${radio} . else OPTFOUND= true . endif . endif . endfor . undef OPTFOUND .endfor .for multi in ${OPTIONS_MULTI} . for opt in ${OPTIONS_MULTI_${multi}} . if empty(ALL_OPTIONS:M${multi}) || !empty(PORT_OPTIONS:M${multi}) . if !empty(PORT_OPTIONS:M${opt}) OPTFOUND= true . endif . else # if conditional and if the condition is unchecked, remove opt from the list of # set options PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} OPTNOCHECK= true . endif . endfor . if !defined(OPTFOUND) && !defined(OPTNOCHECK) OPTIONS_WRONG_MULTI+= ${multi} . endif . undef OPTFOUND . undef OPTNOCHECK .endfor .undef multi .undef opt .endif #pre-check-config .if !target(_check-config) _check-config: pre-check-config .for multi in ${OPTIONS_WRONG_MULTI} @${ECHO_MSG} "====> You must check at least one option in the ${multi} multi" .endfor .for single in ${OPTIONS_WRONG_SINGLE} @${ECHO_MSG} "====> You must select one and only one option from the ${single} single" .endfor .for radio in ${OPTIONS_WRONG_RADIO} @${ECHO_MSG} "====> You cannot select multiple options from the ${radio} radio" .endfor .if !empty(OPTIONS_WRONG_MULTI) || !empty(OPTIONS_WRONG_SINGLE) || !empty(OPTIONS_WRONG_RADIO) _CHECK_CONFIG_ERROR= true .endif .endif # _check-config .if !target(check-config) check-config: _check-config .if !empty(_CHECK_CONFIG_ERROR) @${FALSE} .endif .endif # check-config .if !target(sanity-config) sanity-config: _check-config .if !empty(_CHECK_CONFIG_ERROR) @echo -n "Config is invalid. Re-edit? [Y/n] "; \ read answer; \ case $$answer in \ [Nn]|[Nn][Oo]) \ exit 0; \ esac; \ cd ${.CURDIR} && ${MAKE} config .endif .endif # sanity-config .if !target(pre-config) pre-config: D4P_ENV= PKGNAME="${PKGNAME}" \ PORT_OPTIONS="${PORT_OPTIONS}" \ ALL_OPTIONS="${ALL_OPTIONS}" \ OPTIONS_MULTI="${OPTIONS_MULTI}" \ OPTIONS_SINGLE="${OPTIONS_SINGLE}" \ OPTIONS_RADIO="${OPTIONS_RADIO}" \ OPTIONS_GROUP="${OPTIONS_GROUP}" \ NEW_OPTIONS="${NEW_OPTIONS}" \ DIALOG4PORTS="${DIALOG4PORTS}" \ PREFIX="${PREFIX}" \ LOCALBASE="${LOCALBASE}" \ PORTSDIR="${PORTSDIR}" \ MAKE="${MAKE}" \ D4PHEIGHT="${D4PHEIGHT}" \ D4PWIDTH="${D4PWIDTH}" \ D4PFULLSCREEN="${D4PFULLSCREEN}" .if exists(${PKGHELP}) D4P_ENV+= PKGHELP="${PKGHELP}" .endif .for opt in ${ALL_OPTIONS} D4P_ENV+= ${opt}_DESC=""${${opt}_DESC:Q}"" .endfor .for otype in MULTI GROUP SINGLE RADIO . for m in ${OPTIONS_${otype}} D4P_ENV+= OPTIONS_${otype}_${m}="${OPTIONS_${otype}_${m}}" \ ${m}_DESC=""${${m}_DESC:Q}"" . for opt in ${OPTIONS_${otype}_${m}} D4P_ENV+= ${opt}_DESC=""${${opt}_DESC:Q}"" . endfor . endfor .endfor .undef m .undef otype .undef opt .endif # pre-config .if !target(do-config) do-config: .if empty(ALL_OPTIONS) && empty(OPTIONS_SINGLE) && empty(OPTIONS_MULTI) && empty(OPTIONS_RADIO) && empty(OPTIONS_GROUP) @${ECHO_MSG} "===> No options to configure" .else @optionsdir=${OPTIONS_FILE:H}; \ - oldoptionsdir=${OPTIONSFILE:H}; \ if [ ${UID} != 0 -a -z "${INSTALL_AS_USER}" -a ! -w "${PORT_DBDIR}" ] ; then \ ${ECHO_MSG} "===> Switching to root credentials to create $${optionsdir}"; \ - (${SU_CMD} "${SH} -c \"if [ -d $${oldoptionsdir} -a ! -d $${optionsdir} ]; then ${MV} $${oldoptionsdir} $${optionsdir}; elif [ -d $${oldoptionsdir} -a -d $${optionsdir} ]; then ${RM} -rf $${oldoptionsdir} ; fi ; ${MKDIR} $${optionsdir} 2> /dev/null\"") || \ + (${SU_CMD} "${SH} -c \"${MKDIR} $${optionsdir} 2> /dev/null\"") || \ (${ECHO_MSG} "===> Cannot create $${optionsdir}, check permissions"; exit 1); \ ${ECHO_MSG} "===> Returning to user credentials" ; \ else \ - if [ -d $${oldoptionsdir} -a ! -d $${optionsdir} ]; then \ - ${MV} $${oldoptionsdir} $${optionsdir}; \ - elif [ -d $${oldoptionsdir} -a -d $${optionsdir} ]; then \ - ${RM} -rf $${oldoptionsdir} ; \ - fi ; \ ${MKDIR} $${optionsdir} 2> /dev/null || \ (${ECHO_MSG} "===> Cannot create $${optionsdir}, check permissions"; exit 1) ; \ fi @TMPOPTIONSFILE=$$(mktemp -t portoptions); \ trap "${RM} -f $${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; \ ${SETENV} ${D4P_ENV} ${SH} ${SCRIPTSDIR}/dialog4ports.sh $${TMPOPTIONSFILE} || { \ ${RM} -f $${TMPOPTIONSFILE}; \ ${ECHO_MSG} "===> Options unchanged"; \ exit 0; \ }; \ ${ECHO_CMD}; \ if [ ! -e $${TMPOPTIONSFILE} ]; then \ ${ECHO_MSG} "===> No user-specified options to save for ${PKGNAME}"; \ exit 0; \ fi; \ SELOPTIONS=$$(${CAT} $${TMPOPTIONSFILE}); \ ${RM} -f $${TMPOPTIONSFILE}; \ TMPOPTIONSFILE=$$(mktemp -t portoptions); \ trap "${RM} -f $${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; \ ${ECHO_CMD} "# This file is auto-generated by 'make config'." > $${TMPOPTIONSFILE}; \ ${ECHO_CMD} "# Options for ${PKGNAME}" >> $${TMPOPTIONSFILE}; \ ${ECHO_CMD} "_OPTIONS_READ=${PKGNAME}" >> $${TMPOPTIONSFILE}; \ ${ECHO_CMD} "_FILE_COMPLETE_OPTIONS_LIST=${COMPLETE_OPTIONS_LIST}" >> $${TMPOPTIONSFILE}; \ for i in ${COMPLETE_OPTIONS_LIST}; do \ if ${ECHO_CMD} $${SELOPTIONS} | ${GREP} -qw $${i}; then \ ${ECHO_CMD} "OPTIONS_FILE_SET+=$${i}" >> $${TMPOPTIONSFILE}; \ else \ ${ECHO_CMD} "OPTIONS_FILE_UNSET+=$${i}" >> $${TMPOPTIONSFILE}; \ fi; \ done; \ if [ ${UID} != 0 -a -z "${INSTALL_AS_USER}" -a ! -w "${OPTIONS_FILE:H}" ]; then \ ${ECHO_MSG} "===> Switching to root credentials to write ${OPTIONS_FILE}"; \ ${SU_CMD} "${CAT} $${TMPOPTIONSFILE} > ${OPTIONS_FILE}"; \ ${ECHO_MSG} "===> Returning to user credentials"; \ else \ ${CAT} $${TMPOPTIONSFILE} > ${OPTIONS_FILE}; \ fi; \ ${RM} -f $${TMPOPTIONSFILE} @cd ${.CURDIR} && ${MAKE} sanity-config .endif .endif # do-config .if !target(config) .if !defined(NO_DIALOG) config: pre-config do-config .else config: @${ECHO_MSG} "===> Skipping 'config' as NO_DIALOG is defined" .endif .endif # config .if !target(config-recursive) config-recursive: @${ECHO_MSG} "===> Setting user-specified options for ${PKGNAME} and dependencies"; @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} config-conditional); \ done .endif # config-recursive .if !target(config-conditional) config-conditional: .if !empty(NEW_OPTIONS) @cd ${.CURDIR} && ${MAKE} config; .endif .endif # config-conditional .if !target(showconfig) .include "${PORTSDIR}/Mk/bsd.options.desc.mk" MULTI_EOL= : you have to choose at least one of them SINGLE_EOL= : you have to select exactly one of them RADIO_EOL= : you can only select none or one of them showconfig: check-config .if !empty(COMPLETE_OPTIONS_LIST) @${ECHO_MSG} "===> The following configuration options are available for ${PKGNAME}": .for opt in ${ALL_OPTIONS} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="on" ; ${ECHO_MSG} -n " ${opt}=$${match:-off}" . if !empty(${opt}_DESC) @${ECHO_MSG} -n ": "${${opt}_DESC:Q} . endif @${ECHO_MSG} "" .endfor #multi and conditional multis .for otype in MULTI GROUP SINGLE RADIO . for m in ${OPTIONS_${otype}} . if empty(${m}_DESC) @${ECHO_MSG} "====> Options available for the ${otype:tl} ${m}${${otype}_EOL}" . else @${ECHO_MSG} "====> ${${m}_DESC}${${otype}_EOL}" . endif . for opt in ${OPTIONS_${otype}_${m}} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="on" ; ${ECHO_MSG} -n " ${opt}=$${match:-off}" . if !empty(${opt}_DESC) @${ECHO_MSG} -n ": "${${opt}_DESC:Q} . endif @${ECHO_MSG} "" . endfor . endfor .endfor .undef otype .undef m .undef opt @${ECHO_MSG} "===> Use 'make config' to modify these settings" .endif .endif # showconfig .if !target(showconfig-recursive) showconfig-recursive: @${ECHO_MSG} "===> The following configuration options are available for ${PKGNAME} and dependencies"; @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} showconfig); \ done .endif # showconfig-recursive .if !target(rmconfig) rmconfig: -.if exists(${OPTIONSFILE}) - -@${ECHO_MSG} "===> Removing user-configured options for ${PKGNAME}"; \ - optionsdir=${OPTIONSFILE:H}; \ - if [ ${UID} != 0 -a "x${INSTALL_AS_USER}" = "x" -a ! -w "${OPTIONSFILE}" ]; then \ - ${ECHO_MSG} "===> Switching to root credentials to remove ${OPTIONSFILE} and $${optionsdir}"; \ - ${SU_CMD} "${RM} -f ${OPTIONSFILE} ; \ - ${RMDIR} $${optionsdir}"; \ - ${ECHO_MSG} "===> Returning to user credentials"; \ - else \ - ${RM} -f ${OPTIONSFILE}; \ - ${RMDIR} $${optionsdir} 2>/dev/null || return 0; \ - fi -.endif .if exists(${OPTIONS_FILE}) -@${ECHO_MSG} "===> Removing user-configured options for ${PKGNAME}"; \ optionsdir=${OPTIONS_FILE:H}; \ if [ ${UID} != 0 -a "x${INSTALL_AS_USER}" = "x" -a ! -w "${OPTIONS_FILE}" ]; then \ ${ECHO_MSG} "===> Switching to root credentials to remove ${OPTIONS_FILE} and $${optionsdir}"; \ ${SU_CMD} "${RM} -f ${OPTIONS_FILE} ; \ ${RMDIR} $${optionsdir}"; \ ${ECHO_MSG} "===> Returning to user credentials"; \ else \ ${RM} -f ${OPTIONS_FILE}; \ ${RMDIR} $${optionsdir} 2>/dev/null || return 0; \ fi .else @${ECHO_MSG} "===> No user-specified options configured for ${PKGNAME}" .endif .endif # rmconfig .if !target(rmconfig-recursive) rmconfig-recursive: @${ECHO_MSG} "===> Removing user-specified options for ${PKGNAME} and dependencies"; @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} rmconfig); \ done .endif # rmconfig-recursive .if !target(pretty-print-config) MULTI_START= [ MULTI_END= ] GROUP_START= [ GROUP_END= ] SINGLE_START= ( SINGLE_END= ) RADIO_START= ( RADIO_END= ) pretty-print-config: .for opt in ${ALL_OPTIONS} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="+" ; ${ECHO_MSG} -n "$${match:--}${opt} " .endfor .for otype in MULTI GROUP SINGLE RADIO . for m in ${OPTIONS_${otype}} @${ECHO_MSG} -n "${m}${${otype}_START} " . for opt in ${OPTIONS_${otype}_${m}} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="+" ; ${ECHO_MSG} -n "$${match:--}${opt} " . endfor @${ECHO_MSG} -n "${${otype}_END} " . endfor .endfor .undef otype .undef m .undef opt @${ECHO_MSG} "" .endif # pretty-print-config desktop-categories: @categories=""; \ for native_category in ${CATEGORIES}; do \ c=""; \ case $$native_category in \ accessibility) c="Utility Accessibility" ;; \ archivers) c="Utility Archiving" ;; \ astro) c="Education Science Astronomy" ;; \ audio) c="AudioVideo Audio" ;; \ benchmarks) c="System" ;; \ biology) c="Education Science Biology" ;; \ cad) c="Graphics Engineering" ;; \ comms) c="Utility" ;; \ converters) c="Utility" ;; \ databases) c="Office Database" ;; \ deskutils) c="Utility" ;; \ devel) c="Development" ;; \ dns) c="Network" ;; \ elisp) c="Development" ;; \ editors) c="Utility" ;; \ emulators) c="System Emulator" ;; \ finance) c="Office Finance" ;; \ ftp) c="Network FileTransfer" ;; \ games) c="Game" ;; \ geography) c="Education Science Geography" ;; \ gnome) c="GNOME GTK" ;; \ graphics) c="Graphics" ;; \ hamradio) c="HamRadio" ;; \ haskell) c="Development" ;; \ irc) c="Network IRCClient" ;; \ java) c="Development Java" ;; \ kde) c="KDE Qt" ;; \ lang) c="Development" ;; \ lisp) c="Development" ;; \ mail) c="Office Email" ;; \ mate) c="MATE GTK" ;; \ math) c="Education Science Math" ;; \ mbone) c="Network AudioVideo" ;; \ multimedia) c="AudioVideo" ;; \ net) c="Network" ;; \ net-im) c="Network InstantMessaging" ;; \ net-mgmt) c="Network" ;; \ net-p2p) c="Network P2P" ;; \ news) c="Network News" ;; \ palm) c="Office PDA" ;; \ parallel) c="ParallelComputing" ;; \ pear) c="Development WebDevelopment" ;; \ perl5) c="Development" ;; \ python) c="Development" ;; \ ruby) c="Development" ;; \ rubygems) c="Development" ;; \ scheme) c="Development" ;; \ science) c="Science Education" ;; \ security) c="System Security" ;; \ shells) c="System Shell" ;; \ sysutils) c="System" ;; \ tcl*|tk*) c="Development" ;; \ textproc) c="Utility TextTools" ;; \ www) c="Network" ;; \ x11-clocks) c="Utility Clock" ;; \ x11-fm) c="System FileManager" ;; \ xfce) c="GTK XFCE" ;; \ zope) c="Development WebDevelopment" ;; \ esac; \ if [ -n "$$c" ]; then \ categories="$$categories $$c"; \ fi; \ done; \ if [ -n "$$categories" ]; then \ for c in $$categories; do ${ECHO_MSG} "$$c"; done \ | ${SORT} -u | ${TR} '\n' ';'; \ ${ECHO_MSG}; \ fi # http://standards.freedesktop.org/menu-spec/menu-spec-latest.html DESKTOP_CATEGORIES_MAIN= AudioVideo Audio Video Development Education \ Game Graphics Network Office Science Settings System Utility DESKTOP_CATEGORIES_ADDITIONAL= Building Debugger IDE GUIDesigner Profiling \ RevisionControl Translation Calendar ContactManagement Database \ Dictionary Chart Email Finance FlowChart PDA ProjectManagement \ Presentation Spreadsheet WordProcessor 2DGraphics VectorGraphics \ RasterGraphics 3DGraphics Scanning OCR Photography Publishing Viewer \ TextTools DesktopSettings HardwareSettings Printing PackageManager \ Dialup InstantMessaging Chat IRCClient Feed FileTransfer HamRadio News \ P2P RemoteAccess Telephony TelephonyTools VideoConference WebBrowser \ WebDevelopment Midi Mixer Sequencer Tuner TV AudioVideoEditing Player \ Recorder DiscBurning ActionGame AdventureGame ArcadeGame BoardGame \ BlocksGame CardGame KidsGame LogicGame RolePlaying Shooter Simulation \ SportsGame StrategyGame Art Construction Music Languages \ ArtificialIntelligence Astronomy Biology Chemistry ComputerScience \ DataVisualization Economy Electricity Geography Geology Geoscience \ History Humanities ImageProcessing Literature Maps Math \ NumericalAnalysis MedicalSoftware Physics Robotics Spirituality Sports \ ParallelComputing Amusement Archiving Compression Electronics Emulator \ Engineering FileTools FileManager TerminalEmulator Filesystem Monitor \ Security Accessibility Calculator Clock TextEditor Documentation Adult \ Core KDE GNOME MATE XFCE GTK Qt Motif Java ConsoleOnly DESKTOP_CATEGORIES_RESERVED= Screensaver TrayIcon Applet Shell VALID_DESKTOP_CATEGORIES+= ${DESKTOP_CATEGORIES_MAIN} \ ${DESKTOP_CATEGORIES_ADDITIONAL} \ ${DESKTOP_CATEGORIES_RESERVED} .if defined(DESKTOP_ENTRIES) check-desktop-entries: @set -- ${DESKTOP_ENTRIES} XXX; \ if [ `${EXPR} \( $$# - 1 \) % 6` -ne 0 ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: the DESKTOP_ENTRIES list must contain one or more groups of 6 elements"; \ exit 1; \ fi; \ num=1; \ while [ $$# -gt 6 ]; do \ entry="#$$num"; \ if [ -n "$$4" ]; then \ entry="$$entry ($$4)"; \ elif [ -n "$$1" ]; then \ entry="$$entry ($$1)"; \ fi; \ if [ -z "$$1" ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 1 (Name) is empty"; \ exit 1; \ fi; \ if ${ECHO_CMD} "$$3" | ${GREP} -iq '.\(png\|svg\|xpm\)$$'; then \ if ! ${ECHO_CMD} "$$3" | ${GREP} -iq '^/'; then \ ${ECHO_MSG} "${PKGNAME}: Makefile warning: in desktop entry $$entry: field 3 (Icon) should be either absolute path or icon name without extension if installed icons follow Icon Theme Specification"; \ fi; \ fi; \ if [ -z "$$4" ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 4 (Exec) is empty"; \ exit 1; \ fi; \ if [ -n "$$5" ]; then \ for c in `${ECHO_CMD} "$$5" | ${TR} ';' ' '`; do \ if ! ${ECHO_CMD} ${VALID_DESKTOP_CATEGORIES} | ${GREP} -wq $$c; then \ ${ECHO_CMD} "${PKGNAME}: Makefile warning: in desktop entry $$entry: category $$c is not a valid desktop category"; \ fi; \ done; \ if ! ${ECHO_CMD} "$$5" | ${GREP} -q "`${ECHO_CMD} ${DESKTOP_CATEGORIES_MAIN} | ${SED} -E 's,[[:blank:]]+,\\\|,g'`"; then \ ${ECHO_CMD} "${PKGNAME}: Makefile warning: in desktop entry $$entry: field 5 (Categories) must contain at least one main desktop category (make -VDESKTOP_CATEGORIES_MAIN)"; \ fi; \ if ! ${ECHO_CMD} "$$5" | ${GREP} -q ';$$'; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 5 (Categories) does not end with a semicolon"; \ exit 1; \ fi; \ else \ if [ -z "`cd ${.CURDIR} && ${MAKE} desktop-categories`" ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 5 (Categories) is empty and could not be deduced from the CATEGORIES variable"; \ exit 1; \ fi; \ fi; \ if [ "x$$6" != "xtrue" ] && [ "x$$6" != "xfalse" ] && [ "x$$6" != "x" ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 6 (StartupNotify) is not \"true\", \"false\" or \"\"(empty)"; \ exit 1; \ fi; \ shift 6; \ num=`${EXPR} $$num + 1`; \ done .endif .if !target(install-desktop-entries) .if defined(DESKTOP_ENTRIES) install-desktop-entries: @set -- ${DESKTOP_ENTRIES} XXX; \ while [ $$# -gt 6 ]; do \ filename="`${ECHO_CMD} "$$4" | ${SED} -e 's,^/,,g;s,[/ ],_,g;s,[^_[:alnum:]],,g'`.desktop"; \ pathname="${STAGEDIR}${DESKTOPDIR}/$$filename"; \ categories="$$5"; \ if [ -z "$$categories" ]; then \ categories="`cd ${.CURDIR} && ${MAKE} desktop-categories`"; \ fi; \ ${ECHO_CMD} "${DESKTOPDIR}/$$filename" >> ${TMPPLIST}; \ ${ECHO_CMD} "[Desktop Entry]" > $$pathname; \ ${ECHO_CMD} "Type=Application" >> $$pathname; \ ${ECHO_CMD} "Version=1.0" >> $$pathname; \ ${ECHO_CMD} "Name=$$1" >> $$pathname; \ comment="$$2"; \ if [ -z "$$2" ]; then \ comment="`cd ${.CURDIR} && ${MAKE} -VCOMMENT`"; \ fi; \ ${ECHO_CMD} "GenericName=$$comment" >> $$pathname; \ ${ECHO_CMD} "Comment=$$comment" >> $$pathname; \ if [ -n "$$3" ]; then \ ${ECHO_CMD} "Icon=$$3" >> $$pathname; \ fi; \ ${ECHO_CMD} "Exec=$$4" >> $$pathname; \ ${ECHO_CMD} "Categories=$$categories" >> $$pathname; \ if [ -n "$$6" ]; then \ ${ECHO_CMD} "StartupNotify=$$6" >> $$pathname; \ fi; \ shift 6; \ done .endif .endif .if defined(WARNING) WARNING_WAIT?= 10 show-warnings: @${ECHO_MSG} "/!\\ WARNING /!\\" .for m in ${WARNING} @${ECHO_MSG} "${m}" .endfor @${ECHO_MSG} @sleep ${WARNING_WAIT} .endif .if defined(DEVELOPER) .if defined(DEV_WARNING) DEV_WARNING_WAIT?= 10 show-dev-warnings: @${ECHO_MSG} "/!\\ ${PKGNAME}: Makefile warnings, please consider fixing /!\\" @${ECHO_MSG} .for m in ${DEV_WARNING} @${ECHO_MSG} "${m}" .endfor @${ECHO_MSG} .if defined(DEV_WARNING_FATAL) @${FALSE} .else @sleep ${DEV_WARNING_WAIT} .endif .endif .if defined(DEV_ERROR) show-dev-errors: @${ECHO_MSG} "/!\\ ${PKGNAME}: Makefile errors /!\\" @${ECHO_MSG} .for m in ${DEV_ERROR} @${ECHO_MSG} "${m}" .endfor @${ECHO_MSG} @${FALSE} .endif .endif #DEVELOPER # Please note that the order of the following targets is important, and # should not be modified. _TARGETS_STAGES= SANITY PKG FETCH EXTRACT PATCH CONFIGURE BUILD INSTALL PACKAGE STAGE # Define the SEQ of actions to take when each target is ran, and which targets # it depends on before running its SEQ. # # Main target has a priority of 500, pre-target 300, post-target 700, # target-depends 150. Other targets are spaced in between those # # If you change the pre-foo and post-foo values here, go and keep them in sync # in _OPTIONS_TARGETS in bsd.options.mk _SANITY_SEQ= 050:post-chroot 100:pre-everything 150:check-makefile \ 200:show-warnings 210:show-dev-warnings 220:show-dev-errors \ 250:check-categories 300:check-makevars \ 350:check-desktop-entries 400:check-depends \ 450:identify-install-conflicts 500:check-deprecated \ 550:check-vulnerable 600:check-license 650:check-config \ 700:buildanyway-message 750:options-message ${_USES_sanity} _PKG_DEP= check-sanity _PKG_SEQ= 500:pkg-depends _FETCH_DEP= pkg _FETCH_SEQ= 150:fetch-depends 300:pre-fetch 450:pre-fetch-script \ 500:do-fetch 550:fetch-specials 700:post-fetch \ 850:post-fetch-script \ ${_OPTIONS_fetch} ${_USES_fetch} _EXTRACT_DEP= fetch _EXTRACT_SEQ= 010:check-build-conflicts 050:extract-message 100:checksum \ 150:extract-depends 190:clean-wrkdir 200:${WRKDIR} \ 300:pre-extract 450:pre-extract-script 500:do-extract \ 700:post-extract 850:post-extract-script \ ${_OPTIONS_extract} ${_USES_extract} _PATCH_DEP= extract _PATCH_SEQ= 050:ask-license 100:patch-message 150:patch-depends \ 300:pre-patch 450:pre-patch-script 500:do-patch \ 700:post-patch 850:post-patch-script \ ${_OPTIONS_patch} ${_USES_patch} _CONFIGURE_DEP= patch _CONFIGURE_SEQ= 150:build-depends 151:lib-depends 200:configure-message \ 300:pre-configure 450:pre-configure-script 460:run-autotools \ 490:run-autotools-fixup 500:do-configure 700:post-configure \ 850:post-configure-script \ ${_OPTIONS_configure} ${_USES_configure} _BUILD_DEP= configure _BUILD_SEQ= 100:build-message 300:pre-build 450:pre-build-script \ 500:do-build 700:post-build 850:post-build-script \ ${_OPTIONS_build} ${_USES_build} _STAGE_DEP= build # STAGE is special in its numbering as it has install and stage, so install is # the main, and stage goes after. _STAGE_SEQ= 050:stage-message 100:stage-dir 150:run-depends \ 151:lib-depends 200:apply-slist 300:pre-install \ 400:generate-plist 450:pre-su-install 475:create-users-groups \ 500:do-install 550:kmod-post-install 700:post-install \ 750:post-install-script 800:post-stage 850:compress-man \ 860:install-rc-script 870:install-ldconfig-file \ 880:install-license 890:install-desktop-entries \ 900:add-plist-info 910:add-plist-docs 920:add-plist-examples \ 930:add-plist-data 940:add-plist-post ${POST_PLIST:C/^/990:/} \ ${_OPTIONS_install} ${_USES_install} \ ${_OPTIONS_stage} ${_USES_stage} .if defined(DEVELOPER) _STAGE_SEQ+= 995:stage-qa .endif _INSTALL_DEP= stage _INSTALL_SEQ= 100:install-message 150:run-depends 151:lib-depends \ 200:check-already-installed _INSTALL_SUSEQ= 300:fake-pkg 500:security-check _PACKAGE_DEP= stage _PACKAGE_SEQ= 100:package-message 300:pre-package 450:pre-package-script \ 500:do-package 850:post-package-script \ ${_OPTIONS_package} ${_USES_package} # Enforce order for -jN builds .for _t in ${_TARGETS_STAGES} # Check if the port need to change the default order of some targets... . if defined(TARGET_ORDER_OVERRIDE) _tmp_seq:= . for _entry in ${_${_t}_SEQ} # for _target because :M${_target} does not work with fmake . for _target in ${_entry:C/^[0-9]+://} . if ${TARGET_ORDER_OVERRIDE:M*\:${_target}} _tmp_seq:= ${_tmp_seq} ${TARGET_ORDER_OVERRIDE:M*\:${_target}} . else _tmp_seq:= ${_tmp_seq} ${_entry} . endif . endfor . endfor _${_t}_SEQ:= ${_tmp_seq} . endif . for s in ${_${_t}_SEQ:O:C/^[0-9]+://} . if target(${s}) . if ! ${NOTPHONY:M${s}} _PHONY_TARGETS+= ${s} . endif _${_t}_REAL_SEQ+= ${s} . endif . endfor . for s in ${_${_t}_SUSEQ:O:C/^[0-9]+://} . if target(${s}) . if ! ${NOTPHONY:M${s}} _PHONY_TARGETS+= ${s} . endif _${_t}_REAL_SUSEQ+= ${s} . endif . endfor .ORDER: ${_${_t}_DEP} ${_${_t}_REAL_SEQ} .endfor # Define all of the main targets which depend on a sequence of other targets. # See above *_SEQ and *_DEP. The _DEP will run before this defined target is # ran. The _SEQ will run as this target once _DEP is satisfied. .for target in extract patch configure build stage install package # Check if config dialog needs to show and execute it if needed. If is it not # needed (_OPTIONS_OK), then just depend on the cookie which is defined later # to depend on the *_DEP and execute the *_SEQ. # If options are required, execute config-conditional and then re-execute the # target noting that config is no longer needed. .if !target(${target}) && defined(_OPTIONS_OK) _PHONY_TARGETS+= ${target} ${target}: ${${target:tu}_COOKIE} .elif !target(${target}) ${target}: config-conditional - @cd ${.CURDIR} && ${MAKE} CONFIG_DONE_${UNIQUENAME:tu}=1 ${${target:tu}_COOKIE} + @cd ${.CURDIR} && ${MAKE} CONFIG_DONE_${PKGBASE:tu}=1 ${${target:tu}_COOKIE} .elif target(${target}) && defined(IGNORE) .endif .if !exists(${${target:tu}_COOKIE}) # Define the real target behavior. Depend on the target's *_DEP. Execute # the target's *_SEQ. Also handle su and USE_SUBMAKE needs. .if ${UID} != 0 && defined(_${target:tu}_REAL_SUSEQ) && !defined(INSTALL_AS_USER) . if defined(USE_SUBMAKE) ${${target:tu}_COOKIE}: ${_${target:tu}_DEP} @cd ${.CURDIR} && ${MAKE} ${_${target:tu}_REAL_SEQ} . else # !USE_SUBMAKE ${${target:tu}_COOKIE}: ${_${target:tu}_DEP} ${_${target:tu}_REAL_SEQ} . endif # USE_SUBMAKE @${ECHO_MSG} "===> Switching to root credentials for '${target}' target" @cd ${.CURDIR} && \ ${SU_CMD} "${MAKE} ${_${target:tu}_REAL_SUSEQ}" @${ECHO_MSG} "===> Returning to user credentials" @${TOUCH} ${TOUCH_FLAGS} ${.TARGET} .else # No SU needed . if defined(USE_SUBMAKE) ${${target:tu}_COOKIE}: ${_${target:tu}_DEP} @cd ${.CURDIR} && \ ${MAKE} ${_${target:tu}_REAL_SEQ} ${_${target:tu}_REAL_SUSEQ} @${TOUCH} ${TOUCH_FLAGS} ${.TARGET} . else # !USE_SUBMAKE ${${target:tu}_COOKIE}: ${_${target:tu}_DEP} ${_${target:tu}_REAL_SEQ} ${_${target:tu}_REAL_SUSEQ} @${TOUCH} ${TOUCH_FLAGS} ${.TARGET} . endif # USE_SUBMAKE .endif # SU needed .else # exists(cookie) ${${target:tu}_COOKIE}:: @if [ -e ${.TARGET} ]; then \ ${DO_NADA}; \ else \ cd ${.CURDIR} && ${MAKE} ${.TARGET}; \ fi .endif # !exists(cookie) .endfor # foreach(targets) .PHONY: ${_PHONY_TARGETS} check-sanity fetch pkg .if !target(check-sanity) check-sanity: ${_SANITY_REAL_SEQ} .endif .if !target(fetch) fetch: ${_FETCH_DEP} ${_FETCH_REAL_SEQ} .endif .if !target(pkg) pkg: ${_PKG_DEP} ${_PKG_REAL_SEQ} .endif .endif # End of post-makefile section. .endif # End of the DESTDIR if statement Index: head/Mk/bsd.sanity.mk =================================================================== --- head/Mk/bsd.sanity.mk (revision 394507) +++ head/Mk/bsd.sanity.mk (revision 394508) @@ -1,208 +1,211 @@ # $FreeBSD$ # # MAINTAINER: portmgr@FreeBSD.org # .if defined(WITHOUT_NLS) WARNING+= "WITHOUT_NLS is deprecated use OPTIONS_UNSET=NLS instead" .endif .if defined(WITH_NEW_XORG) || defined(WITHOUT_NEW_XORG) WARNING+= "WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect" .endif .if defined(WITH_KMS) || defined(WITHOUT_KMS) WARNING+= "WITH_KMS was removed and has no effect" .endif .if exists(${.CURDIR}/../../Mk/bsd.port.mk) .if ${.CURDIR:H:T} != ${PKGCATEGORY} DEV_ERROR+= "The first entry in CATEGORIES should be the directory where the port lives" .endif .else DEV_WARNING+= "Not validating first entry in CATEGORIES due to being outside of PORTSDIR. Please ensure this is proper when committing." .endif #.if defined(WITHOUT_X11) #WARNING+= "WITHOUT_X11 is deprecated use X11 option instead" #.endif #.if !defined(LICENSE) #DEV_WARNING+= "No license is defined consider adding one" #.endif .if defined(USE_PERL5) && ${USE_PERL5} == yes DEV_ERROR+= "USE_PERL5=yes is unsupported, please use USES=perl5 instead" .endif .if defined(USE_KDEBASE_VER) DEV_ERROR+= "USE_KDEBASE_VER is unsupported" .endif .if defined(USE_KDELIBS_VER) DEV_ERROR+= "USE_KDELIBS_VER is unsupported" .endif .if defined(USE_QT_VER) DEV_ERROR+= "USE_QT_VER is unsupported" .endif .if defined(USE_GHOSTSCRIPT) || defined(USE_GHOSTSCRIPT_BUILD) || defined(USE_GHOSTSCRIPT_RUN) DEV_ERROR+= "USE_GHOSTSCRIPT is unsupported, please use USES=ghostscript instead" .endif .if !empty(LIB_DEPENDS:M*/../*) DEV_ERROR+= "LIB_DEPENDS contains unsupported relative path to dependency" .endif .if !empty(RUN_DEPENDS:M*/../*) DEV_ERROR+= "RUN_DEPENDS contains unsupported relative path to dependency" .endif .if defined(USE_GNOME) && ${USE_GNOME:Mpkgconfig} DEV_ERROR+= "USE_GNOME=pkgconfig is unsupported, please use USES=pkgconfig" .endif .if defined(USE_ZOPE) && ${USE_ZOPE} == yes DEV_ERROR+= "USE_ZOPE=yes is unsupported, please use USES=zope instead" .endif .if defined(USE_GITHUB) && defined(GH_COMMIT) DEV_ERROR+= "GH_COMMIT is unsupported, please convert GHL-\>GH in MASTER_SITES and set GH_TAGNAME to tag or commit hash and remove GH_COMMIT" .endif .if defined(USE_GNOME) && ${USE_GNOME:Mgnomehack} DEV_WARNING+= "USE_GNOME=gnomehack is deprecated, please use USES=pathfix" .endif .if defined(USE_GNOME) && ${USE_GNOME:Mdesktopfileutils} DEV_WARNING+= "USE_GNOME=desktopfileutils is deprecated, please use USES=desktop-file-utils" .endif .if defined(LIB_DEPENDS) && ${LIB_DEPENDS:Nlib*} DEV_ERROR+= "All LIB_DEPENDS should use the new format and start out with lib. \(libfoo.so vs foo.so\)" .endif .if defined(USE_TCL) || defined(USE_TCL_BUILD) || defined(USE_TCL_RUN) || defined(USE_TCL_WRAPPER) || \ defined(USE_TK) || defined(USE_TK_BUILD) || defined(USE_TK_RUN) || defined(USE_TK_WRAPPER) DEV_ERROR+= "USE_TCL and USE_TK are no longer supported, please use USES=tcl or USES=tk" .endif # print warning if no reason given for NO_STAGE .if defined(NO_STAGE) DEV_ERROR+= "NO_STAGE is unsupported, convert port to stage directory:" DEV_ERROR+= "https://wiki.freebsd.org/ports/StageDir" .endif .for a in 1 2 3 4 5 6 7 8 9 L N .if defined(MAN${a}) DEV_WARNING+= "MAN${a} macros are deprecated when using stage directory" .endif .endfor .if defined(MLINKS) DEV_WARNING+= "MLINKS macros are deprecated when using stage directory" .endif .if defined(_PREMKINCLUDED) DEV_ERROR+= "you cannot include bsd.port[.pre].mk twice" .endif .if defined(USE_DOS2UNIX) DEV_ERROR+= "USE_DOS2UNIX is no longer supported, please use USES=dos2unix" .endif .if defined(LICENSE) .if ${LICENSE:MBSD} DEV_WARNING+= "LICENSE must not contain BSD, instead use BSD[234]CLAUSE" .endif .endif .if defined(USE_PYDISTUTILS) && ${USE_PYDISTUTILS} == "easy_install" DEV_ERROR+= "USE_PYDISTUTILS=easy_install is no longer supported, please use USE_PYDISTUTILS=yes" .endif .if defined(USE_PYTHON) && (${USE_PYTHON} == "yes" || ${USE_PYTHON:C/[-0-9.+]*//} == "") _PYTHON_VAL := ${USE_PYTHON} .if ${_PYTHON_VAL} != "yes" DEV_ERROR+= "USE_PYTHON=${_PYTHON_VAL} is no longer supported, please use USES=python:${_PYTHON_VAL}" .else DEV_ERROR+= "USE_PYTHON=yes is no longer supported, please use USES=python" .endif .endif .if defined(USE_PYTHON_RUN) .if ${USE_PYTHON_RUN} != "yes" DEV_ERROR+= "USE_PYTHON_RUN is no longer supported, please use USES=python:${USE_PYTHON_RUN},run" .else DEV_ERROR+= "USE_PYTHON_RUN is no longer supported, please use USES=python:run" .endif .endif .if defined(USE_PYTHON_BUILD) .if ${USE_PYTHON_BUILD} != "yes" DEV_ERROR+= "USE_PYTHON_BUILD is no longer supported, please use USES=python:${USE_PYTHON_BUILD},build" .else DEV_ERROR+= "USE_PYTHON_BUILD is no longer supported, please use USES=python:build" .endif .endif .if defined(PYDISTUTILS_INSTALLNOSINGLE) DEV_WARNING+= "PYDISTUTILS_INSTALLNOSINGLE is deprecated, please do not use it anymore" .endif .if defined(INSTALLS_EGGINFO) DEV_ERROR+= "INSTALLS_EGGINFO is no longer supported, please add the entry directly to the plist" .endif SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \ USE_READLINE USE_ICONV PERL_CONFIGURE PERL_MODBUILD \ USE_PERL5_BUILD USE_PERL5_RUN USE_DISPLAY USE_FUSE \ USE_GETTEXT USE_GMAKE USE_SCONS USE_DRUPAL NO_INSTALL_MANPAGES \ INSTALLS_SHLIB USE_PYDISTUTILS PYTHON_CONCURRENT_INSTALL \ PYDISTUTILS_AUTOPLIST PYTHON_PY3K_PLIST_HACK PYDISTUTILS_NOEGGINFO \ - USE_PYTHON_PREFIX USE_BZIP2 USE_XZ USE_PGSQL NEED_ROOT + USE_PYTHON_PREFIX USE_BZIP2 USE_XZ USE_PGSQL NEED_ROOT \ + UNIQUENAME LATEST_LINK SANITY_DEPRECATED= PYTHON_PKGNAMESUFFIX USE_AUTOTOOLS USE_AUTOTOOLS_ALT= USES=autoreconf and GNU_CONFIGURE=yes USE_OPENAL_ALT= USES=openal USE_FAM_ALT= USES=fam USE_MAKESELF_ALT= USES=makeself USE_ZIP_ALT= USES=zip USE_LHA_ALT= USES=lha USE_BZIP2_ALT= USES=tar:bzip2 USE_XZ_ALT= USES=tar:xz USE_CMAKE_ALT= USES=cmake USE_READLINE_ALT= USES=readline USE_ICONV_ALT= USES=iconv USE_GMAKE_ALT= USES=gmake PERL_CONFIGURE_ALT= USES=perl5 along with USE_PERL5=configure PERL_MODBUILD_ALT= USES=perl5 along with USE_PERL5=modbuild USE_PERL5_BUILD_ALT= USES=perl5 along with USE_PERL5=build USE_PERL5_RUN_ALT= USES=perl5 along with USE_PERL5=run USE_DISPLAY_ALT= USES=display USE_FUSE_ALT= USES=fuse USE_GETTEXT_ALT= USES=gettext USE_SCONS_ALT= USES=scons USE_DRUPAL_ALT= USES=drupal USE_PYDISTUTILS_ALT= USE_PYTHON=distutils USE_PGSQL_ALT= USES=pgsql INSTALLS_SHLIB_ALT= USE_LDCONFIG NEED_ROOT_ALT= USES=fakeroot or USES=uidfix PYTHON_CONCURRENT_INSTALL_ALT= USE_PYTHON=concurrent PYDISTUTILS_AUTOPLIST_ALT= USE_PYTHON=autoplist PYTHON_PY3K_PLIST_HACK_ALT= USE_PYTHON=py3kplist PYDISTUTILS_NOEGGINFO_ALT= USE_PYTHON=noegginfo USE_PYTHON_PREFIX_ALT= USE_PYTHON=pythonprefix PYTHON_PKGNAMESUFFIX_ALT= PYTHON_PKGNAMEPREFIX NO_INSTALL_MANPAGES_ALT= USES=imake:noman +UNIQUENAME_ALT= PKGBASE +LATEST_LINK_ALT= PKGBASE .for a in ${SANITY_DEPRECATED} .if defined(${a}) DEV_WARNING+= "${a} is deprecated, please use ${${a}_ALT}" .endif .endfor .for a in ${SANITY_UNSUPPORTED} .if defined(${a}) DEV_ERROR+= "${a} is unsupported, please use ${${a}_ALT}" .endif .endfor Index: head/Tools/scripts/check-latest-link =================================================================== --- head/Tools/scripts/check-latest-link (revision 394507) +++ head/Tools/scripts/check-latest-link (nonexistent) @@ -1,80 +0,0 @@ -#!/bin/sh -# -# Iterate over the ports collection, assemble the list of LATEST_LINKs and -# then look for duplicates. Send a nag-mail to the responsible maintainers. - -# Sanitize environment -export __MAKE_CONF=/dev/null -export PORT_DBDIR=/nonexistent -export PKG_DBDIR=/nonexistent -export LOCALBASE=/nonexistent - -if [ -z "${PORTSDIR}" ]; then - PORTSDIR=/usr/ports -fi - -if [ "$1" = "-nomail" ]; then - NOMAIL=1 -else - NOMAIL=0 -fi - -cd ${PORTSDIR} -CATEGORIES=$(make -V SUBDIR) - -for cat in ${CATEGORIES}; do - cd ${PORTSDIR}/${cat} - dirs=$(make -V SUBDIR) - - make "PORTSDIR=${PORTSDIR}" "CATEGORY=${cat}" "DIRS=${dirs}" -k -j3 -f - << "EOF" -all: ${DIRS:S/$/.portinfo/} - -.for d in ${DIRS} -${d}.portinfo: - @cd ${PORTSDIR}/${CATEGORY}/${d}; make 'portinfo=$${NO_LATEST_LINK}| $${MAINTAINER} $${.CURDIR:S,${PORTSDIR}/,,} $${LATEST_LINK}' -V portinfo -.endfor -EOF -done | grep '^|' > ${PORTSDIR}/.latest_link - -cd ${PORTSDIR} -(awk '{print " " $4 "$"}' < .latest_link) | sort | uniq -d > .latest_dups - -grep -f .latest_dups .latest_link | sort -i -k4 > .latest_full - -maint=$(awk '{print $2}' < .latest_full | sort -ui | tr '\n' ' ') - -(echo "Dear port maintainers," - echo - echo "The following list includes ports maintained by you that have duplicate" - echo "LATEST_LINK values. They should either be modified to use a unique" - echo "PKGNAME, e.g. by using PKGNAMESUFFIX. Note that NO_LATEST_LINK is" - echo "deprecated. See the portmgr blog post for more information:" - echo "http://blogs.freebsdish.org/portmgr/2013/10/03/package-name-collisions/" - echo - echo - echo "Thanks," - echo "Erwin \"Annoying Reminder Guy III\" Lansing" - echo - echo - - printf "%-20s %-30s %-20s\n" "LATEST_LINK" "PORTNAME" "MAINTAINER" - echo "==========================================================================" - while read dummy i j k; do - printf "%-20s %-30s %-20s\n" $k $j $i - done < .latest_full - - num=$(wc -l .latest_full | awk '{print $1}') - echo - echo "Total: $num ports") > .latest_mail - -if [ "${NOMAIL}" = "0" ]; then - for i in ${maint}; do - mail -s "Ports with duplicate LATEST_LINKs" $i < .latest_mail - done - # Copy to erwin@ - mail -s "Ports with duplicate LATEST_LINKs" erwin@FreeBSD.org < .latest_mail -else - cat .latest_mail -fi - -rm .latest_dups .latest_full .latest_link .latest_mail Property changes on: head/Tools/scripts/check-latest-link ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/Tools/scripts/README =================================================================== --- head/Tools/scripts/README (revision 394507) +++ head/Tools/scripts/README (revision 394508) @@ -1,150 +1,148 @@ $FreeBSD$ NOTE: These scripts need work and are *NOT* safe to use unless you know what they do. Use at your own risk. Patches would be great, but it is preferred they pass through the maintainer of each particular script. MOVEDlint.awk - checks MOVED for common errors ardiff - compare two archives easily addport - replacement for easy-import bad-pkgdescrs.sh - locate identical pkg descriptions bump_revision.pl - Small script to bump the PORTREVISION variable of ports which are depending on a port with a changed shared lib version. -check-latest-link - search for duplicate LATEST_LINK values and send nag - mails to the responsible maintainers checkcats.py - verify that master categories in all ports are correct and report any problems. Beware that the full check takes quite some time. checknewvers - checks for availability for a newest version of distfiles on MASTER_SITES (ftp only). checksum - allows checking of ports to see if their checksums match, and if they don't, give a diff against the older version to help discover why the checksum didn't match. chkorigin.sh - checks all ports in the tree for a wrong PKGORIGIN. Run this tool after every repocopy. doportlint - run portlint on every port and return the results distclean - compare md5 sums of distfiles in ports/distfiles with currently installed ports collection in ports/* and prompt to remove unmatched entries explicit_lib_depends.sh - shows the current explicit dependency list of libs for a given installed port getpatch - downloads patch attachments from a Bug Tracking Systems getpatch.sh - downloads patch attachments from a Bug Tracking Systems (plain shell script) getpr - downloads a problem report from GNATS and attempts to extract the patch, shar, uuencoded file from it. this probably needs to be checked for potential security problems. gnomedepends - Analyse pkg/PLIST and give an advice as to which GNOME ports should be listes in {RUN,LIB}_DEPENDS for this port mark_safe.pl - utility to set subsets of ports to MAKE_JOBS_(UN)SAFE=yes mfh - Merge from head to a given branch neededlibs.sh - Extract direct library dependencies from binaries. plist - automate (mostly, at least) pkg-plist generation portsearch - A utility for searching the ports tree. It allows more detailed search criteria than ``make search key='' and accepts all perl(1) regular expressions. resolveportsfromlibs.sh - Prints the name(s) of ports(s) given a library filename, suitable for direct use in LIB_DEPENDS. splitpatch.pl - A small script to convert multi-file patches to several appropriately named single-file patches. tindex - script used to build INDEXes for supported FreeBSD branches, which are the source of the 'make fetchindex' INDEXes, and the build failure reports on ports@FreeBSD.org update-patches - generates updated patches. ---------------------------------------------------------------------- getpr is used as so: % cd /usr/ports/CATEGORY/PORT % getpr PRNUMBER ---------------------------------------------------------------------- gnomedepends is a script, which analyses pkg/PLIST and gives an advice as to which GNOME ports should be listes in {RUN,LIB}_DEPENDS for the port to ensure correct removal of GNOME shared directories. Usage is simple: % cd /usr/ports/CATEGORY/PORT % gnomedepends.py According to the contents of PLIST the port depends on the following GNOME port(s): /usr/ports/audio/gnomeaudio, for directories: share/gnome/sounds /usr/ports/sysutils/gnomecontrolcenter, for directories: share/gnome/apps /usr/ports/x11/gnomecore, for directories: share/gnome/apps/Games /usr/ports/x11/gnomelibs, for directories: etc/sound/events etc/sound share/gnome/games share/gnome/pixmaps share/gnome The example above means that you need to have ${PORTSDIR}/audio/gnomeaudio, ${PORTSDIR}/sysutils/gnomecontrolcenter, ${PORTSDIR}/x11/gnomecore and ${PORTSDIR}/x11/gnomelibs listed in {RUN,LIB}_DEPENDS for this port. Please be warned, that the this only means that the ports listed by the script required for correct removal of GNOME shared directories, not for the port functionality, so actual {RUN,LIB}_DEPENDS may have more entries. ---------------------------------------------------------------------- portsearch - A utility for searching the ports tree. portsearch is a utility to for searching of the ports tree. It permits much more detailed searches to be performed than ``make search key='' by allowing you to specify which field(s) to search. It also supports all valid perl(1) regular expressions for pattern matching. portsearch displays matching ports in the same format as ``make search'' and also displays the number of matching ports found. The following command line options are supported: -h Prints a multi-line help message and exits -n name Search for name in the name field -p path Search for path in the path field -i info Search for info in the comments field -m maint Search for maint in the Maintainer field -x index Search for index in the category field -b b_deps Search for b_deps in the build-depends field -r r_deps Search for r_deps in the run-depends field -d deps Search for deps in the both the build and run dependency fields. This option behaves differently to the other op- tions, see the EXAMPLES section -f file Use the index file instead of /usr/ports/INDEX All searches are case-insensitive See the file README.portsearch for further information. ---------------------------------------------------------------------- The update-patches script looks for files in $WRKSRC (if unset, this defaults to the work/ subdirectory of the current directory) which have a matching .orig file. It also looks in $PATCHDIR (if unset, this defaults to the files/ subdirectory of the current directory) for patches that correspond to the first set. If the changes in an existing patch do not reflect the changes in the files in $WRKSRC, the script renames the existing patch by adding the suffix .orig and generates a new patch in its place. If no patch existed, the new one is created with a name that contains the path and filename of the file being patched, except that "/" separators and "." characters are replaced by underscores: for example, a new patch to $WRKSRC/foo/bar.c would be created as $PATCHDIR/patch-foo_bar_c. If you save a .orig backup of a file, but don't change the file, update-patches will generate an empty patch. Index: head/UPDATING =================================================================== --- head/UPDATING (revision 394507) +++ head/UPDATING (revision 394508) @@ -1,12087 +1,12100 @@ This file documents some of the problems you may encounter when upgrading your ports. We try our best to minimize these disruptions, but sometimes they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20150817: + AFFECTS: everybody who still uses _SET/UNSET in make.conf + AUTHOR: mat@FreeBSD.org + + The use of _SET/UNSET has been deprecated for a long time, + replaced by _SET/UNSET. It is now not supported any more. + A warning will be issued telling you what to do, for example: + + $ make + /!\ WARNING /!\ + You are using perl_SET which is not supported any more, use: + lang_perl5.20_SET= DEBUG + 20150816: AFFECTS: users of sysutils/s6 AUTHOR: Colin Booth s6-notifywhenup is deprecated and will be removed in the next version of s6. Any run scripts depending on that program should be updated to use an in-servicedir notification-fd file as described under "Readyness notification support" in s6-supervise.html. 20150812: AFFECTS: users of net-mgmt/icinga and net-mgmt/icinga2 AUTHOR: lme@FreeBSD.org The Icinga port has been split into two ports: net-mgmt/icinga-core which contains the Icinga 1.x backend and net-mgmt/icinga-classicweb which contains the Icinga classic web (CGI) interface. The latter can be both used with Icinga 1.x and the Icinga 2 port (net-mgmt/icinga2). A new meta-port net-mgmt/icinga was added which depends on both new ports, so updating the Icinga port should be transparent. 20150812: AFFECTS: users of sysutils/moosefs-master and other moosefs packages AUTHOR: feld@FreeBSD.org MooseFS ports have been updated to 2.0.72-1. Upstream has been providing a private package repository to distribute newer releases of MooseFS. These changes have now made it into the ports tree. This has resulted in splitting up the sysutils/moosefs-master port into several new ports: sysutils/moosefs-cli sysutils/moosefs-cgi sysutils/moosefs-cgiserv sysutils/moosefs-metalogger sysutils/moosefs-netdump You may need to install these additional ports/packages to restore the complete functionality of your MooseFS cluster. Please review the upstream documentation. http://moosefs.com/documentation/moosefs-2-0.html 20150809: AFFECTS: users of sysutils/xfce4-power-manager AUTHOR: olivierd@FreeBSD.org After upgrading to 1.5.2, by default a label is displayed next to the panel icon (it shows percentage and remaining time). To hide this label, a new property /xfce4-power-manager/show-panel-label must be created: xfconf-query -c xfce4-power-manager \ -p /xfce4-power-manager/show-panel-label -n -t int -s 0 Possible values are: - 0 -> does not display label - 1 -> displays only percentage - 2 -> displays only remaining time - 3 -> displays only percentage and remaining time (default value) 20150806: AFFECTS: users of security/libressl AUTHOR: brnrd@FreeBSD.org After upgrading to 2.2.2, manually update all packages that depend on any of the libraries provided by LibreSSL (libssl, libcrypto and libtls) since the versions of these libraries have changed. Normally, you can obtain the list of dependent software by running the following command: # pkg info -r libressl Then you should rebuild all ports depending on libressl to avoid dangling shared library dependencies. Poudriere and pkg handle this correctly, portmaster and portupgrade users can use the following to rebuild all dependent ports. Portmaster users: portmaster -r libressl Portupgrade users: portupgrade -fr security/libressl 20150805: AFFECTS: users of sysutils/tracker AUTHOR: kwm@FreeBSD.org The new tracker version does not build if the old version is installed. # pkg delete -f tracker After use your upgrade tool of choice. 20150802: AFFECTS: users of mail/opensmtpd AUTHOR: ashish@FreeBSD.org After upgrading, you will need to review all your configuration, as there are some configuration changes between 5.4.x and 5.7.1. 20150726: AFFECTS: users of ukrainian/monacofonts AUTHOR: mi@aldan.algebra.com The destination-directory used by monacofonts port was altered. The fonts-location changed from koi8u-monaco/ to koi8-u-monaco/ Users are advised to modify the path set in their xorg.conf files. 20150720: AFFECTS: users of print/texlive-base and other TeXLive packages AUTHOR: hrs@FreeBSD.org TeXLive in Ports Collection has been updated to TL2015. To upgrade installed old packages, upgrading of "tex-*" packages is required. If you have a problem with upgrading, please send it to freebsd-tex@FreeBSD.org and/or file a PR. 20150711: AFFECTS: users of graphics/gdal AUTHOR: sunpoet@FreeBSD.org Due to changes in header files, please deinstall gdal first while updating from 1.x to 2.0. 20150708: AFFECTS: users of security/libressl AUTHOR: brnrd@FreeBSD.org After upgrading to 2.2.1, manually update all packages that depend on any of the libraries provided by LibreSSL (libssl, libcrypto and libtls) since the versions of these libraries have changed. Normally, you can obtain the list of dependent software by running the following command: pkg query -e '%n = libressl' %ro Then you should rebuild all ports depending on libressl to avoid dangling shared library dependencies. 20150707: AFFECTS: users of net-mgmt/netmagis-* AUTHOR: pgollucci@FreeBSD.org Netmagis-* ports have been upgraded to 2.3.0. Upgrading from previous version require a database schema upgrade. See http://netmagis.org/upgrade.html 20150702: AFFECTS: users of multimedia/ffmpeg AUTHOR: riggs@FreeBSD.org ffmpeg has been updated to the latest version from the 2.7 branch. If you are using binary pkg, 'pkg upgrade' will do the right thing. Users of portmaster/portupgrade must rebuild all ports that depend on it. Portmaster users: portmaster -w -r ffmpeg Portupgrade users: portupgrade -fr multimedia/ffmpeg 20150702: AFFECTS: users of net/ptpd2-devel AUTHOR: skreuzer@FreeBSD.org net/ptpd2 has been upgraded to version 2.3.1 net/ptpd2-devel is now deprecated and has been removed If using portupgrade: # portupgrade -o net/ptpd2 net/ptpd2-devel If using portmaster: # portmaster -o net/ptpd2 net/ptpd2-devel 20150628: AFFECTS: users of www/varnish, www/pecl-varnish, www/varnish-libvmod-header, www/varnish-nagios AUTHOR: feld@FreeBSD.org Varnish 3.x has reached End of Life status and has been removed from the ports tree. If you were using www/varnish we urge you to to update to www/varnish4. The upgrade guide can be found here: https://www.varnish-cache.org/docs/trunk/whats-new/upgrade-4.0.html www/varnish-libvmod-header and www/varnish-nagios have been updated to versions that work with Varnish 4.x. You should not lose access to this software. www/pecl-varnish was updated to the latest release which has added support for Varnish 4.x. Please note that it appears some functionality has been lost. This is unfortunate but out of our control. Details can be found here: http://pecl.php.net/package-changelog.php?package=varnish If for some reason you need www/varnish to exist in your ports tree for a bit longer you may consider instead following the 2015Q2 branch. Do note however that Varnish 3.x will not be receiving updates or security patches from upstream. 20150624: AFFECTS: users of devel/p5-Test-Tester and devel/p5-Test-use-ok AUTHOR: adamw@FreeBSD.org The Test::Tester and Test::use::ok modules have been rolled into devel/p5-Test-Simple, and are included in perl 5.22. The p5-Test-Tester and p5-Test-use-ok modules will be removed in one month. If you use either of those ports and have perl-5.22 installed: pkg delete p5-Test-Tester p5-Test-use-ok If you use either of those ports and have perl-5.20 or lower installed: portmaster -o devel/p5-Test-Simple p5-Test-Tester portmaster -o devel/p5-Test-Simple p5-Test-use-ok 20150615: AFFECTS: users of security/libressl AUTHOR: brnrd@FreeBSD.org After upgrading libressl, manually update all packages that depend on this library since its version has changed. Normally, you can obtain the list of dependent software by running the following command: pkg query -e '%n = libressl' %ro Then you should rebuild all ports depending on libressl to avoid dangling shared library dependencies. 20150614: AFFECTS: users of audio/libmusicbrainz5 AUTHOR: jhale@FreeBSD.org libmusicbrainz5 has been updated to 5.1.0. Please rebuild all ports that depend on it. PORTREVISIONS have been bumped on dependent ports. If you use portmaster: portmaster -w -r libmusicbrainz5 If you use portupgrade: portupgrade -fr audio/libmusicbrainz5 20150613: AFFECTS: users of multimedia/avidemux26-* AUTHOR: riggs@FreeBSD.org avidemux26 has been renamed to avidemux If you are using binary pkg, 'pkg upgrade' will do the right thing. Users of portmaster/portupgrade have to take a manual step: Portmaster users: portmaster -o multimedia/avidemux multimedia/avidemux26 Portupgrade users: portupgrade -o multimedia/avidemux multimedia/avidemux26 20150610: AFFECTS: users of databases/postgresql84-server AUTHOR: girgen@FreeBSD.org PostgreSQL-8.4 EOL was reached in July 2014. To upgrade to a later version of choice, you need to do a dump+restore of the database. Please follow the instructions at: http://www.postgresql.org/docs/8.4/static/install-upgrading.html 20150527: AFFECTS: users of sysutils/xfce4-power-manager AUTHOR: olivierd@FreeBSD.org Before upgrading, you must stop xfce4-power-manager daemon: xfce4-power-manager --quit 20150519: AFFECTS: users of sysutils/webmin and sysutils/usermin AUTHOR: olgeni@FreeBSD.org After upgrading to Perl 5.20 the /usr/bin/perl link will no longer be available. You will have to check your perl-path files and change the path of the Perl interpreter to "/usr/local/bin/perl": /usr/local/etc/webmin/perl-path /usr/local/etc/usermin/perl-path 20150513: AFFECTS: users of lang/perl5* AUTHOR: mat@FreeBSD.org The default Perl version has been switched to Perl 5.20. If you are using binary packages to upgrade your system, you do not have anything to do, pkg upgrade will do the right thing. For the other people, assuming you are migrating from 5.18 to 5.20, do: Portupgrade users: portupgrade -o lang/perl5.20 -f lang/perl5.18 portupgrade -f `pkg shlib -R libperl.so.5.18|tail +2` Portmaster users: portmaster -o lang/perl5.20 lang/perl5.18 portmaster -f `pkg shlib -R libperl.so.5.18|tail +2` NOTE: Perl has been removed from base more than ten years ago, so it was way past time for the /usr/bin/perl symlink to be removed from the port. If for some strange reason, you still need it, you will have to create it manually. IMPORTANT: In case you have not updated your system in a while, and specifically, followed the 20141126 instructions regarding the new Perl layout, you should follow those more extensive instructions rather than the conservative presented here. 20150510: AFFECTS: users of mail/postfix mail/postfix-current AUTHOR: ohauer@FreeBSD.org The following OPTIONS where renamed to match the default used in most all other ports - SASL2 -> SASL - OPENLDAP -> LDAP If any of the old OPTIONS was enabled before, please re-run "make config". 20150508: AFFECTS: users of www/iojs AUTHOR: linpct@gmail.com iojs has been updated to 2.0.0. The binary modules may need to be rebuilt due to V8 version ABI change. 20150506: AFFECTS: users of net/asterisk13 with PJSIP (default on) and SRTP (default off) options enabled AUTHOR: madpilot@FreeBSD.org This applies ONLY TO USERS COMPILING FROM PORTS: To avoid dependency problems, you must remove the pjsip port before upgrading asterisk13. # pkg delete pjsip # portmaster -a These steps are unnecessary for those using binary packages. Please see the 20150323 entry for background about this problem. 20150501: AFFECTS: users of graphics/qgis AUTHOR: brd@FreeBSD.org Following OPTIONS have been renamed in 2.8.1_1 to match upstream: - MAPSERVER to SERVER 20150427: AFFECTS: users of mail/opensmtpd AUTHOR: ashish@FreeBSD.org Following OPTIONS are being removed in 5.4.5p1: - LDAP - SQLITE - MYSQL - PGSQL - REDIS They are disabled/removed in upstream since 5.4.4p1, but did not get removed from port. 20150420: AFFECTS: users of devel/icu AUTHOR: bapt@FreeBSD.org icu has been updated to 55.1. Please rebuild all ports that depends on it If you use portmaster: portmaster -w -r icu If you use portupgrade: portupgrade -fr devel/icu 20150419 AFFECTS: Users of emulators/wine-devel AUTHOR: gerald@FreeBSD.org The COMPHOLIO option in emulators/wine-devel has been renamed to STAGING to align with the upstream evolution of that project. 20150417: AFFECTS: Users of audio/bcg729 AUTHOR: tijl@FreeBSD.org The Mediastreamer plugin included in this package has been separated into a new port audio/msbcg729. 20150409: AFFECTS: User of security/sguil AUTHOR: feld@FreeBSD.org security/sguil was erroneously provisioned a UID that conflicted with the dns/dnscrypt-proxy port. A new UID and GID of 991 has been issued. Existing users will be able to upgrade the sguil packages without issue. The existing UID will continue to be used. If you do a clean install of security/sguil on a new server and migrate files or intentionally delete the sguil user and group and reinstall you may run into permissions issues. Examples include the /var/run/sguild and /usr/local/etc/sguild directories. 20150406: AFFECTS: User of emulators/xen emulators/xl and sysutils/xen-tools AUTHOR: bapt@FreeBSD.org sysutils/xen-tools has been renamed sysutils/xen-guest-tools emulators/xl has been renamed sysutils/xen-tools emulators/xen has been renamed emulators/xen-kernel A new emulators/xen has been introduced, it is a metaport that depends on emulators/xen-kernel and sysutils/xen-tools 20150403: AFFECTS: Users of irc/rbot AUTHOR: bdrewery@FreeBSD.org Ruby Bot now has a new upstream maintainer. The project has been updated to work with Ruby 2.0+. Some migration is needed to move away from BDB regristry files. The guide for that is at https://github.com/ruby-rbot/rbot/wiki/MigrationGuide rbotdb can be used to backup a BDB database and then restore it to a working format for the new rbot. Update your conf.yaml after with 'core.db: tc' once converted. 20150331: AUTHOR: ohauer@FreeBSD.org Subversion modules are no longer activated in httpd.conf! To activate the subversion apache modules a dedicated file will be installed as modules.d/220_subversion.conf 20150324: AFFECTS: Users of dns/bind9* AUTHOR: mat@FreeBSD.org This is only for FreeBSD 10.0+. BIND auto chroot has been added back to the named rc script. As enabling it by default would most certainly break people's setup, it is not. To enable it, and chroot it in /var/named, add the following line to your rc.conf file: named_chrootdir="/var/named" On first launch, the rc script will move the /usr/local/etc/namedb directory into the chroot, and create a symlink to it. Note that, if you're running from within a jail, you need to have a /var/named/dev devfs created beforehand, with the null and random devices. 20150323: AFFECTS: Users of net/asterisk* and net/pjsip ports AUTHOR: madpilot@FreeBSD.org Due to conflicts between base OpenSSL and ports provided OpenSSL library, which is required by net/libsrtp, the srtp support has to be removed from the default asterisk13 port configuration, otherwise a not working binary would be generated. To get SRTP support working in the asterisk ports make sure all dependencies are linked against the same SSL library implementation to avoid runtime conflicts. On 10.1 everything will work fine unless ports SSL libraries are explicitly installed. On older OS versions(10.0 and earlier) you will need to compile all ports with WITH_OPENSSL_PORT=yes. To get working SRTP support in asterisk13 with the pjsip backend it is also needed to enable the EXTSRTP option in the pjsip port. If the CURL option is enabled also make sure the ftp/curl port is using a GSSAPI implementation linking to the same SSL implementation the other ports are using (BASE or NONE if you're using base OpenSSL, GSSAPI_HEIMDAL GSSAPI_MIT otherwise). If an incompatible option is being used the curl module will cause asterisk to fail on startup due to mixing calls to OpenSSL from base and from ports. 20150322: AFFECTS: Users of security/openssh-portable AUTHOR: bdrewery@FreeBSD.org The port now uses VersionAddendum for the port version string. Setting the value to "none" in your sshd_config and restarting openssh will allow removing the version from the banner. 20150321: AFFECTS: Users of x11-servers/xorg-server and other X servers AUTHOR: bapt@FreeBSD.org All fonts ports have been modified to respect XDG and install in share/fonts The Xorg servers now are looking there by default If you experience font related issues, view the output of # fc-list If the list appears incomplete or has fonts still pointing to /usr/local/lib/X11/fonts you may forcibly update the font cache: # fc-cache -fs 20150317: AFFECTS: users of editors/openoffice-4 and editors/openoffice-devel AUTHOR: truckman@FreeBSD.org Contrary to what is stated in pkg-message, openoffice-4 and openoffice-devel have stored user settings in ~/.openoffice.org-devel/4 since r325370 (2013-08-25). This update expects user settings to reside in the more standard ~/.openoffice.org/4. To preserve your user settings, rename or copy them from ~/.openoffice.org-devel/4 to ~/.openoffice.org/4. when installing this update to apache-openoffice-4.1.1_7 or apache-openoffice-devel-4.2.1652526_2,3. 20150313: AFFECTS: users of net/serviio AUTHOR: netchild@FreeBSD.org The Java Polling Watch Service used in Serviio 1.5.1 is fixed. If you unchecked "Keep library automatically updated" with 1.5 (as recommended in the 20150206 entry) you can enable it again. 20150309: AFFECTS: users of net-mgmt/netdisco AUTHOR: dgeo@centrale-marseille.fr netdisco version has been upgraded to netdisco2 After upgrading, you will need to review all your configuration, as this new version won't read old config files. You'll be able to keep your data though netdisco-deploy command 20150305: AFFECTS: users of x11-wm/xfce4 and multimedia/xfce4-parole AUTHOR: olivierd@FreeBSD.org Xfce 4.12 has been imported. Please use the following instructions to upgrade. For package users: # pkg upgrade For ports users: # portmaster -a # portmaster x11-wm/xfce4 GStreamer 1.0 is enabled by default in Parole media player. Xfce 4.12 now depends of Adwaita icon theme. If you are upgrading from Xfce 4.10 you probably still have the Tango or GNOME theme selected. Open the Settings Manager and select Appearance. Inside dialog box switch to the Icons tag and select the "Adwaita" entry in the list. 20150304: AFFECTS: users of security/libressl AUTHOR: vsevolod@highsecure.ru After upgrading of libressl you should manually update all packages that depending on this library since its version has been changed. Normally, you could obtain the list of dependent software by running the following command: pkg query -e '%n = libressl' %ro Then you should rebuild all ports depending on libressl to avoid dangling shared library dependencies. 20150301: AFFECTS: users of lang/ruby20 AUTHOR: swills@FreeBSD.org The default ruby version has been updated from 2.0 to 2.1. If you compile your own ports you may keep 2.0 as the default version by adding the following lines to your /etc/make.conf file: # # Keep ruby 2.0 as default version # DEFAULT_VERSIONS+=ruby=2.0 If you wish to update to the new default version, you need to first stop any software that uses ruby. Then, you will need to follow these steps, depending upon how you manage your system. If you use pkgng, simply upgrade: # pkg upgrade -f If you use portmaster, install new ruby, then rebuild all ports that depend on ruby: # portmaster -o lang/ruby21 lang/ruby20 # portmaster -R -r ruby-2.1 If you use portupgrade, install new ruby, then rebuild all ports that depend on ruby: # pkg delete -f ruby portupgrade # make -C /usr/ports/ports-mgmt/portupgrade install clean # pkg set -o lang/ruby20:lang/ruby21 # portupgrade -x ruby-2.1.\* -fr lang/ruby21 20150227: AFFECTS: Users of games/trigger AUTHOR: makc@FreeBSD.org games/trigger has been split and renamed to games/trigger-rally and games/trigger-data ports. Deinstall previous version before upgrading. 20150224: AFFECTS: Users of devel/qt4-linguist AUTHOR: makc@FreeBSD.org Linguist tools have been moved from qt4-linguist port to new devel/qt4-linguisttools port. Deinstall qt4-linguist before upgrading. 20150224: AFFECTS: Users of lang/ruby19 lang/ruby19 has reached its end-of-life and has been removed. The default version has been 2.0 for a while. Other available versions are Ruby 2.1 and Ruby 2.2. Users who have DEFAULT_VERSIONS=ruby=1.9 in their /etc/make.conf are encouraged to remove it or change it to an available version. 20150224: AFFECTS: Users of net-p2p/bitcoin (cli utilities) The bitcoin-cli and bitcoin-tx utilities have been re-packaged into a separate port. If you require these programs, or use the bitcoin-cli program to access the daemon or the GUI, install net-p2p/bitcoin-utils to reinstall them. 20150220: AFFECTS: users of PHP The default PHP version has been updated from 5.4 to 5.6. If you use binary packages you should make a list of php packages before running 'pkg upgrade': # pkg info php5\* > ~/installed-php-ports-list After the upgrade, check with such list if all your php extensions are still installed, and reinstall them if needed. 20150213: AFFECTS: users who upgraded from FreeBSD 7.x or older with "make world" but never ran "make delete-old" AUTHOR: antoine@FreeBSD.org Dependency registration has been reworked. If you encounter the following error, you may have stale magic files for file(1): ===> bar-x depends on shared library: libfoo.so - not found You can remove the stale /usr/share/misc/magic.mime{,.mgc} files manually or run "make delete-old" in ${SRCDIR}. 20150207: AFFECTS: users of mail/opensmtpd-devel AUTHOR: ashish@FreeBSD.org MYSQL, PGSQL, LDAP, and REDIS options are removed from port, as they're moved upstream to a separate project, which is yet to release snapshots. If you need those options, then please install "mail/opensmtpd" port instead. To do that: If using portupgrade: # portupgrade -o mail/opensmtpd mail/opensmtpd-devel If using portmaster: # portmaster -o mail/opensmtpd mail/opensmtpd-devel 20150206: AFFECTS: users of net/serviio AUTHOR: netchild@FreeBSD.org The java dependency changed from java 7 (java/openjdk7 if you haven't installed another java 7 implementation) to java 8 (e.g. java/openjdk8). If serviio is the only reason that java 7 is installed, you can delete java 7 after the update to serviio 1.5.0. The Java Polling Watch Service used in Serviio 1.5 aggressively searches for file system updates. Until the Serviio poller is re-enabled in 1.5.1, consider unchecking "Keep library automatically updated" if you have a large media collection or are concerned about CPU/disk usage. 20150204: AFFECTS: users of databases/mysql55-(server|client) AUTHOR: ale@FreeBSD.org The default MySQL version has been updated from 5.5 to 5.6. If you compile your own ports you may keep 5.5 as the default version by adding the following lines to your /etc/make.conf file: # # Keep MySQL 5.5 as default version # DEFAULT_VERSIONS+=mysql= 5.5 If you wish to update to the new default version, you need to first stop any running server instance. Then, you will need to follow these steps, depending on installed packages. # pkg set -o databases/mysql55-client:databases/mysql56-client # pkg set -o databases/mysql55-server:databases/mysql56-server # pkg upgrade 20150118: AFFECTS: users of www/thttpd AUTHOR: danfe@FreeBSD.org thttpd was updated to version 2.26, which brings several user-noticeable changes to the port: - Default WWW root was changed from ${PREFIX}/www/data to more expected (and standard) ${WWWDIR} (${PREFIX}/www/thttpd), be sure to check and adjust your thttpd configuration file and/or web layout accordingly; - Default CGI pattern was changed to "/cgi-bin/*"; this goes better in line with default installation; - Default data MIME type was changed to "application/octet-stream"; - thttpd's own htpasswd(1) program, which was previously installed as thttpdpasswd(1) to avoid conflict with other webservers, is now being renamed to thtpasswd(1); this not just makes it shorter, but is more consistent with popular GNU/Linux distributions; - Index pages for directories are not generated by default from now on for security reasons; an option (INDEXES) is provided to turn them back on if they are wanted; - IPREAL option (to respect (pass on) "X-Forwarded-For" header) is now turned on by default: it is often required when thttpd is used as a CGI server behind nginx (http://wiki.nginx.org/ThttpdCGI). 20150113: AFFECTS: users of www/pecl-http AUTHOR: vanilla@FreeBSD.org The pecl-http has been upgraded to version 2.1.4, and the new version is not compatible with the old one. If you need the "old" 1.7.6, you can find it in www/pecl-http1. 20150111: AFFECTS: users of lang/python3 AUTHOR: demon@FreeBSD.org The default version of python3 has changed from 3.3 to 3.4. If you wish to stick with older version, add "python3=3.3" to your DEFAULT_VERSIONS variable in /etc/make.conf. To upgrade: If using portupgrade: # portupgrade -o lang/python34 lang/python33 If using portmaster: # portmaster -o lang/python34 lang/python33 20150109: AFFECTS: users of audio/speex AUTHOR: tijl@FreeBSD.org The audio/speex port has been updated to 1.2rc2 and one of the libraries it installed has been split off into a new port audio/speexdsp. Before you can update audio/speex you must first delete the old package using "pkg del -f speex". 20150101: AFFECTS: users of net/unison and net/unison-nox11 AUTHOR: madpilot@FreeBSD.org Unison has been upgraded to version 2.48, which uses a different wire protocol than 2.40 did. In order to support synchronization with other computers where Unison is still at version 2.40, a new port net/unison240 has been created. It provides unison240 and if that is GTK2-enabled, also unison240-text. This unison240 port can be installed in parallel with the existing net/unison port. 20141230: AFFECTS: users of deskutils/xpad AUTHOR: jgh@FreeBSD.org deskutils/xpad has been moved to deskutils/xpad3, since 4.x has been around for a while. Should you wish to stick with legacy branch at this time; # portmaster -o deskutils/xpad deskutils/xpad3 20141225: AFFECTS: users of graphics/png AUTHOR: antoine@FreeBSD.org The PNG library has been updated to version 1.6.16. Please rebuild all ports that depend on it. If you use portmaster: portmaster -r png If you use portupgrade: portupgrade -fr graphics/png 20141224: AFFECTS: users of lang/neon29 AUTHOR: ohauer@FreeBSD.org The port www/neon29 was renamed to www/neon and updated to version 0.30.1 If you use pkg, simply upgrade: # pkg upgrade If you use portmaster, rebuild ports that depend on neon: # portmaster -o www/neon www/neon29 # portmaster -R -r neon 20141219: AFFECTS: users of x11/xorg and all xorg ports AUTHOR: dumbbell@FreeBSD.org The X.Org server (x11-servers/xorg-server) is updated to 1.14. All ports which provide X.Org drivers must be updated simultaneously, i.e. x11-drivers/xf86-*, emulators/virtualbox-ose-additions, net/tigervnc, etc. The input device autodetection backend is switched from HAL to devd. If you configure your keyboard layout through HAL .fdi files, you need to migrate this configuration to plain X.Org configuration files. Up-to-date instructions and a description of the changes brought by this update are detailed in a blog post: http://blogs.freebsdish.org/graphics/2014/11/19/xserver-1-14-update-ready/ 20141219: AFFECTS: users of net-mgmt/xymon-server AUTHOR: feld@FreeBSD.org Xymon has been updated to 4.3.18. A major change is the replacement of the individual cgi shell scripts with symlinks to a cgi program written in C. This is to mitigate shellshock on Linux systems where the /bin/sh -> /bin/bash. FreeBSD users were not exposed except in the most unusual and unsupported circumstances. However, this is an important update for security. This change could break your configuration as Henrik describes here: > NOTE: Replacing the shell script wrappers means that the cgioptions.cfg > file is no longer processed as a shell script. The new wrapper works > fine with the default version of cgioptions.cfg, but it you have > modified it in a way that it relies on being processed by a shell, then > it will break. 20141219: AFFECTS: users of audio/abcde AUTHOR: gblach@FreeBSD.org In audio/abcde dependency has been changed from audio/py-eyed3-06 to audio/py-eyed3. Before updating audio/abcde to 2.6 you must manually deinstall audio/py-eyed-06: # pkg delete -f py\*-eyed3-06 20141218: AFFECTS: users of security/openssh-portable AUTHOR: bdrewery@FreeBSD.org OpenSSH 6.7 disables some insecure ciphers by default, such as arcfour and blowfish. You may have clients using these over LAN where security is considered less important for the connection. For these cases you may need to update your Ciphers entry in your sshd_config to enable them again. See http://mgalgs.github.io/2014/10/22/enable-arcfour-and-other-fast-ciphers-on-recent-versions-of-openssh.html 20141217: AFFECTS: users of lang/perl5.* AUTHOR: mat@FreeBSD.org Perl now links all .so it builds with libperl.so, it makes upgrading from one Perl major version to another way easier. For binary package users, it means pkg upgrade will detect the libperl.so.x.yy change, and reinstall the affected packages. For users using ports, it will save rebuild time as it's easier to detect what ports really need to be rebuilt. Ports users are encouraged to rebuild ports that install files in SITE_ARCH. If using Perl 5.18, run: With portupgrade: portupgrade -f `find /usr/local/lib/perl5/site_perl/mach/5.18 -name '*.so'|xargs pkg which -qo|sort -u` With portmaster: portmaster `find /usr/local/lib/perl5/site_perl/mach/5.18 -name '*.so'|xargs pkg which -qo|sort -u` 20141216: AFFECTS: users of security/openssh-portable, security/openssh-portable66 AUTHOR: bdrewery@FreeBSD.org All patches have been fixed for version 6.7. It is no longer required to use the security/openssh-portable66 port. The LPK option was removed from security/openssh-portable as it has been deprecated since May 2013. Use AuthorizedKeysCommand as a replacement. 20141215: AFFECTS: users of comms/spandsp-devel AUTHOR: pawel@FreeBSD.org comms/spandsp has been upgraded to version 0.0.6 comms/spandsp-devel is now deprecated and set for removal, all ports using it were converted to use newer comms/spandsp. Before upgrade you must remove comms/spandsp-devel so that ports can pick up new dependency: # pkg delete -f spandsp-devel 20141215: AFFECTS: users of emulators/linux_base-f10 and emulators/linux_base-c6 AUTHOR: sbruno@freebsd.org The CentOS ports are now the default for stable/10 (after revision 275807). See UPDATING entry 20141209 for details on migration of systems. 20141214: AFFECTS: users of TeXLive AUTHOR: hrs@FreeBSD.org Several scripts in print/texlive-base have been moved to devel/tex-kpathsea. Upgrading them can fail because texlive-base depends on tex-kpathsea, and the new tex-kpathsea tries to install files which were installed by the old texlive-base. The following error message indicates this situation: pkg-static: tex-kpathsea-6.2.0_1 conflicts with texlive-base-20140525_3 (installs files into the same place). Problematic file: /usr/local/bin/kpsewhere To solve this problem, remove both of tex-kpathsea and texlive-base first and install the new versions: # pkg delete -f tex-kpathsea texlive-base 20141209: AFFECTS: users of emulators/linux_base-f10 and emulators/linux_base-c6 AUTHOR: xmj@freebsd.org The CentOS ports infrastructure has replaced Fedora 10 as default. 1. Please delete all remaining f10 ports/packages: # pkg delete -f linux_base-f10 linux-f10-\* 2. Persistently update the Linux kernel version in /etc/sysctl.conf: compat.linux.osrelease=2.6.18 This step is necessary on all FreeBSD versions, apart from 11.0-CURRENT (after revision 271982). 3. Reinstall all software depending on Linux emulation. As an example, reinstall linux-firefox: # portmaster -r linux-firefox or # portupgrade -f www/linux-firefox or # pkg install linux-firefox If difficulties are encountered, please follow the UPDATING entry 20140922 but skip step 2 (OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS in /etc/make.conf). In case these steps do not fix the issues, please submit an issue report in Bugzilla and send an email to FreeBSD's emulation@ mailing list. Users who need to continue using Fedora 10 base and userland should do the following instead: 1. Add these lines to /etc/make.conf: OVERRIDE_LINUX_BASE_PORT=f10 OVERRIDE_LINUX_NONBASE_PORTS=f10 2. Downgrade the Linux kernel version in /etc/sysctl.conf on FreeBSD versions newer than and including 11.0-CURRENT (after revision 271982). compat.linux.osrelease=2.6.16 This is all that is needed to continue using an existing Fedora 10 Linux base and userland. 20141208: AFFECTS: users of ports-mgmt/poudriere, ports-mgmt/poudriere-devel AUTHOR: bdrewery@FreeBSD.org 8.4 jails created with Poudriere 3.1, or poudriere-devel-3.0.99.20141117 should be recreated with 'jail -d' and 'jail -c'. This fixes pkg(8) crashes. 20141208: AFFECTS: users of databases/postgresql??-(server|client) AUTHOR: marino@FreeBSD.org PostgreSQL version 9.3 is now the default. To upgrade from a version lower than 9.3, follow the instructions on the PostgreSQL.org website. http://www.postgresql.org/docs/9.3/interactive/upgrading.html Please note that the pg_upgrade program is installed by the databases/postgresql93-contrib port When using binary packages, if you only use the client port, you can issue the following command to follow the default version: # pkg set -o databases/postgresql92-client:databases/postgresql93-client 20141205: AFFECTS: users of polish/kadu AUTHOR: pawel@FreeBSD.org Before running kadu 1.x for the first time upstream developers advise to backup your ~/.kadu directory. 20141203: AFFECTS: users of ports-mgmt/poudriere AUTHOR: bdrewery@FreeBSD.org Poudriere has been updated to 3.1.0. See the release notes at https://github.com/freebsd/poudriere/wiki/release_notes_31 for information on changed features and required setup. 20141130: AFFECTS: users of devel/gettext (close to everyone) AUTHOR: tijl@FreeBSD.org The devel/gettext port has been split up in devel/gettext-runtime, a lightweight package containing runtime libraries, and devel/gettext-tools, a package containing developer tools. The devel/gettext port still exists as a metaport. You must first delete the existing installation of gettext and then reinstall it. This will break sudo, so you *must* do this in a root shell (sudo -i) if you use sudo. # pkg delete -f gettext # portmaster devel/gettext Or for portupgrade users: # pkg delete -f gettext # portinstall devel/gettext Or for binary users: # pkg delete -f gettext # pkg upgrade 20141127: AFFECTS: users of lang/perl5.* AUTHOR: mat@FreeBSD.org There was a nasty bug introduced in the update below, it was introduced in SVN revision 373476 and corrected in 373485. If you get errors looking like this one: ===> Registering installation for p5-Params-Util-1.07_1 as automatic pkg-static: lstat(/usr/ports/devel/p5-Params-Util/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.16/auto/Params/Util/.packlist): No such file or directory *** [fake-pkg] Error code 74 You will have to wipe your ports tree clean. If using portsnap, with: portsnap extract If using subversion: svn revert -R 20141127: AFFECTS: users of lang/perl5.* AUTHOR: mat@FreeBSD.org The .packlist files are back, if you upgraded all your p5- ports yesterday and need them, you will need to reinstall them again, see yesterday's update for instructions. 20141126: AFFECTS: users of multimedia/x264 AUTHOR: xmj@FreeBSD.org With the recent split of multimedia/x264 in library and binary and library components, if an application that uses libx264 is updated before x264 itself, multimedia/libx264 will conflict with the existing x264 package. Delete this package before continuing any update that depends on it: # pkg delete -f x264 Install the updated x264 and/or upgrade the other applications that depend on libx264, such as ffmpeg. 20141126: AFFECTS: users of lang/perl5.* AUTHOR: mat@FreeBSD.org The directories where Perl modules are installed has changed. All affected ports' PORTREVISION have been bumped, so upgrading should be as painless as possible. The old directories have been kept in the default Perl @INC to make it even more painless. The default Perl has been switched to lang/perl5.18. These examples are for switching from lang/perl5.16, if you are running a different version, replace lang/perl5.16 with the origin of the Perl you have installed. Binary package users: # pkg upgrade -f Portupgrade users: 0) Fix pkgdb.db (for safety): pkgdb -Ff 1) Reinstall new version of Perl (5.18): portupgrade -o lang/perl5.18 -f lang/perl5.16 2) Reinstall everything that depends on Perl: portupgrade -fr lang/perl5.18 Portmaster users: portmaster -o lang/perl5.18 lang/perl5.16 Conservative: portmaster p5- Comprehensive (but perhaps overkill): portmaster -r perl5- Note: If the "perl5-" glob matches more than one port you will need to specify the name of the installed Perl package explicitly. You can get its name by running: pkg info perl5 20141125: AFFECTS: users of EFL libraries AUTHOR: gblach@FreeBSD.org EFL libraries has been merged into one port. Before installing devel/efl you must deinstall old EFL libraries: # pkg delete -f eina eet evas evas-\* ecore\* eio efreet embryo edje \ ethumb emotion # make -C /usr/ports/devel/efl install clean 20141125: AFFECTS: users of x11-wm/e17-module* AUTHOR: gblach@FreeBSD.org Enlightenment has been updated to 0.19.1. Some of e-modules can't be build with updated Enlightenment, these modules has been marked as broken. E-modules which work with new Enlightenment has been renamed to x11-wm/e-module-*. To update these modules you must call the following commands (substituting the name of module in place *): # portmaster -o x11-wm/e-module-* x11-wm/e17-module-* # portmaster -o x11-wm/e-modules x11-wm/e17-modules or # portupgrade -fo x11-wm/e-module-* x11-wm/e17-module-* # portupgrade -fo x11-wm/e-modules x11-wm/e17-modules 20141123: AFFECTS: users of security/heimdal AUTHOR: hrs@FreeBSD.org The header and library files have been moved from PREFIX/{include,lib} to PREFIX/{include,lib}/heimdal at r373047 to fix a library dependency confusion when software attempts to link a Heimdal library in base and an external library in LOCALBASE/lib at the same time. All of packages which depend on security/heimdal have to be recompiled and reinstalled because of this library location change. 20141119: AFFECTS: users of x11/gnome2, graphics/clutter and lang/vala AUTHOR: kwm@FreeBSD.org GNOME 3.14 was imported. Because this is a big change some manual help is needed. Please use the following instructions to update. Make a list of the installed ports: # pkg info > ~/installed-ports-list Delete the old and conflicting packages: # pkg delete clutter gnome-utils gnome-panel gnome-keyring vala-vapigen \ guile gcalctool gnome-media libgnomekbd gnome-themes at-spi # pkg delete gnome-screensaver gnome-applets bug-buddy \ evolution-exchange evolution-webcal gnome-system-tools \ seahorse-plugins gnome-control-center For package users the following lines will be enough: # pkg upgrade # pkg install gnome3 For ports users should do the following: # portmaster -a # portmaster x11/gnome3 After these steps, check with the list we made earlier if your favorite ports are still installed, and reinstall them if needed. 20141117: AFFECTS: users of security/openssh-portable AUTHOR: bdrewery@FreeBSD.org Most of the optional patches for OpenSSH do not apply to the 6.7 update yet. The 6.6 version has been copied to security/openssh-portable66 if you require the use of one of the optional ports. 20141109: AFFECTS: users of multimedia/mediabrowser AUTHOR: woodsb02@gmail.com The default MediaBrowser database/configuration/logs/media metadata storage directory has moved from /usr/local/mediabrowser to /var/db/mediabrowser. Users are advised either to move the contents of the old directory to the new location, or to add a mediabrowser_data_dir entry to /etc/rc.conf. 20141029: AFFECTS: users of devel/libvirt AUTHOR: jgh@FreeBSD.org Application state and resource information has been changed from older path of /usr/local/var to /var. Users are advised to copy over contents of old var directory to new location if they wish to preserve resources from the old setup. 20141019: AFFECTS: users of x11/kde4-runtime AUTHOR: kde@FreeBSD.org KDE SC ports have been updated to 4.14.2. Several files have been moved between packages, therefore the following action is required before running any pkg/port upgrade utility: # pkg delete -f kde-runtime-4\* 20141008: AFFECTS: users of lang/ruby19 AUTHOR: swills@FreeBSD.org The default ruby version has been updated from 1.9 to 2.0. If you compile your own ports you may keep 1.9 as the default version by adding the following lines to your /etc/make.conf file: # # Keep ruby 1.9 as default version # DEFAULT_VERSIONS+=ruby=1.9 If you wish to update to the new default version, you need to first stop any software that uses ruby. Then, you will need to follow these steps, depending upon how you manage your system. If you use pkgng, simply upgrade: # pkg upgrade If you use portmaster, install new ruby, then rebuild all ports that depend on ruby: # portmaster -o lang/ruby20 lang/ruby19 # portmaster -R -r ruby-2.0 If you use portupgrade, install new ruby, then rebuild all ports that depend on ruby: # pkg delete -f ruby ruby-iconv portupgrade # make -C /usr/ports/ports-mgmt/portupgrade install clean # pkg set -o lang/ruby19:lang/ruby20 # portupgrade -x ruby-2.0.\* -fr lang/ruby20 20141003: AFFECTS: xorg users AUTHOR: bapt@FreeBSD.org The WITH_NEW_XORG setting has been activated by default on all versions of FreeBSD, which allows us to have packages for xorg 1.12 and kde4. Please be aware that on systems that only support syscons switching virtual terminals or exiting X results in a black screen or the last image of their desktop (like a screenshot) being presented. Commands can still be typed blindly. Most, if not all, systems should be using vt(4) and this can be enabled by setting kern.vty=vt in /boot/loader.conf and reboot to activate. 20141001: AFFECTS: xorg users AUTHOR: bapt@FreeBSD.org The WITH_NEW_XORG setting has been activated by default on FreeBSD 10.0 and above, which allows us to have packages for xorg 1.12 and kde4. Please be aware that on systems that only support syscons switching virtual terminals or exiting X results in a black screen or the last image of their desktop (like a screenshot) being presented. Commands can still be typed blindly. Most, if not all, systems should be using vt(4) and this can be enabled by setting kern.vty=vt in /boot/loader.conf and reboot to activate. 20140930: AFFECTS: users of mail/maildrop AUTHOR: madpilot@FreeBSD.org Due to the way pkg works please note that the configuration variables MAILDROP_SUID and MAILDROP_SGID, despite keeping their old names, are now required to contain a valid username and groupname existing on the system in which the package will be installed, while in the past numeric uids and gids worked fine. Wrong values will cause pkg to skip installing the setuid binaries on the system. Please check your configuration. 20140929: AFFECTS: users of comms/usbmuxd AUTHOR: avilla@FreeBSD.org libusbmuxd.so was split from comms/usbmuxd into comms/libusbmuxd. Remove usbmuxd before upgrading to avoid conflicts: # pkg delete -f usbmuxd If you need the daemon usbmuxd(1), you can reinstall the package after the upgrade. 20140928: AFFECTS: users of deskutils/calibre AUTHOR: madpilot@FreeBSD.org The dependency on graphics/py-imaging in calibre has been changed to using the graphics/py-pillow port. Due to this change automatic updating of the port will not work correctly. It is suggested to remove calibre and py-imaging from the system and then reinstall calibre again using binary packages or ports. 20140927: AFFECTS: users of net/foreman-proxy AUTHOR: mm@FreeBSD.org In version 1.6 Foreman Smart Proxy splits its configuration into multiple ruby files located in PREFIX/etc/foreman-proxy/settings.d. The configuration of each service (dhcp, dhs, bmc, etc.) has been moved into a dedicated file. You can use a bundled script to convert your old settings to new settings: PREFIX/share/foreman/extra/migrate_settings.rb 20140926: AFFECTS: users of shells/bash AUTHOR: bdrewery@FreeBSD.org Bash supports a feature of exporting functions in the environment with export -f. Running bash with exported functions in the environment will then import those functions into the environment of the script being ran. This resulted in security issues CVE-2014-6271 and CVE-2014-7169, commonly known as "shellshock". It also can result in poorly written scripts being tricked into running arbitrary commands. To fully mitigate against this sort of attack we have applied a non-upstream patch to disable this functionality by default. You can execute bash with --import-functions to allow it to import functions from the environment. The default can also be changed in the port by selecting the IMPORTFUNCTIONS option. 20140926: AFFECTS: users of net/asterisk and net/asterisk11 AUTHOR: madpilot@FreeBSD.org The asterisk ports have been modified to have the LUA option turned on by default to make such functionality available to users of binary packages. Some care should be taken before upgrading by people not using Lua to avoid the sample extensions.lua file from being loaded on reload after updating the asterisk port/pkg. Users compiling from ports not interested in LUA support are advised to disable the option before updating. People using binary packages(or not wanting to disable the LUA option in the port) not using the Lua functionality should add: noload => pbx_lua.so to the PREFIX/etc/asterisk/modules.conf file, if using the autoload=yes option in that same file. People not autoloading modules don't need to perform any special action. If asterisk is rebooted and the pbx_lua module gets loaded on a system were it should not, it will load the example extensions.lua configuration file adding unexpected logic to your dialplan. In such a case following the above steps and reloading asterisk will fix the problem. 20140922: AFFECTS: users of emulators/linux_base-f10 and emulators/linux_base-c6 AUTHOR: xmj@FreeBSD.org The complete drop-in replacement linux-c6 port infrastructure is in ports and will shortly replace the current linux-f10- ports as default. To switch to the linux-c6 infrastructure: 0. Back up all your vital information! 1. Remove the current linux base port and all linux-f10- ports: # pkg delete -f linux_base-f10 linux-f10-\* 2. Add these lines to /etc/make.conf: OVERRIDE_LINUX_BASE_PORT=c6 OVERRIDE_LINUX_NONBASE_PORTS=c6 3. Make sure no Linux application is running. 4. Update the Linux kernel version in /etc/sysctl.conf: compat.linux.osrelease=2.6.18 Make it take effect immediately: # sysctl compat.linux.osrelease=2.6.18 5. Install emulators/linux-c6. These steps are usually sufficient. If there are difficulties, expand step 1 to: 1a. Remove all ports which depend on the linux base port. 1b. Remove the linux base port. 1c. Clean the /compat/linux/ directory. If there are any other difficulties not fixed by these extended steps, please submit an issue report in Bugzilla and send an email to FreeBSD's emulation@ mailing list. 20140909: AFFECTS: users seeing build errors about missing *.la files AUTHOR: tijl@FreeBSD.org We are in the process of adjusting or, if possible, removing libtool archives (*.la files) from all ports because they can otherwise cause overlinking between packages. This is the problem where in the dependency chain A->B->C an extra link is added from A to C even if A does not use C directly. This makes some updates to port C expensive because then both A and B have to be rebuilt instead of just B. This is mostly behind the scenes work that you won't notice. In fact most ports have already been converted. You may however run into build errors about missing *.la files if a port update in the past went wrong and left behind *.la files with references to other *.la files that are no longer there. In this case, please run the following command: find /usr/local/lib -name '*.la' | xargs grep -l 'libfoo\.la' | xargs pkg which (Replace libfoo\.la with the *.la file that is missing.) This command will print a list of *.la files that refer to the missing *.la file and what package they belong to. First, where it says "not found in the database", remove the *.la file. After removing all such files, where it says "installed by package X", rebuild X. Eventually the list printed by that command will be empty and the build error should be gone. 20140826: AFFECTS: users of ports-mgmt/pkg, ports-mgmt/pkg-devel AUTHOR: bdrewery@FreeBSD.org Pkg has been updated to 1.3.7. This fixes registration and tracking of shared libraries. All earlier versions of Pkg incorrectly marked some shared libraries and used the wrong name for some. Please note announcement for special instructions at: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000086.html - Users need to run 'pkg update -f' and 'pkg check -Ba' after upgrading to pkg-1.3.7 and before updating any other packages. This avoids needing to reinstall anything not needed due to changed shlibs. For binary package users: # pkg install ports-mgmt/pkg # pkg update -f # pkg check -Ba # pkg upgrade For port users: # make -C /usr/ports/ports-mgmt/pkg build deinstall install clean # pkg check -Ba - People building packages for serving to other systems need to rebuild all packages with 1.3.7. 20140823: AFFECTS: users of graphics/libjpeg-turbo AUTHOR: adamw@FreeBSD.org libjpeg-turbo installs its own unique library (libturbojpeg.so) and a drop-in replacement for libjpeg.so. The drop-in replacement has been split off into graphics/jpeg-turbo; libjpeg-turbo now installs only libturbojpeg.so. If you were using the libjpeg.so from graphics/libjpeg-turbo, you should install graphics/jpeg-turbo AFTER upgrading the libjpeg-turbo port. 20140823: AFFECTS: users of TeXLive AUTHOR: hrs@FreeBSD.org TeXLive in Ports Collection has been updated to TL2014. When upgrading print/texlive-base on a system which has TL2012 packages, the following error may occur: pkg-static: texlive-base-20140525 conflicts with texlive-texmf-20120701_4 Please remove texlive-texmf-20120701_4 first in that case. If you still get a similar "conflict of install files" error, please remove all of tex-* and texlive-* packages and then see if ${PREFIX}/share/texmf-dist directory are empty. If not, installing TeXlive can fail. Removing files in the directory manually will fix the installation problem. 20140821: AFFECTS: users of databases/db4, databases/db4[1-7]* AUTHOR: mandree@FreeBSD.org HEADS UP: for some applications that store their data in Berkeley DB databases, you may have to export the data before the upgrade and reload it afterwards. Detailed instructions are at . The older databases/db4* ports providing versions 4.0 to 4.7 inclusively have been removed, and 4.8 has been deprecated. The default Berkeley DB version is now 5.3. (6.x has a different license, but will be eligible as default on systems that build ports from source and have db6 installed.) All enabled and working ports have been changed such that they use Berkeley DB 4.8 or newer, and an -exp run has been made. After you have performed the first steps from the Wiki documentation, and have arrived at a step that reads "build all applications", then type as privileged user and without the hash sign: # Tools/scripts/BDB-upgrade-helper.sh The helper script requires that ports-mgmt/portmaster or .../portupgrade is installed, will try to upgrade your applications with either of these tools (portmaster preferred), and if that succeeds, it will attempt to delete the packages if confirmed interactively. 20140815: AFFECTS: users of graphics/ilmbase and graphics/OpenEXR AUTHOR: mandree@FreeBSD.org The OpenEXR and ilmbase (Industrial Light and Magic) shared object names have changed. You must rebuild all packages that require either of these libraries, by using one of these commands: # portmaster -r ilmbase -r OpenEXR or # portupgrade -fr graphics/ilmbase graphics/OpenEXR The PORTREVISIONs of all ports that require ilmbase and/or OpenEXR have been bumped. 20140810: AFFECTS: users of lang/ghc and */hs-* AUTHOR: haskell@FreeBSD.org The Glorious Glasgow Haskell Compiler has been updated to version 7.8.3 and Haskell Platform to 2014.2.0.0. Hence it is recommended to rebuild or reinstall all the dependent ports and the lang/ghc port itself by one of the following commands: # portmaster -w -r ghc or # portupgrade -fr lang/ghc If you use pkg(8) then it is just safer to remove all the GHC-dependent packages along with GHC and reinstall everything from scratch. Something alone these lines may work: # pkg query "%ro" > ghc-pkgs.txt # pkg delete -y lang/ghc # pkg install -y `cat ghc-pkgs.txt | grep -Ev "/hs-(haskeline|terminfo|transformers|xhtml)" 20140803: AFFECTS: users of security/p5-openxpki AUTHOR: wg@FreeBSD.org The following ports have been integrated into security/p5-openxpki: security/p5-openxpki-client security/p5-openxpki-client-scep security/p5-openxpki-deployment Before update make sure to remove the old packages: # pkg remove security/p5-openxpki-client # pkg remove security/p5-openxpki-client-scep # pkg remove security/p5-openxpki-deployment 20140802: AFFECTS: users of astro/stellarium AUTHOR: danfe@FreeBSD.org Stellarium was updated to version 0.13.0. It's a new major release, and it is based on Qt version 5 now. For those who are not comfortable with upgrading to the new Qt, previous Stellarium version (0.12.4) was copied over to `astro/stellarium-qt4' port. 20140731: AFFECTS: users of www/ajaxplorer AUTHOR: madpilot@FreeBSD.org The ajaxplorer project was renamed to pydio. Due to this update some manual steps will need to be performed after updating the port. IMPORTANT: Perform a backup of the ajaxplorer installation and the databases backing it(if you're using that feature). First manually remove the ajaxplorer port and install www/pydio afterwards. Further steps will be available in the pkg-message, which can be shown with these commands: # pkg info -D pydio Please also read the upgrading notes at: http://pyd.io/pydio-core-5.2.0#Upgrading 20140728: AFFECTS: users of net/GeoIP AUTHOR: adamw@FreeBSD.org GeoIP no longer ships with the GeoIP database. To continue using GeoIP, you MUST fetch the database after upgrading by running geoipupdate.sh. 20140727: AFFECTS: users of comms/qpage AUTHOR: marino@FreeBSD.org The default configure file location has changed from ${LOCALBASE}/etc/qpage.cf to ${LOCALBASE}/etc/qpage.conf You will likely want to move the old configure file to the new location after updating if it contains custom settings. 20140725: AFFECTS: users of cad/netgen AUTHOR: stephen@FreeBSD.org Before you update this port the old one should be removed. (This is because the build may try to link to libraries that are in ${LOCALBASE}/lib rather than in ${WRKSRC}.) 20140724: AFFECTS: users of dns/mydns-ng AUTHOR: danilo@FreeBSD.org The dns/mydns-ng port no longer has the suffix (-mysql|-pgsql). Before you update this port the old one must be removed: pkg remove mydns-ng-mysql or pkg remove mysql-ng-pgsql 20140723: AFFECTS: users of devel/libevent libevent1 has been replaced by libevent2 via the compatibility layer. All applications that used libevent1 must be rebuilt. Please remove libevent1 before upgrading, by running: pkg delete -f libevent 20140723: AFFECTS: users of security/scanlogd AUTHOR: tgyurci@gmail.com The security/scanlogd port now creates scanlogd user and group. Previous scanlogd user and group must be removed before updating to not conflict with the one created by the port: pw userdel scanlogd pw groupdel scanlogd 20140723: AFFECTS: users of TeX AUTHOR: bapt@FreeBSD.org TeXLive is now the default teX provider. Please remove all TeX-related packages based on teTeX. 20140722: AFFECTS: users of mail/exim AUTHOR: vsevolod@FreeBSD.org The behaviour of expansion of arguments to math comparison functions (<, <=, =, =>, >) was unexpected, expanding the values twice. Please update your configuration if you have relied on such an expansion. 20140722: AFFECTS: users of multimedia/mediainfo AUTHOR: sunpoet@FreeBSD.org mediainfo has been split into 3 ports: libzen, libmediainfo and mediainfo. Please uninstall mediainfo before you update this port. 20140722: AFFECTS: users of games/bsdgames AUTHOR: adamw@FreeBSD.org Please disregard any prior instructions about moving your game data to /usr/local/var/games. If you have done this, please move it back to /var/games. 20140714: AFFECTS: users of databases/db6 AUTHOR: mandree@FreeBSD.org Oracle Berkeley DB 6 has been upgraded to version 6.1.19. Since the previous 6.0 version, the log file format has changed in 6.1. Depending on applications used, you may need to take action BEFORE you upgrade. For details, please see the online upgrade manual at Note: if you've got Apache installed and depending on db6, you may need to upgrade it separately BEFORE upgrading other ports, such as Apache modules. After that, you must rebuild all applications that link to db6 because the shared library name has changed with the upgrade. To do that: If you use portmaster: portmaster -w -r db6- If you use portupgrade: portupgrade -fr databases/db6 20140714: AFFECTS: users of net/linphone-base AUTHOR: tijl@FreeBSD.org Linphone has been updated to version 3.7.0 and the linphone-base port has been split into separate components. You must first delete the linphone-base package before you can update ports that depend on it. pkg del -f linphone-base or pkg_delete -f linphone-base\* 20140713: AFFECTS: users of mail/postfix-current AUTHOR: sahil@FreeBSD.org This is a significant update; so, please carefully review the RELEASE_NOTES to identify which incompatible changes impact your environment. Of particular note are changes to the Postfix build/install procedure. Please backup main.cf, master.cf and any other important files associated with your Postfix setup before updating. 20140713: AFFECTS: users of www/apache22 AUTHOR: ohauer@FreeBSD.org The default version was changed from www/apache22 to www/apache24, pre-build apache modules and web applications will also reflect this! In case ports are build by yourself and apache22 is required use the following command to keep apache22 as default. # echo "DEFAULT_VERSIONS+=apache=2.2" >> /etc/make.conf 20140710: AFFECTS: users of lang/rust AUTHOR: robak@FreeBSD.org The lang/rust port was updated to 0.11 and is now only working on FreeBSD versions 10 and 11 -- the 9.x support has been removed by upstream. 20140709: AFFECTS: users of security/pam-pgsql AUTHOR: tijl@FreeBSD.org The pam_pgsql.so module is now installed in PREFIX/lib (/usr/local/lib) instead of /usr/lib. 20140627: AFFECTS: Users of Java AUTHOR: swills@FreeBSD.org The default version of OpenJDK has been updated from 1.6 to 1.7. To update, users of Java will need to rebuild all ports that depend on Java: If you use pkg (regardless of if you build ports from source or install binary packages): # pkg set -o java/openjdk6:java/openjdk7 If you use portmaster to build ports from source: # portmaster -o java/openjdk7 openjdk6 # portmaster -R -r openjdk If you use portupgrade to build ports from source: # portupgrade -fo java/openjdk7 java/openjdk6 If you use pkg to install prebuilt binary packages: # pkg install -fR java/openjdk7 If you wish to keep the 1.6 version as default, add the following lines to your /etc/make.conf file: # # Keep OpenJDK 1.6 as default version. # JAVA_PREFERRED_PORTS=JAVA_PORT_NATIVE_OPENJDK_JDK_1_6 20140627: AFFECTS: users of security/amavisd-milter AUTHOR: delphij@FreeBSD.org The default working directory of security/amavisd-milter have been changed to /var/run/amavis/. Users will have to adjust path to the milter socket. 20140627: AFFECTS: users of editors/emacs21 and editors/emacs22 AUTHOR: ashish@FreeBSD.org editors/emacs21, and editors/emacs22 are removed as they were unmaintained upstream for a while. Their dependent ports are removed as well. Please switch to editors/emacs (Emacs 24 release), or editors/emacs23 (Emacs 23 release), or editors/emacs-devel (Emacs development branch) ports. 20140626: AFFECTS: users of mail/qmail-spamcontrol AUTHOR: bdrewery@FreeBSD.org Spamcontrol has been updated to the 2.7 release. It is advised to read the release notes as some features were removed and others reworked. http://www.fehcom.de/qmail/spamcontrol/RELEASE_27.spamcontrol 2.7 manual: http://www.fehcom.de/qmail/spamcontrol/README_spamcontrol.html 20140626: AFFECTS: users of comms/smstools3 AUTHOR: madpilot@FreeBSD.org The smstools3 startup screen has been modified to allow smsd to change uid/gid by itself. The rc options smsd_logfile, smsd_user and smsd_group are not supported anymore, user, group and log filename should be specified in the configuration file. The sample configuration file has been updated to have defaults equivalent to the old ones. 20140624: AFFECTS: users of databases/p5-Bucardo AUTHOR: mat@FreeBSD.org The bucardo_ctl script has been renamed to bucardo, so, to follow the naming, the bucardo_ctl_enable rc variable has been renamed to bucardo_enable. 20140622: AFFECTS: users of security/gpgme AUTHOR: jhale@FreeBSD.org If you have both security/gnupg AND security/gnupg1 installed, gpgme will now automatically detect and use security/gnupg. Specifically, it will search for gpgconf(1) first and use the paths for the binaries provided by it. Failing that, it will search for a binary named "gpg". It is no longer possible to specify the location of the gpg binary at buildtime to differentiate between version 1.x and version 2.x. The port options GNUPG1 and GNUPG2 now merely add their respective versions of gnupg as build and runtime dependencies. 20140618: AFFECTS: users of devel/m17n-* textproc/*m17n* AUTHOR: Nikola Lecic devel/m17n-db now incorporates a set of user-contributed input methods and a conversion script, formerly available through textproc/m17n-contrib. Delete textproc/m17n-contrib first and then update/install devel/m17n-db. 20140616: AFFECTS: users of devel/subversion AUTHOR: lev@FreeBSD.org The subversion port has been overhauled. Some optional parts were extracted into separate ports. These ports are: www/mod_dav_svn instead of option MOD_DAV_SVN. security/subversion-gnome-keyring instead of option GNOME_KEYRING. security/subversion-kwallet instead of option KDE_KWALLET. If you used devel/subversion with one (or more) of these non-standard options, you should install the appropriate port(s) after upgrading subversion. "mod_dontdothat" is installed unconditionally by www/mod_dav_svn port (it depended on the TOOLS option before), but is not activated by default, you may need to edit apache's configuration file. The devel/subversion port now installs svndiff, svndiff3 and svndiff4 commands if TOOLS option is enabled. They was skipped before. The official names "diff", "diff3" and "diff4" are prefixed with "svn" to avoid conflicts with base and other diff versions. All libraries and binaries are now stripped if the MAINTAINER_DEBUG option is not selected (including all sub-ports, like bindings and mod_dav_svn). 20140611: AFFECTS: users of devel/icu AUTHOR: bapt@FreeBSD.org icu has been updated to 53.1. Please rebuild all ports that depend on it If you use portmaster: portmaster -w -r icu If you use portupgrade: portupgrade -fr devel/icu 20140610: AFFECTS: users of www/firefox, www/seamonkey, mail/thunderbird, www/libxul AUTHOR: gecko@FreeBSD.org Gecko ports were switched to use more system libraries. Some of them must be built with certain options unset (default). `audio/soundtouch' has to be installed with INTEGER_SAMPLES option disabled. 20140604: AFFECTS: users of dns/dnscrypt-proxy AUTHOR: feld@FreeBSD.org The 1.4.0 update to dns/dnscrypt-proxy introduced a privilege separation capability utilizing the new _dnscrypt-proxy user. The home directory for this user was misconfigured as /nonexistent. The dnscrypt-proxy server will try to chroot to _dnscrypt-proxy's home directory and fail to start. If you are affected you will need to change _dnscrypt-proxy's home directory to /var/empty: # pw usermod _dnscrypt-proxy -d /var/empty 20140603: AFFECTS: users of net-p2p/zetacoin AUTHOR: daniel@morante.net The zetacoind process now runs as the zetacoin user. Please make sure that this user has appropriate permissions to the blockchain database and wallet directory. If you are using the default path, run: # chown -R zetacoin:zetacoin /var/db/zetacoin # chown -R zetacoin:zetacoin /.zetacoin 20140529: AFFECTS: users of databases/postgresql??-(server|client) AUTHOR: mat@FreeBSD.org PostgreSQL version 9.2 is now the default. To upgrade from a version lower than 9.2, follow the instructions on the PostgreSQL.org website. http://www.postgresql.org/docs/9.2/interactive/upgrading.html When using binary packages, if you only use the client port, you can issue the following command to follow the default version: # pkg set -o databases/postgresql90-client:databases/postgresql92-client 20140528: AFFECTS: users of security/calife & security/calife-devel AUTHOR: roberto@FreeBSD.org Calife 2.8.x is now officially EoL. Replace it with 3.0 (formerly calife-devel). For port builds system please follow the following instructions: Please delete old version: # pkg delete -f security/calife-devel or # pkg_delete security/calife-devel and install security/calife. Change origin if you had the old one: # pkg set -o security/calife-devel:security/calife 20140527: AFFECTS: users of databases/db6 AUTHOR: mandree@FreeBSD.org Oracle BerkeleyDB 6.0 was upgraded to version 6.0.30. Databases that use BLOBs need to be upgraded using db_upgrade-6.0 before they can be accessed again. See the manual for details: Databases that do not use BLOBs are unaffected. 20140526: AFFECTS: users of lang/lua lang/lua has been replaced by lang/lua51. For port builds system please follow the following instructions: # portmaster -o lang/lua51 lang/lua or # portupgrade -fo lang/lua51 lang/lua or # pkg set -o lang/lua:lang/lua51 20140525: AFFECTS: users of devel/py-gobject3 and devel/py-dbus AUTHOR: gnome@FreeBSD.org py-gobject3 and py-dbus where split up in a common port (*-common), python2 port (py-*) and python3 port (py3-*) port. For port builds systems please follow the next following instructions: Please delete the existing version to avoid conflicts. # pkg delete -f py27-gobject3 py27-dbus or # pkg_delete devel/py-gobject3 devel/py-dbus followed by: # portmaster devel/py-gobject3 devel/py-dbus or # portinstall devel/py-gobject3 devel/py-dbus 20140521: AFFECTS: users of databases/mariadb55* AUTHOR: grembo@FreeBSD.org The mariadb55-client and mariadb55-server port have been changed to respect hier(7) and behave like the mysql ports. Therefore mysql-server and mysql monitor will refuse to start if my.cnf exists in /etc or /etc/mysql. In case you're affected, please move /etc/my.cnf to /usr/local/etc and/or /etc/mysql/my.cnf to /usr/local/etc/mysql. 20140520: AFFECTS: users of security/dropbear AUTHOR: ak@FreeBSD.org security/dropbear port separator syntax was changed (again), now using host^port instead of host%port. You may need to update your config files while updating to 2014.63 from the previous versions. 20140511: AFFECTS: users of databases/firebird* AUTHOR: bapt@FreeBSD.org The default version of databases/firebird* have been changed to support DEFAULT_VERSIONS variable DEFAULT_VERSIONS=firebird=2.5 20140507: AFFECTS: users of lang/open-cobol AUTHOR: johans@FreeBSD.org lang/open-cobol was moved to lang/gnu-cobol to match the new package name. Please do the following according to package manager used. # portmaster -o lang/gnu-cobol lang/open-cobol or # portupgrade -fo lang/gnu-cobol lang/open-cobol or # pkg set -o lang/open-cobol:lang/gnu-cobol 20140506: AFFECTS: users of ports-mgmt/portshaker AUTHOR: romain@FreeBSD.org ports-mgmt/portshaker was updated to avoid creating an aditional 'ports' subdirectory when merging to a poudriere_tree without ZFS, so that portshaker's default location matches poudriere's default location. Users of poudriere on non-ZFS systems should not anymore have to pass extra options to poudriere for it to find the ports tree. 20140506: AFFECTS: users of security/yassl AUTHOR: gahr@FreeBSD.org security/yassl was moved to security/cyassl to match the original package name. Please do the following according to package manager used. # portmaster -o security/cyassl security/yassl or # portupgrade -fo security/cyassl security/yassl or # pkg set -o security/yassl:security/cyassl 20140505: AFFECTS: users of databases/libiodbc AUTHOR: bapt@FreeBSD.org libiodbc no longer provide the odbc compatibility Rebuild all ports that are linked to libiodbc # portmaster -r libiodbc or # portupgrade -r databases/libiodbc 20140503: AFFECTS: users of science/hdf5* and science/netcdf* AUTHOR: sunpoet@FreeBSD.org There are major version changes in HDF5 and NetCDF ports: - science/hdf5: updated from 1.6.9 to 1.8.12 - science/hdf5-18: replaced by science/hdf5 - science/netcdf: updated from 3.6.3 to 4.3.2 C++/Fortran binding moved into new ports (by upstream) - science/netcdf-cxx: new port for C++ binding of NetCDF - science/netcdf-fortran: new port for Fortran binding of NetCDF - science/netcdf-ftn: replaced by science/netcdf-fortran - science/netcdf3-ftn: replaced by science/netcdf-fortran - science/netcdf4: replaced by science/netcdf Please deinstall them before building the new versions. 20140428: AFFECTS: users of java/openjdk7 AUTHOR: glewis@FreeBSD.org The previous version of openjdk7 had a bug that will prevent it from being able to bootstrap itself. Please deinstall openjdk7 before building the new version. 20140427: AFFECTS: users of graphics/gdal AUTHOR: sunpoet@FreeBSD.org Due to changes in header files, please deinstall gdal first while updating from 1.9.x/1.10.x to 1.11.x. 20140420: AFFECTS: users of net/samba4 AUTHOR: timur@FreeBSD.org Samba4 port now re-uses the same logic and startup script as Samba41. So, to get net/samba4 runing you need to rename samba4_enable in /etc/rc.conf to the samba_sever_enable. samba_server_enable="YES" Startup script tries it's best to guess which out of samba/nmbd/smbd/winbindd daemons have to be started, but you can fine tune this by specifying them in rc.conf, just make sure that samba_server_enable is enabled(see entry for 20121022). 20140416: AFFECTS: users of x11/xorg graphics/dri graphics/libGL and related ports AUTHOR: x11@FreeBSD.org The default xorg version has been switched on FreeBSD 10-STABLE and FreeBSD 9-STABLE. To upgrade graphics/libGL, graphics/dri and related MESA ports, it is necessary to first remove the old versions of those ports. No special upgrade procedure is needed for xorg ports but it is necessary to recompile all xorg drivers (xf86-*) and other ports that depend on the xserver version, including emulators/virtualbox-ose-additions. Portrevisions have been bumped where needed, but users of drivers not in the ports tree will need to recompile those. If it is important to stay on the old versions, it is possible to specify WITHOUT_NEW_XORG= in /etc/make.conf to get the old xorg distribution. For users in need of working console when using KMS drivers (intel and radeon graphics cards) please use the new vt(9) console driver. For more information, see https://wiki.freebsd.org/Graphics and https://wiki.freebsd.org/Newcons . To update: # pkg_delete -f libGL-\* dri-\* or # pkg delete -f libGL dri followed by # portmaster graphics/dri graphics/libGL or # portupgrade graphics/dri graphics/libGL and then # portmaster -a or # portupgrade -a 20140416: AFFECTS: users of print/freetype2 textproc/libxml2 x11/pixman x11/libxcb and graphics/freeglut AUTHOR: x11@FreeBSD.org and gnome@FreeBSD.org The library version of the above libraries has been brought in line with what upstream expects. To do this all users of these ports need to be rebuilt. Portrevisions have been bumped as a consequence. # portmaster -r freetype2 -r libxml2 -r pixman -r freeglut -r libxcb or # portupgrade -rf freetype2 libxml2 pixman freeglut libxcb 20140415: AFFECTS: Users of mod_python3 AUTHOR: ohauer@FreeBSD.org www/mod_python3 was renamed to www/mod_python33, additional www/mod_python35 with support for apache24 was added to the portstree. To reflect the new port location use: pkgng users: # pkg set -o www/mod_python3:www/mod_python33 portmaster users: # portmaster -o www/mod_python33 www/mod_python3 portupgrade users: # portugrade -o www/mod_python33 www/mod_python3 20140414: AFFECTS: Users of dmd 1.X and dmd 2.x. AUTHOR: cy@FreeBSD.org lang/dmd and lang/dmd2 have switched places. Dmd 1.x is no longer supported by digitalmars.com and is now the secondary dmd port in the collection. Dmd2 is the primary port. What this means to dmd users is that dmd1 is now used to invoke dmd 1.x and the dmd command (instead of dmd2) now invokes dmd 2.x. 20140413: AFFECTS: Users of Python and pkg >= 1.2.7_1 AUTHOR: koobs@FreeBSD.org There have been reports of the following error when upgrading Python ports: pkg-static: Plist error, directory listed as a file: .egg-info The cause is an outdated or unpatched version of setuptools or distribute installed by the user, or leftover from previous upgrades being used during the `setup.py install` phase. pkg >= 1.2.7_1 now generates an error where previously it did not. Users should inspect their ${LOCALBASE}/lib/pythonX.Y/site-packages directory, and remove any entries that reference versions of setuptools or distribute *not* provided by ports or packages. Examples of entries that may be removed are: 1) distribute-0.6.35-py2.7.egg 2) setuptools-0.6c11-py2.7.egg 3) *Any* version of setuptools directly from PyPi via pip or easy_install More information is available here: http://lists.freebsd.org/pipermail/freebsd-ports/2014-April/091618.html 20140410: AFFECTS: users of mail/vpopmail AUTHOR: bdrewery@FreeBSD.org If you are storing limits in MySQL, the following schema changes must be made: ALTER TABLE `limits` ADD `disable_maildrop` TINYINT(1) DEFAULT '0' NOT NULL AFTER `disable_spamassassin`; ALTER TABLE `limits` MODIFY `diskquota` BIGINT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `limits` MODIFY `maxmsgcount` BIGINT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `limits` MODIFY `defaultquota` BIGINT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `limits` MODIFY `defaultmaxmsgcount` BIGINT UNSIGNED NOT NULL DEFAULT 0; 20140403: AFFECTS: users of net/rabbitmq AUTHOR: olgeni@FreeBSD.org This release changes the behaviour of the default "guest" user. Previously the guest user could be accessed from any network location. In RabbitMQ 3.3.0 and later, the guest user can only be accessed via localhost by default. Any other users you create will not (by default) be restricted in this way. See http://www.rabbitmq.com/access-control.html for more information. 20140403: AFFECTS: users of net/kdnssd AUTHOR: kde@FreeBSD.org KDE SC ports have been updated to 4.12.4. kdnssd package has been renamed to match upstream naming. pkgng users need to update package origin manually: # pkg set -o net/kdnssd:net/zeroconf-ioslave 20140402: AFFECTS: users of textproc/elasticsearch AUTHOR: tj@FreeBSD.org Elasticsearch has been updated to version 1.1.0. If you are updating from a version prior to 1.0.0 you will need to do a full cluster shutdown for this update as it can not be performed in a rolling fashion. 20140401: AFFECTS: users of security/gnutls3 AUTHOR: bdrewery@FreeBSD.org Libdane support is no longer enabled by default. Rebuild the port with the LIBDANE option if danetool is desired. 20140331: AFFECTS: users of print/cups-client and print/cups-image AUTHOR: bsam@FreeBSD.org CUPS ports have been updated to version 1.7.1. A file has migrated from cups-image port to cups-client. Before upgrading you should force the removal of cups-image port, otherwise it will conflict with the new one. pkg users: # pkg delete -f cups-image\* other users: # pkg_delete -f cups-image\* 2. Install/upgrade other cups* packages. If cups-filters complains about a missing cups/raster.h include, try reinstalling the cups-client package. 20140327: AFFECTS: users of lang/php5 and lang/php55 with Apache module AUTHOR: ale@FreeBSD.org The Apache PHP module has been separated from the main PHP port. If you had the APACHE OPTION selected, you have to perform the following steps: 1) update your lang/php* options (i.e. 'make config') 2) rebuild lang/php* port 3) install www/mod_php* port It is *mandatory* to build both ports with the same DEBUG and ZTS options, so if you have a threaded Apache (i.e. worker or event MPM) you have to select the ZTS option in lang/php* port. 20140322: AFFECTS: users of devel/apr1 AUTHOR: ohauer@FreeBSD.org APR was updated to 1.5.0, BDB requirement was bumped to 48+ It is necessary to first remove the old version of devel/apr1. Please rebuild all ports which are using functions from APR/APR-util such as Apache, Subversion, etc. # portmaster -r apr or # portupgrade -r devel/apr1 20140318: AFFECTS: users of net/openldap24-server AUTHOR: delphij@FreeBSD.org Please note that Berkeley DB backend is now deprecated and will be removed in a future version. Existing users should migrate data to the new MDB backend when possible. 20140317: AFFECTS: users of misc/ossp-uuid-perl AUTHOR: culot@FreeBSD.org misc/ossp-uuid-perl was replaced by misc/p5-OSSP-uuid. Please do the following according to package manager used. # portmaster -o misc/p5-OSSP-uuid misc/ossp-uuid-perl or # portupgrade -fo misc/p5-OSSP-uuid misc/ossp-uuid-perl or # pkg set -o misc/p5-OSSP-uuid:misc/ossp-uuid-perl 20140312: AFFECTS: users of net/openistgt AUTHOR: jpaetzel@FreeBSD.org Between istgt supporting target reload, and iscsid using CTL there is no point to this port. As such it has been deleted without warning, since the support for it is as best questionable. pkgng users: # pkg set -o net/openistgt:net/istgt portmaster users: # portmaster -o net/istgt net/openistgt # portmaster -r istgt portupgrade users: # portupgrade -o net/istgt -f net/openistgt # portupgrade -fr net/istgt 20140310: AFFECTS: users of mail/p5-Mail-SpamAssassin and japanese/p5-Mail-SpamAssassin AUTHOR: ohauer@FreeBSD.org The port mail/p5-Mail-SpamAssassin was renamed to mail/spamassassin and the port japanese/p5-Mail-SpamAssassin was renamed to japanese/spamassassin. To ease upgrading run the following set of commands: pkgng users: # pkg set -o mail/p5-Mail-SpamAssassin:mail/spamassassin # pkg set -o japanese/p5-Mail-SpamAssassin:japanese/spamassassin portmaster users: # portmaster -o mail/spamassassin mail/p5-Mail-SpamAssassin # portmaster -o japanese/spamassassin japanese/p5-Mail-SpamAssassin 20140307: AFFECTS: users of devel/py-setuptools dependent ports AUTHOR: sunpoet@FreeBSD.org devel/py-setuptools is being used for every python ports (if USE_PYDISTUTILS defined) since r336553. Due to PKGORIGIN limitation, we cannot build one python port with python27 and the other with python33 since they require different setuptools versions which have same PKGORIGIN. With the addition of py-setuptools{27,32,33}, we could now have py27-foo and py33-bar coexist in one system. Note that this is only a short-term solution. It does not help if you need coexistence of one port with different python versions, e.g. py27-foo and py33-foo. Please rebuild all ports that depend on devel/py-setuptools and use devel/py-setuptools{27,32,33} instead. XX represents python version (27, 32 or 33) in the following steps. pkgng users: # pkg set -o devel/py-setuptools:devel/py-setuptoolsXX portmaster users: # portmaster -o devel/py-setuptoolsXX devel/py-setuptools # portmaster -r py\*setuptools portupgrade users: # portupgrade -o devel/py-setuptoolsXX -f devel/py-setuptools # portupgrade -fr devel/py-setuptools 20140304: AFFECTS: users of security/kwallet AUTHOR: kde@FreeBSD.org KDE SC ports have been updated to 4.12.3. kwallet package has been renamed to match upstream naming. pkgng users need to update package origin manually: # pkg set -o security/kwallet:security/kwalletmanager 20140302: AFFECTS: users of sysutils/ansible AUTHOR: rm@FreeBSD.org This is an major update and changes were introduced in ansible 1.5, that are not backward compatible. Please refer changelog there before update: https://raw.github.com/ansible/ansible/v1.5.0/CHANGELOG.md 20140223: AFFECTS: users of net-mgmt/mk-livestatus AUTHOR: ohauer@FreeBSD.org livecheck was removed in 1.2.3.i5. It never was really stable, Nagios4 has something similar built in. Please remove the "livecheck=..." directive from etc/nagios/nagios.cfg. 20140222: AFFECTS: users of mail/courier-imap AUTHOR: oliver@FreeBSD.org When using SSL and updating from an older version, run mkdhparams(8) to create the new TLS_DHPARAMS file which is needed for Courier IMAP 4.15 and up. 20140222: AFFECTS: users of net-im/turpial AUTHOR: olivierd@FreeBSD.org Turpial has been updated to 3.0, due to changes in net-im/turpial port it will be necessary to remove it before updating. 20140220: AFFECTS: users of editors/vim AUTHOR: sunpoet@FreeBSD.org The editors/vim port has been reworked to simplify option handling. In UI option group, a new option (CONSOLE) was added for users who do not need GUI support. This option is off by default. You might encounter install or package failures with "old" option setting. Please run "make config" to modify your setting. 20140219: AFFECTS: users of textproc/docbook* AUTHOR: mat@FreeBSD.org The textproc/docbook-* ports have been consolidated into two ports textproc/docbook-sgml and textproc/docbook-xml. Before upgrading you should force the removal of the existing ports, they will conflict with the new ones. pkg users can run: pkg delete -f docbook-xml\* docbook-sk\* docbook\[2345\]\?\?-\* docbook-4\* the other users can run: pkg_delete -f docbook-xml\* docbook-sk\* docbook\[2345\]\?\?-\* docbook-4\* 20140218: AFFECTS: users of KDE SC 4 AUTHOR: kde@FreeBSD.org KDE SC ports have been updated to 4.12.2. kdeadmin, kdenetwork, kdesdk, and kdetoys ports have been split due to upstream changes. KDE Workspace port has been updated to 4.11.6. It requires modern Mesa libraries, provided by WITH_NEW_XORG knob. To update Xorg ports to newer version follow instructions at https://wiki.freebsd.org/Graphics 20140218: AFFECTS: users of misc/kdehier4 AUTHOR: kde@FreeBSD.org KDE4_PREFIX has been changed from /usr/local/kde4 to /usr/local. All ports that depends on kdehier4 must be reinstalled. PORTREVISION for affected ports has been increased, upgrading tools (portmaster, pkg) should handle this update without manual intervention. Please check /usr/local/kde4 for leftovers after upgrade. If you don't have locally modified files, e.g. under /usr/local/kde4/etc, you may safely remove /usr/local/kde4. 20140214: AFFECTS: users of lang/perl5.12 AUTHOR: mat@FreeBSD.org Perl 5.12 has been removed. The default Perl is lang/perl5.16. pkg(8) users: 1) Update the origin to point to 5.16: pkg set -o lang/perl5.12:lang/perl5.16 2) Upgrade perl and all dependencies: pkg install -Rf lang/perl5.16 Portupgrade users: 0) Fix pkgdb.db (for safety): pkgdb -Ff 1) Reinstall new version of Perl (5.16): portupgrade -o lang/perl5.16 -f lang/perl5.12 2) Reinstall everything that depends on Perl: portupgrade -fr lang/perl5.16 Portmaster users: portmaster -o lang/perl5.16 lang/perl5.12 Conservative: portmaster p5- Comprehensive (but perhaps overkill): portmaster -r perl- Note: If the "perl-" glob matches more than one port specify the name of the Perl directory in /var/db/pkg explicitly. Also, depending on when perl 5.12 was installed last, the prefix may be perl-, perl5- or perl5.12-. 20140211: AFFECTS: users of lang/php* database/postgresql* database/mysql* www/apache* AUTHOR: mat@FreeBSD.org The default versions of lang/php*, databases/postgresql*, databases/mysql* and www/apache* have been changed to support the new DEFAULT_VERSIONS variable. DEFAULT_APACHE_VER, DEFAULT_MYSQL_VER, DEFAULT_PGSQL_VER, DEFAULT_FPC_VER and DEFAULT_PHP_VER are now deprecated. You can use the new DEFAULT_VERSIONS variable like this: DEFAULT_VERSIONS=php=5.5 mysql=5.6 apache=2.4 20140208: AFFECTS: users of spamdyke AUTHOR: bdrewery@FreeBSD.org Spamdyke has been updated to 5.0.0. The behavior has changed from 4.x. Please see the upgrading notes at: http://www.spamdyke.org/documentation/UPGRADING_version_4_to_version_5.txt 20140208: AFFECTS: users of icu AUTHOR: bapt@FreeBSD.org icu has been updated to 52.1. Please rebuild all ports that depend on it if you have the glib20 port built with COLLATION_FIX option activated If you use portmaster: portmaster -w -r icu If you use portupgrade: portupgrade -fr devel/icu If you use pkgng with binary packages: pkg install -fR devel/icu 20140201: AFFECTS: users of net-mgmt/zabbix* AUTHOR: koobs@FreeBSD.org The login shell for the zabbix user in UIDs was changed from /usr/sbin/nologin to /bin/sh to fix the zabbix-agent UserParameter feature. To update the existing user on your system, run: # pw usermod zabbix -s /bin/sh 20140114: AFFECTS: users of www/mod_authnz_external AUTHOR: ohauer@FreeBSD.org www/mod_authnz_external was moved to www/mod_authnz_external22 Please do the following according to package manager used. # portmaster -o www/mod_authnz_external22 www/mod_authnz_external or # portupgrade -fo www/mod_authnz_external22 www/mod_authnz_external or # pkg set -o www/mod_authnz_external:www/mod_authnz_external22 20140113: AFFECTS: users of net/samba41 AUTHOR: timur@FreeBSD.org With the introduction of Samba 4.1 corresponding port lost SWAT support and made WINBIND support mandatory. As samba4 introduced additional 'samba' daemon to the tripplet of nmbd/smbd/winbindd to avoid confusion startup script for samba41 was renamed to 'samba_server'. To start the whole band up it's enough to add to the rc.conf: samba_server_enable="YES" Startup script tries it's best to guess which out of samba/nmbd/smbd/winbindd daemons have to be started, but you can fine tune this by specifying them in rc.conf, just make sure that samba_server_enable is enabled(see entry for 20121022). 20140112: AFFECTS: users of devel/libical AUTHOR: kwm@FreeBSD.org The libical port was updated to 1.0.0. Due to the shared library bump and the removal of the .la file, all ports that use libical need to be rebuilt. # portmaster -r libical or # portupgrade -fr libical or # pkg install -fR libical 20140111: AFFECTS: users of lang/go AUTHOR: jlaffaye@FreeBSD.org Third party Go packages installed via the ports tree are no longer installed in GOROOT (PREFIX/go) but in a specific path: PREFIX/share/go Affected ports had their PORTREVISION bumped. To reinstall these packages via the ports tree, it is needed to deinstall them first (the build will fail if the `go` command detects that they already exists in GOROOT). If you are using these third party Go packages for local Go development, you have to add this new path to your GOPATH environment variable. 20140107: AFFECTS: users of Qt 4 ports AUTHOR: makc@FreeBSD.org Qt 4 ports framework has been reworked, several ports have been renamed. To ease upgrading run the following set of commands: # pkg set -o devel/qt4-declarative:x11-toolkits/qt4-declarative # pkg set -o devel/qt4-qtestlib:devel/qt4-testlib # pkg set -o textproc/qt4-clucene:textproc/clucene-qt4 # pkg set -o www/qt4-webkit:www/webkit-qt4 # pkg set -o x11/qt4-opengl:graphics/qt4-opengl 20140102: AFFECTS: users of archivers/p7zip AUTHOR: rakuco@FreeBSD.org The MINIMAL and MODULES options have been removed from archivers/p7zip, which now unconditionally installs the 7z, 7za and 7zr, as if the MINIMAL option was previously unset. The RAR decompression codec, whose source code has a more restrictive license that forbids its use for creating RAR archives, has been moved to a separate port, archivers/p7zip-codec-rar. 20131230: AFFECTS: ports using Apache Software License 2.0 AUTHOR: ohauer@FreeBSD.org The acronym for Apache Software License 2.0 was renamed to APACHE20 20131226: AFFECTS: users of security/cyrus-sasl2 AUTHOR: ume@FreeBSD.org The SASL GSSAPI authentication plugin was removed from security/cyrus-sasl2 port and divided into new security/cyrus-sasl2-gssapi port. If you are using the SASL GSSAPI authentication, please install security/cyrus-sasl2-gssapi port, in addition to upgrading security/cyrus-sasl2 port. 20131218: AFFECTS: users of news/cnews AUTHOR: dinoex@FreeBSD.org The default path for overview files has changed. Rebuild your overview files after the update with: su - news /usr/local/libexec/cnews/nov/initov 20131217: AFFECTS: users of databases/ruby-bdb or ports-mgmt/portupgrade and databases/db5 or databases/db6 AUTHOR: mandree@FreeBSD.org databases/db5 and databases/db6 have recently been updated to fix bugs. This changed their patchlevel version. However, ruby-bdb used to break during the db[56] upgrade due to a bug described in . THEREFORE, YOU MUST MANUALLY UPGRADE databases/ruby-bdb INDIVIDUALLY TO 0.6.6_2 OR NEWER WHEN USING portupgrade AGAINST databases/db[56] PORTS. To achieve that, type: # portupgrade databases/ruby-bdb or # portmaster -x 'db*' databases/ruby-bdb before proceeding with other upgrades. Should you have corrupted the portupgrade databases, or if ruby-bdb refuses to work with the upgraded db* port with errors such as "DB needs compatible versions of libdb & db.h", then rebuild the ruby-bdb port manually, and fix the portupgrade databases: # make -C /usr/ports/databases/ruby-bdb all deinstall install clean # pkgdb -fu # portupgrade -f db5 db6 This should return portupgrade to normal operation. 20131216: AFFECTS: users of x11/xorg, graphics/libGL, graphics/dri, all xorg ports AUTHOR: zeising@FreeBSD.org The default xorg version has been switched on FreeBSD CURRENT. To upgrade graphics/libGL, graphics/dri and related MESA ports, it is necessary to first remove the old versions of those ports. No special upgrade procedure is needed for xorg port but it is necessary to recompile all xorg drivers (xf86-*) and other ports that depend on the xserver version, including emulators/virtualbox-ose-additions. Portrevisions have been bumped where needed, but users of drivers not in the ports tree will need to recompile those. If it is important to stay on the old versions, it is possible to specify WITHOUT_NEW_XORG= in /etc/make.conf to get the old xorg distribution. To update: # pkg_delete -f libGL-\* dri-\* or # pkg delete -f libGL dri followed by # portmaster graphics/dri graphics/libGL or # portupgrade graphics/dri graphics/libGL and then # portmaster -a or # portupgrade -a 20131216: AFFECTS: users of databases/db4* AUTHOR: mandree@FreeBSD.org Berkeley DB versions before and excluding 4.8 have been marked deprecated. New port installations should be based on Berkeley DB 5 or 6. Note that Oracle Berkeley DB 6 is under the more restrictive Affero GPL v3 license, be sure to review if using that fits your requirements. You can add WITH_BDB_VER=5 or WITH_BDB_VER=6 to /etc/make.conf to have all applications that get rebuilt use Oracle Berkeley DB 5 or 6, respectively. DO NOT FORCE DELETE older BerkeleyDB packages, that breaks the upgrade tools. Instead, first rebuild the ports that depend on it, then remove the old Berkeley DB versions. Berkeley DB ports should be able to build/install with an older and a newer version version both installed if WITH_BDB_VER is set. If a port then grabs the old Berkeley DB version, that is an issue with the port that requires Berkeley DB, and should be reported to the maintainer. If you are interested in upgrading now already, we have instructions at . 20131209: AFFECTS: users of dns/bind96, dns/bind98 and bind99 on FreeBSD 10.0 AUTHOR: erwin@FreeBSD.org Bind versions before 9.6.3.2.ESV.R10_2, 9.8.6_2, and 9.9.4_2 on FreeBSD 10.0 will replace named.conf on upgrade. Make sure to backup any local changes before upgrading to the _2 versions. 20131208: AFFECTS: users of java/subversion-java AUTHOR: ohauer@FreeBSD.org java/subversion-java was moved to java/java-subversion. Please do the following according to package manager used. # portmaster -o java/java-subversion java/subversion-java or # portupgrade -fo java/java-subversion java/subversion-java or # pkg set -o java/subversion-java:java/java-subversion 20131208: AFFECTS: users of x11-toolkits/vte AUTHOR: kwm@FreeBSD.org The gnome-pty-helper program has been split off from the vte package to allow both vte and vte3 to be installed at the same time. To update after this change please do the following: # pkg_delete -f vte\* or # pkg delete -fg vte\* followed by # portmaster x11-toolkits/vte or # portupgrade x11-toolkits/vte 20131207: AFFECTS: users of mail/opensmtpd AUTHOR: ashish@FreeBSD.org There has been changes to the OpenSMTPD configuration. Please refer to smtpd.conf(5), and use "smtpd -nf smtpd.conf" to validate. 20131203: AFFECTS: users of graphics/opencv, graphics/opencv-core AUTHOR: jhale@FreeBSD.org OpenCV has been updated to 2.4.7. Due to movement of files between the opencv port and the opencv-core port, it will be necessary to remove both packages before updating. # pkg_delete -f opencv\* or # pkg delete -fg opencv\* followed by # portmaster -a or # portupgrade -a 20131127: AFFECTS: users of devel/py-distribute (i.e you) AUTHOR: wg@FreeBSD.org devel/py-distribute was replaced with devel/py-setuptools. Please do the following according to package manager used. py-distribute port will be removed shortly. # portmaster -o devel/py-setuptools devel/py-distribute or # portupgrade -fo devel/py-setuptools devel/py-distribute or # pkg set -o devel/py-distribute:devel/py-setuptools # pkg install -f devel/py-setuptools 20131125: AFFECTS: users of www/mod_wsgi AUTHOR: ohauer@FreeBSD.org The port www/mod_wsgi moved to www/mod_wsgi2 to reflect the port version. # portmaster -o www/mod_wsgi2 www/mod_wsgi or # portupgrade -fo www/mod_wsgi2 www/mod_wsgi or # pkg set -o www/mod_wsgi:www/mod_wsgi2 20131120: AFFECTS: users of lang/perl5.12 lang/perl5.14 lang/perl5.16 and lang/perl5.18 AUTHOR: mat@FreeBSD.org The THREADS option has been enabled by default in all Perl. If you're using binary packages you need to do : # pkg install -Rf perl5 If you're not using binary packages, and want to switch from non threaded Perl to threaded Perl, you need to recompile and reinstall most ports depending on Perl. Supposing you have Perl 5.16, you would do: Portupgrade users: 0) Fix pkgdb.db (for safety): pkgdb -Ff 1) Change the option in lang/perl5.16: make -C /usr/ports/lang/perl5.16 config 2) Reinstall everything that depends on Perl: portupgrade -fr lang/perl5.16 Portmaster users: 1) Change the option in lang/perl5.16: make -C /usr/ports/lang/perl5.16 config 2) Reinstall everything that depends on Perl: portmaster -r perl5- Note: The installed Perl package was named perl and is now named perl5, if you have not updated your installation in a long time, you may need to use "perl-" here. 20131112: AFFECTS: users of dns/nsd AUTHOR: erwin@FreeBSD.org dns/nsd was updated to the new 4.0.0 major release. This version replaces the nsdc control program with nsd-control. This requires some manual setup with nsd-control-setup and editing of the config files. nsd-control is incompatible with nsdc so when that is used in scripts, these should be adapted. More information: http://www.nlnetlabs.nl/svn/nsd/tags/NSD_4_0_0_REL/doc/NSD-4-features NSD version 3 is still supported in dns/nsd3. To keep the old version: # portmaster -o dns/nsd3 dns/nsd or # portupgrade -fo dns/nsd3 dns/nsd or # pkg set -o dns/nsd:dns/nsd3 20131112: AFFECTS: users of dns/bind9* AUTHOR: erwin@FreeBSD.org All bind9 ports have been updated to support FreeBSD 10.x after BIND was removed from the base system. It is now self-contained in ${PREFIX}/etc/namedb, and chroot and symlinking options are no longer supported out of the box. For users of FreeBSD 9.x and earlier, the LINKS option is no longer enabled by default, but still supported. No other changes should affect those users, and updating without changing already set options will keep the system in the same state. 20131103: AFFECTS: users of security/libtasn1 and any port that depends on it AUTHOR: novel@FreeBSD.org libtasn1 has been updated to 3.3 and all shared libraries versions have been bumped. So you need to rebuild all applications that depend on libtasn1. # portmaster -r libtasn1 or # portupgrade -fr security/libtasn1 or # pkg install -fR security/libtasn1 20131031: AFFECTS: users of multimedia/rtmpdump AUTHOR: hrs@FreeBSD.org The library part of multimedia/rtmpdump is split into multimedia/librtmp. multimedia/rtmpdump now depends on the library port. A build error can occur if you built and installed old rtmpdump by using stock OpenSSL, and then install security/openssl and try to build multimedia/rtmpdump without deinstalling the installed one. Please make sure if the old rtmpdump is removed before building the new version. 20131028: AFFECTS: users of comms/dcf77pi AUTHOR: rene@FreeBSD.org As of version 1.0.5 the configuration file was renamed from hardware.txt to config.txt and the format has been made more flexible. If you have customized any parameters, be sure to copy them to config.txt after which hardware.txt can be removed. 20131028: AFFECTS: users of multimedia/ffmpeg1 and multimedia/ffmpeg-devel AUTHOR: wg@FreeBSD.org The port ffmpeg was updated, ffmpeg1 and ffmpeg-devel were removed in favor of ffmpeg. # portmaster -o multimedia/ffmpeg multimedia/ffmpeg1 or # portupgrade -fo multimedia/ffmpeg multimedia/ffmpeg1 or # pkg set -o multimedia/ffmpeg1:multimedia/ffmpeg and # portmaster -o multimedia/ffmpeg multimedia/ffmpeg-devel or # portupgrade -fo multimedia/ffmpeg multimedia/ffmpeg-devel or # pkg set -o multimedia/ffmpeg-devel:multimedia/ffmpeg 20131023: AFFECTS: users of lang/perl5.12 lang/perl5.14 AUTHOR: mat@FreeBSD.org The default Perl has been switched to lang/perl5.16. These examples are for switching from lang/perl5.14, if you are running another version, replace lang/perl5.14 with the origin of the Perl you have installed. Pkgng users: # pkg set -o lang/perl5.14:lang/perl5.16 # pkg install -Rf lang/perl5.16 Portupgrade users: 0) Fix pkgdb.db (for safety): pkgdb -Ff 1) Reinstall new version of Perl (5.16): portupgrade -o lang/perl5.16 -f lang/perl5.14 2) Reinstall everything that depends on Perl: portupgrade -fr lang/perl5.16 Portmaster users: portmaster -o lang/perl5.16 lang/perl5.14 Conservative: portmaster p5- Comprehensive (but perhaps overkill): portmaster -r perl- Note: If the "perl-" glob matches more than one port you will need to specify the name of the Perl directory in /var/db/pkg explicitly. 20131020: AFFECTS: users of mail/squirrelmail AUTHOR: adamw@adamw.org The default location for user data files and attachments has changed. This will only affect new installations, and upgrading SquirrelMail WILL NOT break your current installation. To make use of the new locations, do the following: # cp -rp /var/spool/squirrelmail/pref/* /usr/local/www/squirrelmail/data # cp -rp /var/spool/squirrelmail/attach/* /usr/local/www/squirrelmail/attach and then run /usr/local/www/squirrelmail/configure and tell SM about it ("Data Directory" and "Attachment Directory" under "General Options"). This version of SquirrelMail is a SNAPSHOT that brings in PHP 5.4 and 5.5 compatibility. 20131020: AFFECTS: users of security/gpgme AUTHOR: jhale@FreeBSD.org The library version of security/gpgme has changed, and PORTREVISION has been bumped in all dependent ports. If you have external software that depends on gpgme, this software needs to be recompiled. To recompile all software dependent on gpgme, run: # portmaster -r gpgme or # portupgrade -rf gpgme 20131008: AFFECTS: all users AUTHOR: bapt@FreeBSD.org A new USES has been added: compiler.mk, this uses allows porters to select a compiler for a given port based on the features the port needs By default this will always try to find Clang > 3.3. If the user prefers using GCC then the following macro should be added to user's make.conf: FAVORITE_COMPILER=gcc 20131004: AFFECTS: users of net-mgmt/nrpe2 AUTHOR: ohauer@FreeBSD.org The port nrpe2 was updated and moved to nrpe # portmaster -o net-mgmt/nrpe net-mgmt/nrpe2 or # portupgrade -fo net-mgmt/nrpe net-mgmt/nrpe2 or # pkg set -o net-mgmt/nrpe2:net-mgmt/nrpe 20131003: AFFECTS: users of lang/python* and ports AUTHOR: mva@FreeBSD.org The default versions of lang/python* have been changed to support the new DEFAULT_VERSIONS variable. PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION and PYTHON3_DEFAULT_VERSION are deprecated. If you have set them in your make.conf, you should change them something like DEFAULT_VERSIONS=python=2.7 python2=2.7 python3=3.3 20130929: AFFECTS: users of x11/pixman AUTHOR: zeising@FreeBSD.org The library version of x11/pixman has changed, and PORTREVISION has been bumped in all dependent ports. If you have external software that depends on pixman, this software needs to be recompiled. To recompile all software dependent on pixman, run: # portmaster -r pixman or # portupgrade -rf pixman 20130929: AFFECTS: users of graphics/libGL, graphics/dri and other MESA ports AUTHOR: zeising@FreeBSD.org The graphics/libGL, graphics/dri and related MESA ports have been updated to 9.1 when compiled with WITH_NEW_XORG= set. It is necessary to remove the old versions of both ports before updating. # pkg_delete -f libGL-\* dri-\* or # pkg delete -f libGL dri followed by # portmaster -a 20130925: AFFECTS: Users of print/qpdf AUTHOR: d.y.kazarov@mail.ru Due to the changes in libqpdf.so, please deinstall qpdf first if you are updating from 4.0.0 to 4.0.1+ 20130920: AFFECTS: Users of ptlib, opal and/or ekiga AUTHOR: kwm@FreeBSD.org The ptlib26, opal3 and ekiga3 ports where updated to the latest version and moved to the location of the old ports. If the ekiga (2.0) port is installed the same line as for ekiga3 can be used except without the 3 at the end. # portmaster -o devel/ptlib devel/ptlib26 # portmaster -o net/opal net/opal3 # portmaster -o net/ekiga3 net-im/ekiga or # portupgrade -fo devel/ptlib devel/ptlib26 # portupgrade -fo net/opal net/opal3 # portupgrade -fo net/ekiga3 net-im/ekiga or # pkg set -o devel/ptlib26 devel/ptlib # pkg set -o net/opal3 net/opal # pkg set -o net/ekiga3 net-im/ekiga 20130920: AFFECTS: Users of ports AUTHOR: bapt@FreeBSD.org New way to override the default version of a language in the ports tree. The make variable, DEFAULT_VERSIONS, allows users to override the default version defined by the ports tree. For example, to declare specific versions for Perl, Ruby and Tcl/Tk, it would be defined as: DEFAULT_VERSIONS= perl5=5.18 ruby=2.0 tcltk=8.6 Today, this only is supported by Perl, Ruby, and Tcl/Tk. 20130920: AFFECTS: Users of ports AUTHOR: bdrewery@FreeBSD.org Optional Stack Protector [1] support has been added with the WITH_SSP_PORTS knob. WITH_SSP_PORTS= yes This currently is only supported on FreeBSD 10 amd64/i386 and earlier releases on amd64. The default SSP_CLFAGS is -fstack-protector, but -fstack-protector-all may optionally be set instead. To enable support, add WITH_SSP_PORTS=yes to your make.conf and rebuild all ports. # portmaster -af or # portupgrade -af [1] https://en.wikipedia.org/wiki/Buffer_overflow_protection 20130904: AFFECTS: 10-CURRENT users with any port depending on converters/libiconv AUTHOR: madpilot@FreeBSD.org 10-CURRENT after r254273 (committed on August 13, 2013) has an implementation of iconv enabled by default in libc. NOTE: after r341775 (committed on January 29, 2014) and other following commits, a few ports, including devel/glib20, depend on the converters/libiconv again due to missing functionality in the base iconv implementation. Due to this change some major overhauling of the ports tree has been necessary to move the ports to using that implementation. People using pkgng binary packages should have little problems, "pkg upgrade" will update all software to not depend on libiconv anymore, once updated packages are available. Please make sure to perform a "pkg autoremove" after that and check that libiconv is correctly removed by it. If you are using ports the update requires some manual intervention. The following procedure should be followed: # pkg query %ro libiconv >ports_to_update # pkg delete -f libiconv # cat ports_to_update | xargs portmaster or: # pkg query %ro libiconv >ports_to_update # pkg delete -f libiconv # cat ports_to_update | xargs portupgrade -f 20130831: AFFECTS: users of graphics/gdal AUTHOR: sunpoet@FreeBSD.org Due to changes in header files, please deinstall gdal first while updating from 1.9.x to 1.10.x. 20130830: AFFECTS: users of mail/meta1 AUTHOR: dinoex@FreeBSD.org The on disk format has changed. Please make sure that queue is empty before you update. 20130817: AFFECTS: users of lang/python* AUTHOR: mva@FreeBSD.org The lang/python* ports do not install links to 2to3, idle, pydoc, python and other binaries anymore. Those were moved into the lang/python2 and lang/python3 ports respectively. This change brings us closer to the goal of making Python ports usable with different Python versions at the same time. If you have lang/python2* or lang/python3* installed, please also install the associated lang/python2 or lang/python3 port. 1. update lang/python2* and/or lang/python3* 2. install lang/python2 and/or lang/python3 3. install/update lang/python 20130816: AFFECTS: users of graphics/opendx and math/octave-forge-octcdf AUTHOR: stephen@FreeBSD.org These two ports have changed the science/netcdf dependency to science/netcdf4. It is recommended that the science/netcdf package be deinstalled before rebuilding these ports, otherwise you are likely to face port conflicts when building future ports. 20130806: AFFECTS: users of devel/eric4 AUTHOR: bsam@FreeBSD.org Since PKGVERSION=4.5.13_1 the default file destination has changed from ${PYTHON_SITELIBDIR}/eric4 to ${DATADIR}. 20130731: AFFECTS: users of glib20 AUTHOR: kwm@FreeBSD.org The devel/gio-fam-backend port was removed in the glib 2.36 update. Since the gio-fam-backend port was used in USE_GNOME=glib20, all dependencies need to be rebuilt. The removal of gio-fam-backend isn't critical, glib20 using programs should work just fine if the port is still installed. It is not clear however, if glib20 will use the new kqueue backend or the old fam backend. Note that users of pkg packages can just run the pkg delete command after their next update. # portmaster -r gio-fam-backend # pkg_delete gio-fam-backend-\* (for pkgng: pkg delete gio-fam-backend) # portmaster -a or # portupgrade -rf gio-fam-backend # pkg_delete gio-fam-backend-\* (for pkgng: pkg delete gio-fam-backend) # portupgrade -a 20130726: AFFECTS: users of Qt 3 and KDE 3 AUTHOR: rene@FreeBSD.org All ports based on Qt 3 (including KDE 3 but also ports which used Qt 3 as a graphical toolkit) expired on 20130701 because Qt 3 and KDE 3 were no longer maintained upstream. These ports have been removed today. Users of KDE 3 are advised to switch to another desktop environment provided in the Ports Collection, e.g. KDE 4 or Xfce. Users of Qt 3 are advised to upgrade to the Qt 4 counterpart(s). 20130725: AFFECTS: users of net/openafs AUTHOR: bjk@FreeBSD.org The OpenAFS 1.6.5 release is a security release which requires substantial configuration changes to the AFS servers in addition to the software update, in order to be fully protected. The entry for OPENAFS-SA-2013-003 on http://www.openafs.org/security/ has links to the upgrade documentation. The procedure involves rekeying the cell to a non-DES krb5 key, stored in a krb5 keytab named rxkad.keytab in PREFIX/etc/openafs/server/. 20130720: AFFECTS: users of japanese/mozc-server and japanese/mozc-el AUTHOR: hrs@FreeBSD.org The bin/mozc_emacs_helper program is now built and installed by japanese/mozc-server because the build processes are heavily overlapped with each other and the helper program does not depend on most of what mozc-server does actually. To upgrade them, please remove mozc-el first to prevent a conflict with the installed bin/mozc_emacs_helper. 20130719: AFFECTS: users of sysutils/bacula-server, sysutils/bacula-client, sysutils/bacula-bat AUTHOR: dvl@FreeBSD.org The configuration files for bacula have been moved to PREFIX/etc/bacula. Move your existing configuration files to this directory after upgrading. 20130718: AFFECTS: users of security/logcheck AUTHOR: glarkin@FreeBSD.org The logcheck port now provides a configuration option controlling installation of the crontab file. When installing the port interactively, the port option is enabled by default to mimic previous behavior. When the port is installed non-interactively (BATCH=yes) the crontab file *will not* be installed automatically. If the EXAMPLES port option is enabled, the crontab file can be installed manually at a later time from EXAMPLESDIR/crontab.in. 20130718: AFFECTS: users of www/zend-framework AUTHOR: wg@FreeBSD.org zend-framework has been updated to 2.2.1 and old 1.12.0 has been copied to www/zend-framework1. If you wish to stay with the older version run: # portmaster -o www/zend-framework1 www/zend-framework or # portupgrade -fo www/zend-framework1 www/zend-framework or # pkg set -o www/zend-framework:www/zend-framework1 20130714: AFFECTS: users of net/avahi-gtk AUTHOR: kwm@FreeBSD.org Avahi was updated to 0.6.31, due to changes in the avahi-gtk port it will be necessary to remove the avahi-gtk port before updating. Users of pkg packages can skip this step. # pkg_delete -f avahi-gtk\* or # pkg delete -f avahi-gtk followed by # portmaster net/avahi-gtk or # portupgrade net/avahi-gtk 20130711: AFFECTS: users of dns/py-ldns AUTHOR: mat@FreeBSD.org The dns/py-ldns port now only installs the Python bits, and depends on dns/ldns. Because of that, you cannot just do a regular upgrade, it would install dns/ldns overwriting existing files and removing them when removing the old version of dns/py-ldns. # pkg_delete -f py-ldns-\* # cd /usr/ports/dns/py-ldns && make clean && make install clean or # pkg delete -fg py-ldns-\* # pkg install -f dns/py-ldns 20130707: AFFECTS: users of www/ajaxplorer AUTHOR: madpilot@FreeBSD.org Ajaxplorer was updated to 5.0.1. This is a major update and some manual intervention may be needed. Before upgrading you should preserve the following files in WWWDIR (defaults to PREFIX/www/ajaxplorer) if you have customized them: conf/bootstrap_conf.php conf/bootstrap_context.php conf/bootstrap_plugins.php conf/bootstrap_repositories.php and put them back after the upgrade. If you are using a database backend you will need to manually update your database table using the sql script the port will install at WWWDIR/conf/conf/4.2.3-5.0.0-db-upgrade.sql Don't forget to check the documentation about upgrading from version 4.x at: http://ajaxplorer.info/ajaxplorer-5-0-0:/#Upgrade_from_4X_to_500 20130706: AFFECTS: users of devel/apr1 AUTHOR: ohauer@FreeBSD.org APR was updated to 1.4.8 and APR-util was updated to 1.5.2. Please rebuild all ports which are using functions from APR/APR-util such as Apache, Subversion, etc. # portmaster -r apr or # portupgrade -r devel/apr1 or # pkg install -fR devel/apr1 20130705: AFFECTS: users of x11/kdelibs4 AUTHOR: kde@FreeBSD.org The KDE Software Compilation 4.10.4 was committed a few days ago, and version 4.10.5 was committed today. They include better support for using clang as the compiler, but that requires recompiling all KDE ports which depend on x11/kdelibs4. Most ports which fall into this category are already part of the KDE Software Compilation and have been updated to version 4.10.5, but those released separately need to be rebuilt manually. If you are building your KDE ports with clang, doing the following is recommended: # portmaster -r kdelibs-4\* or # portupgrade -fr x11/kdelibs4 or # pkg install -fR x11/kdelibs4 Alternatively, to avoid rebuilding the ports which are part of the 4.10.5 update: # portmaster -x \*-4.10.5\* -r kdelibs-4\* or # portupgrade -x \*-4.10.5\* -fr x11/kdelibs4 20130703: AFFECTS: users of comms/trustedqsl and comms/tqsllib AUTHOR: db@FreeBSD.org Upstream have removed the need for a separate port for the library formerly found in comms/tqsllib. Please remove tqsllib before installing trustedqsl 20130627: AFFECTS: users of ports-mgmt/portmaster AUTHOR: bdrewery@FreeBSD.org Since June 22nd, portmaster no longer relies on 'WITH_PKGNG' to be defined, or ports to be checked out to enable pkgng support. It now considers whether or not pkg is installed and registered with itself. I.e., if this returns data, pkgng is considered in use: # pkg info pkg It's possible that you may have tested pkgng in the past, ran pkg2ng, and never fully committed to it by setting WITH_PKGNG. If this is the case, uninstall pkg with pkg_info/pkg_delete and also remove the stale database, rm /var/db/pkg/local.sqlite. This could manifest itself as portmaster -L showing the wrong versions, or portmaster no longer detecting installed packages correctly. Note that PORTS still require WITH_PKGNG=yes in make.conf if you are not running CURRENT. 20130627: AFFECTS: users of net/samba36 AUTHOR: timur@FreeBSD.org Samba has updated format of it's printing tdbs (ntprinting.tdb, ntforms.tdb, ntdrivers.tdb) to include character encoding. When updating from Samba 3.5 or earlier to Samba 3.6 or 4.0 these tdbs need to be migrated to new registry based printing management. This implies also character conversion. You have to specify the correct code page for the conversion, see iconv -l. The mostly used one is Windows Latin1 which is CP1252. You can correctly view the tdb with: # net printing dump encoding=CP1252 /path/to/ntprinters.tdb or migrate it with e.g.: # net printing migrate encoding=CP1252 /path/to/ntprinters.tdb If you migrate printers it is suggest to do it in the following order: ntforms.tdb ntdrivers.tdb ntprinting.tdb Don't forget to rename, move or delete these files in /var/db/samba after the migration. 20130623: AFFECTS: users of net-im/mikutter003 AUTHOR: tota@FreeBSD.org net-im/mikutter003 has been removed from the ports tree because the Twitter API version 1.0 was deprecated on 2013-05-07 and mikutter003, which uses the API 1.0, won't work. Please consider using net-im/mikutter instead of this. 1. deinstall mikutter003 2. upgrade Ruby to 1.9( or later) (see the entry 20130527) 3. install net-im/mikutter 20130623: AFFECTS: users of www/magento AUTHOR: melvyn@magemana.nl Magento has been updated to 1.7.0.2 on 2013-06-03. With it a stricter file system policy is enforced on the port. If you (or your customer) rely heavily on Magento Connect via the backend to install extensions, your quickfix is: # chown -R www: ${PREFIX}/www/magento # chmod -R u+w ${PREFIX}/www/magento The more conservative approach: # chown -R www: ${PREFIX}/www/magento/app/code/{local,community} \ ${PREFIX}/www/magento/app/{design,locale} \ ${PREFIX}/www/magento/{downloader,skin} # chmod -R u+w ${PREFIX}/www/magento/app/code/{local,community} \ ${PREFIX}/www/magento/app/{design,locale} \ ${PREFIX}/www/magento/{downloader,skin} The conservative approach will alert you to extensions that try to write in Magento core, while allowing clean extensions to install properly (corner cases may exist). 20130619: AFFECTS: users of devel/subversion AUTHOR: ohauer@FreeBSD.org devel/subversion has been upgraded from 1.7.10 to 1.8.0 If you want to upgrade, and use http/https access to repositories, please check, that the SERF option is enabled, as NEON support is gone. Also, mod_dontdothat and svnauthz_validate are now enabled with one option TOOLS, among other new tools and SVNMUCC is enabled always. subversion-1.7.x is available as devel/subversion17 To stay on subversion-1.7.x set in /etc/make.conf WITH_SUBVERSION_VER=17 and use the following command # pkg set -o devel/subversion:devel/subversion17 or # portmaster -o devel/subversion17 devel/subversion 20130614: AFFECTS: users who set port options in make.conf AUTHOR: tijl@FreeBSD.org Configuring options in make.conf using variables like OPTIONS_SET and OPTIONS_UNSET now also suppresses the option dialog for those options. This means that when building a port the option dialog will only appear if there are truly new options that have not been configured before using either the dialog or make.conf. This allows you to set options like DOCS, NLS, X11, etc. once for all ports and not have option dialogs pop up if those are the only options. For a list of variables you can set in make.conf to control options see Mk/bsd.options.mk. 20130612: AFFECTS: users of lang/perl* and any port that depends on it AUTHOR: az@FreeBSD.org lang/perl5.12 has been upgraded from version 5.12.4 to 5.12.5 lang/perl5.14 has been upgraded from version 5.14.2 to 5.14.4 lang/perl5.16 has been upgraded from version 5.16.2 to 5.16.3 The directory structure where Perl is installed has also been modified: "major.minor" is now used instead of "major.minor.patchlevel". The "perl-after-upgrade" script has been removed. Please rebuild all Perl ports and all ports that depend on it: # portmaster -r perl or # portupgrade -rf perl or # pkg install -fR perl 20130609: AFFECTS: users of audio/flac and any port that depends on it AUTHOR: naddy@FreeBSD.org FLAC has been updated to 1.3.0 and the shared library versions have been bumped. Please rebuild all ports that depend on it: # portmaster -r flac or # portupgrade -fr audio/flac or # pkg install -fR audio/flac 20130607: AFFECTS: Nobody AUTHOR: wxs@FreeBSD.org FreeBSD 8.4 released. 20130604: AFFECTS: users of lang/ghc and */hs-* AUTHOR: haskell@FreeBSD.org The Glorious Glasgow Haskell Compiler has been updated to version 7.6.3 and Haskell Platform to 2013.2.0.0. Hence it is recommended to rebuild or reinstall all the dependent ports by one of the following commands: # portmaster -w -r ghc or # portupgrade -fr lang/ghc or # pkg install -fR lang/ghc Note that prefixes used for hs- ports (Cabal packages) have been changed to PREFIX/{lib,share,share/doc}/cabal/ghc-GHC_VERSION to enable more seamless upgrades in the future. 20130603: AFFECTS: users of dns/opendnssec AUTHOR: wg@FreeBSD.org Some database changes have been made between version 1.3 and 1.4, upgrading needs to be done manually by running the following scripts: For MySQL users: PREFIX/share/opendnssec/migrate_adapters_1.mysql For SQLite users: PREFIX/share/opendnssec/migrate_adapters_1.sqlite3 For the full migration explanation see: PREFIX/share/doc/opendnssec/MIGRATION opendnssec 1.3 version was preserved as dns/opendnssec13 port. 20130601: AFFECTS: users of textproc/ack AUTHOR: rakuco@FreeBSD.org ack has been updated to version 2.04. It is slightly incompatible with some options present in ack1. For more information, see http://beyondgrep.com/ack-2.0. 20130530: AFFECTS: users of irc/inspircd AUTHOR: swills@FreeBSD.org The irc/inspircd port has been updated to 2.0.12. Some of the config option names in the rc script have been changed. Check the script for more detail. 20130527: AFFECTS: users of lang/ruby18 AUTHOR: swills@FreeBSD.org The default ruby version has been updated from 1.8 to 1.9. First, stop any software that uses ruby. Then, you'll need to rebuild all ports that depend on ruby: If you use portmaster: # portmaster -o lang/ruby19 lang/ruby18 # portmaster -R -r ruby-1.9 If you use portupgrade: # portupgrade -f lang/ruby18 # portupgrade -f lang/ruby19 # if you have it installed # portupgrade -f ports-mgmt/portupgrade # portupgrade -x ruby-1.8.\* -fr lang/ruby18 After these steps are complete, you can pkg_delete ruby 1.8 if you no longer need it. If you use pkgng: # pkg set -o lang/ruby18:lang/ruby19 # pkg install -fR lang/ruby19 If you wish to keep the 1.8 version as default, add the following lines to your /etc/make.conf file: # # Keep ruby 1.8 as default version. # RUBY_DEFAULT_VER=1.8 20130525: AFFECTS: users of sysutils/rsyslog5* AUTHOR: brd@FreeBSD.org Rsyslog 5.x has reached end of life status and has therefore been removed. While sysutils/rsyslog6* exists, please consider migrating to sysutils/rsyslog7 as that is the currently supported release. 20130525: AFFECTS: users of mail/postgrey AUTHOR: Darren Pilgrim The RC script for postgrey has been modified. If you use the default value for postgrey_flags this does not affect you. If you have postgrey listening on a Unix socket or set any optional values, please read the comments in the RC scripts and check your settings in rc.conf prior to restarting postgrey. 20130525: AFFECTS: users of x11/xorg and all xorg ports AUTHOR: zeising@FreeBSD.org X.Org, including libraries and some drivers, was updated. If you are running the default X.Org distribution, no special upgrade procedure should be necessary. If you are running with WITH_NEW_XORG= make sure to update and rebuild all installed drivers since xorg-server has been updated. 20130520: AFFECTS: users of textproc/elasticsearch AUTHOR: tj@FreeBSD.org This is the first stable release based on Lucene 4. We recommend testing the upgrade before doing it in production. Upgrading from 0.20 requires a full cluster restart. In order to be able to downgrade, stop indexing new data, issue a flush request, do the upgrade and only enable indexing of new data once you are certain that you no longer need to downgrade. Once new data has been indexed, downgrading is no longer possible. To be extra safe, back up your data before upgrading. 20130519: AFFECTS: users of net/activemq AUTHOR: tj@FreeBSD.org The JVM used by activemq has changed to OpenJDK 7. You will need to make sure javavmwrapper is configured to use the installed java/openjdk7 JVM. 20130512: AFFECTS: users of devel/hs-git-annex AUTHOR: haskell@FreeBSD.org On FreeBSD, git-annex incorrectly calculated SHA256 hashes for files added to the annex repository due to the BSD-style output of /sbin/sha256. The result of this is silent data corruption. This problem has been fixed, but every file stored in an annex repository will fail a `git-annex fsck` after the upgrade. Thus, before updating, it is wise to issue the command below and restore the files. $ git-annex uninit Corruptions can then be found by finding all files with the same hash. Note that only files that were mishashed to the same location are a problem. 20130511: AFFECTS: users of TeX AUTHOR: hrs@FreeBSD.org One can now choose TeXLive or teTeX by using TEX_DEFAULT. Specifying TEX_DEFAULT=texlive, almost all of ports which use TeX will install and depend on TeXLive-based ones. Note that the default value is still "tetex" and the two cannot coexist. You need to remove all of the TeX-related packages based on teTeX to try TeXLive. 20130507: AFFECTS: users of comms/usbmuxd or comms/libimobiledevice AUTHOR: avilla@FreeBSD.org libusbmuxd and libimobiledevice versions have changed. Please, rebuild all the ports that depend on them: # portmaster -r usbmuxd or # portupgrade -fr comms/usbmuxd or # pkg install -fR comms/usbmuxd 20130507: AFFECTS: users of devel/libplist AUTHOR: avilla@FreeBSD.org libplist Python bindings were split from the main port. To get them you need to install devel/py-libplist. 20130506: AFFECTS: users of TeX AUTHOR: hrs@FreeBSD.org TeXLive ports have been imported. Although most of ports still depend on teTeX at this moment, they will be converted to use TeXLive. The directory layout of them is as follows. Please use print/texlive-full if you are not familiar with how each component works. Finer-grained ports will be added (specifically, meta ports for smaller installation and so on). Note that the full installation needs around 3GB of disk space. teTeX-based ports and TeXLive are mutually exclusive. This means TeXLive ports cannot be installed when teTeX is already installed. You need to remove all of the TeX-related packages based on teTeX to try TeXLive. Migration procedure will be announced when conversion of the port dependency is completed. * Meta port - print/texlive-full: meta port to install all of the TeXLive components * Libraries - devel/tex-kpathsea: kpathsea library - devel/tex-web2c: WEB2C toolchain and TeX engines - print/tex-ptexenc: character code conversion library for pTeX * Base part of the TeXLive - print/texlive-base: binary programs in TeXLive - print/texlive-texmf: macro and font data in TeXLive - print/texlive-infra: tlmgr dependency (Perl modules) - print/tex-formats: * TeX Formats - print/tex-formats: TeX, LaTeX, PDFTeX, AMSTeX, ConTeXT, CSLaTeX, EplainTeX, METAFONT, MLTeX, PDFTeX, TeXsis - print/tex-aleph: Aleph/Lambda - print/tex-xetex: XeTeX - print/tex-luatex: LuaTeX - print/tex-jadetex: JadeTeX - print/tex-xmltex: XMLTeX - japanese/tex-ptex: pTeX * DVI ware - print/tex-xdvik: XDvi 20130503: AFFECTS: users of security/libgcrypt and any port that depends on it AUTHOR: ehaupt@FreeBSD.org The libgcrypt port has been updated to 1.5.2 and all shared libraries versions have been bumped. So you need to rebuild all applications that depend on libgcrypt. Do something like: # portmaster -r libgcrypt or # portupgrade -rf libgcrypt Alternatively, you may install sysutils/bsdadminscripts, run pkg_libchk and rebuild all detected ports: # pkg_libchk | tee /tmp/rebuild # awk -F':' '/libgcrypt.so/ {print $1}' /tmp/rebuild | sort | uniq \ | xargs portmaster -D 20130502: AFFECTS: users of ports-mgmt/pkg, ports-mgmt/poudriere, ports-mgmt/tinderbox AUTHOR: bdrewery@FreeBSD.org This only affects people who are _building_ binary packages for pkgng. If you are building from ports please ignore this. This step is optional. It is recommended to rebuild all packages and then have your users run 'pkg check -Ba' and 'pkg upgrade' on their servers once. This will allow the new shlib tracking to reinstall packages that have changed shlib requirements. 20130427: AFFECTS: users of print/a2ps-{a4,letter}, print/c2ps-{a4,letter}, print/lprps-{a4,letter}, or graphics/jpeg2ps-{a4,letter} AUTHOR: hrs@FreeBSD.org The affected ports have been converted to use libpaper for the default paper size as print/psutils did. For more detail, see 20130424 below. 20130424: AFFECTS: users of print/psutils-a4 or print/psutils-letter AUTHOR: hrs@FreeBSD.org print/psutils-a4 and print/psutils-letter have been merged into a single port print/psutils. The default paper size in psnup(1), psresize(1), and pstops(1) is now selected via an environment variable and/or a configuration file of libpaper(3). For more detail, see papersize(5) and paperconfig(8) manual page. If you prefer A4 or letter size by default as the old version did, please install print/papersize-default-a4 or print/papersize-default-letter, which installs a papersize configuration file without manual configuration. 20130423: AFFECTS: users of mail/postfix AUTHOR: sahil@FreeBSD.org This is a significant update; so, please carefully review the RELEASE_NOTES to identify which incompatible changes impact your environment. 20130408: AFFECTS: users of astro/libkgeomap, graphics/digikam-kde4, graphics/kipi-plugins-kde4 AUTHOR: makc@FreeBSD.org Digikam ports have been updated and split. Previous versions have to be deinstalled before upgrade: # pkg_delete -f digikam-2\* kipi-plugins-2\* libkgeomap-2\* or # pkg delete -fg digikam-2\* kipi-plugins-2\* libkgeomap-2\* 20130403: AFFECTS: users of mail/thunderbird-esr* AUTHOR: flo@FreeBSD.org Mozilla stopped providing 2 versions of thunderbird. The only one lives in mail/thunderbird if you are using thunderbird-esr please switch to thunderbird by running on of the following commands. # portupgrade -o mail/thunderbird mail/thunderbird-esr # portupgrade -o mail/thunderbird-i18n \ mail/thunderbird-esr-i18n (if installed) or # portmaster -o mail/thunderbird mail/thunderbird-esr # portmaster -o mail/thunderbird-i18n \ mail/thunderbird-esr-i18n (if installed) 20130331: AFFECTS: users of */hs-* AUTHOR: haskell@FreeBSD.org Due to some unexpected dynamic linking problems, Haskell Cabal ports with binaries that link to their own libraries may not work. With default configuration, the following ports are known to have this problem: Agda, BNFC, pandoc, and uuagc. (Their port revision are now bumped.) In general, it is recommended to rebuild the port if you are experiencing that the corresponding binary will not start, e.g.: % agda Shared object "libHSAgda-2.3.2-ghc7.4.2.so" not found, required by "agda" 20130329: AFFECTS: users of ports-mgmt/portmaster AUTHOR: bdrewery@FreeBSD.org Portmaster 3.15 should be skipped if you are not using pkgng and are on 9.1, 8-STABLE, 9-STABLE, or CURRENT. It may require manual upgrading to 3.16: # make -C /usr/ports/ports-mgmt/portmaster build deinstall install clean 20130329: AFFECTS: users of net/kio-upnp-ms AUTHOR: avilla@FreeBSD.org A wrong setting in x11/kdelibs4 was causing some unlisted files to be installed. Remember to delete them after updating x11/kdelibs4 to 4.10.1_1: # rm /usr/local/kde4/bin/upnpmstest # rm /usr/local/kde4/bin/stattest # rm /usr/local/kde4/bin/recursive_upnp 20130327: AFFECTS: users of mail/opensmtpd AUTHOR: ashish@FreeBSD.org Privilege separation is enabled in OpenSMTPD port from 5.3,1. Users upgrading from version 201303011853 or earlier are required to follow the instructions in pkg-message to fix the filesystem permissions on OpenSMTPD spool directories. 20130327: AFFECTS: users of KDE SC 4 AUTHOR: kde@FreeBSD.org KDE SC ports have been updated to 4.10.1. kdelibs4 does no longer directly use aspell or hspell, to regain their functionality enable corresponding option in textproc/enchant. A number of ports have been split and must be deinstalled before upgrading: # pkg_delete -f kdegames-4\* kde-workspace-4\* kde-wallpapers-4\* or # pkg delete -fg kdegames-4\* kde-workspace-4\* kde-wallpapers-4\* 20130326: AFFECTS: users of deskutils/strigi AUTHOR: makc@FreeBSD.org Strigi port has been split on libraries, client, daemon, and utilities. Manual update is required: # cd /usr/ports/deskutils/strigi && make deinstall && \ make clean && make install clean or # pkg delete -f strigi && pkg upgrade && pkg install deskutils/strigi 20130323: AFFECTS: users of archivers/libarchive AUTHOR: glewis@FreeBSD.org The archivers/libarchive port has been updated to 3.1.2. The shared library version has changed from 12 to 14. Please rebuild all ports that depend on it: # portmaster -r libarchive or # portupgrade -fr archivers/libarchive or # pkg install -fR archivers/libarchive 20130319: AFFECTS: users of ports AUTHOR: bdrewery@FreeBSD.org Ports now use ports-mgmt/dialog4ports to render and interact with the options dialog in 'make config'. This will be automatically built and installed on the first use. dialog4ports provides a new UI able to represent all the features provided by the new options framework. 20130319: AFFECTS: users of net/freerdp AUTHOR: fluffy@FreeBSD.org The net/freerdp package was changed API and require to deinstall previous version first to avoid build conflicts. 20130317: AFFECTS: users of graphics/poppler AUTHOR: gnome@FreeBSD.org The graphics/poppler has been updated to 0.22.2. The shared library version has changed from 18 to 34. Please rebuild all ports that depends on it: # portmaster -r poppler-0 or # portupgrade -fr graphics/poppler or # pkg install -fR graphics/poppler 20130317: AFFECTS: users of devel/protobuf AUTHOR: vanilla@FreeBSD.org The devel/protobuf has been updated to 2.5.0. The shared library version has changed from 7 to 8. Please rebuild all ports that depends on it: # portmaster -r protobuf or # portupgrade -fr devel/protobuf or # pkg install -fR devel/protobuf 20130316: AFFECTS: users of converters/libiconv and devel/gettext AUTHOR: bapt@FreeBSD.org libiconv now handles the lib/charset.alias file instead of devel/gettext. If you are using pkgng 'and' upgrading from source with portupgrade or portmaster, first delete gettext, upgrade libiconv, then reinstall gettext. This will break sudo, so you *must* do this in a root shell (sudo -i) if you use sudo. # pkg delete -f devel/gettext # portmaster converters/libiconv devel/gettext or # pkg delete -f devel/gettext # portupgrade converters/libiconv devel/gettext 20130308: AFFECTS: users of net-im/folks and devel/libgee AUTHOR: kwm@FreeBSD.org folks and libgee have been repocopied net-im/folks04 and devel/libgee06 respectively. Please do the following according to package manager used. # portmaster -o devel/libgee06 devel/libgee # portmaster -o net-im/folks04 net-im/folks or # portupgrade -fo devel/libgee06 devel/libgee # portupgrade -fo net-im/folks04 net-im/folks or # pkg set -o devel/libgee:devel/libgee06 # pkg set -o net-im/folks:net-im/folks04 20130307: AFFECTS: users of textproc/elasticsearch AUTHOR: tj@FreeBSD.org textproc/elasticsearch has been updated to 0.20.5. This update also changes the required JDK to OpenJDK 7 as there are known issues when running on a Java 1.6 JDK. 20130307: AFFECTS: users of audio/liblastfm AUTHOR: nivit@FreeBSD.org The audio/liblastfm has been updated to 1.0.6. The shared library version has changed from 0 to 1. Please rebuild all ports that depends on it: If you use portmaster: portmaster -r liblastfm If you use portupgrade: portupgrade -fr audio/liblastfm If you use pkgng with binary packages: pkg install -fR audio/liblastfm 20130305: AFFECTS: users of devel/py-setuptools (i.e you) AUTHOR: rm@FreeBSD.org devel/py-setuptools was replaced with devel/py-distribute. Please do the following according to package manager used. py-setuptools port will be removed shortly. # portmaster -o devel/py-distribute devel/py-setuptools or # portupgrade -fo devel/py-distribute devel/py-setuptools or # pkg set -o devel/py-setuptools:devel/py-distribute # pkg install -f devel/py-distribute 20130226: AFFECTS: users of textproc/apache-solr AUTHOR: vanilla@FreeBSD.org textproc/apache-solr has been repocopied to textproc/apache-solr3. If you need to continue with the old stable version please run # portmaster -o textproc/apache-solr3 textproc/apache-solr or # portupgrade -fo textproc/apache-solr3 textproc/apache-solr or # pkg set -o textproc/apache-solr:textproc/apache-solr3 20130218: AFFECTS: users of net/samba4-devel AUTHOR: timur@FreeBSD.org The port was renamed into net/samba4 and is going to replace older development version of Samba4. You can upgrade it with: # portmaster -o net/samba4 net/samba4-devel In case you want to upgrade from net/samba36 make sure, that you've made backup of /usr/local/etc/smb.conf and the content of /var/db/samba/ directory. There is no direct upgrade path from Samba3 to Samba4, but you can always try: # portmaster -o net/samba4 net/samba36 Make sure you've read instructions from the supplied README.FreeBSD file and read all the relevant pages on http://wiki.samba.org/ We still miss necessary support for Samba4 from base ntpd and bind9, port versions are also are not ready yet, but been worked on. Please note, that Samba4 is still in it's early days, so there are bugs both from my side and it's own, so be careful with placing it into production. 20130206: AFFECTS: users of sysutils/boxbackup AUTHOR: bdrewery@FreeBSD.org The default location of the configuration files changed from /usr/local/etc/box to /usr/local/etc/boxbackup. Move your configuration after upgrading: mv /usr/local/etc/box /usr/local/etc/boxbackup 20130206: AFFECTS: users of x11/wbar AUTHOR: nivit@FreeBSD.org wbar has been updated to 2.3.4. The new version uses a different icon for the dock background, so you have to replace the old one in your config file ~/.wbar Replace i: /usr/local/share/pixmaps/wbar/osxbarback.png with i: /usr/local/share/pixmaps/wbar/dock.png 20130206: AFFECTS: users of security/libtasn1 and any port that depends on it AUTHOR: novel@FreeBSD.org libtasn1 has been updated to 2.14 and all shared libraries versions have been bumped. So you need to rebuild all applications that depend on libtasn1. If you use portmaster: portmaster -r libtasn1 If you use portupgrade: portupgrade -fr security/libtasn1 If you use pkgng with binary packages: pkg install -fR security/libtasn1 20130206: AFFECTS: users of Tcl/Tk AUTHOR: gahr@FreeBSD.org The following ports have been removed, as threads and modules are now included in the main ports: - lang/tcl84-thread - lang/tcl85-thread - lang/tcl86-thread - lang/tcl-modules - x11-toolkits/tk84-thread - x11-toolkits/tk85-thread - x11-toolkits/tk86-thread Please remove them ... If you use pkgng: pkg delete -f If you use pkg_* tools pkg_delete -f ... before rebuilding all ports that depend on them: If you use portmaster: portmaster -w -r If you use portupgrade: portupgrade -Ofr If you use pkgng with binary packages: pkg install -fR 20130205: AFFECTS: users of lang/ghc and */hs-* AUTHOR: haskell@FreeBSD.org Note that the recent devel/libffi update caused some breakage in the Haskell ports with the DYNAMIC option enabled. The problem has been identified and fixed since then. All Haskell ports have been updated to their latest stable versions or bumped as DYNAMIC is enabled by default. Hence it is recommended to rebuild or reinstall all ports depending on GHC by one of the following commands: # portmaster -w -r ghc or # portupgrade -fr lang/ghc or # pkg install -fR lang/ghc 20130205: AFFECTS: users of editors/libreoffice AUTHOR: bapt@FreeBSD.org LibreOffice has been updated to 3.6.5 with a bundle version of libcmis. The build will fail if you sill have net/libcmis 0.1 installed. Before upgrading LibreOffice you should either first remove libcmis from your system or upgrade it to version 0.3. 20130205: AFFECTS: users of security/gnutls and any port that depends on it AUTHOR: novel@FreeBSD.org gnutls has been updated to 2.12.23 and all shared libraries versions have been bumped. So you need to rebuild all applications that depend on gnutls. If you use portmaster: portmaster -r gnutls If you use portupgrade: portupgrade -fr security/gnutls If you use pkgng with binary packages: pkg install -fR security/gnutls 20130204: AFFECTS: users of sysutils/zfstools AUTHOR: bdrewery@FreeBSD.org The zfstools package has dropped the 'rubygem-' prefix and now installs its binary files to PREFIX/sbin instead of PREFIX/bin. 20130204: AFFECTS: users of multimedia/qt4-phonon, multimedia/qt4-phonon-gst AUTHOR: makc@FreeBSD.org qt4-phonon has been deprecated in favour of multimedia/phonon. Remove WITH_QT_PHONON from your make.conf and replace qt4-phonon with multimedia/phonon: # portmaster -o multimedia/phonon multimedia/qt4-phonon # portmaster -o multimedia/phonon-gstreamer multimedia/qt4-phonon-gst 20130204: AFFECTS: users of lang/perl5.8 and lang/perl5.10 AUTHOR: az@FreeBSD.org lang/perl5.8 and lang/perl5.10 have been removed since they've been EOL by upstream. You will have to recompile all perl dependant ports after updating your ports tree. Please see entry 20110517 for help. 20130204: AFFECTS: users of dns/poweradmin AUTHOR: Edmondas Girkantas Some database changes have been made between version 2.1.5 and 2.1.6, upgrading needs to be done manually by running the following SQL: For MySQL users: ALTER TABLE users MODIFY username VARCHAR(64) NOT NULL DEFAULT '0'; ALTER TABLE users MODIFY password VARCHAR(128) NOT NULL DEFAULT '0'; For PostgreSQL users: ALTER TABLE users ALTER COLUMN username TYPE VARCHAR(64); ALTER TABLE users ALTER COLUMN password TYPE VARCHAR(128); 20130203: AFFECTS: users of KDE SC 4 AUTHOR: kde@FreeBSD.org KDE SC ports have been updated to 4.9.5. kdemultimedia4, kdenetwork4, kde-runtime and kde-workspace ports have been split, they must be deinstalled before running any port upgrade tool: # pkg_delete -f kdemultimedia-4\* kdenetwork-4\* \ kde-workspace-4\* kde-runtime-4\* 20130202: AFFECTS: users of net-p2p/deluge AUTHOR: rm@FreeBSD.org deluge port had switched to using libtorrent-rasterbar 0.16 as backend. Since both of the versions of libtorrent are conflicting with each other, you need to deinstall libtorrent-rasterbar-15 and libtorrent-rasterbar-15-python first and then update deluge as usual. Please also keep in mind, that deluge does not work via http-proxy when libtorrent-rasterbar 0.16 is used. 20130131: AFFECTS: users of devel/boost-libs AUTHOR: bapt@FreeBSD.org boost has been updated to 1.52.0. Please rebuild all ports that depends on it: If you use portmaster: portmaster -w -r boost-libs If you use portupgrade: portupgrade -fr devel/boost-libs If you use pkgng with binary packages: pkg install -fR devel/boost-libs 20130129: AFFECTS: users of textproc/elasticsearch AUTHOR: tj@FreeBSD.org elasticsearch has been updated to 0.20.4. This upgrade requires a full cluster restart after installation. Upgrade steps: 1) Shutdown all cluster nodes 2) Install elasticsearch update 3) Start all cluster nodes 20130128: AFFECTS: users of libffi AUTHOR: jkim@FreeBSD.org libffi has been updated to 3.0.11. Please rebuild all ports that depends on it: If you use portmaster: portmaster -w -r libffi If you use portupgrade: portupgrade -fr devel/libffi If you use pkgng with binary packages: pkg install -fR devel/libffi 20130121: AFFECTS: users of mail/opensmtpd AUTHOR: ashish@FreeBSD.org Please flush your mail queue before updating to version 201301191220. 20130116: AFFECTS: users of games/py-anki AUTHOR: araujo@FreeBSD.org games/py-anki has been removed upstream and merged with games/anki. Users of games/py-anki, from now must use games/anki. 20130114: AFFECTS: users of www/hiawatha AUTHOR: cs@FreeBSD.org php-fcgi has been removed upstream from hiawatha and is not supported anymore. It is recommended to move to another FastCGI implementation, e.g. PHP-FPM (lang/php5). 20130113: AFFECTS: users of security/openvpn* AUTHOR: mandree@FreeBSD.org security/openvpn has been upgraded to the IPv6-capable v2.3.0. This upgrade moves easy-rsa into a separate package in security/easy-rsa that is pre-selected as default run-time dependency, and changes installed file layout a bit. security/openvpn22 retains the prior OpenVPN 2.2.2 version. If you want to continue using this version, use one of these commands: # portmaster -o security/openvpn22 security/openvpn or # portupgrade -o security/openvpn22 security/openvpn or # pkg set -o security/openvpn:security/openvpn22 security/openvpn20 has been marked deprecated and to be removed in half a year's time. Please migrate to a newer version soonish. 20130110: AFFECTS: everyone using csup(1), net/cvsup, or cvs(1) to update the ports tree AUTHOR: wblock@FreeBSD.org On February 28, 2013, the CVSup and CVS services will end: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2012-September/000026.html csup(1), net/cvsup, and cvs(1) will no longer be able to update the ports tree. Please switch to one of the alternate update methods of portsnap(8) or devel/subversion before that time. The Handbook has information on using these update methods: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html 20130108: AFFECTS: users of devel/libvanessa_socket, mail/perdition AUTHOR: jhale@FreeBSD.org The update of devel/libvanessa_socket to 0.0.12 (used by Perdition) adds IPv6 support. If the hostname in bind_address has both IPv4 and IPv6 addresses in DNS, then Perdition will ONLY listen on IPv6. If you prefer to continue to use IPv4, you need to change the bind_address in /usr/local/etc/perdition/perdition.conf to use an explicit IPv4 address. This can be in addition to, or instead of, the current hostname, depending on whether you want to use IPv6 or not. If your Perdition server does not have an IPv6 address listed in DNS, this change does not affect you. 20130108: AFFECTS: users of sysutils/cfengine* AUTHOR: gjb@FreeBSD.org sysutils/cfengine has been created as a master port for the set of sysutils/cfengine* ports. Users interested in tracking the latest stable branch of cfengine should update their port origins to use the new port, for example: # portmaster -o sysutils/cfengine sysutils/cfengine33 or # portupgrade -fo sysutils/cfengine sysutils/cfengine33 or # pkg set -o sysutils/cfengine33:sysutils/cfengine Users that switch their port origin and later wish to remain on a particular cfengine release can override the default version by adding CFENGINE_VERSION to /etc/make.conf, where CFENGINE_VERSION is a value from: # make -V VERSIONS 20130103: AFFECTS: users of textproc/docproj* AUTHOR: doceng@FreeBSD.org textproc/docproj no longer requires WITH_JADETEX to be set to 'yes' or 'no', and by default, will enable the JADETEX dependencies. The textproc/docproj-jadetex port has been removed as a result of this change. Users that have installed textproc/docproj and have set WITH_JADETEX=no during compile time should update the package origin to use textproc/docproj-nojadetex: # portmaster -o textproc/docproj textproc/docproj-nojadetex or # portupgrade -fo textproc/docproj textproc/docproj-nojadetex or # pkg set -o textproc/docproj-nojadetex:textproc/docproj Users that have installed textproc/docproj-jadetex should update the package origin to use the textproc/docproj port: # portmaster -o textproc/docproj textproc/docproj-jadetex or # portupgrade -fo textproc/docproj textproc/docproj-jadetex or # pkg set -o textproc/docproj-jadetex:textproc/docproj Users that have installed textproc/docproj and have set WITH_JADETEX=yes will not need to make any changes. 20130103: AFFECTS: users of audio/baresip AUTHOR: crees@FreeBSD.org Baresip is tightly linked to the versions of audio/re and audio/rem, and will not build against different versions. To update without problems, the -R flag for portupgrade is mandatory, or build will fail. Portmaster and pkgng will handle this correctly. 20130103: AFFECTS: users of emulators/virtualbox-ose AUTHOR: decke@FreeBSD.org VirtualBox has been updated and does now depend on devel/kBuild instead of devel/kBuild-devel. Both are in conflict with each other so this has to be resolved manually. kBuild is only a build dependency so it is safe to remove installed kBuild before updating. # pkg_delete -f kBuild-\* 20130102: AFFECTS: users of mail/opensmtpd AUTHOR: ashish@FreeBSD.org OpenSMTPD port has been updated to the latest portable snapshot. There has been several changes to the configuration between the last version and this version, which requires configuration file need to be reviewed. 20121230: AFFECTS: Nobody AUTHOR: wxs@FreeBSD.org FreeBSD 9.1 released. 20121229: AFFECTS: users of devel/libical AUTHOR: gnome@FreeBSD.org The devel/libical has been updated to 0.48. The shared library version has been changed from 44 to 0. Please rebuild all ports that depends on it: If you use portmaster: portmaster -r libical If you use portupgrade: portupgrade -fr devel/libical If you use pkgng with binary packages: pkg install -fR devel/libical 20121228: AFFECTS: users of databases/innotop, multimedia/zoneminder net-mgmt/netdot, ports-mgmt/tinderbox, ports-mgmt/tinderbox-devel sysutils/watchmen, www/MT The above mentioned ports were converted to depend on databases/p5-DBD-mysql. That will cause messages like ===> p5-DBD-mysql-4.021 conflicts with installed package(s): p5-DBD-mysql55-4.021 To prevent this run one of the following commands to fix the dependencies. # portmaster -o databases/p5-DBD-mysql databases/p5-DBD-mysql55 or # portupgrade -fo databases/p5-DBD-mysql databases/p5-DBD-mysql55 or # pkg set -o databases/p5-DBD-mysql55:databases/p5-DBD-mysql 20121220: AFFECTS: users of lang/ghc and */hs-* AUTHOR: haskell@FreeBSD.org Note that the Glorious Glasgow Haskell Compiler has been updated to version 7.4.2. Please rebuild or reinstall all dependent ports by issuing one of the following commands, depending on the tool used: # portmaster -w -r ghc or # portupgrade -fr lang/ghc or # pkg install -fR lang/ghc 20121218: AFFECTS: users of icu AUTHOR: bapt@FreeBSD.org icu has been updated to 50.1. Please rebuild all ports that depend on it: If you use portmaster: portmaster -w -r icu If you use portupgrade: portupgrade -fr devel/icu If you use pkgng with binary packages: pkg install -fR devel/icu 20121212: AFFECTS: users of openldap24-client who uses SASL AUTHOR: Xin Li There is a change in the openldap24-client port which removes the SASL option. If the user previously install openldap24-client, but enabled SASL from the config menu, the user would have to replace it with openldap24-sasl-client. Note that this only affects those who manually set SASL from the menu, most of the users are not affected. If you use portmaster: portmaster -o net/openldap24-sasl-client openldap24-client If you use portupgrade: portupgrade -fo net/openldap24-sasl-client openldap24-client If you use pkgng with binary packages: pkg set -o net/openldap24-client:net/openldap24-sasl-client 20121212: AFFECTS: users of horde-* applications AUTHOR: Martin Matuska Horde3 has reached EOL and to make place for new horde application versions all old horde3 applications have been renamed to use the "horde3-" prefix. 20121211: AFFECTS: users of graphics/ImageMagick AUTHOR: bdrewery@FreeBSD.org The ImageMagick library has been updated to version 6.8.0-7. Please rebuild all ports that depend on it. If you use portmaster: portmaster -w -r ImageMagick If you use portupgrade: portupgrade -fr graphics/ImageMagick If you use pkgng with binary packages: pkg install -fR graphics/ImageMagick 20121211: AFFECTS: users of devel/pcre AUTHOR: bdrewery@FreeBSD.org The pcre library has been updated to version 8.32. Please rebuild all ports that depend on it. If you use portmaster: portmaster -w -r pcre If you use portupgrade: portupgrade -fr devel/pcre If you use pkgng with binary packages: pkg install -fR devel/pcre 20121210: AFFECTS: users of security/cyrus-sasl2 AUTHOR: ume@FreeBSD.org The cyrus-sasl2 library has been updated to version 2.1.26. Please rebuild all ports that depend on it. If you use portmaster: portmaster -w -r cyrus-sasl- If you use portupgrade: portupgrade -fr security/cyrus-sasl2 20121202: AFFECTS: Users of www/owncloud AUTHOR: crees@FreeBSD.org www/owncloud includes the entire WWWDIR directory structure in pkg-plist. This means that if you upgrade it, your config files are added to pkg-plist, and are then removed on the next deinstall. This issue has been fixed, but you must back up your install of owncloud and reinstall to avoid data loss; # cd /usr/ports/www/owncloud # tar cfC /tmp/owncloud.tar `make -VWWWDIR` . # make deinstall # tar xfC /tmp/owncloud.tar `make -VWWWDIR` # make install clean && rm /tmp/owncloud.tar 20121201: AFFECTS: Users of www/typo3 AUTHOR: Helmut Ritter www/typo3 has been repocopied to www/typo347. If you need to continue with the old stable version please run # portmaster -o www/typo347 www/typo3 or # portupgrade -fo www/typo347 www/typo3 or # pkg set -o www/typo3:www/typo347 20121128: AFFECTS: Users of irc/znc AUTHOR: jase@FreeBSD.org znc has been updated to 1.0. This introduces some major changes to its functionality. As a result, if you are upgrading from a previous version you need to be aware that znc will automatically modify your configuration file to incorporate support for the new functionality. Users are recommended to take a backup of their configuration file before running this new version. The SASL option has been renamed to CYRUS following a rename of the associated module. Additionally, a number of modules have been removed or renamed in this release. Modules that were classed as Extra modules in previous versions are now built as standard. The EXTRA option has been removed accordingly. Please refer to the following URL for detailed information regarding all changes in this release: http://wiki.znc.in/ChangeLog/1.0 20121128: AFFECTS: Users of www/opera AUTHOR: itetcu@FreeBSD.org If you are running KDE and you are using KDE's File dialog toolkit, and if your Opera crashes on start with a 'libpng error: incorrect data check' you can work around it by setting 'Dialog Toolkit=4' in your .opera/operaprefs.ini [File Selector] section. 20121112: AFFECTS: Users of devel/git AUTHOR: wxs@FreeBSD.org The git-daemon(1) process now runs as the git_daemon user. Please make sure that this user has appropriate permissions to the repositories. 20121109: AFFECTS: FreeBSD < 9.1 users of syslog-ng >= 3.3.6 AUTHOR: cy@FreeBSD.org Syslog-ng version 3.3.6 changed the way how /dev/kmsg is read. If you don't use the system() source (which configures it automatically), please make sure, that in the kmsg related line follow-freq(1) is used instead of the previously default follow-freq(0). 20121109: AFFECTS: users of devel/py-liblarch_gtk deskutils/gtg AUTHOR: rm@FreeBSD.org Code of py-liblarch_gtk has been merged into py-liblarch 2.1.0. To avoid any conflicts, user need to remove py-liblarch_gtk before the update of py-liblarch. 20121105: AFFECTS: users of mail/postfix-current AUTHOR: sahil@FreeBSD.org With this version of Postfix, the default master.cf now uses "unix" instead of "fifo" for the pickup and qmgr services. In addition, a new smtpd_relay_restrictions feature has been introduced for mail relay control. For sites that do not define this parameter in main.cf, the upgrade process will add an entry to main.cf. Please read the RELEASE_NOTES to understand this new feature, how it may affect your site, and backwards compatibility options. 20121104: AFFECTS: users of lang/perl5.16 AUTHOR: az@FreeBSD.org lang/perl5.16 has been updated to 5.16.2. You should update everything that depends on perl. The easiest way to do that is to use "perl-after-upgrade" script supplied with lang/perl5.16. Please see its manual page for details. If you are using binary packages with pkgng, not ports, do this instead of "perl-after-upgrade": # pkg install -fR perl 20121102: AFFECTS: users of shells/bash-completion AUTHOR: adamw@FreeBSD.org The bash completion library has been updated to 2.0, and the mechanism for activating the library has changed. To use the library, you must: source /usr/local/share/bash-completion/bash_completion.sh from your .bashrc file. See the pkg-message or README for a more graceful invocation. 20121101: AFFECTS: users of graphics/tesseract AUTHOR: bf@FreeBSD.org The trained English and OSD language data that were distributed in graphics/tesseract have been moved to graphics/tesseract-data. The latter port includes all available trained language data by default; as before, users who desire a subset of languages may build smaller packages by defining TESSERACT_LANGS during a build. 20121031: AFFECTS: users of dns/ldns AUTHOR: ak@FreeBSD.org There is a binary incompatibility in ldns 1.6.14 which is fixed with an emergency release of ldns 1.6.15. Warning! If you have compiled ldns using software with ldns-1.6.14, then this new version will be binary incompatible with your installed version. You will have to recompile the software together with ldns-1.6.15. Was the software compiled with ldns-1.6.13 or earlier, then you will not have this problem and can safely install ldns-1.6.15. 20121030: AFFECTS: users of www/squid31 AUTHOR: flo@FreeBSD.org The WITH_SQUID_ECAP option was removed from the port. If you use ECAP you need to update to www/squid32, you can do so by running one of the following commands: # portmaster -o www/squid32 www/squid31 or # portupgrade -fo www/squid32 www/squid31 20121025: AFFECTS: users of net/activemq AUTHOR: tj@FreeBSD.org After reinstalling the port, if you wish to use the datastore used before or have any undelivered persistent messages add the following to rc.conf: activemq_data=/usr/local/activemq 20121022: AFFECTS: users of net/samba36 AUTHOR: timur@FreeBSD.org Startup rc.d/samba script was modified to address some problems with the fine control of supplementary daemons. As a side effect now it's always necessary to specify in rc.conf: samba_enable=YES to get the script working. You can still control each of the daemons individually, by disabling/enabling them with: nmbd_enable=NO smbd_enable=NO winbindd_enable=YES 20121015: AFFECTS: users of ports-mgmt/portmaster AUTHOR: bdrewery@FreeBSD.org Portmaster now supports pkgng. To use pkgng, enable the patch in the port, enable pkgng in your make.conf, and convert your existing /var/db/pkg database. Also see UPDATING entry 20121010 if you are on a recent CURRENT and do not want to use pkg. This is optional and not currently required. # make -C /usr/ports/ports-mgmt/pkg install clean # make -C /usr/ports/ports-mgmt/portmaster config build deinstall install clean # echo 'WITH_PKGNG=yes' >> /etc/make.conf # pkg2ng 20121015: AFFECTS: users of ports-mgmt/portupgrade AUTHOR: bdrewery@FreeBSD.org Portupgrade now supports pkgng. To use pkgng, enable it in your make.conf, and convert your databases. This is optional and not currently required. # make -C /usr/ports/ports-mgmt/pkg install clean # echo 'WITH_PKGNG=yes' >> /etc/make.conf # pkg2ng # pkgdb -fu 20121010: AFFECTS: users of mail/enigmail* AUTHOR: gecko@FreeBSD.org Enigmail has been integrated into the Thunderbird / SeaMonkey build and is available as option ENIGMAIL (enabled by default) Before upgrading Thunderbird or SeaMonkey delete all installed enigmail ports by running e.g. # pkg_delete -f seamonkey-enigmail-1.4.3 thunderbird-esr-enigmail-1.4.3 \ thunderbird-enigmail-1.4.3 20121010: AFFECTS: users of CURRENT (OSVERSION >= 1000017) AUTHOR: bapt@FreeBSD.org The ports tree is now using pkgng as the default package manager for HEAD. This only affects users of CURRENT -- users of other branches need not take any action. To keep pkg_install as the default package manager, use the new WITHOUT_PKGNG knob in make.conf To make the switch: 1) Set WITHOUT_PKGNG=yes in make.conf and upgrade all your ports to the latest available versions using your favourite tools. 2) Install ports-mgmt/pkg 3) Remove WITHOUT_PKGNG from make.conf and run: # pkg2ng 20121009: AFFECTS: users of multimedia/vdpau-video AUTHOR: madpilot@FreeBSD.org vdpau-video has been renamed upstream to libva-vdpau-driver. The port has been changed accordingly. Please update the port origins as follows: # portmaster -o multimedia/libva-vdpau-driver multimedia/vdpau-video or # portupgrade -fo multimedia/libva-vdpau-driver multimedia/vdpau-video or # pkg set -o multimedia/vdpau-video:multimedia/libva-vdpau-driver 20121008: AFFECTS: users of mail/squirrelmail AUTHOR: adamw@FreeBSD.org The locale data, including translations and associated help files, have been moved to mail/squirrelmail-translations. If you or your users are using Squirrelmail in anything other than en_US, you should install that port. 20121007: AFFECTS: users of lang/mit-scheme AUTHOR: olgeni@FreeBSD.org The lang/mit-scheme port was converted to OptionsNG, and now uses the standard PGSQL knob rather than POSTGRESQL. Be sure to check your configuration before rebuilding. 20121006: AFFECTS: users of devel/geany-plugins AUTHOR: makc@FreeBSD.org devel/geany-plugins has been updated to 1.22 and split into numerous devel/geany-plugin-* ports. geany-plugins must be deinstalled before running any port upgrade utility. 20121002: AFFECTS: users of devel/clanlib AUTHOR: jhale@FreeBSD.org devel/clanlib has been updated to 2.3.6 and the legacy version has been moved to devel/clanlib1 and updated to 1.0.0. Although both versions may be installed at the same time, you should update your port origins first since many ports that depend on clanlib will not work with the new version. Update your port origins as follows: # portmaster -o devel/clanlib1 devel/clanlib or # portupgrade -fo devel/clanlib1 devel/clanlib or # pkg set -o devel/clanlib:devel/clanlib1 20120928: AFFECTS: users of mail/maildrop AUTHOR: madpilot@FreeBSD.org With the update to 2.6.0 of mail/maildrop the following executable files: bin/deliverquota -> bin/maildrop-deliverquota bin/maidirmake -> bin/maildrop-maildirmake have been renamed to avoid colliding with files installed from other ports. Man pages and HTML files in DOCSDIR relating to these files have also been renamed accordingly. 20120925: AFFECTS: users of www/linux-f10-flashplugin11 AUTHOR: eadler@FreeBSD.org After reinstalling the port make sure to run nspluginwrapper -v -a -u for each user that uses the plugin. 20120924: AFFECTS: users of textproc/aspell AUTHOR: bapt@FreeBSD.org textproc/aspell no longer installs the English dictionary. If you need it please install textproc/en-aspell. 20120919: AFFECTS: users of net-mgmt/better-cacti-templates AUTHOR: Bryan Drewery better-cacti-templates has been renamed as the upstream has merged with Percona Monitoring Plugins. Update your port origins as follows: # portmaster -o net-mgmt/percona-monitoring-plugins net-mgmt/better-cacti-templates or # portupgrade -fo net-mgmt/percona-monitoring-plugins net-mgmt/better-cacti-templates or # pkg set -o net-mgmt/better-cacti-templates:net-mgmt/percona-monitoring-plugins 20120916: AFFECTS: users of german/webalizer2, japanese/webalizer, polish/webalizer2, portuguese/webalizer-pt_BR, portuguese/webalizer-pt_PT, ukrainian/webalizer, www/geolizer, www/webalizer AUTHOR: dinoex@FreeBSD.org The default Berkeley DB has changed, so existing DNS caches needs to be rebuild or choose the option BDB1 in the port. 20120913: AFFECTS: users of sysutils/bacula-server, sysutils/bacula-client AUTHOR: rm@FreeBSD.org If you have both sysutils/bacula-server and sysutils/bacula-client installed, you need to pkg_delete them both prior to this update. 20120910: AFFECTS: users of www/libxul AUTHOR: gecko@FreeBSD.org The www/libxul has been updated to 10.0 and the older version 1.9.2 has moved to www/libxul19. If you want to stay with 1.9.2 please run the following command: # portmaster -o www/libxul19 www/libxul or # portupgrade -o www/libxul19 www/libxul or # pkg set -o www/libxul:www/libxul19 20120909: AFFECTS: users of www/testlink AUTHOR: tota@FreeBSD.org Testlink 1.9.4 was released. Before updating, you should read carefully the included README file or go to www.teamst.org (Forum: TestLink 1.9.4 News, changes, etc) because this release requires a manual update of the database scheme. 20120908: AFFECTS: users of irc/bitlbee, irc/irssi-otr, net-im/climm, net-im/mcabber, net/kdenetwork4, security/kopete-otr, security/py-otr AUTHOR: Doug Barton The libotr library has been bumped in version 4.0.0, and the new version is not compatible with the old. In order to make it possible for both versions to coexist in the short term the old version has been moved to a new port. If you are currently using pidgin-otr: # pkg_delete -f pidgin-otr\* Then: # portmaster -o security/libotr3 security/libotr # portmaster -r libotr or # portugrade -o security/libotr3 security/libotr # portugrade -r libotr or # pkg set -o security/libotr:security/libotr3 20120902: AFFECTS: users of www/apache22, www/apache22-event-mpm, www/apache22-itk-mpm, www/apache22-peruser-mpm, www/apache22-worker-mpm AUTHOR: ohauer@FreeBSD.org The port use now the options NG framework, this means WITH_xxx directives are no longer valid. Additional: - APR only specific options like THREADS, MYSQL, PGSQL, SQLITE, BDB and IPV6 where removed. - PKGNAME has changed from apache-2... to apache22-2... - PROXY is now a MULTI directive which means at last one additional PROXY_(AJP|BALANCER|CONNECT|FTP|HTTP|SCGI) module is required. - CGI is only a valid option for MPM prefork, peruser and itk. 20120902: AFFECTS: users of devel/apr1 AUTHOR: ohauer@FreeBSD.org APR was updated to 1.4.6 and APR-util was updated to 1.4.1. Please rebuild all ports which are using functions from APR/APR-util such as apache, subversion ... # portmaster -r apr or # portupgrade -r devel/apr1 or # pkg install -fR devel/apr1 20120902: AFFECTS: users of math/cantor and math/kalgebra AUTHOR: kde@FreeBSD.org If you have both cantor and kalgebra installed, chances are that your cantor installation is corrupted. If the file ${KDE4_PREFIX}/lib/kde4/cantor_kalgebrabackend.so is missing on your system, rebuild cantor after updating kalgebra to 4.8.4_1 (or later). 20120822: AFFECTS: users of net/asterisk16, net/asterisk16-addons AUTHOR: Florian Smeets asterisk16 has been unsupported upstream for a while now and has known security vulnerabilities, therefore it was removed from the ports tree. People still running net/asterisk16 should upgrade to net/asterisk. First delete the asterisk addons, as they are part of asterisk now. # pkg_delete -f asterisk16-addons\* after that you can run one of the following # portmaster -o net/asterisk net/asterisk16 or # portupgrade -o net/asterisk net/asterisk16 or # pkg set -o net/asterisk16:net/asterisk After that you need to update your configuration. Take a look at the following URL for the changes between 1.6 and 1.8 http://svnview.digium.com/svn/asterisk/branches/1.8/UPGRADE.txt 20120820: AFFECTS: users of ports-mgmt/portupgrade-devel AUTHOR: bdrewery@FreeBSD.org Due to a bug introduced in 20120601, portupgrade is unable to upgrade itself on FreeBSD 7.x. This has been fixed in 20120820. ports-mgmt/portupgrade is not affected. To upgrade, execute the following: # make -C /usr/ports/ports-mgmt/portupgrade-devel all deinstall install clean 20120817: AFFECTS: users of games/unnethack AUTHOR: knu@FreeBSD.org The place for variable files has changed from $PREFIX/share/unnethack to $PREFIX/var/games/unnethack. To keep your saved files and game records, please manually move the following files and directories to the new directory after upgrading. logfile perm record xlogfile bones/ level/ saves/ 20120816: AFFECTS: users of sysutils/cfengine* AUTHOR: gjb@FreeBSD.org The sysutils/cfengine* ports have been renamed as follows: o sysutils/cfengine -> sysutils/cfengine22 o sysutils/cfengine3-legacy -> sysutils/cfengine32 o sysutils/cfengine3 -> sysutils/cfengine33 Users are reminded to update the port origins, for example: # portmaster -o sysutils/cfengine22 sysutils/cfengine or # portupgrade -fo sysutils/cfengine22 sysutils/cfengine or # pkg set -o sysutils/cfengine:sysutils/cfengine22 20120815: AFFECTS: users of lang/erlang AUTHOR: olgeni@FreeBSD.org The lang/erlang port was updated to R15B01. Some port options were updated, so be sure to run "make config" in the port directory and check your configuration before upgrading. To upgrade Erlang and rebuild all of the dependent ports under the new environment: # portmaster -r erlang or # portupgrade -r lang/erlang 20120815: AFFECTS: users of lang/erlang-lite AUTHOR: olgeni@FreeBSD.org The lang/erlang-lite port uses the same default options as lang/erlang, which were changed some time ago. The couchdb, rabbitmq, freeswitch-core and freeswitch-core-devel ports have been updated to use lang/erlang rather than lang/erlang-lite. Please check that your lang/erlang options are configured as you wish (especially X11 support), then follow the instructions below to update your dependencies. # portmaster -o lang/erlang lang/erlang-lite or # portupgrade -fo lang/erlang erlang-lite 20120810: AFFECTS: users of net-p2p/transmission-gtk2 AUTHOR: crees@FreeBSD.org Unfortunately Transmission 2.61 moved the requirement for GTK to version 3.2.0, which is not yet in our tree. Those who wish to have a graphical client can either choose transmission-qt4 in the meantime, or switch to the transmission25 ports. A script to generate appropriate commands can be found at: http://people.FreeBSD.org/~crees/scripts/transmission25.sh 20120808: AFFECTS: users of www/libmicrohttpd AUTHOR: bdrewery@FreeBSD.org libmicrohttpd has been updated to version 0.9.21, with a shared library bump. This requires dependent ports to be rebuilt. # portmaster -r libmicrohttpd or # portupgrade -r www/libmicrohttpd or # pkg install -fR www/libmicrohttpd 20120804: AFFECTS: users of graphics/libglut AUTHOR: x11@FreeBSD.org The libglut library is replaced by the freeglut library. Due to shlib version bump all glut users should be rebuild. Please follow the instructions below to upgrade. # portmaster -o graphics/freeglut graphics/libglut # portmaster -r freeglut or # env DISABLE_CONFLICTS=1 portupgrade -fo graphics/freeglut libglut\* # portupgrade -frx freeglut freeglut or # pkg set -o graphics/libglut:graphics/freeglut # pkg install -Rf graphics/freeglut 20120801: AFFECTS: users of editors/emacs AUTHOR: ashish@FreeBSD.org GNU Emacs port is updated to 24.1. Emacs 23 is moved to editors/emacs23. If you prefer to stick with Emacs 23, please specify EMACS_PORT_NAME=emacs23 in /etc/make.conf, and do: # portmaster -o editors/emacs23 editors/emacs or # env DISABLE_CONFLICTS=1 portupgrade -fo editors/emacs23 editors/emacs or # pkg set -o editors/emacs:editors/emacs23 20120726: AFFECTS: users of www/firefox, www/seamonkey, mail/thunderbird, www/libxul AUTHOR: gecko@FreeBSD.org Gecko ports were switched to use system libraries. Some of them must be built with certain options set (default). - graphics/png has to be installed with APNG option - databases/sqlite3 has to be installed with SECURE_DELETE, THREADSAFE, FTS3, UNLOCK_NOTIFY options 20120726: AFFECTS: users of devel/pkg-config AUTHOR: bapt@FreeBSD.org devel/pkg-config has been replaced by devel/pkgconf # portmaster -o devel/pkgconf devel/pkg-config or # portupgrade -fo devel/pkgconf pkg-config-\* pkgng: # pkg set -o devel/pkg-config:devel/pkgconf # pkg install -f devel/pkgconf 20120725: AFFECTS: users of chinese/fcitx AUTHOR: lichray@gmail.com The textproc/fcitx-keyboard port is merged into chinese/fcitx. Before updating, be sure to # pkg_delete -f fcitx-keyboard-\* And make sure you have at least one keyboard layout based input method enabled in fcitx-configtool, to keep the activation/deactivation of IM panel working. And, since chinese/fcitx-sunpinyin depends on an update to chinese/sunpinyin 20120725: AFFECTS: users of www/py-beautifulsoup AUTHOR: rm@FreeBSD.org Current www/py-beautifulsoup has been moved to www/py-beautifulsoup32, since 4.1.1 is now current stable version. If you prefer to stick with 3.2.0 do: # portmaster -o www/py-beautifulsoup32 www/py-beautifulsoup 20120723: AFFECTS: users of security/snort AUTHOR: zi@FreeBSD.org The database output modules have been deprecated. If you need this functionality please look at the security/barnyard2 port. 20120723: AFFECTS: users of graphics/ImageMagick and graphics/ImageMagick-nox11 AUTHOR: mm@FreeBSD.org The options for ImageMagick have been changed to match commonly used option names. If you are using a customized build, please reconfigure your port options with "make config". 20120720: AFFECTS: users of net/spread and net/spread4 AUTHOR: ohauer@FreeBSD.org The ports net/spread and net/spread4 are using now the reserved UID/GID 282 instead (user|group)next. 20120722: AFFECTS: users of mail/mutt AUTHOR: crees@FreeBSD.org mail/mutt-devel has been moved to mail/mutt, since 1.5 has been around for a while. Should you wish to stick with version 1.4 at this time; # portmaster -o mail/mutt14 mutt 20120721: AFFECTS: users of audio/libogg AUTHOR: naddy@FreeBSD.org There is a new version of libogg (1.3.0) and the shared library version has been bumped (ogg.7 to ogg.8). All ports that have an identifiable direct dependency on this library have had their PORTREVISIONs bumped. However, some ports that pull in the library indirectly may continue to look for the old version. To ensure that all are updated, perform this step: # portmaster -r libogg or # portupgrade -rf libogg 20120717: AFFECTS: users of ftp/proftpd AUTHOR: mm@FreeBSD.org The options of ProFTPD have been made much more user-friendly. As the modules are all shared libraries, all possible modules are built and installed. The following modules are now in separate slave ports: databases/proftpd-mod_sql_odbc: mod_sql_odbc databases/proftpd-mod_sql_sqlite: mod_sql_sqlite databases/proftpd-mod_sql_tds: mod_sql_tds net/proftpd-mod_ldap: mod_ldap and mod_quotatab_ldap 20120716: AFFECTS: users of www/lighttpd AUTHOR: mm@FreeBSD.org The following port options have been reorganized: The OPENLDAP option has been renamed to LDAP. The MAGNET and CML options have been withdrawn in favor of new LUA option. 20120716: AFFECTS: users of mail/postfix-current AUTHOR: sahil@FreeBSD.org The postscreen-to-smtpd protocol has changed. To avoid "cannot receive connection attributes" warnings and dropped connections, execute the command "postfix reload". 20120716: AFFECTS: Nobody AUTHOR: beat@FreeBSD.org The FreeBSD ports tree switched from CVS to Subversion. A Subversion to CVS exporter is in place to continue the support of CVSup. 20120709: AFFECTS: users of math/metis AUTHOR: bf@FreeBSD.org The older version of metis has been moved to math/metis4, and math/metis has been updated to 5.0.2. Dependent ports still use the old API, and the different versions of metis cannot coexist, so most users should update with: # portmaster -o math/metis4 math/metis # portmaster -r math/metis4 or the equivalent. 20120702: AFFECTS: users of databases/couchdb AUTHOR: crees@FreeBSD.org, Adam Strohl The couchdb port has an unfortunate side effect; versions before 1.2.0 will clobber local.ini. The port will refuse to build if that file is present and an earlier version is installed, however no such protection can be afforded to package installation. To upgrade from 1.1.0 and earlier, simply move PREFIX/etc/couchdb/local.ini out of the way until the upgrade is complete. 20120702: AFFECTS: users of net-im/mikutter AUTHOR: tota@FreeBSD.org The net-im/mikutter has been updated to 0.1.1.810 which is required Ruby 1.9.2 or later. Before upgrading this port, please see the entry 20110822 in this file to upgrade Ruby to 1.9. If you want to stay with 0.0.3 (requires Ruby 1.8.7, 1.9.2 or later), please run the following command: # portmaster -o net-im/mikutter003 net-im/mikutter or # portupgrade -o net-im/mikutter003 net-im/mikutter 20120630: AFFECTS: users of lang/perl* AUTHOR: skv@FreeBSD.org lang/perl5.16 is out. If you want to switch to it from, for example lang/perl5.12, that is: Portupgrade users: 0) Fix pkgdb.db (for safety): pkgdb -Ff 1) Reinstall new version of Perl (5.16): env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.16 -f perl-5.12.\* 2) Reinstall everything that depends on Perl: portupgrade -fr perl Portmaster users: portmaster -o lang/perl5.16 lang/perl5.12 Conservative: portmaster p5- Comprehensive (but perhaps overkill): portmaster -r perl- Note: If the "perl-" glob matches more than one port you will need to specify the name of the Perl directory in /var/db/pkg explicitly. The default version for Perl has also been changed from 5.12 to 5.14. 20120623: AFFECTS: users of sysutils/xfce4-utils AUTHOR: xfce@FreeBSD.org The port has been discontinued, and installs files that conflict with the new versions of misc/xfce4-appfinder and x11-wm/xfce4-session. # pkg_delete -f xfce4-utils-\* # portmaster misc/xfce4-appfinder x11-wm/xfce4-session 20120618: AFFECTS: users of databases/db5 AUTHOR: mandree@FreeBSD.org The databases/db5 port has been upgraded to BerkeleyDB 5.3. This entails a shared library bump. Before upgrading this port, check if your applications use transactional data bases, and if they do, prepare them for a log file format upgrade. YOU MUST DO THIS BEFORE YOU UPGRADE THE DB5 PORT! See: http://docs.oracle.com/cd/E17076_02/html/upgrading/upgrade_process.html All packages that depend on db5 need to be rebuilt due to the shared library version change. The full changelog is at http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_3.html To upgrade the packages that need Berkeley DB 5, please issue one of the following commands (depending on your preferred tool): # portmaster -r db5-5 or # portupgrade -fr databases/db5 20120616: AFFECTS: users of www/lighttpd AUTHOR: mm@FreeBSD.org The lighttpd startup script has been changed and is now compatible to the apache startup script. The "reload" subcommand now sends a SIGHUP to the process and triggers cycling of log files. The new command "graceful" performs a graceful restart (similar to former "reload") and "gracefulstop" performs a graceful stop. The "check" command has been replaced with the "configtest" command. 20120615: AFFECTS: users of databases/akonadi AUTHOR: kde@FreeBSD.org The latest Akonadi update includes critical bug fixes. Manual intervention is required for people using local MySQL database (the default configuration) as backend: $ akonadictl stop Wait a bit, and make sure that akonadiserver and akonadi_control are not running. Kill them if needed. Then, you have two alternatives: $ mysql_install_db --force \ --defaults-file=~/.local/share/akonadi/mysql.conf \ --datadir=~/.local/share/akonadi/db_data \ --basedir=$(dirname `dirname $(which mysql_install_db)`) $ rm ~/.local/share/akonadi/mysql.conf ...or... $ rm -r ~/.local/share/akonadi In the latter case, Akonadi will have to recache your personal data (might take a while). Akonadi is only a cache, no data will be lost. Then: $ akonadictl start 20120613: AFFECTS: users of graphics/djvulibre and graphics/djvulibre-nox11 AUTHOR: bf@FreeBSD.org DjVuLibre been updated to 3.5.25.3. The Qt 3.x GUI support that was in graphics/djvulibre has been removed (users of this GUI should consider switching to the new Qt 4.x GUI in graphics/djview4), and graphics/djvulibre-nox11 has been merged back into graphics/djvulibre. To update DjVuLibre, you can use: # pkg_delete djvulibre-\?.\* # portmaster -o graphics/djvulibre djvulibre-nox11 You should then update any installed ports that link to the djvulibre shared library: converters/pdf2djvu, graphics/djview4, graphics/okular, and -- if optional djvulibre support was enabled -- graphics/ImageMagick, graphics/apvlv, and graphics/evince. 20120612: AFFECTS: users of databases/postgresql-libpqxx AUTHOR: avilla@FreeBSD.org postgresql-libpqxx has been updated to 4.0. If you want to stick with version 3, install postgresql-libpqxx30: # portmaster -o databases/postgresql-libpqxx30 postgresql-libpqxx 20120612: AFFECTS: users of graphics/gdal AUTHOR: sunpoet@FreeBSD.org Language bindings (Perl, PHP, Python, and Ruby) were moved to separate ports. Please install them if required. The new ports are: Perl binding: graphics/p5-Geo-GDAL PHP binding: graphics/php-gdal Python binding: graphics/py-gdal Ruby binding: graphics/ruby-gdal 20120605: AFFECTS: users of net/p5-ZConf AUTHOR: vvelox@vvelox.net Please append '.set' to all sets for the FS backend. This was done to prevent collisions between config and set names. Previously the config "someConfig/default" would collide with the set "default" for "someConfig". 20120603: AFFECTS: users of lang/ghc and */hs-* AUTHOR: haskell@FreeBSD.org Note that The Glorious Glasgow Haskell Compiler and the Haskell Platform have been updated to versions 7.4.1 and 2012.2.0.0, respectively. At the same time, all Haskell ports have been updated to their latest working versions. To follow the changes, please issue one of the following commands (depending on the tool used): # portmaster -r ghc or # portupgrade -fr lang/ghc 20120531: AFFECTS: users of graphics/png AUTHOR: dinoex@FreeBSD.org The PNG library has been updated to version 1.5.10. Please rebuild all ports that depend on it. If you use portmaster: portmaster -r png- If you use portupgrade: portupgrade -fr graphics/png 20120531: AFFECTS: users of editors/koffice-kde4 AUTHOR: kde@FreeBSD.org KOffice 2 has been replaced by Calligra. You are encouraged to deinstall any KOffice port and install equivalent Calligra ones: # pkg_delete \*koffice\* # portmaster editors/calligra 20120530: AFFECTS: users of databases/postgresql*-server AUTHOR: jgh@FreeBSD.org Affected users are those who use the crypt(text, text) function with DES encryption in the optional pg_crypto module. Passwords affected are those that contain characters that cannot be represented with 7-bit ASCII. If a password contains a character that has the most significant bit set (0x80), and DES encryption is used, that character and all characters after it will be ignored. 20120530: AFFECTS: users of net/nss-pam-ldapd AUTHOR: scheidell@FreeBSD.org The net/nss-pam-ldapd port no longer provides an option for SASL. This has been sourced out to the new net/nss-pam-ldapd-sasl port, to accommodate users using packages (see ports/162240). Users with openldap-sasl-client installed are encouraged to change the port's origin to: net/nss-pam-ldapd-sasl using their favorite ports management tool. Example for portmaster: portmaster -o net/nss-pam-ldapd-sasl nss-pam-ldapd 20120527: AFFECTS: users of x11-toolkits/qt4-gui AUTHOR: kde@FreeBSD.org Qt started using the raster graphics system engine, which relies on shared memory. Be sure to check pkg-message. 20120525: AFFECTS: users of deskutils/kdepim4, deskutils/kdepim4-runtime AUTHOR: kde@FreeBSD.org kdepim4 has been updated to 4.8.3. For those who prefer old kdepim-4.4.11.1 deskutils/kdepim44* ports have been added. To stay with kdepim-4.4.11.1 run the following commands: # portmaster -o deskutils/kdepim44-runtime kdepim-runtime-4\* # portmaster -o deskutils/kdepim44 kdepim-4\* 20120525: AFFECTS: users of KDE SC 4 AUTHOR: kde@FreeBSD.org KDE SC ports have been updated to 4.8.3. Several ports were split, thus manual intervention into update procedure is required: # pkg_delete -f kde-runtime-\* ruby\*-kdebindings-korundum\* \ kalgebra-4\* kdeaccessibility-4\* kdeutils-4\* kde-baseapps-\* \ plasma-applet-icontasks\* # portmaster -a 20120518: AFFECTS: users of dns/poweradmin AUTHOR: Edmondas Girkantas Some database changes have been made between version 2.1.4 and 2.1.5, upgrading needs to be done manually by running the following SQL: For MySQL users: ALTER TABLE `zones` ADD `zone_templ_id` INT( 11 ) NOT NULL; ALTER TABLE zones ENGINE = InnoDB; ALTER TABLE zone_templ ENGINE = InnoDB; ALTER TABLE zone_templ_records ENGINE = InnoDB; For PostgreSQL users: ALTER TABLE zones ADD zone_templ_id INT DEFAULT NULL; Source: https://www.poweradmin.org/trac/wiki/ReleaseNotes/2.1.5 20120516: AFFECTS: users of lang/php5 AUTHOR: ale@FreeBSD.org PHP has been updated to 5.4. Suhosin patch has been disabled until the new version will be released (soon). Suhosing extension will take more time. LINKTHR option is now enabled by default, be sure to flag it if you are updating using an old saved configuration. sqlite2 extension has been permanently removed. If you want to remain at PHP 5.3, a new port (lang/php53) has been created for such purpose. 20120513: AFFECTS: users of net-mgmt/smokeping AUTHOR: lth@FreeBSD.org Smokeping has been updated to 2.6.7, and the web server configuration has changed. FastCGI is now preferred. Please check the documentation that your web server configuration is OK. 20120512: AFFECTS: users of textproc/p5-XML-SAX AUTHOR: crees@FreeBSD.org p5-XML-SAX (X-S) was split into p5-XML-SAX-Base (X-S-B) and p5-XML-SAX for version 0.99. Since X-S-B now installs some files formerly installed by X-S the package for X-S must be deinstalled before updating X-S. # pkg_delete -fx p5-XML-SAX # portmaster textproc/p5-XML-SAX (users of pkgng can substitute pkg_delete with pkg delete) 20120511: AFFECTS: users of graphics/xpdf AUTHOR: cy@FreeBSD.org In order to allow graphics/xpdf and graphics/poppler-utils to coexist, graphics/xpdf binaries have been moved from ${LOCALBASE}/bin to ${LOCALBASE}/lib/xpdf. The symlink ${LOCALBASE}/bin/xpdf points to ${LOCALBASE}/lib/xpdf/xpdf. However the other utilities installed by the xpdf port conflict with poppler-utils, no symlinks are maintained. Applicaions and scripts which use the pdf* utilities provided by graphics/xpdf must reference them using their new location, specify ${LOCALBASE}/lib/xpdf in $PATH, or use the same utilities provided by graphics/poppler-utils. 20120510: AFFECTS: users of devel/gitolite AUTHOR: milki@rescomp.berkeley.edu gitolite has been split into two ports: devel/gitolite for 3.x and devel/gitolite2 for 2.x gitolite 3.x is NOT "API" compatible with gitolite 2.x and requires additional manual migration steps which can be found in the online documentation. http://sitaramc.github.com/gitolite/install.html#migr Current users wishing to continue using gitolite 2.x should run: # portmaster -o devel/gitolite2 gitolite or # portupgrade -o devel/gitolite2 gitolite 20120508: AFFECTS: users of www/node and www/node-devel AUTHOR: sunpoet@FreeBSD.org npm is a package manager for node. Starting with node 0.6.17 (www/node) and node 0.7.8 (www/node-devel), we do not install bundled npm but provide a separate port (www/npm). Please install www/npm if you need it. 20120430: AFFECTS: users of www/py-google-api-python-client AUTHOR: nivit@FreeBSD.org The port has been updated to 1.0.b8. This new version has important changes which might break your code: * apiclient.anyjson has moved to oauth2client.anyjson. * Some calls, for example, taskqueue().lease() used to require a parameter named body. In this new release only methods that really need to send a body require a body parameter, and so you may get errors about an unknown 'body' parameter in your call. The solution is to remove the unneeded body={} parameter See http://code.google.com/p/google-api-python-client/wiki/PyDoc for more information. 20120426: AFFECTS: users of editors/libreoffice AUTHOR: bapt@FreeBSD.org LOCALIZED_LANG option has gone, localized packages are now available separately, you can also use editors/libreoffice-i18n to pick the localization you want. 20120425: AFFECTS: users of mail/postfix, mail/postfix2[6-8] AUTHOR: sahil@FreeBSD.org The latest update to these ports adds support to turn off the TLSv1.1 and TLSv1.2 protocols introduced in OpenSSL 1.0.1. These protocols are known to cause inter-operability issues with certain services, e.g. hotmail. If using TLS with Postfix, please consult the RELEASE_NOTES for information about possible workarounds. 20120423: AFFECTS: users of astro/boinc-astropulse AUTHOR: rene@FreeBSD.org Astropulse has been updated to 6.01, which is a different application than version 5.06. You need to have Astropulse v6 enabled in your account under SETI@home preferences. It is also advisable to finish and report existing Astropulse units before updating. 20120421: AFFECTS: users of x11/xorg AUTHOR: x11@FreeBSD.org The default mesa has been updated to 7.6.1 and the default xorg-server to 1.7.7. A switch is available for people that want to use mesa 7.11.x and xorg-server 1.10.6. This requires an nvidia card or Intel+KMS support. If you have an intel card and can try these experimental KMS support patches: 10/head with a patch: http://people.freebsd.org/~kib/drm/ FreeBSD stable/9 and releng/9.0: http://lists.freebsd.org/pipermail/freebsd-x11/2012-April/011640.html 20120419: AFFECTS: users of security/openssl AUTHOR: dinoex@FreeBSD.org The OpenSSL port has been updated to 1.0.1a. Please rebuild all ports that depend on it. If you use portmaster: portmaster -r openssl Or, if you would prefer a more gradual approach: portmaster -w openssl (check the man page for more information) If you use portupgrade: portupgrade -fr security/openssl 20120418: AFFECTS: Nobody AUTHOR: wxs@FreeBSD.org FreeBSD 8.3 released. 20120418: AFFECTS: users of www/firefox and mail/thunderbird AUTHOR: gecko@FreeBSD.org Firefox and Thunderbird have been updated to 11.0. If you want to stay with the Extended Support Release please use the new -esr ports. Firefox: # portupgrade -o www/firefox-esr www/firefox # portupgrade -o www/firefox-esr-i18n www/firefox-i18n (if installed) or # portmaster -o www/firefox-esr www/firefox # portmaster -o www/firefox-esr-i18n www/firefox-i18n (if installed) Thunderbird: # portupgrade -o mail/thunderbird-esr mail/thunderbird # portupgrade -o mail/thunderbird-esr-i18n \ mail/thunderbird-i18n (if installed) or # portmaster -o mail/thunderbird-esr mail/thunderbird # portmaster -o mail/thunderbird-esr-i18n \ mail/thunderbird-i18n (if installed) 20120418: AFFECTS: users of www/chpasswd AUTHOR: madpilot@FreeBSD.org Previous version of the chpasswd port put the configuration file in the pkg-plist, causing it to be removed on deinstall. Users are advised to make a backup copy of the configuration file before upgrading. This has been fixed and will not happen anymore in future updates. 20120415: AFFECTS: users of irc/ircd-ratbox AUTHOR: scheidell@FreeBSD.org Ircd-ratbox has been updated to follow the current stable release branch (3.0.x). All previous branches are no longer supported by the ratbox team. Users of ircd-ratbox are advised to create new ircd configuration files based on the examples provided. 20120404: AFFECTS: users of net-mgmt/net-snmp AUTHOR: zi@FreeBSD.org The net-snmp startup script now specifies a new pid_file to avoid a conflict that existed with bsnmpd. As a result, the startup script cannot find currently running versions of snmpd. You will need to either stop the daemon before upgrading or locate the PID of snmpd and manually kill it after upgrade. Then, start the daemon as you normally would. 20120326: AFFECTS: users of www/tomcat7 AUTHOR: ale@FreeBSD.org Tomcat 7 startup script now uses 'jsvc' to monitor the daemon's process. A few rc.conf variables has been changed, be sure to adapt your configuration, if needed. 20120318: AFFECTS: users of mail/dbmail AUTHOR: rm@FreeBSD.org dbmail 3.0 is now available. There are a number of significant changes including Dependencies, Config, Schema and Server changes. Without required modifications, dbmail will not run and you will no longer have access to your emails. See UPGRADING for details. Don't forget to backup and fully test before upgrading. To stick with version 2.2.x run: # portupgrade -o mail/dbmail22 mail/dbmail or # portmaster -o mail/dbmail22 mail/dbmail 20120313: AFFECTS: users of x11-toolkits/qt4-gui AUTHOR: kde@FreeBSD.org MIT-SHM problem (blank windows in Marble and KDE-Games) has been fixed, kern.ipc.shm_allow_removed=1 is not needed anymore to workaround it. 20120311: AFFECTS: users of lang/perl5.8 and lang/perl5.10 AUTHOR: linimon@FreeBSD.org lang/perl5.8 and lang/perl5.10 have been restored from the Attic in order to give a FreeBSD-style deprecation cycle. However, users are advised to upgrade to perl5.12 as soon as feasible. 20120308: AFFECTS: users of lang/perl5.8 and lang/perl5.10 AUTHOR: pgollucci@FreeBSD.org lang/perl5.8 and lang/perl5.10 have been removed since they've been EOL upstream for 3yrs and 2yrs respectively. The default of lang/perl5.12 has not changed (yet). Conditional checks for perl < 5.12 have been removed. UNLESS you have PERL_VERSION=5.8.x or PERL_VERSION=5.10.x in /etc/make.conf you need take no action. If you do, you will have to recompile all perl dependant ports after updating your ports tree. Please see entry 20110517 for help. 20120225: AFFECTS: users of archivers/libarchive AUTHOR: glewis@FreeBSD.org libarchive has been updated to version 3.0.3, with a shared library bump. This requires dependent ports to be rebuilt. # portmaster -r libarchive or # portupgrade -r archivers/libarchive 20120221: AFFECTS: users of emulators/virtualbox-ose AUTHOR: decke@FreeBSD.org virtualbox-ose has been updated to 4.1.8 and requires the latest devel/kBuild-devel now. It is only a build dependency so it is safe to remove it before updating. # pkg_delete -f kBuild-\* 20120220: AFFECTS: users of graphics/libungif AUTHOR: dinoex@FreeBSD.org libungif is obsolete, please deinstall it and rebuild all ports using it with graphics/giflib. # portmaster -o graphics/giflib graphics/libungif # portmaster -r giflib or # portupgrade -o graphics/giflib graphics/libungif # portupgrade -rf giflib 20120216: AFFECTS: users of multimedia/libvpx AUTHOR: ashish@FreeBSD.org libvpx has been updated to version 1.0.0, with a shared library bump. This requires dependencies to be rebuilt. # portmaster -r libvpx or # portupgrade -r multimedia/libvpx 20120214: AFFECTS: users of net/libexosip2 AUTHOR: jgh@FreeBSD.org libexosip2 has been updated with a shared library bump. This requires dependencies to be rebuilt. # portmaster -r libexosip2 or # portupgrade -rf libexosip2-3.\* 20120214: AFFECTS: users of devel/pcre AUTHOR: dougb@FreeBSD.org Until all dependent ports have been updated you should update pcre in a manner that will preserve its old shared library. For example: # portmaster -w devel/pcre or # portupgrade devel/pcre 20120213: AFFECTS: users of lang/ghc and */hs-* AUTHOR: pgj@FreeBSD.org GHC has been updated to version 7.0.4, and Haskell Platform to version 2011.4.0.0, and other Haskell ports are also updated to their Haskell Platform versions or latest versions. To update all affected ports: # portmaster -r lang/ghc or # portupgrade -r lang/ghc 20120210: AFFECTS: users of mail/postfix AUTHOR: Sahil Tandon Postfix 2.9.0 contains several major changes, some of which could result in incompatible or unexpected behavior. Regardless of the version from which you are upgrading, please carefully review the RELEASE_NOTES before proceeding. 20120126: AFFECTS: users of ftp/proftpd and ftp/proftpd-mysql AUTHOR: Martin Matuska The proftpd port has been updated to 1.3.4 and changed to use dynamically loadable modules. Please add corresponding LoadModule directives to your configuration file, like in the following example: LoadModule mod_tls.c The modules mod_sql_mysql and mod_sql_postgres are now outside of the main proftpd port: databases/proftpd-mod_sql_mysql databases/proftpd-mod_sql_postgres The proftpd-mysql port has been removed, use the alternative port: databases/proftpd-mod_sql_mysql 20120121: AFFECTS: users of multimedia/vdr AUTHOR: Juergen Lock The vdr ports have been updated to 1.7.22 which involves at least two changes: - svdrpsend.pl is now called svdrpsend. - The ttxtsubs channels.conf format has changed so if you use that plugin you need to edit /usr/local/etc/vdr/channels.conf for the channels you want to receive teletext subtitles on - see: /usr/local/share/doc/vdr-plugin-ttxtsubs/HISTORY 20120116: AFFECTS: users of mail/postfix-current AUTHOR: Sahil Tandon From the upstream RELEASE_NOTES: Instead of terminating immediately with a "fatal" message when a database file can't be opened, a Postfix daemon program now logs an "error" message, and continues execution with reduced functionality. Specify "daemon_table_open_error_is_fatal = yes" to get the historical behavior (immediate termination with "fatal" message). Logfile-based alerting systems may need to be updated to look for "error" messages in addition to "fatal" messages. By default the Postfix SMTP server no longer reports transcripts of sessions where a client command is rejected because a table is unavailable. To receive such reports, add the new "data" class to the notify_classes parameter value. The reports will be sent to the error_notice_recipient address as before. This class is also used by the Postfix SMTP client to report about sessions that fail because a table is unavailable. 20120116: AFFECTS: users of x11/xcb-util AUTHOR: garga@FreeBSD.org x11/xcb-util was updated to 0.3.8 and was split in new modules. Dependencies were adjusted but main port symbols were moved to a single library, xcb-util.so. For this reason, all dependent ports must be recompiled.If you use portmaster, run: # portmaster -R -r xcb-util-0 Or for portupgrade: # portupgrade -r xcb-util-0\* 20120112: AFFECTS: Nobody AUTHOR: wxs@FreeBSD.org FreeBSD 9.0 released. 20120109: AFFECTS: users of www/p5-WWW-GitHub-Gist AUTHOR: lbr@FreeBSD.org gist command was moved into new www/p5-App-gist port. 20120109: AFFECTS: ports using Apache Software License 2.0 AUTHOR: tabthorpe@FreeBSD.org The correct acronym for Apache Software License 2.0 is really AL2. 20120109: AFFECTS: users of graphics/inkscape: AUTHOR: bsam@FreeBSD.org Before updating graphics/inkscape to version 0.48.2 one should deinstall the port graphics/libwpg01. 20120108: AFFECTS: users of devel/p5-CPAN-Meta and devel/p5-Version-Requirements AUTHOR: sunpoet@FreeBSD.org Author of Version::Requirements (devel/p5-Version-Requirements) merged its function to CPAN::Meta::Requirements (part of devel/p5-CPAN-Meta). As a result, devel/p5-Version-Requirements is marked DEPRECATED. Please run the following commands to update p5-CPAN-Meta and remove p5-Version-Requirements: # portmaster -o devel/p5-CPAN-Meta devel/p5-Version-Requirements # pkg_delete p5-Version-Requirements-\* 20120104: AFFECTS: users of devel/thrift, py-thrift, php5-thrift, p5-thrift AUTHOR: scheidell@FreeBSD.org Users upgrading thrift from 0.6.1, please take note: library structure and versions have changed, and are not compatible with 0.7.0+ 20111231: AFFECTS: users of lang/newlisp AUTHOR: olgeni@FreeBSD.org In lang/newlisp, the MYSQL5 and MYSQL51 options have been unified into MYSQL, which will pick the correct MySQL version using the standard MySQL selection logic. MySQL users will have to run "make config" and select the MYSQL option. Tinderbox users will have to update their options files with the new MYSQL option, and possibly change their Tinderbox environment to select a specific MySQL version. 20111229: AFFECTS: users of ftp/proftpd{-devel,-mysql} AUTHORS: delphij@FreeBSD.org, mm@FreeBSD.org Due to the nature of the way FreeBSD-SA-11:07.chroot is implemented, users have to update to latest -STABLE, -CURRENT, or supported security branch to use the chroot functionality in these ports. Please see the security advisory for more details. 20111219: AFFECTS: users of lang/perl5.14 AUTHOR: skv@FreeBSD.org lang/perl5.14 has been updated to 5.14.2. You should update everything that depends on perl. The easiest way to do that is to use "perl-after-upgrade" script supplied with lang/perl5.14. Please see its manual page for details. If you want to switch to lang/perl5.14 from lang/perl5.{8,10,12} please follow instructions in the entry 20110517 in this file. 20111205: AFFECTS: users of ruby-gnome ports AUTHOR: swills@FreeBSD.org ruby-gnome has been updated to 1.0.3. Some of them have been removed since they are no longer included upstream. The meta port is now x11/ruby-gnome2. To update run the following command: # portmaster -o x11/ruby-gnome2 x11/ruby-gnome2-all You may also wish to remove the old ports using: # portmaster -s 20111130: AFFECTS: users of dns/nsd AUTHOR: zi@FreeBSD.org The database format of nsd.db has changed as of version 3.2.9. Before you run nsd, you must convert the existing database: # nsdc rebuild 20111123: AFFECTS: users of net-im/kopete or net-im/libjingle AUTHOR: kde@FreeBSD.org kopete and libjingle are now depending on a newer oRTP from linphone-base. To correctly switch to the new port, you need to deinstall ortp prior to the update: # pkg_delete -f ortp-\* 20111123: AFFECTS: users of databases/redis AUTHOR: osa@FreeBSD.org The redis configuration file, redis.conf, have been changed, some options removed in newer versions (>=2.4). In some cases, redis-server with older configuration might does not run at startup. If you run into startup problems, re-edit configuration file. 20111101: AFFECTS: users of x11/kde4-workspace AUTHOR: kde@FreeBSD.org If your KDM fails with the message 'X server "/usr/bin/X" cannot be executed' you need to delete its configuration file and restart it: # rm /usr/local/kde4/share/config/kdm/kdmrc # service kdm4 restart 20111101: AFFECTS: users of graphics/poppler-gtk AUTHOR: Koop Mast Poppler was update to 0.18.0, and the gtk slave port was renamed to match the library it installs. Please run the following command to migrate. # portmaster -o graphics/poppler-glib poppler-gtk-0.16.7 20111031: AFFECTS: users of textproc/py-creole AUTHOR: Stanislav Svirid Some API is changed: replace 'parser_kwargs' and 'emitter_kwargs' with separate arguments. More information on new API: http://code.google.com/p/python-creole/wiki/API 20111025: AFFECTS: users of print/flpsed or www/dillo2 AUTHOR: bf@FreeBSD.org The new versions of flpsed and dillo have switched from x11-toolkits/fltk2 to the new fltk 1.3.0 from x11-toolkits/fltk. Users who have customizations specific to fltk2 may need to consult the fltk 1.3 documents in order to adjust their local settings. For dillo, some commonly-used key bindings have changed, and new configuration options are available: consult dillorc.dist and keysrc.dist for details. 20111019: AFFECTS: users of mail/thunderbird or www/seamonkey with lightning plugin installed. AUTHOR: gecko@FreeBSD.org To get an up to date version of lightning you should use the new LIGHTNING option in mail/thunderbird or www/seamonkey. This option is not enabled by default so you have to run "make config" prior to the build. The old deskutils/lightning-thunderbird and deskutils/lightning ports should no longer be used and will be removed very soon. Like other XPIs ports, lightning now registers itself as a global extension and doesn't create the XPI to be installed manually. Upgrading users should remove lightning from their profile before installing Thunderbird or SeaMonkey the first time with the new LIGHTNING option enabled. 20111018: AFFECTS: users of mail/postfix-current AUTHOR: Sahil Tandon The default smtp_address_preference value is now "any" instead of "ipv6", meaning choose randomly between IPv6 and IPv4. With this the Postfix SMTP client will have more success delivering mail to sites that have problematic IPv6 configurations. 20111016: AFFECTS: users of devel/p5-subversion-freebsd AUTHOR: wxs@FreeBSD.org devel/p5-subversion-freebsd has been removed as it is no longer necessary. If you have it installed please run the following to switch to devel/p5-subversion: portmaster -o devel/p5-subversion p5-subversion-freebsd Please also see the second entry below (20111016) if haven't upgraded subversion yet. 20111016: AFFECTS: users of KDE SC 4 AUTHOR: kde@FreeBSD.org KDE SC has been updated to 4.7.2. A number of files were moved between packages and several ports were split, thus manual intervention into update procedure is required: # pkg_delete -f raptor-1\* kdelibs-4\* kdebase-\*4\* \ kdeaccessibility-4\* kdeedu-4\* kdegames-4\* kdegraphics-4\* \ kdesdk-4\* kdeutils-4\* konq-plugins-4\* ktts\* nepomukcontroller\* \ ruby\*-kdebindings\* kdebindings-smoke\* # pkg_delete -f kdehier4\* # mv /usr/local/kde4/etc/pam.d/* \ /usr/local/etc/pam.d/ # mv /usr/local/kde4/etc/rc.d/* \ /usr/local/etc/rc.d/ # mv /usr/local/kde4/share/dbus-1/services/* \ /usr/local/share/dbus-1/services/ # mv /usr/local/kde4/share/dbus-1/system-services/* \ /usr/local/share/dbus-1/system-services/ # rmdir /usr/local/kde4/etc/pam.d /usr/local/kde4/etc/rc.d \ /usr/local/kde4/share/dbus-1/*services # rm -r /var/tmp/kdecache-* # portmaster misc/kdehier4 If you have - or plan to install - net/kdenetwork4, also run: # portmaster -o net/linphone-base ortp Finally: # portmaster -a Also, remove /usr/local/kde4/etc/rc.d from local_startup in rc.conf(5). Failure to do this will cause all enabled scripts in /usr/local/etc/rc.d to be started twice. Remember to check for missing ports, bearing in mind that x11/kdebase4* ports were replaced by x11/kde4-* ones, ktts was replaced by jovie, while konq-plugins-kde4 and nepomukcontroller were removed. Then: # portmaster --check-depends You're also encouraged to run `pkg_cutleaves` or similar to check for orphaned ports. Please, note that `pkg_add -r kde4` will not install Plasma scriptengines and printer utilities by default anymore, and `pkg_add -r kdegames4` will not install Kajongg. This was made to avoid depending by default on kdebindings. 20111016: AFFECTS: users of devel/subversion, devel/subversion-freebsd, devel/p5-subversion, devel/py-subversion, devel/ruby-subversion and java/subversion-java and all dependand ports. AUTHOR: Lev Serebryakov Subversion was updated to version 1.7.0 and port was reworked. Now there is no "devel/subversion-freebsd" port. All FreeBSD-specific patches are incorporated into main subversion port as options, which are turned ON by default. These options are: P4_STYLE_MARKERS -- change conflict markers to P4 style, established for FreeBSD projects. This is not mandatory for working with FreeBSD sources. ENHANCED_KEYWORD -- Support for custom keywords, like $ FreeBSD $ in sources. This is MANDATORY for working with FreeBSD sources. FREEBSD_TEMPLATE -- Standard FreeBSD commit template. It is RECOMMENDED for working with FreeBSD sources. Also, subversion 1.7.0 changes the working copy format, and a working copy can not be shared between subversion 1.7.0 and 1.6.x. Please, think twice before upgrading. Additional the port "devel/subversion16" was created to support subversion 1.6.x. Subversion 1.7.x and 1.6.x can not be installed simultaneously! Binding ports can be built with Subversion 1.7.0 (Default) or with Subversion 1.6.x. To build bindings with subversion 1.6.x you should set variable WITH_SUBVERSION_VER to "16". There are several ways to upgrade, depending on what you used before and what you want to get after upgrade. (a) You use devel/subversion without FreeBSD patches and, maybe, some bindings. You want fresh'n'new subversion 1.7.0. Please, run: # cd /usr/ports/devel/subversion && make config # portupgrade -r devel/subversion or # portmaster -R -r subversion-1.6 (b) You use devel/subversion-freebsd and, maybe, some bindings. You want fresh'n'new subversion 1.7.0, again with FreeBSD patches. Please, run: # cd /usr/ports/devel/subversion && make config # portupgrade -o devel/subversion devel/subversion-freebsd # portupgrade -r devel/subversion or # portmaster -o devel/subversion devel/subversion-freebsd # portmaster -R -r subversion-1.7 (c) You use devel/subversion without FreeBSD patches and, maybe, some bindings. You want good old subversion 1.6.x, again without again. Please, run: # cd /usr/ports/devel/subversion16 && make config # portupgrade -o devel/subversion16 devel/subversion # portupgrade -m "WITH_SUBVERSION_VER=16" -r devel/subversion16 or # portmaster -o devel/subversion16 devel/subversion # portmaster -m "WITH_SUBVERSION_VER=16" -R -r subversion-1.6 (d) You use devel/subversion-freebsd and, maybe, some bindings. You want good old subversion 1.6.x, with FreeBSD patches. Please, run: # cd /usr/ports/devel/subversion16 && make config # portupgrade -o devel/subversion16 devel/subversion-freebsd # portupgrade -m "WITH_SUBVERSION_VER=16" -r devel/subversion16 or # portmaster -o devel/subversion16 devel/subversion-freebsd # portmaster -m "WITH_SUBVERSION_VER=16" -R -r subversion-1.6 20111005: AFFECTS: users of lang/erlang AUTHOR: Jimmy Olgeni Following the R14B04 upgrade the JAVA, X11, WX and ODBC port options have been set to OFF by default; this will allow to replace lang/erlang-lite with lang/erlang for headless operation in the near future. If you need any of these options, run "make config" in lang/erlang before upgrading, or set your make.conf accordingly. 20111003: AFFECTS: users of math/qhull AUTHOR: Stephen Montgomery-Smith The port math/qhull has been moved to math/qhull5, and math/qhull has been updated to a version that is incompatible with all ports previously using math/qhull. If you are upgrading a port that has math/qhull as a dependency, please delete the port math/qhull first, so that math/qhull5 is properly made as a dependency. 20110929: AFFECTS: users of net/py-zope.proxy, devel/py-zope.testing and devel/py-zope.interface AUTHOR: Ruslan Mahmatkhanov Several Zope ports have been renamed for consistency with their upstream distributions. Please run the following commands to update your local installations: If you use portmaster run: # portmaster -o devel/py-zope.interface devel/py-zopeInterface # portmaster -o net/py-zope.proxy net/py-zopeproxy # portmaster -o devel/py-zope.testing devel/py-zopetesting If you use portupgrade run: # portupgrade -o devel/py-zope.interface devel/py-zopeInterface # portupgrade -o net/py-zope.proxy net/py-zopeproxy # portupgrade -o devel/py-zope.testing devel/py-zopetesting 20110928: AFFECTS: users of 10-current AUTHOR: eadler@FreeBSD.org There are known issues installing ports on FreeBSD 10+ due to bogus assumptions by various build scripts. This will not be fixed until 9-RELEASE is released. There are two workarounds: 1) Set UNAME_r=9.9-CURRENT in your environment 2) Set REVISION="9.9" in ${SRCDIR}/sys/conf/newvers.sh 20110928: AFFECTS: users of www/nginx-devel AUTHOR: osa@FreeBSD.ORG Note: 1.1.4 release introduces several API changes which may affect third-party modules. 20110925: AFFECTS: users of lang/python* AUTHOR: lwhsu@FreeBSD.org The HUGE_STACK_SIZE option has been removed, now Python will use default thread stack size of the system. If you want to change it, specify it with -DTHREAD_STACK_SIZE= in CFLAGS. 20110925: AFFECTS: users of net/openldap* AUTHOR: ume@FreeBSD.org The security/cyrus-sasl2 was updated to 2.1.25. If the SASL option is enabled (disabled by default), net/openldap* must be recompiled after upgrading cyrus-sasl2. 20110921: AFFECTS: users of devel/maven2 and devel/maven3 AUTHOR: hq@FreeBSD.org The devel/maven2 and devel/maven3 now rely on a wrapper port: devel/maven-wrapper. If you plan to upgrade the devel/maven[23] ports, you will have to uninstall all of them before reinstalling them. 20110917: AFFECTS: users of misc/tvbrowser AUTHOR: lme@FreeBSD.org From version 3.0.2 on TV-Browser doesn't include any plugins any longer. You are supposed to download the plugins manually, this also means that you need to download the appropriate channel sources plugin for your country. After installing it your previously configured channels are visible again. To do so, select "Tools -> Install / Update Plugins..." and choose the plugins you need. 20110915: AFFECTS: users of dns/unbound AUTHOR: sem@FreeBSD.org unbound supports GOST from version 1.4.12 but only if dns/ldns was build with GOST support too. There is no way to check the option when unbound builds, so you should make sure the option is on in both unbound and lds. 20110914: AFFECTS: users of www/asterisk-stat AUTHOR: flo@FreeBSD.org asterisk-stat depends on asterisk16 now, you will need to update asterisk and asterisk-addons to 1.6. Instructions on upgrading your configuration files are here: http://svnview.digium.com/svn/asterisk/branches/1.6.2/UPGRADE-1.6.txt If you use portmaster run: # portmaster -o net/asterisk16 net/asterisk14 # portmaster -o net/asterisk16-addons net/asterisk14-addons If you use portupgrade run: # portupgrade -o net/asterisk16 net/asterisk14 # portupgrade -o net/asterisk16-addons net/asterisk14-addons 20110909: AFFECTS: users of net/p5-SOAP-Lite AUTHOR: az@FreeBSD.org SOAP::Transport::TCP is not a part of net/p5-SOAP-Lite distribution since version 0.714. If you need SOAP::Transport::TCP you should install net/p5-SOAP-Transport-TCP manually. 20110901: AFFECTS: users of databases/db51 AUTHOR: mandree@FreeBSD.org The databases/db51 port (Oracle Berkeley DB version 5.1) has been removed. Version 5.2 of the package is available in databases/db5. Users of ports that depend on the removed 5.1 versions are advised to rebuild the affected ports. 20110830: AFFECTS: users of lang/racket AUTHOR: olgeni@FreeBSD.org Racket has been upgraded to version 5.1.3. Due to the recent rewrite of the Racket graphics handling code, it is no longer possible to build this port without X11. The WITHOUT_X11 switch now controls if X11 is brought in as USE_GNOME/LIB_DEPENDS or BUILD_DEPENDS. In the latter case you will be able to build a Racket package that can then be deployed on a headless server. 20110829: AFFECTS: users of security/maia AUTHOR: Janky Jay, III There have been many changes to the maia port, including renaming the rc script and variables from maia to maiad. You will need to replace any instances of maia with maiad in /etc/rc.conf, as well as renaming /var/amavisd to /var/maiad. The 'vscan' user's home directory also needs to be changed to /var/maiad. These can be done by: # mv /var/amavisd /var/maiad # sed -i.bak -e "s/^maia_/maiad_/" /etc/rc.conf # pw usermod vscan -d /var/maiad 20110828: AFFECTS: users of print/cups-{base,client,image} AUTHOR: sahil@FreeBSD.org During the update to 1.4.8, the GNUTLS option was changed from ON to OFF by default. Because old configuration options are saved, users should re-run 'make config' and explicitly deselect the GNUTLS option before upgrading. 20110823: AFFECTS: users of lang/ruby AUTHOR: swills@FreeBSD.org The default ruby version has been reverted from 1.9 to 1.8. If you followed the procedure in the 20110822 entry, you may need to follow these steps: If you use portmaster: # portmaster -o lang/ruby18 lang/ruby19 # portmaster -R -r ruby-1.8 If you use portupgrade: # portupgrade -f lang/ruby19 # portupgrade -f lang/ruby18 # if you have it installed # portupgrade -f ports-mgmt/portupgrade # portupgrade -x ruby-1.9.\* -fr lang/ruby19 If you wish to keep the 1.9 version as default, add the following lines to your /etc/make.conf file: # # Keep ruby 1.9 as default version. # RUBY_DEFAULT_VER=1.9 20110823: AFFECTS: users of devel/libnotify and net/libproxy AUTHOR: gnome@FreeBSD.org libnotify and libproxy are updated with shared library bumps. This requires dependancies to be rebuild. # portmaster -r libnotify-0 # portmaster -r libproxy-0 # portmaster -a or # portupgrade -rf libnotify-0.\* libproxy-0.\* # portupgrade -aR 20110822: AFFECTS: users of lang/ruby AUTHOR: stas@FreeBSD.org The default ruby version has been updated to 1.9. Please rebuild all ports that depends on it. If you use portmaster: # portmaster -o lang/ruby19 lang/ruby18 # portmaster -R -r ruby-1.9 If you use portupgrade: # portupgrade -f lang/ruby18 # portupgrade -f lang/ruby19 # if you have it installed # portupgrade -f ports-mgmt/portupgrade # portupgrade -x ruby-1.8.\* -fr lang/ruby18 After these steps are complete, you can pkg_delete ruby 1.8 if you no longer need it. If you wish to keep the 1.8 version as default, add the following lines to your /etc/make.conf file, and rebuild lang/ruby18 after that. # # Keep ruby 1.8 as default version. # RUBY_DEFAULT_VER=1.8 20110822: AFFECTS: users of graphics/opencv AUTHOR: mm@FreeBSD.org OpenCV python module was moved to own port: graphics/py-opencv 20110820: AFFECTS: users of www/apache* and depending ports AUTHOR: ohauer@FreeBSD.org The default apache version changed from www/apache13 to www/apache22. Users who will continue with apache13 should create the following entry in /etc/make.conf APACHE_PORT= www/apache13 20110818: AFFECTS: users of mail/enigmail-* ports AUTHOR: ale@FreeBSD.org Like other XPIs ports, enigmail now registers itself as a global extension and doesn't create the XPI to be installed manually. Upgrading users should remove enigmail from their profile before installing the new port. 20110815: AFFECTS: users of sysutils/swapexd AUTHOR: crees swapexd used to clobber its config file on deinstall, unfortunately this will not be fixed in installed packages. Back up your config before updating, or you will lose it! # cp /usr/local/etc/swapexd/swapexd.conf ~/swapexd.conf.bak 20110808: AFFECTS: users of net-mgmt/zenoss AUTHOR: pphillips@experts-exchange.com Some functionality of zenoss requires a valid shell. The FreeBSD port until now was installing a user account without a shell. To fix your existing installation, please run the following command as root: # pw usermod zenoss -s /bin/sh -d /usr/local/zenoss 20110808: AFFECTS: users of dns/powerdns AUTHOR: tremere@cainites.net The port has been updated to PowerDNS 3.0, which includes support for DNSSEC. Before upgrading please read the following: http://doc.powerdns.com/upgrades.html#from2.9to3.0 Make sure to read the documentation and wiki on http://powerdnssec.org/ on how to enable DNSSEC mode in the configuration-file and for the necessary database changes. Take note that not all backends support DNSSEC. The ones that do are BIND, SQLite3 and Generic MySQL and PgSQL. 20110808: AFFECTS: users of security/amavisd-new AUTHOR: sahil@FreeBSD.org Along with new features and bug fixes, amavisd-new 2.7.0 introduces some incompatibilities with previous releases. Several variable defaults, SQL schemas, and other changes warrant a careful review of the RELEASE_NOTES. Also note that helper programs amavis.c and amavis-milter.c are no longer distributed with this package; for milter functionality, please shift to the dedicated security/amavisd-milter port. 20110731: AFFECTS: users of lang/guile AUTHOR: jlaffaye@FreeBSD.org guile has been updated to version 1.8.8. Please rebuild all ports that depends on it. If you use portmaster: # portmaster -r guile If you use portupgrade: # portupgrade -fr lang/guile 20110731: AFFECTS: users of www/typo3 AUTHOR: Helmut Schneider www/typo3 has been repocopied to www/typo345. If you need to continue with the old stable version please run # portmaster -o www/typo345 www/typo3 or # portupgrade -o www/typo345 www/typo3 Please remember to change the path of your config files too. 20110730: AFFECTS: users of x11-toolkits/gtk20 AUTHOR: gnome@FreeBSD.org The gtk-update-icon-cache utility has been split out of the gtk20 port. Use the following instructions to update your system. # pkg_delete -f gtk-2.\* # portmaster x11-toolkits/gtk20 # portmaster -a 20110726: AFFECTS: users of devel/msp430-gcc AUTHOR: lev@FreeBSD.org msp430-gcc was updated to lates gcc-4.5.3 version. If you want to use old gcc-3.4.4, run command: # portmaster -o devel/msp430-gcc3 devel/msp430-gcc or # portupgrade -o devel/msp430-gcc3 devel/msp430-gcc before updating devel/msp430-libc port. 20110721: AFFECTS: users of games/megaglest AUTHOR: smoeller@nichthelfer.de If you upgraded from version 3.4.0, your personal settings are stored in ~/.megaglest3.4.0. If you copy glestuser.ini and glestuserkeys.ini to ~/.megaglest, you will have your old settings again. 20110721: AFFECTS: users of security/gpgme AUTHOR: jlaffaye@FreeBSD.org gpgme has been updated to version 1.3.1. Please rebuild all ports that depends on it. If you use portmaster: # portmaster -r gpgme If you use portupgrade: # portupgrade -fr security/gpgme 20110718: AFFECTS: users of hungarian/hunspell AUTHOR: jlaffaye@FreeBSD.org The hunspell port has been moved to textproc/hunspell. To update the installed port run the command # portmaster -o textproc/hunspell hungarian/hunspell or # portupgrade -o textproc/hunspell hungarian/hunspell 20110711: AFFECTS: users of java/openjdk6 AUTHOR: jkim@FreeBSD.org java/openjdk6 has been updated to b23 and "WEB" option (for web browser plug-in and Java Web Start) has been deprecated. If you need the same functionality, rebuild the port with "ICEDTEA" option first, then install a new port java/icedtea-web with "PLUGIN" option (default). Also, if you have a symlink to the previous IcedTeaPlugin.so in ~/.mozilla/plugins, for example, you need to remove it. Note system-wide symlinks are now automatically created by java/icedtea-web for your convenience. 20110711: AFFECTS: users of www/p5-libwww AUTHOR: mandree@FreeBSD.org portmaster cannot process the upgrade of www/p5-libwww from version 5 to version 6. To upgrade p5-libwww, use portupgrade instead, or deinstall p5-libwww before reinstalling: If you use portmaster: # pkg_delete -f 'p5-libwww-5*' ; portmaster www/p5-libwww If you use portupgrade, no special treatment is necessary. 20110711: AFFECTS: users of devel/icu AUTHOR: bapt@FreeBSD.org icu has been updated to version 4.8. Please rebuild all ports that depends on it. If you use portmaster: # portmaster -r icu If you use portupgrade: # portupgrade -fr devel/icu 20110706: AFFECTS: users of multimedia/zoneminder AUTHOR: bsam@FreeBSD.org RC script was renamed from zm to zoneminder. So do variables at /etc/rc.conf[.local]. One should fix the latter file. 20110705: AFFECTS: users of security/libgcrypt and any port that depends on it AUTHOR: swills@FreeBSD.org The libgcrypt port has been updated to 1.5.0 and all shared libraries versions have been bumped. So you need to rebuild all applications that depend on libgcrypt. Do something like: # portmaster -r libgcrypt or # portupgrade -rf libgcrypt 20110703: AFFECTS: users of print/lyx and print/lyx-devel AUTHOR: makc@FreeBSD.org print/lyx has been updated to 2.0. print/lyx16 has been added to ports tree for those who prefers to stick with the last stable in lyx-1.6.x series. 20110630: AFFECTS: users of math/octave-forge* and benchmarks/octave-forge-benchmark AUTHOR: stephen@FreeBSD.org The octave-forge* port structure has been completely redesigned. This was to make them compatible with portmaster and other port installation tools. Before using the new octave-forge* ports, the old octave-forge* ports must be completely removed with, for example, the command: # pkg_delete "octave-forge*" 20110630: AFFECTS: users of mail/thunderbird AUTHOR: gecko@FreeBSD.org The mail/thunderbird port has been updated to 5.0. If you want to stay with Thunderbird 3.1 please run: # portupgrade -o mail/thunderbird3 mail/thunderbird # portupgrade -o mail/thunderbird3-i18n mail/thunderbird-i18n (if installed) or # portmaster -o mail/thunderbird3 mail/thunderbird # portmaster -o mail/thunderbird3-i18n mail/thunderbird-i18n (if installed) Do not select the OPTIMIZED_CFLAGS option on a system with less then 2 GB of RAM otherwise you will run out of memory during the build. Please make sure all your addons are compatible with Thunderbird 5.0 and backup your ~/.thunderbird directory prior to the first launch of Thunderbird 5.0. 20110630: AFFECTS: users of x11/wbar AUTHOR: nivit@FreeBSD.org x11/wbar has been updated to 2.2.2. Before launching the program, please backup your configuration file (~/.wbar), and then use the command wbar-config to set your preferences and change the path of the old icons (in particular the Bar image). 20110629: AFFECTS: users of graphics/opencv AUTHOR: mm@FreeBSD.org OpenCV was updated to version 2.3.0rc and to avoid circular dependencies split into two ports: graphics/opencv-core and graphics/opencv Before updating please uninstall the graphics/opencv port first because the new dependency graphics/opencv-core contains conflicting files with the old port graphics/opencv. 20110626: AFFECTS: users of mail/p5-Mail-SpamAssassin AUTHOR: wxs@FreeBSD.org mail/p5-Mail-SpamAssassin has been updated to version 3.3.2. Prior to starting spamd you must run sa-update, or spamd will fail to start. 20110624: AFFECTS: users of deskutils/opengoo AUTHOR: acm@FreeBSD.org desktutils/opengoo has been renamed to deskutils/fengoffice, because The OpenGoo name was changed to Feng Office Community Edition. If you want migrate from opengoo to fengoffice, please see upgrading section at: http://fengoffice.com/web/wiki/doku.php/installation 20110623: AFFECTS: users of databases/py-sqlalchemy AUTHOR: nivit@FreeBSD.org The version 0.6 of SQLAlchemy has been moved to databases/py-sqlalchemy06, while the port databases/py-sqlalchemy now holds the series 0.7.X. To update the installed port run the command # portmaster -o databases/py-sqlalchemy06 databases/py-sqlalchemy or # portupgrade -o databases/py-sqlalchemy06 databases/py-sqlalchemy 20110622: AFFECTS: users of lang/perl5.12 AUTHOR: skv@FreeBSD.org lang/perl5.12 has been updated to 5.12.4. You should update everything that depends on perl. The easiest way to do that is to use "perl-after-upgrade" script supplied with lang/perl5.12. Please see its manual page for details. If you want to switch to lang/perl5.12 from lang/perl5.{8,10} please follow instructions in the entry 20100715 in this file. 20110620: AFFECTS: users of net/samba35 AUTHOR: timur@FreeBSD.org A bug, introduced by local patch to pam_winbind.so, that made it coredump was spotted by Martin Minkus. It is fixed in the 3.5.9 version of the port. So, if pam_winbind.so started to work for you - send him kudos. 20110619: AFFECTS: users of irc/ezbounce and irc/ezbounce-devel AUTHOR: flo@FreeBSD.org irc/ezbounce-devel was moved to irc/ezbounce as the version previously in irc/ezbounce has been broken for some time and the distfile is not available anymore. If you are upgrading from a 1.0X version make sure to verify that your config still works. There is basic compatibility for old config files but a lot has changed, see http://linuxftw.com/ezbounce/files/CHANGES If you run irc/ezbounce-devel you need to run one of the following commands: # portmaster -o irc/ezbounce irc/ezbounce-devel or # portupgrade -o irc/ezbounce irc/ezbounce-devel 20110619: AFFECTS: users of lang/perl5.14 AUTHOR: skv@FreeBSD.org lang/perl5.14 has been updated to 5.14.1. You should update everything that depends on perl. The easiest way to do that is to use "perl-after-upgrade" script supplied with lang/perl5.14. Please see its manual page for details. If you want to switch to lang/perl5.14 from lang/perl5.{8,10,12} please follow instructions in the entry 20110517 in this file. 20110618: AFFECTS: users of mail/mailscanner AUTHOR: crees@FreeBSD.org mail/mailscanner no longer requires running of any renew-* targets to update the config files / wrapper scripts; it is now automatically performed as the port is installed -- these targets have been removed. As an added bonus, the binary package now performs these steps as well, in case you don't have a portstree handy. Before upgrading, please backup your PREFIX/etc/MailScanner, PREFIX/share/MailScanner and PREFIX/libexec/MailScanner if you have customised any of these directories, just in case. 20110608: AFFECTS: users of security/amavisd-milter AUTHOR: delphij@FreeBSD.org A change have been made to rc.d script for amavisd-milter makes it to specify -s explicitly. If you used to override the location of listening socket by specifying -s, please migrate to the new way (specify amavisd_milter_socket in /etc/rc.conf). 20110607: AFFECTS: users of devel/p5-Moose and devel/p5-Class-MOP AUTHOR: az@FreeBSD.org p5-Moose has been updated to 2.0007. Now p5-Class-MOP is a part of the p5-Moose distribution. Manual intervention of the update procedure is required: # portmaster -o devel/p5-Moose devel/p5-Class-MOP # portmaster -R -r p5-Moose-\* or do the same things with portupgrade. To check everything went fine you can run: # perl -Moose\ 999 and # perl -MClass::MOP\ 999 in both cases you should see output: version 999 required--this is only version 2.0007 20110606: AFFECTS: users of mail/sympa AUTHOR: crees@FreeBSD.org Sympa previously used to install to ${PREFIX}/sympa, which goes against the general rules for hierarchy. Most files which were previously found in ${PREFIX}/sympa should now be found in ${PREFIX}/libexec/sympa. Any configuration in httpd.conf files etc will need to be updated to the new directory. Before upgrade, it is advisable to back up configuration files ${PREFIX}/etc/sympa.conf and wwsympa.conf since previous versions wipe these out on deinstall. 20110606: AFFECTS: users of databases/mariadb AUTHOR: dougb@FreeBSD.org The mariadb port has been split into -client, -scripts, and -server ports ala mysql. You can now install only the parts that you need. If you have devel/libevent installed along with mariadb you should do something like: pkg_delete mariadb\* portmaster devel/libevent 20110605: AFFECTS: users of security/gnutls and any port that depends on it AUTHOR: novel@FreeBSD.org gnutls has been updated to 2.12.6.1 and all shared libraries versions have been bumped. So you need to rebuild all applications that depend on gnutls. Do something like: portupgrade -rf gnutls portmaster -r gnutls 20110605: AFFECTS: users of sysutils/zfsnap AUTHOR: Aldis Berjoza There is an issue with zpool v28 (currently only on 9-CURRENT, or 8-STABLE systems that have been manually patched) that affects zfSnap. If you are using v28 make sure to use the -zpool28fix flag with zfsnap to work around the problem. For more information please see: http://wiki.bsdroot.lv/zfsnap#zpool_v28_zfs_destroy_-r_bug 20110602: AFFECTS: users of net/freeradius AUTHOR: Sevan Janiyan Freeradius no longer runs as nobody. It now runs as the freeradius user. Please ensure that the following paths are owned by freeradius: /var/run/radiusd /var/log/radacct /var/log/radius.log 20110529: AFFECTS: users of textproc/*kmfl* AUTHOR: nikola.lecic@anthesphoria.net KMFL keyboard ports are now shared between IBus and SCIM KMFL IMEngines (textproc/ibus-kmfl and textproc/scim-kmfl-imengine). Thus, the prefix 'scim-' is dropped from keyboard ports names. Similar to m17n, both engines now search engine-neutral locations, ${LOCALBASE}/share/kmfl/ and ~/.kmfl/. Users have to move their local keyboard files from ~/.scim/kmfl/ to ~/.kmfl/. 20110523: AFFECTS: users of www/mod_perl2 AUTHOR: ohauer@FreeBSD.org mod_perl2 was updated to version 2.0.5, this version includes p5-Apache-Reload again. The ports p5-Apache-Reload is now marked as conflict for mod_perl2. To update your mod_perl2 with portmaster use the commands # portmaster -o www/mod_perl2 www/p5-Apache-Reload # portmaster -R -r mod_perl2 20110522: AFFECTS: users of emulators/virtualbox-ose AUTHOR: vbox@FreeBSD.org The emulators/virtualbox-ose port has been updated to 4.0.8. If you want to stay with VirtualBox 3.2.x please run: # portmaster -o emulators/virtualbox-ose-kmod-legacy emulators/virtualbox-ose-kmod # portmaster -o emulators/virtualbox-ose-legacy emulators/virtualbox-ose or # portupgrade -o emulators/virtualbox-ose-kmod-legacy emulators/virtualbox-ose-kmod # portupgrade -o emulators/virtualbox-ose-legacy emulators/virtualbox-ose The emulators/virtualbox-ose-legacy port will always include the latest legacy version as a fallback if you hit a serious regression in the latest version. 20110517: AFFECTS: users of lang/perl* AUTHOR: skv@FreeBSD.org lang/perl5.14 is out. If you want to switch to it from, for example lang/perl5.12, that is: Portupgrade users: 0) Fix pkgdb.db (for safety): pkgdb -Ff 1) Reinstall new version of Perl (5.14): env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f perl-5.12.\* 2) Reinstall everything that depends on Perl: portupgrade -fr perl Portmaster users: portmaster -o lang/perl5.14 lang/perl5.12 Conservative: portmaster p5- Comprehensive (but perhaps overkill): portmaster -r perl- Note: If the "perl-" glob matches more than one port you will need to specify the name of the Perl directory in /var/db/pkg explicitly. 20110516: AFFECTS: users of net/skype, net/skype-devel, net-im/skype, net-im/skype-devel AUTHOR: Ion-Mihai Tetcu All skype ports were moved to net-im/: - skype12: unchanged, very old version (for FreeBSD 6) - skype20: last version with OSS support, that used to live in net/skype; the DISTFILE is gone from the vendor but if you happen to have it, it would be a way of having sound w/o needing to upgrade your base OS - [RECOMMENDED] skype: currently at 2.1.0.81 and the best supported - skype-devel: currently at 2.2.0.25, sounds is OK, video doesn't work To run either skype or skype-devel with fully working sound you need: - to run fc10 (most probably, please report what you can do with fc4): (OVERRIDE_LINUX_BASE_PORT=f10,OVERRIDE_LINUX_NONBASE_PORTS=f10 in /etc/make.conf for systems that doesn't have it as default) - In order for Skype to work OK, you need your kernel and modules to be: - post 2011-05-03 in on HEAD - post 2011-05-08 in on 7,8-STABLE The port tries to catch if your system version is too old, but there's a ~3months window where because of a lack of OSVERSION bump, this is not possible. So please check; and PLEASE READ THE PKGMESSAGE for setup details. For how to update your kernel/world, see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html IF YOUR OSVERSION IS NOT NEW ENOUGH, SOUND (ESPECIALLY MIC) WON'T WORK. If you run into problems, at very least we need to know the output of: $ uname -a; sysctl compat.linux | head -2; \ grep OVERRIDE_LINUX_ /etc/make.conf; \ cat /compat/linux/etc/alsa/pcm/pcm-oss.conf the skype version you are using and hardware details (eg. webcam, if related) I most probably will ignore any mail not containing this info since without it it's impossible to help. Please test your sound /video setup outside skype before blaming skype / mailing me. 20110516: AFFECTS: users of audio/musicpd AUTHOR: Chris Rees Musicpd now installs the binary for the server as bin/musicpd, rather than mpd, to remove a conflict with net/mpich2; before upgrade you should run: # /usr/local/etc/rc.d/musicpd stop Likewise, mpd.conf has been renamed musicpd.conf-- if you want to keep it as mpd.conf then place MPDCONF="mpd.conf" into /etc/make.conf, otherwise after upgrade run: # mv /usr/local/etc/mpd.conf /usr/local/etc/musicpd.conf 20110514: AFFECTS: users of sysutils/gksu, sysutils/libgksu, sysutils/libgksuui AUTHOR: bsam@FreeBSD.org sysutils/gksu has been updated to 2.0.2. sysutils/libgksuui has been deprecated since it has become a part of sysutils/libgksu. Before upgrading remove sysutils/libgksuui. 20110511: AFFECTS: users of editors/emacs AUTHOR: ashish@FreeBSD.org Due to a bug when upgrading from 23.2 or later versions, everything installed by other ports in "${PREFIX}/share/emacs" gets removed. Before upgrading: * Please backup custom configurations in "${PREFIX}/share/emacs". * After upgrading reinstall any ports that may have had files in the "${PREFIX}/share/emacs" directory. 20110509: AFFECTS: users of lang/ghc and */hs-* AUTHOR: ashish@FreeBSD.org GHC has been updated to version 7.0.3 and other Haskell ports are also updated to their Haskell Platform versions or latest versions. To update all affected ports: # portmaster -r lang/ghc or # portupgrade -r lang/ghc 20110506: AFFECTS: users of lang/perl* AUTHOR: skv@FreeBSD.org Default version of Perl was bumped to 5.12. If you already have lang/perl5.10 or lang/perl5.8 installed, and want to switch to lang/perl5.12 please follow instructions in the entry 20100715 in this file. 20110503: AFFECTS: users of www/codeigniter and www/codeigniter-devel AUTHOR: glarkin@FreeBSD.org www/codeigniter has been renamed to www/codeigniter17 to track the legacy 1.7.* branch of Codeigniter development. www/codeigniter-devel has been renamed to www/codeigniter to track the recommended 2.0.* branch of Codeigniter development. If you have Codeigniter 1.7.x installed and would like to continue using it, please run one of the following commands to update its origin: # portmaster -o www/codeigniter17 www/codeigniter or # portupgrade -o www/codeigniter17 www/codeigniter If you have Codeigniter 2.0.x installed, please run one of the following commands to update its origin: # portmaster -o www/codeigniter www/codeigniter-devel or # portupgrade -o www/codeigniter www/codeigniter-devel 20110427: AFFECTS: users of mail/ezmlm-idx AUTHOR: glarkin@FreeBSD.org 1) Please consult the instructions for upgrading to version 7.1.1 from the earlier 0.444 version in the ports tree: Online: https://github.com/bruceg/ezmlm-idx/blob/master/UPGRADE Local: /usr/local/share/doc/ezmlm-idx/UPGRADE 2) SQLite3 has been added as a supported database plugin. Note that the MySQL, PgSQL and SQLite options are mutually exclusive, and the first selected option takes precedence if multiple options are selected. 20110421: AFFECTS: users of multimedia/webcamd AUTHOR: kwm@FreeBSD.org Webcamd now creates device nodes with 0660 permission and webcamd:webcamd ownership. To get access to the webcamd devices just add yourself to the webcamd group. 20110409: AFFECTS: users of japanese/asterisk-sounds AUTHOR: tota@FreeBSD.org The japanese/asterisk-sounds has been updated to 1.8. If you want to stay with ja-asterisk14-sounds, please run: # portmaster -o japanese/asterisk14-sounds japanese/asterisk-sounds or # portupgrade -o japanese/asterisk14-sounds japanese/asterisk-sounds See also 20101128 net/asterisk entry. 20110406: AFFECTS: users of lang/ocaml and related libraries/applications AUTHOR: stas@FreeBSD.org Ocaml compiler and libraries suite has been updated to 3.12. There appears to be an ABI incompatibility with .cmi files generated by previous compiler versions. Though these should only affect the linking process, if some application you're using start to misbehave after the lang/ocaml updated you're advised to rebuild this applications using the new ocaml version. 20110402: AFFECTS: users of net-mgmt/xymon-client and net-mgmt/xymon-server AUTHOR: dinoex@FreeBSD.org Loginname, path, scripts and config files have been renamed in 4.3.0 Steps to update: 1. Stop and deinstall the old version. 2. Copy the remaining config files to the new location. 3. Read the instructions 4. merge your old config with the upgrade430.sh script 5. fix the hobbit_*_enable lines in /etc/rc.conf # /usr/local/etc/rc.d/hobbit-server stop # /usr/local/etc/rc.d/hobbit-client stop # pkg_delete /var/db/pkg/xymon-* # pkg_add xymon-client-4.3.0.tbz # pkg_add xymon-server-4.3.0.tbz # cp /usr/local/www/hobbit/server/etc/* /usr/local/www/xymon/server/etc/ # less /usr/local/www/xymon/server/www/help/upgrade-to-430.txt # /usr/local/www/xymon/server/bin/bbcmd /usr/local/www/xymon/server/bin/upgrade430.sh # sed -i '' -e 's|hobbit|xymon' /etc/rc.conf # /usr/local/etc/rc.d/xymon-client start # /usr/local/etc/rc.d/xymon-server start 20110328: AFFECTS: users of net/openldap24-client AUTHOR: delphij@FreeBSD.org OpenLDAP has been upgraded to 2.4.25. In this version, certain library routines were moved from liblutil to libldap. If you previously built the library with "FETCH" support, this would cause libldap to depend on FreeBSD's libfetch.so library. As of 20110402, a local change have been introduced so OpenLDAP libraries link against libfetch.so when FETCH is enabled. Normally, no further user interaction would be required. For new installations, the FETCH option have been turned off by default. 20110324: AFFECTS: users of KDE SC 4 AUTHOR: kde@FreeBSD.org KDE SC ports have been updated to 4.6.1. As usual a number of files were moved between packages, manual intervention into update procedure is required: # pkg_delete -f kdehier4\* kdebase-runtime-4\* kdebase-workspace-4\* # pkg_delete -f kdeedu-4\* kdeutils-4\* # portmaster -a 20110322: AFFECTS: users of www/firefox AUTHOR: gecko@FreeBSD.org The www/firefox port has been updated to 4.0. If you want to stay with Firefox 3.6 please run: # portupgrade -o www/firefox36 www/firefox # portupgrade -o www/firefox36-i18n www/firefox-i18n (if installed) or # portmaster -o www/firefox36 www/firefox # portmaster -o www/firefox36-i18n www/firefox-i18n (if installed) Do not select the OPTIMIZED_CFLAGS option on a system with less then 2 GB of RAM otherwise you will run out of memory during the build. Please make sure all your addons are compatible with Firefox 4.0 and backup your ~/.mozilla directory prior to the first launch of Firefox 4.0. The startup script has been renamed from firefox3 to firefox. 20110319: AFFECTS: users of databases/mysql55-client AUTHOR: ale@FreeBSD.org The shared library version of the client library was increased to reflect ABI changes, and avoid compatibility problems with the client library in MySQL 5.1, so client programs that use the 5.5 client library should be recompiled against the 5.5.10 client library. This can be achieved with: # portmaster -r mysql-client-5.5 or # portupgrade -fr mysql-client-5.5 20110318: AFFECTS: users of www/node and www/node-devel AUTHOR: araujo@FreeBSD.org The port www/node was merged with www/node-devel since there is no longer a development version. Also www/node has not followed the stable upstream prior to this update. To keep www/node updated in your applications, from now on you must use www/node instead of www/node-devel. If you have been using the www/node-devel, you must run one of the following commands to upgrade: # portmaster -o www/node www/node-devel or # portupgrade -o www/node www/node-devel 20110317: AFFECTS: users of www/uzbl AUTHOR: Klaus Aehlig The port has been updated to version as of 2011/02/15. This introduces the following incompatabilities. - $UZBL_FIFO, $UZBL_TITLE are available to scripts as environment variables, but not as command-line arguments. - environment variables are no longer expanded by the config parser - download handling has changed - cookie daemons are no longer supported Users are advised to change their personal configuration files/scripts accordingly. 20110316: AFFECTS: users of sysutils/duplicity AUTHOR: peter.schuller@infidyne.com sysutils/duplicity has been upgraded to 0.6.11. The old version (0.5.20) is retained as sysutils/duplicity05. Duplicity 0.6 should be generally compatible, but pay special attention to the new meaning of the --archive-dir command. In particular, the archive dir is now mandatory and defaults to ~/.cache/duplicity. You may have to --exclude accordingly. In addition, it is recommended you consult the CHANGELOG, specifically the "New in v0.6.00 (2009/06/08)" section which details the checkpoint/restore feature (enabled by default) and its implications. 20110313: AFFECTS: users of astro/boinc-setiathome-enhanced AUTHOR: rene@FreeBSD.org The setiathome client has been updated to version 6.12. Before you update, finish and report your current workunits to avoid losing them. 20110304: AFFECTS: users of lang/python* and py-* AUTHOR: miwi@FreeBSD.org The default version of Python has been changed from 2.6.x to 2.7.x. If you have 2.6.x installed, perform an upgrade of lang/python26 to lang/python27 with one of the following commands: If using portupgrade: # portupgrade -o lang/python27 lang/python26 If using portmaster: # portmaster -o lang/python27 lang/python26 If you want to retain 2.6.x as default Python version, set the PYTHON_DEFAULT_VERSION variable to 'python2.6' (without quotes) in /etc/make.conf, then go to lang/python and perform the following command: # portupgrade -R python Once the installed Python has been updated to 2.7, by using the method above, it is required to run the upgrade-site-packages target in lang/python to assure that site-packages are made available to the new Python version. If using portupgrade: # cd /usr/ports/lang/python && make upgrade-site-packages If using portmaster: # cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER The portmaster case can take quite some time to complete due to the lack of cached information that the portupgrade suite uses (specifically pkg_which). This is not the fault of portmaster. 20110301: AFFECTS: users of databases/jasperserver AUTHOR: jhelfman@experts-exchange.com (taken from release notes of 4.0 from vendor) If you are upgrading from an older JasperServer version such as 3.5 then you must first upgrade to JasperServer 3.7 before upgrading to 4.0. Upgrading directly from JasperServer 3.5 to 4.0 is not a "certified" (i.e. fully QA tested) procedure. The steps to carry out this operation are fully documented in the JasperReports Server Installation Guide for the 3.7 release. You will need to download the JasperServer 3.7 release package to get the relevant files and documentation. To download the JasperServer 3.7 WAR file distribution zip package, go to the JasperForge.org website and to the JasperServer project. http://jasperforge.org/projects/jasperserver 20110228: AFFECTS: users of devel/ccache AUTHOR: Emanuel Haupt ccache now allows the use of non-default compilers such as clang. This requires adjustments of the ccache make glue. Please (re)read the following document after updating ccache to ccache-3.1.4_1: /usr/local/share/doc/ccache/ccache-howto-freebsd.txt 20110227: AFFECTS: users of net/unison and net/unison-devel AUTHOR: mandree@FreeBSD.org Unison has been upgraded to version 2.40, which uses a different wire protocol than 2.32 did. In order to support synchronization with other computers where Unison is still at version 2.32, a new port net/unison232 has been created. It provides unison232 and if that is GTK2-enabled, also unison232-text. This unison232 port can be installed in parallel with the existing net/unison port. 20110224: AFFECTS: users of x11-drivers/xf86-video-ati AUTHOR: miwi@FreeBSD.org X.Org has been updated to 7.5.1. For all ATI users the driver was updated to 6.14.0 but the old one is still available in x11-drivers/xf86-video-ati613. See radeon(5) for options available. 20110224: AFFECTS: users of net/openldap24-{client,server} AUTHOR: delphij@FreeBSD.org OpenLDAP has been upgraded to 2.4.24, which requires a shared library version bump. Therefore, you need to reinstall all ports that depend on it. Please do something like: # portupgrade -fr net/openldap24-client or # portmaster -r net/openldap24-client 20110224: AFFECTS: Nobody AUTHOR: wxs@FreeBSD.org FreeBSD 8.2 and 7.4 released. 20110209: AFFECTS: users of www/testlink AUTHOR: tota@FreeBSD.org Testlink 1.9.1 was released. Before updating, you should read carefully the included README file because this release requires a manual update of the database scheme. 20110125: AFFECTS: users of lang/perl5.12 AUTHOR: skv@FreeBSD.org lang/perl5.12 has been updated to 5.12.3. You should update everything that depends on perl. The easiest way to do that is to use "perl-after-upgrade" script supplied with lang/perl5.12. Please see its manual page for details. If you want to switch to lang/perl5.12 from lang/perl5.{8,10} please follow instructions in the entry 20100715 in this file. 20110124: AFFECTS: users of mail/postfix AUTHOR: sahil@FreeBSD.org Postfix 2.8 introduces minor incompatibilities with previous versions. Alias expansion, dns lookups, TLS support, milters and other features are affected. To avoid surprises, carefully review the RELEASE_NOTES. If you upgrade from Postfix 2.6 or earlier, you must execute "postfix stop" and "postfix start" before you can use the postscreen(8) daemon. This is needed because the Postfix 2.6 "pass" master service type did not work reliably on some systems. If you upgrade from Postfix 2.7, or from Postfix 2.8 before July 25, 2010, you must "postfix reload" (or "postfix stop" followed by "postfix start"). This is needed because the queue manager to delivery agent protocol has changed. Also note that the optional SPF and VDA patches have not been updated for Postfix 2.8; as a result, they are currently disabled. 20110111: AFFECTS: users of www/redmine AUTHOR: decke@FreeBSD.org If you use 3rd party plugins that are incompatible with i18n >= 0.5.0 (eg. variables in yml files as {{variable}}) then you need to install an older i18n version manually. # gem install -v=0.4.2 i18n Then upgrade the database as usual: # rake db:migrate RAILS_ENV=production 20110107: AFFECTS: users of mail/exim AUTHOR: rea@FreeBSD.org [POSSIBLE CONFIG BREAKAGE] The default value for system_filter_user is now the Exim run-time user, instead of root. [POSSIBLE CONFIG BREAKAGE] ALT_CONFIG_ROOT_ONLY is no longer optional and is forced on. This is mitigated by the new build option TRUSTED_CONFIG_LIST which defines a list of configuration files which are trusted; one per line. If a config file is owned by root and matches a pathname in the list, then it may be invoked by the Exim build-time user without Exim relinquishing root privileges. [POSSIBLE CONFIG BREAKAGE] The Exim user is no longer automatically trusted to supply -D overrides on the command-line. Going forward, we recommend using TRUSTED_CONFIG_LIST with shim configs that include the main config. As a transition mechanism, we are temporarily providing a work-around: the new build option WHITELIST_D_MACROS provides a colon-separated list of macro names which may be overriden by the Exim run-time user. The values of these macros are constrained to the regex ^[A-Za-z0-9_/.-]*$ (which explicitly does allow for empty values). Upgrading users are encouraged to fully study ftp://exim.inode.at/exim/ChangeLogs/NewStuff-4.73 and ftp://exim.inode.at/exim/ChangeLogs/ChangeLog-4.73 20110103: AFFECTS: users of textproc/libwpd and graphics/libwpg AUTHOR: fluffy@FreeBSD.org LibWPD and LibWPG is now using new API, partially incompatible with previous versions. For correct upgrade procedure please upgrade LibWPD and LibWPG first as described, than follow usual upgrade procedure # portmaster -o textproc/libwpd08 libwpd # portmaster -o graphics/libwpg01 libwpg substitute 'portupgrade' for 'portmaster' accordingly if that's your your upgrade tool of choice. 20101230: AFFECTS: users of databases/postgresql??-(server|client) AUTHOR: ohauer@FreeBSD.org PostgreSQL version 8.4 is now the default. To upgrade from a version lower than 8.4, follow the instructions on the PostgreSQL.org website. http://www.postgresql.org/docs/8.4/interactive/install-upgrading.html 20101230: AFFECTS: users of net-mgmt/pnp AUTHOR: rea@FreeBSD.org Starting from 0.6.10_1 config.php is no longer preserved across upgrades; PNP way is to put all modifications into config_local.php. Existing config.php will be saved as config.php.orig and you should review your deviations from defaults and place them into config_local.php. 20101227: AFFECTS: users of databases/mysql55-server AUTHOR: ale@FreeBSD.org MySQL 5.5 has been updated to 5.5.8 GA release. Since layout is changed you should remove mysql55-{client/server/scripts} ports before upgrading. The build system is changed too, so expect failures. 20101227: AFFECTS: users of security/opensc AUTHOR: ale@FreeBSD.org opensc has been updated to 0.12.0 release. Only one backend can be choosen at compile-time: PC/SC is now the default one. opensc doesn't export anymore its internal library, PKCS#11 is the recommended interface. 20101220: AFFECTS: users of net-mgmt/flowd AUTHOR: ohauer@FreeBSD.org flowd use now a fix UID/GID (id 542) instead the next free UID. Before updating the port use the command "pw userdel _flowd" 20101216: AFFECTS: users of security/libksba AUTHOR: glarkin@FreeBSD.org libksba has been updated to 1.1.0, and the shared library version has increased from .17 to .18. Directly- and indirectly-dependent ports have had their PORTREVISION bumped to facilitate rebuilding. Please rebuild the dependent ports with your preferred upgrading tool: # portupgrade -rf security/libksba -or- # portmaster -w -r security/libksba If there are still ports on your system that require ksba.so.17 (either in ${LOCALBASE}/lib/compat/pkg, or non-existent), _please_ file a PR so that a correct direct dependency can be added. Once you are satisfied that no ports still depend on the old shared library version (libksba.so.17), you can safely delete it from the ${LOCALBASE}/lib/compat/pkg directory if it is present there. 20101216: AFFECTS: users of databases/akonadi AUTHOR: avilla@FreeBSD.org With SQLite 3 installed, Akonadi used to build its plugin and install it in a wrong place, without it being listed in plist. To remove the orphaned file, run the following commands PRIOR TO the Akonadi upgrade: # cd /usr/ports/databases/akonadi # rm `make -V KDE4_PREFIX`/`make -V QT_PLUGINDIR_REL`/sqldrivers/libqsqlite3.so # rmdir `make -V KDE4_PREFIX`/`make -V QT_PLUGINDIR_REL`/sqldrivers \ `make -V KDE4_PREFIX`/`make -V QT_PLUGINDIR_REL` \ `make -V KDE4_PREFIX`/`make -V QT_LIBDIR_REL` 20101214: AFFECTS: users of devel/icu AUTHOR: bapt@FreeBSD.org icu has been updated to version 4.6. Please rebuild all ports that depends on it. If you use portmaster: # portmaster -r icu If you use portupgrade: # portupgrade -fr devel/icu Note that devel/icu4 is now deprecated consider replacing it by devel/icu # portmaster -o devel/icu devel/icu4 or # env DISABLE_CONFLICTS=1 portupgrade -o devel/icu -f icu-4\* 20101211: AFFECTS: users of devel/bugzilla, japanese/bugzilla and russian/bugzilla-ru AUTHOR: tota@FreeBSD.org Bugzilla and its language packs are installed to WWWDIR (defaults to PREFIX/www/bugzilla). BUGZILLADIR (that defaulted to PREFIX/www/data/bugzilla) is deprecated. 20101211: AFFECTS: users of databases/mysql-proxy AUTHOR: Florian Smeets The parameters --admin-username and --admin-password are mandatory now. Add something like the following to rc.conf mysql_proxy_args="--admin-username admin --admin-password somepassword" 20101210: AFFECTS: users of multimedia/avidemux2 AUTHOR: nox@FreeBSD.org The port has been updated to 2.5.4 which now installs plugins separately and I had to make a slave port for them, multimedia/avidemux2-plugins. So you'll now have to install that port too for the app to become useful. 20101208: AFFECTS: autotools AUTHOR: autotools@FreeBSD.org Another stage in the autotools cleanup that reduces tree churn whilst updating components, a number of ports have now moved to non-versioned locations since there is now only the concept of legacy and current versions. # portmaster -o devel/autoconf devel/autoconf268 # portmaster -o devel/automake devel/automake111 # portmaster -o devel/libtool devel/libtool22 # portmaster -o devel/libltdl devel/libltdl22 substitute 'portupgrade' for 'portmaster' accordingly if that's your your upgrade tool of choice. 20101205: AFFECTS: users of www/py-flexget AUTHOR: lioux@FreeBSD.org Database schema changes. Please run: $ sqlite3 db-config.sqlite "ALTER TABLE thetvdb_favorites ADD series_id VARCHAR;" $ sqlite3 db-config.sqlite "ALTER TABLE imdb_movies ADD updated DateTime;" $ sqlite3 db-config.sqlite "ALTER TABLE imdb_movies ADD mpaa_rating VARCHAR;" inside flexget configuration directory (~/.flexget) for each sqlite database you might have. Replace "db-config.sqlite" with the appropriate name for your sqlite database file. 20101204: AFFECTS: users of audio/libmpcdec AUTHOR: lioux@FreeBSD.org audio/libmpcdec has been removed in favor of audio/musepack; which has a higher shared library version. You will have to rebuild all ports that depend on audio/libmpcdec. Do this: Portmaster users: # portmaster -o audio/musepack audio/libmpcdec # portmaster -r musepack- Portupgrade user: # env DISABLE_CONFLICTS=1 portupgrade -o audio/musepack -f libmpcdec-\* # pkgdb -Ff # portupgrade -rf musepack-\* 20101204: AFFECTS: autotools AUTHOR: autotools@FreeBSD.org The next stage in the ongoing cleanup of autotools-using ports is a refactoring of bsd.autotools.mk so that version numbers are no longer needed within the USE_AUTOTOOLS stanza. There is either autoconf213/autoconf or automake14/automake (for the legacy versions, and the currently available versions). This will considerably reduce the amount of tree-wide patching in future on an update. IMPORTANT: if you have either devel/autoconf-wrapper or devel/automake-wrapper installed on your system (and you most likely do) PLEASE update these ports to their new versions before updating anything else -- Bad Things[tm] are likely to happen otherwise. 20101202: AFFECTS: users of multimedia/gstreamer-plugins AUTHOR: multimedia@FreeBSD.org If during the upgrade of gstreamer-plugins the following error happens: GstAudio-0.10.gir: Incompatible version 1.0 (supported: 1.2) Use the following command to upgrade: cd ports/multimedia/gstreamer-plugins && make deinstall clean install 20101202: AFFECTS: users of www/wordpress AUTHOR: sunpoet@FreeBSD.org WordPress is now installed to WWWDIR (defaults to PREFIX/wordpress) instead of WORDPRESS (defaults to PREFIX/www/data/wordpress). 20101129: AFFECTS: users of sysutils/radmind AUTHOR: ohauer@FreeBSD.org The radmind user and group is created automatically during installation. The owner of $RADMIND_BASE_DIR changes from root to radmind. 20101128: AFFECTS: users of net/asterisk, net/asterisk-addons AUTHOR: Florian Smeets If you want to upgrade to 1.8.0 first remove asterisk-addons by running # pkg_delete -f asterisk-addons\* after that you can run one of the following # portmaster asterisk or # portupgrade asterisk You need to update your config files as the step from 1.4.x to 1.8.x is quite big. First you need to look at what changed between 1.4 and 1.6 http://svnview.digium.com/svn/asterisk/branches/1.8/UPGRADE-1.6.txt After that you also need to take into account what chagne between 1.6 and 1.8 http://svnview.digium.com/svn/asterisk/branches/1.8/UPGRADE.txt If you want to stay with asterisk 1.4.x please run # portmaster -o net/asterisk14 net/asterisk # portmaster -o net/asterisk14-addons net/asterisk-addons or # portupgrade -o net/asterisk14 net/asterisk # portupgrade -o net/asterisk14-addons net/asterisk-addons 20101127: AFFECTS: users of mail/postfix, mail/postfix2[56] AUTHOR: sahil@FreeBSD.org As of Postfix 2.7.2, 2.6.8, 2.5.11: Postfix no longer automatically appends the system default CA (certificate authority) certificates, when it reads the CA certificates specified with {smtp, lmtp, smtpd}_tls_CAfile or with {smtp, lmtp, smtpd}_tls_CApath. This prevents third-party certificates from getting mail relay permission with the permit_tls_all_clientcerts feature. Unfortunately, this change may cause compatibility problems with configurations that rely on certificate verification for other purposes. To get the old behavior, specify "tls_append_default_CA = yes". 20101124: AFFECTS: users of www/py-flexget AUTHOR: lioux@FreeBSD.org metainfo_series is no longer a builtin. This should only affect you if you aren't using one of the series plugins (series, all_series, thetvdb_favorites, or series_premiere.) If you need to enable metainfo_series manually for a feed it can be done like so: metainfo_series: yes 20101120: AFFECTS: users of x11-toolkits/gtk20 and x11-toolkits/gtkmm24 AUTHOR: FreeBSD GNOME Team In the GNOME 2.32 release. gdk-pixbuf2 has been split off from gtk20, and atkmm has been split off from gtkmm24. To upgrade please use the following instructions: Portmaster users: # pkg_delete -f gtkmm-2.20\* gtk-2.20\* # portmaster -a Portupgrade users: # pkgdb -fF # pkg_deinstall -fO gtkmm-2.20\* gtk-2.20\* # portupgrade -aOW 20101118: AFFECTS: users of editors/emacs-devel AUTHOR: Ashish SHUKLA Due to a bug when upgrading from 24.0.50.101606, everything installed by other ports in "${PREFIX}/share/emacs" gets removed. Before upgrading: * Please backup custom configurations in "${PREFIX}/share/emacs". * After upgrading reinstall any ports that may have had files in the "${PREFIX}/share/emacs" directory. Apologies for this inconvenience. 20101117: AFFECTS: users of net-p2p/transmission-cli and net-p2p/transmission-gtk AUTHOR: Mezz Transmission has been updated to 2.12. The following name of binaries and manpages have been renamed: transmissioncli -> transmission-cli transmission -> transmission-gtk 20101117: AFFECTS: users of devel/ccache AUTHOR: Emanuel Haupt Updated instructions on how to workaround a buildworld failure have been committed. Please (re)read the following document after updating ccache to 3.1.1_1: /usr/local/share/doc/ccache/ccache-howto-freebsd.txt 20101110: AFFECTS: users of databases/mysql55-server AUTHOR: Alex Dupre If you are upgrading from a previous MySQL release, the server will exit during startup after finding that the proxies_priv table is missing. To create the table, start the server with the --skip-grant-tables option to cause it to skip the normal grant table checks, then run mysql_upgrade. Then stop the server and restart it normally. You can do this by temporarly setting the following line in rc.conf: mysql_args="--skip-grant-tables --skip-networking" 20101108: AFFECTS: users of databases/py-bsddb3 AUTHOR: wen@FreeBSD.org py-bsddb3 update to 5.1.0. This release drops support for Berkeley DB 4.1, and adds support for Berkeley DB version 5.1, brand new. If you need Berkeley DB 4.1 support, keep using pybsddb 5.0.0. If you want support for Berkeley DB 5.1, remember to install the BDB library before installing these bindings. 20101030: AFFECTS: users of www/xshttpd-devel AUTHOR: johans@FreeBSD.org The default XS-httpd configuration file locations have changed: The main configuration file is now $PREFIX/etc/xshttpd/httpd.conf and other configuration file are stored in that same directory. Existing configurations should be moved over manually. Log files now appear in /var/log/xshttpd/ by default. 20101029: AFFECTS: users of ports-mgmt/portmaster AUTHOR: Doug Barton The changes to bsd.port.mk in 1.652 require all portmaster users to upgrade to version 3.1 or later. The best method to do this will be to use the port, rather than portmaster itself: # pkg_delete -f portmaster\* # cd /usr/ports/ports-mgmt/portmaster && make clean && make install clean 20101026: AFFECTS: users of net/samba35 AUTHOR: Timur Bakeyev This is the latest stable release of the Samba3 distribution. It has been extended with the experimental support of the NFS4-like ACLs on ZFS partitions, thanks to the sysutils/libsunacl library by Edward Tomasz Napierala(trasz). This support haven't been tested thoroughly, so try it on your own risk. This port reverted back to the pre- net/samba34 layout of the directories and now they are again $PREFIX/etc/samba, /var/run/samba, /var/log/samba, /var/db/samba and /var/spool/samba respectively. In case, you are upgrading from net/samba34, please rename corresponding samba34/ subdirectories into samba/ ones. Upgrades from older versions of Samba and fresh installations should be seamless. 20101015: AFFECTS: users of devel/llvm-devel who use clang AUTHOR: Brooks Davis The clang portion of devel/llvm-devel has been split out and now resides in lang/clang-devel. If you have devel/llvm-devel installed in order to use clang, you will need to install the clang-devel port when upgrading. 20101003: AFFECTS: users of www/typo3 AUTHOR: Helmut Schneider www/typo3 has been repocopied to www/typo343. If you need to continue with the old stable version please run # portmaster -o www/typo343 www/typo3 or # portupgrade -o www/typo343 www/typo3 Please remember to change the path of your config files too. 20101003: AFFECTS: users of net-mgmt/kismet AUTHOR: bf@FreeBSD.org This update includes major changes in how Kismet works and is configured. Clients, servers, drones, and configuration files must be updated to work with the new version. Map support has not yet been added. See the kismet README for details. 20100929: AFFECTS: users of sysutils/zfsnap AUTHOR: Aldis Berjoza Since timestamp format changed you need to use -o option with -d option in order to be able to delete old snapshots. Note however that you don't need -o when creating new snapshots, unless you want to keep using the old timestamp format. See http://wiki.bsdroot.lv/zfsnap for more info. 20100927: AFFECTS: users of mail/postfix-current AUTHOR: ohauer@FreeBSD.org Incompatibility with snapshot 20100912 ====================================== - If your DNSBL queries have a "secret" in the domain name, you must now censor this information from the postscreen(8) SMTP replies. - The postscreen "continue" action is now called "ignore". The old name is still supported but no longer documented. - The postscreen_hangup_action parameter was removed. Postscreen now always behaves as if "postscreen_hangup_action = drop". - The postscreen_cache_retention_time default was increased from 1d to 7d, to avoid deleting results from expensive deep SMTP protocol tests too quickly. Incompatibility with snapshot 20100827 ====================================== - The Postfix SMTP client no longer appends the local domain when looking up a DNS name without ".". Specify "smtp_dns_resolver_options = res_defnames" to get the old behavior, which may produce unexpected results. 20100924: AFFECTS: users of x11/nvidia-driver AUTHOR: makc@FreeBSD.org nvidia-driver does not install vdpau library and headers anymore, they are now provided by multimedia/libvdpau port. To avoid conflict, please rebuild nvidia-driver port before upgrading your ports and before installing multimedia/libvdpau. 20100921: AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-* AUTHOR: mm@FreeBSD.org The p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 ports have been replaced by p5-IO-Compress. Users of Perl 5.10 and higher do not need to install this module because it is already included in the standard perl distribution. 20100920: AFFECTS: users of security/stunnel AUTHOR: roam@FreeBSD.org In stunnel-4.34, the DH support is no longer configurable by the user, but always enabled when OpenSSL supports it instead. This means that it will now most probably be enabled on the supported versions of FreeBSD. If this leads to problems with old SSL clients, I will look into making it configurable at build time again. 20100917: AFFECTS: users of sysutils/cdrtools-cjk AUTHOR: marius@FreeBSD.org sysutils/cdrtools-cjk port has been removed, as the required functionality is now available in cdrtools 3.0.0 in the standard sysutils/cdrtools port. 20100915: AFFECTS: autoconf, automake AUTHOR: autotools@FreeBSD.org autoconf has been updated from 2.62 to 2.67 -- all ports depending on autoconf-2.62 have had their PORTREVISIONs update, so a standard port updating method will suffice. USE_GETTEXT has been extended to also accept 'build' and 'run' for ports which need devel/gettext as a BUILD- or RUN-time dependency only. No port should now be directly depending on devel/gettext in Makefiles. 20100915: AFFECTS: users of sysutils/cdrtools-cjk AUTHOR: marius@FreeBSD.org Version 3.00 of sysutils/cdrtools breaks but at the same time also obsoletes sysutils/cdrtools-cjk as mkisofs now employs iconv for character conversion. Consequently sysutils/cdrtools-cjk is marked BROKEN and the use of USE_CDRTOOLS=cjk as well as USE_CDRTOOLS together with the WITH_CJK knob left in a broken state until bsd.port.mk is updated by portmgr@ accordingly. Once USE_CDRTOOLS is updated to no longer refer to sysutils/cdrtools-cjk the latter will be removed. Previous users of sysutils/cdrtools-cjk should switch to using sysutils/cdrtools instead, which might require not using the WITH_CJK knob until said update of bsd.port.mk has happened. 20100915: AFFECTS: users of lang/perl5.12 AUTHOR: skv@FreeBSD.org lang/perl5.12 has been updated to 5.12.2. You should update everything that depends on perl. The easiest way to do that is to use "perl-after-upgrade" script supplied with lang/perl5.12. Please see its manual page for details. If you want to switch to lang/perl5.12 from lang/perl5.{8,10} please follow instructions in the entry 20100715 in this file. 20100912: AFFECTS: ftp/curl AUTHOR: roam@FreeBSD.org With version 7.21.1, the cURL port is built with stricter compiler checking by default (the -Werror flag is passed to the C compiler, making it treat any warnings as fatal errors). If you experience problems building cURL, re-run "make config" in the ftp/curl directory and disable the WERROR knob. 20100912: AFFECTS: www/tdiary-devel, japanese/tdiary-devel AUTHOR: tota@FreeBSD.org The stable tDiary ports, www/tdiary and japanese/tdiary, have been updated to 3.0.0. The development versions of tDiary have been merged from www/tdiary-devel to www/tdiary and from japanese/tdiary-devel to japanese/tdiary, respectively. If you have been using the www/tdiary-devel or japanese/tdiary-devel, you run one of the following commands to upgrade: - www/tdiary-devel # portmaster -o www/tdiary www/tdiary-devel or # portupgrade -o www/tdiary www/tdiary-devel - japanese/tdiary-devel # portmaster -o japanese/tdiary japanese/tdiary-devel or # portupgrade -o japanese/tdiary japanese/tdiary-devel Before upgrading, please read the following for more details: http://www.tdiary.org/20100828.html (written in Japanese) 20100907: AFFECTS: sysutils/pecl-fileinfo AUTHOR: ale@FreeBSD.org If you are using php 5.3 (lang/php5) and fileinfo extension, you should switch to sysutils/php5-fileinfo port: portmaster -o sysutils/php5-fileinfo sysutils/pecl-fileinfo 20100904: AFFECTS: net/netcat AUTHOR: pgollucci@FreeBSD.org Rename nc to netcat to prevent /usr/bin/nc shadowing /usr/local/bin/nc 20100902: AFFECTS: users of KDE 4 AUTHOR: kde@FreeBSD.org KDE SC ports has been updated to 4.5.1. A number of files were moved between packages, manual intervention into update procedure is required: # pkg_delete -f kdehier4\* kdelibs-4\* kdebase-4\* kdebase-runtime-4\* kdebase-workspace-4\* # rm -rf /usr/local/kde4/share/PolicyKit/policy # cd /usr/ports/misc/kdehier4 && make install clean # portmaster -a 20100901: AFFECTS: users of www/rubygem-rails AUTHOR: pgollucci@FreeBSD.org Rails has been updated to 3.0.0. As always, make sure you check the changes at http://weblog.rubyonrails.org/. 20100817: AFFECTS: users of www/lighttpd AUTHOR: mm@FreeBSD.org The modules mod_geoip and mod_h264_streaming have been moved into slave ports: www/lighttpd-mod_geoip and www/lighttpd-mod_h264_streaming 20100818: AFFECTS: users of www/lighttpd AUTHOR: mm@FreeBSD.org The default lighttpd configuration file locations have changed. The main configuration file is now: $PREFIX/etc/lighttpd/lighttpd.conf and includes other configuration files from $PREFIX/etc/lighttpd/ For compatibility with old-style configurations, if the lighttpd_conf variable is not set in /etc/rc.conf, $PREFIX/etc/lighttpd.conf takes precedence over $PREFIX/etc/lighttpd/lighttpd.conf 20100815: AFFECTS: users of databases/redis and databases/redis-devel AUTHOR: osa@FreeBSD.org The redis configuration file, redis.conf, have been changed, some options removed in newer versions (>=2.0). In some cases, redis-server with older configuration might does not run at startup. If you run into startup problems, re-edit configuration file. 20100813: AFFECTS: www/opera AUTHOR: dinoex@FreeBSD.org If you run opera without gtk or kde4, the browser might crash on shutdown. In this case go to about:config and change "Dialog Toolkit" from 0 to 4. 20100811: AFFECTS: multimedia/mpeg4ip-libmp4v2 AUTHOR: makc@FreeBSD.org multimedia/mpeg4ip-libmp4v2, which is not maintained upstream, has been replaced with new port, multimedia/mp4v2. The shared library version has been changed with this update, thus all ports that depends on mp4v2 library must be rebuilt: portmaster -o multimedia/mp4v2 multimedia/mpeg4ip-libmp4v2 portmaster -a 20100731: AFFECTS: users of devel/ccache AUTHOR: ehaupt@FreeBSD.org Users upgrading from 2.4 release should clear the old cache directory with: # ccache --clear 20100730: AFFECTS: users of www/neon28 and www/neon29 AUTHOR: mezz@FreeBSD.org Makes neon29 our default neon library in the ports tree. The www/neon28 has been removed and www/neon29's shared library version has been changed. You will have to rebuild all ports that depend on www/neon29. Do this: Portmaster users: portmaster -o www/neon29 www/neon28 portmaster -r neon29- Portupgrade user: env DISABLE_CONFLICTS=1 portupgrade -o www/neon29 -f neon28-\* pkgdb -Ff portupgrade -rf neon29-\* 20100728: AFFECTS: users of textproc/nltk AUTHOR: clsung@FreeBSD.org Nltk has been upgraded to 2.0b8 which depends on devel/py-yaml now. You need to deinstall nltk before upgrading, since the previous port will delete files installed from py-yaml during its deinstall phase. Use, for example: # pkg_delete nltk-2.0b7,1 # portsnap fetch update # cd /usr/ports/textproc/nltk/ # make install clean 20100727: AFFECTS: users of security/libgcrypt AUTHOR: wxs@FreeBSD.org libgcrypt has been upgraded to 1.4.6 which has a shared library version bump. You need to reinstall all ports that depend on it. Use something like this: portupgrade -rf libgcrypt portmaster -r libgcrypt 20100722: AFFECTS: users of net/rabbitmq AUTHOR: Phillip The database schema and the format in which persistent messages are stored have both changed since the last release (1.7.2). When starting, the RabbitMQ server will detect the existence of an old database and will move it to a backup location, before creating a fresh, empty database, and will log a warning. 20100715: AFFECTS: users of lang/perl* AUTHOR: skv@FreeBSD.org lang/perl5.12 is out. If you want to switch to it from, for example lang/perl5.10, that is: Portupgrade users: 0) Fix pkgdb.db (for safety): pkgdb -Ff 1) Reinstall new version of Perl (5.12): env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.12 -f perl-5.10.\* 2) Reinstall everything that depends on Perl: portupgrade -fr perl Portmaster users: portmaster -o lang/perl5.12 lang/perl5.10 Conservative: portmaster p5- Comprehensive (but perhaps overkill): portmaster -r perl- Note: If the "perl-" glob matches more than one port you will need to specify the name of the Perl directory in /var/db/pkg explicitly. 20100626: AFFECTS: users of japanese/ibus-mozc AUTHOR: daichi@FreeBSD.org The japanese/ibus-mozc port has been updated to version 0.11.383.102, and separated into 5 ports to cope with upcoming new port japanese/scim-mozc. o japanese/mozc-server o japanese/mozc-tool o japanese/mozc-additions o japanese/ibus-mozc o devel/py-gyp-devel You can not upgrade with portupgrade or portmaster. To upgrade, you must deinstall japanese/ibus-mozc first and then install the new japanese/ibus-mozc. For example: # pkg_delete ja-ibus-mozc-0.11.365.102_1 # portsnap fetch update # cd /usr/ports/japanese/ibus-mozc/ # make install clean 20100617: AFFECTS: users of security/{dirmngr|gnupg} AUTHOR: dougb@FreeBSD.org The security/libassuan port has been updated to version 2.0.0, and the applications listed above have been updated to use it as of versions 1.1.0 and 2.0.15 respectively. If you HAVE NOT updated your libassuan port as described in the 20100613 entry, you can simply update all 3 ports together (libassuan, dirmngr if installed, and gnupg) using your normal upgrade path. If you HAVE updated to libassuan-1, then you need to do the following before upgrading dirmngr and gnupg. If you use portupgrade: portupgrade -f -o security/libassuan security/libassuan-1 If you use portmaster: portmaster -o security/libassuan libassuan-1 If you use neither: pkg_delete -f libassuan* Please note, libassuan version 2.0.0 is now a shared library, so unlike the previous version it is now a runtime dependency and cannot be deleted after you are done building dirmngr and/or gnupg. 20100613: AFFECTS: users of deskutils/kdepim4, and security/{gpa|opensc} AUTHOR: dougb@FreeBSD.org The security/libassuan port has been updated to version 2.0.0, however, the applications listed above are not yet compatible with it. Therefore security/libassuan-1 has been created until they can be updated, and the ports listed above have been updated to depend on it. You must first replace your existing libassuan with version 1 in the new location, then you can update the ports listed above normally. If you use portupgrade: portupgrade -f -o security/libassuan-1 security/libassuan If you use portmaster: portmaster -o security/libassuan-1 libassuan If you use neither: pkg_delete -f libassuan* 20100609: AFFECTS: users of audio/libogg and audio/libao AUTHOR: naddy@FreeBSD.org There are new versions of libogg (1.2.0) and libao (1.0.0) and the shared library versions have been bumped (ogg.6 to ogg.7, ao.3 to ao.4). All ports that have an identifiable direct dependency on these libraries have had their PORTREVISIONs bumped. However, some ports that pull in the libraries indirectly may continue to look for the old versions. To ensure that all are updated, perform this step: If you use portupgrade: portupgrade -rf libogg libao If you use portmaster: portmaster -r libogg libao 20100605: AFFECTS: users of multimedia/gstreamer-plugins-good and multimedia/gstreamer-plugins-bad AUTHOR: kwm@FreeBSD.org Certain plugins were moved from the -bad port to the -good port. Please follow instructions below before proceeding with normal update steps: If you use portmaster: portmaster gstreamer-plugins-bad If you use portupgrade: portupgrade -R multimedia/gstreamer-plugins-bad 20100602: AFFECTS: users of lang/mono AUTHOR: romain@FreeBSD.org Starting with Mono 2.6, the Moonlight compiler and assemblies are not installed by the lang/mono port anymore. They are however provided by the multimedia/moonlight port. If you are doing some Silverlight development, install multimedia/moonlight after updating lang/mono. 20100530: AFFECTS: users of devel/gettext (i.e.: YOU) AUTHOR: ade@FreeBSD.org Another version of gettext (0.18), and another shared library version bump (from intl.8 to intl.9), so: All ports that have an identifiable known direct dependency on gettext have had their PORTREVISIONs bumped. If after upgrading: # portupgrade -rf gettext # portmaster -w -r gettext The upgrade of devel/gobject-introspection may fail because it is looking for libintl.so.8. In this case, do the following: # cd /usr/ports/devel/gobject-introspection # make clean # make deinstall # make install clean Then continue your upgrade procedure normally. If there are still ports on your system that are looking for libintl.so.8 (either in ${LOCALBASE}/lib/compat/pkg, or non-existent), _please_ file a PR so that a correct direct dependency can be added. Once you are satisfied that no ports still depend on the old versions (such as libgettextpo.so.4 and libintl.so.8) you can safely delete them from the ${LOCALBASE}/lib/compat/pkg directory if they are present there. 20100524: AFFECTS: users of devel/darcs, ports-mgmt/porte, textproc/pandoc, x11/xmobar, x11-wm/xmonad, x11-wm/xmonad-contrib AUTHOR: pgj@FreeBSD.org The following ports have been renamed to improve consistency among Haskell Cabal ports: - devel/darcs -> devel/hs-darcs - ports-mgmt/porte -> ports-mgmt/hs-porte - textproc/pandoc -> textproc/hs-pandoc - x11/xmobar -> x11/hs-xmobar - x11-wm/xmonad -> x11-wm/hs-xmonad - x11-wm/xmonad-contrib -> x11-wm/hs-xmonad-contrib Please follow these steps below to update Haskell ports that you have installed: 1) Reinstall the renamed Haskell port dependencies (see previous entry). Note that this will possibly require that you remove the affected leaf (aforementioned) ports as well; 2) Reinstall the renamed application(s) you use. 20100524: AFFECTS: users of hs-* ports AUTHOR: pgj@FreeBSD.org The following Haskell ports have been renamed in order to bring them in sync with the naming scheme used at HackageDB. Please follow these steps below to update your installation: 1) Delete the following ports (if you have any of them installed): - hs-zip-archive-ghc - hs-binary-ghc - hs-language-c-ghc - hs-lazysmallcheck-c-ghc - hs-pcre-light-ghc - hs-utf8-string-ghc - hs-HGL-ghc - hs-digest-ghc - hs-haxml - hs-highlighting-kate-ghc - hs-polyparse-ghc - hs-x11-ghc - hs-x11-xft-ghc - hs-opengl-ghc - hs-OpenGLRaw-ghc - hs-OpenGLURaw-ghc - hs-glut-ghc 2) Rebuild the renamed ports and all ports that depend on them. 20100518: AFFECTS: users of devel/pylint AUTHOR: mva@FreeBSD.org The pylint user configuration files have been changed slightly in newer versions (>=0.20.0). In some cases, older configurations might crash pylint at startup. If you run into startup problems, make sure you remove the .pylintrc configuration settings and the .pylint.d directory from your home directory: $ rm ~/.pylintrc $ rm -rf ~/.pylint.d 20100518: AFFECTS: users of devel/apr0, devel/apr1, www/apache20, www/apache22 AUTHOR: pgollucci@FreeBSD.org devel/apr port has been renamed to devel/apr1. WITH_APR_FROM_PORTS=yes for www/apache22 has been dissolved and may be removed from your configuration files; devel/apr1 is always used now. Please manually delete apache-2.\* if installed _before_ updating using either portmaster or portupgrade: pkg_delete -f apache-2.\* Then, if you use portmaster: portmaster -o devel/apr1 devel/apr If you use portupgrade: portupgrade -f -o devel/apr1 devel/apr Finally, reinstall Apache port if you deleted it earlier and update ports as usual (`XX' below is either 20 or 22): portinstall www/apacheXX 20100512: AFFECTS: users of www/apache20 AUTHOR: pgollucci@FreeBSD.org The rc.d script has been renamed: apache2.sh -> apache2 You'll need to update any crons wrappers, etc. for the new paths. 20100511: AFFECTS: users of KDE SC 4 AUTHOR: kde@FreeBSD.org KDE SC ports have been updated from 4.3.5 to 4.4.3. A number of libraries was moved between packages. The recommended update procedure is to delete kdelibs-experimental*, kdebase-4*, kdebase-workspace-4*, kdebase-runtime-4*, kdepim-4*, kdepim-runtime-4*, and then update ports as usual and install desired KDE 4 ports: # pkg_delete -f kdebase-\*4\* kdepim-\*4\* kdelibs-experimental-\*4\* # portmaster -a (or portupgrade -aR) In order to enabled Nepomuk semantic desktop search you have to install databases/virtuoso (you don't need to manually configure or run virtuoso server). 20100511: AFFECTS: users of textproc/redland RDF engine AUTHOR: kde@FreeBSD.org Redland RDF engine has been split into redland itself and rasqal engine. The recommended update procedure is to delete redland, then update ports as usual and install desired RDF ports: # pkg_delete -f redland-\* # portmaster raptor (or portupgrade -r raptor) 20100511: AFFECTS: users of multimedia/qt4-phonon, multimedia/qt4-phonon-gst, multimedia/phonon, and multimedia/phonon-gstreamer AUTHOR: kde@FreeBSD.org WITH_QT_PHONON global knob has been introduced to allow selection between multimedia/qt4-phonon* ports (a bit outdated Phonon, which is shipped with Qt 4) and multimedia/phonon* ports. Since KDE SC 4.4 now requires fresh Phonon, multimedia/phonon* ports are installed by default. If you don't use KDE, you may set WITH_QT_PHONON=yes in /etc/make.conf and continue to use Qt 4 Phonon implementation ports. If you want to use KDE SC 4.4 (or if you want the latest Phonon), do not define WITH_QT_PHONON, delete multimedia/qt4-phonon* ports, and install multimedia/phonon*: If you use portmaster: portmaster -o multimedia/phonon multimedia/qt4-phonon portmaster -o multimedia/phonon-gstreamer multimedia/qt4-phonon-gst If you use portupgrade: portupgrade -f -o multimedia/phonon multimedia/qt4-phonon portupgrade -f -o multimedia/phonon-gstreamer multimedia/qt4-phonon-gst 20100510: AFFECTS: users of security/gnome-keyring AUTHOR: kwm@FreeBSD.org libgnome-keyring was split out of the gnome-keyring package. Perform the following before doing your normal upgrade steps: pkg_delete -f "gnome-keyring-*" portmaster security/gnome-keyring or pkgdb -Ff portupgrade -R -x gnome-keyring -x libgnome-keyring gnome-keyring pkg_deinstall -fO gnome-keyring portinstall security/gnome-keyring 20100506: AFFECTS: users of mail/nullmailer on FreeBSD 6.X AUTHOR: glarkin@FreeBSD.org The nullmailer port was recently updated with an rc.d script to correctly daemonize nullmailer-send with daemon(8). On FreeBSD 6.X, daemon(8) does not support "[-u user]" command-line switch, causing the nullmailer rc.d script failure to start nullmailer-send. Support for "[-u user]" command-line switch was recently MFC'd to 6-STABLE (http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/146266). FreeBSD 6.X users should patch and install daemon(8) by one of the methods described below. If /usr/src is not yet populated, csup the 6-STABLE sources and run these commands: cd /usr/src/usr.sbin/daemon make install /usr/local/etc/rc.d/nullmailer start If /usr/src is already populated with sources from a previous 6.X release, use these commands: cd /usr/src/usr.sbin/daemon fetch 'http://people.freebsd.org/~glarkin/pr-links/daemon/patch-daemon.c' fetch 'http://people.freebsd.org/~glarkin/pr-links/daemon/patch-daemon.8' patch -p0 daemon.c < patch-daemon.c patch -p0 daemon.8 < patch-daemon.8 make install /usr/local/etc/rc.d/nullmailer start 20100502: AFFECTS: users of www/squid* AUTHOR: miwi@FreeBSD.org Starting with squid* the directory containing the default cache and log directory was changed from $PREFIX/squid/ to /var/squid/. The default values for the following Squid configuration parameters have changed as shown below: cache_log from $PREFIX/squid/logs/cache.log to /var/squid/logs/cache.log cache_store_log from $PREFIX/squid/logs/store.log to /var/squid/logs/store.log pid_filename from $PREFIX/squid/logs/squid.pid to /var/squid/logs/squid.pid coredump_dir from $PREFIX/squid/cache to /var/squid/cache Please check whether you need to define any of these variables in your squid.conf to the old defaults explicitly before updating, especially if you have set up automated log processing or automated log rotation. If you define pid_filename in your squid.conf, you should also set squid_pidfile to the same value in /etc/rc.conf, cf. $PREFIX/etc/rc.d/squid. 20100419: AFFECTS: users of math/libgmp4 AUTHOR: ale@FreeBSD.org The default gmp version in FreeBSD is now 5.0.x. The port directory changed from math/libgmp4 to math/gmp. An entry has been added to MOVED and all depending ports revisions have been bumped, so the update should be handled correctly by usual port management tools such as portupgrade. Portmaster users, please do the following before upgrading ports that depend on gmp: portmaster -o math/gmp math/libgmp4 20100409: AFFECTS: users of lang/php5 AUTHOR: ale@FreeBSD.org As of PHP 5.3, a few extensions were removed from or included into the core PHP5 package. Follow the steps below to update your installation. 1) Delete the following packages (if installed): - php5-dbase - php5-ncurses - php5-pcre - php5-spl - php5-ming - php5-mhash 2) Rebuild lang/php5 and all ports that depend on it. 20100403: AFFECTS: users of net/dgd AUTHOR: glewis@FreeBSD.org The kernel library has been separated from the main net/dgd port into its own net/dgd-kernel port so that all libraries are on an equal footing. This also reflects the split of the kernel library out from the main DGD distribution. If you wish to continue to use the kernel library you'll need to install net/dgd-kernel after updating to dgd-1.4.1_2. 20100330: AFFECTS: users of gstreamer-plugins-bad and gstreamer-plugins-good AUTHOR: kwm@FreeBSD.org Plugin moved from the -bad port to the -good port. Please follow the instructions below before proceeding with normal update steps. If you use portmaster: portmaster gstreamer-plugins-bad If you use portupgrade: portupgrade -R multimedia/gstreamer-plugins-bad 20100328: AFFECTS: users of graphics/png AUTHOR: dinoex@FreeBSD.org The PNG library has been updated to version 1.4.1. Please rebuild all ports that depend on it. If you use portmaster: make sure you update to portmaster version 2.20 or newer, then do: portmaster -r png- If you use portupgrade: portupgrade -fr graphics/png 20100221: AFFECTS: users of rblibtorrent-devel AUTHOR: dougb@FreeBSD.org The port name has changed to libtorrent-rasterbar-14. If you use portmaster: portmaster -o net-p2p/libtorrent-rasterbar-14 net-p2p/rblibtorrent-devel If you use portupgrade: portupgrade -o net-p2p/libtorrent-rasterbar-14 net-p2p/rblibtorrent-devel 20100216: AFFECTS: users of sysutils/bacula-server, sysutils/bacula-client AUTHOR: dvl@FreeBSD.org Bacula 5.x uses new shared objects which conflict with the shared objects from previous versions. You should delete all existing Bacula packages from your system before compiling Bacula 5.x, otherwise you'll encounter compilation errors. /usr/local/etc/rc.d/bacula-dir stop /usr/local/etc/rc.d/bacula-sd stop /usr/local/etc/rc.d/bacula-fd stop pkg_delete 'bacula-*' After upgrading, remember to run the database upgrade script supplied with the port. 20100214: AFFECTS: users of japanese/roundcube AUTHOR: nork@FreeBSD.org If you switch mail/roundcube to japanese/roundcube, please re-check configuration files like ${PREFIX}/www/roundcube/config/main.inc.php. At least, please add following settings: $rcmail_config['message_charset_languages'] = array('en_US' => 'ISO-8859-1', ... $rcmail_config['transfer_encoding_languages'] = array('en_US' => 'quoted-printable', ... See also: ${PREFIX}/www/roundcube/config/main.inc.php.dist 20100207: AFFECTS: users of www/firefox AUTHORS: beat@FreeBSD.org, mandree@FreeBSD.org (Java plugin) The www/firefox port has been updated to 3.6. From now on www/firefox will contain the most recent version of Firefox. Older but still supported releases will be available in www/firefox3 and www/firefox35. In order to update to Firefox 3.6 please delete your older installed version of Firefox first and install www/firefox afterwards. Please make sure all your addons are compatible with Firefox 3.6 and backup your ~/.mozilla directory prior to the first launch of Firefox 3.6. Note that in order to use Java with Firefox 3.6, you need to install java/openjdk6, build it with the "WEB" option enabled and use the Iced Tea plugin. To achieve the latter, each user needs to create a symlink to the Icedtea plugin as described in the Browsers/Firefox and Java[tm] Plugin section in the handbook: ln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so \ $HOME/.mozilla/plugins 20100207: AFFECTS: users of Mesa3D libraries and x11-drivers/xf86-video-nouveau AUTHOR: nork@FreeBSD.org If you want to use Mesa3D 7.6.1 and libdrm 2.4.17 rather than 7.4.4 and 2.4.12, you must define WITHOUT_NOUVEAU global macro, at least, enabled on graphics/libGL*, graphics/libglut, graphics/dri, graphics/mesa-demos, and graphics/libdrm. And please give up using x11-drivers/xf86-video-nouveau. At this time, I cannot enable latest Mesa3D and libdrm, because they break xf86-video-nouveau. But old (current?) Mesa3D and libdrm do not break any drivers. AMD Radeon HD 2xxx/3xxx/4xxx users: If you use AMD Radeon HD [234]xxx series, please define WITHOUT_NOUVEAU global macro. You can then use OpenGL Hardware Accelerator feature on these series. 20100206: AFFECTS: users of net/samba4-devel AUTHOR: timur@FreeBSD.org Default configuration file was moved to ${LOCALBASE}/etc/smb4.conf to avoid conflicts with the installed net/samba3?. Also, userland utils are not installed by default, which should also help with the parallel setup of Samba3 and Samba4. 20100205: AFFECTS: users of Qt 3 and KDE 3 AUTHOR: itetcu@FreeBSD.org When building qt33 and kdelibs3 (at least), while they are installed, because of -L/usr/local/lib being passed too soon, the currently installed libraries are used instead of the ones from the build. This makes the build fail if you updated any of the libraries these Qt/KDE libraries are linked against (e.g. libjpeg). For the moment the workaround, when you get to this, is to move the old lib out of the way, e.g.: mv /usr/local/lib/libqt-mt.so /usr/local/lib/libqt-mt.so.old && \ cd /usr/ports/x11-toolkits/qt33/ && make && \ mv /usr/local/lib/libqt-mt.so.old /usr/local/lib/libqt-mt.so && \ portmaster -C x11-toolkits/qt33 (or portupgrade -w qt-33\*) ... 20100205: AFFECTS: users of lang/perl* AUTHOR: skv@FreeBSD.org Default version of Perl was bumped to 5.10. If you already have lang/perl5.8 installed, and want to switch to lang/perl5.10 please follow instructions in the entry 20090328 in this file. 20100205: AFFECTS: users of net/samba34 AUTHOR: timur@FreeBSD.org This port was developed with the generous help of Florent Brodin. The default passdb backend has been changed to `tdbsam'! That breaks existing setups using the `smbpasswd' backend without explicit declaration! Please use `passdb backend = smbpasswd' if you would like to stick to the `smbpasswd' backend or convert your smbpasswd entries using e.g. `pdbedit -i smbpasswd -e tdbsam'. The `tdbsam' backend is much more flexible concerning per user settings like `profile path' or `home directory' and there are some commands which do not work with the `smbpasswd' backend at all. 20100130: AFFECTS: users of audio/sdl_mixer and graphics/sdl_image AUTHOR: mva@FreeBSD.org The SDL_mixer and SDL_image libraries have new shared library versions. Please rebuild all ports that depend on them. If you use portmaster: portmaster -r sdl_mixer- portmaster -r sdl_image- If you use portupgrade: portupgrade -fr audio/sdl_mixer portupgrade -fr graphics/sdl_image 20100125: AFFECTS: users of audio/openal and graphics/openal-soft AUTHOR: mva@FreeBSD.org The default OpenAL implementation was switched to audio/openal-soft. To update all ports correctly, the following steps have to be performed. pkg_delete -f openal-\* If you use portmaster: portmaster -o audio/openal-soft audio/openal portmaster -r audio/openal-soft If you use portupgrade: portupgrade -ro audio/openal audio/openal-soft If you want to stick with audio/openal, please specify the following ports make flag within /etc/make.conf (or an appropriate configuration file for your ports): WANT_OPENAL=si 20100122: AFFECTS: users of sysutils/policykit and sysutils/polkit AUTHOR: gnome@FreeBSD.org Due to a recent change in sysutils/policykit, both sysutils/policykit, and sysutils/polkit need to be rebuilt, but in a certain order. First, upgrade sysutils/policykit to 0.9_6. Then, force rebuild and reinstall of sysutils/polkit. If you do not do this, applications which depend on polkitd will fail. 20100113: AFFECTS: users of emulators/virtualbox AUTHOR: beat@FreeBSD.org Port has been renamed to emulators/virtualbox-ose to reflect that we are using the OSE version. A separate port for the kernel modules has been created: emulators/virtualbox-ose-kmod. Please see http://wiki.freebsd.org/VirtualBox for update instructions. 20100107: AFFECTS: users of security/openvpn* AUTHOR: mandree@FreeBSD.org security/openvpn has been moved to security/openvpn20 and upgraded to 2.0.9. security/openvpn has been upgraded to 2.1.1, and security/openvpn-devel has been removed. Regular upgrades of the security/openvpn port should succeed without manual intervention, but if you want to stick to openvpn 2.0 or if you had been using openvpn-devel, manual intervention is needed, as follows: If you'd been using the security/openvpn-devel port, please use one of these commands for upgrading: portmaster -m-DDISABLE_CONFLICTS -o security/openvpn security/openvpn-devel portupgrade -m-DDISABLE_CONFLICTS -o security/openvpn security/openvpn-devel If you want to stick to openvpn 2.0, please use one of these two upgrade commands: portmaster -m-DDISABLE_CONFLICTS -o security/openvpn20 security/openvpn portupgrade -m-DDISABLE_CONFLICTS -o security/openvpn20 security/openvpn 20100106: AFFECTS: users of devel/websvn AUTHOR: miwi@FreeBSD.org The default install directory for websvn has changed from ${PREFIX}/www/data/websvn to ${PREFIX}/www/websvn. If you are updating from a previous version, to preserve your settings and data, please do the following: mv /usr/local/www/data/websvn /usr/local/www Then update as usual. 20091227: AFFECTS: users of sysutils/grok AUTHOR: Wesley Shields The sysutils/grok port has been completely re-written. Configuration files will need to be reviewed. Also, the RC script has been removed until it can be made to work with the new version. 20091226: AFFECTS: users of net-mgmt/ndoutils AUTHOR: pgollucci@FreeBSD.org When upgrading you'll need to run ./upgradedb; see UPGRADING file. 20091214: AFFECTS: users of net/grdc AUTHOR: avl@FreeBSD.org Grdc has been renamed to Remmina upstream, and the port was also renamed to reflect this. After installing remmina port you will need to download the ``grdc2remmina.sh'' script and run it as your normal user(s) that have ~/.grdc. The script will only create ~/.remmina directory and move grdc config files to the new path; it does not affect anything else. $ fetch http://people.freebsd.org/~avl/script/grdc2remmina.sh $ sh grdc2remmina.sh 20091213: AFFECTS: users of net-mgmt/zabbix, net-mgmt/zabbix-agent AUTHOR: Jim Riggs In order to simplify configuration and better separate the different components of Zabbix, the former zabbix port has been split into three: zabbix-server, zabbix-proxy, and zabbix-frontend. Each component has distinct functionality and may be installed independently on separate systems. The existing zabbix-agent port remains. Additionally, the new zabbix-frontend port now (correctly) installs the PHP frontend in PREFIX/www/zabbix. The old zabbix port installed the files in PREFIX/share/zabbix/php. Web server configurations must be updated accordingly. Finally, Zabbix has been updated to version 1.8. Not everyone may be able to upgrade from version 1.6 immediately, though, so 1.6.8 versions of the ports are also available as zabbix16-server, zabbix16-proxy, zabbix16-agent, and zabbix16-frontend. 20091206: AFFECTS: users of emulators/qemu AUTHOR: nox@FreeBSD.org The port has been updated to 0.11.1, which no longer enables kqemu by default (if built with KQEMU knob on), now you also have to explicitly pass -enable-kqemu (or -kernel-kqemu as with the previous versions) if you want to use it. Also note the 0.11 stable branch is the last qemu branch that still supports kqemu, so if you depend on reasonably fast emulation on FreeBSD you should start looking for alternatives some time soon. (VirtualBox?) 20091120: AFFECTS: users of mail/postfixadmin AUTHOR: Terry Sposato Due to a bug in the previous postfixadmin port, existing users need to backup their config.inc.php before they upgrade to postfixadmin-2.3 or later and put it in place after the upgrade is complete. 20091120: AFFECTS: users of security/f-prot AUTHOR: Tim Bishop The main f-prot command is now named fpscan. Virus definitions are updated using the fpupdate command. fpupdate will automatically run from periodic every day. To disable set the following option in /etc/periodic.conf: fpupdate_enable="NO" The f-prot port now only works on i386. 20091118: AFFECTS: users of java/jboss5 AUTHOR: Jonathan Chen The JBoss directory structure has been reorganised to follow hier(7) guidelines more closely; in particular, transient and deployment files were moved to /var/jboss5, thus allowing /usr to be read-only. 20091118: AFFECTS: users of www/redmine AUTHOR: Bernhard Froehlich After the upgrade you need to generate a session secret before restarting the application. This is to protect you from cross-site request forgery. From your Redmine directory, simply run the following command once: # rake config/initializers/session_store.rb then upgrade as usual: # rake db:migrate RAILS_ENV=production 20091114: AFFECTS: users of emulators/win4bsd AUTHOR: Mario S F Ferreira The new port now depends on emulators/kqemu-kmod instead of installing its own version. Therefore, you should make sure that no other kqemu.ko modules are installed: # pkg_delete -f win4bsd\* # rm -f /boot/kernel/kqemu.ko # pkg_delete -f kqemu-kmod\* # portinstall emulators/win4bsd Do not forget to enable kqemu on rc.conf since win4bsd will not work without it. 20091018: AFFECTS: users of databases/mysql54-server AUTHOR: Alex Dupre After the upgrade the server may fail to start due to changes in the default values of innodb_log_files_in_group and innodb_log_file_size, which differ from those in earlier 5.4 releases. You should discard the old InnoDB log files and let MySQL 5.4.3 create new ones. It is necessary to shut down your current server cleanly so that no outstanding transaction information remains in the log. See here: http://dev.mysql.com/doc/refman/5.4/en/news-5-4-3.html 20091014: AFFECTS: users of mail/heirloom-mailx AUTHOR: Alexander Logvinov Since SourceForge switched to the new File Release System, mail/heirloom-mailx has wrong package name. All users who have mail/heirloom-mailx installed after 22 August 2009 should run the following commands: # pkg_delete "\-mailx-12.4_1" or # rm -r /var/db/pkg/-mailx-12.4_1 # rm -r /var/db/ports/-mailx # cd /usr/ports/mail/heirloom-mailx && make install clean 20090921: AFFECTS: users of archivers/lzmautils, archivers/lzmautils-devel AUTHOR: Christian Weisgerber The XZ Utils distribution has superseded LZMA Utils, so the xz port has been added and the lzmautils ports have been removed. To perform the move, run one of the following commands: If using portupgrade: # portupgrade -o archivers/xz lzmautils\* If using portmaster: # portmaster -o archivers/xz archivers/lzmautils or # portmaster -o archivers/xz archivers/lzmautils-devel as applicable. 20090919: AFFECTS: users of mail/postfix-postfwd AUTHOR: Sahil Tandon The recipient rate-limiting feature is now called via rcpt() command instead of with mrcpt() as in previous versions. Make sure to update your postfwd.conf if you use this feature. 20090917: AFFECTS: users of www/epiphany, x11/yelp, graphics/librsvg2, x11/toolkits/py-gnome-extras, and www/epiphany-extensions AUTHOR: gnome@FreeBSD.org The default Gecko provider has been changed from www/firefox to www/libxul. Firefox 2.x is now marked FORBIDDEN for security reasons, and libxul is new, stable, and preferred Gecko provider. Libxul uses the same Gecko engine as Firefox 3.0.x. Some ports may fail to upgrade or run when both www/firefox and libxul are installed on the same system. To make sure everything runs smoothly, uninstall www/firefox, then install libxul, then upgrade the affected ports. 20090915: AFFECTS: users of sysutils/gosa AUTHOR: Denis Shaposhnikov Please read the following: https://oss.gonicus.de/labs/gosa/wiki/DocumentationInstallingUpdatingGOsa before upgrading this port. And don't forget to check your slapd.conf because gosa scheme files were changed. Should you have any problems during LDAP migration step, try to restart your PHP process. 20090913: AFFECTS: users of www/ikiwiki AUTHOR: Henrik Brix Andersen In order to fix a performance bug, all wikis need to be rebuilt on upgrade to version 3.1415926. 20090912: AFFECTS: users of ports that have set USE_FORTRAN=yes AUTHOR: gerald@FreeBSD.org Ports that are built using the Fortran frontend of GCC (aka gfortran) will now use lang/gcc44 as the default compiler. 20090911: AFFECTS: users of lang/perl5.10 AUTHOR: skv@FreeBSD.org lang/perl5.10 has been updated to 5.10.1. You should update everything that depends on perl. The easiest way to do that is to use "perl-after-upgrade" script supplied with lang/perl5.10. Please see its manual page for details. If you want to switch to lang/perl5.10 from lang/perl5.8 please follow instructions in the entry 20090328 in this file. 20090910: AFFECTS: users of www/rubygem-rails AUTHOR: pgollucci@FreeBSD.org Rails has been updated to 2.3.4. As always, make sure you check the changes at http://weblog.rubyonrails.org/. 20090909: AFFECTS: users of gstreamer-plugins-bad gstreamer-plugins-good AUTHOR: kwm@FreeBSD.org Due to the move of several plugins from gstreamer-plugins-bad to gstreamer-plugins-good, it is necessary to update gstreamer-plugins-bad first: portupgrade -R gstreamer-plugins-bad or, using portmaster: portmaster gstreamer-plugins-bad After this step, the normal upgrade procedure can be used. 20090831: AFFECTS: users of emulators/linux-systemsimcell AUTHOR: stast@bsdportal.ru The port emulators/linux-systemsimcell has been updated to 3.1.25. Systemsimcell emulator now has a new dependency: x11-toolkits/linux-f10-blt. So you need to switch to linux-f10 ports in order to use 3.1.25 version. 20090828: AFFECTS: users of mail/dovecot and mail/dovecot-sieve AUTHOR: yds@CoolRat.org dovecot-sieve has been updated to a new implementation compatible with dovecot 1.2.x. For details of what this means please refer to: http://wiki.dovecot.org/LDA/Sieve/Dovecot#Migration_from_CMUSieve 20090827: AFFECTS: users of www/mediawiki AUTHOR: miwi@FreeBSD.org www/mediawiki version is 1.15.1 now. 1.14.1 version was preserved as www/mediawiki114 port. 20090818: AFFECTS: users of security/gnutls and any port that depends on it AUTHOR: novel@FreeBSD.org GnuTLS has been updated to 2.8.3 and all shared libraries versions have been bumped. So you need to rebuild all applications that depend on gnutls. Do something like: portupgrade -rf gnutls 20090816: AFFECTS: users of astro/celestia and KDE AUTHOR: danfe@FreeBSD.org Celestia can now be compiled with KDE 3 frontend (you can enable it with CELESTIA_UI=kde when building). It is very feature-rich, as it offers contextual menus, toolbars, KDE integration, internationalization, bookmarks, etc. If you use Celestia and KDE as your desktop, you might want to rebuild the port so it integrates into your environment better. 20090815: AFFECTS: users of mail/dovecot AUTHOR: wxs@FreeBSD.org Dovecot has been updated to version 1.2.3. The configuration file has changed significantly. Please see http://wiki.dovecot.org/Upgrading/1.2 for details of what this means. 20090804: AFFECTS: users of multimedia/phonon*, x11/kdebase4*, deskutils/kdepim4 AUTHOR: kde@FreeBSD.org KDE 4 has been updated to version 4.3.0. KDE now uses qt4-phonon; multimedia/phonon and multimedia/phonon-gstreamer are deprecated in favor of their qt4 equivalents. You can still use multimedia/phonon-xine however. A number of files have been moved between packages. The recommended update procedure is to delete phonon, phonon-gstreamer, kdebase-*4*, kdepim-4*, then update ports as usual and install desired KDE 4 ports: # pkg_delete -f phonon-4\* phonon-gstreamer\* kdebase-\*4\* kdepim-4\* # portmaster -a (or portupgrade -a) # cd ${PORTSDIR}/x11/kde4 && make config && make install clean 20090804: AFFECTS: users of devel/dbus-qt4, devel/qt4-designer AUTHOR: kde@FreeBSD.org Qt 4 ports have been updated to 4.5.2. The recommended update procedure is to delete qt4-dbus and qt4-designer, then update ports as usual. Install qt4-designer if needed. 20090802: AFFECTS: users of devel/libtool15 and devel/libltdl15 AUTHOR: mezz@FreeBSD.org The devel/libtool15 and devel/libltdl15 ports have been moved to libtool22 and libltdl22, respectively, then updated to 2.2.6a. You will need to run portmaster or portupgrade to properly perform the upgrade: If using portmaster: portmaster -o devel/libtool22 devel/libtool15 portmaster -o devel/libltdl22 devel/libltdl15 If using portupgrade: portupgrade -o devel/libtool22 libtool-1.5\* portupgrade -o devel/libltdl22 libltdl-1.5\* After that, you will need to rebuild all ports that depend on libltdl. Since all dependent ports' PORTREVISIONs have been bumped, you can run portupgrade or portmaster with `-a' option to complete the upgrade. 20090801: AFFECTS: users of x11-drivers/xf86-video-nouveau AUTHOR: rnoland@FreeBSD.org An updated libdrm and xf86-video-nouveau have been committed. These update the API version to 0.0.14 and if you are using DRM you will need to update your kernel patch. See pkg-message in xf86-video-nouveau for details. 20090730: AFFECTS: users of www/tomcat6 AUTHOR: ale@FreeBSD.org Tomcat has been updated to 6.0.20 release and the installation directory is changed from apache-tomcat6.0 to apache-tomcat-6.0. Backup your configuration files before updating Tomcat, since the previous port will delete them on deinstall. 20090729: AFFECTS: users of sysutils/heartbeat AUTHOR: ports@encarnate.com Heartbeat has been upgraded to the 2.1.4 release. Older configurations based on version 1 should still work. Read more about the new features and possible configuration changes at the following URLs: http://clusterlabs.org/wiki/Documentation (Configuration 0.6 Explained) http://www.linux-ha.org/GettingStartedRevisedV2 20090724: AFFECTS: users of www/rubygem-rails AUTHOR: pgollucci@FreeBSD.org Rails has been updated to 2.3.3. As always, make sure you check the changes at http://weblog.rubyonrails.org/. 20090720: AFFECTS: users of net/openldap24-{client,server} AUTHOR: delphij@FreeBSD.org OpenLDAP has been upgraded to 2.4.17, which requires a shared library version bump. Therefore, you need to reinstall all ports that depend on it. Please do something like: # portupgrade -fr net/openldap24-client or # portmaster -r net/openldap24-client 20090719: AFFECTS: users of graphics/jpeg AUTHOR: dinoex@FreeBSD.org The IJG jpeg library has been updated to version 7.0. Please rebuild all ports that depend on it. If you use portmaster: portmaster -r jpeg- Or, if you would prefer a more gradual approach: portmaster -w jpeg- (Check the man page for more information) If you use portupgrade: portupgrade -fr graphics/jpeg 20090704: AFFECTS: users of www/yaws AUTHOR: olgeni@FreeBSD.org The default configuration file path was changed to ${LOCALBASE}/etc/yaws in version 1.83. Please remember to update your configuration before upgrading. 20090628: AFFECTS: users of www/firefox3-devel AUTHOR: gecko@FreeBSD.org If your Firefox crashes with the following message while viewing a HTML5 page: "Bad system call (core dumped)" you need to load the sem module (kldload sem). To load sem module on every boot, put the following into your /boot/loader.conf: sem_load="YES" 20090624: AFFECTS: users of mail/crm114 AUTHOR: glebius@cell.glebius.int.ru The new version of crm uses a new format for css files. Old files should be rebuilt or started from scratch. If not done, crm114 will lose any mail processed via it. 20090620: AFFECTS: users of gstreamer-plugins-bad, gstreamer-plugins-good, and gstreamer-plugins-ugly ports AUTHOR: kwm@FreeBSD.org Due to the move of several plugins from gstreamer-plugins-bad to gstreamer-plugins-good and gstreamer-plugins-ugly, it is necessary to update gstreamer-plugins-bad first: portupgrade -R gstreamer-plugins-bad or, using portmaster: portmaster gstreamer-plugins-bad 20090619: AFFECTS: users of net-p2p/transmission-daemon AUTHOR: mezz@FreeBSD.org The UID/GID of transmission has been changed from 919 to 921. The data configure has been changed from ${PREFIX}/etc/transmission/home/.config to ${PREFIX}/etc/transmission/home. To update the UID/GID: # pw groupmod transmission -g 921 # pw usermod transmission -u 921 -g 921 20090618: AFFECTS: users of www/p5-Catalyst AUTHOR: pgollucci@FreeBSD.org Most applications and plugins should run unaltered on Catalyst 5.80. However, a lot of refactoring work has taken place, and several changes have been made which could cause incompatibilities. If your application or plugin is using deprecated code, or relying on side effects, then you could have issues upgrading to this release. http://search.cpan.org/~mramberg/Catalyst-Runtime-5.80005/lib/Catalyst/Upgrading.pod 20090617: AFFECTS: users of emulators/virtualbox AUTHOR: beat@FreeBSD.org The GID of virtualbox has changed due to a conflict with databases/couchdb. Update GID of vboxusers after updating the port: # pw groupmod vboxusers -g 920 20090617: AFFECTS: users of math/fftw3 math/fftw3-long math/fftw3-float AUTHOR: db@FreeBSD.org The Fortran option has removed from fftw3 and moved into slave ports, math/fftw3-fortran math/fftw3-long-fortran and math/fftw3-float-fortran. 20090615: AFFECTS: users of x11-wm/enlightenment and x11-wm/enlightenment-devel AUTHOR: gahr@FreeBSD.org The development version of the Enlightenment window manager, a.k.a. E17, was moved from x11-wm/enlightenment-devel to x11-wm/enlightenment. The DR16 branch now resides in x11-wm/e16. 20090615: AFFECTS: users of multimedia/mlt++ AUTHOR: beat@FreeBSD.org The multimedia/mlt++ port was incorporated into multimedia/mlt since version 0.4.2. Delete multimedia/mlt++ first and then install/update multimedia/mlt. 20090613: AFFECTS: users of www/hudson AUTHOR: hq@FreeBSD.org Hudson is now running as a standalone process and no longer relies on Apache Tomcat. As such, it should now be configured by defining hudson_* variables in rc.conf. See comments from rc.d script for further details. The default setup is using the same port numbers and HTTP URL prefix as before in order to reduce the effort of upgrading the port. Hence, it may conflict with some running Apache Tomcat instance. To fix this problem, you may either deinstall www/tomcat6, or use the following settings in hudson_args from /etc/rc.conf: --httpPort=??? --ajp13Port=??? 20090611: AFFECTS: users of www/apache22 AUTHOR: pgollucci@FreeBSD.org Two rc.d scripts have been renamed: apache22.sh -> apache22 htcacheclean.sh -> htcacheclean You'll need to update any crons wrappers, etc. for the new paths. 20090608: AFFECTS: users of lang/python* and py-* AUTHOR: miwi@FreeBSD.org The default version of Python has been changed from 2.5.x to 2.6.x. If you have 2.5.x installed, perform an upgrade of lang/python25 to lang/python26 with one of the following commands: If using portupgrade: # portupgrade -o lang/python26 lang/python25 If using portmaster: # portmaster -o lang/python26 lang/python25 If you want to retain 2.5.x as default Python version, set the PYTHON_DEFAULT_VERSION variable to 'python2.5' (without quotes) in /etc/make.conf, then go to lang/python and perform the following command: # portupgrade -R python Once the installed Python has been updated to 2.6, by using the method above, it is required to run the upgrade-site-packages target in lang/python to assure that site-packages are made available to the new Python version. If using portupgrade: # cd /usr/ports/lang/python && make upgrade-site-packages If using portmaster: # cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER The portmaster case can take quite some time to complete due to the lack of cached information that the portupgrade suite uses (specifically pkg_which). This is not the fault of portmaster. 20090606: AFFECTS: users of java/eclipse AUTHOR: glewis@FreeBSD.org The update to 3.4.2 changes the location of the metadata for eclipse to be more in line with what is used on other platforms. This means that after the update plugins that have been installed by a user with the built in Update Manager will need to be reinstalled. 20090605: AFFECTS: users of mail/postfix AUTHOR: itetcu@FreeBSD.org Version 2.6.1 introduced a POLA violation by expecting aliases.db to be in /etc/mail/aliases.db (not /etc/aliases.db). With this version the location is reverted to the right place. If you updated your installation to 2.6.1 you need to run newaliases(1) again after you installed 2.6.2. 20090603: AFFECTS: users of japanese/font-mplus-ipa (and old japanese/ipa-ttfonts) AUTHOR: hrs@FreeBSD.org IPAUIGothic has been updated to a version included in IPA font version 002.03 and added as a separated port "japanese/font-ipa-uigothic". And the font-mplus-ipa has been updated to remove the old IPAUIGothic. Thus the old ipa-ttfonts is almost equivalent to font-ipa + font-ipa-uigothic + font-mplus-ipa. Note that these three packages have different licenses from each other. 20090601: AFFECTS: users of devel/cvs-devel AUTHOR: wxs@FreeBSD.org cvs-devel no longer installs /bin/cvs and /bin/cvsbug. These are now installed into ${PREFIX}/bin. If you wish to use these please be aware of this change with respect to your path. 20090531: AFFECTS: users of devel/viewvc AUTHOR: pgollucci@FreeBSD.org viewvc.conf and templates are not compatible to 1.0.x version, even the database scripts have changed. For details see: http://viewvc.tigris.org/source/browse/*checkout*/viewvc/trunk/docs/upgrading-howto.html 20090530: AFFECTS: users of Japanese and Chinese fonts AUTHOR: hrs@FreeBSD.org Ports for Japanese fonts have been reorganized in the following way: japanese/ipa-ttfonts -> japanese/font-mplus-ipa japanese/ipa-ttfonts -> japanese/font-ipa japanese/kochi-ttfonts -> japanese/font-kochi japanese/mplusfonts -> japanese/font-mplus japanese/sazanami-ttf -> japanese/font-sazanami japanese/shinonome -> japanese/font-shinonome japanese/umefont -> japanese/font-ume japanese/vlgothic -> japanese/font-vlgothic While basically these are port name changes for consistency, installation directories are also changed: font files -> ${PREFIX}/share/${PORTNAME}/* symlinks -> ${PREFIX}/share/fonts/{TTF,OTF,fontname,...}/* symlinks -> ${PREFIX}/lib/X11/fonts/{TTF,OTF,misc,fontname,...}/* A user-visible one is that the directory name "TrueType" is replaced with "TTF". Also, japanese/font-std and chinese/font-std have been added as standard fonts used in the Ports Collection. Currently they contain: std.ja_JP/Mincho std.ja_JP/Gothic std.ja_JP/Ryumin-Light std.ja_JP/GothicBBB-Medium std.zh_CN/STHeiti-Regular std.zh_CN/STSong-Light std.zh_CN/MSung-Light std.zh_CN/MHei-Medium under ${PREFIX}/share/fonts/. They are just symlinks to corresponding font files. The symlink names are based on popular PostScript font names. Applications should refer the font files via XLFD or fontconfig first. If they need a direct reference to the font file, please use files in std.*/*. This is because direct reference to a specific font name in an application configuration file makes the maintenance difficult when the font file name is changed, for example. 20090516: AFFECTS: users of devel/viewvc AUTHOR: pgollucci@FreeBSD.org OPTION APACHE2 has been changed to APACHE (WITH_APACHE) WITH_APACHE2 is deprecated and is being removed. APACHE_PORT will be pulled in when WITH_APACHE is selected 20090516: AFFECTS: users of print/cups-base and portupgrade AUTHOR: dinoex@FreeBSD.org The print/cups port has been split into multiple ports. If upgrading from 1.3.10_1 and below, you must remove the installed version first. 20090412: AFFECTS: users of sysutils/bacula-server AUTHOR: wxs@FreeBSD.org sysutils/bacula-server now uses a new catalog format. If upgrading from the old version please use the update_bacula_tables script provided with the port before restarting bacula. 20090410: AFFECTS: users of www/trac-email2trac AUTHOR: brooks@FreeBSD.org bin/email2trac.py and bin/delete_spam.py are now installed without the .py extension to make the suid run_email2trac work and match the online documentation. If you were using them in scripts or alias entries, you will need to update paths accordingly. 20090401: AFFECTS: users of Fedora 8 Linux infrastructure ports AUTHOR: bsam@FreeBSD.org ATTENTION! Those ports are not default for any version of FreeBSD for now and may be used with FreeBSD versions 7.2 and above (8-CURRENT is better) using compat.linux.osrelease=2.6.16 and linux_base-f8. Please, note that 2.6.16 is not fully supported on 7.x (ex., some syscalls are missing and cannot be MFCed due to a native FreeBSD ABI breakage). For more information about transition please read item "20070327: AFFECTS: users of emulators/linux_base-fc6". That note may be used for upgrading to linux_base-f8 and Fedora 8 Linux infrastructure ports as well. If you want to switch to linux-f8 ports, please define at /etc/make.conf: OVERRIDE_LINUX_BASE_PORT=f8 OVERRIDE_LINUX_NONBASE_PORTS=f8 20090328: AFFECTS: users of lang/perl* AUTHOR: skv@FreeBSD.org lang/perl5.10 is out. If you want to switch to it from, for example lang/perl5.8, that is: Portupgrade users: 0) Fix pkgdb.db (for safety): pkgdb -Ff 1) Reinstall new version of Perl (5.10): env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.10 -f perl-5.8.\* 2) Reinstall everything that depends on Perl: portupgrade -fr perl Portmaster users: env DISABLE_CONFLICTS=1 portmaster -o lang/perl5.10 lang/perl5.8 portmaster -r perl- Note: If the "perl-" glob matches more than one port you will need to specify the name of the Perl directory in /var/db/pkg explicitly. 20090327: AFFECTS: users of security/clamav AUTHOR: garga@FreeBSD.org After version 0.95 clamav-milter does not accept parameters by command line. If you are using $clamav_milter_flags on rc.conf to set its parameters you will need to move to new ${PREFIX}/etc/clamav-milter.conf. 20090319: AFFECTS: users of shells/bash3 AUTHOR: ehaupt@FreeBSD.org With the addition of shells/bash version 4.x, people wanting to stick with bash 3.x should perform the following update: $ portupgrade -f -o shells/bash3 bash 20090318: AFFECTS: users of www/suphp AUTHOR: yzlin@cs.nctu.edu.tw The suPHP port has been upgraded to 0.7.x. This new version of suPHP has some new features and changes for the configuration file: - Multiple path (with patterns) & variable substitution support for docroots - Double-quoted strings at section '[handlers]' ex. application/x-httpd-php="php:/usr/local/bin/php-cgi" These changes may lead to internal server error if without modifications of the configuration file from previous version. 20090316: AFFECTS: users of www/geeklog AUTHOR: beat@FreeBSD.org To follow the standards this port has received a small reworking. WWW_DIR (that defaulted to PREFIX/www/data/geeklog) is deprecated, use WWWDIR (defaults to PREFIX/www/geeklog). 20090316: AFFECTS: users of net-im/ejabberd AUTHOR: skylord@linkline.ru ejabberd's UID and GID have changed (PR ports/105122). Users are advised to check all configuration files and data in /var/spool/ejabberd to ensure everything has the correct owner/group. 20090316: AFFECTS: users of sysutils/lire AUTHOR: edwin@FreeBSD.org Lire now requires DBD::SQLite, which uses SQLite 3.0. This means that the Lire database format has changed. If you have one or more old Lire stores, you will need to convert each of them from SQLite2 format to SQLite3 like this: $ sqlite oldstore.db .dump | sqlite3 newstore.db This assumes that you have both SQLite2 and SQLite3 installed on your system, and that the names of the command line interface for the old and new version are `sqlite' and `sqlite3' respectively (this is at least correct for Fedora). 20090310: AFFECTS: users of multimedia/mythtv AUTHOR: glarkin@FreeBSD.org The upgrade from version 0.20 to version 0.21 should be transparent. Any changes to the database structure should be applied automatically. However, it is strongly recommended that you back up your database before installing a new version of MythTV. For example: $ mysqldump -u mythtv -pmythtv mythconverg -c > mythtv_backup.sql To restore (assuming that you've dropped the database): $ mysql -u root mysql>create database mythconverg; mysql>exit $ mysql -u mythtv -pmythtv mythconverg < mythtv_backup.sql 20090309: AFFECTS: users of devel/libusb on CURRENT AUTHOR: stas@FreeBSD.org FreeBSD libusb20 was renamed to libusb in r189585 and thus, being fully compatible with libusb20, replaces devel/libusb on HEAD. devel/libusb should not be used on these systems. Users of libusb-dependent ports are advised to remove libusb package from their systems, and rebuild all libusb dependencies. One of the possible ways to achieve this is listed below: # set tempfile=`mktemp /tmp/usbports.XX` # pkg_info -qR /var/db/pkg/libusb-* > ${tempfile} # pkg_delete -f /var/db/pkg/libusb-* # cat ${tempfile} | xargs portupgrade -f # rm -f ${tempfile} 20090309: AFFECTS: users of multimedia/phonon AUTHOR: kde@FreeBSD.org multimedia/phonon port has been split into phonon itself, phonon-xine, and phonon-gstreamer backends. After updating phonon port you have to install at least one backend; phonon-xine backend is recommended for KDE. 20090308: AFFECTS: users of emulators/qemu AUTHOR: nox@FreeBSD.org The port has been updated to 0.10.0, which now uses the newer (incompatible) kqemu-kmod-devel port that now also works for the 32 bit "qemu" executable on amd64. If you upgrade emulators/qemu with the KQEMU knob on, you have to # pkg_delete kqemu-kmod-1\* the old kqemu version first if it is installed. 20090304: AFFECTS: users of comms/py-gammu AUTHOR: bsam@FreeBSD.org The port comms/py-gammu was incorporated into comms/gammu since 1.23.0. Delete comms/py-gammu first and then deinstall/reinstall comms/gammu with option WITH_PYTHON_GAMMU=YES. 20090304: AFFECTS: users of x11-wm/xfce4 AUTHOR: oliver@FreeBSD.org When upgrading from Xfce 4.4 to 4.6 make sure you uninstall the following ports: x11/libxfce4mcs sysutils/xfce4-mcs-manager sysutils/xfce4-mcs-plugins x11-themes/xfce4-icon-theme You may uninstall them before you start the upgrade procedure (preferred) or even afterwards when the upgrade went fine. Please also note that Xfce 4.6 does not come with an icon theme any more. Xfce 4.6 now depends on the Tango theme which is now installed by default. The default installation of Xfce is also adjusted to use this icon theme instead of the Xfce 4.4 standard Rodent theme. If you are upgrading from Xfce 4.4 to 4.6 you probably still have the Rodent theme selected. This will lead to several "missing" icons when starting up Xfce. Make sure to switch as well to the Tango theme. To do this just open the Settings Manager and select Appearance. Inside the Appearance dialog switch to the Icons tab and select the "Tango" entry in the list on the left side of the Icons tab. For enabling the Reboot/Shutdown functionality of Xfce's logout dialog please read the note which gets printed out after the installation of x11-wm/xfce4 about how to configure PolicyKit. 20090223: AFFECTS: users of Tcl/Tk AUTHOR: mm@FreeBSD.org The default version of Tcl/Tk has been changed from 8.4 to 8.5. To restore old behavior and prefer using Tcl 8.4 with supported ports set WITH_TCL_VER=84 in /etc/make.conf. This has no effect on ports that have USE_TCL=yes or USE_TK=yes. They stick to the new default version and have to be updated by their maintainers to support other versions than default. 20090218: AFFECTS: users of www/zend-framework AUTHOR: glarkin@FreeBSD.org A local file inclusion (LFI) vulnerability was fixed in Zend Framework 1.7.5. The LFI was present in the Zend_View::render() method, and allowed inclusion of scripts with relative path names, e.g. "../../../my/script/dir/myscript.php". If the script path name is hard-coded into the application and is not generated by user input, the vulnerability does not apply. Because of this exception, the Zend Framework team has added a flag to disable the LFI protection in the render() method. Full details of the vulnerability, whether it applies to your application and how to disable the LFI protection in the render() method can be found here: http://framework.zend.com/manual/en/zend.view.migration.html 20090216: AFFECTS: users of net/openldap24-{client,server} AUTHOR: delphij@FreeBSD.org OpenLDAP has been upgraded to 2.4.14, which requires a shared library version bump. Therefore you need to reinstall all ports that depend on it. Please do something like: # portupgrade -fr net/openldap24-client 20090209: AFFECTS: users of multimedia/phonon, x11/kdelibs4, x11/kdebase4*, deskutils/kdepimlib4, deskutils/kdepim4, devel/automoc4 AUTHOR: kde@FreeBSD.org KDE 4 has been updated from 4.1.4 to 4.2.0. A number of applications have been moved between packages. The easiest way to avoid various problems during update is to delete all KDE-4.1.4 ports and install KDE-4.2.0: # pkg_delete -f kde\*4.1.4\* automoc4-\* # portmaster -a (or portupgrade -a) # cd ${PORTSDIR}/x11/kde4 && make config && make install clean 20090207: AFFECTS: users of devel/libslang and devel/libslang2 AUTHOR: pgollucci@FreeBSD.org devel/libslang has been removed in favor of devel/libslang2 after not being released during last five years. WITH_SLANG2 is no longer a valid ports KNOB. All ports that depend on devel/libslang should be recompiled, e.g.: # portupgrade -o devel/libslang2 devel/libslang 20090130: AFFECTS: users of www/httptunnel AUTHOR: rafan@FreeBSD.org The startup script has been converted to new rc.d style and split into two scripts: htc (client) and hts (server). Please check the scripts for how to set variables in /etc/rc.conf. 20090127: AFFECTS: users of gstreamer-plugins AUTHOR: kwm@FreeBSD.org The gstapp library moved from the gstreamer-plugins-bad package to gstreamer-plugins. It will be necessary to rebuild the gstreamer-plugins port. After updating your installed ports please do (if you are using portupgrade): # portupgrade -f gstreamer-plugins 20090127: AFFECTS: users of www/xpi-deepestsender AUTHOR: pgollucci@FreeBSD.org www/xpi-deepestsender has been updated to version 0.9.0. This version is *only* for Firefox version 3.x. 20090124: AFFECTS: users of x11-servers/xorg-server, sysutils/hal AUTHOR: rnoland@FreeBSD.org sysutils/hal has been updated and should now properly detect mice for in X.Org. Use of AllowEmptyInput should no longer be needed for most users and moused should now work fine. 20090123: AFFECTS: users of x11-servers/xorg-server AUTHOR: rnoland@FreeBSD.org If you are using an older xorg.conf several config lines are no longer needed and will generate warnings when X is started. RgbPath will cause X to fail to start, remove it from your config. Server 1.5.3 also really wants to configure its input devices via hald. This is causing some issues with moused and /dev/sysmouse. There are couple of options for how to deal with it: 1. Add Option "AllowEmptyInput" "off" to your ServerLayout section. This will cause X to use the configured kbd, mouse, and vmmouse sections from your xorg.conf 2. Don't use moused. If you want it to work with addon USB mice set this in rc.conf: moused_enable="NO" moused_nondefault_enable="NO" I'm working on fixing hald or the mouse driver or both. 20090123: AFFECTS: users of x11/libxcb AUTHOR: flz@FreeBSD.org Libxcb shared library version was bumped from 1 to 2. You need to rebuild any consumer of libxcb.so.1 or some applications will be linked against two versions of libxcb once libX11 is upgraded. For portupgrade users: # portupgrade -rf libxcb 20090121: AFFECTS: users of devel/linux-glib2, emulation/linux_base-f4 AUTHOR: bsam@FreeBSD.org Glib2 now is incorporated to emulation/linux_base-fc4 (it has always been a part of more recent Linux base ports). All users should deinstall devel/linux-glib2 and then deinstall/reinstall emulation/linux_base-f4. 20090119: AFFECTS: users of mail/claws-mail, mail/claws-mail-smime AUTHOR: netchild@FreeBSD.org The claws-mail port includes the S/MIME plugin itself now, it is not distributed as a separate plugin anymore. It can be enabled with the GPGME option in the port (disabled by default). If you use the S/MIME plugin, you should remove the mail/claws-mail-smime port before enabling GPGME and updating the mail/claws-mail port. People which already updated mail/claws-mail with GPGME enabled and a non-working S/MIME plugin need to deinstall mail/claws-mail-smime and reinstall mail/claws-mail. 20090118: AFFECTS: users of net-p2p/deluge AUTHOR: mezz@FreeBSD.org The Deluge has been updated from 0.5.x to 1.x. The 1.x has been rewritten, so it is recommend for you to make the back up of your ~/.config/deluge. The configuration and plugins of 0.5.x do not work in 1.x. Deluge will picking up the old configuration and try to convert it to the newer format, but I wouldn't trust it to do it without the back up. If you prefer to stick with 0.5.x, you can use portmaster: # portmaster -o net-p2p/deluge05 net-p2p/deluge or if you use portupgrade: # portupgrade -o net-p2p/deluge05 net-p2p/deluge 20090118: AFFECTS: users of www/ikiwiki AUTHOR: brix@FreeBSD.org IkiWiki has been upgraded from 2.x to 3.x. Instructions for migrating existing IkiWiki configurations to 3.x format can be found at http://ikiwiki.info/tips/upgrade_to_3.0/. 20090118: AFFECTS: users of devel/apr-svn devel/apr AUTHOR: pgollucci@FreeBSD.org devel/apr-svn has been removed and devel/apr now handles its role. devel/apr now defaults to building with Berkeley database support (bdb) APR_UTIL_* tunables have been renamed to comply with ports/KNOBS names. 20090114: AFFECTS: users of x11/kdebase4-workspace, x11/kdebase4-runtime AUTHOR: kde@FreeBSD.org KDE 4 has been updated from 4.1.1 to 4.1.4. A number of files have been moved between packages. You should deinstall kdebase4-runtime package before updating: pkg_delete -f kdebase-runtime-4.1\* portmaster -a After successful update you could install kdebase4-runtime if it has not been installed during update process. 20090114: AFFECTS: users of GNOME and GTK+ AUTHOR: gnome@FreeBSD.org GNOME has been updated to 2.24.x. You have to deinstall a few ports first before using portupgrade or portmaster in order to successfully upgrade your GNOME installation. After successful upgrade, you have to reinstall gnome-session so the gnome.desktop session file is properly installed. Portupgrade users: # pkgdb -Ff (Answer "yes" to unregister gail while keeping gtk20.) (Answer "yes" to unregister fast-user-switch-applet while keeping gdm.) # pkg_deinstall -fO gtkmm-2.12\* # portupgrade -aOW # portupgrade -f gnome-session Portmaster users: # pkg_delete -f gtkmm-2.12\* # portmaster -a # portmaster gnome-session 20090113: AFFECTS: users of lang/perl5.8 AUTHOR: skv@FreeBSD.org lang/perl5.8 has been updated to 5.8.9. You should update everything that depends on perl. The easiest way to do that is to use perl-after-upgrade script supplied with lang/perl5.8. Please see its manual page for details. 20090112: AFFECTS: users of mail/claws-mail* AUTHOR: miwi@FreeBSD.org claws-mail has been updated to 3.7.0, with this update OpenSSL support has been removed by upstream in favour of GnuTLS. GnuTLS is now enabled by default. Themes were have also been split to an extra port which your can find under x11-themes/claws-mail-themes. Menu was rewritten entirely in version 3.6.0 using modern GTK interface; as a consequence, all your custom shortcuts will be lost after upgrade. 20090109: AFFECTS: users of any Mozilla and Opera products AUTHOR: mezz@FreeBSD.org The Java plugins now will no longer be picked up by automatically from these browsers. Because all Java ports share the name of plugins file, I am thinking about someone or maybe me will need to write something similar to nspluginwrapper (but in shell script) that can add Java plugin in ~/.*/plugins/ when user requests one specific version of Java plugin if this user has more than one version of Java installed. However, for now, you will have to add Java plugin in ~/.*/plugins/ manually. 20090107: AFFECTS: users of databases/unixODBC AUTHOR: beech@FreeBSD.org The databases/unixODBC port has been updated to 2.2.14. While containing many bug fixes and minor feature adjustments, this version no longer ships with the (obsolete) MySQL ODBC driver. MySQL ODBC driver users will probably want to use databases/mysql-connector-odbc instead. The text-backed/flatfile driver (libtxtodbc) has also been removed by the developers but due to some demand may make a return in a future version or as a separate port. 20090107: AFFECTS: users of security/libgcrypt AUTHOR: rafan@FreeBSD.org libgcrypt has been upgraded to 1.4.3 which has a shared library version bump. You need to reinstall all ports that depend on it. Use something like this: portupgrade -rf libgcrypt portmaster -r libgcrypt 20090104: AFFECTS: users of net/openldap24-{client,server} AUTHOR: delphij@FreeBSD.org OpenLDAP has been upgraded to 2.4.13, which requires a shared library version bump. Therefore, you need to reinstall all ports that depend on it. Please do something like: # portupgrade -fr net/openldap24-client 20081230: AFFECTS: users of net/rabbitmq AUTHOR: pneumann@gmail.com The database schema has changed between RabbitMQ-1.4.0 and this release. When the RabbitMQ server detects the presence of an old database, it moves it to a backup location, creates a fresh, empty database, and logs a warning. 20081226: AFFECTS: users of www/rt38 AUTHOR: pgollucci@FreeBSD.org www/rt38 now respects the FreeBSD directory layout, see hier(7). With this change, p5-RT-* and p5-RTx-* should be much simpler to use in the ports collection. Please note that www/p5-RTx-Shredder is included in www/rt38. This port will be deprecated and removed. 20081228: AFFECTS: users of astro/boinc-setiathome-enhanced AUTHOR: rene@FreeBSD.org The setiathome client has been updated to version 6.03 and version 5.00 of the astropulse client has been added. Before you update, finish and report your current workunits to avoid losing them. The port now also includes the client screensavers. 20081228: AFFECTS: users of japanese/kinput2 AUTHOR: hrs@FreeBSD.org The Wnn backend of japanese/kinput2 port now uses unix domain socket to communicate the server by default. If $JSERVER environment variable is defined, the value is used as the server host name. In In short, the server name is determined in the following way: $JSERVER --(if null)--> CcWnn.Jserver --(if null)--> "localhost" If the server host name is null or matches "^unix$", unix domain socket is used. Note that the default server name in CcWnn.Jserver is "unix" now. 20081226: AFFECTS: users of www/rt* AUTHOR: pgollucci@FreeBSD.org www/rt2 www/rt3 www/rt32 www/rt34 are now deprecated and will expire 2009-02-01. All ports now depend on www/rt38 If you can not update to www/rt38, www/rt36 is still around. 20081224: AFFECTS: users of www/phpSysInfo AUTHOR: miwi@FreeBSD.org The www/phpSysInfo port has been split into www/phpsysinfo and www/phpsysinfo-dev ports. 20081217: AFFECTS: users of mail/policyd2 AUTHOR: wxs@FreeBSD.org The RC script for mail/policyd2 has been renamed to avoid a conflict. If you use this port please change the setting in rc.conf to be policyd2_enable. 20081211: AFFECTS: users of lang/php5 AUTHOR: pav@FreeBSD.org, itetcu@FreeBSD.org, ale@FreeBSD.org As of PHP 5.2.7, pcre extension is distributed with the core PHP5 package, and not as a standalone module anymore. Follow the steps below to update your installation. Portupgrade users: pkg_delete -f php5-pcre-5.2.6 pkgdb -F portupgrade as usual Portmaster users: pkg_delete -f php5-pcre\* portmaster php5 If you are using pecl ports you might need to force an update on them: portupgrade -f pecl\* or portmaster pecl If you have the pecl hash, json and/or zip extensions you need to replace them with the PHP5 bundled ones, e.g.: portmaster/portupgrade -o archivers/php5-zip archivers/pecl-zip portmaster/portupgrade -o devel/php5-json devel/pecl-json portmaster/portupgrade -o security/php5-hash security/pecl-hash If you build your INDEX locally and you tried to build it after the PHP update commit, you need to rebuild it _after_ you updated lang/php5: cd /usr/ports && make index or (if you use ports-mgmt/p5-FreeBSD-Portindex): cd /usr/ports && cache-init && portindex -o `make -V INDEXFILE` 20081207: AFFECTS: users of games/mkgichessclub AUTHOR: nivit@FreeBSD.org After the update to the version 2.2.0, please, alter the SQL tables with the command: mysql _mkgichessclub_ < /usr/local/share/mkgichessclub/db_migrate_2.1_to_2.2.sql where _mkgichessclub_ is the database name chosen during the installation of the port. 20081205: AFFECTS: users of net-p2p/ktorrent AUTHOR: makc@FreeBSD.org ktorrent has been updated to 3.1.5 for KDE 4. The last release of ktorrent for KDE 3 is available under net-p2p/ktorrent2. 20081121: AFFECTS: users of comms/smstools3 AUTHOR: mm@FreeBSD.org The startup script of comms/smstools3 has changed. For increased security smstools now runs as user uucp / group dialer by default. The script commands like sendsms etc. should be executed as user uucp. To restore the old behaviour, set smsd_user="root" and smsd_group="wheel" in your /etc/rc.conf. Hint: use security/sudo for running smsd scripts as user uucp. 20081108: AFFECTS: users of editors/tamago AUTHOR: hrs@FreeBSD.org The Wnn backend of editors/tamago port now uses unix domain socket to communicate the server by default. If $[CJKT]SERVER environment variable is defined, the value is used as the server host name. In JSERVER case, for example, the server name is determined in the following way: $JSERVER --(if null)--> wnn-jserver --(if null)--> "unix" If the server host name is null or matches "^unix$", unix domain socket is used. The path name of the socket can be specified in wnn-[cjkt]udpath custom variable. 20081105: AFFECTS: users of french/pluxm-devel AUTHOR: jadawin@FreeBSD.org Please, use http://download.pluxml.org/plugins/migration-blog-beta3x-beta4.zip to migrate. It's strongly advised to backup your blog before updating. 20081102: AFFECTS: users of devel/git AUTHOR: wxs@FreeBSD.org The location of git-shell has changed to ${PREFIX}/libexec/git-core/git-shell. Please remove the old entry from /etc/shells. 20081030: AFFECTS: users of japanese/FreeWnn-server AUTHOR: hrs@FreeBSD.org The jserver daemon in japanese/FreeWnn-server port now uses "127.0.0.1" as the default listen address for security reason. If you need the wildcard address (INADDR_ANY), you have to explicitly set "listenaddr" to 0.0.0.0 in ${PREFIX}/lib/wnn/ja_JP/jserverrc or add "-a 0.0.0.0" to ${wnn_flags} in /etc/rc.conf. 20081026: AFFECTS: users of www/asterisk-gui AUTHOR: pneumann@gmail.com The upgrade to version 2.0 will modify your asterisk dialplan when login to the page. Hardware autodetection will not work, pending update of misc/zaptel. 20081028: AFFECTS: users of www/codeigniter AUTHOR: glarkin@FreeBSD.org For certain installations, the following steps should be performed after the CodeIgniter 1.7.0 upgrade (taken from: http://codeigniter.com/user_guide/installation/upgrade_170.html). >>> Update your Session Table If you are using the Session class in your application, AND if you are storing session data to a database, you must add a new column named user_data to your session table. Here is an example of what this column might look like for MySQL: user_data text NOT NULL To add this column you will run a query similar to this: ALTER TABLE `ci_sessions` ADD `user_data` text NOT NULL You'll find more information regarding the new Session functionality in the Session class page: http://codeigniter.com/user_guide/libraries/sessions.html >>> Update your Validation Syntax This is an optional, but recommended step, for people currently using the Validation class. CI 1.7 introduces a new Form Validation class (http://codeigniter.com/user_guide/libraries/form_validation.html) which deprecates the old Validation library. We have left the old one in place so that existing applications that use it will not break, but you are encouraged to migrate to the new version as soon as possible. Please read the user guide carefully as the new library works a little differently, and has several new features. 20081026: AFFECTS: users of japanese/sj3-server AUTHOR: hrs@FreeBSD.org The sj3serv daemon in japanese/sj3-server port now uses "localhost" as the default listen address for security reason. If you need the wildcard address (INADDR_ANY), you have to explicitly set "servername" to 0.0.0.0 in ${PREFIX}/etc/sj3/serverrc. 20081026: AFFECTS: users of japanese/Canna and japanese/sj3 AUTHOR: hrs@FreeBSD.org The japanese/Canna and japanese/sj3 port have been split into japanese/canna-server and japanese/canna-lib, and japanese/sj3-server and japanese/sj3-lib, respectively for more fine-grained dependency management in the Ports Collection. 20080926: AFFECTS: users of www/squid30 AUTHOR: tmseck@netcologne.de The Squid developers decided to disable COSS support in 3.0, cf. the discussion starting here: http://www.squid-cache.org/mail-archive/squid-dev/200809/0067.html The corresponding port configuration option WITH_SQUID_COSS is still available but is a no-op for now. If you currently use COSS storage with Squid 3.0 you need to disable it in squid.conf. 20080924: AFFECTS: users of ftp/proftpd AUTHOR: beech@FreeBSD.org proftpd now stores its .delay and .scoreboard files in /var/run/proftpd instead of /var/run. If you are updating an existing installation, adjust the following in /usr/local/etc/proftpd.conf: ScoreboardFile /var/run/proftpd/proftpd.scoreboard Also of note: The third party modules, mod_codeconv, mod_comb, and mod_sql_tds are not compatible with this release and have been removed. They will be re-added when the respective authors provide updated versions. 20080909: AFFECTS: users of security/logcheck AUTHOR: glarkin@FreeBSD.org logcheck now stores its configuration files in /usr/local/etc/logcheck instead of /usr/local/etc. If you are upgrading the port from version 1.1.1 to version 1.2.54, copy the following files to a temporary location, in case they are removed during the upgrade: /usr/local/etc/logcheck.hacking /usr/local/etc/logcheck.ignore /usr/local/etc/logcheck.violations /usr/local/etc/logcheck.violations.ignore e.g.: cd /usr/local/etc mkdir /tmp/logcheck.saveconf cp logcheck.hacking logcheck.ignore logcheck.violations* \ /tmp/logcheck.saveconf After the upgrade, integrate your local changes to the files listed above into the new configuration files found in the following directories: /usr/local/etc/logcheck/cracking.d /usr/local/etc/logcheck/ignore.d.paranoid /usr/local/etc/logcheck/ignore.d.server /usr/local/etc/logcheck/ignore.d.workstation /usr/local/etc/logcheck/violations.d /usr/local/etc/logcheck/violations.ignore.d Please consult the following files for more information about logcheck rules and reporting levels: /usr/local/share/doc/logcheck/README.logcheck /usr/local/share/doc/logcheck/README.logcheck-database Also note that the upgraded port installs a crontab file for user "logcheck" that executes the logcheck script every hour and emails the results to root. If the installation process cannot install the crontab file, it can be installed manually from /usr/local/share/examples/logcheck/crontab.in, e.g.: crontab -u logcheck /usr/local/share/examples/logcheck/crontab.in 20080907: AFFECTS: users of www/mediawiki AUTHOR: miwi@FreeBSD.org www/mediawiki version is 1.13 now. 1.12 version was preserved as www/mediawiki12 port. 20080902: AFFECTS: users of net-mgmt/nagios and net-mgmt/nagios-devel AUTHOR: Jarrod Sayers The stable Nagios port has now been updated to version 3.0.3. Upgrading to this version shouldn't require any configuration changes, but note that most sample configuration files were moved into objects/ directory. Nagios 2.12 is still available as net-mgmt/nagios2, use the following to remain on this legacy stable branch: portmaster -o net-mgmt/nagios2 net-mgmt/nagios or, if you're using portupgrade: portupgrade -o net-mgmt/nagios2 net-mgmt/nagios Nagios 3.x development continues in net-mgmt/nagios-devel, users of this port in production use should consider switching to the stable branch: portmaster -o net-mgmt/nagios net-mgmt/nagios-devel or, if you're using portupgrade: portupgrade -o net-mgmt/nagios net-mgmt/nagios-devel 20080902: AFFECTS: users of math/ploticus AUTHOR: linimon@FreeBSD.org This is a major update. Deprecated: server-side image maps (use client-side instead); definition of categories within proc areadef (use proc categories instead); proc print. Discontinued attributes: proc processdata's stack; proc usedata's element, proc getdata's rotate, and proc defineunits (use the $changeunits() function instead). proc rangebar has been renamed proc boxplot and there are major functionality changes. Any script that uses proc rangebar will need maintenance. See http://ploticus.sourceforge.net/doc/news.html for more information. 20080901: AFFECTS: users of mail/pine4 and editors/pico AUTHOR: dougb@FreeBSD.org These two ports have been removed in favor of the new mail/alpine and editors/pico-alpine ports. UW discontinued work on Pine in September 2005 and is focusing on Alpine now. You should be able to directly replace pine with alpine. See http://www.washington.edu/alpine/ for more information. 20080831: AFFECTS: users of net-mgmt/smokeping AUTHOR: lth@FreeBSD.org Smokeping has been updated to 2.4.1, and the example web server configuration has changed. Please read pkg-message and check that your server configuration is OK. 20080827: AFFECTS: users of devel/git AUTHOR: wxs@FreeBSD.org With the default Makefile settings, most of the programs are now installed outside your $PATH, except for "git", "gitk", and some server side programs that need to be accessible for technical reasons. Invoking a git subcommand as "git-xyzzy" from the command line has been deprecated since early 2006 (and officially announced in 1.5.4 release notes); use of them from your scripts after adding output from "git --exec-path" to the $PATH is still supported in this release, but users are again strongly encouraged to adjust their scripts to use "git xyzzy" form, as we will stop installing "git-xyzzy" hardlinks for built-in commands in later releases. Please see this URL for more information: http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.6.0.txt 20080827: AFFECTS: users of mail/qmhandle AUTHOR: garga@FreeBSD.org A qmHandle.conf file was created, for now, is not needed to edit ${PREFIX}/bin/qmHandle to change stopqmail and startqmail variables. Just remember to edit configuration file after upgrade. 20080820: AFFECTS: users of www/p5-Apache-DBI AUTHOR: pgollucci@FreeBSD.org www/p5-Apache-DBI has been forked into a MASTER and SLAVE setup www/p5-Apache-DBI-mp1 and www/p5-Apache-DBI-mp2 so as to work with www/rt38 among possibly other ports. 20080820: AFFECTS: users of net/rabbitmq AUTHOR: pneumann@gmail.com The database schema has changed in this version of RabbitMQ. If you attempt to start RabbitMQ-1.4.0 over top of a previous installation, it will fail, citing "schema_integrity_check_failed". To correct this, delete your mnesia directory (/var/db/rabbitmq/mnesia) and restart the server. Note that this will destroy all your durable exchanges and queues, and all your persisted messages! 20080816: AFFECTS: users of mail/assp AUTHOR: J.R. Oldroyd The periodic(8) script no longer outputs to files in the assp directory. You should remove /var/db/assp/nightly.log and nightly.log.old by hand once you are done with them. The information that was stored there will now come in your nightly system email. 20080815: AFFECTS: users of sysutils/rdiff-backup AUTHOR: vd@FreeBSD.org sysutils/rdiff-backup has been upgraded from 1.0.5 to 1.2.0. This is an incompatible upgrade. If you need the "old" 1.0.5, you can find it in sysutils/rdiff-backup10. 20080813: AFFECTS: users of www/ikiwiki AUTHOR: brix@FreeBSD.org The layout of the ikiwiki.setup file has changed in a significant way in this release. Old setup files will continue to work, but new features, like the new websetup interface, require a new format setup file. You can convert old setup files into the new format by running the following command for all your ikiwiki.setup files: ikiwiki-transition setupformat ikiwiki.setup 20080812: AFFECTS: users of mail/spamdyke AUTHOR: mm@FreeBSD.org The spamdyke port has been updated to 4.0.2. The new version is not backwards compatible with previous versions. Please examine the new configuration file for the changes. 20080812: AFFECTS: users of databases/pgbouncer AUTHOR: mm@FreeBSD.org Starting with port version 1.2.3, pgbouncer does not run as root anymore. If you are upgrading from earlier versions, please update your configuration in ${PREFIX}/etc/pgbouncer.ini to use log and pid file paths owned by the newly created pgbouncer user (or customize for a different user yourself). Default logfile: /var/log/pgbouncer/pgbouncer.log Default pidfile: /var/run/pgbouncer/pgbouncer.pid 20080808: AFFECTS: users of chinese/phpbb-tw AUTHOR: chinsan@FreeBSD.org The default install directory for phpbb-tw has changed from ${PREFIX}/www/data/phpBB2 to ${PREFIX}/www/phpBB2. If you are updating from a previous version, to preserve your settings and data, please do the following: mv /usr/local/www/data/phpBB2 /usr/local/www Then update as usual. 20080806: AFFECTS: users of net-p2p/transmission AUTHOR: mezz@FreeBSD.org Update to 1.3x, the net-p2p/transmission now is a meta-port. It depends on cli, daemon, and gtk2. If you don't want that, uninstall transmission and install net-p2p/transmission-cli by doing: portmaster -o net-p2p/transmission-cli net-p2p/transmission or, if you're using portupgrade: portupgrade -o net-p2p/transmission-cli net-p2p/transmission 20080805: AFFECTS: users of devel/qt4 AUTHOR: kde@FreeBSD.org The Qt 4 ports has been updated to 4.4.1. With this update several ports specific problems have been fixed. Qt 4 headers and libraries have been moved to include/qt4 and lib/qt4. bsd.qt.mk defines QT_INCDIR and QT_LIBDIR now, which could be used in qt4-dependent ports if required. Before you start to update your ports, please force update of qmake4 and qt4-corelib ports. Portmaster users can do: portmaster devel/qmake4 devel/qt4-moc devel/qt4-corelib or, if you're using portupgrade: portupgrade -f devel/qmake4 devel/qt4-moc devel/qt4-corelib 20080804: AFFECTS: users of devel/git AUTHOR: wxs@FreeBSD.org Git's cvsps dependency has been switched from cvsps-devel to cvsps. The two are incompatible, so you will need to do the following before upgrading git: portmaster -o devel/cvsps devel/cvsps-devel 20080728: AFFECTS: users of net/freeradius2 AUTHOR: David Wood Upgrading the FreeRADIUS port used to replace all unmodified files in your configuration with the latest version from the sample configuration. This strategy has two disadvantages; over time your configuration became based on different versions of the sample configuration, also major changes to the sample configuration could leave your configuration in a confusing state. From version 2.0.5, your configuration is not touched if any configuration files have been modified. You are recommended to track changes in the sample configuration and keep your configuration in a version control system. I use Subversion (see the devel/subversion port) to track my changes. Keeping the sample configuration in a 'vendor branch' (see the Subversion book for more details) allows easy merging of changes from the sample configuration. *** IMPORTANT *** You are urged to move your configuration out of the default location (/usr/local/etc/raddb) before upgrading from 2.0.4 (or earlier) to 2.0.5 (or later). Once this upgrade is complete, remove the sample configuration that has been installed in the default location and move your configuration back to the default location. This is a one time procedure that will prevent unmodified files in your configuration from being deleted from your configuration and not restored during the upgrade. No customised files will be lost in any circumstances. The sample configuration in 2.0.5 has been reorganised: the configuration of most modules is now in the modules directory rather than in radiusd.conf. You are urged to rearrange your configuration to match this layout. There are several improvements in this version of the port, including a new pkg-message that will help new FreeRADIUS users to get started with the port, also new 'reload' and 'debug' commands for the rc.d script. Enjoy! 20080725: AFFECTS: users of x11-fm/nautilus and misc/shared-mime-info AUTHOR: gnome@FreeBSD.org In order to properly update x11-fm/nautilus and misc/shared-mime-info, do the following using portupgrade: # pkg_deinstall -fO nautilus # portupgrade shared-mime-info # portinstall -O nautilus Once misc/shared-mime-info has been updated, each user will need to run the following command: $ update-mime-database ~/.local/share/mime/ 20080725: AFFECTS: users of www/ojs2 AUTHOR: Greg Larkin If you are upgrading from a prior version of ojs2, please backup your database, uploaded files directory, and your config.inc.php before the upgrade. Read /usr/local/share/docs/ojs2/UPGRADE or visit http://pkp.sfu.ca/ojs/UPGRADE for additional upgrade information. 20080721: AFFECTS: users of net/freenet6 AUTHOR: Edwin Groothuis Please note that there has been a major update of this port (from version 2.x to 5.x) and that the name of the binaries and configuration files has changed from "tpsc" to "gw6c". The configuration files have to be copied from ${PREFIX}/share/examples/freenet6 to ${PREFIX}/etc again. 20080719: AFFECTS: users of x11-fm/gprename AUTHOR: Martin Tournoij GPRename configuration files now live ~/.config/gprename instead of ~/, to upgrade use the following commands: % mkdir -p ~/.config/gprename % mv ~/.gprename ~/.config/gprename/gprename % mv ~/.gprename_log ~/.config/gprename/gprename_log 20080717: AFFECTS: users of devel/anjuta AUTHOR: gnome@FreeBSD.org Anjuta's neon dependency has been switched from neon26 to neon28. The two are incompatible, so you will need to do the following to upgrade: portupgrade -o www/neon28 neon26 portupgrade anjuta 20080714: AFFECTS: users of www/squid AUTHOR: Thomas-Martin Seck www/squid has been updated to Squid 2.7.STABLE3. The update should be rather straightforward. The only noticeable change in the port is that the ICAP patch is no longer included; this is because this patch was unmaintained for a long time and its use was not really recommended. Please consider moving to Squid-3 (currently available as www/squid30) if you need ICAP support. Squid 2.6 is still available as www/squid26 and will probably be removed from the Ports Tree by the end of 2008. 20080712: AFFECTS: users of databases/rrdtool AUTHOR: rafan@FreeBSD.org If you use language bindings, like the Perl's RRDs, please upgrade this port *twice* in order to get the library dependency right. 20080711: AFFECTS: users of x11-toolkits/gtkdatabox2 AUTHOR: Beech Rintoul The port has been deprecated and gtkdatabox has been updated. This was done so the port tracks vendor name. Please update by doing: portupgrade -o x11-toolkits/gtkdatabox x11-toolkits/gtkdatabox2 20080709: AFFECTS: users of www/ikiwiki AUTHOR: Henrik Brix Andersen The IkiWiki editpage form now uses the raw page name, not the page title, in its `page' CGI parameter. You will need to rebuild any existing IkiWiki installations in order to update their `edit' links to the new format. 20080708: AFFECTS: users of emulators/qemu-devel AUTHOR: nox@FreeBSD.org The port has been updated to a 20080620 SVN snapshot, which uses the new (incompatible) kqemu-kmod-devel port that now also works for the 32 bit "qemu" executable on amd64. If you upgrade qemu-devel with the KQEMU knob on, you have to # pkg_delete kqemu-kmod-1\* the old kqemu version first if it is installed. 20080705: AFFECTS: users of www/ikiwiki AUTHOR: Henrik Brix Andersen The IkiWiki search plug-in now uses www/xapian-omega as backend instead of textproc/hyperestraier. You will need to update the configuration of any search enabled IkiWiki installations and rebuild them since the search form has changed. 20080704: AFFECTS: users of misc/shared-mime-info AUTHOR: FreeBSD GNOME Team The misc/shared-mime-info has been updated to 0.40. The Mime Types caches have been changed a bit. If you have created any custom MIME types, you will need to run update-mime-database to update your local Mime Types caches: $ update-mime-database ~/.local/share/mime/ 20080702: AFFECTS: users of irc/ratbox-services AUTHOR: Beech Rintoul Configuration file and database changes have been made between the 1.1.x series and the current release version of ratbox-services. It is highly recommended that services are stopped, and the proper upgrade procedure is followed as described in port's documentation, before restarting newly updated ratbox-services again. Please remember to backup the database before attempting an upgrade, as incorrectly upgraded database may be rendered unusable. The ratbox-services-1.2.x branch implements multi-language support. However, an inconsistency in the language indexing may result in errors. It is therefore recommended that the English default to be used until the next version release. 20080702: AFFECTS: users of mail/nocc AUTHOR: Alex Dupre The Nocc configuration file has been moved into 'config' subdir. When updating, remove the old conf.php file and reconfigure Nocc. 20080701: AFFECTS: users of devel/subversion* AUTHOR: Lev Serebryakov subversion now uses neon-0.28.x (www/neon28) port, and automatic portupgrade will fail because www/neon28 will conflict with installed www/neon26 port. You should upgrade neon library before subversion with the command: # portupgrade -o www/neon28 neon26 Also, if you use any special subversion ports with bindings, you should upgrade these ports to clean subversion port with # portupgrade -o devel/subversion subversion-\* and install needed bindings (p5-subversion, py-subversion and/or ruby-subversion) after that. If you use subversion with bindings installed from devel/subversion with custom options, don't forget to install separate bindings ports after subversion upgrade. 20080630: AFFECTS: users of graphics/cairo, graphics/poppler*, and future users of www/firefox3 AUTHOR: FreeBSD GNOME Team The poppler* ports have been updated to 0.8.3 and the shared libraries have changed. Firefox 3.0 has been added to the tree as www/firefox3. These changes require that all dependent ports be updated. You can do this in one of two ways: # portmaster pixman # portmaster \*cairo\* # portmaster -r poppler-0 or: # pkgdb -Ff # portupgrade pixman\* \*cairo\* # portupgrade -r poppler-0.\* 20080627: AFFECTS: users of x11-drivers/xf86-video-ati AUTHOR: Jung-uk Kim mach64 and r128 drivers are now separated out from the ati driver. These video cards are supported by x11-drivers/xf86-video-mach64 and x11-drivers/xf86-video-r128 respectively. If you have one of the affected video cards and xorg.conf contains the following line: Driver "ati" you must specify "mach64" or "r128". Alternatively, you may install x11-drivers/xf86-video-ati to get a wrapper driver. 20080626: AFFECTS: users of science/gramps AUTHOR: Anders Troback Before you upgrade from 2.x to 3.x you need to export your existing databases to a GRAMPS XML file. After the upgrade you can import them into the new version. 20080624: AFFECTS: users of irc/ircd-ratbox-devel AUTHOR: Beech Rintoul Upgrading between different beta releases can cause problems when changes to the ban database schema have occurred. The 'bantool' utility now comes with a -u switch that will check and update the ban database as necessary. Issuing 'bantool -u' is required when upgrading between beta releases and must not be done while the ircd is running. 20080624: AFFECTS: users of www/mod_security AUTHOR: Marcelo Araujo The mod_security port has been updated from 1.9.4 to 2.5.5. Branch 1.9.x will not receive any further updates; all users must update mod_security port to versions 2.1 or 2.5. You can get more information about update issues at: http://www.modsecurity.org/documentation/ 20080624: AFFECTS: users of www/opera and www/opera/devel AUTHOR: Ion-Mihai Tetcu The Opera port has been updated from 9.2x to 9.5x. A lot of things have been changed such as keyboard shortcuts[1]; new storage and indexing formats for mail and feeds; new search.ini; native amd64 binaries; no 4.x support. You will be asked whether to convert mail and feeds to new format during start up. Warning: there is no way to downgrade back to the old format. Be sure to see the Changelog[2]. [1] http://www.opera.com/support/search/view/884/ [2] http://www.opera.com/docs/changelogs/freebsd/950/ 20080622: AFFECTS: users of devel/subversion, subversion-devel and subversion-freebsd with apr from www/apache22 AUTHOR: Clement Laforet apr and apr-util bundled with apache 2.2.9 have been upgraded to 1.3.x, so shared libraries versions have been bumped. If you are using subversion with apache22 apr, you must rebuild subversion after the update. 20080617: AFFECTS: users of editors/nvi-devel AUTHOR: Wesley Shields editors/nvi-devel has been changed to install nvi, nex, and nview as to not conflict with editors/2bsd-vi. Please note the new names if you use this port. 20080616: AFFECTS: users of mail/dkim-milter AUTHOR: Hirohisa Yamaguchi Most of the command line options can now be set in configure files. So the default values (such as milterdkim_socket) are changed to blank. Upgrading users should check the values both in rc.conf and dkim-filter.conf. 20080612: AFFECTS: users of www/linux-opera AUTHOR: mezz@FreeBSD.org The Opera port has been updated from 9.2x to 9.5x. A lot of things have been changed such as keyboard shortcuts[1]; new storage and indexing formats for mail and feeds; new search.ini; probably more that I have missed. I do not know if the keyboard shortcuts and search.ini will be overwritten. You will be asked whether you want mail and feeds to be converted to new format during start up. Warning: there is no way to downgrade back to the old format. Be sure to see the Changelog[2]. [1] http://www.opera.com/support/search/view/884/ [2] http://www.opera.com/docs/changelogs/linux/950/ It is probably best for you to back up your linux-opera directory in case until you have no problem with new Opera for a while. Also, you might have to re-configure search and keyboard shortcuts if these were overwritten: # cp -Rp ~/.linux-opera ~/.linux-opera-bak If you are seeing an error of undefined symbols related to GTK+, it is because it needs newer linux-gtk2 that ports doesn't have. You can enter 'opera:config#FileSelector|DialogToolkit' in the address bar and change from 0 to 1 in 'Dialog Toolkit' if it annoys you. 0 = auto detection, 1 = QT, and 2 = GTK+. 20080610: AFFECTS: users of mail/svnmailer AUTHOR: pgollucci@FreeBSD.org Some of the config directives and sections allowed have changed. You will have to edit your config file when updating to 1.1.0-dev-r1373 version of the port. Please see the following URL for more information: http://opensource.perlig.de/en/svnmailer/doc-1.1/#general-config-charset 20080609: AFFECTS: users of devel/pear-Date_Holidays AUTHOR: tabthorpe@FreeBSD.org pear-Date_Holidays has been split into multiple subports. If you want a specific geographic region, look at devel/pear-Date_Holidays_* 20080605: AFFECTS: users of audio/paman and audio/pavucontrol AUTHOR: lippe@FreeBSD.org paman was renamed to pavucontrol, which are two different projects. paman is a GTK frontend to PulseAudio, while pavucontrol is a GTK-based volume control tool to PulseAudio. 20080605: AFFECTS: users of devel/gettext (i.e.: YOU) AUTHOR: ade@FreeBSD.org As a result of the upgrade to gettext-0.17, the shared library version of libintl has changed, so you will need to rebuild all ports that depend on gettext: # portupgrade -rf gettext # portmaster -r gettext Given the scope and sheer number of dependent ports, it may be more advisable to simply blow away all existing install ports (after keeping any local configuration changes), and rebuilding from scratch. 20080603: AFFECTS: users of editors/emacs AUTHOR: Yasuhiro KIMURA The port (editors/emacs) is updated to 22.2 and some of Emacs Lisp directories had changed. So you should reinstall all ports that depend on it. Please do something like: # portupgrade -fr emacs 20080601: AFFECTS: users of www/ikiwiki AUTHOR: brix@FreeBSD.org If password based logins is enabled in IkiWiki, those passwords were stored in cleartext in the userdb. To guard against exposing users' passwords, IkiWiki 2.48 and later use strong (blowfish) hashes for storing passwords. To hash existing passwords, update to ikiwiki-2.48 and run the following command for each of your IkiWiki src dirs: ikiwiki-transition hashpassword /path/to/your/wiki/srcdir 20080524: AFFECTS: users of net-im/jabberd AUTHOR: mm@FreeBSD.org Starting with version 2.2.0, resolver is now built in the S2S component. Jabberd configuration files require updating: jabberd.cfg: resolver component must be removed s2s.xml: section must be added (see s2s.xml.dist) resolver.xml: may be deleted (file not required anymore) 20080519: AFFECTS: users of www/nginx and www/nginx-devel AUTHOR: osa@FreeBSD.org Nginx version lines have been changed: 0.5 -> 0.6 for stable and 0.6 -> 0.7 for development version. Make sure your configuration files are compatible with the new version(s). 20080519: AFFECTS: users of irc/bitlbee AUTHOR: brix@FreeBSD.org The default installation is now configured for running bitlbee as user 'bitlbee'. Make sure any existing configuration files are readable by that user. 20080517: AFFECTS: users of multimedia/smplayer-* AUTHOR: miwi@FreeBSD.org The slave port multimedia/smplayer-qt4 has been removed with the upgrade of multimedia/smplayer to 0.6.0, qt3 is no longer supported. They are now fully integrated into multimedia/smplayer. Please uninstall multimedia/smplayer-qt4 port before upgrading multimedia/smplayer to version 0.6.0 or higher. 20080513: AFFECTS: users of security/amavisd-new AUTHOR: scheidell@secnap.net Amavisd-new 2.6.0 introduces several incompatibilities with prior versions. If you are upgrading from 2.5.4 or earlier, you will need to update your SQL schema. If you have third party programs that access SQL tables, you will need to update those also. COMPATIBILITY WITH 2.5.4: - when using SQL for logging (e.g. for a pen pals feature) or for quarantining, SQL tables maddr, msgs, msgrcpt and quarantine need to be extended by a new field 'partition_tag'; see below for details; - when SQL logging (pen pals) or SQL lookups are used, one can choose a binary or a character data type for fields users.email, mailaddr.email, and maddr.email; now may be a good opportunity to change a data type to binary (string of bytes); see below for details; - when using SQL for logging, a default for $sql_clause{'upd_msg'} has changed, so if a configuration file replaces this SQL clause by a non-default setting, it needs to be updated; Full information in /usr/local/share/doc/amavisd-new/RELEASE_NOTES. 20080513: AFFECTS: users of audio/ampache AUTHOR: jadawin@FreeBSD.org Ampache 3.4 uses a different config parser. Unfortunately the new parser is unable to read old config files. In order to migrate your current configuration, you should run `php ${WWWDIR}/bin/migrate_config.inc' from the command line. 20080508: AFFECTS: users of databases/ptop AUTHOR: beech@FreeBSD.org The authors have changed the name of this utility to `pg_top'. To avoid conflict with another port in the Tree with the same name we have retained `ptop' as the portname. Note that binary has also changed to `pg_top'. Please start the utility with that name after updating. 20080507: AFFECTS: Perl interface users of audio/gramofile AUTHOR: rafan@FreeBSD.org Perl support is removed due to devel/swig11 removal in ports. If you use the Perl interface, you are encouraged to use the new Audio::Gramofile found on CPAN (contact me for the ports). 20080506: AFFECTS: users of net-mgmt/collectd AUTHOR: daniel@roe.ch Previously, net-mgmt/collectd used to remove the config file even if it was changed by the user. This has now been fixed. To upgrade without losing your configuration, copy ${PREFIX}/etc/collectd.conf away to a safe place before upgrading net-mgmt/collectd. In addition, the default location of the data files changed from ${PREFIX}/var/lib/collectd to /var/db/collectd; you may want to move your data files and edit your configuration accordingly. 20080503: AFFECTS: users of net/skype-devel AUTHOR: beech@FreeBSD.org Skype-devel port has been removed in favor and by upading of net/skype. If you are running skype-devel, please do the following: portupgrade -o net/skype net/skype-devel 20080426: AFFECTS: users of www/phpgedview AUTHOR: beech@FreeBSD.org The install location of phpgedview has changed from www/data/phpGedView to www/phpgedview. If you are updating from a previous version please do the following: mv /usr/local/www/data/phpGedView /usr/local/www You will also need to adjust the paths in your web server to reflect the new location. 20080416: AFFECTS: users of security/clamav AUTHOR: garga@FreeBSD.org Clamav 0.93 does not support the daily.inc and main.inc directories format for virus databases. You need to remove these directories manually and force freshclam to get new cvd format files before starting clamd: portupgrade clamav /usr/local/etc/rc.d/clamav-clamd stop /usr/local/etc/rc.d/clamav-freshclam stop rm -rf /var/db/clamav/main.inc /var/db/clamav/daily.inc freshclam /usr/local/etc/rc.d/clamav-freshclam start /usr/local/etc/rc.d/clamav-clamd start 20080408: AFFECTS: users of www/p5-Apache-Test AUTHOR: pgollucci@FreeBSD.org www/p5-Apache-Test doesn't actually need www/mod_perl{1,2}. If you would like to test a mod_perl, than please install www/mod_perl2 or www/mod_perl as well. The ports infrastructure doesn't support this (yet) but you can use it to test www/apache13, www/apache20, and/or www/apache22 without chaining www/p5-Apache-Test. 20080405: AFFECTS: users of sysutils/tracker AUTHOR: ahze@FreeBSD.org The sysutils/tracker port is now a meta port and tracker is now split into separate ports to allow non-GNOME users to install tracker without pulling in GNOME components. To upgrade please use the directions below. Portmaster users: portmaster -o sysutils/tracker-client tracker portmaster sysutils/tracker Portupgrade users: portupgrade -o sysutils/tracker-client tracker portupgrade -u sysutils/tracker 20080405: AFFECTS: users and maintainers of ports that depend on databases/sqlite3 AUTHOR: mnag@FreeBSD.org Port databases/sqlite3 was updated to 3.5.6 and now has threads enabled by default. If you encounter any problem with it, you can rebuild SQLite3 without threads and test or change Makefile of affected port with this: sed -i.bak -E -e "s|USE_SQLITE=.*|USE_SQLITE=34|g" \ -e "s|databases/sqlite3|databases/sqlite34|g" Makefile Please report success or failure to port maintainer and to me. 20080403: AFFECTS: users of emulators/qemu and emulators/qemu-devel AUTHOR: nox@FreeBSD.org The default configuration location (qemu-ifup script etc.) has been changed from /etc to ${PREFIX}/etc (usually /usr/local/etc). Move your files accordingly. 20080330: AFFECTS: users of www/mediawiki AUTHOR: miwi@FreeBSD.org www/mediawiki version is 1.12 now. 1.11 version was preserved on www/mediawiki111 port. 20080329: AFFECTS: users of www/phpadsnew AUTHOR: beech@FreeBSD.org Phpadsnew has been replaced with www/openx. To upgrade please do the following: 1. Install www/openx 2. Copy the configuration file from phpadsnew to the var directory of www/openx 3. Copy your banner images from phpadsnew/www/images to openx/www/images 4. Access openx on your browser and follow the instructions for upgrading 5. When you are satisfied with everything working properly you can remove www/phpadsnew 20080326: AFFECTS: users of emulators/linux_base-f8 AUTHOR: bsam@FreeBSD.org The new port is used just like emulators/linux_base-fc6. Please, read carefully entry 20070327 about emulators/linux_base-fc6. 20080323: AFFECTS: users of multimedia/gstreamer AUTHOR: multimedia@FreeBSD.org Gstreamer port was updated. Due to the move of some plugins between ports, you will have to rebuild the gstreamer-plugins-good port after upgrading. Portupgrade users: # portupgrade -a # portupgrade -f gstreamer-plugins-good Portmaster users: # portmaster -a # portmaster gstreamer-plugins-good 20080323: AFFECTS: all GNOME users and ports depend on misc/gnomehier AUTHOR: gnome@FreeBSD.org GNOME has been updated to 2.22.0. You have to deinstall a few ports first before using portupgrade or portmaster in order to successfully upgrade your GNOME installation. Portupgrade users: # pkgdb -Ff # pkg_deinstall -fO gnome-applets\* totem\* gnome-control-center\* # portupgrade -aOW Portmaster users: # pkg_delete -f gnome-applets\* totem\* gnome-control-center\* \ gnome-keyring-manager\* # portmaster -a Be sure to read in our known issues and solutions: http://www.freebsd.org/gnome/docs/faq222.html#q4 20080323: AFFECTS: users of devel/glib20 and future users of devel/gio-fam-backend AUTHOR: gnome@FreeBSD.org In order to update to glib 2.16 or higher, you must first update the glib20 port on its own or you will get a failure trying to install devel/gio-fam-backend saying it cannot find -lgio-2.0. Portmaster users can do: portmaster glib-2 or, if you're using portupgrade: portupgrade glib-2\* 20080318: AFFECTS: users of audio/gnump3d AUTHOR: jadawin@FreeBSD.org The layout of gnump3d 3.0 is changed, please read documentation and the manual pages of gnump3d. 20080318: AFFECTS: users of net/skype net/skype-devel AUTHOR: beech@FreeBSD.org For FreeBSD versions 7.0 and above: It is required with both skype and skype-devel to update to linux_base-fc6. Please do the following: 1. Make sure there are no running Linux applications. 2. Unmount linprocfs (umount /compat/linux/proc) 3. Uninstall your current linux_base port 4. Set appropriate sysctl (sysctl compat.linux.osrelease=2.6.16) 5. Install emulators/linux_base-fc6 6 Remount linprocfs (mount /compat/linux/proc) 7. Add compat.linux.osrelease=2.6.16 to etc/sysctl.conf 8. Add OVERRIDE_LINUX_BASE_PORT=fc6 to /etc/make.conf Note: These instructions also apply to linux_base-f8, please use the same osrelease. For FreeBSD versions 5.X and 6.X: Please use the legacy version net/skype12: portupgrade -o net/skype12 net/skype 20080316: AFFECTS: users of net/iscsi-target AUTHOR: rafan@FreeBSD.org The default configuration location has been changed from /etc to ${PREFIX}/etc. Move your files accordingly. 20080314: AFFECTS: users of security/nmapfe AUTHOR: miwi@FreeBSD.org nmapfe has been renamed to zenmap upstream. The port has also been renamed. If you haven't already installed nmapfe, you need to: portupgrade -o security/zenmap nmapfe\* 20080313: AFFECTS: users of mail/ezmlm-web AUTHOR: hans@nordhaug.priv.no The layout of ezmlm-web 3.2 is changed, please read documentation and the manual page of ezmlm-web.cgi. 20080312: AFFECTS: users of x11-wm/enlightenment-devel, x11/ecore and grephics/evas AUTHOR: stas@FreeBSD.org Evas and ecore ports have been split to separate modules to simplify dependency tracking. Thus, portupgrade in many cases won't be able to correctly update these ports. The easiest upgrade path would be to remove all EFL ports and install them from scratch. At least, you should reinstall ecore and evas. Please note that your old $HOME/.e is no longer compatible with new snapshot version. You will need to remove this directory and let e17 create it automatically on the next startup. 20080306: AFFECTS: users of mail/dovecot AUTHOR: ehaupt@FreeBSD.org The update to version 1.0.12 will require manual change to the active configuration file. mail_extra_groups setting was commonly used insecurely. This setting is now deprecated. Most users should switch to using mail_privileged_group setting, but if you really need the old functionality use mail_access_groups instead. 20080303: AFFECTS: users of security/gnutls and any port that depends on it AUTHOR: novel@FreeBSD.org gnutls has been updated to 2.2.2 and all shared libraries versions have been bumped. So you need to rebuild all applications that depend on gnutls. Do something like: portupgrade -rf gnutls 20080223: AFFECTS: users of www/instiki AUTHOR: beech@FreeBSD.org The default installation directory for instiki has changed from /usr/local/instiki to /usr/local/share/instiki. If you are updating from a previous version, to preserve your settings and data, please do the following: mv /usr/local/instiki /usr/local/share Then update as usual. 20080219: AFFECTS: users of x11-wm/xmonad AUTHOR: jacula@gmail.com From now XMonad uses a new configuration file system, so you don't have to edit Config.hs anymore. Instead, create a custom configuration file ~/.xmonad/xmonad.hs. You can take a look at some samples on Xmonad's website. Note that you can be interested in x11-wm/xmonad-contrib. 20080218: AFFECTS: users of devel/poco and devel/poco-ssl AUTHOR: lippemail@gmail.com The HashFunction class template has been changed in an incompatible way. The member function formerly named hash() is now the function call operator. If you have defined your own HashFunction classes, then you have to update your code. 20080216: AFFECTS: users of sysutils/symon AUTHOR: uspoerlein@gmail.com The symon port has been updated from 2.75 to 2.78. It changes the wire protocol again. You should update your symux(8) and symon(8) installations simultaneously, as: - new symon clients will make old symux servers exit, and - new symux servers don't understand the old symon client's if() and mem() probes. 20080208: AFFECTS: users of ports-mgmt/portupgrade AUTHOR: sem@FreeBSD.org As was claimed in the entry 20070301 below in this file, you should fill ALT_DEPENDS section of pkgtools.conf for portupgrade to work correctly with your alternative dependencies. Now it is an obligatory requirement. It was done as a compromise between speed and complexity. 20080203: AFFECTS: users of www/xshttpd AUTHOR: johans@FreeBSD.org www/xshttpd now uses ${PREFIX}/www/xshttpd/ as a root directory for its data files. The xshttpd configuration files have been moved to ${PREFIX}/www/xshttpd/conf/. Please move the appropriate local files manually if you are upgrading from 3.4 or older versions. 20080202: AFFECTS: users of www/punbb AUTHOR: beech@FreeBSD.org Install paths have changed. Please do the following prior to upgrade: cd /usr/local/www mv punbb punbb.old cp -R punbb.old/upload punbb It is now safe to update as usual. Notes: * You will probably get uninstall errors regarding files not found. It's safe to ignore them * Your webserver path has changed from www/punbb/upload to www/punbb, please adjust your webserver configuration and restart it * When you are satisfied with everything working properly you may remove the punbb.old directory: rm -r /usr/local/www/punbb.old 20080201: AFFECTS: users of www/ziproxy AUTHOR: pankov_p@mail.ru The configuration file was moved from /usr/local/etc to /usr/local/etc/ziproxy. 20080126: AFFECTS: users of net-p2p/deluge AUTHOR: mezz@FreeBSD.org Deluge was updated to version 0.5.8.2. If you are using blocklist plugin, you have to remove blocklist.conf first before you can run it, or it will crash upon start up. $ rm -f ~/.config/deluge/blocklist.conf 20080125: AFFECTS: users of www/mod_security2 AUTHOR: araujo@FreeBSD.org Update of mod_security2 is a dramatic change, because there is a need to completely rewrite their obsolete rules and migrate for capacity to use new syntax. You are advised to make a complete backup of your configuration files before you can perform an update. 20080120: AFFECTS: users of www/apache20 AUTHOR: clement@FreeBSD.org BDB framework provided by bsd.database.mk is now used by www/apache20 port. WITH_BERKELEYDB knob is deprecated in favor of WITH_BDB and WITH_BDB_VER/WITH_BDB_BASE, see documentation for more details ('make show-options'). 20080120: AFFECTS: users of www/apache22 AUTHOR: clement@FreeBSD.org BDB framework provided by bsd.database.mk is now used by www/apache22 port. WITH_BERKELEYDB knob is deprecated in favor of WITH_BDB and WITH_BDB_VER/WITH_BDB_BASE, see documentation for more details. ('make show-options'). 20080118: AFFECTS: users of net/freeradius AUTHOR: David Wood FreeRADIUS 2.0 is now available as the net/freeradius2 port. All FreeRADIUS users are advised to consider upgrading to 2.0. It is the FreeRADIUS team's intention to put the 1.x server into 'maintenance' mode with just critical bug fixes.[1] 2.0 has many improvements including numerous bug fixes that were too difficult for the 1.x server, as well as many new features. Before uninstalling 1.x, it is recommended that you backup your configuration, which is typically in /usr/local/etc/raddb, then move it out of the way. It is also worth backing up the default configuration, which is typically in /usr/local/share/examples/freeradius/raddb. 1.x configurations should work with the 2.0 server [2]. However the port automatically upgrades any unedited files in the configuration when you install a new version of FreeRADIUS. Installing 2.0 with the residue of a 1.x configuration in the default location will result in a mixed 1.x and 2.0 configuration that may not work. The recommended approach is to diff your 1.x configuration against the default 1.x configuration, then make corresponding changes to a copy of the default 2.0 configuration. If you moved your 1.x configuration out of the way before upgrading, you will have a 2.0 configuration ready to edit in the default location. It is worth reading man 5 unlang for details of the new FreeRADIUS 'un-language' before starting. Alternatively, you can move your 1.x configuration to another location, such as /usr/local/etc/raddb_v1, then edit /etc/rc.conf to point the rc.d script to that location. For example: radiusd_flags="-d /usr/local/etc/raddb_v1" I cannot guarantee that all 1.x configurations will work with the 2.0 server, and I only recommend using a 1.x configuration as an interim measure. [1] - http://www.freeradius.org/business/roadmap.html [2] - http://preview.tinyurl.com/ysrr6a 20080114: AFFECTS: users of devel/perforce AUTHOR: lth@FreeBSD.org Perforce has been updated to version 2007.3. Upgrading is fairly straightforward, but it is still highly recommended to follow the upgrading instructions in the release notes: http://www.perforce.com/perforce/doc.073/user/relnotes.txt 20080108: AFFECTS: users of irc/bitlbee AUTHOR: brix@FreeBSD.org irc/bitlbee now stores saved user settings in /var/db/bitlbee/, not $PREFIX/etc/bitlbee/. You will have to manually move any existing user settings to the new location (or override the user settings directory using -d if you wish to keep the old behavior). Other configuration files are still kept in $PREFIX/etc/bitlbee/ by default. The default installation is now configured for running bitlbee as user 'nobody' by default. Make sure any existing configuration files are readable by that user. $FreeBSD$ Index: head/audio/amarok-kde4/Makefile =================================================================== --- head/audio/amarok-kde4/Makefile (revision 394507) +++ head/audio/amarok-kde4/Makefile (revision 394508) @@ -1,80 +1,78 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= amarok PORTVERSION= 2.8.0 PORTREVISION= 6 CATEGORIES= audio kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KDE music player LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib \ libtag-extras.so:${PORTSDIR}/audio/taglib-extras \ liblastfm.so:${PORTSDIR}/audio/liblastfm \ libofa.so:${PORTSDIR}/audio/libofa \ libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ libqjson.so:${PORTSDIR}/devel/qjson \ libqca.so:${PORTSDIR}/devel/qca \ libdbus-1.so:${PORTSDIR}/devel/dbus BUILD_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/script/libqtscript_core.so.1.0.0:${PORTSDIR}/devel/qtscriptgenerator RUN_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/script/libqtscript_core.so.1.0.0:${PORTSDIR}/devel/qtscriptgenerator \ ${KDE4_PREFIX}/lib/kde4/kio_upnp_ms.so:${PORTSDIR}/net/kio-upnp-ms -LATEST_LINK= ${PORTNAME}-kde4 - USE_KDE4= kdelibs kdeprefix libkcddb libkcompactdisc \ nepomuk-core runtime automoc4 strigi USE_MYSQL= embedded USE_QT4= corelib dbus designer gui network opengl \ phonon script sql svg webkit xml \ qmake_build moc_build rcc_build uic_build USE_XORG= x11 USES= cmake pkgconfig shared-mime-info shebangfix tar:bzip2 SHEBANG_FILES= src/kconf_update/amarok-2.4.1-tokens_syntax_update.pl USE_LDCONFIG= yes BROKEN_sparc64= does not build (GCC-related error) OPTIONS_DEFINE= AMAZON IPOD MP3TUNES MTP NLS OPTIONS_DEFAULT=IPOD MP3TUNES MTP OPTIONS_SUB= yes AMAZON_DESC= Amazon MP3 store support via clamz AMAZON_RUN_DEPENDS= clamz:${PORTSDIR}/net/clamz IPOD_DESC= Apple iPod support IPOD_LIB_DEPENDS= libgpod.so:${PORTSDIR}/audio/libgpod IPOD_USE= GNOME=gdkpixbuf2,glib20 IPOD_CMAKE_OFF= -DWITH_IPOD:BOOL=Off MP3TUNES_DESC= MP3tunes support MP3TUNES_LIB_DEPENDS= libloudmouth-1.so:${PORTSDIR}/net-im/loudmouth \ libcurl.so:${PORTSDIR}/ftp/curl MP3TUNES_USE= GNOME=glib20,libxml2 MP3TUNES_CMAKE_OFF= -DWITH_MP3tunes:BOOL=Off MTP_LIB_DEPENDS= libmtp.so:${PORTSDIR}/multimedia/libmtp MTP_CMAKE_OFF= -DWITH_Mtp:BOOL=Off NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po:BOOL=Off post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/cmake/modules/FindMySQLAmarok.cmake @${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \ ${WRKSRC}/cmake/modules/FindLoudmouth.cmake # Avoid installing MIME types prior to install stage. @${REINPLACE_CMD} -e '/XDG.*EXECUTABLE/ d' \ ${WRKSRC}/utilities/amzdownloader/CMakeLists.txt post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_DATA} ${WRKSRC}/utilities/amzdownloader/amzdownloader.xml \ ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_SCRIPT} ${WRKSRC}/utilities/amzdownloader/amzdownloader.desktop \ ${STAGEDIR}${PREFIX}/share/applications/kde4 .include Index: head/audio/jack/Makefile =================================================================== --- head/audio/jack/Makefile (revision 394507) +++ head/audio/jack/Makefile (revision 394508) @@ -1,79 +1,77 @@ # Created by: Tilman Linneweh # $FreeBSD$ PORTNAME= jackit PORTVERSION= 0.124.1 PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= http://jackaudio.org/downloads/ DISTNAME= jack-audio-connection-kit-${PORTVERSION} MAINTAINER= multimedia@FreeBSD.org COMMENT= Low latency audio server LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile \ libsamplerate.so:${PORTSDIR}/audio/libsamplerate \ libcelt0.so:${PORTSDIR}/audio/celt \ libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= gmake pathfix pkgconfig libtool USE_BDB= 48+ CONFIGURE_ARGS= --disable-portaudio \ --with-default-tmpdir=/tmp CFLAGS+= -I${BDB_INCLUDE_DIR} CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR} INSTALL_TARGET= install-strip -LATEST_LINK= jack - OPTIONS_DEFINE= ALSA DOXYGEN READLINE OPTIONS_DEFAULT=READLINE OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa READLINE_LIB_DEPENDS= libreadline.so:${PORTSDIR}/devel/readline .include .if ${PORT_OPTIONS:MDOXYGEN} BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen .else CONFIGURE_ENV+= ac_cv_prog_HAVE_DOXYGEN="false" .endif .if ! ${PORT_OPTIONS:MREADLINE} CONFIGURE_ENV+= ac_cv_lib_readline_readline=no \ ac_cv_header_readline_chardefs_h=no .endif post-patch: @${REINPLACE_CMD} -e 's|define USE_MLOCK|undef USE_MLOCK|' \ -e 's|alloca.h||' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e "s,-lpthread,-pthread," \ ${WRKSRC}/configure ${WRKSRC}/libjack/Makefile.in \ ${WRKSRC}/jackd/Makefile.in \ ${WRKSRC}/example-clients/Makefile.in ${WRKSRC}/jack.pc.in @${REINPLACE_CMD} -e "s,-lrt,," ${WRKSRC}/libjack/Makefile.in \ ${WRKSRC}/jackd/Makefile.in \ ${WRKSRC}/example-clients/Makefile.in @${REINPLACE_CMD} -e "s,-ldl,," ${WRKSRC}/jackd/Makefile.in \ ${WRKSRC}/example-clients/Makefile.in @${REINPLACE_CMD} -e 's|md5sum|md5 -q|g' \ ${WRKSRC}/jackd/Makefile.in @${RM} -f ${WRKSRC}/doc/reference/html/* post-build: @${RM} -f ${WRKSRC}/doc/reference/html/dir__2F* .include Index: head/audio/lua51-mpd/Makefile =================================================================== --- head/audio/lua51-mpd/Makefile (revision 394507) +++ head/audio/lua51-mpd/Makefile (revision 394508) @@ -1,33 +1,33 @@ # $FreeBSD$ PORTNAME= mpd PORTVERSION= 0.1 DISTVERSIONPREFIX= v CATEGORIES= audio PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} MAINTAINER= demelier.david@gmail.com COMMENT= Lua library for musicpd RUN_DEPENDS= ${LUA_MODLIBDIR}/socket/core.so:${PORTSDIR}/net/luasocket OPTIONS_DEFINE= DOCS -DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} GH_ACCOUNT= silentbicycle GH_PROJECT= lua-mpd USES= lua:51 USE_GITHUB= yes NO_BUILD= yes do-install: @${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR} ${INSTALL_DATA} ${WRKSRC}/mpd.lua ${STAGEDIR}${LUA_MODSHAREDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/modules ${STAGEDIR}${DOCSDIR}/files ${INSTALL_DATA} ${WRKSRC}/index.html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/luadoc.css ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/files/mpd.html ${STAGEDIR}${DOCSDIR}/files ${INSTALL_DATA} ${WRKSRC}/modules/mpd.html ${STAGEDIR}${DOCSDIR}/modules .include Index: head/audio/py-mpd2/Makefile =================================================================== --- head/audio/py-mpd2/Makefile (revision 394507) +++ head/audio/py-mpd2/Makefile (revision 394508) @@ -1,60 +1,59 @@ # Created by: rene@FreeBSD.org (repocopied from audio/py-mpd) # $FreeBSD$ PORTNAME= mpd2 PORTVERSION= 0.5.4 DISTVERSIONPREFIX= v CATEGORIES= audio python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-${PORTNAME}-${PORTVERSION} MAINTAINER= rene@FreeBSD.org COMMENT= Fork of the Python MPD client library LICENSE= LGPL3 USE_GITHUB= yes GH_ACCOUNT= Mic92 GH_PROJECT= python-${PORTNAME} USES= shebangfix python SHEBANG_FILES= examples/helloworld.py USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= DOCS EXAMPLES DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} PORTDOCS_1= commands_header.txt index.rst changes.rst PORTDOCS_2= topics/advanced.rst topics/commands.rst \ topics/getting-started.rst topics/logging.rst PORTDOCS_3= generate_command_reference.py PORTDOCS= ${PORTDOCS_1} ${PORTDOCS_2} ${PORTDOCS_3} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTEXAMPLES_1= errorhandling.py helloworld.py idle.py locking.py logger.py \ multitags.py randomqueue.py stats.py stickers.py PORTEXAMPLES_2= summary.txt PORTEXAMPLES= ${PORTEXAMPLES_1} ${PORTEXAMPLES_2} post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR}/topics .for f in ${PORTDOCS_1} ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor .for f in ${PORTDOCS_2} ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}/topics .endfor .for f in ${PORTDOCS_3} ${INSTALL_SCRIPT} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${PORTEXAMPLES_1} ${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .for f in ${PORTEXAMPLES_2} ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .include Index: head/biology/ruby-bio/Makefile =================================================================== --- head/biology/ruby-bio/Makefile (revision 394507) +++ head/biology/ruby-bio/Makefile (revision 394508) @@ -1,55 +1,53 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= bio PORTVERSION= 1.4.1 CATEGORIES= biology ruby MASTER_SITES= http://bioruby.org/archive/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}ruby-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= mauricio@arareko.net COMMENT= Integrated environment for Bioinformatics written in Ruby OPTIONS_DEFINE= XMLPARSER BDB4 MYSQL PGSQL DOCS XMLPARSER_DESC= xmlparser support for faster Blast processing BDB4_DESC= bdb4 support for faster flat file indexing -OPTIONSFILE= ${PORT_DBDIR}/ruby-${PORTNAME}/options - USES= shebangfix USE_RUBY= yes USE_RUBY_SETUP= yes SHEBANG_FILES= sample/biofetch.rb ruby_OLD_CMD= /usr/proj/bioruby/bin/ruby XML_PARSER_RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/xmlparser.so:${PORTSDIR}/textproc/ruby-xmlparser BDB4_RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb MYSQL_RUN_DEPENDS= rubygem-dbd-mysql>=0:${PORTSDIR}/databases/rubygem-dbd-mysql PGSQL_RUN_DEPENDS= rubygem-dbd-pg>=0:${PORTSDIR}/databases/rubygem-dbd-pg post-patch: ${RUBY} -i -pe 'gsub(%r"(/etc/bioinformatics/)") { "${PREFIX}" + $$1 }' \ ${WRKSRC}/doc/Tutorial.rd \ ${WRKSRC}/lib/bio/io/registry.rb do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bioinformatics .for f in etc/bioinformatics/seqdatabase.ini ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/${f}.sample .endfor @${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} ${CP} -R ${WRKSRC}/sample/ ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README.rdoc ${STAGEDIR}${RUBY_MODDOCDIR}/ ${INSTALL_DATA} ${WRKSRC}/doc/*.rd ${STAGEDIR}${RUBY_MODDOCDIR}/ ${INSTALL_DATA} ${WRKSRC}/doc/*.rd.ja ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ .include .if ${RUBY_VER} >= 2.2 BROKEN= Does not build .endif .include Index: head/chinese/joe/Makefile =================================================================== --- head/chinese/joe/Makefile (revision 394507) +++ head/chinese/joe/Makefile (revision 394508) @@ -1,19 +1,17 @@ # Created by: Shen Chuan-Hsing # $FreeBSD$ CATEGORIES= chinese PATCH_SITES= LOCAL/chinsan/patch PATCHFILES= zh-joe-3.7.diff PATCH_DIST_STRIP= -p1 MAINTAINER= ports@FreeBSD.org -LATEST_LINK= ${PKGNAMEPREFIX}joe - DEPRECATED= The difference with editors/joe is too trivial to warrant a separate port EXPIRATION_DATE=2015-09-27 MASTERDIR= ${.CURDIR}/../../editors/joe .include "${MASTERDIR}/Makefile" Index: head/chinese/phpbb3-tw/Makefile =================================================================== --- head/chinese/phpbb3-tw/Makefile (revision 394507) +++ head/chinese/phpbb3-tw/Makefile (revision 394508) @@ -1,69 +1,67 @@ # Created by: Bo-Yi Wu # $FreeBSD$ PORTNAME= phpbb PORTVERSION= 3.0.12 PORTREVISION= 0 CATEGORIES= chinese www MASTER_SITES= http://www.phpbb-tw.net/phpbb/download/ \ http://freebsd.ee.ccu.edu.tw/phpBB/ PKGNAMESUFFIX= 3-tw DISTNAME= phpBB-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= The Traditional Chinese version of phpBB3 CONFLICTS= phpbb-tw-[0-2]* phpbb-devel-[0-3]* phpbb-[0-3]* -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}3${PKGNAMESUFFIX} - USES= zip # The phpBB3 port supports a number of variables that may be tweaked at build # time. Perform a "make options" to see more information on these variables. # WWWDOCROOT?= www PHPBBURL?= phpBB3 # # End of user-configurable variables. WRKSRC= ${WRKDIR}/phpBB3 NO_BUILD= yes SUB_FILES= pkg-message SUB_LIST= PHPBBURL="${PHPBBURL}" \ PHPBBDIR="${PHPBBDIR}" PORTDOCS= * PLIST_SUB+= PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} # Set custom variables: # PHPBBDIR= ${WWWDOCROOT}/${PHPBBURL} PKGOPTS= ${FILESDIR}/pkg-opts OPTIONS_DEFINE= DOCS .include options: @ ${ECHO_MSG} "===> Build options for ${PKGNAME}:" @ ${CAT} ${PKGOPTS} pre-everything:: .if !defined(BATCH) @ ${TEST} -r ${PKGOPTS} && \ (${ECHO_MSG} '-------------------------------------------------------------------------'; \ ${ECHO_MSG} 'Perform a "make options" to see a list of available installation options.'; \ ${ECHO_MSG} '-------------------------------------------------------------------------') .endif do-install: @ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PHPBBDIR} "! -name config.php" @ ${TOUCH} ${STAGEDIR}${PREFIX}/${PHPBBDIR}/config.php.sample @ ${CHMOD} -R 0755 ${STAGEDIR}${PREFIX}/${PHPBBDIR} post-install: @ ${MKDIR} ${STAGEDIR}${DOCSDIR} @ cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include Index: head/databases/jdbm2/Makefile =================================================================== --- head/databases/jdbm2/Makefile (revision 394507) +++ head/databases/jdbm2/Makefile (revision 394508) @@ -1,37 +1,36 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= jdbm PORTVERSION= 2.4 CATEGORIES= databases java MASTER_SITES= GOOGLE_CODE MAINTAINER= ale@FreeBSD.org COMMENT= Fast, simple, and transactional Java persistence engine LICENSE= APACHE20 OPTIONS_DEFINE= DOCS EXAMPLES USES= zip USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes PROJECTHOST= jdbm2 -LATEST_LINK= jdbm2 PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar do-install: @${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar \ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/databases/luasql-mysql/Makefile =================================================================== --- head/databases/luasql-mysql/Makefile (revision 394507) +++ head/databases/luasql-mysql/Makefile (revision 394508) @@ -1,63 +1,62 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= luasql PORTVERSION= 2.3.0 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= databases PKGNAMESUFFIX= -${LUASQL_DRIVER} MAINTAINER= ports@FreeBSD.org COMMENT?= LuaSQL driver LICENSE= MIT USE_GITHUB= yes GH_ACCOUNT= keplerproject USES= lua gmake ALL_TARGET= lib LUASQL_DRIVER?= mysql MAKE_ARGS+= LUA_DIR=${LUA_SUBDIR} \ LUA_INC=${LUA_INCDIR} \ LUA_LIBDIR=${LUA_LIBDIR} \ LUA_VERSION_NUM="${LUA_VER_STR}0" \ T=${LUASQL_DRIVER} \ WARN="${CFLAGS}" \ CC="${CC}" USE_CSTD= gnu89 CFLAGS+= -Wno-return-type PLIST_SUB+= LUA_MIDLIBDIR=${LUA_MODLIBDIR} .if ${LUASQL_DRIVER} == "mysql" COMMENT= Lua interface to MySQL USE_MYSQL= yes MAKE_ARGS+= DRIVER_LIBS="-L ${LOCALBASE}/lib/mysql -lmysqlclient" \ DRIVER_INCS="-I ${LOCALBASE}/include/mysql" .elif ${LUASQL_DRIVER} == "postgres" COMMENT= Lua interface to PostgreSQL USES+= pgsql MAKE_ARGS+= DRIVER_LIBS="-L ${LOCALBASE}/lib -lpq" \ DRIVER_INCS="-I ${LOCALBASE}/include" .elif ${LUASQL_DRIVER} == "sqlite3" COMMENT= Lua interface to SQLite3 USE_SQLITE= 3 MAKE_ARGS+= DRIVER_LIBS="-L ${LOCALBASE}/lib -lsqlite3" \ DRIVER_INCS="-I ${LOCALBASE}/include" .else IGNORE= unknown or unsupported luasql driver .endif -LATEST_LINK= ${PORTNAME}-${LUASQL_DRIVER} PLIST_SUB+= LUASQL_DRIVER=${LUASQL_DRIVER} do-install: @${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}/luasql @${INSTALL_LIB} ${WRKSRC}/src/${LUASQL_DRIVER}.so ${STAGEDIR}${LUA_MODLIBDIR}/luasql .include Index: head/databases/mariadb-client/Makefile =================================================================== --- head/databases/mariadb-client/Makefile (revision 394507) +++ head/databases/mariadb-client/Makefile (revision 394508) @@ -1,51 +1,49 @@ # $FreeBSD$ PORTNAME= mariadb PORTREVISION= 7 PKGNAMESUFFIX= 53-client -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} - COMMENT= Database client - drop-in replacement for MySQL MASTERDIR= ${.CURDIR}/../mariadb-server MARIADB_CLIENT_SLAVE= yes USES+= readline CONFIGURE_ARGS= --without-server --with-libevent=no OPTIONS_DEFINE= THREADSAFE OPTIONS_DEFAULT= THREADSAFE THREADSAFE_DESC= Build thread-safe client CONFLICTS= mariadb5[4-9]-client-* \ mariadb1[0-9][0-9]-client-* \ mysql*-client-* \ percona*-client-* PATCHDIR= ${.CURDIR}/files PLIST= ${.CURDIR}/pkg-plist PKGMESSAGE= ${.CURDIR}/pkg-message MANS= mysql_config.1 mysql_upgrade.1 mysql.1 mysqladmin.1 \ mysqlbinlog.1 mysqlbug.1 mysqlcheck.1 \ mysqldump.1 mysqlimport.1 mysqlshow.1 mysqlslap.1 mysqltest.1 EXTRA_PATCHES= ${MASTERDIR}/files/patch-* MDB_CLIENT_SUBDIRS= include sql-common cmd-line-utils scripts strings regex mysys dbug extra libmysql libmysql_r client @man_dirs@ post-patch: @${REINPLACE_CMD} -e "s|%%SUBDIRS%%|${MDB_CLIENT_SUBDIRS}|" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s|install-exec-am: install-pkglibLIBRARIES|install-exec-am:|g" ${WRKSRC}/strings/Makefile.in ${WRKSRC}/mysys/Makefile.in ${WRKSRC}/dbug/Makefile.in @${REINPLACE_CMD} -e "s|install-exec-am: install-binPROGRAMS|install-exec-am:|g" ${WRKSRC}/extra/Makefile.in @${REINPLACE_CMD} -e "s|%%MANS%%|${MANS}|" ${WRKSRC}/man/Makefile.in @${REINPLACE_CMD} -e "s|^\(install-man: install-man1\).*|\1|" ${WRKSRC}/man/Makefile.in @${REINPLACE_CMD} -e "s|-fno-implicit-templates||g" ${WRKSRC}/configure post-install: ${INSTALL_DATA} ${WRKSRC}/support-files/mysql.m4 ${STAGEDIR}${PREFIX}/share/aclocal/ post-stage: @${RM} -rf ${STAGEDIR}/${PREFIX}/include/mysql/private .include "${MASTERDIR}/Makefile" Index: head/databases/mariadb-scripts/Makefile =================================================================== --- head/databases/mariadb-scripts/Makefile (revision 394507) +++ head/databases/mariadb-scripts/Makefile (revision 394508) @@ -1,35 +1,34 @@ # $FreeBSD$ PORTNAME= mariadb PKGNAMESUFFIX= 53-scripts COMMENT= Scripts for mariadb - drop-in replacement for MySQL LICENSE= GPLv2 -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} USES= perl5 MASTERDIR= ${.CURDIR}/../mariadb-server MARIADB_SCRIPTS_SLAVE= yes CONFLICTS= mysql[0-9][0-9]-scripts-* \ mytop-[0-9]* PATCHDIR= ${.CURDIR}/files PLIST= ${.CURDIR}/pkg-plist MANS= msql2mysql.1 mysql_convert_table_format.1 mysql_find_rows.1 \ mysql_fix_extensions.1 mysql_secure_installation.1 \ mysql_setpermission.1 mysql_zap.1 mysqlaccess.1 \ mysqldumpslow.1 mysqlhotcopy.1 mysqld_multi.1 EXTRA_PATCHES= ${MASTERDIR}/files/patch-Makefile.in ${MASTERDIR}/files/patch-man__Makefile.in MDB_SCRIPTS_SUBDIRS= scripts @man_dirs@ post-patch: @${REINPLACE_CMD} -e "s|%%SUBDIRS%%|${MDB_SCRIPTS_SUBDIRS}|" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s|%%MANS%%|${MANS}|" ${WRKSRC}/man/Makefile.in @${REINPLACE_CMD} -e "s|^\(install-man: install-man1\).*|\1|" ${WRKSRC}/man/Makefile.in .include "${MASTERDIR}/Makefile" Index: head/databases/mariadb-server/Makefile =================================================================== --- head/databases/mariadb-server/Makefile (revision 394507) +++ head/databases/mariadb-server/Makefile (revision 394508) @@ -1,339 +1,337 @@ # $FreeBSD$ PORTNAME= mariadb PORTVERSION= 5.3.12 PORTREVISION?= 6 CATEGORIES= databases ipv6 MASTER_SITES= http://ftp.osuosl.org/pub/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \ http://mirrors.supportex.net/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \ http://mirror.aarnet.edu.au/pub/MariaDB/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \ http://mirror2.hs-esslingen.de/pub/Mirrors/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \ http://gd.tuwien.ac.at/db/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \ http://mirrors.fe.up.pt/pub/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \ http://mirror.de.gsnw.de:56431/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \ http://mirror.layerjet.com/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \ http://mirror.switch.ch/mirror/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ PKGNAMESUFFIX?= 53-server MAINTAINER= spil.oss@gmail.com COMMENT= Database server - drop-in replacement for MySQL LICENSE= GPLv2 -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} - CONFLICTS?= mariadb5[4-9]-server-* \ mariadb1[0-9][0-9]-server-* \ mysql*-server-* \ percona*-server-* GNU_CONFIGURE= yes USES+= libtool shebangfix SHEBANG_FILES= scripts/* .if !defined(MARIADB_CLIENT_SLAVE) USE_MYSQL= yes WANT_MYSQL_VER= 53m .endif .if !defined(MARIADB_SCRIPTS_SLAVE) CPPFLAGS+= -I${LOCALBASE}/include DATADIR= ${PREFIX}/share/mysql USE_LDCONFIG= ${PREFIX}/lib/mysql USERS= mysql GROUPS= mysql OPTIONS_DEFINE+= STATIC SSL OPENSSL OPTIONS_DEFAULT+= SSL STATIC_DESC= Statically link executables (not on 9.x) SSL_DESC= Activate SSL support OPENSSL_DESC= Use OpenSSL instead of bundled yassl .if !defined(MARIADB_CLIENT_SLAVE) LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2 MANS= innochecksum.1 my_print_defaults.1 myisam_ftdump.1 myisamchk.1 \ myisamlog.1 myisampack.1 mysql.server.1 mysql_client_test_embedded.1 \ mysql_install_db.1 mysql_tzinfo_to_sql.1 mysql_waitpid.1 mysqld_safe.1 \ mysqltest_embedded.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1 INFO= mysql CONFIGURE_ARGS+= --with-embedded-server --enable-local-infile USE_RC_SUBR= mysql-server OPTIONS_DEFINE+= ARIADB ARCHIVE BLACKHOLE SPHINX FEDX FEDERATED XTRADB INNODB \ OQGRAPH PBXT PARTITION HANDLERSOCKET EXAMPLES MAXKEY ARIADB_DESC= Aria storage engine ARCHIVE_DESC= Archive storage plugin BLACKHOLE_DESC= Blackhole storage engine SPHINX_DESC= SE client for Sphinx search daemon FEDX_DESC= FederatedX (new) storage engine FEDERATED_DESC= Federated (old) storage engine XTRADB_DESC= XtraDB (InnoDB replacement) engine INNODB_DESC= InnoDB (old) engine OQGRAPH_DESC= Open Query Graph Computation engine PBXT_DESC= MVCC-based transactional engine PARTITION_DESC= Partitioning support HANDLERSOCKET_DESC= HandlerSocket support NDB_DESC= Enable NDB support (implies PARTITION) EXAMPLES_DESC= Example engine,daemon and ftsearch plugins MAXKEY_DESC= Change max key length from 1000 to 4000 OPTIONS_DEFAULT+= ARIADB ARCHIVE BLACKHOLE SPHINX FEDX XTRADB HANDLERSOCKET .endif # .if !defined(MARIADB_CLIENT_SLAVE) .include .if ${OSVERSION} > 900000 && ${PORT_OPTIONS:MSTATIC} BROKEN= WITH_STATIC is not functional on 9-current .endif .if ${ARCH} == "i386" || ${ARCH} == "amd64" CONFIGURE_ARGS+= --enable-assembler .endif .if ${ARCH} == "i386" CONFIGURE_ARGS+= --with-big-tables .endif .if ${PORT_OPTIONS:MSSL} .if ${PORT_OPTIONS:MOPENSSL} USE_OPENSSL= yes CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} .else CONFIGURE_ARGS+= --with-ssl=bundled MDB_EXTRA_SUBDIRS= extra .endif .else CONFIGURE_ARGS+= --without-ssl .endif .if ${PORT_OPTIONS:MSTATIC} CONFIGURE_ARGS+= --with-client-ldflags="-static -all-static" .endif .if ${PORT_OPTIONS:MTHREADSAFE} CONFIGURE_ARGS+= --enable-thread-safe-client .endif .if !defined(MARIADB_CLIENT_SLAVE) .if ${PORT_OPTIONS:MARIADB} PLIST_SUB+= ARIADB="" CONFIGURE_ARGS+= --with-plugin-aria --with-aria-tmp-tables PLUGINS+= aria .else CONFIGURE_ARGS+= --without-plugin-aria PLIST_SUB+= ARIADB="@comment " .endif .if ${PORT_OPTIONS:MSPHINX} PLIST_SUB+= SPHINX="" PLUGINS+= sphinx .else CONFIGURE_ARGS+= --without-plugin-sphinx PLIST_SUB+= SPHINX="@comment " .endif .if ${PORT_OPTIONS:MARCHIVE} PLIST_SUB+= ARCHIVE="" PLUGINS+= archive .else CONFIGURE_ARGS+= --without-plugin-archive PLIST_SUB+= ARCHIVE="@comment " .endif .if ${PORT_OPTIONS:MBLACKHOLE} PLIST_SUB+= BLACKHOLE="" PLUGINS+= blackhole .else CONFIGURE_ARGS+= --without-plugin-blackhole PLIST_SUB+= BLACKHOLE="@comment " .endif .if ${PORT_OPTIONS:MFEDERATED} PLIST_SUB+= FEDERATED="" PLUGINS+= federated .else CONFIGURE_ARGS+= --without-plugin-federated PLIST_SUB+= FEDERATED="@comment " .endif .if ${PORT_OPTIONS:MFEDX} PLIST_SUB+= FEDERATEDX="" PLUGINS+= federatedx .else CONFIGURE_ARGS+= --without-plugin-federatedx PLIST_SUB+= FEDERATEDX="@comment " .endif .if ${PORT_OPTIONS:MINNODB} PLIST_SUB+= INNODB="" PLUGINS+= innodb_plugin .else CONFIGURE_ARGS+= --without-plugin-innodb_plugin PLIST_SUB+= INNODB="@comment " .endif .if ${PORT_OPTIONS:MXTRADB} PLIST_SUB+= XTRADB="" PLUGINS+= xtradb .else CONFIGURE_ARGS+= --without-plugin-xtradb PLIST_SUB+= XTRADB="@comment " .endif .if ${PORT_OPTIONS:MHANDLERSOCKET} PLIST_SUB+= HANDLERSOCKET="" PLUGINS+= handlersocket .else CONFIGURE_ARGS+= --without-plugin-handlersocket PLIST_SUB+= HANDLERSOCKET="@comment " .endif .if ${PORT_OPTIONS:MOQGRAPH} CONFIGURE_ARGS+= --with-plugin-oqgraph PLIST_SUB+= OQGRAPH="" LIB_DEPENDS+= libboost_system.so:${PORTSDIR}/devel/boost-libs PLUGINS+= oqgraph .else CONFIGURE_ARGS+= --without-plugin-oqgraph PLIST_SUB+= OQGRAPH="@comment " .endif .if ${PORT_OPTIONS:MPBXT} CONFIGURE_ARGS+= --with-plugin-pbxt PLIST_SUB+= PBXT="" PLUGINS+= pbxt .else CONFIGURE_ARGS+= --without-plugin-pbxt PLIST_SUB+= PBXT="@comment " .endif .if ${PORT_OPTIONS:MEXAMPLES} PLIST_SUB+= EXAMPLES="" .else CONFIGURE_ARGS+= --without-plugin-example --without-plugin-daemon_example --without-plugin-ftexample PLIST_SUB+= EXAMPLES="@comment " .endif .if ${PORT_OPTIONS:MNDB} CONFIGURE_ARGS+= --with-plugin-ndbcluster WITH_PARTITION=yes PLIST_SUB+= NDB="" PLUGINS+= ndbcluster .else CONFIGURE_ARGS+= --without-plugin-ndbcluster PLIST_SUB+= NDB="@comment " .endif .if ${PORT_OPTIONS:MPARTITION} CONFIGURE_ARGS+= --with-plugin-partition PLUGINS+= partition .else CONFIGURE_ARGS+= --without-plugin-partition .endif .if ${PORT_OPTIONS:MSTATIC} CONFIGURE_ARGS+= --with-mysqld-ldflags="-static -all-static" --with-plugins="${PLUGINS}" PLIST_SUB+= STATIC="@comment " .else PLIST_SUB+= STATIC="" .endif .if ${PORT_OPTIONS:MMAXKEY} EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include__my_handler.h .endif .endif # .if !defined(MARIADB_CLIENT_SLAVE) .if defined(WITH_CHARSET) && ${WITH_CHARSET} != "" CONFIGURE_ARGS+= --with-charset=${WITH_CHARSET} .endif .if defined(WITH_XCHARSET) && ${WITH_XCHARSET} != "" CONFIGURE_ARGS+= --with-extra-charsets=${WITH_XCHARSET} .else CONFIGURE_ARGS+= --with-extra-charsets=complex .endif .if defined(WITH_COLLATION) && ${WITH_COLLATION} != "" CONFIGURE_ARGS+= --with-collation=${WITH_COLLATION} .endif .if ${PORT_OPTIONS:MSTATIC} && ( ${PORT_OPTIONS:MOPENSSL} || ${PORT_OPTIONS:MNDB} ) pre-extract: @${ECHO} '' @${ECHO} "STATIC is not compatible with OPENSSL or NDB" @${ECHO} '' @${FALSE} .endif .if !defined(MARIADB_CLIENT_SLAVE) .if empty(PORT_OPTIONS:MSTATIC) SUB_FILES= pkg-message .endif pre-fetch: @${ECHO} '' @${ECHO} ' The following configuration options can be set in /etc/make.conf' @${ECHO} '' @${ECHO} " WITH_COLLATION=collate" @${ECHO} " Default collation (default: latin1_swedish_ci, selected: ${WITH_COLLATION})." @${ECHO} " WITH_CHARSET=charset" @${ECHO} " Primary built-in charset (default: latin1, selected: ${WITH_CHARSET})." @${ECHO} " WITH_XCHARSET=list" @${ECHO} " Other built-in charsets (default: complex, selected: ${WITH_XCHARSET})." @${ECHO} '' EXTRA_PATCHES+= ${FILESDIR}/scripts__Makefile.in MDB_SERVER_SUBDIRS= include @docs_dirs@ sql-common libservices mysys strings dbug ${MDB_EXTRA_SUBDIRS} unittest cmd-line-utils libmysql scripts @sql_server_dirs@ @sql_server@ @man_dirs@ @libmysqld_dirs@ support-files post-patch: @${REINPLACE_CMD} -e "s|%%SUBDIRS%%|${MDB_SERVER_SUBDIRS}|" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s|%%MANS%%|${MANS}|" ${WRKSRC}/man/Makefile.in @${REINPLACE_CMD} -e "s|^\(install:\).*|\1|" ${WRKSRC}/mysql-test/Makefile.in ${WRKSRC}/sql-bench/Makefile.in @${REINPLACE_CMD} -e "s|^\(aclocal_DATA =\).*|\1|" ${WRKSRC}/support-files/Makefile.in @${REINPLACE_CMD} -e "s|^\(pkginclude_HEADERS =\).*|\1|" ${WRKSRC}/cmd-line-utils/libedit/Makefile.in @${REINPLACE_CMD} -e "s|^\(install-data-am:\) install-pkgincludeHEADERS|\1|g" ${WRKSRC}/extra/Makefile.in ${WRKSRC}/include/Makefile.in @${REINPLACE_CMD} -e "s|^\(install-exec-am:\) install-pkglibLTLIBRARIES|\1|g" ${WRKSRC}/libmysql/Makefile.in @${REINPLACE_CMD} -e "s|-fno-implicit-templates||g" ${WRKSRC}/configure post-stage: # Delete files that should only be installed by client @${RM} ${STAGEDIR}/${PREFIX}/bin/mysql_convert_table_format @${RM} ${STAGEDIR}/${PREFIX}/bin/mysql_find_rows @${RM} ${STAGEDIR}/${PREFIX}/bin/mysql_fix_extensions @${RM} ${STAGEDIR}/${PREFIX}/bin/mysql_secure_installation @${RM} ${STAGEDIR}/${PREFIX}/bin/mysql_setpermission @${RM} ${STAGEDIR}/${PREFIX}/bin/mysql_zap @${RM} ${STAGEDIR}/${PREFIX}/bin/mysqlaccess @${RM} ${STAGEDIR}/${PREFIX}/bin/mysqld_multi @${RM} ${STAGEDIR}/${PREFIX}/bin/mysqldumpslow @${RM} ${STAGEDIR}/${PREFIX}/bin/mysqlhotcopy @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/client_plugin.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/decimal.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/errmsg.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/keycache.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/m_ctype.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/m_string.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/ma_dyncol.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_alloc.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_attribute.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_compiler.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_config.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_dbug.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_decimal_limits.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_dir.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_getopt.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_global.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_list.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_net.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_no_pthread.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_pthread.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_sys.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_valgrind.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/my_xml.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/mysql.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/mysql_com.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/mysql_embed.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/mysql_time.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/mysql_version.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/plugin.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/plugin_auth.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/plugin_auth_common.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/service_my_snprintf.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/service_progress_report.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/service_thd_alloc.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/services.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/sql_common.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/sslopt-case.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/sslopt-longopts.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/sslopt-vars.h @${RM} ${STAGEDIR}/${PREFIX}/include/mysql/typelib.h .endif # .if !defined(MARIADB_CLIENT_SLAVE) .endif # .if !defined(MARIADB_SCRIPTS_SLAVE) .include Index: head/databases/mariadb100-server/Makefile =================================================================== --- head/databases/mariadb100-server/Makefile (revision 394507) +++ head/databases/mariadb100-server/Makefile (revision 394508) @@ -1,152 +1,151 @@ # $FreeBSD$ PORTNAME?= mariadb PORTVERSION= 10.0.21 CATEGORIES= databases ipv6 MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \ http://mirrors.supportex.net/${SITESDIR}/ \ http://mirror2.hs-esslingen.de/pub/Mirrors/${SITESDIR}/ \ http://gd.tuwien.ac.at/db/${SITESDIR}/ \ http://mirrors.fe.up.pt/pub/${SITESDIR}/ \ http://mirror.de.gsnw.de:56431/${SITESDIR}/ \ http://mirror.layerjet.com/${SITESDIR}/ \ http://mirror.switch.ch/mirror/${SITESDIR}/ PKGNAMESUFFIX?= 100-server MAINTAINER= brnrd@FreeBSD.org COMMENT?= Multithreaded SQL database (server) LICENSE= GPLv2 SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message -UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} SLAVEDIRS= databases/mariadb100-client USES= bison:build cmake execinfo gmake shebangfix cpe USE_LDCONFIG= ${PREFIX}/lib/mysql ${PREFIX}/lib/mysql/plugin SHEBANG_FILES= scripts/*.sh SITESDIR= mariadb/mariadb-${PORTVERSION}/source OPTIONS_DEFINE= FASTMTX OPTIONS_RADIO= SSL OPTIONS_RADIO_SSL= BUNDLED_SSL OPENSSL WITHOUT_SSL OPTIONS_DEFAULT+= OPENSSL NO_OPTIONS_SORT= yes BUNDLED_SSL_DESC= SSL/TLS support via (bundled) CyaSSL FASTMTX_DESC= Replace mutexes with spinlocks WITHOUT_SSL_DESC= No SSL/TLS support CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="/var/db/mysql" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR= \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SQLBENCHDIR= \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DWITH_UNIT_TESTS=0 \ -DWITH_LIBEDIT=0 \ -DWITH_LIBWRAP=1 \ -DEXECINFO_ROOT=${LOCALBASE} \ -DCOMPILATION_COMMENT="FreeBSD Ports" DATADIR= ${PREFIX}/share/mysql .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. This leads to a circular dependency. Please undefine and try again. .endif .if !defined(CLIENT_ONLY) # MySQL-Server options USE_MYSQL= yes USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin OPTIONS_DEFINE+= INNODB MAXKEY MROONGA OQGRAPH OPTIONS_DEFAULT+= MAXKEY OPTIONS_SUB= yes INNODB_DESC= Build InnoDB engine next to XtraDB MAXKEY_DESC= Change max key length from 1000 to 4000 MROONGA_DESC= Mroonga Full Text Search engine (gcc) OQGRAPH_DESC= Open Query Graph Computation engine (gcc) .endif BUNDLED_SSL_CMAKE_ON= -DWITH_SSL=bundled FASTMTX_CMAKE_ON= -DWITH_FAST_MUTEXES=1 OPENSSL_CMAKE_ON= -DWITH_SSL=yes OPENSSL_USE= OPENSSL=yes WITHOUT_SSL_CMAKE_ON= -DWITH_SSL=no .if defined(CLIENT_ONLY) # MySQL-Client part USES+= readline .else # MySQL-Server part CONFLICTS_INSTALL= mysql*-server-* \ mariadb[0-9][0-9]-server-* \ percona*-server-* USE_MYSQL= yes WANT_MYSQL_VER= 100m USE_RC_SUBR= mysql-server USERS= mysql GROUPS= mysql CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" \ -DCMAKE_SKIP_BUILD_RPATH:BOOL=YES \ -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 INNODB_CMAKE_OFF= -DWITHOUT_INNOBASE=1 MAXKEY_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include_my__compare.h MROONGA_CMAKE_OFF= -DWITHOUT_MROONGA=1 OQGRAPH_CMAKE_OFF= -DWITHOUT_OQGRAPH=1 OQGRAPH_LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs \ libJudy.so:${PORTSDIR}/devel/judy post-install: # Remove programs to avoid conflict with mariadb100-client # These are "client" components, so there should be a switch that # prevents them from being installed but it's unknown right now ${RM} ${STAGEDIR}${PREFIX}/bin/msql2mysql \ ${STAGEDIR}${PREFIX}/bin/mysql_config \ ${STAGEDIR}${PREFIX}/bin/mysql_find_rows \ ${STAGEDIR}${PREFIX}/bin/mysqlaccess .endif .include .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000012 CMAKE_ARGS+= -DWITH_JEMALLOC="system" .else CMAKE_ARGS+= -DWITH_JEMALLOC="no" .endif # Server segfaults on i386 when built with clang >= 3.4 .if ${ARCH} == 'i386' && ${OSVERSION} >= 1001000 USE_GCC= yes .endif .if ${PORT_OPTIONS:MOQGRPAH} IGNORE= currently MariaDB doesn't build correctly with OQGraph \ See https://mariadb.atlassian.net/browse/MDEV-8128. .endif post-patch: @${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mysys/my_default.c @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/scripts/mysql_config.sh .if ${OPSYS} == DragonFly ${CP} ${WRKSRC}/cmake/os/FreeBSD.cmake \ ${WRKSRC}/cmake/os/DragonFly.cmake ${MV} ${WRKSRC}/storage/tokudb ${WRKSRC}/skip-tokudb .endif .include Index: head/databases/pear-DoctrineDBAL/Makefile =================================================================== --- head/databases/pear-DoctrineDBAL/Makefile (revision 394507) +++ head/databases/pear-DoctrineDBAL/Makefile (revision 394508) @@ -1,41 +1,40 @@ # Created by: William Grzybowski # $FreeBSD$ PORTNAME= DoctrineDBAL PORTVERSION= 2.3.4 CATEGORIES= databases pear MASTER_SITES= http://pear.doctrine-project.org/get/ MAINTAINER= wg@FreeBSD.org COMMENT= Database abstraction layer used to power the ORM package LICENSE= LGPL21 BUILD_DEPENDS= ${PEARDIR}/.channels/pear.doctrine-project.org.reg:${PORTSDIR}/devel/pear-channel-doctrine RUN_DEPENDS= ${PEARDIR}/.channels/pear.doctrine-project.org.reg:${PORTSDIR}/devel/pear-channel-doctrine \ ${PEARDIR}/Doctrine/Common/Version.php:${PORTSDIR}/databases/pear-DoctrineCommon \ ${PEARDIR}/Symfony/Component/Console/Application.php:${PORTSDIR}/devel/pear-Symfony_Component_Console -OPTIONSFILE?= ${PORT_DBDIR}/pear-${PORTNAME}/options OPTIONS_DEFINE= DBLIB MYSQL ODBC PGSQL SQLITE OPTIONS_DEFAULT=MYSQL DBLIB_DESC= Install PHP DBO driver for DBLIB MYSQL_DESC= Install PHP DBO driver for MySQL ODBC_DESC= Install PHP DBO driver for ODBC PGSQL_DESC= Install PHP DBO driver for PostgreSQL SQLITE_DESC= Install PHP DBO driver for SQLite USES= pear PEAR_CHANNEL= doctrine USE_PHP= pdo WANT_PHP_CLI= yes DBLIB_RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_dblib.so:${PORTSDIR}/databases/php${PHP_VER}-pdo_dblib MYSQL_USE= PHP=pdo_mysql ODBC_RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:${PORTSDIR}/databases/php${PHP_VER}-pdo_odbc PGSQL_USE= PHP=pdo_pgsql SQLITE_USE= PHP=pdo_sqlite .include Index: head/databases/proftpd-mod_sql_mysql/Makefile =================================================================== --- head/databases/proftpd-mod_sql_mysql/Makefile (revision 394507) +++ head/databases/proftpd-mod_sql_mysql/Makefile (revision 394508) @@ -1,25 +1,24 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= mod_sql_mysql CATEGORIES= databases ftp PKGNAMEPREFIX= proftpd- MAINTAINER= mm@FreeBSD.org COMMENT= MySQL ProFTPD module LICENSE= GPLv2 DESCR= ${.CURDIR}/pkg-descr -LATEST_LINK= ${PKGNAMEPREFIX}-${PORTNAME} MASTERDIR= ${.CURDIR}/../../ftp/proftpd USE_MYSQL= yes INCLUDEDIRS= ${LOCALBASE}/include:${LOCALBASE}/include/mysql LIBDIRS= ${LOCALBASE}/lib _BUILDING_PROFTPD_MODULE= ${PORTNAME} .include "${MASTERDIR}/Makefile" Index: head/databases/proftpd-mod_sql_odbc/Makefile =================================================================== --- head/databases/proftpd-mod_sql_odbc/Makefile (revision 394507) +++ head/databases/proftpd-mod_sql_odbc/Makefile (revision 394508) @@ -1,29 +1,28 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= mod_sql_odbc CATEGORIES= databases ftp PKGNAMEPREFIX= proftpd- MAINTAINER= mm@FreeBSD.org COMMENT= ODBC ProFTPD module LICENSE= GPLv2 LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc DESCR= ${.CURDIR}/pkg-descr -LATEST_LINK= ${PKGNAMEPREFIX}-${PORTNAME} MASTERDIR= ${.CURDIR}/../../ftp/proftpd CONFIGURE_ARGS= LIBS=-liodbc \ LD_LIBRARY_PATH="${LOCALBASE}/lib" \ LDFLAGS="-L${LOCALBASE}/lib" INCLUDEDIRS= ${LOCALBASE}/include/libiodbc LIBDIRS= ${LOCALBASE}/lib _BUILDING_PROFTPD_MODULE= ${PORTNAME} .include "${MASTERDIR}/Makefile" Index: head/databases/proftpd-mod_sql_sqlite/Makefile =================================================================== --- head/databases/proftpd-mod_sql_sqlite/Makefile (revision 394507) +++ head/databases/proftpd-mod_sql_sqlite/Makefile (revision 394508) @@ -1,26 +1,25 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= mod_sql_sqlite PORTREVISION= 3 CATEGORIES= databases ftp PKGNAMEPREFIX= proftpd- MAINTAINER= mm@FreeBSD.org COMMENT= SQLite ProFTPD module LICENSE= GPLv2 DESCR= ${.CURDIR}/pkg-descr -LATEST_LINK= ${PKGNAMEPREFIX}-${PORTNAME} MASTERDIR= ${.CURDIR}/../../ftp/proftpd USE_SQLITE= yes INCLUDEDIRS= ${LOCALBASE}/include LIBDIRS= ${LOCALBASE}/lib _BUILDING_PROFTPD_MODULE= ${PORTNAME} .include "${MASTERDIR}/Makefile" Index: head/databases/proftpd-mod_sql_tds/Makefile =================================================================== --- head/databases/proftpd-mod_sql_tds/Makefile (revision 394507) +++ head/databases/proftpd-mod_sql_tds/Makefile (revision 394508) @@ -1,34 +1,33 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= mod_sql_tds DISTVERSION= 4.13 PORTREVISION= 0 CATEGORIES= databases ftp PKGNAMEPREFIX= proftpd- MAINTAINER= mm@FreeBSD.org COMMENT= TDS ProFTPD module LICENSE= GPLv2 DESCR= ${.CURDIR}/pkg-descr -LATEST_LINK= ${PKGNAMEPREFIX}-${PORTNAME} MASTERDIR= ${.CURDIR}/../../ftp/proftpd LIB_DEPENDS+= libsybdb.so.5:${PORTSDIR}/databases/freetds _PROFTPD_MODULE_DISTFILES= mod_sql_tds-4.13${EXTRACT_SUFX}:sql_tds _PROFTPD_MODULE_EXTRACT_ONLY= mod_sql_tds-4.13${EXTRACT_SUFX} _PROFTPD_MODULE_MASTER_SITES= http://labratsoftware.com/mod_sql_tds/:sql_tds \ LOCAL/beech:sql_tds INCLUDEDIRS= ${LOCALBASE}/include LIBDIRS= ${LOCALBASE}/lib _BUILDING_PROFTPD_MODULE= ${PORTNAME} post-extract: @${MV} ${WRKDIR}/mod_sql_tds.c ${WRKSRC}/contrib .include "${MASTERDIR}/Makefile" Index: head/databases/py-MySQLdb/Makefile =================================================================== --- head/databases/py-MySQLdb/Makefile (revision 394507) +++ head/databases/py-MySQLdb/Makefile (revision 394508) @@ -1,44 +1,43 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= MySQLdb DISTVERSION= 1.2.5 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= databases python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Access a MySQL database through Python USES= python:2 USE_PYTHON= distutils autoplist USE_MYSQL= yes USE_GITHUB= yes GH_ACCOUNT= farcepest GH_PROJECT= ${PORTNAME}1 CONFLICTS= py*-MySQLdb-[0-9]* py*-MySQLdb5[0-9]-[0-9]* PORTDOCS= * DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}1-${PORTNAME}-${PORTVERSION} -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options OPTIONS_DEFINE= DOCS MYSQLCLIENT_R OPTIONS_DEFAULT= MYSQLCLIENT_R MYSQLCLIENT_R_DESC= Use libmysqlclient_r (thread safe) .include .if ${PORT_OPTIONS:MMYSQLCLIENT_R} pre-configure: @${REINPLACE_CMD} -E -e "s|(threadsafe.*)True|\1 False|" \ ${WRKSRC}/site.cfg .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} .include Index: head/databases/py-pyPgSQL/Makefile =================================================================== --- head/databases/py-pyPgSQL/Makefile (revision 394507) +++ head/databases/py-pyPgSQL/Makefile (revision 394508) @@ -1,51 +1,48 @@ # Created by: Gerhard Haering # $FreeBSD$ PORTNAME= pyPgSQL PORTVERSION= 2.5.1 PORTREVISION= 4 CATEGORIES= databases python MASTER_SITES= SF PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Python DB-API 2 compliant library for using PostgreSQL databases RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base USES= pgsql python USE_PYTHON= distutils DOCS= Announce ChangeLog README README.html EXAMPLES= examples/*.py DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py OPTIONS_DEFINE= BYTEA_CONN EXAMPLES DOCS OPTIONS_DEFAULT= BYTEA_CONN BYTEA_CONN_DESC= Apply Bytea connection patch -# bypass infrastructure bug -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options - .include .if ${PORT_OPTIONS:MBYTEA_CONN} PATCH_SITES= http://sourceforge.net/tracker/download.php?group_id=16528&atid=316528&file_id=273956&aid=1939119/ PATCHFILES= pyPgSQL-patch_byteaconn .endif DOCSDIR= ${PREFIX}/share/doc/py-pyPgSQL EXAMPLESDIR= ${PREFIX}/share/examples/py-pyPgSQL post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${EXAMPLES} @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .include Index: head/databases/py-sqlalchemy/Makefile =================================================================== --- head/databases/py-sqlalchemy/Makefile (revision 394507) +++ head/databases/py-sqlalchemy/Makefile (revision 394508) @@ -1,120 +1,117 @@ # Created by: Dryice Dong Liu # $FreeBSD$ PORTNAME= sqlalchemy PORTVERSION= 0.7.10 PORTREVISION= 2 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= SQLAlchemy-${DISTVERSION} MAINTAINER= nivit@FreeBSD.org COMMENT= Python SQL toolkit and Object Relational Mapper LICENSE= MIT TEST_DEPENDS:= ${RUN_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose # Python3 ready USES= python USE_PYTHON= distutils autoplist PY2TO3_CMD= ${LOCALBASE}/bin/2to3-${PYTHON_VER} PY2TO3_ARGS= --no-diffs --nobackups --verbose --write OPTIONS_DEFINE= DOCS EXAMPLES TESTS OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= MSSQL MYSQL PGSQL SQLITE SYBASE OPTIONS_DEFAULT= SQLITE MSSQL_DESC= MS SQL Server backend TESTS_DESC= Include nose for unit tests SYBASE_DESC= Sybase backend -# bypass infrastructure bug -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options - .include DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} .include .if ${PORT_OPTIONS:MDOCS} AL_PORTDOCS= *.html *.js AL_PORTDOCS_SUBDIR= core dialects orm .endif .if ${PORT_OPTIONS:MMSSQL} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pymssql.py:${PORTSDIR}/databases/py-mssql .endif .if ${PORT_OPTIONS:MMYSQL} .if ${PYTHON_VER} < 3.0 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb #.else # At the moment databases/py-pymysql does not build with Python3 # See https://github.com/petehunt/PyMySQL#python-3-0-support #RUN_DEPENDS+= pymysql>=0.5:${PORTSDIR}/databases/py-pymysql .endif .endif .if ${PORT_OPTIONS:MTESTS} BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose .endif .if ${PORT_OPTIONS:MPGSQL} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.0.8:${PORTSDIR}/databases/py-psycopg2 .endif .if ${PORT_OPTIONS:MSQLITE} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 .endif .if ${PORT_OPTIONS:MSYBASE} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Sybase.py:${PORTSDIR}/databases/py-sybase .endif post-patch: ${REINPLACE_CMD} -e 's/import logging/&.handlers/1' -i.bak ${WRKSRC}/test/engine/test_execute.py pre-build: .if ${PYTHON_REL} >= 3000 @${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/lib .endif post-install: .if ${PYTHON_REL} >= 3000 @${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/doc .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${AL_PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR} .endfor .for i in ${AL_PORTDOCS_SUBDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}/${i} @cd ${WRKSRC}/doc/${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${i} .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .if ${PYTHON_REL} >= 3000 @${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/examples .endif cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .if ${PYTHON_REL} < 3000 PLIST_SUB+= SPEEDUPS="" .else # C extensions are not supported in py3k PLIST_SUB+= SPEEDUPS="@comment " .endif regression-test: build .if ${PYTHON_REL} >= 3000 ${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/test .endif @cd ${WRKSRC} && ${PYTHON_CMD} sqla_nose.py .include Index: head/databases/py-sqlalchemy-devel/Makefile =================================================================== --- head/databases/py-sqlalchemy-devel/Makefile (revision 394507) +++ head/databases/py-sqlalchemy-devel/Makefile (revision 394508) @@ -1,102 +1,99 @@ # Created by: Dryice Dong Liu # $FreeBSD$ PORTNAME= sqlalchemy PORTVERSION= 0.8.2 PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 08 DISTNAME= SQLAlchemy-${DISTVERSION} MAINTAINER= nivit@FreeBSD.org COMMENT= Python SQL toolkit and Object Relational Mapper LICENSE= MIT TEST_DEPENDS:= ${RUN_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose USES= python USE_PYTHON= distutils autoplist PY2TO3_CMD= ${LOCALBASE}/bin/2to3-${PYTHON_VER} PY2TO3_ARGS= --no-diffs --nobackups --verbose --write OPTIONS_DEFINE= DOCS EXAMPLES TESTS OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= MSSQL MYSQL PGSQL SQLITE SYBASE OPTIONS_DEFAULT= SQLITE SYBASE_DESC= Sybase backend TESTS_DESC= Include nose for unit tests -# bypass infrastructure bug -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options - MSSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mssql>0:${PORTSDIR}/databases/py-mssql PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.0.8:${PORTSDIR}/databases/py-psycopg2 SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 SYBASE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sybase>0:${PORTSDIR}/databases/py-sybase TESTS_BUILD_DEPENDS:= ${TEST_DEPENDS} DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} PORTDOCS= * PORTEXAMPLES= * .include .include .if ${PORT_OPTIONS:MDOCS} AL_PORTDOCS= *.html *.js AL_PORTDOCS_SUBDIR= core dialects orm .endif .if ${PORT_OPTIONS:MMYSQL} .if ${PYTHON_VER} < 3.0 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb #.else # At the moment databases/py-pymysql does not build with Python3 # See https://github.com/petehunt/PyMySQL#python-3-0-support #RUN_DEPENDS+= pymysql>=0.5:${PORTSDIR}/databases/py-pymysql .endif .endif .if ${PYTHON_REL} < 3300 TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:${PORTSDIR}/devel/py-mock .endif .if ${PYTHON_REL} >= 3000 pre-build: @${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/lib .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .if ${PYTHON_REL} >= 3000 ${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/doc .endif .for i in ${AL_PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR} .endfor .for i in ${AL_PORTDOCS_SUBDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/${i} (cd ${WRKSRC}/doc/${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${i}) .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .if ${PYTHON_REL} >= 3000 ${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/examples .endif (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) regression-test: build .if ${PYTHON_REL} >= 3000 ${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/test .endif @cd ${WRKSRC} && ${PYTHON_CMD} sqla_nose.py .include Index: head/databases/py-sqlalchemy06/Makefile =================================================================== --- head/databases/py-sqlalchemy06/Makefile (revision 394507) +++ head/databases/py-sqlalchemy06/Makefile (revision 394508) @@ -1,101 +1,98 @@ # Created by: Dryice Dong Liu # $FreeBSD$ PORTNAME= sqlalchemy06 PORTVERSION= 0.6.9 PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= SQLAlchemy-${DISTVERSION} MAINTAINER= nivit@FreeBSD.org COMMENT= Python SQL toolkit and Object Relational Mapper (series 0.6) LICENSE= MIT # Python3 ready USES= python USE_PYTHON= distutils autoplist -# bypass infrastructure bug -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options - OPTIONS_DEFINE= CEXTENSIONS DOCS EXAMPLES NOSE OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= MSSQL MYSQL PGSQL SQLITE SYBASE OPTIONS_DEFAULT= MYSQL PGSQL SQLITE CEXTENSIONS_DESC= C extension to speed up the SQL layer MSSQL_DESC= MS SQL Server backend NOSE_DESC= Use Nose for unit tests SYBASE_DESC= Sybase backend .include DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} .include .if ${PORT_OPTIONS:MCEXTENSIONS} && ${PYTHON_REL} < 3000 PLIST_SUB+= SPEEDUPS="" .else PLIST_SUB+= SPEEDUPS="@comment " .endif .if ${PORT_OPTIONS:MDOCS} AL_PORTDOCS= *.html *.js AL_PORTDOCS_SUBDIR= core dialects orm .endif .if ${PORT_OPTIONS:MMSSQL} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pymssql.py:${PORTSDIR}/databases/py-mssql .endif .if ${PORT_OPTIONS:MMYSQL} && ${PYTHON_REL} < 3000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb .endif .if ${PORT_OPTIONS:MNOSE} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}nose>=1.0.0:${PORTSDIR}/devel/py-nose .endif .if ${PORT_OPTIONS:MPGSQL} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.0.8:${PORTSDIR}/databases/py-psycopg2 .endif .if ${PORT_OPTIONS:MSQLITE} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 .endif .if ${PORT_OPTIONS:MSYBASE} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Sybase.py:${PORTSDIR}/databases/py-sybase .endif post-patch: .if ${PORT_OPTIONS:MCEXTENSIONS} && ${PYTHON_REL} < 3000 @${REINPLACE_CMD} -e 's|BUILD_CEXTENSIONS = False|BUILD_CEXTENSIONS = True|' \ ${WRKSRC}/setup.py .endif post-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${AL_PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR} .endfor .for i in ${AL_PORTDOCS_SUBDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}/${i} @cd ${WRKSRC}/doc/${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${i} .endfor .endif .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .endif .include Index: head/databases/ruby-bdb/Makefile =================================================================== --- head/databases/ruby-bdb/Makefile (revision 394507) +++ head/databases/ruby-bdb/Makefile (revision 394508) @@ -1,96 +1,95 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= bdb PORTVERSION= 0.6.6 PORTREVISION= 4 CATEGORIES= databases ruby MASTER_SITES= ftp://ftp.idaemons.org/pub/distfiles/ruby/ \ http://idaemons.org/distfiles/ruby/ \ LOCAL/knu PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} PKGNAMESUFFIX= ${WITH_BDB_VER} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org COMMENT= Ruby interface to Oracle Berkeley DB revision 2 or later LICENSE= RUBY USE_BDB= yes OPTIONS_DEFINE= DOCS EXAMPLES -OPTIONSFILE= ${PORT_DBDIR}/ruby-${PORTNAME}/options USE_RUBY= yes USE_RUBY_EXTCONF= yes USE_RUBY_RDOC= yes CONFIGURE_ARGS= --with-db-include=${BDB_INCLUDE_DIR} \ --with-db-lib=${BDB_LIB_DIR} INSTALL_TARGET= site-install DOCS= Changes README.en bdb.rd docs/*.rd DOCSDIR= ${RUBY_MODDOCDIR} EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR} PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/bdb.so PORTDOCS= * PORTEXAMPLES= * USES= shebangfix tar:bzip2 SHEBANG_FILES= examples/record.rb \ examples/recno.rb \ examples/zeroc.rb \ examples/txn.rb \ examples/queue.rb \ examples/cats.rb \ examples/log.rb \ examples/cursor.rb \ examples/func.rb \ examples/replication/mgr/b.rb \ examples/replication/base/op.rb \ examples/replication/base/cl.rb \ examples/replication/base/b.rb \ examples/replication/base/ma.rb \ examples/replication/base/mc.rb \ examples/join.rb \ examples/basic.rb \ examples/lock.rb .include .if ${RUBY_VER} >= 2.0 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-features.rb .endif .if ${RUBY_VER} >= 2.1 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-bdbxml2-bdbxml.h .endif .if ${RUBY_VER} == 2.1 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-common.c-21 .endif .if ${RUBY_VER} == 2.2 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-common.c-22 \ ${FILESDIR}/extra-patch-src-recnum.c-22 \ ${FILESDIR}/extra-patch-src-cursor.c-22 .endif post-build: (cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc) post-install: ${STRIP_CMD} ${STAGEDIR}${RUBY_SITEARCHLIBDIR}/bdb.so ${MKDIR} ${STAGEDIR}${DOCSDIR}/doc (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/docs/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/doc) ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -empty") regression-test: build @${MKDIR} ${BUILD_WRKSRC}/tmp (cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test) .include Index: head/databases/rubygem-activerecord/Makefile =================================================================== --- head/databases/rubygem-activerecord/Makefile (revision 394507) +++ head/databases/rubygem-activerecord/Makefile (revision 394508) @@ -1,37 +1,36 @@ # Created by: Jonathan Weiss () # $FreeBSD$ PORTNAME= activerecord PORTVERSION= 3.2.22 CATEGORIES= databases rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Object-relational mapping layer for Rails MVC Framework LICENSE= MIT RUN_DEPENDS= rubygem-activemodel>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activemodel \ rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport \ rubygem-arel3>=3.0.3:${PORTSDIR}/databases/rubygem-arel3 \ rubygem-tzinfo03>=0.3.29:${PORTSDIR}/devel/rubygem-tzinfo03 NO_ARCH= yes USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes OPTIONS_DEFINE= MYSQL PGSQL SQLITE3 MYSQL_DESC= Use native MySQL bindings PGSQL_DESC= Use native PostgreSQL bindings SQLITE3_DESC= Use native SQLite3 bindings -OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options GEM_ENV+= LANG=en_US.UTF-8 MYSQL_RUN_DEPENDS= ${RUBY_PKGNAMEPREFIX}mysql>=0:${PORTSDIR}/databases/ruby-mysql PGSQL_RUN_DEPENDS= rubygem-pg>=0:${PORTSDIR}/databases/rubygem-pg SQLITE3_RUN_DEPENDS= rubygem-sqlite3>=1.2.1:${PORTSDIR}/databases/rubygem-sqlite3 .include Index: head/databases/squirrel-sql/Makefile =================================================================== --- head/databases/squirrel-sql/Makefile (revision 394507) +++ head/databases/squirrel-sql/Makefile (revision 394508) @@ -1,40 +1,40 @@ # Created by: Roy Boerner # $FreeBSD$ PORTNAME= squirrel-sql PORTVERSION= 3.6.0 CATEGORIES= databases java MASTER_SITES= SF/${PORTNAME}/1-stable/${PORTVERSION}-plainzip DISTNAME= squirrelsql-${PORTVERSION:R}-optional MAINTAINER= jonc@chen.org.nz COMMENT= Universal SQL Client LICENSE= GPLv2 NO_BUILD= yes USES= zip USE_JAVA= yes JAVA_VERSION= 1.6+ WRKSRC= ${WRKDIR}/${DISTNAME} SUB_FILES= squirrel-sql -DATADIR= ${PREFIX}/share/java/${UNIQUENAME} +DATADIR= ${PREFIX}/share/java/${PKGBASE} DESKTOP_ENTRIES="Squirrel-SQL Client" \ "${COMMENT}" \ "${DATADIR}/icons/acorn.png" \ "squirrel-sql" \ "Development;Database;Java;" \ false post-extract: cd "${WRKSRC}" && ${RM} -rf Uninstaller *.bat *.sh .installationinformation do-install: ${MKDIR} ${STAGEDIR}${DATADIR} cd "${WRKSRC}" && ${FIND} . | ${CPIO} -pdum -R root:wheel ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/squirrel-sql ${STAGEDIR}${PREFIX}/bin .include Index: head/deskutils/gworkspace-gwmetadata/Makefile =================================================================== --- head/deskutils/gworkspace-gwmetadata/Makefile (revision 394507) +++ head/deskutils/gworkspace-gwmetadata/Makefile (revision 394508) @@ -1,40 +1,39 @@ # $FreeBSD$ PORTNAME= gworkspace PORTVERSION= 0.9.3 CATEGORIES= deskutils gnustep #MASTER_SITES= http://www.gnustep.it/enrico/gworkspace/ MASTER_SITES= GNUSTEP/usr-apps PKGNAMESUFFIX= -gwmetadata${PKGNAMESUFFIX2} MAINTAINER= theraven@FreeBSD.org COMMENT= GWMetadata for GNUstep workspace manager LICENSE= GPLv2 USES= gnustep USE_GNUSTEP= back build GNU_CONFIGURE= yes LIB_DEPENDS= libDBKit.so:${PORTSDIR}/deskutils/gworkspace \ libPreferencePanes.so:${PORTSDIR}/deskutils/systempreferences USE_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES} USE_SQLITE= yes LDFLAGS+= -lpthread -UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} WRKSRC= ${WRKDIR}/gworkspace-${PORTVERSION}/GWMetadata CONFIGURE_ARGS+= --with-sqlite-include=${LOCALBASE}/include CONFIGURE_ARGS+= --with-sqlite-library=${LOCALBASE}/lib DEFAULT_LIBVERSION= 0.1.0 MAKE_ENV+= GNUSTEP_INSTALLATION_DOMAIN=SYSTEM post-patch: ${CP} ${WRKSRC}/gmds/mdextractor/Extractors/JpegExtractor/GNUmakefile.in \ ${WRKSRC}/gmds/mdextractor/Extractors/JpegExtractor/GNUmakefile ${CP} ${FILESDIR}/Preferences-GNUmakefile \ ${WRKSRC}/Preferences/GNUmakefile ${CP} ${FILESDIR}/MDFinder-GNUmakefile \ ${WRKSRC}/MDFinder/GNUmakefile .include Index: head/devel/cl-asdf/bsd.cl-asdf.mk =================================================================== --- head/devel/cl-asdf/bsd.cl-asdf.mk (revision 394507) +++ head/devel/cl-asdf/bsd.cl-asdf.mk (revision 394508) @@ -1,125 +1,125 @@ # $FreeBSD$ # # bsd.cl-asdf.mk - Common Lisp related macros # # SBCL - Path to the Steel Bank Common Lisp compiler # CLISP - Path to the GNU Common Lisp compiler # LISP_EXTRA_ARG - Extra arguments for compiler used by FASL_BUILD ports # CL_LIBDIR_REL - Common Lisp library directory, relative to LOCALBASE or PREFIX # ASDF_PATHNAME - Where to install compiled FASL files (depends on FASL_DIR_REL) # ASDF_REGISTRY - Path to ASDF registry -# DOCSDIR - DOCSDIR using UNIQUENAME (to account for optional cl- PKGNAMEPREFIX) +# DOCSDIR - DOCSDIR using PKGBASE (to account for optional cl- PKGNAMEPREFIX) # EXAMPLESDIR - Same as above, for EXAMPLESDIR # FASL_DIR_REL - Relative path to compiled FASL files; depends on FASL_TARGET # FASL_TARGET - Platform for building FASL files (currently "sbcl" or "clisp") # USE_SBCL - If set, depend on lang/sbcl # USE_CLISP - If set, depend on lang/clisp # USE_ASDF - If set, depend on devel/cl-asdf # USE_ASDF_FASL - If set, set dependency on compiled ASDF files (only if # required by the chosen FASL_TARGET) # FASL_BUILD - If set, compile FASL files using the ASDF framework # ASDF_MODULES - If FASL_BUILD is set: list of ASDF modules to compile CL_ASDF_Include_MAINTAINER= olgeni@FreeBSD.org SBCL?= ${LOCALBASE}/bin/sbcl CLISP?= ${LOCALBASE}/bin/clisp CL_LIBDIR_REL= lib/common-lisp ASDF_PATHNAME= ${PREFIX}/${CL_LIBDIR_REL}/${PORTNAME} FASL_PATHNAME= ${PREFIX}/${CL_LIBDIR_REL}/${PORTNAME}/${FASL_DIR_REL} ASDF_REGISTRY= ${PREFIX}/${CL_LIBDIR_REL}/system-registry # Include PKGNAMEPREFIX in DOCSDIR and EXAMPLESDIR -DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} -EXAMPLESDIR= ${PREFIX}/share/examples/${UNIQUENAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} +EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE} .if defined(FASL_TARGET) FASL_DIR_REL= ${FASL_TARGET}fasl PKGNAMESUFFIX= -${FASL_TARGET} .if ${FASL_TARGET} == "sbcl" USE_SBCL= yes .elif ${FASL_TARGET} == "clisp" USE_CLISP= yes .endif .endif # defined(FASL_TARGET) .if defined(USE_SBCL) BUILD_DEPENDS+= sbcl:${PORTSDIR}/lang/sbcl RUN_DEPENDS+= sbcl:${PORTSDIR}/lang/sbcl .elif defined(USE_CLISP) BUILD_DEPENDS+= clisp:${PORTSDIR}/lang/clisp RUN_DEPENDS+= clisp:${PORTSDIR}/lang/clisp .endif # defined(USE_CLISP) .if defined(USE_ASDF) # Even if the Common Lisp compiler already has a bundled ASDF framework, # we still need the asdf-init file. BUILD_DEPENDS+= ${LOCALBASE}/${CL_LIBDIR_REL}/asdf/asdf.asd:${PORTSDIR}/devel/cl-asdf RUN_DEPENDS+= ${LOCALBASE}/${CL_LIBDIR_REL}/asdf/asdf.asd:${PORTSDIR}/devel/cl-asdf .endif # defined(USE_ASDF) .if defined(USE_ASDF_FASL) .if defined(USE_SBCL) # SBCL already has a bundled ASDF framework .elif defined(USE_CLISP) BUILD_DEPENDS+= ${LOCALBASE}/${CL_LIBDIR_REL}/asdf/${FASL_DIR_REL}/asdf.fasl:${PORTSDIR}/devel/cl-asdf-clisp RUN_DEPENDS+= ${LOCALBASE}/${CL_LIBDIR_REL}/asdf/${FASL_DIR_REL}/asdf.fasl:${PORTSDIR}/devel/cl-asdf-clisp .endif # defined(USE_CLISP) .endif # defined(USE_ASDF_FASL) .if defined(FASL_BUILD) ASDF_MODULES?= ${PORTNAME} .if !target(do-build) # See devel/cl-asdf/files/asdf-init.lisp for the meaning of FBSD_ASDF_COMPILE_PORT. do-build: .for MODULE in ${ASDF_MODULES} .if defined(USE_SBCL) @FBSD_ASDF_COMPILE_PORT=t PORTNAME=${PORTNAME} WRKSRC=${WRKSRC}/ \ ${SBCL} ${LISP_EXTRA_ARG} --noinform --userinit /dev/null --disable-debugger \ --eval '#.(load "${LOCALBASE}/etc/asdf-init")' \ --eval "(asdf:oos 'asdf:compile-op :${MODULE})" \ --eval "(quit)" .endif # USE_SBCL .if defined(USE_CLISP) @FBSD_ASDF_COMPILE_PORT=t PORTNAME=${PORTNAME} WRKSRC=${WRKSRC}/ \ ${CLISP} ${LISP_EXTRA_ARG} -ansi -norc \ -i ${LOCALBASE}/etc/asdf-init \ -x "(asdf:oos 'asdf:compile-op :${MODULE})" @${FIND} ${WRKSRC} -name "*.lib" | ${XARGS} ${RM} .endif # USE_CLISP .endfor .endif # !target(do-build) .if !target(do-install) do-install: @${MKDIR} ${STAGEDIR}${FASL_PATHNAME} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FASL_PATHNAME} .endif # !target(do-install) post-install: @cd ${WRKSRC} && ${FIND} * -type f \ | ${SORT} \ | ${AWK} '{ print "${CL_LIBDIR_REL}/${PORTNAME}/${FASL_DIR_REL}/" $$1 }' \ >> ${TMPPLIST} @cd ${WRKSRC} && ${FIND} * -type d \ | ${SORT} -r \ | ${AWK} '{ print "@dirrm ${CL_LIBDIR_REL}/${PORTNAME}/${FASL_DIR_REL}/" $$1 }' \ >> ${TMPPLIST} @${ECHO_CMD} "@dirrm ${CL_LIBDIR_REL}/${PORTNAME}/${FASL_DIR_REL}" >> ${TMPPLIST} .endif # FASL_BUILD Index: head/devel/glib20-reference/bsd.gnome-reference.mk =================================================================== --- head/devel/glib20-reference/bsd.gnome-reference.mk (revision 394507) +++ head/devel/glib20-reference/bsd.gnome-reference.mk (revision 394508) @@ -1,62 +1,59 @@ # $FreeBSD$ PARENTDIR?= ${.CURDIR:S|-reference$||} REFERENCE_PORT= ${PKGORIGIN:S|-reference$||} PORTSCOUT= ignore:1 .include "${PARENTDIR}/Makefile" .if !defined(DOCSDIR) DOCSDIR:= ${PREFIX}/share/doc/${PORTNAME} .endif .if !defined(EXAMPLESDIR) EXAMPLESDIR:= ${PREFIX}/share/examples/${PORTNAME} .endif .if defined(DISTNAME) DISTNAME:= ${DISTNAME} .else DISTNAME:= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} .endif .if defined(MASTER_SITE_SUBDIR) MASTER_SITE_SUBDIR:= ${MASTER_SITE_SUBDIR} .endif PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-reference -.if defined(LATEST_LINK) -LATEST_LINK:= ${LATEST_LINK}-reference -.endif COMMENT= Programming reference for ${REFERENCE_PORT} DISTINFO_FILE= ${PARENTDIR}/distinfo REFERENCE_SRC?= ${WRKSRC}/docs/reference BOOKS?= . PORTDOCS?= * .if !target(do-build) do-build: @${DO_NADA} .endif make-descr: @${ECHO_CMD} "This port contains the programming reference for ${REFERENCE_PORT}." > ${DESCR} @www=`${GREP} "^WWW:" ${PARENTDIR}/pkg-descr` || ${TRUE}; \ if [ -n "$$www" ]; then \ ${ECHO_CMD} "" >> ${DESCR}; \ ${ECHO_CMD} "$$www" >> ${DESCR}; \ fi .if !target(do-install) do-install: . for d in ${BOOKS} if [ -d ${REFERENCE_SRC}/${d}/html ]; then \ ${MKDIR} ${STAGEDIR}${DOCSDIR}/${d}; \ cd ${REFERENCE_SRC}/${d}/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${d}; \ fi . endfor .endif .include Index: head/devel/insight/Makefile =================================================================== --- head/devel/insight/Makefile (revision 394507) +++ head/devel/insight/Makefile (revision 394508) @@ -1,17 +1,15 @@ # Created by: Mikhail Teterin # $FreeBSD$ PORTREVISION= 2 MAINTAINER= mi@aldan.algebra.com COMMENT= Gnu debugger with the Insight GUI front-end -LATEST_LINK= insight - MASTERDIR= ${.CURDIR:H}/gdb66 OPTIONS_SLAVE= INSIGHT CONFLICTS= gdb-[6-9]* MAKE_JOBS_UNSAFE= yes .include "${MASTERDIR}/Makefile" Index: head/devel/llvm-cheri/Makefile =================================================================== --- head/devel/llvm-cheri/Makefile (revision 394507) +++ head/devel/llvm-cheri/Makefile (revision 394508) @@ -1,242 +1,241 @@ # $FreeBSD$ PORTNAME= llvm PORTVERSION= 3.8.d20150730 PORTREVISION= 1 CATEGORIES= devel lang PKGNAMESUFFIX= ${LLVM_SUFFIX} MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang with support for the CHERI architecture LLVM_SUFFIX= -cheri LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} COMMAND_PREFIX= cheri-unknown-freebsd- COMMAND_SUFFIX= DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -UNIQUENAME= ${PORTNAME}${LLVM_SUFFIX} USES= cmake:outsource compiler:c++11-lib libedit ninja perl5 USE_LDCONFIG= ${LLVM_PREFIX}/lib SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON USE_GITHUB= yes GH_ACCOUNT= CTSRD-CHERI GH_TAGNAME= ${LLVM_COMMIT} LLVM_COMMIT= 6ceec22d782d30aaca11d424cbdfbd25e9f809a2 CLANG_COMMIT= 27828bc4475a8a424b9f8bd029dce96c381cb661 LLDB_COMMIT= 7ee5905d0109a13d543a127a9cda7c280c8103c8 OPTIONS_DEFINE= CLANG DOCS LIT LLDB OPTIONS_DEFAULT= CLANG LIT LLDB OPTIONS_SUB= yes CLANG_DESC= Build clang CLANG_EXTRA_PATCHES= ${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt CLANG_CONFLICTS_INSTALL= clang-devel-3.[1234567]* CLANG_GH_PROJECT= clang:clang CLANG_GH_TAGNAME= ${CLANG_COMMIT}:clang CLANG_PORTDOCS= clang DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} LIT_DESC= Install lit and FileCheck test tools LLDB_DESC= Install lldb, the LLVM debugger (ignore on 9.x) LLDB_BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 LLDB_GH_PROJECT= lldb:lldb LLDB_GH_TAGNAME= ${LLDB_COMMIT}:lldb OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx LLVM_RELEASE= ${PORTVERSION:C/\.r[0-9]*//} PLIST_SUB+= LLVM_RELEASE=${LLVM_RELEASE} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-profdata \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-stress \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MCLANG} COMMANDS+= clang \ clang++ \ clang-check \ clang-cpp \ clang-format MAN1SRCS+= clang.1 .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 FileCheck.1 _USES_PYTHON= python LIT_COMMANDS= lit llvm-lit FileCheck .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= argdumper \ lldb \ lldb-mi \ lldb-server _USES_PYTHON= python .endif _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 \ llvm-diff.1 llvm-dis.1 llvm-dwarfdump.1 \ llvm-extract.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-readobj.1 llvm-stress.1 llvm-symbolizer.1 \ opt.1 tblgen.1 NOT_FOR_ARCH= ia64 .include .if ${COMPILER_TYPE} != clang # Evil hack around gcc48 not providing a usable c++11 environment on 9.x PLIST_SUB:= ${PLIST_SUB:NLLDB=*} LLDB="@comment " .endif post-extract-CLANG-on: ${MV} ${WRKSRC_clang} ${PATCH_WRKSRC}/tools/clang post-extract-LLDB-on: .if ${COMPILER_TYPE} == clang ${MV} ${WRKSRC_lldb} ${PATCH_WRKSRC}/tools/lldb .endif post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py post-install: ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${COMMAND_PREFIX}${FIRST_COMMAND}${COMMAND_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${COMMAND_PREFIX}${FIRST_COMMAND}${COMMAND_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${COMMAND_PREFIX}${command}${COMMAND_SUFFIX} .endfor post-install-DOCS-on: ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR} .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${MANPREFIX}/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ post-install-LLDB-on: .if ${COMPILER_TYPE} == clang ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib .endif post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/${COMMAND_PREFIX}lit${COMMAND_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/${COMMAND_PREFIX}llvm-lit${COMMAND_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/${COMMAND_PREFIX}FileCheck${COMMAND_SUFFIX} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} -f ${PLIST} ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${COMMAND_PREFIX}${command}${COMMAND_SUFFIX} >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${COMMAND_PREFIX}${command}${COMMAND_SUFFIX} >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v 'lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${PORTVERSION}|%%PORTVERSION%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' | \ ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' | \ ${SORT} >> ${PLIST}.tmp awk '{if ($$0 ~ /clang/ && $$0 !~ /omp.h/) {printf "%%%%CLANG%%%%"} if ($$0 ~ /(argdumper|lldb)/) {printf "%%%%LLDB%%%%"} print}' ${PLIST}.tmp >> ${PLIST} ${RM} -f ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .include Index: head/devel/llvm-devel/Makefile =================================================================== --- head/devel/llvm-devel/Makefile (revision 394507) +++ head/devel/llvm-devel/Makefile (revision 394508) @@ -1,273 +1,272 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= llvm PORTVERSION= 3.8.d20150806 PORTREVISION= 1 CATEGORIES= devel lang PKGNAMESUFFIX= -devel MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang LLVM_SUFFIX= -devel LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -UNIQUENAME= ${PORTNAME}${LLVM_SUFFIX} USES= cmake:outsource compiler:c++11-lib libedit ninja perl5 USE_LDCONFIG= ${LLVM_PREFIX}/lib SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON USE_GITHUB= yes GH_ACCOUNT= llvm-mirror GH_TAGNAME= ${LLVM_COMMIT} LLVM_COMMIT= b12f9b395416d17a5aaf6c9ffe507ee01c6469e3 CLANG_COMMIT= 4428a80a2f0ad253766f1c49315400935dd04ead LLD_COMMIT= 754e78c2a7593764867b8671fcd1018433e820f5 LLDB_COMMIT= f89c12e54d5d81c18f4d3f63826d568f6257cabc OPENMP_COMMIT= d90b41fbdaa1036f7a36651449bdcb32813f8423 OPTIONS_DEFINE= CLANG DOCS GOLD LIT LLD LLDB OPTIONS_DEFINE_amd64= OPENMP OPTIONS_DEFAULT= CLANG GOLD LIT LLD LLDB OPTIONS_DEFAULT_amd64= OPENMP OPTIONS_SUB= yes CLANG_DESC= Build clang CLANG_EXTRA_PATCHES= ${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt CLANG_CONFLICTS_INSTALL= clang-devel-3.[1234567]* CLANG_GH_PROJECT= clang:clang CLANG_GH_TAGNAME= ${CLANG_COMMIT}:clang CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} LIT_DESC= Install lit and FileCheck test tools LLD_DESC= Install lld, the LLVM linker LLD_GH_PROJECT= lld:lld LLD_GH_TAGNAME= ${LLD_COMMIT}:lld LLDB_DESC= Install lldb, the LLVM debugger (ignored on 9.x) LLDB_BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 LLDB_GH_PROJECT= lldb:lldb LLDB_GH_TAGNAME= ${LLDB_COMMIT}:lldb OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_CONFLICTS_INSTALL= libiomp5-devel-* OPENMP_GH_PROJECT= openmp:openmp OPENMP_GH_TAGNAME= ${OPENMP_COMMIT}:openmp GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ld.gold:${PORTSDIR}/devel/binutils OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx LLVM_RELEASE= ${PORTVERSION:C/\.r[0-9]*//} PLIST_SUB+= LLVM_RELEASE=${LLVM_RELEASE} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-profdata \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-stress \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MCLANG} COMMANDS+= clang \ clang++ \ clang-check \ clang-cpp \ clang-format MAN1SRCS+= clang.1 .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 FileCheck.1 _USES_PYTHON= python LIT_COMMANDS= lit llvm-lit FileCheck .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= lld PORTDOCS+= lld .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= argdumper \ lldb \ lldb-mi \ lldb-server _USES_PYTHON= python .endif .if ! ${OPTIONS_DEFINE:MOPENMP} # Hack to disable OPENMP in plist of unsupported architectures PLIST_SUB+= OPENMP="@comment " .else .endif _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 \ llvm-diff.1 llvm-dis.1 llvm-dwarfdump.1 \ llvm-extract.1 llvm-lib.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-readobj.1 llvm-stress.1 llvm-symbolizer.1 \ opt.1 tblgen.1 NOT_FOR_ARCH= ia64 .include .if ${COMPILER_TYPE} != clang # Evil hack around gcc48 not providing a usable c++11 environment on 9.x PLIST_SUB:= ${PLIST_SUB:NLLDB=*} LLDB="@comment " .endif post-extract-CLANG-on: ${MV} ${WRKSRC_clang} ${PATCH_WRKSRC}/tools/clang post-extract-LLD-on: ${MV} ${WRKSRC_lld} ${PATCH_WRKSRC}/tools/lld post-extract-LLDB-on: .if ${COMPILER_TYPE} == clang ${MV} ${WRKSRC_lldb} ${PATCH_WRKSRC}/tools/lldb .endif post-extract-OPENMP-on: ${MV} ${WRKSRC_openmp} ${PATCH_WRKSRC}/tools/openmp post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py post-install: ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR} .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${MANPREFIX}/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ post-install-LLDB-on: .if ${COMPILER_TYPE} == clang ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib .endif post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} -f ${PLIST} ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v 'lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${PORTVERSION}|%%PORTVERSION%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' | \ ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' | \ ${SORT} >> ${PLIST}.tmp awk '{if ($$0 ~ /clang/ && $$0 !~ /omp.h/) {printf "%%%%CLANG%%%%"} if ($$0 ~ /lld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} if ($$0 ~ /(argdumper|lldb)/) {printf "%%%%LLDB%%%%"} if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} print}' ${PLIST}.tmp >> ${PLIST} ${RM} -f ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .include Index: head/devel/llvm33/Makefile =================================================================== --- head/devel/llvm33/Makefile (revision 394507) +++ head/devel/llvm33/Makefile (revision 394508) @@ -1,280 +1,279 @@ # $FreeBSD$ PORTNAME= llvm PORTVERSION= 3.3 PORTREVISION= 11 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src PKGNAMESUFFIX= ${LLVM_SUFFIX} MAINTAINER= brooks@FreeBSD.org COMMENT= Low Level Virtual Machine LLVM_SUFFIX= ${PORTVERSION:S/.//g} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -UNIQUENAME= ${PORTNAME}${LLVM_SUFFIX} USES= execinfo gmake perl5 GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${LLVM_PREFIX} USE_LDCONFIG= ${LLVM_PREFIX}/lib SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" # Suggested tweaks from http://llvm.org/docs/Packaging.html CONFIGURE_ARGS+= --enable-shared MAKE_ARGS+= REQUIRES_RTTI=1 LIBNAME= libLLVM-${DISTVERSION:C/\rc[0-9]//}.so CONFIGURE_ARGS+= --enable-bindings=none CONFIGURE_ARGS+= --enable-optimized OPTIONS_DEFINE= ASSERTS CMAKE DOCS LIT LTOPLUGIN MANPAGES ASSERTS_DESC= Enable assertions (thread unsafe) CMAKE_DESC= Build cmake support files LIT_DESC= Install lit and FileCheck test tools (requires python) LTOPLUGIN_DESC= Build LTO plugin (requires gold) OPTIONS_DEFAULT= CMAKE LIT MANPAGES OPTIONS_SUB= yes PLIST_SUB+= PORTVERSION=${PORTVERSION} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-prof \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-stress \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ libLLVM-${PORTVERSION}.so.0 \ libLTO.so \ libprofile_rt.so # Enable AMD r600 backend used by the r600/radeonsi graphics/dri gallium drivers CONFIGURE_ARGS+=--enable-experimental-targets=R600 .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MASSERTS} CONFIGURE_ARGS+= --enable-assertions RELEASE_TYPE= Release+Asserts .else CONFIGURE_ARGS+= --disable-assertions RELEASE_TYPE= Release .endif .if ${PORT_OPTIONS:MCMAKE} BUILD_DEPENDS+= cmake:${PORTSDIR}/devel/cmake PORTDATA+= cmake .endif .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx .endif .if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --enable-docs .else CONFIGURE_ARGS+= --disable-docs .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 USES+= python:-2.9 LIT_COMMANDS= lit llvm-lit FileCheck .else USES+= python:-2.9,build .endif .if ${PORT_OPTIONS:MLTOPLUGIN} BUILD_DEPENDS+= ld.gold:${PORTSDIR}/devel/binutils RUN_DEPENDS+= ld.gold:${PORTSDIR}/devel/binutils CONFIGURE_ARGS+= --with-binutils-include=${LOCALBASE}/include PLIST_FILES+= llvm${LLVM_SUFFIX}/lib/LLVMgold.so .endif .if ${PORT_OPTIONS:MMANPAGES} MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-config.1 llvm-cov.1 llvm-diff.1 \ llvm-dis.1 llvm-extract.1 llvm-link.1 llvm-nm.1 \ llvm-prof.1 llvm-ranlib.1 llvm-stress.1 opt.1 tblgen.1 PLIST_FILES+= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} .endif NOT_FOR_ARCH= ia64 .include .if ${ARCH} == "arm" BROKEN= Does not compile on arm .elif ${ARCH} == "sparc64" BROKEN= does not compile on sparc64 .endif .if ${ARCH} == "amd64" CONFIGURE_ARGS+= --enable-pic --with-pic .endif .if ${ARCH} == "i386" CONFIGURE_ARGS+= --with-optimize-option=-O2 .endif post-patch: ${REINPLACE_CMD} -e 's|${PORTVERSION}svn|${PORTVERSION}|g' \ ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py .if ${PORT_OPTIONS:MCMAKE} post-configure: ${MKDIR} ${WRKDIR}/cmake cd ${WRKDIR}/cmake && cmake -DPYTHON_EXECUTABLE=${PYTHON_CMD} -G "Unix Makefiles" ${WRKSRC} ${REINPLACE_CMD} -e 's|${WRKDIR}/cmake|${LLVM_PREFIX}|' \ -e 's|${WRKSRC}/cmake/modules|${DATADIR}/cmake|' \ ${WRKDIR}/cmake/share/llvm/cmake/LLVMConfig.cmake .endif post-build: .if ${PORT_OPTIONS:MMANPAGES} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx man .endif .if ${PORT_OPTIONS:MDOCS} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx html .endif post-install: ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} \ ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME}.0 ${LN} -sf ${LIBNAME}.0 ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} ${STRIP_CMD} ${STRIP_LIBS:S|^|${STAGEDIR}${LLVM_PREFIX}/lib/|} ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor .if ${PORT_OPTIONS:MCMAKE} ${MKDIR} ${STAGEDIR}${DATADIR}/cmake ${INSTALL_DATA} ${WRKSRC}/cmake/modules/*.cmake \ ${WRKDIR}/cmake/share/llvm/cmake/*.cmake \ ${STAGEDIR}${DATADIR}/cmake/ .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${FIND} ${WRKSRC}/docs/_build/html -type f | \ ${XARGS} -I _DOC_ ${INSTALL_DATA} _DOC_ ${STAGEDIR}${DOCSDIR}/html/ .endif .if ${PORT_OPTIONS:MLIT} ${INSTALL_SCRIPT} ${WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_PROGRAM} ${WRKSRC}/${RELEASE_TYPE}/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} .endif .if ${PORT_OPTIONS:MMANPAGES} for man in ${MAN1SRCS}; do \ ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/$${man} \ ${STAGEDIR}${MANPREFIX}/man/man1/$${man%.1}${LLVM_SUFFIX}.1 ; \ done .endif TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} -f ${PLIST} .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST} .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}${LLVM_SUFFIX} >> ${PLIST} ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||}/bin/${command} >> ${PLIST} .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v 'lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${PORTVERSION}|%%PORTVERSION%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${DOCSDIR} -type f | \ ${SED} -e 's|${STAGEDIR}${DOCSDIR}|%%PORTDOCS%%%%DOCSDIR%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type d | \ ${SED} -e 's|${STAGEDIR}${PREFIX}/||' | \ ${SORT} -r | ${SED} -e 's|^|@dirrm |' >> ${PLIST} echo "%%LIT%%@dirrm %%PYTHON_SITELIBDIR%%/lit${LLVM_SUFFIX}" >> ${PLIST} ${FIND} ${STAGEDIR}${DOCSDIR} -type d | \ ${SED} -e 's|${STAGEDIR}${DOCSDIR}|%%PORTDOCS%%@dirrm %%DOCSDIR%%|' | \ ${SORT} -r >> ${PLIST} .if make(svn-patch) .if !defined(PATCH_REV) .error svn-patch requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/llvm/trunk svn-patch: ${PRINTF} "$$%s$$\n" FreeBSD > ${_PATCH_FILE} svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} .endif .include Index: head/devel/llvm34/Makefile =================================================================== --- head/devel/llvm34/Makefile (revision 394507) +++ head/devel/llvm34/Makefile (revision 394508) @@ -1,286 +1,285 @@ # $FreeBSD$ PORTNAME= llvm PORTVERSION= 3.4.2 PORTREVISION= 2 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src PKGNAMESUFFIX= ${LLVM_SUFFIX} MAINTAINER= brooks@FreeBSD.org COMMENT= Low Level Virtual Machine LLVM_SUFFIX= ${PORTVERSION:C/([0-9]\.[0-9]).*/\1/:S/.//g:C/r.//} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -UNIQUENAME= ${PORTNAME}${LLVM_SUFFIX} WRKSRC= ${WRKDIR}/llvm-${PORTVERSION}.src USES= execinfo gmake perl5 GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${LLVM_PREFIX} USE_LDCONFIG= ${LLVM_PREFIX}/lib SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" # Suggested tweaks from http://llvm.org/docs/Packaging.html CONFIGURE_ARGS+= --enable-shared MAKE_ARGS+= REQUIRES_RTTI=1 LIBNAME= libLLVM-${DISTVERSION:C/([0-9]\.[0-9]).*/\1/:C/rc[0-9]//}.so CONFIGURE_ARGS+= --enable-bindings=none CONFIGURE_ARGS+= --enable-optimized OPTIONS_DEFINE= ASSERTS CMAKE DOCS LIT LTOPLUGIN MANPAGES ASSERTS_DESC= Enable assertions (thread unsafe) CMAKE_DESC= Build cmake support files LIT_DESC= Install lit and FileCheck test tools (requires python) LTOPLUGIN_DESC= Build LTO plugin (requires gold) OPTIONS_DEFAULT= CMAKE LIT MANPAGES OPTIONS_SUB= yes PLIST_SUB+= LLVM_SUFFIX=${LLVM_SUFFIX} \ PORTVERSION=${PORTVERSION} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-stress \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so # Enable AMD r600 backend used by the r600/radeonsi graphics/dri gallium drivers CONFIGURE_ARGS+=--enable-experimental-targets=R600 .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MASSERTS} CONFIGURE_ARGS+= --enable-assertions RELEASE_TYPE= Release+Asserts .else CONFIGURE_ARGS+= --disable-assertions RELEASE_TYPE= Release .endif .if ${PORT_OPTIONS:MCMAKE} BUILD_DEPENDS+= cmake:${PORTSDIR}/devel/cmake PORTDATA+= cmake .endif .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx .endif .if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --enable-docs .else CONFIGURE_ARGS+= --disable-docs .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 USES+= python LIT_COMMANDS= lit llvm-lit FileCheck .else USES+= python:build .endif .if ${PORT_OPTIONS:MLTOPLUGIN} BUILD_DEPENDS+= ld.gold:${PORTSDIR}/devel/binutils RUN_DEPENDS+= ld.gold:${PORTSDIR}/devel/binutils CONFIGURE_ARGS+= --with-binutils-include=${LOCALBASE}/include PLIST_FILES+= llvm${LLVM_SUFFIX}/lib/LLVMgold.so .endif .if ${PORT_OPTIONS:MMANPAGES} MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-config.1 llvm-cov.1 llvm-diff.1 \ llvm-dis.1 llvm-extract.1 llvm-link.1 llvm-nm.1 \ llvm-prof.1 llvm-stress.1 opt.1 tblgen.1 PLIST_FILES+= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} .endif NOT_FOR_ARCH= ia64 .include .if ${ARCH} == "amd64" CONFIGURE_ARGS+= --enable-pic --with-pic .endif .if ${ARCH} == "i386" CONFIGURE_ARGS+= --with-optimize-option=-O2 .endif post-patch: ${REINPLACE_CMD} -e 's|${PORTVERSION}svn|${PORTVERSION}|g' \ ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py \ ${WRKSRC}/utils/lit/lit/formats/*.py .if ${PORT_OPTIONS:MCMAKE} post-configure: ${MKDIR} ${WRKDIR}/cmake cd ${WRKDIR}/cmake && cmake -G "Unix Makefiles" ${WRKSRC} ${REINPLACE_CMD} -e 's|${WRKDIR}/cmake|${LLVM_PREFIX}|' \ -e 's|${WRKSRC}/cmake/modules|${DATADIR}/cmake|' \ ${WRKDIR}/cmake/share/llvm/cmake/LLVMConfig.cmake .endif post-build: .if ${PORT_OPTIONS:MMANPAGES} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx man .endif .if ${PORT_OPTIONS:MDOCS} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx html .endif post-install: ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} \ ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME}.0 ${LN} -sf ${LIBNAME}.0 ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} ${STRIP_CMD} ${STRIP_LIBS:S|^|${STAGEDIR}${LLVM_PREFIX}/lib/|} ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor .if ${PORT_OPTIONS:MCMAKE} ${MKDIR} ${STAGEDIR}${DATADIR}/cmake ${INSTALL_DATA} ${WRKSRC}/cmake/modules/*.cmake \ ${WRKDIR}/cmake/share/llvm/cmake/*.cmake \ ${STAGEDIR}${DATADIR}/cmake/ .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${FIND} ${WRKSRC}/docs/_build/html -type f | \ ${XARGS} -I _DOC_ ${INSTALL_DATA} _DOC_ ${STAGEDIR}${DOCSDIR}/html/ .endif .if ${PORT_OPTIONS:MLIT} ${INSTALL_SCRIPT} ${WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKSRC}/${RELEASE_TYPE}/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} .endif .if ${PORT_OPTIONS:MMANPAGES} for man in ${MAN1SRCS}; do \ ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/$${man} \ ${STAGEDIR}${MANPREFIX}/man/man1/$${man%.1}${LLVM_SUFFIX}.1 ; \ done .endif TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} -f ${PLIST} .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST} .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}%%LLVM_SUFFIX%% >> ${PLIST} ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||:C|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} \ >> ${PLIST} .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v 'lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' \ -e 's|${PORTVERSION}|%%PORTVERSION%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${DOCSDIR} -type f | \ ${SED} -e 's|${STAGEDIR}${DOCSDIR}|%%PORTDOCS%%%%DOCSDIR%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type d | \ ${SED} -e 's|${STAGEDIR}${PREFIX}/||' | \ ${SORT} -r | ${SED} -e 's|^|@dirrm |' \ -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' >> ${PLIST} echo "%%LIT%%@dirrm %%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%" >> \ ${PLIST} echo "%%LIT%%@dirrm %%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%/formats" >> \ ${PLIST} ${FIND} ${STAGEDIR}${DOCSDIR} -type d | \ ${SED} -e 's|${STAGEDIR}${DOCSDIR}|%%PORTDOCS%%@dirrm %%DOCSDIR%%|' | \ ${SORT} -r >> ${PLIST} .if make(svn-patch) .if !defined(PATCH_REV) .error svn-patch requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/llvm/trunk svn-patch: ${PRINTF} "$$%s$$\n" FreeBSD > ${_PATCH_FILE} svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} .endif .include Index: head/devel/llvm35/Makefile =================================================================== --- head/devel/llvm35/Makefile (revision 394507) +++ head/devel/llvm35/Makefile (revision 394508) @@ -1,283 +1,282 @@ # $FreeBSD$ PORTNAME= llvm DISTVERSION= 3.5.2 PORTREVISION= 1 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/3.5.2/ DISTNAME= ${PORTNAME}-${DISTVERSION}.src PKGNAMESUFFIX= ${LLVM_SUFFIX} MAINTAINER= brooks@FreeBSD.org COMMENT= Low Level Virtual Machine LLVM_SUFFIX= ${PORTVERSION:C/([0-9]\.[0-9]).*/\1/:S/.//g:C/r.//} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -UNIQUENAME= ${PORTNAME}${LLVM_SUFFIX} WRKSRC= ${WRKDIR}/llvm-${DISTVERSION}.src USES= compiler:c++11-lib execinfo gmake perl5 tar:xz libedit GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${LLVM_PREFIX} USE_LDCONFIG= ${LLVM_PREFIX}/lib SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" # Suggested tweaks from http://llvm.org/docs/Packaging.html CONFIGURE_ARGS+= --enable-shared MAKE_ARGS+= REQUIRES_RTTI=1 LIBNAME= libLLVM-3.5.so CONFIGURE_ARGS+= --enable-bindings=none CONFIGURE_ARGS+= --enable-optimized OPTIONS_DEFINE= ASSERTS CMAKE DOCS LIT LTOPLUGIN MANPAGES ASSERTS_DESC= Enable assertions (thread unsafe) CMAKE_DESC= Build cmake support files LIT_DESC= Install lit and FileCheck test tools (requires python) LTOPLUGIN_DESC= Build LTO plugin (requires gold) OPTIONS_DEFAULT= LIT MANPAGES OPTIONS_SUB= yes PLIST_SUB+= LLVM_SUFFIX=${LLVM_SUFFIX} \ PORTVERSION=${PORTVERSION} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-stress \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so # Enable AMD r600 backend used by the r600/radeonsi graphics/dri gallium drivers CONFIGURE_ARGS+=--enable-experimental-targets=R600 .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MASSERTS} CONFIGURE_ARGS+= --enable-assertions RELEASE_TYPE= Release+Asserts .else CONFIGURE_ARGS+= --disable-assertions RELEASE_TYPE= Release .endif .if ${PORT_OPTIONS:MCMAKE} BUILD_DEPENDS+= cmake:${PORTSDIR}/devel/cmake PORTDATA+= cmake .endif .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx .endif .if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --enable-docs .else CONFIGURE_ARGS+= --disable-docs .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 USES+= python LIT_COMMANDS= lit llvm-lit FileCheck .else USES+= python:build .endif .if ${PORT_OPTIONS:MLTOPLUGIN} BUILD_DEPENDS+= ld.gold:${PORTSDIR}/devel/binutils RUN_DEPENDS+= ld.gold:${PORTSDIR}/devel/binutils CONFIGURE_ARGS+= --with-binutils-include=${LOCALBASE}/include PLIST_FILES+= llvm${LLVM_SUFFIX}/lib/LLVMgold.so .endif .if ${PORT_OPTIONS:MMANPAGES} MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-config.1 llvm-cov.1 llvm-diff.1 \ llvm-dis.1 llvm-extract.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-stress.1 opt.1 tblgen.1 PLIST_FILES+= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} .endif NOT_FOR_ARCH= ia64 .include .if ${OSVERSION} < 900000 BROKEN= GCC failing on 8.x .endif .if ${PORT_OPTIONS:MCMAKE} && ${COMPILER_TYPE} != clang BROKEN= CMake support only works with clang .endif .if ${ARCH} == "amd64" CONFIGURE_ARGS+= --enable-pic --with-pic .endif .if ${ARCH} == "i386" CONFIGURE_ARGS+= --with-optimize-option=-O2 .endif post-patch: ${REINPLACE_CMD} -e 's|${PORTVERSION}svn|${PORTVERSION}|g' \ ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py \ ${WRKSRC}/utils/lit/lit/formats/*.py .if ${PORT_OPTIONS:MCMAKE} post-configure: ${MKDIR} ${WRKDIR}/cmake cd ${WRKDIR}/cmake && cmake -G "Unix Makefiles" -DCMAKE_C_COMPILER:STRING="${CC}" -DCMAKE_CXX_COMPILER:STRING="${CXX}" ${WRKSRC} ${REINPLACE_CMD} -e 's|${WRKDIR}/cmake|${LLVM_PREFIX}|' \ -e 's|${WRKSRC}/cmake/modules|${DATADIR}/cmake|' \ ${WRKDIR}/cmake/share/llvm/cmake/LLVMConfig.cmake .endif post-build: .if ${PORT_OPTIONS:MMANPAGES} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx man .endif .if ${PORT_OPTIONS:MDOCS} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx html .endif post-install: ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} \ ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME}.0 ${LN} -sf ${LIBNAME}.0 ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} ${STRIP_CMD} ${STRIP_LIBS:S|^|${STAGEDIR}${LLVM_PREFIX}/lib/|} ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor .if ${PORT_OPTIONS:MCMAKE} ${MKDIR} ${STAGEDIR}${DATADIR}/cmake ${INSTALL_DATA} ${WRKSRC}/cmake/modules/*.cmake \ ${WRKDIR}/cmake/share/llvm/cmake/*.cmake \ ${STAGEDIR}${DATADIR}/cmake/ .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${FIND} ${WRKSRC}/docs/_build/html -type f | \ ${XARGS} -I _DOC_ ${INSTALL_DATA} _DOC_ ${STAGEDIR}${DOCSDIR}/html/ .endif .if ${PORT_OPTIONS:MLIT} ${INSTALL_SCRIPT} ${WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKSRC}/${RELEASE_TYPE}/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} .endif .if ${PORT_OPTIONS:MMANPAGES} for man in ${MAN1SRCS}; do \ ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/$${man} \ ${STAGEDIR}${MANPREFIX}/man/man1/$${man%.1}${LLVM_SUFFIX}.1 ; \ done .endif TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} -f ${PLIST} .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST} .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}%%LLVM_SUFFIX%% >> ${PLIST} ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||:C|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} \ >> ${PLIST} .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v 'lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' \ -e 's|${PORTVERSION}|%%PORTVERSION%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${DOCSDIR} -type f | \ ${SED} -e 's|${STAGEDIR}${DOCSDIR}|%%PORTDOCS%%%%DOCSDIR%%|' | \ ${SORT} >> ${PLIST} .if make(svn-patch) .if !defined(PATCH_REV) .error svn-patch requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/llvm/trunk svn-patch: ${PRINTF} "$$%s$$\n" FreeBSD > ${_PATCH_FILE} svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} .endif .include Index: head/devel/llvm36/Makefile =================================================================== --- head/devel/llvm36/Makefile (revision 394507) +++ head/devel/llvm36/Makefile (revision 394508) @@ -1,293 +1,292 @@ # $FreeBSD$ PORTNAME= llvm DISTVERSION= 3.6.2 PORTREVISION= 1 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/3.6.2/ DISTNAME= ${PORTNAME}-${DISTVERSION}.src PKGNAMESUFFIX= ${LLVM_SUFFIX} MAINTAINER= brooks@FreeBSD.org COMMENT= Low Level Virtual Machine LLVM_SUFFIX= ${PORTVERSION:C/([0-9]\.[0-9]).*/\1/:S/.//g:C/r.//} LLVM_RELEASE= ${PORTVERSION:C/([0-9]\.[0-9].[0-9]).*/\1/} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -UNIQUENAME= ${PORTNAME}${LLVM_SUFFIX} WRKSRC= ${WRKDIR}/llvm-${DISTVERSION}.src USES= compiler:c++11-lib execinfo gmake perl5 tar:xz libedit GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${LLVM_PREFIX} USE_LDCONFIG= ${LLVM_PREFIX}/lib SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" # Suggested tweaks from http://llvm.org/docs/Packaging.html CONFIGURE_ARGS+= --enable-shared MAKE_ARGS+= REQUIRES_RTTI=1 LIBNAME= libLLVM-${LLVM_RELEASE:C/([0-9]\.[0-9]).*/\1/}.so CONFIGURE_ARGS+= --enable-bindings=none CONFIGURE_ARGS+= --enable-optimized OPTIONS_DEFINE= ASSERTS CMAKE DOCS LIT LTOPLUGIN MANPAGES ASSERTS_DESC= Enable assertions (thread unsafe) CMAKE_DESC= Build cmake support files LIT_DESC= Install lit and FileCheck test tools (requires python) LTOPLUGIN_DESC= Build LTO plugin (requires gold) OPTIONS_DEFAULT= LIT MANPAGES OPTIONS_SUB= yes PLIST_SUB+= LLVM_SUFFIX=${LLVM_SUFFIX} \ LLVM_RELEASE=${LLVM_RELEASE} COMMANDS= bugpoint \ count \ llc \ lli \ lli-child-target \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dsymutil \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-profdata \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-stress \ llvm-symbolizer \ llvm-tblgen \ llvm-vtabledump \ macho-dump \ not \ obj2yaml \ opt \ verify-uselistorder \ yaml2obj FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so # Enable AMD r600 backend used by the r600/radeonsi graphics/dri gallium drivers CONFIGURE_ARGS+=--enable-experimental-targets=R600 .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MASSERTS} CONFIGURE_ARGS+= --enable-assertions RELEASE_TYPE= Release+Asserts .else CONFIGURE_ARGS+= --disable-assertions RELEASE_TYPE= Release .endif .if ${PORT_OPTIONS:MCMAKE} BUILD_DEPENDS+= cmake:${PORTSDIR}/devel/cmake PORTDATA+= cmake .endif .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx .endif .if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --enable-docs .else CONFIGURE_ARGS+= --disable-docs .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 USES+= python LIT_COMMANDS= lit llvm-lit FileCheck .else USES+= python:build .endif .if ${PORT_OPTIONS:MLTOPLUGIN} BUILD_DEPENDS+= ld.gold:${PORTSDIR}/devel/binutils RUN_DEPENDS+= ld.gold:${PORTSDIR}/devel/binutils CONFIGURE_ARGS+= --with-binutils-include=${LOCALBASE}/include PLIST_FILES+= llvm${LLVM_SUFFIX}/lib/LLVMgold.so .endif .if ${PORT_OPTIONS:MMANPAGES} MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-config.1 llvm-cov.1 llvm-diff.1 \ llvm-dis.1 llvm-extract.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-stress.1 opt.1 tblgen.1 PLIST_FILES+= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} .endif NOT_FOR_ARCH= ia64 .include .if ${OSVERSION} < 900000 BROKEN= GCC failing on 8.x .endif .if ${PORT_OPTIONS:MCMAKE} && ${COMPILER_TYPE} != clang BROKEN= CMake support only works with clang .endif .if ${ARCH} == "amd64" CONFIGURE_ARGS+= --enable-pic --with-pic .endif .if ${ARCH} == "i386" CONFIGURE_ARGS+= --with-optimize-option=-O2 .endif post-patch: ${REINPLACE_CMD} -e 's|${LLVM_RELEASE}svn|${LLVM_RELEASE}|g' \ ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py \ ${WRKSRC}/utils/lit/lit/formats/*.py .if ${PORT_OPTIONS:MCMAKE} post-configure: ${MKDIR} ${WRKDIR}/cmake cd ${WRKDIR}/cmake && cmake -G "Unix Makefiles" -DCMAKE_C_COMPILER:STRING="${CC}" -DCMAKE_CXX_COMPILER:STRING="${CXX}" ${WRKSRC} ${REINPLACE_CMD} -e 's|${WRKDIR}/cmake|${LLVM_PREFIX}|' \ -e 's|${WRKSRC}/cmake/modules|${DATADIR}/cmake|' \ ${WRKDIR}/cmake/share/llvm/cmake/LLVMConfig.cmake .endif post-build: .if ${PORT_OPTIONS:MMANPAGES} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx man .endif .if ${PORT_OPTIONS:MDOCS} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx html .endif post-install: ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} \ ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME}.0 ${LN} -sf ${LIBNAME}.0 ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} ${STRIP_CMD} ${STRIP_LIBS:S|^|${STAGEDIR}${LLVM_PREFIX}/lib/|} ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor .if ${PORT_OPTIONS:MCMAKE} ${MKDIR} ${STAGEDIR}${DATADIR}/cmake ${INSTALL_DATA} ${WRKSRC}/cmake/modules/*.cmake \ ${WRKDIR}/cmake/share/llvm/cmake/*.cmake \ ${STAGEDIR}${DATADIR}/cmake/ .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${FIND} ${WRKSRC}/docs/_build/html -type f | \ ${XARGS} -I _DOC_ ${INSTALL_DATA} _DOC_ ${STAGEDIR}${DOCSDIR}/html/ .endif .if ${PORT_OPTIONS:MLIT} ${INSTALL_SCRIPT} ${WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKSRC}/${RELEASE_TYPE}/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} .endif .if ${PORT_OPTIONS:MMANPAGES} for man in ${MAN1SRCS}; do \ ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/$${man} \ ${STAGEDIR}${MANPREFIX}/man/man1/$${man%.1}${LLVM_SUFFIX}.1 ; \ done .endif TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} -f ${PLIST} .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST} .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}%%LLVM_SUFFIX%% >> ${PLIST} ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||:C|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} \ >> ${PLIST} .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v 'lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' \ -e 's|${LLVM_RELEASE}|%%LLVM_RELEASE%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${DOCSDIR} -type f | \ ${SED} -e 's|${STAGEDIR}${DOCSDIR}|%%PORTDOCS%%%%DOCSDIR%%|' | \ ${SORT} >> ${PLIST} .if make(svn-patch) .if !defined(PATCH_REV) .error svn-patch requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/llvm/trunk svn-patch: ${PRINTF} "$$%s$$\n" FreeBSD > ${_PATCH_FILE} svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} .endif .include Index: head/devel/llvm37/Makefile =================================================================== --- head/devel/llvm37/Makefile (revision 394507) +++ head/devel/llvm37/Makefile (revision 394508) @@ -1,285 +1,284 @@ # $FreeBSD$ PORTNAME= llvm DISTVERSION= 3.7.0rc2 PORTREVISION= 1 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR} DISTNAME= ${PORTNAME}-${DISTVERSION}.src DISTFILES= ${PORTNAME}-${DISTVERSION}.src${EXTRACT_SUFX} PKGNAMESUFFIX= ${LLVM_SUFFIX} MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang LLVM_RELEASE= ${DISTVERSION:C/rc.*//} RCDIR= ${DISTVERSION:S/${LLVM_RELEASE}//:C|(rc.*)|\1/|} PRE_= ${DISTVERSION:C/.*rc.*/pre-/:N*[0-9]*} LLVM_SUFFIX= ${DISTVERSION:R:S/.//} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -UNIQUENAME= ${PORTNAME}${LLVM_SUFFIX} USES= cmake:outsource compiler:c++11-lib libedit ninja perl5 tar:xz USE_LDCONFIG= ${LLVM_PREFIX}/lib SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON OPTIONS_DEFINE= CLANG DOCS GOLD LIT LLD LLDB OPTIONS_DEFINE_amd64= OPENMP OPTIONS_DEFAULT= CLANG GOLD LIT LLD LLDB OPTIONS_DEFAULT_amd64= OPENMP OPTIONS_SUB= yes CLANG_DESC= Build clang CLANG_EXTRA_PATCHES= \ ${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt \ ${PATCHDIR}/clang-patch-svn-244209 \ ${PATCHDIR}/clang-patch-svn-245041 CLANG_CONFLICTS_INSTALL= clang-devel-3.[1234567]* CLANG_DISTFILES= cfe-${DISTVERSION}.src${EXTRACT_SUFX} CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} LIT_DESC= Install lit and FileCheck test tools LLD_DESC= Install lld, the LLVM linker LLD_DISTFILES= lld-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_DESC= Install lldb, the LLVM debugger (ignored on 9.x) LLDB_BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 LLDB_DISTFILES= lldb-${DISTVERSION}.src${EXTRACT_SUFX} OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_DISTFILES= openmp-${DISTVERSION}.src${EXTRACT_SUFX} GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ld.gold:${PORTSDIR}/devel/binutils # Emulate USE_GITHUB's ${WRKSRC_tag} to reduce diffs to ../llvm-devel .for option in CLANG LLD LLDB OPENMP WRKSRC_${option:tl}= ${WRKDIR}/${${option}_DISTFILES:S/${EXTRACT_SUFX}//} .endfor OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx LLVM_RELEASE= ${PORTVERSION:C/\.r[0-9]*//} PLIST_SUB+= LLVM_RELEASE=${LLVM_RELEASE} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-profdata \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-stress \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MCLANG} COMMANDS+= clang \ clang++ \ clang-check \ clang-cpp \ clang-format MAN1SRCS+= clang.1 .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 FileCheck.1 _USES_PYTHON= python LIT_COMMANDS= lit llvm-lit FileCheck .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= lld PORTDOCS+= lld .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= argdumper \ lldb \ lldb-mi \ lldb-server _USES_PYTHON= python .endif .if ! ${OPTIONS_DEFINE:MOPENMP} # Hack to disable OPENMP in plist of unsupported architectures PLIST_SUB+= OPENMP="@comment " .else .endif _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 \ llvm-diff.1 llvm-dis.1 llvm-dwarfdump.1 \ llvm-extract.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-readobj.1 llvm-stress.1 llvm-symbolizer.1 \ opt.1 tblgen.1 NOT_FOR_ARCH= ia64 .include .if ${OPSYS} == "FreeBSD" && ${COMPILER_TYPE} != clang # Evil hack around gcc48 not providing a usable c++11 environment on 9.x PLIST_SUB:= ${PLIST_SUB:NLLDB=*} LLDB="@comment " .endif post-extract-CLANG-on: ${MV} ${WRKSRC_clang} ${PATCH_WRKSRC}/tools/clang post-extract-LLD-on: ${MV} ${WRKSRC_lld} ${PATCH_WRKSRC}/tools/lld post-extract-LLDB-on: .if ${OPSYS} != "FreeBSD" || ${COMPILER_TYPE} == clang ${MV} ${WRKSRC_lldb} ${PATCH_WRKSRC}/tools/lldb .endif post-extract-OPENMP-on: ${MV} ${WRKSRC_openmp} ${PATCH_WRKSRC}/tools/openmp post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py post-install: ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/llvm/MC/MCAnalysis ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR} .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${MANPREFIX}/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ post-install-LLDB-on: .if ${OPSYS} != "FreeBSD" || ${COMPILER_TYPE} == clang ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib .endif post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} -f ${PLIST} ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v 'lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${PORTVERSION}|%%PORTVERSION%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' | \ ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' | \ ${SORT} >> ${PLIST}.tmp awk '{if ($$0 ~ /clang/ && $$0 !~ /omp.h/) {printf "%%%%CLANG%%%%"} if ($$0 ~ /lld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} if ($$0 ~ /(argdumper|lldb)/) {printf "%%%%LLDB%%%%"} if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} print}' ${PLIST}.tmp >> ${PLIST} ${RM} -f ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .if make(svn-patch-clang) .if !defined(PATCH_REV) .error svn-patch-clang requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/clang-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/cfe/trunk svn-patch-clang: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \ sed -E -e 's;^(---|\+\+\+) ;\1 tools/clang/;' >> ${_PATCH_FILE} .endif .include Index: head/devel/ocaml-camlp5/Makefile =================================================================== --- head/devel/ocaml-camlp5/Makefile (revision 394507) +++ head/devel/ocaml-camlp5/Makefile (revision 394508) @@ -1,61 +1,61 @@ # Created by: Hirohisa Yamaguchi # $FreeBSD$ PORTNAME= camlp5 PORTVERSION= 6.13 CATEGORIES= devel MASTER_SITES= http://camlp5.gforge.inria.fr/distrib/src/ \ http://cristal.inria.fr/~ddr/camlp5/distrib/src/ \ http://pauillac.inria.fr/~ddr/camlp5/distrib/src/ PKGNAMEPREFIX= ocaml- -DIST_SUBDIR= ${UNIQUENAME} +DIST_SUBDIR= ${PKGBASE} PATCH_SITES= ${MASTER_SITES} MAINTAINER= ports@FreeBSD.org COMMENT= Preprocessor-pretty-printer of OCaml LICENSE= INRIA LICENSE_NAME= INRIA permissive license with copyright notice requirements LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= tar:tgz USE_OCAML= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix ${PREFIX} OPTIONS_SINGLE= MODE OPTIONS_SINGLE_MODE= TRANSITIONAL STRICT OPTIONS_DEFAULT= STRICT TRANSITIONAL_DESC= Compatible syntax tree with old versions STRICT_DESC= New syntax tree quotations kit OPTIONS_DEFINE= DOCS DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} PORTDOCS= CHANGES DEVEL ICHANGES INSTALL MODE README UPGRADING MAKE_JOBS_UNSAFE= yes .include .if ${PORT_OPTIONS:MTRANSITIONAL} CONFIGURE_ARGS+= --transitional .elif ${PORT_OPTIONS:MSTRICT} CONFIGURE_ARGS+= --strict .endif ALL_TARGET= world.opt post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .endif ${INSTALL_DATA} ${WRKSRC}/etc/META \ ${STAGEDIR}${PREFIX}/lib/ocaml/camlp5 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/camlp5*.opt .include Index: head/devel/oniguruma/Makefile =================================================================== --- head/devel/oniguruma/Makefile (revision 394507) +++ head/devel/oniguruma/Makefile (revision 394508) @@ -1,41 +1,40 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= oniguruma PORTVERSION= 2.5.8 CATEGORIES= devel textproc MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/:onig \ http://www.SpringDaemons.com/stas/:ruby DISTFILES= onigd${PORTVERSION:S/./_/g}${EXTRACT_SUFX}:onig \ ruby187p248-oniguruma.patch:ruby DIST_SUBDIR= ruby EXTRACT_ONLY= onigd${PORTVERSION:S/./_/g}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= BSDL Regular Expressions library compatible with POSIX/GNU/Perl WRKSRC= ${WRKDIR}/${PORTNAME} -NO_LATEST_LINK= yes CONFLICTS_INSTALL= oniguruma-4.* GNU_CONFIGURE= yes DOCS= HISTORY README doc/* OPTIONS_DEFINE= DOCS EXAMPLES post-patch: ${CP} ${DISTDIR}/${DIST_SUBDIR}/ruby187p248-oniguruma.patch \ ${WRKSRC}/ruby187.patch post-configure: ${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ ${FILESDIR}/onig-config > ${WRKSRC}/onig-config post-install: ${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${STAGEDIR}${PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR}/ .include Index: head/devel/oniguruma4/Makefile =================================================================== --- head/devel/oniguruma4/Makefile (revision 394507) +++ head/devel/oniguruma4/Makefile (revision 394508) @@ -1,44 +1,43 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= oniguruma PORTVERSION= 4.7.1 PORTREVISION= 1 CATEGORIES= devel textproc MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/ DISTNAME= onig-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= ports@FreeBSD.org COMMENT= BSDL Regular Expressions library compatible with POSIX/GNU/Perl LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -NO_LATEST_LINK= yes USES= libtool CONFLICTS= oniguruma-2.* GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip DOCS= HISTORY README doc/* PKGNAMESUFFIX= 4 OPTIONS_DEFINE= DOCS EXAMPLES post-configure: @${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ ${FILESDIR}/onig-config > ${WRKSRC}/onig-config post-install: ${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${STAGEDIR}${PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/sample/*.c ${WRKSRC}/sample/Makefile* \ ${STAGEDIR}${EXAMPLESDIR}/ .include Index: head/devel/php-memoize/Makefile =================================================================== --- head/devel/php-memoize/Makefile (revision 394507) +++ head/devel/php-memoize/Makefile (revision 394508) @@ -1,47 +1,45 @@ # Created by: Gasol Wu # $FreeBSD$ -PORTNAME= memoize +PORTNAME= php-memoize PORTVERSION= 0.2.0b1 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= devel -PKGNAMEPREFIX= php- MAINTAINER= gasol.wu@gmail.com COMMENT= PHP extension which transparently caches PHP functions USE_GITHUB= yes GH_ACCOUNT= arraypad -GH_PROJECT= ${UNIQUENAME} USE_PHP= yes USE_PHPEXT= yes USE_PHPIZE= yes USE_PHP_BUILD= yes CONFIGURE_ARGS= --enable-memoize OPTIONS_DEFINE= APC MEMCACHED MEMORY OPTIONS_DEFAULT= MEMORY APC_DESC= Enable memoize APC module MEMCACHED_DESC= Enable memcached storage module MEMORY_DESC= Enable the memoize memory storage module .include .if ${PORT_OPTIONS:MAPC} CONFIGURE_ARGS+= --enable-memoize-apc BUILD_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC .endif .if ${PORT_OPTIONS:MMEMCACHED} CONFIGURE_ARGS+= --with-memoize-memcached BUILD_DEPENDS+= libmemcached>0:${PORTSDIR}/databases/libmemcached RUN_DEPENDS+= libmemcached>0:${PORTSDIR}/databases/libmemcached .endif .if empty(PORT_OPTIONS:MMEMORY) CONFIGURE_ARGS+= --disable-memoize-memory .endif .include Index: head/devel/py-funcparserlib/Makefile =================================================================== --- head/devel/py-funcparserlib/Makefile (revision 394507) +++ head/devel/py-funcparserlib/Makefile (revision 394508) @@ -1,31 +1,31 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= funcparserlib PORTVERSION= 0.3.6 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= Recursive descent parsing library based on functional combinators LICENSE= MIT USES= python USE_PYTHON= distutils autoplist PORTDOCS= README doc -DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} OPTIONS_DEFINE= DOCS post-install: @${RM} -f ${WRKSRC}/doc/Makefile @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${INSTALL_WRKSRC} \ && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \ && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \; .include Index: head/devel/py-gdata/Makefile =================================================================== --- head/devel/py-gdata/Makefile (revision 394507) +++ head/devel/py-gdata/Makefile (revision 394508) @@ -1,49 +1,47 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PORTNAME= gdata PORTVERSION= 2.0.18 CATEGORIES= devel python MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= olivierd@FreeBSD.org COMMENT= GData Python Client Library LICENSE= APACHE20 PROJECTHOST= gdata-python-client USES= python:2 USE_PYTHON= distutils OPTIONS_DEFINE= GMPY M2CRYPTO PYCRYPTO EXAMPLES # optional modules (see src/gdata/tlslite/utils/cryptomath.py) GMPY_DESC= Multiprecision arithmetic M2CRYPTO_DESC= Cryptography and SSL toolkit PYCRYPTO_DESC= Cryptography toolkit -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options - EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} .include .if ${PORT_OPTIONS:MM2CRYPTO} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}m2crypto>=0.20:${PORTSDIR}/security/py-m2crypto .endif .if ${PORT_OPTIONS:MPYCRYPTO} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto .endif .if ${PORT_OPTIONS:MGMPY} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gmpy>0:${PORTSDIR}/math/py-gmpy .endif post-install: .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ @cd ${WRKSRC}/samples && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .endif .include Index: head/devel/py-ice/Makefile =================================================================== --- head/devel/py-ice/Makefile (revision 394507) +++ head/devel/py-ice/Makefile (revision 394508) @@ -1,49 +1,48 @@ # Created by: Boris B. Samorodov # $FreeBSD$ CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= freebsd@grem.de COMMENT= Ice (Internet Communications Engine) language mapping for Python LICENSE= GPLv2 BUILD_DEPENDS= mcpp:${PORTSDIR}/devel/mcpp LIB_DEPENDS= libIce.so.${LIB_VRS}:${PORTSDIR}/devel/ice USES= python shebangfix SLAVE_PORT= yes MASTERDIR= ${.CURDIR}/../ice PLIST= ${.CURDIR}/pkg-plist BUILD_WRKSRC= ${WRKSRC}/python INSTALL_WRKSRC= ${WRKSRC}/python SHEBANG_LANG= python python_OLD_CMD= /usr/bin/env python SHEBANG_FILES= ${BUILD_WRKSRC}/config/s2py.py MAKE_ENV+= PYTHON_VERSION=${PYTHON_VERSION} LIB_VRS= ${PORTVERSION:S|.||g:C|[0-9]$||} PLIST_SUB= LIB_VERSION="${PORTVERSION}" LIB_VRS="${LIB_VRS}" # bypass infrastructure bug (taken from www/py-django) -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= DEBUG TESTS OPTIONS_DEFAULT=TESTS TESTS_DESC= Run tests post-install: ${STRIP_CMD} ${STAGEDIR}${PYSITEDIR}/Ice/*.so.* ${ECHO} "Ice" > ${STAGEDIR}${PYSITEDIR}/Ice.pth @${FIND} ${STAGEDIR}${PYSITEDIR}/Ice \( -name "*.pyc" -or -name "*.pyo" \) \ -exec ${CHMOD} u+w {} \; @${PYTHON_CMD} -m compileall -d ${PYSITEDIR}/Ice ${STAGEDIR}${PYSITEDIR}/Ice @${PYTHON_CMD} -O -m compileall -d ${PYSITEDIR}/Ice ${STAGEDIR}${PYSITEDIR}/Ice ${INSTALL_MAN} ${WRKSRC}/man/man1/slice2py.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_SCRIPT} ${BUILD_WRKSRC}/config/s2py.py \ ${STAGEDIR}${PREFIX}/bin/slice2py .include "${MASTERDIR}/Makefile" Index: head/devel/py-jsonrpclib/Makefile =================================================================== --- head/devel/py-jsonrpclib/Makefile (revision 394507) +++ head/devel/py-jsonrpclib/Makefile (revision 394508) @@ -1,29 +1,28 @@ # Created by: Attila Nagy # $FreeBSD$ PORTNAME= jsonrpclib PORTVERSION= 0.1.3 PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bra@fsn.hu COMMENT= Implements the JSON-RPC 2.0 proposed specification in pure Python LICENSE= APACHE20 USES= python:2 USE_PYTHON= distutils autoplist -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options OPTIONS_DEFINE= CJSON CJSON_DESC= Use cjson instead of json or simplejson .include .if ${PORT_OPTIONS:MCJSON} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cjson>0:${PORTSDIR}/devel/py-cjson .endif .include Index: head/devel/py-memoryprofiler/Makefile =================================================================== --- head/devel/py-memoryprofiler/Makefile (revision 394507) +++ head/devel/py-memoryprofiler/Makefile (revision 394508) @@ -1,25 +1,23 @@ # Created by: Johannes Meixner # $FreeBSD$ PORTNAME= memoryprofiler PORTVERSION= 0.31 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= memory_profiler-${PORTVERSION} MAINTAINER= xmj@chaot.net COMMENT= Line-by-line and process memory consumption analysis LICENSE= BSD2CLAUSE OPTIONS_DEFINE= PSUTIL PSUTIL_DESC= Use psutil for better performance PSUTIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>1.0.0:${PORTSDIR}/sysutils/py-psutil -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options - USES= python USE_PYTHON= distutils autoplist .include Index: head/devel/py-qt4/bsd.pyqt.mk =================================================================== --- head/devel/py-qt4/bsd.pyqt.mk (revision 394507) +++ head/devel/py-qt4/bsd.pyqt.mk (revision 394508) @@ -1,122 +1,121 @@ # bsd.pyqt.mk - Global definitions for PyQt related ports # # $FreeBSD$ # # Port variables: # PYQT4_DIST - This port is part of PyQt4 itself. Variables and # targets are then set assuming a certain tarball and # port layout. # PYQT_MAINTAINER= kde@FreeBSD.org MASTER_SITE_RIVERBANK= http://www.riverbankcomputing.com/static/Downloads/%SUBDIR%/ MASTER_SITES_SIP= SF/pyqt/sip/sip-${PORTVERSION} \ GENTOO MASTER_SITES_PYQT4= SF/pyqt/PyQt4/PyQt-${PORTVERSION} \ GENTOO MASTER_SITES_QSCI2= SF/pyqt/QScintilla2/QScintilla-${PORTVERSION} \ GENTOO SIP_VERSION= 4.16.5 PYQT4_VERSION= 4.11.3 QSCI2_VERSION= 2.8.4 SIP_DISTNAME= sip-${SIP_VERSION} PYQT4_DISTNAME= PyQt-x11-gpl-${PYQT4_VERSION} PYQT4_DISTINFO_FILE= ${.CURDIR}/../../devel/py-qt4/distinfo QSCI2_DISTNAME= QScintilla-gpl-${QSCI2_VERSION} QSCI2_DISTINFO_FILE= ${.CURDIR}/../../devel/qscintilla2/distinfo PYQT4_COMPONENTS= assistant core dbus dbussupport declarative \ demo designer designerplugin doc gui help \ multimedia network opengl phonon qscintilla2 \ script scripttools sql svg test webkit xml \ xmlpatterns assistant_PORT= devel/py-qt4-assistant core_PORT= devel/py-qt4-core dbus_PORT= devel/py-qt4-dbus dbussupport_PORT= devel/py-qt4-dbussupport declarative_PORT= devel/py-qt4-declarative demo_PORT= misc/py-qt4-demo designer_PORT= devel/py-qt4-designer designerplugin_PORT= devel/py-qt4-designerplugin doc_PORT= misc/py-qt4-doc gui_PORT= x11-toolkits/py-qt4-gui help_PORT= devel/py-qt4-help multimedia_PORT= multimedia/py-qt4-multimedia network_PORT= net/py-qt4-network opengl_PORT= x11/py-qt4-opengl phonon_PORT= multimedia/py-qt4-phonon qscintilla2_PORT= devel/py-qt4-qscintilla2 script_PORT= devel/py-qt4-script scripttools_PORT= devel/py-qt4-scripttools sql_PORT= databases/py-qt4-sql svg_PORT= graphics/py-qt4-svg test_PORT= devel/py-qt4-test webkit_PORT= www/py-qt4-webkit xml_PORT= textproc/py-qt4-xml xmlpatterns_PORT= textproc/py-qt4-xmlpatterns assistant_DESC= Python bindings for QtAssistant module core_DESC= Python bindings for QtCore module dbus_DESC= Python bindings for QtDBus module dbussupport_DESC= Python bindings for D-Bus declarative_DESC= Python bindings for QtDeclarative module demo_DESC= PyQt4 demo and examples designer_DESC= Python bindings for QtDesigner module designerplugin_DESC= Python bindings for QtDesigner plugin doc_DESC= PyQt4 documentation gui_DESC= Python bindings for QtGui module help_DESC= Python bindings for QtHelp module multimedia_DESC= Python bindings for Multimedia module network_DESC= Python bindings for QtNetwork module opengl_DESC= Python bindings for QtOpenGL module phonon_DESC= Python bindings for Phonon module qscintilla2_DESC= Python bindings for QScintilla2 script_DESC= Python bindings for QtScript module scripttools_DESC= Python bindings for QtScriptTools module sql_DESC= Python bindings for QtSql module svg_DESC= Python bindings for QtSvg module test_DESC= Python bindings for QtTest module webkit_DESC= Python bindings for QtWebKit module xml_DESC= Python bindings for QtXml module xmlpatterns_DESC= Python bindings for QtXmlPatterns module .if defined(PYQT4_DIST) PORTVERSION= ${PYQT4_VERSION} MASTER_SITES= ${MASTER_SITES_PYQT4} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4- DISTNAME= ${PYQT4_DISTNAME} DISTINFO_FILE= ${PYQT4_DISTINFO_FILE} HAS_CONFIGURE= yes USES+= python QT_NONSTANDARD= yes # Do not add unknown arguments to CONFIGURE_ARGS. PATCHDIR= ${.CURDIR}/../../devel/py-qt4-core/files -OPTIONSFILE?= ${PORT_DBDIR}/py-qt4-${PORTNAME}/options SIPDIR= ${PREFIX}/share/py-sip QSCIDIR= ${PREFIX}/share/qt4/qsci CONFIGURE_ARGS+=-b ${PREFIX}/bin \ -d ${PYTHONPREFIX_SITELIBDIR} \ -q ${QMAKE} \ --confirm-license \ --sipdir ${SIPDIR} # One of the things PyQt4 looks for to determine whether to build the Qt DBus # main loop module (py-qt4-dbussupport) is whether the dbus/ directory is # present. Only extract it for that port then. .if ${PORTNAME} != "dbussupport" EXTRACT_AFTER_ARGS+= --exclude "${DISTNAME}/dbus" .endif # ${PORTNAME} != "dbussupport" .if !target(do-configure) do-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${PYTHON_CMD} configure.py ${CONFIGURE_ARGS} .endif # !target(do-configure) .endif # defined(PYQT4_DIST) Index: head/devel/py-qt4-qscintilla2/Makefile =================================================================== --- head/devel/py-qt4-qscintilla2/Makefile (revision 394507) +++ head/devel/py-qt4-qscintilla2/Makefile (revision 394508) @@ -1,45 +1,44 @@ # Created by: Danny Pansters # $FreeBSD$ PORTNAME= qscintilla2 PORTVERSION= ${QSCI2_VERSION} PORTEPOCH= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITES_QSCI2} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4- DISTNAME= ${QSCI2_DISTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for QScintilla2 (PyQt4), QSci module LIB_DEPENDS= libqscintilla2.so:${PORTSDIR}/devel/qscintilla2 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION}:${PORTSDIR}/devel/py-sip \ ${PYTHON_PKGNAMEPREFIX}qt4-core>=${PYQT_VERSION}:${PORTSDIR}/devel/py-qt4-core \ ${PYTHON_PKGNAMEPREFIX}qt4-gui>=${PYQT_VERSION}:${PORTSDIR}/x11-toolkits/py-qt4-gui RUN_DEPENDS:= ${BUILD_DEPENDS} DESTDIRNAME= INSTALL_ROOT DISTINFO_FILE= ${QSCI2_DISTINFO_FILE} HAS_CONFIGURE= yes USES= python USE_QT4= gui moc_build qmake_build QT_NONSTANDARD= yes # Do not add unknown arguments to CONFIGURE_ARGS. OPTIONS_DEFINE= DEBUG DEBUG_CONFIGURE_ON= --debug --trace -OPTIONSFILE?= ${PORT_DBDIR}/py-qt4-${PORTNAME}/options SIPDIR= ${PREFIX}/share/py-sip QSCIDIR= ${PREFIX}/share/qt4/qsci CONFIGURE_ARGS= --pyqt PyQt4 -d ${PYTHONPREFIX_SITELIBDIR}/PyQt4 -v ${SIPDIR} \ --apidir ${QSCIDIR} --qmake ${QMAKE} --pyqt-sipdir ${SIPDIR} WRKSRC= ${WRKDIR}/${DISTNAME}/Python ALL_TARGET= #empty .include "${.CURDIR}/../py-qt4/bsd.pyqt.mk" do-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV}\ ${PYTHON_CMD} configure.py ${CONFIGURE_ARGS} .include Index: head/devel/py-rauth/Makefile =================================================================== --- head/devel/py-rauth/Makefile (revision 394507) +++ head/devel/py-rauth/Makefile (revision 394508) @@ -1,40 +1,39 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= rauth PORTVERSION= 0.6.2 PORTREVISION= 2 CATEGORIES= devel www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Python library for OAuth 1.0/a, 2.0, and Ofly consumers LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests1>=1.2.3:${PORTSDIR}/www/py-requests1 TEST_DEPENDS:= ${RUN_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}nose>=1.2.1:${PORTSDIR}/devel/py-nose \ ${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:${PORTSDIR}/devel/py-mock \ ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:${PORTSDIR}/security/py-pycrypto OPTIONS_DEFINE= TESTS TESTS_DESC= Install tools for unit testing -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options USE_GITHUB= yes GH_ACCOUNT= litl USES= python USE_PYTHON= distutils autoplist .include .if ${PORT_OPTIONS:MTESTS} BUILD_DEPENDS:= ${TEST_DEPENDS} .endif regression-test: build @cd ${WRKSRC} && nosetests .include Index: head/devel/py-tables/Makefile =================================================================== --- head/devel/py-tables/Makefile (revision 394507) +++ head/devel/py-tables/Makefile (revision 394508) @@ -1,73 +1,72 @@ # Created by: ijliao@FreeBSD.org # $FreeBSD$ PORTNAME= tables PORTVERSION= 3.2.0 CATEGORIES= devel python MASTER_SITES= SF/py${PORTNAME:tl}/py${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= tables-${PORTVERSION}.tar.gz pytablesmanual-${PORTVERSION}.pdf EXTRACT_ONLY= tables-${PORTVERSION}.tar.gz MAINTAINER= wen@FreeBSD.org COMMENT= Hierarchical database for Python LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYNUMPY} \ ${LOCALBASE}/bin/cython:${PORTSDIR}/lang/cython \ ${PYTHON_PKGNAMEPREFIX}numexpr>=1.4.1:${PORTSDIR}/math/py-numexpr LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5 \ liblzo2.so:${PORTSDIR}/archivers/lzo2 \ libucl.so:${PORTSDIR}/archivers/ucl RUN_DEPENDS:= ${BUILD_DEPENDS} USES= fortran python USE_PYTHON= distutils PLIST_FILES= bin/pt2to3 bin/ptdump bin/ptrepack bin/pttree OPTIONS_DEFINE= PYREX DOCS EXAMPLES PYREX_DESC= Use code generated by Pyrex to build PYREX_BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Pyrex/__init__.py:${PORTSDIR}/devel/pyrex -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options .include post-patch: @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py post-install: @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables ! -type d | \ ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables -type d | ${SORT} -r | \ ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/pytablesmanual-${PORTVERSION}.pdf ${STAGEDIR}${DOCSDIR} ${ECHO} '${STAGEDIR}${DOCSDIR}/pytablesmanual-${PORTVERSION}.pdf' | ${SED} 's,^${STAGEDIR}${PREFIX}/,,' \ >> ${TMPPLIST} ${ECHO} '${STAGEDIR}${DOCSDIR}' | ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' \ >> ${TMPPLIST} .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR} @${FIND} ${STAGEDIR}${EXAMPLESDIR} ! -type d | \ ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${STAGEDIR}${EXAMPLESDIR} -type d | ${SORT} -r | \ ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .endif ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables/_comp_bzip2.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables/_comp_lzo.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables/tableextension.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables/hdf5extension.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables/indexesextension.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables/linkextension.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables/utilsextension.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables/lrucacheextension.so .include Index: head/devel/py-twisted/Makefile =================================================================== --- head/devel/py-twisted/Makefile (revision 394507) +++ head/devel/py-twisted/Makefile (revision 394508) @@ -1,41 +1,40 @@ # Created by: Johann Visagie # $FreeBSD$ PORTNAME= twisted PORTVERSION= 15.2.1 CATEGORIES= devel net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Metaport of Twisted, an event-driven networking engine LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twistedCore>=${PORTVERSION}:${PORTSDIR}/devel/py-twistedCore USES= metaport python:2 # Bypass infrastructure bug -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= CONCH LORE MAIL NAMES NEWS PAIR RUNNER WEB WORDS OPTIONS_DEFAULT=CONCH LORE MAIL NAMES NEWS PAIR RUNNER WEB WORDS CONCH_DESC= SSH and SFTP protocol LORE_DESC= Documentation generator MAIL_DESC= SMTP, IMAP and POP protocol NAMES_DESC= DNS protocol NEWS_DESC= NNTP protocol PAIR_DESC= Twisted Pair can do low level TCP work RUNNER_DESC= Process management WEB_DESC= HTTP protocol WORDS_DESC= Chat and Instant Messaging CONCH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twistedConch>=${PORTVERSION}:${PORTSDIR}/security/py-twistedConch LORE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twistedLore>=${PORTVERSION}:${PORTSDIR}/textproc/py-twistedLore MAIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twistedMail>=${PORTVERSION}:${PORTSDIR}/mail/py-twistedMail NAMES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twistedNames>=${PORTVERSION}:${PORTSDIR}/dns/py-twistedNames NEWS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twistedNews>=${PORTVERSION}:${PORTSDIR}/news/py-twistedNews PAIR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twistedPair>=${PORTVERSION}:${PORTSDIR}/net/py-twistedPair RUNNER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twistedRunner>=${PORTVERSION}:${PORTSDIR}/devel/py-twistedRunner WEB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twistedWeb>=${PORTVERSION}:${PORTSDIR}/www/py-twistedWeb WORDS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twistedWords>=${PORTVERSION}:${PORTSDIR}/net-im/py-twistedWords .include Index: head/devel/py-urwid/Makefile =================================================================== --- head/devel/py-urwid/Makefile (revision 394507) +++ head/devel/py-urwid/Makefile (revision 394508) @@ -1,45 +1,43 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= urwid PORTVERSION= 1.2.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Curses-based user interface library for Python LICENSE= LGPL21 -# Bypass ports infrastructure bug -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= EXAMPLES USES= python USE_PYTHON= distutils autoplist PORTEXAMPLES= bigtext.py \ browse.py \ calc.py \ dialog.py \ edit.py \ fib.py \ graph.py \ input_test.py \ lcd_cf635.py \ palette_test.py \ pop_up.py \ subproc.py \ tour.py \ treesample.py EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ (cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/) regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} -m urwid.tests .include Index: head/devel/py-watchdog/Makefile =================================================================== --- head/devel/py-watchdog/Makefile (revision 394507) +++ head/devel/py-watchdog/Makefile (revision 394508) @@ -1,46 +1,45 @@ # $FreeBSD$ PORTNAME= watchdog PORTVERSION= 0.8.2 DISTVERSIONPREFIX= v PORTREVISION= 0 CATEGORIES= devel PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Python API library to monitor file system events LICENSE= APACHE20 RUN_DEPENDS= ${PKGNAMEPREFIX}argh>=0.24.1:${PORTSDIR}/devel/py-argh \ ${PKGNAMEPREFIX}pathtools>=0.1.2:${PORTSDIR}/devel/py-pathtools \ ${PKGNAMEPREFIX}yaml>=3.10:${PORTSDIR}/devel/py-yaml DOCS_BUILD_DEPENDS= ${PKGNAMEPREFIX}pathtools>=0.1.2:${PORTSDIR}/devel/py-pathtools \ ${PKGNAMEPREFIX}sphinx>=1.1.3:${PORTSDIR}/textproc/py-sphinx DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} GH_ACCOUNT= gorakhargosh -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= DOCS PORTDOCS= * USE_GITHUB= yes USES= python USE_PYTHON= autoplist distutils .include .if ${PORT_OPTIONS:MDOCS} post-build: (cd ${WRKSRC}/docs ; ${MAKE} html) post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs/build/html ; \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo") .endif .include Index: head/devel/py-wheel/Makefile =================================================================== --- head/devel/py-wheel/Makefile (revision 394507) +++ head/devel/py-wheel/Makefile (revision 394508) @@ -1,30 +1,29 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= wheel PORTVERSION= 0.24.0 PORTREVISION= 0 CATEGORIES= devel MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Built-package format for Python LICENSE= MIT OPTIONS_DEFINE= PIP SIGNATURE -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options PIP_DESC= Use pip to install wheels PIP_RUN_DEPENDS= pip:${PORTSDIR}/devel/py-pip SIGNATURE_DESC= Enable digital signature of wheels SIGNATURE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dirspec>=13.05:${PORTSDIR}/devel/py-dirspec \ ${PYTHON_PKGNAMEPREFIX}keyring>=1.3:${PORTSDIR}/security/py-keyring \ ${PYTHON_PKGNAMEPREFIX}xdg>=0.25:${PORTSDIR}/devel/py-xdg USES= python USE_PYTHON= distutils autoplist .include Index: head/devel/ruby-langscan/Makefile =================================================================== --- head/devel/ruby-langscan/Makefile (revision 394507) +++ head/devel/ruby-langscan/Makefile (revision 394508) @@ -1,68 +1,67 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= langscan PORTVERSION= 1.2.20070115 CATEGORIES= devel ruby MASTER_SITES= LOCAL/tota/${PORTNAME} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DIST_SUBDIR= ${RUBY_PKGNAMEPREFIX:S|${RUBY_SUFFIX}-||} MAINTAINER= tota@FreeBSD.org COMMENT= Program analyzer for source code search engine LICENSE= GPLv2 RUN_DEPENDS= p5-PPI>=0:${PORTSDIR}/textproc/p5-PPI BUILD_DEPENDS= flex>=2.5.31:${PORTSDIR}/textproc/flex USES= perl5 USE_AUTOTOOLS= aclocal:env automake:env autoconf:env USE_RUBY= yes USE_PERL5= run USE_OCAML= yes NO_OCAML_RUNDEPENDS= yes HAS_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= ChangeLog NEWS README DOCSDIR= ${RUBY_MODDOCDIR} OPTIONS_DEFINE= DOCS -OPTIONSFILE= ${PORT_DBDIR}/ruby-${PORTNAME}/options CFLAGS+= -fPIC CFLAGS+= -I${LOCALBASE}/include/ruby-${RUBY_VER} \ -I${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH} PLIST_SUB+= RIPPER="@comment " post-patch: ${REINPLACE_CMD} "s|\(flex --version\)|${LOCALBASE}/bin/\1|" ${WRKSRC}/autogen.sh ${FIND} ${WRKSRC} -name Makefile.am | ${XARGS} ${REINPLACE_CMD} "s|flex|${LOCALBASE}/bin/flex|" pre-configure: cd ${CONFIGURE_WRKSRC}; ${SH} autogen.sh post-install: ${CHMOD} ${BINMODE} ${STAGEDIR}${RUBY_SITEARCHLIBDIR}/${PORTNAME}/ocaml/camlexer @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${INSTALL_WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor x-generate-plist: ${ECHO} %%RUBY_SITELIBDIR%%/langscan.rb > pkg-plist.new ${FIND} ${RUBY_SITEARCHLIBDIR}/${PORTNAME} -type f | ${SORT} | ${SED} -e 's,${RUBY_SITEARCHLIBDIR},%%RUBY_SITEARCHLIBDIR%%,' >> pkg-plist.new ${FIND} ${RUBY_SITELIBDIR}/${PORTNAME} -type f | ${SORT} | ${SED} -e 's,${RUBY_SITELIBDIR},%%RUBY_SITELIBDIR%%,' >> pkg-plist.new ${FIND} ${RUBY_SITELIBDIR}/${PORTNAME} -type d -depth | ${SORT} -r | ${SED} -e 's,${RUBY_SITELIBDIR},@dirrm %%RUBY_SITELIBDIR%%,' >> pkg-plist.new ${FIND} ${RUBY_SITEARCHLIBDIR}/${PORTNAME} -type d -depth | ${SORT} -r | ${SED} -e 's,${RUBY_SITEARCHLIBDIR},@dirrm %%RUBY_SITEARCHLIBDIR%%,' >> pkg-plist.new .include .if ${RUBY_VER} >= 2.1 BROKEN= Does not build .endif .include Index: head/devel/rubygem-app_config/Makefile =================================================================== --- head/devel/rubygem-app_config/Makefile (revision 394507) +++ head/devel/rubygem-app_config/Makefile (revision 394508) @@ -1,36 +1,35 @@ # $FreeBSD$ PORTNAME= app_config PORTVERSION= 2.1.3 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= milki@FreeBSD.org COMMENT= Ruby gem for storing application configuration LICENSE= MIT OPTIONS_DEFINE= MONGO SQLITE3 OPTIONS_DEFAULT= SQLITE3 MONGO_DESC= mongo backend support SQLITE3_DESC= sqlite3 backend support -OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options .include .if ${PORT_OPTIONS:MSQLITE3} RUN_DEPENDS+= rubygem-sqlite3>=0:${PORTSDIR}/databases/rubygem-sqlite3 .endif .if ${PORT_OPTIONS:MMONGO} RUN_DEPENDS+= rubygem-mongo>=0:${PORTSDIR}/devel/rubygem-mongo .endif NO_ARCH= yes USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes .include Index: head/devel/subcommander2/Makefile =================================================================== --- head/devel/subcommander2/Makefile (revision 394507) +++ head/devel/subcommander2/Makefile (revision 394508) @@ -1,39 +1,38 @@ # Created by: Naram Qashat # $FreeBSD$ PORTNAME= subcommander PORTVERSION= 2.0.0.b5.2 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= DEBIAN DISTNAME= ${PORTNAME}_${PORTVERSION:R:S,.b,~b,}p${PORTVERSION:E}.orig MAINTAINER= ports@FreeBSD.org COMMENT= Qt4 based multiplatform subversion client, diff & merge tool LICENSE= GPLv2 LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \ libsvn_client-1.so:${PORTSDIR}/devel/subversion -LATEST_LINK= subcommander2 CONFLICTS= subcommander-1.* WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R:S,.b,b,}p${PORTVERSION:E} USES= autoreconf gmake dos2unix DOS2UNIX_GLOB= *.cpp *.h USE_QT4= corelib gui network qt3support moc_build rcc_build uic_build QT_NONSTANDARD= yes USE_OPENSSL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-boost=${LOCALBASE}/include \ --with-subversion=${LOCALBASE} --with-qt=${QT_PREFIX} \ --with-apr=${LOCALBASE}/bin/apr-1-config \ --with-apr-util=${LOCALBASE}/bin/apu-1-config \ --with-openssl=${OPENSSLBASE} CPPFLAGS+= -I${QT_INCDIR} -I${LOCALBASE}/include LDFLAGS+= -L${QT_LIBDIR} -L${LOCALBASE}/lib .include Index: head/devel/subversion/Makefile.common =================================================================== --- head/devel/subversion/Makefile.common (revision 394507) +++ head/devel/subversion/Makefile.common (revision 394508) @@ -1,114 +1,113 @@ # Created by: rooneg@electricjellyfish.net # $FreeBSD$ PORTNAME?= subversion PORTVERSION= 1.8.14 PORTREVISION?= 0 CATEGORIES+= devel MASTER_SITES= APACHE/subversion DIST_SUBDIR= subversion18 GNU_CONFIGURE= yes USES+= tar:bzip2 pkgconfig libtool cpe LICENSE= APACHE20 CPE_VENDOR= apache CONFLICTS_INSTALL+= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-1.[^8].[0-9]* LIB_DEPENDS+= libapr-1.so:${PORTSDIR}/devel/apr1 \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ libexpat.so:${PORTSDIR}/textproc/expat2 CONFIGURE_ARGS+= --without-swig \ --with-sqlite=${LOCALBASE} \ --with-expat=${LOCALBASE}/include:${LOCALBASE}/lib:expat .if defined(SVN_BUILD_ADDONS) CONFLICTS_BUILD+= ${PORTNAME}-1.[^8].[0-9]* LIB_DEPENDS+= libsvn_client-1.so:${PORTSDIR}/devel/subversion -OPTIONSFILE= ${PORT_DBDIR}/subversion/options OPTIONS_NAME= devel_subversion .endif # =============================================================== OPTIONS_SUB= yes BDB_CONFIGURE_OFF= --without-berkeley-db BDB_USE= BDB=42+ MAINTAINER_DEBUG_CFLAGS= -g MAINTAINER_DEBUG_CONFIGURE_ON= --enable-maintainer-mode --enable-debug NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext SASL_CONFIGURE_OFF= --without-sasl SASL_CONFIGURE_ON= --with-sasl=${LOCALBASE} SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 SERF_CONFIGURE_OFF= --without-serf SERF_CONFIGURE_ON= --with-serf SERF_LIB_DEPENDS= libserf-1.so:${PORTSDIR}/www/serf STATIC_CONFIGURE_ON= --enable-all-static PKG_CONFIG="${LOCALBASE}/bin/pkg-config --static" # =============================================================== .include APR_CONFIG= ${LOCALBASE}/bin/apr-1-config APU_CONFIG= ${LOCALBASE}/bin/apu-1-config CONFIGURE_ARGS+=--with-apr=${APR_CONFIG} --with-apr-util=${APU_CONFIG} .if ${ARCH} == "amd64" || ${ARCH} == "ia64" CFLAGS+= -fpic -DPIC .endif OPTIONS_FILE_UNSET?="" OPTIONS_FILE_SET?="" .if ( ${PORT_OPTIONS:MFREEBSD_TEMPLATE} || !${OPTIONS_FILE_UNSET:MFREEBSD_TEMPLATE} ) && defined(ORGANIZATION) CFLAGS+= -DHAS_ORGANIZATION_NAME .endif .if !${PORT_OPTIONS:MMAINTAINER_DEBUG} && !${OPTIONS_FILE_SET:MMAINTAINER_DEBUG} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.in .endif .include pre-everything:: .if defined(SVN_BUILD_ADDONS) .if ${PORT_OPTIONS:MSTATIC} || ${OPTIONS_FILE_SET:MSTATIC} @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @${ECHO_MSG} "!!! addons (bindings, mod_dav_svn, etc). and static build are not compatible !!!" @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @${FALSE} .endif .endif pre-patch: .if defined(SVN_BUILD_ADDONS) @${CP} ${FILESDIR}/build-outputs.mk.addons ${WRKSRC}/build-outputs.mk .endif post-patch: .if ${PREFIX} != "/usr" @${REINPLACE_CMD} "s#/etc/subversion#${ETCDIR}#g" ${WRKSRC}/subversion/libsvn_subr/config_file.c @${REINPLACE_CMD} "s#/etc/subversion#${ETCDIR}#g" ${WRKSRC}/subversion/libsvn_subr/config_impl.h .endif @${REINPLACE_CMD} "s#^swig_pydir =.*#swig_pydir = ${PYTHON_SITELIBDIR}/libsvn#" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} "s#^swig_pydir_extra =.*#swig_pydir_extra = ${PYTHON_SITELIBDIR}/svn#" ${WRKSRC}/Makefile.in .if ( ${PORT_OPTIONS:MFREEBSD_TEMPLATE} || !${OPTIONS_FILE_UNSET:MFREEBSD_TEMPLATE} ) && defined(ORGANIZATION) @${ECHO_CMD} "#define ORGANIZATION_NAME \"${ORGANIZATION}\"" > ${WRKSRC}/subversion/freebsd-organization.h .endif # shebangfix @${GREP} -Rl -e '#!/bin/b' -e '#!/bin/env' -e '#!/usr/bin/p' ${WRKSRC}/tools/ \ | ${XARGS} ${REINPLACE_CMD} -e '1s|#\!/bin/b|#\!/usr/local/bin/b|' \ -e '1s|#\!/bin/env|#\!/usr/bin/env|' \ -e '1s|#\!/usr/bin/p|#\!/usr/local/bin/p|' # remove all .bak files to clean the stage @${FIND} ${WRKSRC} -name '*.bak' -delete Index: head/devel/subversion-static/Makefile =================================================================== --- head/devel/subversion-static/Makefile (revision 394507) +++ head/devel/subversion-static/Makefile (revision 394508) @@ -1,20 +1,19 @@ # $FreeBSD$ PKGNAMESUFFIX= -static CONFLICTS_INSTALL= ${PORTNAME}-[0-9]* -LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} OPTIONS_EXCLUDE= ${OPTIONS_DEFINE} OPTIONS_SLAVE= FREEBSD_TEMPLATE P4_STYLE_MARKERS SERF STATIC MASTERDIR= ${.CURDIR}/../subversion PKGMESSAGE= ${.CURDIR}/pkg-message # Set these by hands, as options are undefined PLIST_SUB+= TOOLS="@comment " \ SVNSERVE_WRAPPER="@comment " \ BDB="@comment " \ NLS="@comment " .include "${MASTERDIR}/Makefile" Index: head/devel/subversion17/Makefile.common =================================================================== --- head/devel/subversion17/Makefile.common (revision 394507) +++ head/devel/subversion17/Makefile.common (revision 394508) @@ -1,133 +1,132 @@ # Created by: rooneg@electricjellyfish.net # $FreeBSD$ PORTNAME= subversion PORTVERSION= 1.7.21 PORTREVISION?= 0 CATEGORIES+= devel MASTER_SITES= APACHE/subversion DIST_SUBDIR= subversion17 PKGNAMESUFFIX= 17 USE_KDE4= # Used below if KWallet support is enabled GNU_CONFIGURE= yes USES+= tar:bzip2 pkgconfig libtool cpe LICENSE= APACHE20 CPE_VENDOR= apache CONFLICTS_INSTALL+= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-1.[^7].[0-9]* LIB_DEPENDS+= libapr-1.so:${PORTSDIR}/devel/apr1 \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ libexpat.so:${PORTSDIR}/textproc/expat2 CONFIGURE_ARGS+= --without-swig \ --with-ssl \ --with-sqlite=${LOCALBASE} \ --with-expat=${LOCALBASE}/include:${LOCALBASE}/lib:expat .if defined(SVN_BUILD_BINDINGS) CONFLICTS_BUILD+= ${PORTNAME}-1.[^7].[0-9]* LIB_DEPENDS+= libsvn_client-1.so:${PORTSDIR}/devel/subversion17 -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options OPTIONS_NAME= devel_subversion17 .endif # =============================================================== OPTIONS_SUB= yes #BDB_CONFIGURE_OFF= --with-berkeley-db=no BDB_USE= BDB=42+ GNOME_KEYRING_CONFIGURE_OFF= --without-gnome-keyring GNOME_KEYRING_CONFIGURE_ON= --with-gnome-keyring GNOME_KEYRING_LIB_DEPENDS= libgcr.so:${PORTSDIR}/security/gnome-keyring KDE_KWALLET_CONFIGURE_OFF= --without-kwallet KDE_KWALLET_CONFIGURE_ON= --with-kwallet=${KDE4_PREFIX} KDE_KWALLET_USE= KDE4=kdelibs,runtime MAINTAINER_DEBUG_CFLAGS= -g MAINTAINER_DEBUG_CONFIGURE_ON= --enable-maintainer-mode --enable-debug MOD_DAV_SVN_CONFIGURE_OFF= --with-apxs=no MOD_DAV_SVN_CONFIGURE_ON= --with-apxs=${APXS} MOD_DAV_SVN_USE= APACHE=22+ NEON_CONFIGURE_OFF= --without-neon NEON_CONFIGURE_ON= --with-neon=${LOCALBASE} NEON_LIB_DEPENDS= libneon.so:${PORTSDIR}/www/neon NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext SASL_CONFIGURE_OFF= --without-sasl SASL_CONFIGURE_ON= --with-sasl=${LOCALBASE} SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 SERF_CONFIGURE_OFF= --without-serf SERF_CONFIGURE_ON= --with-serf=${LOCALBASE} SERF_LIB_DEPENDS= libserf-1.so:${PORTSDIR}/www/serf STATIC_CONFIGURE_ON= --enable-all-static # =============================================================== .include .if ${PORT_OPTIONS:MKDE_KWALLET} && !${PORT_OPTIONS:MNLS} IGNORE= KWallet requires OPTION NLS set to ON .endif APR_CONFIG= ${LOCALBASE}/bin/apr-1-config APU_CONFIG= ${LOCALBASE}/bin/apu-1-config CONFIGURE_ARGS+=--with-apr=${APR_CONFIG} --with-apr-util=${APU_CONFIG} .if ${ARCH} == "amd64" || ${ARCH} == "ia64" CFLAGS+= -fpic -DPIC .endif .if ${PORT_OPTIONS:MFREEBSD_TEMPLATE} && defined(ORGANIZATION) CFLAGS+= -DHAS_ORGANIZATION_NAME .endif # unbreak py-subversion .if !${PORT_OPTIONS:MBDB} CONFIGURE_ARGS+= --with-berkeley-db=no .endif .include pre-everything:: .if defined(SVN_BUILD_BINDINGS) .if ${PORT_OPTIONS:MSTATIC} @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @${ECHO_MSG} "!!! bindings and static build are not compatible !!!" @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @${FALSE} .endif .endif post-patch: .if ${PREFIX} != "/usr" @${REINPLACE_CMD} "s#/etc/subversion#${ETCDIR}#g" ${WRKSRC}/subversion/libsvn_subr/config_file.c @${REINPLACE_CMD} "s#/etc/subversion#${ETCDIR}#g" ${WRKSRC}/subversion/libsvn_subr/config_impl.h .endif @${REINPLACE_CMD} "s#^swig_pydir =.*#swig_pydir = ${PYTHON_SITELIBDIR}/libsvn#" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} "s#^swig_pydir_extra =.*#swig_pydir_extra = ${PYTHON_SITELIBDIR}/svn#" ${WRKSRC}/Makefile.in .if defined(SVN_BUILD_BINDINGS) ${CP} ${FILESDIR}/build-outputs.mk.addons ${WRKSRC} .endif .if ${PORT_OPTIONS:MFREEBSD_TEMPLATE} && defined(ORGANIZATION) @${ECHO_CMD} "#define ORGANIZATION_NAME \"${ORGANIZATION}\"" > ${WRKSRC}/subversion/freebsd-organization.h .endif # shebangfix @${GREP} -Rl -e '#!/bin/b' -e '#!/bin/env' -e '#!/usr/bin/p' ${WRKSRC}/tools/ \ | ${XARGS} ${REINPLACE_CMD} -e '1s|#\!/bin/b|#\!/usr/local/bin/b|' \ -e '1s|#\!/bin/env|#\!/usr/bin/env|' \ -e '1s|#\!/usr/bin/p|#\!/usr/local/bin/p|' # remove all .bak files to clean the stage @${FIND} ${WRKSRC} -name '*.bak' -delete Index: head/dns/samba-nsupdate/Makefile =================================================================== --- head/dns/samba-nsupdate/Makefile (revision 394507) +++ head/dns/samba-nsupdate/Makefile (revision 394508) @@ -1,86 +1,86 @@ # $FreeBSD$ PORTNAME= nsupdate PORTVERSION= 9.8.6 PORTREVISION= 1 CATEGORIES= dns net ipv6 MASTER_SITES= ISC/bind9/${ISCVERSION} PKGNAMEPREFIX= samba- DISTNAME= bind-${ISCVERSION} MAINTAINER= timur@FreeBSD.org COMMENT= nsupdate utility with GSS-TSIG support LICENSE= ISCL # ISC releases things like 9.8.0-P1, which our versioning doesn't like ISCVERSION= 9.8.6 MAKE_JOBS_UNSAFE= yes USE_AUTOTOOLS= autoconf autoheader USE_OPENSSL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= \ --prefix=${PREFIX} \ --sysconfdir="/etc/namedb" \ --localstatedir=/var \ --enable-largefile \ --enable-threads \ --disable-linux-caps \ --disable-symtable \ --disable-shared \ --without-libxml2 \ --without-iconv \ --without-idn \ --with-randomdev=/dev/random OPTIONS_DEFINE= IPV6 SIGCHASE_CONFIGURE_ARGS+= STD_CDEFINES="-DDIG_SIGCHASE=1" IPV6_CONFIGURE_ON= --enable-ipv6 -PLIST_FILES= bin/${UNIQUENAME} \ - man/man1/${UNIQUENAME}.1.gz +PLIST_FILES= bin/${PKGBASE} \ + man/man1/${PKGBASE}.1.gz .include .if (${ARCH} == "amd64") ARCH= x86_64 .endif # Enable OpenSSL API CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} # Try to find appropriate GSSAPI libs .if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.so) CONFIGURE_ARGS+= --with-gssapi="${KRB5_HOME}" .elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.so) CONFIGURE_ARGS+= --with-gssapi="${HEIMDAL_HOME}" .elif exists(/usr/lib/libkrb5.so) && exists(/usr/bin/krb5-config) CONFIGURE_ARGS+= --with-gssapi="/usr" .else LIB_DEPENDS+= libkrb5.so:${PORTSDIR}/security/heimdal CONFIGURE_ARGS+= --with-gssapi="${LOCALBASE}" .endif post-patch: @${REINPLACE_CMD} \ -e 's|^SUBDIRS.*|SUBDIRS = lib bin|' \ -e 's|isc-config.sh installdirs|installdirs|' \ -e 's|.*INSTALL.*isc-config.*||' \ -e 's|.*INSTALL.*bind.keys.*||' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} \ -e 's|^SUBDIRS.*|SUBDIRS = ${PORTNAME}|' \ -e 's|^.*check confgen ||' \ ${WRKSRC}/bin/Makefile.in @${REINPLACE_CMD} \ - -e 's|${PORTNAME}|${UNIQUENAME}|g' \ + -e 's|${PORTNAME}|${PKGBASE}|g' \ ${WRKSRC}/bin/nsupdate/${PORTNAME}.1 do-install: - ${INSTALL_MAN} ${WRKSRC}/bin/nsupdate/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${UNIQUENAME}.1 - ${INSTALL_PROGRAM} ${WRKSRC}/bin/nsupdate/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${UNIQUENAME} + ${INSTALL_MAN} ${WRKSRC}/bin/nsupdate/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${PKGBASE}.1 + ${INSTALL_PROGRAM} ${WRKSRC}/bin/nsupdate/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PKGBASE} .include Index: head/editors/2bsd-vi/Makefile =================================================================== --- head/editors/2bsd-vi/Makefile (revision 394507) +++ head/editors/2bsd-vi/Makefile (revision 394508) @@ -1,31 +1,31 @@ # Created by: David Thiel # $FreeBSD$ PORTNAME= vi PORTVERSION= 050325 PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= SF/ex-${PORTNAME}/ex-${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= 2bsd- DISTNAME= ex-${PORTVERSION} MAINTAINER= lx@FreeBSD.org COMMENT= The original vi editor, updated to run on modern OSes LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= tar:bzip2 -PRESERVEDIR= /var/preserve/${UNIQUENAME} +PRESERVEDIR= /var/preserve/${PKGBASE} PLIST_SUB= PRESERVEDIR="${PRESERVEDIR}" post-extract: .SILENT ${RM} -fr ${WRKSRC}/libuxre ${WRKSRC}/regexp.h post-patch: .for f in Makefile ex.1 expreserve.c exrecover.c vi.1 @${REINPLACE_CMD} -e 's|/var/preserve|${PRESERVEDIR}|' ${WRKSRC}/${f} .endfor .include Index: head/editors/emacs-nox11/Makefile =================================================================== --- head/editors/emacs-nox11/Makefile (revision 394507) +++ head/editors/emacs-nox11/Makefile (revision 394508) @@ -1,15 +1,14 @@ # Created by: phoffman@proper.com # $FreeBSD$ PKGNAMESUFFIX= -nox11 OPTIONS_EXCLUDE=GCONF GIF JPEG OTF M17N PNG SVG TIFF SYNC_INPUT GTK2 GTK3 \ SCROLLBARS XFT XIM XPM MAGICK GSETTINGS X11 CANNA \ XAW XAW3D MOTIF EMACS_NO_X11_SLAVE= yes MASTERDIR= ${.CURDIR}/../emacs -LATEST_LINK= emacs-nox11 .include "${MASTERDIR}/Makefile" Index: head/editors/libreoffice-i18n/Makefile =================================================================== --- head/editors/libreoffice-i18n/Makefile (revision 394507) +++ head/editors/libreoffice-i18n/Makefile (revision 394508) @@ -1,79 +1,78 @@ # $FreeBSD$ .include "${.CURDIR}/../libreoffice/Makefile.common" PORTREVISION= 0 -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} PKGNAMESUFFIX= -i18n DISTFILES= #none MASTER_SITES= #none EXTRACT_ONLY= #none COMMENT= Localized interface for libreoffice NO_BUILD= yes LO_LANG_ALL= af am ar as ast be bg bn bn_IN bo br brx bs ca ca_valencia \ cs cy da de dgo dz el en_GB en_ZA eo es et eu fa fi fr ga \ gd gl gu he hi hr hu id is it ja ka kk km kmr_Latn kn ko \ kok ks lb lo lt lv mai mk ml mn mni mr my nb ne nl nn nr \ nso oc om or pa_IN pl pt_BR pt ro ru rw sa_IN sat sd si \ sid sk sl sq sr sr_Latn ss st sv sw_TZ ta te tg th tn tr \ ts tt ug uk uz ve vi xh zh_CN zh_TW zu ar_PORT= arabic/${PORTNAME} de_PORT= german/${PORTNAME} fr_PORT= french/${PORTNAME} he_PORT= hebrew/${PORTNAME} hu_PORT= hungarian/${PORTNAME} ja_PORT= japanese/${PORTNAME} ko_PORT= korean/${PORTNAME} pl_PORT= polish/${PORTNAME} pt_BR_PORT= portuguese/${PORTNAME}-pt_BR pt_PORT= portuguese/${PORTNAME} ru_PORT= russian/${PORTNAME} uk_PORT= ukrainian/${PORTNAME} zh_CN_PORT= chinese/${PORTNAME}-zh_CN zh_TW_PORT= chinese/${PORTNAME}-zh_TW vi_PORT= vietnamese/${PORTNAME} OPTIONS_DEFINE= ALL ALL_DESC= All locatizations data OPTIONS_DEFAULT= ALL .for lang in ${LO_LANG_ALL} ${lang}_DETECT?= ${PREFIX}/lib/${PORTNAME}/readmes/README_${lang:S/_/-/} ${lang}_PORT?= editors/${PORTNAME}-${lang} ${lang}_NAME?= ${lang} OPTIONS_DEFINE+= ${lang} ${lang}_DESC= ${${lang}_NAME} localization data .endfor .include .for lang in ${LO_LANG_ALL} .if ${PORT_OPTIONS:MALL} || ${PORT_OPTIONS:M${lang}} RUN_DEPENDS+= ${${lang}_DETECT}:${PORTSDIR}/${${lang}_PORT} .endif .endfor do-install: @${DO_NADA} all-lang-list: .for lang in ${LO_LANG_ALL} @${ECHO} ${lang} .endfor all-help-list: .for lang in ${LO_LANG_ALL} @${EGREP} -q '^[:blank:]*LO_HAS_HELPPACK[:blank:]*=' \ ${.CURDIR}/../../${${lang}_PORT}/Makefile && ${ECHO} "${lang}" \ || true .endfor all-makesum: .for lang in ${LO_LANG_ALL} @cd ${.CURDIR}/../../${${lang}_PORT} && ${MAKE} makesum .endfor .include Index: head/editors/openoffice-4/Makefile =================================================================== --- head/editors/openoffice-4/Makefile (revision 394507) +++ head/editors/openoffice-4/Makefile (revision 394508) @@ -1,466 +1,464 @@ # Created by: Martin Blapp # $FreeBSD$ PORTNAME= apache-openoffice PORTVERSION= ${AOOVERSION} PORTREVISION= 11 CATEGORIES= editors java MASTER_SITES= APACHE/openoffice/${PORTVERSION}/source \ http://tools.openoffice.org/unowinreg_prebuild/680/:unoreg \ LOCAL/truckman/openoffice:extsrc .if defined(LANG_PKGNAME) PKGNAMEPREFIX= ${LANG_PKGNAME}- .endif .if defined(LANG_SUFFIX) PKGNAMESUFFIX= -${LANG_SUFFIX} .endif DISTFILES= ${OOOSRC} unowinreg.dll:unoreg ${EXTSRC}:extsrc DIST_SUBDIR= openoffice EXTRACT_ONLY= ${OOOSRC} MAINTAINER= office@FreeBSD.org #de facto maintainer is truckman@FreeBSD.org #Frequent Patch submitters should optionally sign Apache iCLA COMMENT= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser LICENSE= APACHE20 ADOBE BSD3CLAUSE BSD4CLAUSE BSL ICU MIT MPL \ PSFL TWAIN W3C LICENSE_COMB= multi LICENSE_NAME_ADOBE= Adobe Systems Incorporated license LICENSE_NAME_ICU= ICU License LICENSE_NAME_TWAIN= TWAIN Working Group license LICENSE_NAME_W3C= W3C license LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE_ALv2 LICENSE_FILE_ADOBE= ${WRKSRC}/LICENSE_ADOBE LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE_BSD3CLAUSE LICENSE_FILE_BSD4CLAUSE= ${WRKSRC}/LICENSE_BSD4CLAUSE LICENSE_FILE_BSL= ${WRKSRC}/LICENSE_BSL LICENSE_FILE_ICU= ${WRKSRC}/LICENSE_ICU LICENSE_FILE_MIT= ${WRKSRC}/LICENSE_MIT LICENSE_FILE_MPL= ${WRKSRC}/LICENSE_MPL LICENSE_FILE_PSFL= ${WRKSRC}/LICENSE_PSFL LICENSE_FILE_TWAIN= ${WRKSRC}/LICENSE_TWAIN LICENSE_FILE_W3C= ${WRKSRC}/LICENSE_W3C LICENSE_PERMS_ADOBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_ICU= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_TWAIN= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_W3C= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= \ p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \ ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \ zip:${PORTSDIR}/archivers/zip \ ant:${PORTSDIR}/devel/apache-ant \ ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs \ dmake:${PORTSDIR}/devel/dmake \ epm:${PORTSDIR}/devel/epm \ ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \ imake:${PORTSDIR}/devel/imake \ gpatch:${PORTSDIR}/devel/patch \ ${LOCALBASE}/include/sane/sane.h:${PORTSDIR}/graphics/sane-backends \ ${LOCALBASE}/bin/vigra-config:${PORTSDIR}/graphics/vigra \ ${JAVALIBDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \ ${JAVALIBDIR}/commons-lang.jar:${PORTSDIR}/java/jakarta-commons-lang \ ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \ ${JAVALIBDIR}/bsh.jar:${PORTSDIR}/lang/bsh \ bash:${PORTSDIR}/shells/bash \ ${JAVALIBDIR}/lucene-core-3.6.2.jar:${PORTSDIR}/textproc/lucene \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww LIB_DEPENDS= \ libapr-1.so:${PORTSDIR}/devel/apr1 \ libnspr4.so:${PORTSDIR}/devel/nspr \ libcurl.so:${PORTSDIR}/ftp/curl \ libcairo.so:${PORTSDIR}/graphics/cairo \ libpng.so:${PORTSDIR}/graphics/png \ libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \ libgraphite.so:${PORTSDIR}/graphics/silgraphite \ libCoinMP.so:${PORTSDIR}/math/coinmp \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libnss3.so:${PORTSDIR}/security/nss \ libexpat.so:${PORTSDIR}/textproc/expat2 \ libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \ libhyphen.so:${PORTSDIR}/textproc/hyphen \ libtextcat.so:${PORTSDIR}/textproc/libtextcat \ libmythes-1.2.so:${PORTSDIR}/textproc/mythes \ librdf.so:${PORTSDIR}/textproc/redland \ libserf-1.so:${PORTSDIR}/www/serf \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig RUN_DEPENDS= \ ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme \ ${JAVALIBDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \ ${JAVALIBDIR}/bsh.jar:${PORTSDIR}/lang/bsh \ ${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf:${PORTSDIR}/x11-fonts/croscorefonts-fonts-ttf AOOVERSION1= 4 AOOVERSION2= 1 AOOVERSION3= 1 # From solenv/inc/minor.mk SOURCEREVISION LAST_MINOR BUILD AOOTAG= AOO411m6\(Build:9775\) SVNREVISION= 1617669 EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz AOOVERSION= ${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3} AOOXXX= ${AOOVERSION1}${AOOVERSION2}${AOOVERSION3} AOOSUFFIX= ${PORTVERSION} OOOSRC= apache-openoffice-${AOOVERSION}-r${SVNREVISION}-src${EXTRACT_SUFX} OOODIR= openoffice${AOOVERSION1} AOOUDIR= .openoffice.org\/${AOOVERSION1} INSTALLATION_BASEDIR?= openoffice-${AOOSUFFIX} EXECBASE?= openoffice-${AOOSUFFIX} -NO_LATEST_LINK= yes - ONLY_FOR_ARCHS= i386 amd64 USE_GL= gl glu USE_GNOME= gtk20 libxslt libidl glib20 USE_JAVA= yes JAVA_BUILD= jdk JAVA_VENDOR= openjdk JAVA_VERSION= 1.6+ USE_PERL5= build USE_XORG= x11 ice xaw xau xext xrender xrandr \ xi xt xcursor xdamage xcomposite xfixes USES= autoreconf:autoconf bison compiler cpe desktop-file-utils \ gettext-runtime gmake iconv jpeg perl5 pkgconfig python \ tar:bzip2 WITHOUT_CPU_CFLAGS= true CPE_PRODUCT= ${PORTNAME:S|apache-||} CPE_VENDOR= apache OPTIONS_DEFINE= CUPS GNOME GNOMEVFS MMEDIA CCACHE OPTIONS_DEFAULT= CUPS GNOME GNOMEVFS MMEDIA GNOME_DESC= GConf + screensaver presentation control via DBUS GNOMEVFS_DESC= GNOME Virtual File System MMEDIA_DESC= Multimedia backend for impress CCACHE_DESC= Mimimize compile time of C/C++ programs CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client GNOME_CONFIGURE_ENABLE= dbus gconf lockdown GNOME_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib GNOME_USE= GNOME=gconf2 GNOMEVFS_CONFIGURE_ENABLE= gnome-vfs GNOMEVFS_CONFIGURE_OFF= --enable-gio GNOMEVFS_CONFIGURE_ON= --disable-gio GNOMEVFS_USE= GNOME=gnomevfs2 MMEDIA_CONFIGURE_ENABLE= gstreamer MMEDIA_USE= GSTREAMER=yes .include .include <${FILESDIR}/Makefile.localized> .if ${COMPILER_TYPE} == clang . if ${COMPILER_VERSION} < 35 && ${ARCH} == amd64 BUILD_DEPENDS+= clang35:${PORTSDIR}/lang/clang35 CPP= clang-cpp35 CC= clang35 CXX= clang++35 . endif CPPFLAGS+= -I${LOCALBASE}/include .else USE_GCC= yes SUBST= "s/-fexceptions/& -fno-enforce-eh-specs/;s/-DHAVE_STL_INCLUDE_PATH/-DBOOST_TR1_DISABLE_INCLUDE_NEXT -DBOOST_TR1_GCC_INCLUDE_PATH=c++/" .endif .if ${ARCH} == amd64 FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh .else FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh .endif LOCALIZED_LANG?= en-US PACKAGE_PREFIX= Apache_OpenOffice .if ${ARCH} == amd64 PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86-64 .else PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86 .endif .if ${PORT_OPTIONS:MCCACHE} || defined(WITH_CCACHE) BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache CCACHE_PREFIX= ccache OOOCC= ${CCACHE_PREFIX} ${CC} OOOCXX= ${CCACHE_PREFIX} ${CXX} .else OOOCC= ${CC} OOOCXX= ${CXX} .endif CONFIGURE_ENV+= CC="${OOOCC}" CXX="${OOOCXX}" \ PATH=${WRKSRC}/solenv/bin:$$PATH GNU_CONFIGURE= yes WRKSUBDIR= ${WRKDIR}/aoo-${AOOVERSION} WRKSRC?= ${WRKSUBDIR}/main SUB_FILES= pkg-message SUB_LIST= EXECBASE=${EXECBASE} AOOTAG=${AOOTAG} AOOUDIR=${AOOUDIR} CONFIGURE_ARGS+= \ --with-system-apache-commons=yes \ --with-commons-codec-jar=${JAVALIBDIR}/commons-codec.jar \ --with-commons-lang-jar=${JAVALIBDIR}/commons-lang.jar \ --with-commons-httpclient-jar=${JAVALIBDIR}/commons-httpclient.jar \ --with-commons-logging-jar=${JAVALIBDIR}/commons-logging.jar \ --with-system-apr \ --with-system-apr-util \ --with-system-beanshell \ --with-beanshell-jar=${JAVALIBDIR}/bsh.jar \ --with-system-boost \ --enable-category-b \ --with-system-cairo --enable-cairo \ --with-system-coinmp \ --with-system-curl \ --enable-crashdump \ --with-system-dicts \ --with-epm=${LOCALBASE}/bin/epm \ --with-system-expat \ --disable-fetch-external \ --without-fonts \ --with-gnu-patch=${LOCALBASE}/bin/gpatch \ --with-gperf=${LOCALBASE}/bin/gperf \ --with-system-graphite \ --enable-gtk \ --with-system-hunspell \ --with-external-dict-dir=${LOCALBASE}/share/hunspell \ --with-system-hyphen \ --with-external-hyph-dir=${LOCALBASE}/share/hyphen \ --with-system-jpeg \ --with-junit=${LOCALBASE}/share/java/classes/junit.jar \ --with-system-libtextcat \ --disable-kde \ --disable-kde4 \ --with-system-libxml \ --with-system-libxslt \ --with-system-lucene \ --with-lucene-core-jar=${JAVALIBDIR}/lucene-core-3.6.2.jar \ --with-lucene-analyzers-jar=${JAVALIBDIR}/lucene-analyzers-3.6.2.jar \ --with-system-mythes \ --with-external-thes-dir=${LOCALBASE}/share/mythes \ --with-system-nss \ --enable-opengl \ --with-system-openssl \ --with-package-format="archive" \ --with-system-poppler \ --with-system-python \ --with-system-redland \ --with-system-sane \ --with-system-serf \ --with-system-stdlibs \ --enable-symbols=small \ --without-stlport \ --with-vendor="FreeBSD ports system" \ --enable-verbose \ --with-system-vigra \ --enable-wiki-publisher \ --with-system-xrender \ --with-system-zlib #OOOEXTENSIONS+= minimizer/presentation-minimizer.oxt #OOOEXTENSIONS+= presenter/presenter-screen.oxt #OOOEXTENSIONS+= pdfimport/pdfimport.oxt OOOEXTENSIONS+= swext/wiki-publisher.oxt ICONS= ${WRKSRC}/sysui/desktop/icons .include <${FILESDIR}/Makefile.knobs> pre-everything:: # really tweak, extremely useful when you build all localized language versions # needed after when you build with ALL_LOCALIZED_LANGS. .if defined(TWEAK_L10N) ${RM} -f ${WRKDIR}/.PLIST* ${RM} -f ${WRKDIR}/.install_done.* ${RM} -f ${WRKDIR}/.package_done.* ${RM} -f ${WRKDIR}/.extract_done.* ${RM} -f ${WRKDIR}/.patch_done.* ${RM} -f ${WRKDIR}/.configure_done.* ${RM} -f ${WRKDIR}/.build_done.* ${MKDIR} ${WRKDIR} ${TOUCH} ${EXTRACT_COOKIE} ${TOUCH} ${PATCH_COOKIE} ${TOUCH} ${CONFIGURE_COOKIE} ${TOUCH} ${BUILD_COOKIE} .endif post-extract: ${TAR} -C ${WRKSUBDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EXTSRC} ${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/ ${RM} -rf ${WRKSRC}/l10n ${SED} -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \ -e '\|^For PostScript(R) AFM|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ADOBE} ${SED} -e '\|^For main/unixODBC|,/^__/p' \ -e '\|^For main/connectivity|,/^__/p' \ -e '\|^For main/libtextcat/data|,/^__/p' \ -e '\|^For integration of HSQLDB|,/^__/p' \ -e '\|^For C preprocessor|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD3CLAUSE} ${SED} -e '\|^For ICC |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD4CLAUSE} ${SED} -e '\|^For integration of the C++ Boost |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSL} ${SED} -e '\|^For main/i18npool/source/breakiterator|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ICU} ${SED} -e '\|^For Multi-Dimensional Data|,/^__/p' \ -e '\|^For XSLT MathML Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_MIT} ${SED} -e '\|^For XMLSec Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b >> ${LICENSE_FILE_MIT} ${SED} -e '\|^For Graphite|,$$d' \ ${WRKSRC}/LICENSE_category_b > ${LICENSE_FILE_MPL} ${SED} -e '\|^For main/filter/source/config/tools/merge/pyAltFCFGMerge|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_PSFL} ${SED} -e '\|^For main/twain|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_TWAIN} ${SED} -e '\|^For main/MathMLDTD|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_W3C} post-patch: .if defined (USE_GCC) ${REINPLACE_CMD} -e ${SUBST} ${WRKSRC}/solenv/gbuild/platform/freebsd.mk ${REINPLACE_CMD} -e ${SUBST} ${WRKSRC}/solenv/inc/unxfbsd.mk .endif .if ${ARCH} == i386 # g++49 -Os sometimes leaves inline class methods undefined # autodoc core dumps when built with with -Os clang 3.6 on i386 if [ ${CXX} = g++49 -o \ ${COMPILER_TYPE} = clang -a ${COMPILER_VERSION} = 36 ]; then \ ${REINPLACE_CMD} -e "s/ := -Os/ := -O0/" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk; \ ${REINPLACE_CMD} -e "s/=-Os /=-O0 /" ${WRKSRC}/solenv/inc/unxfbsdi.mk; \ fi .endif pre-configure: ${LN} -sf ${UNZIP_CMD} ${WRKSRC}/solenv/bin/unzip do-build: cd ${WRKSUBDIR} ; ${PRINTF} "[repositories]\n" > source_config cd ${WRKSUBDIR} ; ${PRINTF} "main=active\n" >> source_config cd ${WRKSUBDIR} ; ${PRINTF} "extras=active\n" >> source_config cd ${WRKSRC} ; ./bootstrap # # numproc controls the number of parallel makes. # # dmproc is passed to dmake and controls parallelization at that # level. # # dmproc > numproc seems to give shorter build times than # numproc > dmproc. # # Select values for numproc and dmproc such that: # * numproc*dmproc >= MAKE_JOBS_NUMBER # * minimize numproc*dmproc-MAKE_JOBS_NUMBER # * dmproc >= numproc # * dmproc <= 2*numproc if MAKE_JOBS_NUMBER <= 3 # cd ${WRKSRC} ; . ${FREEBSD_ENV_SET} ; cd instsetoo_native/util ; \ export LANG=C LC_ALL=C FBSD_LDFLAGS="${LDFLAGS}" ; \ if [ ${MAKE_JOBS_NUMBER} -le 3 ] ; then \ numproc=1 ; dmproc=${MAKE_JOBS_NUMBER} ; \ else \ a=1 ; \ while [ $$(( 2 * $${a} * $${a} )) -lt ${MAKE_JOBS_NUMBER} ]; do \ a=$$(( $${a} + 1 )) ; \ done ; \ b=$$(( $${a} + 1 )) ; \ ad=$$(( ( ${MAKE_JOBS_NUMBER} + $${a} - 1 ) / $${a} )) ; \ ap=$$(( $${a} * $${ad} )) ; \ bd=$$(( ( ${MAKE_JOBS_NUMBER} + $${b} - 1 ) / $${b} )) ; \ bp=$$(( $${b} * $${bd} )) ; \ if [ $${ap} -le $${bp} ]; then \ numproc=$${a} ; dmproc=$${ad} ; \ else \ numproc=$${b} ; dmproc=$${bd} ; \ fi ; \ fi ; \ build.pl --all -P$${numproc} -- -P$${dmproc} do-install: cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/Apache_OpenOffice/archive/install/${LOCALIZED_LANG}/ ; ${LS} *.tar.?z > ${WRKDIR}/INSTALLFILES ${RM} -Rf ${WRKDIR}/tmp ${MKDIR} ${WRKDIR}/tmp @for i in `${CAT} ${WRKDIR}/INSTALLFILES`; do \ ${ECHO_CMD} "extracting $$i" ; \ cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/Apache_OpenOffice/archive/install/${LOCALIZED_LANG}/$$i ; \ done ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR} cd ${WRKDIR}/tmp/*/ ; ${TAR} cf - -C . . | ${TAR} xf - -C ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR} ${REINPLACE_CMD} -e 's/^UserInstallation.*$$/USERINSTALLATION/' ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/program/bootstraprc ${REINPLACE_CMD} -e 's/USERINSTALLATION/UserInstallation=$$SYSUSERCONFIG\/${AOOUDIR}/' ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/program/bootstraprc ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/extensions/ cd ${WRKSRC}/solver/${AOOXXX}/unxfbsd?.pro/bin/ ; ${INSTALL_DATA} ${OOOEXTENSIONS} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/extensions/ ${FIND} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/program -type f \( -name '*.so*' -or -name '*.bin' \) -print0 | ${XARGS} -0 -n1 ${STRIP_CMD} for prog in crashrep pagein uri-encode javaldx regmerge regview; do \ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/program/$${prog}; \ done ${FIND} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR} -type d -exec ${CHMOD} 755 {} \; @${ECHO_MSG} "===> Add wrapper scripts"; ${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/ ${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \ -e 's#%%SVNREVISION%%#${SVNREVISION}#g' \ -e 's#%%OOODIR%%#${OOODIR}#g' \ -e 's#%%INSTALLATION_BASEDIR%%#${INSTALLATION_BASEDIR}#g' \ ${WRKDIR}/openoffice-wrapper ${INSTALL_SCRIPT} ${WRKDIR}/openoffice-wrapper \ ${STAGEDIR}${PREFIX}/bin/${EXECBASE} ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-sbase ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-scalc ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-sdraw ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-setofficelang ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-simpress ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-smath ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-spadmin ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-swriter cd ${STAGEDIR}${PREFIX} ; ${FIND} -s bin \( -type f -or -type l \) -name "${EXECBASE}*" >> ${TMPPLIST} cd ${STAGEDIR}${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} \( -type f -or -type l \) >> ${TMPPLIST} cd ${STAGEDIR}${PREFIX} ; ${FIND} ${INSTALLATION_BASEDIR} -type d -empty | ${SORT} -r | \ ${XARGS} -n 1 ${ECHO_CMD} @dir >> ${TMPPLIST} for app in base calc draw impress math writer; do \ ${REINPLACE_CMD} -e "s/^Exec.*/Exec=${EXECBASE} -$${app} %U/" \ -e "s/^Icon.*/Icon=${EXECBASE}-$${app}.png/" \ ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg/$${app}.desktop ; \ done ${REINPLACE_CMD} -e "s/^Exec.*/Exec=${EXECBASE}-spadmin %U/" \ -e "s/^Icon.*/Icon=${EXECBASE}-printeradmin.png/" \ ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg/printeradmin.desktop ${REINPLACE_CMD} -e "s/^Exec.*/Exec=${EXECBASE} -quickstart -nologo -nodefault/" \ ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg/startcenter.desktop ${RM} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg/*.desktop.bak ${RM} -f ${STAGEDIR}${DESKTOPDIR}/${EXECBASE} ${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${LN} -sf ${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg \ ${STAGEDIR}${DESKTOPDIR}/${EXECBASE} ${ECHO_CMD} "share/applications/${EXECBASE}" >> ${TMPPLIST} for dir in `ls ${ICONS}/hicolor | ${GREP} -v CVS`; do \ for app in base calc draw impress math printeradmin writer; do \ if [ -r ${ICONS}/hicolor/$${dir}/apps/$${app}.png ]; then \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/$${dir}/apps/ ; \ ${INSTALL_DATA} ${ICONS}/hicolor/$${dir}/apps/$${app}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/$${dir}/apps/${EXECBASE}-$${app}.png ; \ ${ECHO_CMD} "share/icons/hicolor/$${dir}/apps/${EXECBASE}-$${app}.png" >> ${TMPPLIST} ; \ fi \ done ; \ for iconfile in `cd ${ICONS}/hicolor/$${dir}/mimetypes; ls *.png`; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/$${dir}/mimetypes/ ; \ ${INSTALL_DATA} ${ICONS}/hicolor/$${dir}/mimetypes/$${iconfile} \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/$${dir}/mimetypes/ ; \ ${ECHO_CMD} "share/icons/hicolor/$${dir}/mimetypes/$${iconfile}" >> ${TMPPLIST} ; \ done ; \ done ${ECHO_CMD} "@unexec ${RM} %D/share/icons/hicolor/icon-theme.cache 2>/dev/null || ${TRUE}" >> ${TMPPLIST} ${ECHO_CMD} "@exec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} ${ECHO_CMD} "@unexec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} .include <${FILESDIR}/Makefile.others> .include Index: head/editors/openoffice-devel/Makefile =================================================================== --- head/editors/openoffice-devel/Makefile (revision 394507) +++ head/editors/openoffice-devel/Makefile (revision 394508) @@ -1,468 +1,466 @@ # Created by: Martin Blapp # $FreeBSD$ PORTNAME= apache-openoffice PORTVERSION= ${AOOVERSION1}.${AOOVERSION2}.${SVNREVISION} #PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= editors java MASTER_SITES= http://ci.apache.org/projects/openoffice/milestones/${AOOVERSION}-${AOORC}-r${SVNREVISION}/source/ \ http://tools.openoffice.org/unowinreg_prebuild/680/:unoreg \ LOCAL/truckman/openoffice:snap,extsrc .if defined(LANG_PKGNAME) PKGNAMEPREFIX= ${LANG_PKGNAME}- .endif .if defined(LANG_SUFFIX) PKGNAMESUFFIX= -${LANG_SUFFIX} .endif PKGNAMESUFFIX= -devel DISTFILES= ${OOOSRC}${AOODISTTAG} unowinreg.dll:unoreg ${EXTSRC}:extsrc DIST_SUBDIR= openoffice EXTRACT_ONLY= ${OOOSRC} MAINTAINER= office@FreeBSD.org #de facto maintainer is truckman@FreeBSD.org #Frequent Patch submitters should optionally sign Apache iCLA COMMENT= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser (developer version) LICENSE= APACHE20 ADOBE BSD3CLAUSE BSD4CLAUSE BSL ICU MIT MPL \ PSFL TWAIN W3C LICENSE_COMB= multi LICENSE_NAME_ADOBE= Adobe Systems Incorporated license LICENSE_NAME_ICU= ICU License LICENSE_NAME_TWAIN= TWAIN Working Group license LICENSE_NAME_W3C= W3C license LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE_ALv2 LICENSE_FILE_ADOBE= ${WRKSRC}/LICENSE_ADOBE LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE_BSD3CLAUSE LICENSE_FILE_BSD4CLAUSE= ${WRKSRC}/LICENSE_BSD4CLAUSE LICENSE_FILE_BSL= ${WRKSRC}/LICENSE_BSL LICENSE_FILE_ICU= ${WRKSRC}/LICENSE_ICU LICENSE_FILE_MIT= ${WRKSRC}/LICENSE_MIT LICENSE_FILE_MPL= ${WRKSRC}/LICENSE_MPL LICENSE_FILE_PSFL= ${WRKSRC}/LICENSE_PSFL LICENSE_FILE_TWAIN= ${WRKSRC}/LICENSE_TWAIN LICENSE_FILE_W3C= ${WRKSRC}/LICENSE_W3C LICENSE_PERMS_ADOBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_ICU= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_TWAIN= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_W3C= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= \ p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \ ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \ zip:${PORTSDIR}/archivers/zip \ ant:${PORTSDIR}/devel/apache-ant \ ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs \ dmake:${PORTSDIR}/devel/dmake \ epm:${PORTSDIR}/devel/epm \ ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \ imake:${PORTSDIR}/devel/imake \ gpatch:${PORTSDIR}/devel/patch \ ${LOCALBASE}/include/sane/sane.h:${PORTSDIR}/graphics/sane-backends \ ${LOCALBASE}/bin/vigra-config:${PORTSDIR}/graphics/vigra \ ${JAVALIBDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \ ${JAVALIBDIR}/commons-lang.jar:${PORTSDIR}/java/jakarta-commons-lang \ ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \ ${JAVALIBDIR}/bsh.jar:${PORTSDIR}/lang/bsh \ bash:${PORTSDIR}/shells/bash \ ${JAVALIBDIR}/lucene-core-3.6.2.jar:${PORTSDIR}/textproc/lucene \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww LIB_DEPENDS= \ libapr-1.so:${PORTSDIR}/devel/apr1 \ libnspr4.so:${PORTSDIR}/devel/nspr \ libcurl.so:${PORTSDIR}/ftp/curl \ libcairo.so:${PORTSDIR}/graphics/cairo \ libpng.so:${PORTSDIR}/graphics/png \ libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \ libgraphite.so:${PORTSDIR}/graphics/silgraphite \ libCoinMP.so:${PORTSDIR}/math/coinmp \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libnss3.so:${PORTSDIR}/security/nss \ libexpat.so:${PORTSDIR}/textproc/expat2 \ libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \ libhyphen.so:${PORTSDIR}/textproc/hyphen \ libtextcat.so:${PORTSDIR}/textproc/libtextcat \ libmythes-1.2.so:${PORTSDIR}/textproc/mythes \ librdf.so:${PORTSDIR}/textproc/redland \ libserf-1.so:${PORTSDIR}/www/serf \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig RUN_DEPENDS= \ ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme \ ${JAVALIBDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \ ${JAVALIBDIR}/bsh.jar:${PORTSDIR}/lang/bsh \ ${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf:${PORTSDIR}/x11-fonts/croscorefonts-fonts-ttf AOOVERSION1= 4 AOOVERSION2= 2 AOOVERSION3= 0 # From solenv/inc/minor.mk SOURCEREVISION LAST_MINOR BUILD AOOTAG= AOO420m1\(Build:9800\) SVNREVISION= 1694132 #AOORC=rc3 EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz AOOVERSION= ${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3} AOOXXX= ${AOOVERSION1}${AOOVERSION2}${AOOVERSION3} .if defined(AOORC) AOOSUFFIX= ${AOOVERSION}-${AOORC} OOOSRC= apache-openoffice-${AOOVERSION}-r${SVNREVISION}-src${EXTRACT_SUFX} AOODISTTAG= TARTYPE= bzip2 .else AOOSUFFIX= ${PORTVERSION} OOOSRC= apache-openoffice-r${SVNREVISION}-src${EXTRACT_SUFX} AOODISTTAG= :snap TARTYPE= xz .endif OOODIR= openoffice${AOOVERSION1} AOOUDIR= .openoffice.org\/${AOOVERSION1} INSTALLATION_BASEDIR?= openoffice-${AOOSUFFIX} EXECBASE?= openoffice-${AOOSUFFIX} -NO_LATEST_LINK= yes - ONLY_FOR_ARCHS= i386 amd64 USE_GL= gl glu USE_GNOME= gtk20 libxslt libidl glib20 USE_JAVA= yes JAVA_BUILD= jdk JAVA_VENDOR= openjdk JAVA_VERSION= 1.6+ USE_PERL5= build USE_XORG= x11 ice xaw xau xext xrender xrandr \ xi xt xcursor xdamage xcomposite xfixes USES= autoreconf:autoconf bison compiler cpe desktop-file-utils \ gettext-runtime gmake iconv jpeg perl5 pkgconfig python \ tar:${TARTYPE} WITHOUT_CPU_CFLAGS= true CPE_PRODUCT= ${PORTNAME:S|apache-||} CPE_VENDOR= apache OPTIONS_DEFINE= CUPS GNOME GNOMEVFS MMEDIA CCACHE OPTIONS_DEFAULT= CUPS GNOME GNOMEVFS MMEDIA GNOME_DESC= GConf + screensaver presentation control via DBUS GNOMEVFS_DESC= GNOME Virtual File System MMEDIA_DESC= Multimedia backend for impress CCACHE_DESC= Mimimize compile time of C/C++ programs CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client GNOME_CONFIGURE_ENABLE= dbus gconf lockdown GNOME_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib GNOME_USE= GNOME=gconf2 GNOMEVFS_CONFIGURE_ENABLE= gnome-vfs GNOMEVFS_CONFIGURE_OFF= --enable-gio GNOMEVFS_CONFIGURE_ON= --disable-gio GNOMEVFS_USE= GNOME=gnomevfs2 MMEDIA_CONFIGURE_ENABLE= gstreamer MMEDIA_USE= GSTREAMER=yes .include .include <${FILESDIR}/Makefile.localized> .if ${COMPILER_TYPE} == clang CPPFLAGS+= -I${LOCALBASE}/include .else USE_GCC= yes .endif .if ${ARCH} == amd64 FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86-64 .else FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86 .endif PACKAGE_PREFIX= Apache_OpenOffice LOCALIZED_LANG?= en-US .if ${PORT_OPTIONS:MCCACHE} || defined(WITH_CCACHE) BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache CCACHE_PREFIX= ccache OOOCC= ${CCACHE_PREFIX} ${CC} OOOCXX= ${CCACHE_PREFIX} ${CXX} .else OOOCC= ${CC} OOOCXX= ${CXX} .endif CONFIGURE_ENV+= CC="${OOOCC}" CXX="${OOOCXX}" \ PATH=${WRKSRC}/solenv/bin:$$PATH GNU_CONFIGURE= yes WRKSUBDIR= ${WRKDIR}/aoo-${AOOVERSION} WRKSRC?= ${WRKSUBDIR}/main SUB_FILES= pkg-message SUB_LIST= EXECBASE=${EXECBASE} AOOTAG=${AOOTAG} AOOUDIR=${AOOUDIR} CONFIGURE_ARGS+= \ --with-system-apache-commons=yes \ --with-commons-codec-jar=${JAVALIBDIR}/commons-codec.jar \ --with-commons-lang-jar=${JAVALIBDIR}/commons-lang.jar \ --with-commons-httpclient-jar=${JAVALIBDIR}/commons-httpclient.jar \ --with-commons-logging-jar=${JAVALIBDIR}/commons-logging.jar \ --with-system-apr \ --with-system-apr-util \ --with-system-beanshell \ --with-beanshell-jar=${JAVALIBDIR}/bsh.jar \ --with-system-boost \ --enable-category-b \ --with-system-cairo --enable-cairo \ --with-system-coinmp \ --with-system-curl \ --enable-crashdump \ --with-system-dicts \ --with-epm=${LOCALBASE}/bin/epm \ --with-system-expat \ --disable-fetch-external \ --without-fonts \ --with-gnu-patch=${LOCALBASE}/bin/gpatch \ --with-gperf=${LOCALBASE}/bin/gperf \ --with-system-graphite \ --enable-gtk \ --with-system-hunspell \ --with-external-dict-dir=${LOCALBASE}/share/hunspell \ --with-system-hyphen \ --with-external-hyph-dir=${LOCALBASE}/share/hyphen \ --with-system-jpeg \ --with-junit=${LOCALBASE}/share/java/classes/junit.jar \ --with-system-libtextcat \ --disable-kde \ --disable-kde4 \ --with-system-libxml \ --with-system-libxslt \ --with-system-lucene \ --with-lucene-core-jar=${JAVALIBDIR}/lucene-core-3.6.2.jar \ --with-lucene-analyzers-jar=${JAVALIBDIR}/lucene-analyzers-3.6.2.jar \ --with-system-mythes \ --with-external-thes-dir=${LOCALBASE}/share/mythes \ --with-system-nss \ --enable-opengl \ --with-system-openssl \ --with-package-format="archive" \ --with-system-poppler \ --with-system-python \ --with-system-redland \ --with-system-sane \ --with-system-serf \ --with-system-stdlibs \ --enable-symbols=small \ --without-stlport \ --with-vendor="FreeBSD ports system" \ --enable-verbose \ --with-system-vigra \ --enable-wiki-publisher \ --with-system-xrender \ --with-system-zlib #OOOEXTENSIONS+= minimizer/presentation-minimizer.oxt #OOOEXTENSIONS+= presenter/presenter-screen.oxt #OOOEXTENSIONS+= pdfimport/pdfimport.oxt OOOEXTENSIONS+= swext/wiki-publisher.oxt ICONS= ${WRKSRC}/sysui/desktop/icons .include <${FILESDIR}/Makefile.knobs> pre-everything:: # really tweak, extremely useful when you build all localized language versions # needed after when you build with ALL_LOCALIZED_LANGS. .if defined(TWEAK_L10N) ${RM} -f ${WRKDIR}/.PLIST* ${RM} -f ${WRKDIR}/.install_done.* ${RM} -f ${WRKDIR}/.package_done.* ${RM} -f ${WRKDIR}/.extract_done.* ${RM} -f ${WRKDIR}/.patch_done.* ${RM} -f ${WRKDIR}/.configure_done.* ${RM} -f ${WRKDIR}/.build_done.* ${MKDIR} ${WRKDIR} ${TOUCH} ${EXTRACT_COOKIE} ${TOUCH} ${PATCH_COOKIE} ${TOUCH} ${CONFIGURE_COOKIE} ${TOUCH} ${BUILD_COOKIE} .endif post-extract: ${TAR} -C ${WRKSUBDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EXTSRC} ${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/ ${RM} -rf ${WRKSRC}/l10n ${LN} -sf ${UNZIP_CMD} ${WRKSRC}/solenv/bin/unzip ${SED} -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \ -e '\|^For PostScript(R) AFM|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ADOBE} ${SED} -e '\|^For main/unixODBC|,/^__/p' \ -e '\|^For main/connectivity|,/^__/p' \ -e '\|^For main/libtextcat/data|,/^__/p' \ -e '\|^For integration of HSQLDB|,/^__/p' \ -e '\|^For C preprocessor|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD3CLAUSE} ${SED} -e '\|^For ICC |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD4CLAUSE} ${SED} -e '\|^For integration of the C++ Boost |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSL} ${SED} -e '\|^For main/i18npool/source/breakiterator|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ICU} ${SED} -e '\|^For Multi-Dimensional Data|,/^__/p' \ -e '\|^For XSLT MathML Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_MIT} ${SED} -e '\|^For XMLSec Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b >> ${LICENSE_FILE_MIT} ${SED} -e '\|^For Graphite|,$$d' \ ${WRKSRC}/LICENSE_category_b > ${LICENSE_FILE_MPL} ${SED} -e '\|^For main/filter/source/config/tools/merge/pyAltFCFGMerge|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_PSFL} ${SED} -e '\|^For main/twain|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_TWAIN} ${SED} -e '\|^For main/MathMLDTD|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_W3C} post-patch: .if ${COMPILER_TYPE} == gcc # g++49 -Os sometimes leaves inline class methods undefined, # affects fmgridif.cxx and ColumnControl.cxx # See: if [ ${CXX} = g++49 ]; then \ ${REINPLACE_CMD} -e "s/ := -Os/ := -Os -fno-devirtualize -fno-devirtualize-speculatively/" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk; \ ${REINPLACE_CMD} -e "s/=-Os /=-Os -fno-devirtualize -fno-devirtualize-speculatively /" ${WRKSRC}/solenv/inc/unxfbsdi.mk; \ fi .elif ${ARCH} == i386 && ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} == 36 # autodoc and uno (bridgetest) core dump when built with with -Os # on i386, affects file.cxx and bridgetest.cxx # Using -O2 optimiztion works, and -Os is essentially -O2 with out # loop unrolling. # Changing optimization in just unxfbsdi.mk is sufficient to get # a successful build, but change it in both places to avoid the # possibility of obscure runtime problems. ${REINPLACE_CMD} -e "s/=-Os /=-O2 -fno-unroll-loops /" ${WRKSRC}/solenv/inc/unxfbsdi.mk ${REINPLACE_CMD} -e "s/ := -Os/ := -O2 -fno-unroll-loops/" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk .endif do-build: ${PRINTF} "[repositories]\nmain=active\nextras=active\n" > ${WRKSUBDIR}/source_config cd ${WRKSRC} ; ./bootstrap # # numproc controls the number of parallel makes. # # dmproc is passed to dmake and controls parallelization at that # level. # # dmproc > numproc seems to give shorter build times than # numproc > dmproc. # # Select values for numproc and dmproc such that: # * numproc*dmproc >= MAKE_JOBS_NUMBER # * minimize numproc*dmproc-MAKE_JOBS_NUMBER # * dmproc >= numproc # * dmproc <= 2*numproc if MAKE_JOBS_NUMBER <= 3 # if [ ${MAKE_JOBS_NUMBER} -le 3 ] ; then \ numproc=1 ; dmproc=${MAKE_JOBS_NUMBER} ; \ else \ a=1 ; \ while [ $$(( 2 * $${a} * $${a} )) -lt ${MAKE_JOBS_NUMBER} ]; do \ a=$$(( $${a} + 1 )) ; \ done ; \ b=$$(( $${a} + 1 )) ; \ ad=$$(( ( ${MAKE_JOBS_NUMBER} + $${a} - 1 ) / $${a} )) ; \ ap=$$(( $${a} * $${ad} )) ; \ bd=$$(( ( ${MAKE_JOBS_NUMBER} + $${b} - 1 ) / $${b} )) ; \ bp=$$(( $${b} * $${bd} )) ; \ if [ $${ap} -le $${bp} ]; then \ numproc=$${a} ; dmproc=$${ad} ; \ else \ numproc=$${b} ; dmproc=$${bd} ; \ fi ; \ fi ; \ cd ${WRKSRC}/instsetoo_native ; \ . ../${FREEBSD_ENV_SET} ; \ LANG=C LC_ALL=C build.pl --all -P$${numproc} -- -P$${dmproc} do-install: cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/Apache_OpenOffice/archive/install/${LOCALIZED_LANG}/ ; ${LS} *.tar.?z > ${WRKDIR}/INSTALLFILES ${RM} -Rf ${WRKDIR}/tmp ${MKDIR} ${WRKDIR}/tmp @for i in `${CAT} ${WRKDIR}/INSTALLFILES`; do \ ${ECHO_CMD} "extracting $$i" ; \ cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/Apache_OpenOffice/archive/install/${LOCALIZED_LANG}/$$i ; \ done ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR} cd ${WRKDIR}/tmp/*/ ; ${TAR} cf - -C . . | ${TAR} xf - -C ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR} ${REINPLACE_CMD} -e 's/^UserInstallation.*$$/USERINSTALLATION/' ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/program/bootstraprc ${REINPLACE_CMD} -e 's/USERINSTALLATION/UserInstallation=$$SYSUSERCONFIG\/${AOOUDIR}/' ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/program/bootstraprc ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/extensions/ cd ${WRKSRC}/solver/${AOOXXX}/unxfbsd?.pro/bin/ ; ${INSTALL_DATA} ${OOOEXTENSIONS} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/extensions/ ${FIND} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/program -type f \( -name '*.so*' -or -name '*.bin' \) -print0 | ${XARGS} -0 -n1 ${STRIP_CMD} for prog in crashrep pagein uri-encode javaldx regmerge regview; do \ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/program/$${prog}; \ done ${FIND} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR} -type d -exec ${CHMOD} 755 {} \; @${ECHO_MSG} "===> Add wrapper scripts"; ${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/ ${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \ -e 's#%%SVNREVISION%%#${SVNREVISION}#g' \ -e 's#%%OOODIR%%#${OOODIR}#g' \ -e 's#%%INSTALLATION_BASEDIR%%#${INSTALLATION_BASEDIR}#g' \ ${WRKDIR}/openoffice-wrapper ${INSTALL_SCRIPT} ${WRKDIR}/openoffice-wrapper \ ${STAGEDIR}${PREFIX}/bin/${EXECBASE} ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-sbase ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-scalc ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-sdraw ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-setofficelang ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-simpress ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-smath ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-spadmin ${LN} -fs ${EXECBASE} ${STAGEDIR}${PREFIX}/bin/${EXECBASE}-swriter cd ${STAGEDIR}${PREFIX} ; ${FIND} -s bin \( -type f -or -type l \) -name "${EXECBASE}*" >> ${TMPPLIST} cd ${STAGEDIR}${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} \( -type f -or -type l \) >> ${TMPPLIST} cd ${STAGEDIR}${PREFIX} ; ${FIND} ${INSTALLATION_BASEDIR} -type d -empty | ${SORT} -r | \ ${XARGS} -n 1 ${ECHO_CMD} @dir >> ${TMPPLIST} for app in base calc draw impress math writer; do \ ${REINPLACE_CMD} -e "s/^Exec.*/Exec=${EXECBASE} -$${app} %U/" \ -e "s/^Icon.*/Icon=${EXECBASE}-$${app}.png/" \ ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg/$${app}.desktop ; \ done ${REINPLACE_CMD} -e "s/^Exec.*/Exec=${EXECBASE}-spadmin %U/" \ -e "s/^Icon.*/Icon=${EXECBASE}-printeradmin.png/" \ ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg/printeradmin.desktop ${REINPLACE_CMD} -e "s/^Exec.*/Exec=${EXECBASE} -quickstart -nologo -nodefault/" \ ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg/startcenter.desktop ${RM} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg/*.desktop.bak ${RM} -f ${STAGEDIR}${DESKTOPDIR}/${EXECBASE} ${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${LN} -sf ${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg \ ${STAGEDIR}${DESKTOPDIR}/${EXECBASE} ${ECHO_CMD} "share/applications/${EXECBASE}" >> ${TMPPLIST} for dir in `ls ${ICONS}/hicolor | ${GREP} -v CVS`; do \ for app in base calc draw impress math printeradmin writer; do \ if [ -r ${ICONS}/hicolor/$${dir}/apps/$${app}.png ]; then \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/$${dir}/apps/ ; \ ${INSTALL_DATA} ${ICONS}/hicolor/$${dir}/apps/$${app}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/$${dir}/apps/${EXECBASE}-$${app}.png ; \ ${ECHO_CMD} "share/icons/hicolor/$${dir}/apps/${EXECBASE}-$${app}.png" >> ${TMPPLIST} ; \ fi \ done ; \ for iconfile in `cd ${ICONS}/hicolor/$${dir}/mimetypes; ls *.png`; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/$${dir}/mimetypes/ ; \ ${INSTALL_DATA} ${ICONS}/hicolor/$${dir}/mimetypes/$${iconfile} \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/$${dir}/mimetypes/ ; \ ${ECHO_CMD} "share/icons/hicolor/$${dir}/mimetypes/$${iconfile}" >> ${TMPPLIST} ; \ done ; \ done ${ECHO_CMD} "@unexec ${RM} %D/share/icons/hicolor/icon-theme.cache 2>/dev/null || ${TRUE}" >> ${TMPPLIST} ${ECHO_CMD} "@exec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} ${ECHO_CMD} "@unexec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} .include <${FILESDIR}/Makefile.others> .include Index: head/emulators/generator-cbiere/Makefile =================================================================== --- head/emulators/generator-cbiere/Makefile (revision 394507) +++ head/emulators/generator-cbiere/Makefile (revision 394508) @@ -1,51 +1,51 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= generator PORTVERSION= 0.35.r4 PORTREVISION= 7 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= http://www.squish.net/generator/cbiere/generator/ PKGNAMESUFFIX= -cbiere DISTNAME= ${PORTNAME}-0.35${PKGNAMESUFFIX}-r4 MAINTAINER= ports@FreeBSD.org COMMENT= SEGA Genesis emulator LICENSE= GPLv2 USES= gmake jpeg tar:bzip2 USE_GNOME= gtk12 USE_SDL= sdl GNU_CONFIGURE= yes -CONFIGURE_ARGS= --program-transform-name=s/${PORTNAME}/${UNIQUENAME}/ \ +CONFIGURE_ARGS= --program-transform-name=s/${PORTNAME}/${PORTNAME}/ \ --with-gtk MAKE_JOBS_UNSAFE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -PLIST_FILES= bin/${UNIQUENAME}-gtk +PLIST_FILES= bin/${PORTNAME}-gtk OPTIONS_DEFINE= OPTIMIZED_CFLAGS SDL OPTIONS_DEFINE_i386= RAZE OPTIMIZED_CFLAGS_CONFIGURE_OFF= --without-gcc RAZE_DESC= Use RAZE z80 emulation RAZE_BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm RAZE_CONFIGURE_ON= --with-raze SDL_DESC= Use SDL for audio SDL_CONFIGURE_ON= --with-sdl-audio .include .if empty(PORT_OPTIONS:MRAZE) CONFIGURE_ARGS+=--with-cmz80 .endif post-patch: @${REINPLACE_CMD} -e \ '/%define %1 @UNDERSCORE@%1 /d' ${WRKSRC}/raze/raze.asm.in .include Index: head/emulators/i386-wine/Makefile.inc =================================================================== --- head/emulators/i386-wine/Makefile.inc (revision 394507) +++ head/emulators/i386-wine/Makefile.inc (revision 394508) @@ -1,90 +1,90 @@ # Created by: David Naylor # $FreeBSD$ PORTNAME= wine PORTVERSION= 1.6.2 PORTREVISION= 10 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= LOCAL/dbn/repos/wine/${DIST_SUBDIR}/${PORTVERSION} PKGNAMEPREFIX= i386- DISTNAME= ${PKGNAME} EXTRACT_SUFX= .txz DIST_SUBDIR= freebsd:${OSREL:C/\..*//}:x86:64 MAINTAINER= dbn@FreeBSD.org COMMENT?= 32bit Microsoft Windows compatibility environment for 64bit FreeBSD LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual LICENSE_FILE= ${WRKDIR}/LICENSE OPTIONS_DEFINE= GECKO MONO GECKO_DESC= Bundle Gecko MSI package for Wine MONO_DESC= Bundle Mono MSI package for Wine CONFLICTS_INSTALL?= wine-[0-9]* wine-staging-[0-9]* wine-devel-[0-9]* \ i386-wine-staging-[0-9]* i386-wine-devel-[0-9]* EXTRACT_AFTER_ARGS= -C / --exclude +COMPACT_MANIFEST --exclude +MANIFEST \ --exclude +MTREE_DIRS --exclude share/licenses/'*' \ - --exclude libdata/ldconfig32/${UNIQUENAME} \ + --exclude libdata/ldconfig32/${PKGNAMEPREFIX}-${PORTNAME} \ -s '|/usr/local|${STAGEDIR}${PREFIX}|gs' NO_BUILD= yes ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= wine only runs on x86 architecture SLAVEDIR?= ${.CURDIR} PKGINSTALL= ${SLAVEDIR}/files/pkg-install PKGDEINSTALL= ${PKGINSTALL} PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message USE_LDCONFIG32= ${PREFIX}/lib32 ${PREFIX}/lib32/wine USES= tar:xz BUNDLE_LIBS= yes GECKO_RUN_DEPENDS= ${DATADIR}/gecko/wine_gecko-2.21-x86.msi:${PORTSDIR}/emulators/wine-gecko MONO_RUN_DEPENDS= ${DATADIR}/mono/wine-mono-0.0.8.msi:${PORTSDIR}/emulators/wine-mono PORTSCOUT= limitw:1,even # Included for OPSYS and OSVERSION .include .for osrel in 8 9 10 11 .if ${OSREL:C/\..*//} == ${osrel} PLIST_SUB+= OSREL${osrel}="" .else PLIST_SUB+= OSREL${osrel}="@comment " .endif .endfor .if ${OPSYS} != FreeBSD || (!(${OSVERSION} < 900000) && !(${OSVERSION} >= 901000 && ${OSVERSION} < 1000000) && !(${OSVERSION} >= 1000510 && ${OSVERSION} < 1100000) && !(${OSVERSION} >= 1100048 && ${OSVERSION} < 1200000)) IGNORE= binaries compiled for FreeBSD 8.4+, 9.1+, 10.0+ and -current only DISTFILES= .endif do-extract: @${RM} -rf ${WRKDIR} @${MKDIR} ${WRKDIR} ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} -C ${WRKDIR} --include '/usr/local/share/licenses/${PKGNAME}/LICENSE' -s '|/usr/local/share/licenses/${PKGNAME}/||g' do-install: ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} ${PLIST}: fetch ${TAR} -tf ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} | ${GREP} -v '/$$' | ${SED} 's|/usr/local/||g' | sort > ${PLIST} port-update: ${RM} -f ${SLAVEDIR}/distinfo ${SLAVEDIR}/distinfo~ ${SLAVEDIR}/pkg-plist.* .for osrel in 8 9 10 11 ${MAKE} fetch OSREL=${osrel} ${MAKE} makesum OSREL=${osrel} ${CAT} ${SLAVEDIR}/distinfo >> ${SLAVEDIR}/distinfo~ ${RM} ${SLAVEDIR}/distinfo ${MAKE} pkg-plist.${osrel} PLIST=pkg-plist.${osrel} OSREL=${osrel} .endfor ${MV} ${SLAVEDIR}/distinfo~ ${SLAVEDIR}/distinfo python ${FILESDIR}/mergeplist.py ${SLAVEDIR}/pkg-plist.* > ${PLIST} ${RM} ${SLAVEDIR}/pkg-plist.* .include Index: head/emulators/i386-wine-devel/Makefile.inc =================================================================== --- head/emulators/i386-wine-devel/Makefile.inc (revision 394507) +++ head/emulators/i386-wine-devel/Makefile.inc (revision 394508) @@ -1,99 +1,99 @@ # Created by: David Naylor # $FreeBSD$ PORTNAME= wine PORTVERSION= 1.7.49 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= LOCAL/dbn/repos/wine/${DIST_SUBDIR}/${PORTVERSION} PKGNAMEPREFIX= i386- PKGNAMESUFFIX?= -devel DISTNAME= ${PKGNAME} EXTRACT_SUFX= .txz DIST_SUBDIR= freebsd:${OSREL:C/\..*//}:x86:64 MAINTAINER= dbn@FreeBSD.org COMMENT?= 32bit Microsoft Windows compatibility environment for 64bit FreeBSD LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual LICENSE_FILE= ${WRKDIR}/LICENSE OPTIONS_DEFINE= GECKO MONO GECKO_DESC= Bundle Gecko MSI package for Wine MONO_DESC= Bundle Mono MSI package for Wine CONFLICTS_INSTALL?= wine-[0-9]* wine-staging-[0-9]* wine-devel-[0-9]* \ i386-wine-[0-9]* i386-wine-staging-[0-9]* EXTRACT_AFTER_ARGS= -C / --exclude +COMPACT_MANIFEST --exclude +MANIFEST \ --exclude +MTREE_DIRS --exclude share/licenses/'*' \ - --exclude libdata/ldconfig32/${UNIQUENAME} \ + --exclude libdata/ldconfig32/${PKGNAMEPREFIX}${PORTNAME} \ -s '|/usr/local|${STAGEDIR}${PREFIX}|gs' NO_BUILD= yes ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= wine only runs on x86 architecture SLAVEDIR?= ${.CURDIR} PKGINSTALL= ${SLAVEDIR}/files/pkg-install PKGDEINSTALL= ${PKGINSTALL} PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message USE_LDCONFIG32= ${PREFIX}/lib32 ${PREFIX}/lib32/wine USES= tar:xz BUNDLE_LIBS= yes GECKO_RUN_DEPENDS= ${DATADIR}/gecko/wine_gecko-2.36-x86.msi:${PORTSDIR}/emulators/wine-gecko-devel MONO_RUN_DEPENDS= ${DATADIR}/mono/wine-mono-4.5.6.msi:${PORTSDIR}/emulators/wine-mono-devel # Included for OPSYS and OSVERSION .include .for osrel in 9 10 11 .if ${OSREL:C/\..*//} == ${osrel} PLIST_SUB+= OSREL${osrel}="" .if ${PKGNAMESUFFIX} == -devel PLIST_SUB+= OSREL${osrel}-DEVEL="" PLIST_SUB+= OSREL${osrel}-STAGING="@comment " .else PLIST_SUB+= OSREL${osrel}-DEVEL="@comment " PLIST_SUB+= OSREL${osrel}-STAGING="" .endif .else PLIST_SUB+= OSREL${osrel}="@comment " PLIST_SUB+= OSREL${osrel}-DEVEL="@comment " PLIST_SUB+= OSREL${osrel}-STAGING="@comment " .endif .endfor .if ${OPSYS} != FreeBSD || (!(${OSVERSION} < 1000000) && !(${OSVERSION} >= 1001000 && ${OSVERSION} < 1100000) && !(${OSVERSION} >= 1100077 && ${OSVERSION} < 1200000)) IGNORE= binaries compiled for FreeBSD 9.3+, 10.1+ and -current only DISTFILES= .endif do-extract: @${RM} -rf ${WRKDIR} @${MKDIR} ${WRKDIR} ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} -C ${WRKDIR} --include '/usr/local/share/licenses/${DISTNAME}/LICENSE' -s '|/usr/local/share/licenses/${DISTNAME}/||g' do-install: ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} ${PLIST}: fetch ${TAR} -tf ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} | ${GREP} -v '/$$' | ${SED} 's|/usr/local/||g' | sort > ${PLIST} port-update: ${RM} -f ${SLAVEDIR}/distinfo ${SLAVEDIR}/distinfo~ ${SLAVEDIR}/pkg-plist.* .for osrel in 9 10 11 .for suffix in -devel -staging ${MAKE} fetch OSREL=${osrel} OSVERSION=${osrel}99999 UNAME_r=${osrel} PKGNAMESUFFIX=${suffix} ${MAKE} makesum OSREL=${osrel} OSVERSION=${osrel}99999 UNAME_r=${osrel} PKGNAMESUFFIX=${suffix} ${CAT} ${SLAVEDIR}/distinfo >> ${SLAVEDIR}/distinfo~ ${RM} ${SLAVEDIR}/distinfo ${MAKE} pkg-plist.${osrel}${suffix:tu} PLIST=pkg-plist.${osrel}${suffix:tu} OSREL=${osrel} OSVERSION=${osrel}99999 UNAME_r=${osrel} PKGNAMESUFFIX=${suffix} .endfor .endfor ${MV} ${SLAVEDIR}/distinfo~ ${SLAVEDIR}/distinfo python ${FILESDIR}/mergeplist.py ${SLAVEDIR}/pkg-plist.* > ${PLIST} ${RM} ${SLAVEDIR}/pkg-plist.* .include Index: head/emulators/linux_base-c6/Makefile =================================================================== --- head/emulators/linux_base-c6/Makefile (revision 394507) +++ head/emulators/linux_base-c6/Makefile (revision 394508) @@ -1,263 +1,262 @@ # Created by: Svyatoslav Lempert # $FreeBSD$ PORTNAME= c6 PORTVERSION= 6.6 PORTREVISION= 6 CATEGORIES= emulators linux MASTER_SITES= CENTOS_LINUX CENTOS_LINUX_UPDATES MASTER_SITE_SUBDIR= centos/${LINUX_DIST_VER}/os/${LINUX_REPO_ARCH}/Packages/\ centos/${LINUX_DIST_VER}/updates/${LINUX_REPO_ARCH}/Packages/ \ ${LINUX_DIST_VER}/os/${LINUX_REPO_ARCH}/Packages/ PKGNAMEPREFIX= linux_base- DISTFILES= ${PRE_BIN_DISTFILES} ${BIN_DISTFILES} ${SRC_DISTFILES} EXTRACT_ONLY= ${BIN_DISTFILES} MAINTAINER= emulation@FreeBSD.org COMMENT= Base set of packages needed in Linux mode for i386/amd64 (Linux CentOS 6) LINUX_DIST= centos LINUX_DIST_VER=6.6 DIST_SUBDIR= rpm/${LINUX_RPM_ARCH}/${LINUX_DIST}/${LINUX_DIST_VER} # these get extracted from pre-extract, then some directory permissions # get fixed up PRE_BIN_DISTFILES= filesystem-2.4.30-3.el6.${LINUX_RPM_ARCH}.rpm \ setup-2.8.14-20.el6_4.1.noarch.rpm BIN_DISTFILES= basesystem-10.0-4.el6.noarch.rpm \ bash-4.1.2-29.el6.${LINUX_RPM_ARCH}.rpm \ bzip2-1.0.5-7.el6_0.${LINUX_RPM_ARCH}.rpm \ bzip2-libs-1.0.5-7.el6_0.${LINUX_RPM_ARCH}.rpm \ centos-release-6-6.el6.centos.12.2.${LINUX_RPM_ARCH}.rpm \ compat-db43-4.3.29-15.el6.${LINUX_RPM_ARCH}.rpm \ compat-libstdc++-33-3.2.3-69.el6.${LINUX_RPM_ARCH}.rpm \ compat-libstdc++-296-2.96-144.el6.i686.rpm \ coreutils-8.4-37.el6.${LINUX_RPM_ARCH}.rpm \ db4-4.7.25-19.el6_6.${LINUX_RPM_ARCH}.rpm \ e2fsprogs-1.41.12-21.el6.${LINUX_RPM_ARCH}.rpm \ e2fsprogs-libs-1.41.12-21.el6.${LINUX_RPM_ARCH}.rpm \ elfutils-0.158-3.2.el6.${LINUX_RPM_ARCH}.rpm \ findutils-4.4.2-6.el6.${LINUX_RPM_ARCH}.rpm \ freetype-2.3.11-15.el6_6.1.${LINUX_RPM_ARCH}.rpm \ gamin-0.1.10-9.el6.${LINUX_RPM_ARCH}.rpm \ gdbm-1.8.0-36.el6.${LINUX_RPM_ARCH}.rpm \ glib2-2.28.8-4.el6.${LINUX_RPM_ARCH}.rpm \ glibc-2.12-1.149.el6_6.9.${LINUX_RPM_ARCH}.rpm \ glibc-common-2.12-1.149.el6_6.9.${LINUX_RPM_ARCH}.rpm \ gmp-4.3.1-7.el6_2.2.${LINUX_RPM_ARCH}.rpm \ grep-2.6.3-6.el6.${LINUX_RPM_ARCH}.rpm \ info-4.13a-8.el6.${LINUX_RPM_ARCH}.rpm \ keyutils-1.4-5.el6.${LINUX_RPM_ARCH}.rpm \ keyutils-libs-1.4-5.el6.${LINUX_RPM_ARCH}.rpm \ krb5-libs-1.10.3-37.el6_6.${LINUX_RPM_ARCH}.rpm \ less-436-13.el6.${LINUX_RPM_ARCH}.rpm \ libacl-2.2.49-6.el6.${LINUX_RPM_ARCH}.rpm \ libattr-2.4.44-7.el6.${LINUX_RPM_ARCH}.rpm \ libblkid-2.17.2-12.18.el6.${LINUX_RPM_ARCH}.rpm \ libcap-2.16-5.5.el6.${LINUX_RPM_ARCH}.rpm \ libcom_err-1.41.12-21.el6.${LINUX_RPM_ARCH}.rpm \ libgcc-4.4.7-11.el6.${LINUX_RPM_ARCH}.rpm \ libidn-1.18-2.el6.${LINUX_RPM_ARCH}.rpm \ libselinux-2.0.94-5.8.el6.${LINUX_RPM_ARCH}.rpm \ libsepol-2.0.41-4.el6.${LINUX_RPM_ARCH}.rpm \ libstdc++-4.4.7-11.el6.${LINUX_RPM_ARCH}.rpm \ libuuid-2.17.2-12.18.el6.${LINUX_RPM_ARCH}.rpm \ ncurses-5.7-3.20090208.el6.${LINUX_RPM_ARCH}.rpm \ ncurses-libs-5.7-3.20090208.el6.${LINUX_RPM_ARCH}.rpm \ pcre-7.8-6.el6.${LINUX_RPM_ARCH}.rpm \ popt-1.13-7.el6.${LINUX_RPM_ARCH}.rpm \ readline-6.0-4.el6.${LINUX_RPM_ARCH}.rpm \ redhat-lsb-core-4.0-7.el6.centos.${LINUX_RPM_ARCH}.rpm \ sed-4.2.1-10.el6.${LINUX_RPM_ARCH}.rpm \ setserial-2.17-25.el6.${LINUX_RPM_ARCH}.rpm \ slang-2.2.1-1.el6.${LINUX_RPM_ARCH}.rpm \ util-linux-ng-2.17.2-12.18.el6.${LINUX_RPM_ARCH}.rpm \ which-2.19-6.el6.${LINUX_RPM_ARCH}.rpm \ zlib-1.2.3-29.el6.${LINUX_RPM_ARCH}.rpm .if defined(PACKAGE_BUILDING) SRC_DISTFILES= basesystem-10.0-4.el6.src.rpm:SOURCE \ bash-4.1.2-29.el6.src.rpm:SOURCE \ bzip2-1.0.5-7.el6_0.src.rpm:SOURCE \ coreutils-8.4-37.el6.src.rpm:SOURCE \ compat-db-4.6.21-15.el6.src.rpm:SOURCE \ compat-gcc-296-2.96-144.el6.src.rpm:SOURCE \ compat-gcc-32-3.2.3-69.el6.src.rpm:SOURCE \ db4-4.7.25-19.el6_6.src.rpm:SOURCE \ e2fsprogs-1.41.12-21.el6.src.rpm:SOURCE \ elfutils-0.158-3.2.el6.src.rpm:SOURCE \ centos-release-6-6.el6.centos.12.2.src.rpm:SOURCE \ filesystem-2.4.30-3.el6.src.rpm:SOURCE \ findutils-4.4.2-6.el6.src.rpm:SOURCE \ freetype-2.3.11-15.el6_6.1.src.rpm:SOURCE \ gamin-0.1.10-9.el6.src.rpm:SOURCE \ gdbm-1.8.0-36.el6.src.rpm:SOURCE \ glib2-2.28.8-4.el6.src.rpm:SOURCE \ glibc-2.12-1.149.el6_6.9.src.rpm:SOURCE \ gmp-4.3.1-7.el6_2.2.src.rpm:SOURCE \ grep-2.6.3-6.el6.src.rpm:SOURCE \ texinfo-4.13a-8.el6.src.rpm:SOURCE \ keyutils-1.4-5.el6.src.rpm:SOURCE \ krb5-1.10.3-37.el6_6.src.rpm:SOURCE \ less-436-13.el6.src.rpm:SOURCE \ acl-2.2.49-6.el6.src.rpm:SOURCE \ attr-2.4.44-7.el6.src.rpm:SOURCE \ libcap-2.16-5.5.el6.src.rpm:SOURCE \ gcc-4.4.7-11.el6.src.rpm:SOURCE \ libidn-1.18-2.el6.src.rpm:SOURCE \ libselinux-2.0.94-5.8.el6.src.rpm:SOURCE \ libsepol-2.0.41-4.el6.src.rpm:SOURCE \ ncurses-5.7-3.20090208.el6.src.rpm:SOURCE \ pcre-7.8-6.el6.src.rpm:SOURCE \ popt-1.13-7.el6.src.rpm:SOURCE \ readline-6.0-4.el6.src.rpm:SOURCE \ redhat-lsb-4.0-7.el6.centos.src.rpm:SOURCE \ sed-4.2.1-10.el6.src.rpm:SOURCE \ setserial-2.17-25.el6.src.rpm:SOURCE \ setup-2.8.14-20.el6_4.1.src.rpm:SOURCE \ slang-2.2.1-1.el6.src.rpm:SOURCE \ util-linux-ng-2.17.2-12.18.el6.src.rpm:SOURCE \ which-2.19-6.el6.src.rpm:SOURCE \ zlib-1.2.3-29.el6.src.rpm:SOURCE ALWAYS_KEEP_DISTFILES= yes .endif CONFLICTS= linux_base-gentoo* linux_base-f10-[0-9]* linux-glib2-* ONLY_FOR_ARCHS= i386 amd64 . if defined(OVERRIDE_LINUX_BASE_PORT) && ${OVERRIDE_LINUX_BASE_PORT} == "c6_64" PKGNAMESUFFIX= _64 LINUX_RPM_ARCH= x86_64 LINUX_REPO_ARCH= x86_64 . else LINUX_RPM_ARCH= i686 LINUX_REPO_ARCH= i386 . endif USE_LINUX_PREFIX= yes NO_WRKSUBDIR= yes DISTINFO_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} PLIST= ${MASTERDIR}/pkg-plist.${LINUX_RPM_ARCH} PLIST_SUB= GLIBCVER="2.12" LINUXBASE=${LINUXBASE} USES= shebangfix SHEBANG_FILES= bin/redhat_lsb_init sbin/mount.tmpfs # bash scripts need to work in chroot /compat/linux, so use env instead. bash_CMD= /usr/bin/env bash .include .if !defined(PACKAGE_BUILDING) || (defined(PACKAGE_BUILDING) && !defined(LINUX_OSRELEASE) ) LINUX_OSRELEASE!= ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null` .endif .if ${LINUX_OSRELEASE}x == "x" IGNORE= linuxulator is not (kld)loaded .elif ${LINUX_OSRELEASE} == "2.6.16" IGNORE= compat.linux.osrelease: ${LINUX_OSRELEASE} is not supported, please use 2.6.18, BEWARE this is highly experimental .endif REMOVE_DIRS= boot dev etc/fonts home initrd media root tmp var/log var/run var/tmp \ usr/local usr/tmp REMOVE_FILES= bin/df bin/su etc/exports etc/group etc/localtime \ etc/motd etc/passwd etc/printcap etc/services \ etc/protocols ADD_DIRS= usr/X11R6/share usr/X11R6/man usr/X11R6/lib/tls \ usr/X11R6/include usr/X11R6/bin ADD_FILES= #empty .if (${MACHINE_ARCH} == "amd64") FALLBACK_ELF_MIB= kern.elf32.fallback_brand .else FALLBACK_ELF_MIB= kern.fallback_elf_brand .endif .if (${ARCH} == "amd64") . if defined(OVERRIDE_LINUX_BASE_PORT) && ${OVERRIDE_LINUX_BASE_PORT} != "c6_64" -LATEST_LINK:= ${PKGBASE:C/linux/linux32/} ARCH= i386 . endif .endif pre-extract: @for file in ${PRE_BIN_DISTFILES}; do \ if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\ then \ exit 1; \ fi; \ done # now fix up broken permissions . if defined(OVERRIDE_LINUX_BASE_PORT) && ${OVERRIDE_LINUX_BASE_PORT} == "c6_64" @${CHMOD} -R u+rwX ${WRKDIR}/lib64 ${WRKDIR}/usr/lib64 . endif @${CHMOD} -R u+rwX ${WRKDIR}/bin ${WRKDIR}/lib ${WRKDIR}/sbin ${WRKDIR}/usr/bin ${WRKDIR}/usr/lib ${WRKDIR}/usr/sbin @${CHMOD} 400 ${WRKDIR}/etc/*shadow do-build: @for D in ${REMOVE_DIRS}; do \ ${RM} -rf ${WRKSRC}/$$D; \ done @for F in ${REMOVE_FILES}; do \ ${RM} -f ${WRKSRC}/$$F; \ done @for F in ${ADD_DIRS}; do \ ${MKDIR} ${WRKSRC}/$$F; \ done @for F in ${ADD_FILES}; do \ ${TOUCH} ${WRKSRC}/$$F; \ done # # Create a good ld.so.conf and touch ld.so.cache # @${ECHO_CMD} -e '/lib\n/usr/lib\n/usr/lib64\n${X11BASE}/lib' >> \ ${WRKSRC}/etc/ld.so.conf @${TOUCH} ${WRKSRC}/etc/ld.so.cache # # Create yp.conf as a hint to NIS users and make sure there's a # mtab in etc, albeit an empty one. This is needed in a couple of # cases. Most notably staroffice6. If yp.conf exists install only # yp.conf.sample # @${INSTALL} ${COPY} -m 644 ${FILESDIR}/yp.conf.sample ${WRKSRC}/etc @${TOUCH} ${WRKSRC}/etc/mtab # # If ${PREFIX}/etc/krb5.conf exists, don't touch it # @${MV} ${WRKSRC}/etc/krb5.conf ${WRKSRC}/etc/krb5.conf.sample @${FIND} ${WRKSRC}/bin ${WRKSRC}/sbin/ ${WRKSRC}/usr/bin \ ${WRKSRC}/usr/sbin -type f -print0 | ${XARGS} -0 ${FILE} \ | ${GREP} ELF | ${CUT} -d : -f 1 \ | ${XARGS} ${BRANDELF} -t Linux . if defined(OVERRIDE_LINUX_BASE_PORT) && ${OVERRIDE_LINUX_BASE_PORT} == "c6_64" @${BRANDELF} -t Linux ${WRKSRC}/lib64/ld-2.12.so . else @${BRANDELF} -t Linux ${WRKSRC}/lib/ld-2.12.so . endif # Install locales @${MV} ${WRKSRC}/usr/lib/locale/locale-archive.tmpl \ ${WRKSRC}/usr/lib/locale/locale-archive do-install: # # Do install without using linux rpm system # @cd ${WRKSRC} && ${FIND} * ! -path "stage*" -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/{}" \; @cd ${WRKSRC} && ${FIND} * ! -path "stage/*" ! -type d \ | ${CPIO} -pm -R root:wheel ${STAGEDIR}${PREFIX} @${LN} -sf /var/tmp ${STAGEDIR}${PREFIX}/usr/tmp @${LN} -sf ../usr/bin/[ ${STAGEDIR}${PREFIX}/bin/[ @${LN} -sf ../usr/bin/expr ${STAGEDIR}${PREFIX}/bin/expr @${LN} -sf ../usr/bin/test ${STAGEDIR}${PREFIX}/bin/test @${LN} -sf ../usr/bin/uuidgen ${STAGEDIR}${PREFIX}/bin/uuidgen @${LN} -sf ../../lib/librt.so.1 ${STAGEDIR}${PREFIX}/usr/lib/librt.so.1 @${CHMOD} 755 ${STAGEDIR}${PREFIX}/var/lock ${STAGEDIR}${PREFIX}/var/spool/mail # # Let some linux applications (e.g. print/acroread8) print with default settings # @${INSTALL_SCRIPT} ${FILESDIR}/lp ${STAGEDIR}${PREFIX}/usr/bin .include Index: head/emulators/linux_base-f10/Makefile =================================================================== --- head/emulators/linux_base-f10/Makefile (revision 394507) +++ head/emulators/linux_base-f10/Makefile (revision 394508) @@ -1,222 +1,221 @@ # Created by: bsam # $FreeBSD$ PORTNAME= f10 PORTVERSION= 10 PORTREVISION= 9 CATEGORIES= emulators linux MASTER_SITES= LOCAL/ehaupt/rpm/${LINUX_RPM_ARCH}/fedora/${PORTVERSION} \ FEDORA_LINUX/../releases/${PORTVERSION}/Everything/${LINUX_RPM_ARCH}/os/Packages/ PKGNAMEPREFIX= linux_base- DISTFILES= ${BIN_DISTFILES} ${SRC_DISTFILES} DIST_SUBDIR= rpm/${LINUX_RPM_ARCH}/fedora/${PORTVERSION} EXTRACT_ONLY= ${BIN_DISTFILES} MAINTAINER= emulation@FreeBSD.org COMMENT= Base set of packages needed in Linux mode for i386/amd64 (Linux Fedora 10) BIN_DISTFILES= basesystem-10.0-1.noarch.rpm \ bash-3.2-30.fc10.${LINUX_RPM_ARCH}.rpm \ bzip2-1.0.5-3.fc10.${LINUX_RPM_ARCH}.rpm \ bzip2-libs-1.0.5-3.fc10.${LINUX_RPM_ARCH}.rpm \ compat-db-4.6.21-5.fc10.${LINUX_RPM_ARCH}.rpm \ compat-libstdc++-296-2.96-141.${LINUX_RPM_ARCH}.rpm \ compat-libstdc++-33-3.2.3-64.${LINUX_RPM_ARCH}.rpm \ coreutils-6.12-20.fc10.${LINUX_RPM_ARCH}.rpm \ db4-4.7.25-7.fc10.${LINUX_RPM_ARCH}.rpm \ e2fsprogs-1.41.4-6.fc10.${LINUX_RPM_ARCH}.rpm \ e2fsprogs-libs-1.41.4-6.fc10.${LINUX_RPM_ARCH}.rpm \ elfutils-0.142-1.fc10.${LINUX_RPM_ARCH}.rpm \ fedora-release-10-1.noarch.rpm \ filesystem-2.4.19-1.fc10.${LINUX_RPM_ARCH}.rpm \ freetype-2.3.7-3.fc10.${LINUX_RPM_ARCH}.rpm \ gamin-0.1.9-6.fc10.${LINUX_RPM_ARCH}.rpm \ gdbm-1.8.0-29.fc10.${LINUX_RPM_ARCH}.rpm \ glib-1.2.10-32.fc10.${LINUX_RPM_ARCH}.rpm \ glib2-2.18.4-2.fc10.${LINUX_RPM_ARCH}.rpm \ glibc-2.9-3.${LINUX_RPM_ARCH}.rpm \ glibc-common-2.9-3.${LINUX_RPM_ARCH}.rpm \ gmp-4.2.2-8.fc10.${LINUX_RPM_ARCH}.rpm \ grep-2.5.1a-61.fc10.${LINUX_RPM_ARCH}.rpm \ info-4.12-4.fc10.${LINUX_RPM_ARCH}.rpm \ keyutils-libs-1.2-3.fc9.${LINUX_RPM_ARCH}.rpm \ krb5-libs-1.6.3-18.fc10.${LINUX_RPM_ARCH}.rpm \ libacl-2.2.47-3.fc10.${LINUX_RPM_ARCH}.rpm \ libattr-2.4.43-2.fc10.${LINUX_RPM_ARCH}.rpm \ libcap-2.10-2.fc10.${LINUX_RPM_ARCH}.rpm \ libgcc-4.3.2-7.${LINUX_RPM_ARCH}.rpm \ libidn-0.6.14-8.${LINUX_RPM_ARCH}.rpm \ libselinux-2.0.78-1.fc10.${LINUX_RPM_ARCH}.rpm \ libsepol-2.0.33-1.fc10.${LINUX_RPM_ARCH}.rpm \ libstdc++-4.3.2-7.${LINUX_RPM_ARCH}.rpm \ ncurses-5.6-20.20080927.fc10.${LINUX_RPM_ARCH}.rpm \ ncurses-libs-5.6-20.20080927.fc10.${LINUX_RPM_ARCH}.rpm \ pcre-7.8-1.fc10.${LINUX_RPM_ARCH}.rpm \ popt-1.13-4.fc10.${LINUX_RPM_ARCH}.rpm \ readline-5.2-13.fc9.${LINUX_RPM_ARCH}.rpm \ setserial-2.17-22.fc9.${LINUX_RPM_ARCH}.rpm \ setup-2.7.4-4.fc10.noarch.rpm \ slang-2.1.4-1.fc10.${LINUX_RPM_ARCH}.rpm \ zlib-1.2.3-18.fc9.${LINUX_RPM_ARCH}.rpm .if defined(PACKAGE_BUILDING) MASTER_SITES+= FEDORA_LINUX MASTER_SITE_SUBDIR+= ../updates/${PORTVERSION}/SRPMS \ ../releases/${PORTVERSION}/Everything/source/SRPMS/ SRC_DISTFILES+= acl-2.2.47-3.fc10.src.rpm \ attr-2.4.43-1.fc10.src.rpm \ basesystem-10.0-1.src.rpm \ bash-3.2-29.fc10.src.rpm \ bzip2-1.0.5-3.fc10.src.rpm \ compat-db-4.6.21-5.fc10.src.rpm \ coreutils-6.12-17.fc10.src.rpm \ db4-4.7.25-5.fc10.src.rpm \ e2fsprogs-1.41.4-6.fc10.src.rpm \ elfutils-0.142-1.fc10.src.rpm \ fedora-release-10-1.src.rpm \ filesystem-2.4.19-1.fc10.src.rpm \ freetype-2.3.7-1.fc10.src.rpm \ gamin-0.1.9-6.fc10.src.rpm \ gcc-4.3.2-7.src.rpm \ gdbm-1.8.0-29.fc10.src.rpm \ glib-1.2.10-32.fc10.src.rpm \ glib2-2.18.2-3.fc10.src.rpm \ glibc-2.9-2.src.rpm \ gmp-4.2.2-8.fc10.src.rpm \ grep-2.5.1a-61.fc10.src.rpm \ keyutils-1.2-3.fc9.src.rpm \ krb5-1.6.3-16.fc10.src.rpm \ libcap-2.10-2.fc10.src.rpm \ libidn-0.6.14-8.src.rpm \ libselinux-2.0.73-1.fc10.src.rpm \ libsepol-2.0.33-1.fc10.src.rpm \ ncurses-5.6-20.20080927.fc10.src.rpm \ pcre-7.8-1.fc10.src.rpm \ readline-5.2-13.fc9.src.rpm \ setserial-2.17-22.fc9.src.rpm \ setup-2.7.4-1.fc10.src.rpm \ slang-2.1.4-1.fc10.src.rpm \ texinfo-4.12-4.fc10.src.rpm \ zlib-1.2.3-18.fc9.src.rpm ALWAYS_KEEP_DISTFILES= yes .endif CONFLICTS= linux_base-gentoo* linux_base-fc4-[0-9]* linux_base-fc6-[0-9]* \ linux_base-f7-[0-9]* linux_base-f8-[0-9]* linux_base-f9-[0-9]* \ linux_base-c* linux-glib2-* ONLY_FOR_ARCHS= i386 amd64 LINUX_RPM_ARCH= i386 USE_LINUX_PREFIX= yes NO_WRKSUBDIR= yes DISTINFO_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} PLIST_SUB= GLIBCVER="2.9" LINUXBASE=${LINUXBASE} EXTRACT_ONLY= ${BIN_DISTFILES} .include .if !defined(PACKAGE_BUILDING) || (defined(PACKAGE_BUILDING) && !defined(LINUX_OSRELEASE) ) LINUX_OSRELEASE!= ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null` .endif .if ${LINUX_OSRELEASE}x == "x" IGNORE= linuxulator is not (kld)loaded .endif REMOVE_DIRS= boot dev etc/fonts home initrd media root tmp var/log var/run var/tmp \ usr/local usr/tmp REMOVE_FILES= bin/df bin/su etc/exports etc/group etc/localtime \ etc/motd etc/passwd etc/printcap etc/services \ etc/protocols # These are shared directories that some linux packages (e.g. linux-f10-gtk2) # use but aren't in any of the distfiles above. ADD_DIRS= usr/X11R6/share usr/X11R6/man usr/X11R6/lib/tls \ usr/X11R6/include usr/X11R6/bin \ usr/share/locale/ca@valencia/LC_MESSAGES \ usr/share/locale/sr@Latn/LC_MESSAGES \ usr/share/locale/uz@cyrillic/LC_MESSAGES ADD_FILES= #empty .if (${MACHINE_ARCH} == "amd64") FALLBACK_ELF_MIB= kern.elf32.fallback_brand .else FALLBACK_ELF_MIB= kern.fallback_elf_brand .endif .if (${ARCH} == "amd64") -LATEST_LINK:= ${PKGBASE:C/linux/linux32/} ARCH= i386 .endif do-build: @for D in ${REMOVE_DIRS}; do \ ${RM} -rf ${WRKSRC}/$$D; \ done @for F in ${REMOVE_FILES}; do \ ${RM} -f ${WRKSRC}/$$F; \ done @for F in ${ADD_DIRS}; do \ ${MKDIR} ${WRKSRC}/$$F; \ done @for F in ${ADD_FILES}; do \ ${TOUCH} ${WRKSRC}/$$F; \ done # # Create a good ld.so.conf and touch ld.so.cache # @${ECHO_CMD} -e '/lib\n/usr/lib\n${X11BASE}/lib' >> \ ${WRKSRC}/etc/ld.so.conf @${TOUCH} ${WRKSRC}/etc/ld.so.cache # # Create yp.conf as a hint to NIS users and make sure there's a # mtab in etc, albeit an empty one. This is needed in a couple of # cases. Most notably staroffice6. If yp.conf exists install only # yp.conf.sample # @${INSTALL} ${COPY} -m 644 ${FILESDIR}/yp.conf.sample ${WRKSRC}/etc @${TOUCH} ${WRKSRC}/etc/mtab # # If ${PREFIX}/etc/nsswitch.conf exists, don't touch it, # install only ${PREFIX}/etc/nsswitch.conf.dist # @${MV} ${WRKSRC}/etc/nsswitch.conf ${WRKSRC}/etc/nsswitch.conf.dist @${MV} ${WRKSRC}/etc/krb5.conf ${WRKSRC}/etc/krb5.conf.dist # Fix usr/bin/*db4* permissions to allow "portupgrade -s" # @${CHMOD} u+w ${WRKSRC}/usr/bin/*db4* @${FIND} ${WRKSRC}/bin ${WRKSRC}/sbin/ ${WRKSRC}/usr/bin \ ${WRKSRC}/usr/sbin -type f -print0 | ${XARGS} -0 ${FILE} \ | ${GREP} ELF | ${CUT} -d : -f 1 \ | ${XARGS} ${BRANDELF} -t Linux @${BRANDELF} -t Linux ${WRKSRC}/lib/ld-2.9.so # Restore the status quo for usr/bin/*db4* files # @${CHMOD} u-w ${WRKSRC}/usr/bin/*db4* # Install locales @${MV} ${WRKSRC}/usr/lib/locale/locale-archive.tmpl \ ${WRKSRC}/usr/lib/locale/locale-archive do-install: # # Do install without using linux rpm system # @cd ${WRKSRC} && ${FIND} * ! -path "stage*" -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/{}" \; @cd ${WRKSRC} && ${FIND} * ! -path "stage/*" ! -type d \ | ${CPIO} -pm -R root:wheel ${STAGEDIR}${PREFIX} @${LN} -sf /var/tmp ${STAGEDIR}${PREFIX}/usr/tmp @${LN} -sf ../usr/bin/[ ${STAGEDIR}${PREFIX}/bin/[ @${LN} -sf ../usr/bin/expr ${STAGEDIR}${PREFIX}/bin/expr @${LN} -sf ../usr/bin/test ${STAGEDIR}${PREFIX}/bin/test @${LN} -sf ../usr/bin/uuidgen ${STAGEDIR}${PREFIX}/bin/uuidgen @${CHMOD} 755 ${STAGEDIR}${PREFIX}/var/lock ${STAGEDIR}${PREFIX}/var/spool/mail # # Let some linux applications (e.g. print/acroread8) print with default settings # @${INSTALL_SCRIPT} ${FILESDIR}/lp ${STAGEDIR}${PREFIX}/usr/bin .include Index: head/emulators/mupen64plus-core/Makefile =================================================================== --- head/emulators/mupen64plus-core/Makefile (revision 394507) +++ head/emulators/mupen64plus-core/Makefile (revision 394508) @@ -1,30 +1,29 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= mupen64plus PORTVERSION?= 2.5 PORTREVISION?= 0 CATEGORIES= emulators MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/releases/download/${PORTVERSION}/ \ LOCAL/acm/${PORTNAME} \ LOCAL/acm/${PORTNAME}/:plugin PKGNAMESUFFIX?= -core DIST_SUBDIR= ${PORTNAME} MAINTAINER?= acm@FreeBSD.org COMMENT?= Fork of Mupen64 Nintendo 64 emulator #PROJECTHOST= bsdistfiles USES+= gmake pkgconfig USE_GL?= yes USE_SDL?= sdl2 USE_LDCONFIG?= yes ONLY_FOR_ARCHS= i386 amd64 OPTFLAGS= # MAKE_ENV+= OPTFLAGS="${OPTFLAGS}" -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options .include "${.CURDIR}/../mupen64plus-core/Makefile.common" .include Index: head/emulators/virtualbox-ose-additions/Makefile =================================================================== --- head/emulators/virtualbox-ose-additions/Makefile (revision 394507) +++ head/emulators/virtualbox-ose-additions/Makefile (revision 394508) @@ -1,213 +1,212 @@ # Created by: Bernhard Froehlich # $FreeBSD$ PORTNAME= virtualbox-ose DISTVERSION= 4.3.30 CATEGORIES= emulators MASTER_SITES= http://download.virtualbox.org/virtualbox/${DISTVERSION}/ \ http://tmp.chruetertee.ch/ \ http://disasterarea.chruetertee.ch/ PKGNAMESUFFIX= -additions DISTNAME= VirtualBox-${DISTVERSION} MAINTAINER= vbox@FreeBSD.org COMMENT= VirtualBox additions for FreeBSD guests LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm \ kmk:${PORTSDIR}/devel/kBuild CPE_VENDOR= oracle CPE_PRODUCT= vm_virtualbox -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} PATCHDIR= ${.CURDIR}/../${PORTNAME}/files WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION} USE_RC_SUBR= vboxguest vboxservice USES= compiler:features cpe iconv kmod python:build tar:bzip2 ONLY_FOR_ARCHS= i386 amd64 MAKE_JOBS_UNSAFE= yes HAS_CONFIGURE= yes CONFIGURE_ARGS+= --disable-alsa \ --disable-dbus \ --disable-docs \ --disable-libvpx \ --disable-pulse \ --disable-python \ --disable-sdl-ttf \ --disable-xpcom CONFIGURE_ARGS+= --nofatal --with-gcc="${CC}" --with-g++="${CXX}" CONFLICTS_INSTALL= virtualbox-ose-[3,4]* \ virtualbox-ose-additions-devel-[3,4]* \ virtualbox-ose-devel-[3,4]* \ virtualbox-ose-legacy-[3,4]* OPTIONS_DEFINE= DEBUG OPENGL X11 OPTIONS_DEFAULT= X11 OPTIONS_SUB= yes OPENGL_CONFIGURE_OFF= --disable-opengl .include VIDEODIR= ${PREFIX}/lib/xorg/modules/drivers INPUTDIR= ${PREFIX}/lib/xorg/modules/input VBOX_BIN= ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/additions VBOX_SBINS= VBoxControl \ VBoxService BUILD_WRKSRC= ${VBOX_BIN}/src KMK_BUILDTYPE= release KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} KMK_FLAGS= .if ${PORT_OPTIONS:MDEBUG} KMK_FLAGS+= BUILD_TYPE=debug KMK_BUILDTYPE= debug MAKE_ARGS+= DEBUG_FLAGS="-O1 -g" .endif .if ${PORT_OPTIONS:MOPENGL} USE_XORG+= xcomposite xdamage xext xfixes USE_GL= gl VBOX_LIBS= VBoxOGL.so \ VBoxOGLarrayspu.so \ VBoxOGLcrutil.so \ VBoxOGLerrorspu.so \ VBoxOGLfeedbackspu.so \ VBoxOGLpackspu.so \ VBoxOGLpassthroughspu.so .endif .if ${PORT_OPTIONS:MX11} BUILD_DEPENDS+= ${LOCALBASE}/bin/X:${PORTSDIR}/x11-servers/xorg-server USE_XORG= xcursor xmu inputproto xorg-server xrandr USES+= pkgconfig VBOX_WITH_X11= 1 XORG_DRV_ABI= pkgconf --modversion xorg-server | \ ${SED} -E -e 's/\.[0-9]+$$//' -e 's/\.//' .else VBOX_WITH_X11= .endif .if ${ARCH} == i386 KMK_ARCH= freebsd.x86 .else KMK_ARCH= freebsd.${ARCH} .endif .include .if ${COMPILER_TYPE} == clang EXTRA_PATCHES= ${PATCHDIR}/extrapatch-Config.kmk \ ${PATCHDIR}/extrapatch-src-VBox-Additions-x11-vboxvideo-Makefile.kmk \ ${PATCHDIR}/extrapatch-src-VBox-Additions-x11-x11include-xorg-server-1.17.1-compiler.h .if ${COMPILER_FEATURES:Mlibc++} EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src-VBox-Additions-x11-VBoxClient-Makefile.kmk .endif .endif .if ${OSVERSION} < 1001514 EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src-VBox-Additions-x11-vboxvideo-Makefile.kmk.dri .else EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src-VBox-Additions-freebsd-drm-Makefile EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src-VBox-Additions-freebsd-drm-Makefile.kmk EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src-VBox-Additions-x11-vboxvideo-Makefile.kmk.dri2 .endif SUB_LIST+= KMODDIR=${KMODDIR} pre-everything:: .if ${ARCH} == "amd64" .if !exists(/usr/lib32/libc.so) @${ECHO} 'Requires 32-bit libraries installed under /usr/lib32.' @${ECHO} 'Do: cd /usr/src; make build32 install32; ldconfig -v -m -R /usr/lib32' @${FALSE} .endif .endif post-patch: @${ECHO} 'VBOX_ONLY_ADDITIONS = 1' > ${WRKSRC}/LocalConfig.kmk @${ECHO} 'VBOX_WITH_DRAG_AND_DROP = ${VBOX_WITH_X11}' >> ${WRKSRC}/LocalConfig.kmk @${ECHO} 'VBOX_WITH_X11_ADDITIONS = ${VBOX_WITH_X11}' >> ${WRKSRC}/LocalConfig.kmk .if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's| -finline-limit=8000||' \ -e 's| -fno-merge-constants||' \ -e 's| -mpreferred-stack-boundary=2||' ${WRKSRC}/Config.kmk @${ECHO} 'VBOX_GCC_Wno-unused-parameter = -Wno-unused-parameter' >> ${WRKSRC}/LocalConfig.kmk .endif @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Config.kmk \ ${WRKSRC}/configure \ ${WRKSRC}/kBuild/units/qt4.kmk \ ${WRKSRC}/kBuild/sdks/LIBSDL.kmk \ ${WRKSRC}/src/VBox/Additions/common/crOpenGL/fakedri_drv.c \ ${WRKSRC}/src/VBox/Additions/x11/Installer/98vboxadd-xclient \ ${WRKSRC}/src/VBox/Additions/x11/Installer/vboxclient.desktop @${REINPLACE_CMD} -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' ${WRKSRC}/configure .if empty(ICONV_LIB) @${REINPLACE_CMD} -e 's|iconv||' ${WRKSRC}/Config.kmk ${WRKSRC}/src/VBox/Runtime/Makefile.kmk \ ${WRKSRC}/src/VBox/Additions/x11/VBoxClient/Makefile.kmk @${ECHO} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk .endif pre-build: cd ${WRKSRC} && \ ${SH} -c '. env.sh && ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' do-install: ${MKDIR} ${STAGEDIR}${KMODDIR} ${INSTALL_KLD} ${VBOX_BIN}/src/vboxguest/vboxguest.ko ${STAGEDIR}${KMODDIR} .if ${PORT_OPTIONS:MDEBUG} ${INSTALL_KLD} ${VBOX_BIN}/src/vboxguest/vboxguest.ko.symbols ${STAGEDIR}${KMODDIR} .endif .if ${PORT_OPTIONS:MOPENGL} ${INSTALL_KLD} ${VBOX_BIN}/vboxvideo.ko ${STAGEDIR}${KMODDIR} .if ${PORT_OPTIONS:MDEBUG} ${INSTALL_KLD} ${VBOX_BIN}/vboxvideo.ko.symbols ${STAGEDIR}${KMODDIR} .endif .endif ${INSTALL_PROGRAM} ${VBOX_SBINS:S|^|${VBOX_BIN}/|} \ ${STAGEDIR}${PREFIX}/sbin/ .if ${PORT_OPTIONS:MX11} ${INSTALL_PROGRAM} ${VBOX_BIN}/VBoxClient ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/src/VBox/Additions/x11/Installer/98vboxadd-xclient \ ${STAGEDIR}${PREFIX}/bin/VBoxClient-all # X11 autostart ${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/autostart/ ${INSTALL_DATA} ${WRKSRC}/src/VBox/Additions/x11/Installer/vboxclient.desktop \ ${STAGEDIR}${PREFIX}/etc/xdg/autostart/ # KDE autostart ${MKDIR} ${STAGEDIR}${PREFIX}/share/autostart/ ${INSTALL_DATA} ${WRKSRC}/src/VBox/Additions/x11/Installer/vboxclient.desktop \ ${STAGEDIR}${PREFIX}/share/autostart/ ${MKDIR} ${STAGEDIR}${VIDEODIR} ${INSTALL_DATA} ${VBOX_BIN}/vboxvideo_drv_$$(${XORG_DRV_ABI}).so \ ${STAGEDIR}${VIDEODIR}/vboxvideo_drv.so ${MKDIR} ${STAGEDIR}${INPUTDIR} ${INSTALL_DATA} ${VBOX_BIN}/vboxmouse_drv_$$(${XORG_DRV_ABI}).so \ ${STAGEDIR}${INPUTDIR}/vboxmouse_drv.so .endif .if ${PORT_OPTIONS:MOPENGL} ${INSTALL_DATA} ${VBOX_LIBS:S|^|${VBOX_BIN}/|} \ ${STAGEDIR}${PREFIX}/lib/ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/dri ${LN} -sf ${PREFIX}/lib/VBoxOGL.so \ ${STAGEDIR}${PREFIX}/lib/dri/vboxvideo_dri.so .endif .include Index: head/emulators/virtualbox-ose-kmod/Makefile =================================================================== --- head/emulators/virtualbox-ose-kmod/Makefile (revision 394507) +++ head/emulators/virtualbox-ose-kmod/Makefile (revision 394508) @@ -1,106 +1,105 @@ # Created by: Bernhard Froehlich # $FreeBSD$ PORTNAME= virtualbox-ose DISTVERSION= 4.3.30 CATEGORIES= emulators MASTER_SITES= http://download.virtualbox.org/virtualbox/${DISTVERSION}/ \ http://tmp.chruetertee.ch/ \ http://disasterarea.chruetertee.ch/ PKGNAMESUFFIX= -kmod DISTNAME= VirtualBox-${DISTVERSION} MAINTAINER= vbox@FreeBSD.org COMMENT= VirtualBox kernel module for FreeBSD LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= kmk:${PORTSDIR}/devel/kBuild CPE_VENDOR= oracle CPE_PRODUCT= vm_virtualbox USES= cpe kmod tar:bzip2 -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} PATCHDIR= ${.CURDIR}/../${PORTNAME}/files WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION} USE_RC_SUBR= vboxnet ONLY_FOR_ARCHS= i386 amd64 HAS_CONFIGURE= yes CONFIGURE_ARGS+= --build-headless CONFIGURE_ARGS+= --disable-alsa \ --disable-dbus \ --disable-docs \ --disable-libvpx \ --disable-pulse \ --disable-python \ --disable-sdl-ttf \ --disable-xpcom CONFIGURE_ARGS+= --nofatal --with-gcc="${CC}" --with-g++="${CXX}" CONFLICTS_INSTALL= virtualbox-ose-kmod-devel-4* \ virtualbox-ose-kmod-legacy-4* OPTIONS_DEFINE= DEBUG VIMAGE OPTIONS_SUB= yes DEBUG_DESC= Debug symbols, additional logs and assertions VIMAGE_DESC= VIMAGE virtual networking support .include VBOX_BIN= ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/src VBOX_KMODS= vboxdrv \ vboxnetadp \ vboxnetflt BUILD_WRKSRC= ${VBOX_BIN} KMK_BUILDTYPE= release KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys KMK_FLAGS= HostDrivers-scripts vboxdrv-mod VBoxNetFlt-src VBoxNetAdp-src .if ${PORT_OPTIONS:MDEBUG} KMK_FLAGS+= BUILD_TYPE=debug KMK_BUILDTYPE= debug EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-Config.kmk \ ${PATCHDIR}/extrapatch-src-VBox-HostDrivers-Support-freebsd-Makefile MAKE_ARGS+= DEBUG_FLAGS="-O1 -g" .endif .if ${ARCH} == i386 KMK_ARCH= freebsd.x86 .else KMK_ARCH= freebsd.${ARCH} .endif .include post-patch: @${ECHO} 'VBOX_WITH_VBOXDRV = 1' > ${WRKSRC}/LocalConfig.kmk @${ECHO} 'VBOX_WITH_NETFLT = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO} 'VBOX_WITH_NETADP = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO} 'VBOX_WITH_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk .if ${PORT_OPTIONS:MVIMAGE} @${ECHO} 'VBOX_WITH_NETFLT_VIMAGE = 1' >> ${WRKSRC}/LocalConfig.kmk .endif @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Config.kmk \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' ${WRKSRC}/configure pre-build: cd ${WRKSRC}/src/VBox/HostDrivers && \ ${SH} -c '. ${WRKSRC}/env.sh && ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' do-install: ${MKDIR} ${STAGEDIR}${KMODDIR} .for i in ${VBOX_KMODS} ${INSTALL_KLD} ${VBOX_BIN}/${i}/${i}.ko ${STAGEDIR}${KMODDIR} .if ${PORT_OPTIONS:MDEBUG} ${INSTALL_KLD} ${VBOX_BIN}/${i}/${i}.ko.symbols ${STAGEDIR}${KMODDIR} .endif .endfor .include Index: head/finance/ledgersmb12/Makefile =================================================================== --- head/finance/ledgersmb12/Makefile (revision 394507) +++ head/finance/ledgersmb12/Makefile (revision 394508) @@ -1,44 +1,42 @@ # Created by: anarcat@anarcat.ath.cx # $FreeBSD$ PORTNAME= ledgersmb PORTVERSION= 1.2.17 PORTREVISION= 2 CATEGORIES= finance perl5 MASTER_SITES= SF/ledger-smb/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Double entry accounting system BUILD_DEPENDS= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg \ p5-MIME-Lite>=0:${PORTSDIR}/mail/p5-MIME-Lite \ p5-Config-Std>=0:${PORTSDIR}/devel/p5-Config-Std RUN_DEPENDS:= ${BUILD_DEPENDS} -LATEST_LINK= ledgersmb12 - WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes NO_ARCH= yes USES= perl5 shebangfix SHEBANG_FILES= utils/devel/chart-load-test.sh \ utils/devel/find-use \ utils/pos/pos-hardware-client-startup-script USE_PERL5= run build patch PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} -i '' -e 's|/usr/bin/perl|${perl_CMD}|' \ `${FIND} ${WRKSRC} -name \*.pl` @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${FILESDIR}/ledger-smb-httpd.conf.in \ > ${WRKDIR}/ledger-smb-httpd.conf do-install: @${CP} -R ${WRKSRC} ${STAGEDIR}${PREFIX} @cd ${STAGEDIR}${PREFIX}/${PORTNAME} ; \ ${CHMOD} 711 templates css spool ${INSTALL_DATA} ${WRKDIR}/ledger-smb-httpd.conf ${STAGEDIR}${PREFIX}/etc/ .include Index: head/ftp/curl-hiphop/Makefile =================================================================== --- head/ftp/curl-hiphop/Makefile (revision 394507) +++ head/ftp/curl-hiphop/Makefile (revision 394508) @@ -1,31 +1,30 @@ # Created by: Martin Matuska # $FreeBSD$ PKGNAMESUFFIX= -hiphop MAINTAINER= mm@FreeBSD.org COMMENT= Static libcurl with custom patches for HipHop SSP_UNSAFE= Refuses -l in LDFLAGS BUILDING_HIPHOP= yes HIPHOP_DIR= share/hiphop-php EXTRA_PATCHES= ${.CURDIR}/files/extra-patch-hiphop GNU_CONFIGURE_PREFIX= ${PREFIX}/${HIPHOP_DIR}/ext CONFIGURE_ARGS+= --disable-shared --enable-static PLIST_SUB+= HIPHOP_DIR="${HIPHOP_DIR}" -LATEST_LINK= curl-hiphop PLIST= ${.CURDIR}/pkg-plist DESCR= ${.CURDIR}/pkg-descr MASTERDIR= ${.CURDIR}/../curl do-install: .for dir in include lib @cd ${WRKSRC}/${dir} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${MAKE_ARGS} ${INSTALL_TARGET} .endfor .include "${MASTERDIR}/Makefile" Index: head/ftp/proftpd-mod_geoip/Makefile =================================================================== --- head/ftp/proftpd-mod_geoip/Makefile (revision 394507) +++ head/ftp/proftpd-mod_geoip/Makefile (revision 394508) @@ -1,25 +1,24 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= mod_geoip CATEGORIES= ftp PKGNAMEPREFIX= proftpd- MAINTAINER= mm@FreeBSD.org COMMENT= GeoIP ProFTPD module LICENSE= GPLv2 LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP DESCR= ${.CURDIR}/pkg-descr -LATEST_LINK= ${PKGNAMEPREFIX}-${PORTNAME} MASTERDIR= ${.CURDIR}/../../ftp/proftpd INCLUDEDIRS= ${LOCALBASE}/include LIBDIRS= ${LOCALBASE}/lib _BUILDING_PROFTPD_MODULE= ${PORTNAME} .include "${MASTERDIR}/Makefile" Index: head/ftp/py-pyftpdlib/Makefile =================================================================== --- head/ftp/py-pyftpdlib/Makefile (revision 394507) +++ head/ftp/py-pyftpdlib/Makefile (revision 394508) @@ -1,40 +1,37 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PORTNAME= pyftpdlib PORTVERSION= 0.7.0 PORTREVISION= 1 CATEGORIES= ftp python MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= lwhsu@FreeBSD.org COMMENT= Python FTP server library LICENSE= MIT USES= python:2 USE_PYTHON= distutils OPTIONS_DEFINE= SENDFILE OPENSSL EXAMPLES OPTIONS_DEFAULT= SENDFILE OPENSSL SENDFILE_DESC= Enable sendfile(2) support OPENSSL_DESC= Enable FTP over SSL/TLS (RFC4217) -# Workaround ports infrastructure bug -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options - SENDFILE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysendfile>0:${PORTSDIR}/net/py-pysendfile OPENSSL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/demo/ ${STAGEDIR}${EXAMPLESDIR} test: build ${TOUCH} ${WRKSRC}/test/__init__.py cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include Index: head/games/doom-data/Makefile =================================================================== --- head/games/doom-data/Makefile (revision 394507) +++ head/games/doom-data/Makefile (revision 394508) @@ -1,54 +1,53 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= data PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www.ijs.si/~lesi/distfiles/doom/ PKGNAMEPREFIX= ${DMPKGNAMEPREFIX} DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} MAINTAINER= jakub_lach@mailplus.pl COMMENT= Shareware data files for Doom, Doom II, Hexen, Heretic, and Strife NO_BUILD= yes NO_WRKSUBDIR= yes OPTIONS_SUB= yes OPTIONS_MULTI= WADS OPTIONS_MULTI_WADS= DOOM HERETIC HEXEN STRIFE OPTIONS_DEFAULT= DOOM DOOM_DESC= Install Doom shareware data HERETIC_DESC= Install Heretic shareware data HEXEN_DESC= Install Hexen shareware data STRIFE_DESC= Install Strife shareware data SUB_FILES= pkg-message -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME} DATADIR= ${DMDIR} DOOM_DISTFILES= doom1.wad.bz2 HERETIC_DISTFILES= heretic1.wad.bz2 HEXEN_DISTFILES= hexen.wad.bz2 STRIFE_DISTFILES= strife0.wad.bz2 .include "Makefile.include" .include do-extract: @${MKDIR} ${WRKDIR} .for f in ${DISTFILES} @${BZIP2_CMD} -dc ${_DISTDIR}/${f} > ${WRKDIR}/${f:S/.bz2$//} .endfor do-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for f in ${DISTFILES} ${INSTALL_DATA} ${WRKSRC}/${f:S/.bz2$//} ${STAGEDIR}${DATADIR}/ .endfor .include Index: head/games/ioquake3-devel-server/Makefile =================================================================== --- head/games/ioquake3-devel-server/Makefile (revision 394507) +++ head/games/ioquake3-devel-server/Makefile (revision 394508) @@ -1,15 +1,14 @@ # Created by: Dominic Fandrey # $FreeBSD$ PORTNAME= ioquake3-devel PKGNAMESUFFIX= -server MAINTAINER= kamikaze@bsdforen.de COMMENT= Ioquake3 development snapshot dedicated server -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} MASTERDIR= ${.CURDIR}/../${PORTNAME} IOQ3= SERVER GAMELIBS .include "${MASTERDIR}/Makefile" Index: head/games/ioquake3-server/Makefile =================================================================== --- head/games/ioquake3-server/Makefile (revision 394507) +++ head/games/ioquake3-server/Makefile (revision 394508) @@ -1,15 +1,14 @@ # Created by: Dominic Fandrey # $FreeBSD$ PORTNAME= ioquake3 PKGNAMESUFFIX= -server MAINTAINER= kamikaze@bsdforen.de COMMENT= Ioquake3 dedicated server -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} MASTERDIR= ${.CURDIR}/../${PORTNAME} IOQ3= SERVER GAMELIBS .include "${MASTERDIR}/Makefile" Index: head/games/iourbanterror-server/Makefile =================================================================== --- head/games/iourbanterror-server/Makefile (revision 394507) +++ head/games/iourbanterror-server/Makefile (revision 394508) @@ -1,15 +1,14 @@ # Created by: Dominic Fandrey # $FreeBSD$ PORTNAME= iourbanterror PKGNAMESUFFIX= -server MAINTAINER= kamikaze@bsdforen.de COMMENT= Urban Terror dedicated server -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} MASTERDIR= ${.CURDIR}/../${PORTNAME} IOQ3= SERVER .include "${MASTERDIR}/Makefile" Index: head/games/linux-quake3/Makefile =================================================================== --- head/games/linux-quake3/Makefile (revision 394507) +++ head/games/linux-quake3/Makefile (revision 394508) @@ -1,96 +1,95 @@ # Created by: pat@databits.net # $FreeBSD$ PORTNAME= quake3 PORTVERSION= 1.32c CATEGORIES= games linux MASTER_SITES= IDSOFTWARE/quake3/linux/:data \ IDSOFTWARE/quake3/:patch PKGNAMEPREFIX= linux- DISTFILES= ${Q3DATAFILE}:data \ ${Q3PATCHFILE}:patch DIST_SUBDIR= ${Q3PKGNAMEPREFIX}data MAINTAINER= ports@FreeBSD.org COMMENT= Quake III Arena for Linux USES= zip:infozip USE_LINUX= yes NO_WRKSUBDIR= yes RESTRICTED= Restrictive license by Loki Software NO_CDROM= ${RESTRICTED} NO_PACKAGE= ${RESTRICTED} OPTIONS_MULTI= TYPE OPTIONS_MULTI_TYPE= CLIENT DEDICATED SMP OPTIONS_DEFINE= PUNKBUSTER DOCS OPTIONS_DEFAULT= CLIENT DEDICATED PUNKBUSTER SMP OPTIONS_SUB= yes CLIENT_DESC= Install client DEDICATED_DESC= Install dedicated server PUNKBUSTER_DESC= Install PunkBuster SMP_DESC= Install SMP (threaded) client PLIST_SUB+= LIBDIR="libexec/${PKGNAMEPREFIX}${PORTNAME}" -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME} LIBDIR= ${PREFIX}/libexec/${PKGNAMEPREFIX}${PORTNAME} Q3DATAFILE= linuxq3apoint-1.32b-3.x86.run Q3PATCHFILE= quake3-${PORTVERSION}.zip do-extract: @${MKDIR} ${WRKDIR} @cd ${WRKDIR} && ${TAIL} +356 ${_DISTDIR}/${Q3DATAFILE} | \ ${TAR} zxf - @${UNZIP_CMD} -qo ${_DISTDIR}/${Q3PATCHFILE} -d ${WRKDIR} post-extract: .for f in q3ded quake3.x86 quake3-smp.x86 @${MV} "${WRKSRC}/Quake III Arena 1.32c/linux/${f}" \ ${WRKSRC}/bin/Linux/x86/${f} .endfor .include "${.CURDIR}/../quake3-data/Makefile.include" .include .if ${PORT_OPTIONS:MDEDICATED} PROGS+= q3ded .endif .if ${PORT_OPTIONS:MCLIENT} PROGS+= quake3.x86 .endif .if ${PORT_OPTIONS:MSMP} PROGS+= quake3-smp.x86 .endif do-build: .for f in ${PROGS} @(${ECHO_CMD} "#!${SH}"; \ ${ECHO_CMD} "cd ${DATADIR} || exit 1"; \ ${ECHO_CMD} 'exec ${LIBDIR}/${f:R} "$$@"') > ${WRKDIR}/${f:R} .endfor do-install: @${MKDIR} ${STAGEDIR}${LIBDIR} .for f in ${PROGS} ${INSTALL_PROGRAM} ${WRKSRC}/bin/Linux/x86/${f} ${STAGEDIR}${LIBDIR}/${f:R} ${INSTALL_SCRIPT} ${WRKDIR}/${f:R} ${STAGEDIR}${PREFIX}/bin/linux-${f:R} .endfor @${MKDIR} ${STAGEDIR}${DATADIR} .if ${PORT_OPTIONS:MPUNKBUSTER} @${CP} -Rp ${WRKSRC}/pb ${STAGEDIR}${DATADIR} @${RM} ${STAGEDIR}${DATADIR}/pb/PB_EULA.txt .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README-linux.txt ${STAGEDIR}${DOCSDIR} ${CP} -Rp ${WRKSRC}/Docs/LinuxFAQ ${STAGEDIR}${DOCSDIR} ${CP} -Rp ${WRKSRC}/Docs/PunkBuster ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/pb/PB_EULA.txt ${STAGEDIR}${DOCSDIR}/PunkBuster .include Index: head/games/nethack33/Makefile =================================================================== --- head/games/nethack33/Makefile (revision 394507) +++ head/games/nethack33/Makefile (revision 394508) @@ -1,108 +1,107 @@ # Created by: asami # $FreeBSD$ PORTNAME= nethack33 PORTVERSION= 3.3.1 PORTREVISION= 10 CATEGORIES= games MASTER_SITES= SF DISTNAME= ${TRUEPORTNAME}-${PORTVERSION:S/.//g} MAINTAINER= glewis@FreeBSD.org COMMENT= Dungeon explorin', slashin', hackin' game WRKSRC= ${WRKDIR}/${TRUEPORTNAME}-${PORTVERSION} -LATEST_LINK= ${TRUEPORTNAME}33${PKGNAMESUFFIX} USES= gmake tar:tgz MAKE_ENV= GRAPHICS="${GRAPHICS}" PLIST_SUB= HACKNAME="${HACKNAME}" \ HACKEXT="${HACKEXT}" MAKE_JOBS_UNSAFE= yes TRUEPORTNAME= nethack HACKEXT?= 33 HACKNAME?= ${TRUEPORTNAME}${HACKEXT} HACKDIR?= share/${HACKNAME} HACKLINK= ${TRUEPORTNAME} DATADIR= ${PREFIX}/${HACKDIR} DOCSDIR= ${PREFIX}/share/doc/${HACKNAME} PKGDEINSTALL= ${WRKDIR}/pkg-deinstall .if !defined(PKGNAMESUFFIX) USE_XORG= xaw xpm GRAPHICS= X11_GRAPHICS .else .if ${PKGNAMESUFFIX} == "-nox11" GRAPHICS= # none .endif .endif OPTIONS_DEFINE= DOCS .include .include .if !exists(${PREFIX}/bin/${HACKLINK}) && ${HACKNAME} != ${HACKLINK} PLIST_SUB+= HACKLINK="" .else PLIST_SUB+= HACKLINK="@comment " .endif pre-everything:: .if defined(WITH_TTY_GRAPHICS) || defined(WITHOUT_X11) @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @${ECHO_MSG} " You cannot install nethack and ${PKGBASE} in parallel " @${ECHO_MSG} " But ${PKGBASE} reads your prior nethack scores " @${ECHO_MSG} " Don't forget to backup your nethack libdir if it's " @${ECHO_MSG} " important for you " @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" .else @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @${ECHO_MSG} " You may use the following build options: " @${ECHO_MSG} " WITH_TTY_GRAPHICS=yes build with no GUI " @${ECHO_MSG} " WITHOUT_X11=yes same as above " @${ECHO_MSG} " " @${ECHO_MSG} " By default, nethack port is built with X11 GUI. " @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" .endif post-patch: @${REINPLACE_CMD} -e \ 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/include/config.h @${REINPLACE_CMD} -e \ 's|||g' ${WRKSRC}/win/Qt/qt_win.cpp .for f in include/config.h sys/unix/Makefile.top sys/unix/Makefile.doc @${REINPLACE_CMD} -e 's|%%HACKNAME%%|${HACKNAME}|g' \ -e 's|%%HACKDIR%%|${PREFIX}/${HACKDIR}|g' \ -e 's|%%HACKEXT%%|${HACKEXT}|g' \ ${WRKSRC}/${f} .endfor .for f in dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6 @${REINPLACE_CMD} -e 's|%%HACKNAME%%|${HACKNAME}|g' \ -e 's|%%HACKDIR%%|${PREFIX}/${HACKDIR}|g' \ -e 's|%%HACKEXT%%|${HACKEXT}|g' \ ${WRKSRC}/doc/${f} .endfor do-configure: @cd ${WRKSRC}/sys/unix; ${SH} setup.sh pre-install: @${CAT} ${FILESDIR}/pkg-deinstall.in | ${SED} \ -e 's|%%HACKDIR%%|${HACKDIR}|g' > ${PKGDEINSTALL} post-install: .if !exists(${PREFIX}/bin/${HACKLINK}) && ${HACKNAME} != ${HACKLINK} @${LN} -s -f ${PREFIX}/bin/${HACKNAME} ${STAGEDIR}${PREFIX}/bin/${HACKLINK} .endif @cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} manpages @${MKDIR} ${STAGEDIR}${DATADIR}/save .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${STAGEDIR}${DOCSDIR} .endif .include Index: head/games/openarena-server/Makefile =================================================================== --- head/games/openarena-server/Makefile (revision 394507) +++ head/games/openarena-server/Makefile (revision 394508) @@ -1,15 +1,14 @@ # Created by: Dominic Fandrey # $FreeBSD$ PORTNAME= openarena PKGNAMESUFFIX= -server MAINTAINER= kamikaze@bsdforen.de COMMENT= OpenArena dedicated server -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} MASTERDIR= ${.CURDIR}/../${PORTNAME} IOQ3= SERVER .include "${MASTERDIR}/Makefile" Index: head/games/opengfx/Makefile =================================================================== --- head/games/opengfx/Makefile (revision 394507) +++ head/games/opengfx/Makefile (revision 394508) @@ -1,30 +1,29 @@ # Created by: Ilya A. Arkhipov # $FreeBSD$ PORTNAME= opengfx PORTVERSION= 0.5.0 CATEGORIES= games MASTER_SITES= http://hu.binaries.openttd.org/binaries/extra/${PORTNAME}/${PORTVERSION}/ \ http://us.binaries.openttd.org/binaries/extra/${PORTNAME}/${PORTVERSION}/ \ http://cz.binaries.openttd.org/openttd/binaries/extra/${PORTNAME}/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-all MAINTAINER= rum1cro@yandex.ru COMMENT= Free alternative graphics for OpenTTD game engine LICENSE= GPLv2 USES= zip NO_BUILD= yes -LATEST_LINK= openttd-${PORTNAME} # upstream zipped a tar file, unpack it. post-extract: @cd ${WRKDIR} && tar -xf ${PORTNAME}-${PORTVERSION}.tar do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/openttd/baseset/opengfx ${INSTALL_DATA} ${WRKDIR}/opengfx-${PORTVERSION}/* \ ${STAGEDIR}${PREFIX}/share/openttd/baseset/opengfx .include Index: head/games/opensfx/Makefile =================================================================== --- head/games/opensfx/Makefile (revision 394507) +++ head/games/opensfx/Makefile (revision 394508) @@ -1,30 +1,29 @@ # Created by: Ilya A. Arhipov # $FreeBSD$ PORTNAME= opensfx PORTVERSION= 0.2.3 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://hu.binaries.openttd.org/binaries/extra/${PORTNAME}/${PORTVERSION}/ \ http://us.binaries.openttd.org/binaries/extra/${PORTNAME}/${PORTVERSION}/ \ http://cz.binaries.openttd.org/openttd/binaries/extra/${PORTNAME}/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-all MAINTAINER= rum1cro@yandex.ru COMMENT= Free alternative sounds for OpenTTD game engine LICENSE= CCPL LICENSE_NAME= Creative Commons Public License LICENSE_FILE= ${WRKDIR}/opensfx-${PORTVERSION}/license.txt LICENSE_PERMS= auto-accept USES= zip NO_BUILD= yes -LATEST_LINK= openttd-${PORTNAME} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/openttd/baseset/opensfx ${INSTALL_DATA} ${WRKDIR}/opensfx-${PORTVERSION}/* \ ${STAGEDIR}${PREFIX}/share/openttd/baseset/opensfx .include Index: head/games/quake-source/Makefile =================================================================== --- head/games/quake-source/Makefile (revision 394507) +++ head/games/quake-source/Makefile (revision 394508) @@ -1,53 +1,51 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= source PORTVERSION= 1.01 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= IDSOFTWARE/source PKGNAMEPREFIX= quake- DISTNAME= qcc DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Quake game source code NO_BUILD= yes NO_WRKSUBDIR= yes -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME} - OPTIONS_DEFINE= QUAKEWORLD OPTIONS_DEFAULT= QUAKEWORLD QUAKEWORLD_DESC= Install QuakeWorld game source .include .if ${PORT_OPTIONS:MQUAKEWORLD} MASTER_SITES+= IDSOFTWARE/quakeworld/unix/:qw DISTFILES+= qwsv-2.30-glibc-i386-unknown-linux2.0${EXTRACT_SUFX}:qw COMMENT:= ${COMMENT:S/Quake/& and QuakeWorld/} PLIST_SUB+= QUAKEWORLD="" .else PLIST_SUB+= QUAKEWORLD="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's,^\.\.,.,' ${WRKSRC}/send/v101qc/progs.src @${RM} ${WRKSRC}/send/v101qc/progs.src.bak do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${CP} -a ${WRKSRC}/send/v101qc ${STAGEDIR}${DATADIR} .if ${PORT_OPTIONS:MQUAKEWORLD} @${MKDIR} ${STAGEDIR}${DATADIR}/qw . for f in *.h *.qc *.src @${REINPLACE_CMD} -e 's,[[:cntrl:]]*$$,,' ${WRKSRC}/qw/${f} ${INSTALL_DATA} ${WRKSRC}/qw/${f} ${STAGEDIR}${DATADIR}/qw . endfor .endif .include "Makefile.include" .include Index: head/games/quake2-3zb2/Makefile =================================================================== --- head/games/quake2-3zb2/Makefile (revision 394507) +++ head/games/quake2-3zb2/Makefile (revision 394508) @@ -1,76 +1,76 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= 3zb2 PORTVERSION= 0.97 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www.angelfire.com/mt2/quakebots/:prog \ http://ponpoko.tri6.net/3zb2/routes/:routes PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX} DISTNAME= ${PORTNAME:tu} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:prog \ ${PORTNAME}src${PORTVERSION:S/0.//}${EXTRACT_SUFX}:prog DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} MAINTAINER= danfe@FreeBSD.org COMMENT= 3rd Zigock II bots for Quake II USES= dos2unix zip DOS2UNIX_FILES= *.[ch] NO_WRKSUBDIR= yes SUB_FILES= pkg-message -DOCSDIR= ${PREFIX}/share/doc/${LATEST_LINK} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} OPTIONS_DEFINE= ROUTES DOCS OPTIONS_DEFAULT= ROUTES OPTIONS_SUB= yes ROUTES_DESC= Install routes for DM and CTF maps (recommended) .include "${.CURDIR}/../quake2-data/Makefile.include" .include .if ${PORT_OPTIONS:MROUTES} ROUTES= base_pk chflm2130_pk chfxmap0109_pk citycl_pk cmbbstr_pk \ cxdmx_pk cxxdmx_pk dm64_pk fact_pk hangar_pk ikdmx_pk \ ikdmx_pk2 jail_pk q2dmx_pk retinal_pk spasmox_pk trdmx_pk \ trpower_pk verm0x_pk ware_pk waste_pk xatrixmap_pk1 \ xatrixmap_pk2 xatrixmap_pk3 xatrixmap_pk4 xdm3 xdmx_pk \ xldmx_pk ztn2dmx_pk .for f in ${ROUTES} DISTFILES+= ${f}${EXTRACT_SUFX}:routes .endfor .endif post-extract: # Rename files and directories to lower case @cd ${WRKSRC}; for f in *; do \ ${MV} $${f} `${ECHO_CMD} $${f} | ${TR} '[:upper:]' '[:lower:]'`; \ done @${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC} do-install: .for f in chctf chdtm @${MKDIR} ${STAGEDIR}${Q2DIR}/${PORTNAME}/${f} ${INSTALL_DATA} ${WRKSRC}/3zb2/${f}/* \ ${STAGEDIR}${Q2DIR}/${PORTNAME}/${f} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/game.so \ ${STAGEDIR}${Q2DIR}/${PORTNAME} cd ${WRKSRC}/3zb2 && ${INSTALL_DATA} *.cfg 3ZBMaps.lst pak6.pak \ ${STAGEDIR}${Q2DIR}/${PORTNAME} .if ${PORT_OPTIONS:MROUTES} ${INSTALL_DATA} ${WRKSRC}/*.chn ${STAGEDIR}${Q2DIR}/${PORTNAME}/chdtm ${INSTALL_DATA} ${WRKSRC}/*.chf ${STAGEDIR}${Q2DIR}/${PORTNAME}/chctf .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/3zb2 && ${CP} -a *.txt "User Guide" ${STAGEDIR}${DOCSDIR} @${FIND} ${STAGEDIR}${DOCSDIR} -type d -print0 | \ ${XARGS} -0 ${CHMOD} ${BINMODE} @${FIND} ${STAGEDIR}${DOCSDIR} -type f -print0 | \ ${XARGS} -0 ${CHMOD} ${SHAREMODE} .include Index: head/games/quake2-ctf/Makefile =================================================================== --- head/games/quake2-ctf/Makefile (revision 394507) +++ head/games/quake2-ctf/Makefile (revision 394508) @@ -1,51 +1,50 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= ctf PORTVERSION= 1.52 CATEGORIES= games MASTER_SITES= IDSOFTWARE/quake2/ctf/:data \ http://offload1.icculus.org/quake2/files/:src PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX} DISTFILES= ${CTF_DATA}:data ${CTF_SRC}:src DIST_SUBDIR= quake2lnx MAINTAINER= danfe@FreeBSD.org COMMENT= Quake II CTF (Capture The Flag) mod USES= dos2unix zip:infozip DOS2UNIX_FILES= ../../../ctf/readme.txt ../../../ctf/server.cfg WRKSRC= ${WRKDIR}/${CTF_SRC:S/.tar.gz//}/src/ctf -DOCSDIR= ${PREFIX}/share/doc/${LATEST_LINK} -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} CTF_DATA= q2ctf150.zip CTF_SRC= quake2-r0.16.2.tar.gz OPTIONS_DEFINE= DOCS .include "${.CURDIR}/../quake2-data/Makefile.include" .include do-extract: @${MKDIR} ${WRKDIR} @${TAR} zxf ${DISTDIR}/${DIST_SUBDIR}/${CTF_SRC} -C ${WRKDIR} \ --include "${CTF_SRC:S/.tar.gz//}/src/ctf/*" @${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} -d ${WRKDIR}/ctf \ ${DISTDIR}/${DIST_SUBDIR}/${CTF_DATA} -x *.dll *.ico post-extract: @${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC} do-install: @${MKDIR} ${STAGEDIR}${Q2DIR}/ctf ${INSTALL_PROGRAM} ${WRKSRC}/game.so ${STAGEDIR}${Q2DIR}/ctf .for f in *.cfg *.pak ${INSTALL_DATA} ${WRKDIR}/ctf/${f} ${STAGEDIR}${Q2DIR}/ctf .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/ctf/readme.txt ${STAGEDIR}${DOCSDIR} .include Index: head/games/quake2-data/Makefile =================================================================== --- head/games/quake2-data/Makefile (revision 394507) +++ head/games/quake2-data/Makefile (revision 394508) @@ -1,89 +1,88 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= data PORTVERSION= 3.20 PORTREVISION= 3 CATEGORIES= games MASTER_SITES= IDSOFTWARE/quake2/:data IDSOFTWARE/quake2/source/:src PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX} DISTFILES= ${Q2_UPDATE}:data ${Q2_SRC}:src MAINTAINER= danfe@FreeBSD.org COMMENT= Quake II data files # XXX we need info-unzip for q2-314-demo-x86.exe USES= zip:infozip NO_WRKSUBDIR= yes -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME} DATADIR= ${Q2DIR} -DOCSDIR= ${PREFIX}/share/doc/${LATEST_LINK} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} Q2_DEMO= q2-314-demo-x86.exe Q2_SRC= q2src${PORTVERSION:S|.||}.shar.Z Q2_UPDATE= q2-${PORTVERSION}-x86-full.exe OPTIONS_DEFINE= MANUAL OPTIMIZED_CFLAGS SHAREWARE OPTIONS_DEFAULT= OPTIMIZED_CFLAGS MANUAL_DESC= Install the game HTML manual SHAREWARE_DESC= Install demo version of the game data .include "Makefile.include" # must be included before bsd.port.options.mk .include .if ${PORT_OPTIONS:MMANUAL} || ${PORT_OPTIONS:MSHAREWARE} DISTFILES+= ${Q2_DEMO}:data .endif .if ${PORT_OPTIONS:MMANUAL} PLIST_SUB+= MANUAL="" .else PLIST_SUB+= MANUAL="@comment " .endif .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CFLAGS+= -ffast-math -funroll-loops -fomit-frame-pointer \ -fexpensive-optimizations .endif .if ${PORT_OPTIONS:MSHAREWARE} PLIST_SUB+= FULL="@comment " SHAREWARE="" .else PLIST_SUB+= FULL="" SHAREWARE="@comment " SUB_FILES= pkg-message .endif do-extract: @${MKDIR} ${WRKDIR} @cd ${WRKDIR} && uncompress -c ${DISTDIR}/${Q2_SRC} | \ ${TAIL} +434 | ${SH} @${UNZIP_CMD} -q -d ${WRKDIR} \ ${DISTDIR}/${Q2_UPDATE} baseq2/* -x *.dll .if ${PORT_OPTIONS:MMANUAL} @${UNZIP_CMD} -ajq -d ${WRKDIR}/DOCS \ ${DISTDIR}/${Q2_DEMO} Install/Data/DOCS/* .endif .if ${PORT_OPTIONS:MSHAREWARE} @${RM} ${WRKDIR}/baseq2/pak[^0].pak @${UNZIP_CMD} -jq -d ${WRKDIR}/baseq2 \ ${DISTDIR}/${Q2_DEMO} Install/Data/baseq2/pak0.pak .endif post-extract: @${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC} post-patch: @${REINPLACE_CMD} -e 's/__linux__/__unix__/' ${WRKSRC}/q_shared.[ch] do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/baseq2 ${INSTALL_PROGRAM} ${WRKSRC}/game.so ${STAGEDIR}${DATADIR}/baseq2 ${CP} -a ${WRKSRC}/baseq2/* ${STAGEDIR}${DATADIR}/baseq2 .if ${PORT_OPTIONS:MMANUAL} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -a ${WRKSRC}/DOCS ${STAGEDIR}${DOCSDIR}/manual .endif .include Index: head/games/quake2-extras/Makefile =================================================================== --- head/games/quake2-extras/Makefile (revision 394507) +++ head/games/quake2-extras/Makefile (revision 394508) @@ -1,98 +1,96 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= extras PORTVERSION= 1.0 CATEGORIES= games MASTER_SITES= http://offload1.icculus.org/quake2/files/:retex \ http://www.icculus.org/quake2/files/:retex \ http://www-personal.umich.edu/~jimw/q2/files/:retex2 \ http://www-personal.umich.edu/~jimw/q2/aq2_install/:models PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX} DISTFILES= # -DIST_SUBDIR= ${LATEST_LINK} +DIST_SUBDIR= ${PKGBASE} EXTRACT_ONLY= # MAINTAINER= danfe@FreeBSD.org COMMENT= Quake II extras (high quality textures and skins) USES= zip NO_WRKSUBDIR= yes - -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME} RETEX_PAKS= 10 11 12 13 14 16 17 19 RETEX_FULL= all_q2_textures_07_17_2006zip SKINS= models.zip OPTIONS_DEFINE= RETEXTURE RETEXTURE_FULL SKINS OPTIONS_DEFAULT= RETEXTURE RETEXTURE_DESC= Install high quality textures RETEXTURE_FULL_DESC= Install more textures (120MB) SKINS_DESC= Install high quality skins .include "${.CURDIR}/../quake2-data/Makefile.include" .include .if ${PORT_OPTIONS:MRETEXTURE_FULL} || ${PORT_OPTIONS:MSKINS} BUILD_DEPENDS+= nwreckdum:${PORTSDIR}/archivers/nwreckdum PLIST_FILES+= %%Q2DIR%%/baseq2/pak20.pak .endif .if ${PORT_OPTIONS:MRETEXTURE} && ! ${PORT_OPTIONS:MRETEXTURE_FULL} .for i in ${RETEX_PAKS} DISTFILES+= pak${i}.pak:retex PLIST_FILES+= %%Q2DIR%%/baseq2/pak${i}.pak .endfor PLIST_SUB+= RETEX="" .else PLIST_SUB+= RETEX="@comment " .endif .if ${PORT_OPTIONS:MRETEXTURE_FULL} DISTFILES+= ${RETEX_FULL}:retex2 EXTRACT_ONLY+= ${RETEX_FULL} PLIST_FILES+= %%Q2DIR%%/baseq2/pak10.pak .endif .if ${PORT_OPTIONS:MSKINS} DISTFILES+= ${SKINS}:models EXTRACT_ONLY+= ${SKINS} PLIST_FILES+= %%Q2DIR%%/baseq2/pak20.pak .endif post-extract: .if ${PORT_OPTIONS:MRETEXTURE_FULL} @${MKDIR} ${WRKSRC}/pak10 @${MV} ${WRKSRC}/textures ${WRKSRC}/pak10 .endif .if ${PORT_OPTIONS:MSKINS} @${MKDIR} ${WRKSRC}/pak20 @${MV} ${WRKSRC}/models ${WRKSRC}/pak20 .endif do-build: .if ${PORT_OPTIONS:MRETEXTURE_FULL} @nwreckdum -c -p ${WRKSRC}/pak10.pak -d ${WRKSRC}/pak10 .endif .if ${PORT_OPTIONS:MSKINS} @nwreckdum -c -p ${WRKSRC}/pak20.pak -d ${WRKSRC}/pak20 .endif do-install: @${MKDIR} ${STAGEDIR}${Q2DIR}/baseq2 .if ${PORT_OPTIONS:MRETEXTURE} && empty(PORT_OPTIONS:MRETEXTURE_FULL) . for i in ${RETEX_PAKS} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/pak${i}.pak \ ${STAGEDIR}${Q2DIR}/baseq2 . endfor .endif .if ${PORT_OPTIONS:MRETEXTURE_FULL} ${INSTALL_DATA} ${WRKSRC}/pak10.pak ${STAGEDIR}${Q2DIR}/baseq2 .endif .if ${PORT_OPTIONS:MSKINS} ${INSTALL_DATA} ${WRKSRC}/pak20.pak ${STAGEDIR}${Q2DIR}/baseq2 .endif .include Index: head/games/quake2-lights/Makefile =================================================================== --- head/games/quake2-lights/Makefile (revision 394507) +++ head/games/quake2-lights/Makefile (revision 394508) @@ -1,44 +1,44 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= lights PORTVERSION= 1 CATEGORIES= games MASTER_SITES= http://bfeared.com/library/quake/archive/quakedev/qudos/quake2/mods/:data \ LOCAL/alepulver/:src PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX} DISTNAME= Lights.v${PORTVERSION}.Linux DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:data,src \ Lights-Bots${EXTRACT_SUFX}:src MAINTAINER= danfe@FreeBSD.org COMMENT= Lights and weapon effects modification for Quake II USES= gmake tar:bzip2 NO_WRKSUBDIR= yes BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}/src ALL_TARGET= release -DOCSDIR= ${PREFIX}/share/doc/${LATEST_LINK} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's/__linux__/__unix__/' ${BUILD_WRKSRC}/q_shared.c @${REINPLACE_CMD} -e 's///' \ ${BUILD_WRKSRC}/ace/acebot_compress.c do-install: @${MKDIR} ${STAGEDIR}${Q2DIR}/${PORTNAME} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/lights/game.so \ ${STAGEDIR}${Q2DIR}/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/lights/pak99.pak \ ${STAGEDIR}${Q2DIR}/${PORTNAME} cd ${WRKSRC}/quake2/lights && ${CP} -a autoexec.cfg demos pics \ sprites ${STAGEDIR}${Q2DIR}/${PORTNAME} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/quake2/lights/Readme. \ ${STAGEDIR}${DOCSDIR}/readme.txt .include "${.CURDIR}/../quake2-data/Makefile.include" .include Index: head/games/quake2-matrix/Makefile =================================================================== --- head/games/quake2-matrix/Makefile (revision 394507) +++ head/games/quake2-matrix/Makefile (revision 394508) @@ -1,38 +1,38 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= matrix PORTVERSION= 1 CATEGORIES= games MASTER_SITES= http://qudos.quakedev.com/linux/quake2/mods/ PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX} DISTNAME= Matrix-v${PORTVERSION}.fixed.Linux MAINTAINER= danfe@FreeBSD.org COMMENT= Matrix modification for Quake II USES= gmake tar:bzip2 WRKSRC= ${WRKDIR}/${PORTNAME} BUILD_WRKSRC= ${WRKSRC}/MatrixFixSource ALL_TARGET= release -DOCSDIR= ${PREFIX}/share/doc/${LATEST_LINK} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} OPTIONS_DEFINE= DOCS .include "${.CURDIR}/../quake2-data/Makefile.include" post-patch: @${REINPLACE_CMD} -e 's/__linux__/__unix__/' \ ${BUILD_WRKSRC}/q_shared.[ch] do-install: @${MKDIR} ${STAGEDIR}${Q2DIR}/${PORTNAME} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/matrix/game.so \ ${STAGEDIR}${Q2DIR}/${PORTNAME} cd ${WRKSRC} && ${INSTALL_DATA} *.cfg *.ini *.pak \ ${STAGEDIR}${Q2DIR}/${PORTNAME} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} .include Index: head/games/quake2-psychomod/Makefile =================================================================== --- head/games/quake2-psychomod/Makefile (revision 394507) +++ head/games/quake2-psychomod/Makefile (revision 394508) @@ -1,37 +1,37 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= psychomod PORTVERSION= 3.1 CATEGORIES= games MASTER_SITES= LOCAL/alepulver PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX} MAINTAINER= danfe@FreeBSD.org COMMENT= Psychomod modification for Quake II USES= gmake tar:bzip2 WRKSRC= ${WRKDIR}/${PORTNAME} BUILD_WRKSRC= ${WRKSRC}/src ALL_TARGET= release -DOCSDIR= ${PREFIX}/share/doc/${LATEST_LINK} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} OPTIONS_DEFINE= DOCS .include "${.CURDIR}/../quake2-data/Makefile.include" post-patch: @${REINPLACE_CMD} -e 's/__linux__/__unix__/' \ ${BUILD_WRKSRC}/q_shared.[ch] do-install: @${MKDIR} ${STAGEDIR}${Q2DIR}/${PORTNAME} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/psychomod/game.so \ ${STAGEDIR}${Q2DIR}/${PORTNAME} cd ${WRKSRC} && ${INSTALL_DATA} *.cfg pak0.pak \ ${STAGEDIR}${Q2DIR}/${PORTNAME} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR} .include Index: head/games/quake2-source/Makefile =================================================================== --- head/games/quake2-source/Makefile (revision 394507) +++ head/games/quake2-source/Makefile (revision 394508) @@ -1,74 +1,72 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= source PORTVERSION= 3.21 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://offload1.icculus.org/quake2/files/:icc \ IDSOFTWARE/quake2/source/:id PKGNAMEPREFIX= quake2- DISTNAME= quake2-r0.16.2 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:icc DIST_SUBDIR= quake2lnx EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= danfe@FreeBSD.org COMMENT= Quake II game source NO_BUILD= yes OPTIONS_DEFINE= CTF ROGUE XATRIX CTF_DESC= Capture The Flag mod source ROGUE_DESC= Ground Zero (Rogue) mission pack source XATRIX_DESC= Reckoning (Xatrix) mission pack source OPTIONS_SUB= yes -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME} - DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME} .include .if ${PORT_OPTIONS:MROGUE} DISTFILES+= roguesrc320.shar.Z:id EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_rogue_g__local.h \ ${FILESDIR}/extra-patch-src_rogue_q__shared.c ROGUE_OFF= 454 .endif .if ${PORT_OPTIONS:MXATRIX} DISTFILES+= xatrixsrc320.shar.Z:id EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_xatrix_q__shared.c XATRIX_OFF= 441 .endif post-extract: .for f in rogue xatrix . if ${PORT_OPTIONS:M${f:tu}} @${MKDIR} ${WRKSRC}/src/${f} @(cd ${WRKSRC}/src/${f} && ${GUNZIP_CMD} -c \ ${DISTDIR}/${DIST_SUBDIR}/${f}src320.shar.Z > \ ${f}src320.shar && \ ${TAIL} +${${f:tu}_OFF} ${f}src320.shar | ${SH}) . endif .endfor pre-install: @${FIND} -E ${WRKSRC} -type f -iregex \ "(Makefile|.*\.(def|dsp|orig|shar))" -print0 | \ ${XARGS} -0 ${RM} do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${CP} -R ${WRKSRC}/src/game ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${FILESDIR}/Makefile.game ${STAGEDIR}${DATADIR}/game/Makefile .for f in ctf rogue xatrix . if ${PORT_OPTIONS:M${f:tu}} ${CP} -R ${WRKSRC}/src/${f} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${FILESDIR}/Makefile.${f} ${STAGEDIR}${DATADIR}/${f}/Makefile . endif .endfor .include Index: head/games/quake2-zaero/Makefile =================================================================== --- head/games/quake2-zaero/Makefile (revision 394507) +++ head/games/quake2-zaero/Makefile (revision 394508) @@ -1,64 +1,64 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= zaero PORTVERSION= 1.1 CATEGORIES= games MASTER_SITES= ftp://ftp.alepulver.com.ar/distfiles/ PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}-src-${PORTVERSION}-2${EXTRACT_SUFX} DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} MAINTAINER= danfe@FreeBSD.org COMMENT= Quake II Zaero Mission Pack USES= dos2unix zip DOS2UNIX_FILES= *.[ch] NO_WRKSUBDIR= yes -DOCSDIR= ${PREFIX}/share/doc/${LATEST_LINK} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} OPTIONS_DEFINE= DEMO DM_MAPS DOCS OPTIONS_SUB= yes DEMO_DESC= Demo version of the game data DM_MAPS_DESC= Install deathmatch maps .include "${.CURDIR}/../quake2-data/Makefile.include" .include .if ${PORT_OPTIONS:MDEMO} DISTFILES+= zaerodemo${EXTRACT_SUFX} .else SUB_FILES+= pkg-message .endif .if ${PORT_OPTIONS:MDM_MAPS} DISTFILES+= zaerodm${EXTRACT_SUFX} .endif post-extract: @${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC} post-patch: @${REINPLACE_CMD} -e 's/__linux__/__unix__/' ${WRKSRC}/q_shared.[ch] do-install: @${MKDIR} ${STAGEDIR}${Q2DIR}/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/game.so ${STAGEDIR}${Q2DIR}/${PORTNAME} .if ${PORT_OPTIONS:MDEMO} ${INSTALL_DATA} ${WRKSRC}/zaero/pak0.pak ${STAGEDIR}${Q2DIR}/${PORTNAME} @${MKDIR} ${STAGEDIR}${Q2DIR}/${PORTNAME}/sprites ${INSTALL_DATA} ${WRKSRC}/zaero/sprites/* \ ${STAGEDIR}${Q2DIR}/${PORTNAME}/sprites .endif ${INSTALL_DATA} ${WRKSRC}/pak1.pak ${STAGEDIR}${Q2DIR}/${PORTNAME} .if ${PORT_OPTIONS:MDM_MAPS} ${INSTALL_DATA} ${WRKSRC}/zaero/pak2.pak \ ${STAGEDIR}${Q2DIR}/${PORTNAME} .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/changelog.txt ${STAGEDIR}${DOCSDIR} .include Index: head/games/tuxpaint-fonts/Makefile =================================================================== --- head/games/tuxpaint-fonts/Makefile (revision 394507) +++ head/games/tuxpaint-fonts/Makefile (revision 394508) @@ -1,76 +1,73 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= tuxpaint PORTVERSION= 2004.06.05 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= # PKGNAMESUFFIX= -fonts DISTFILES= # MAINTAINER= ports@FreeBSD.org COMMENT= TuxPaint Localized Fonts RUN_DEPENDS= tuxpaint>=0.9.21:${PORTSDIR}/games/tuxpaint NO_BUILD= yes NO_WRKSUBDIR= yes # Available font languages. LANGS= Chinese_Simplified Korean Vietnamese # Define distfiles for all languages. CHINESE_SIMPLIFIED_DISTNAME= chinese-simplified-2004.06.05 KOREAN_DISTNAME= korean-2002.12.05 VIETNAMESE_DISTNAME= vietnamese-2004.04.15 # Define language codes. CHINESE_SIMPLIFIED_CODE= zh_cn KOREAN_CODE= ko VIETNAMESE_CODE= vi # Generate options menu. .for l in ${LANGS} OPTIONS_DEFINE+= ${l:tu} OPTIONS_DEFAULT+= ${l:tu} ${l:tu}_DESC= ${l:S/_/ /} fonts .endfor # Set MASTER_SITES .for l in ${LANGS} MASTER_SITES+= SF/${PORTNAME}/${PORTNAME}-fonts/${${l:tu}_DISTNAME}:${l:tu} .endfor -# Do not use the same OPTIONS directory as "games/tuxpaint". -LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} - .include # Set DISTFILES and PLIST_FILES according to OPTIONS. .for l in ${LANGS} . if ${PORT_OPTIONS:M${l:tu}} DISTFILES+= ${PORTNAME}-ttf-${${l:tu}_DISTNAME}${EXTRACT_SUFX}:${l:tu} PLIST_FILES+= %%DATADIR%%/fonts/locale/${${l:tu}_CODE}.ttf PLIST_FILES+= %%DATADIR%%/fonts/locale/${${l:tu}_CODE}_docs/COPYING.txt PLIST_FILES+= %%DATADIR%%/fonts/locale/${${l:tu}_CODE}_docs/README.txt PLIST_DIRS+= %%DATADIR%%/fonts/locale/${${l:tu}_CODE}_docs . endif .endfor # Install seleted fonts. do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/fonts/locale .for l in ${LANGS} . if ${PORT_OPTIONS:M${l:tu}} ${INSTALL_DATA} \ ${WRKSRC}/${PORTNAME}-ttf-${${l:tu}_DISTNAME}/${${l:tu}_CODE}.ttf \ ${STAGEDIR}${DATADIR}/fonts/locale @${MKDIR} ${STAGEDIR}${DATADIR}/fonts/locale/${${l:tu}_CODE}_docs ${INSTALL_DATA} \ ${WRKSRC}/${PORTNAME}-ttf-${${l:tu}_DISTNAME}/*.txt \ ${STAGEDIR}${DATADIR}/fonts/locale/${${l:tu}_CODE}_docs . endif .endfor .include Index: head/games/xpilot-ng-server/Makefile =================================================================== --- head/games/xpilot-ng-server/Makefile (revision 394507) +++ head/games/xpilot-ng-server/Makefile (revision 394508) @@ -1,90 +1,88 @@ # Created by: Jean-Yves Lefort # $FreeBSD$ PORTNAME= xpilot-ng PORTVERSION= 4.7.3 PORTREVISION?= 3 CATEGORIES= games MASTER_SITES= SF/xpilot/xpilot_ng/${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX?= -server MAINTAINER= ports@FreeBSD.org COMMENT?= Enhanced version of XPilot (server program) LICENSE= GPLv2 # or later LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -Wno-return-type LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --program-prefix="" -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} - PKGFILESUFFIX= ${PKGNAMESUFFIX:S/-/./} DESCR= ${PKGDIR}/pkg-descr${PKGFILESUFFIX} PLIST= ${PKGDIR}/pkg-plist${PKGFILESUFFIX} .if ${PKGNAMESUFFIX} == "-server" CONFIGURE_ARGS+=--disable-replay \ --disable-xp-mapedit \ --disable-x11-client \ --disable-sdl-client .else # client CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -I${LOCALBASE}/include DESKTOP_ENTRIES= "Xpilot-ng X11" "Xpilot game client program" \ "" "xpilot-ng-x11" "Game;ArcadeGame;" false \ "Xpilot-ng Map Editor" "Xpilot Map Editor" \ "" "xpilot-ng-xp-mapedit" "Game;ArcadeGame;" false OPTIONS_DEFINE= SDL SOUND OPTIONS_DEFAULT= SDL OPTIONS_SUB= yes SOUND_DESC= Enable sound support SOUND_CONFIGURE_ENABLE= sound SOUND_USES= openal:al,alut SDL_CONFIGURE_ENABLE= sdl-client SDL_USE= SDL=image,sdl,ttf GL=yes .endif .include .if ${PKGNAMESUFFIX} == "-server" post-patch: @${REINPLACE_CMD} -e \ 's|xpilot-ng-sdl\.man||; \ s|xpilot-ng-x11\.man||; \ s|xpilot-ng-replay\.man||; \ s|xpilot-ng-xp-mapedit\.man||' ${WRKSRC}/doc/man/Makefile.in @${REINPLACE_CMD} -e \ 's| fonts||; s| textures||; s| shipshapes\.txt||' \ ${WRKSRC}/lib/Makefile.in .else # client .if ${PORT_OPTIONS:MSDL} DESKTOP_ENTRIES+= "Xpilot-ng SDL" "Xpilot game client program" \ "" "xpilot-ng-sdl" "Game;ArcadeGame;" false .endif post-patch: @${REINPLACE_CMD} -e 's|mapconvert\.py||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|xpilot-ng-server\.man||' \ ${WRKSRC}/doc/man/Makefile.in @${REINPLACE_CMD} -e \ 's| maps||; s|defaults\.txt password\.txt robots\.txt||' \ ${WRKSRC}/lib/Makefile.in @${REINPLACE_CMD} -e 's| server||' ${WRKSRC}/src/Makefile.in .if empty(PORT_OPTIONS:MSDL) @${REINPLACE_CMD} -e 's|xpilot-ng-sdl\.man||' \ ${WRKSRC}/doc/man/Makefile.in .endif .endif .include Index: head/graphics/frei0r-plugins/Makefile =================================================================== --- head/graphics/frei0r-plugins/Makefile (revision 394507) +++ head/graphics/frei0r-plugins/Makefile (revision 394508) @@ -1,44 +1,41 @@ # $FreeBSD$ PORTREVISION= 0 PKGNAMESUFFIX= -plugins MASTER_SITES= # empty DISTFILES= # empty EXTRACT_ONLY= # empty COMMENT= Frei0r meta-port -# Required in order to avoid conflicts with graphics/frei0r's OPTIONS. -LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} - RUN_DEPENDS= ${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r MASTERDIR= ${.CURDIR}/../frei0r NO_BUILD= yes PLIST= ${WRKDIR}/PLIST BUILDING_FREI0R_METAPORT= yes OPTIONS_DEFINE= GAVL OPENCV OPTIONS_DEFAULT= GAVL OPENCV GAVL_DESC= Install gavl plugins OPENCV_DESC= Install OpenCV plugins PATCHDIR= ${.CURDIR}/files .include "${MASTERDIR}/Makefile" .include .if ${PORT_OPTIONS:MGAVL} RUN_DEPENDS+= ${LOCALBASE}/lib/frei0r-1/rgbparade.so:${PORTSDIR}/graphics/frei0r-plugins-gavl .endif .if ${PORT_OPTIONS:MOPENCV} RUN_DEPENDS+= ${LOCALBASE}/lib/frei0r-1/facedetect.so:${PORTSDIR}/graphics/frei0r-plugins-opencv .endif do-install: @${DO_NADA} .include Index: head/graphics/jgraph/Makefile =================================================================== --- head/graphics/jgraph/Makefile (revision 394507) +++ head/graphics/jgraph/Makefile (revision 394508) @@ -1,24 +1,23 @@ # Created by: wolman@cs.washington.edu # $FreeBSD$ PORTNAME= jgraph PORTVERSION= 8.3 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://web.eecs.utk.edu/~plank/plank/jgraph/ DISTFILES= ${PORTNAME}.shar.Z MAINTAINER= ports@FreeBSD.org COMMENT= Generates postscript graphs -NO_LATEST_LINK= yes EXTRACT_CMD= uncompress EXTRACT_BEFORE_ARGS= -c EXTRACT_AFTER_ARGS= | ${SH} NO_WRKSUBDIR= yes MAKEFILE= makefile MAKE_ENV+= DATADIR=${DATADIR} CFLAGS+= -Wno-return-type .include Index: head/graphics/libgnomecanvasmm26/Makefile =================================================================== --- head/graphics/libgnomecanvasmm26/Makefile (revision 394507) +++ head/graphics/libgnomecanvasmm26/Makefile (revision 394508) @@ -1,35 +1,33 @@ # Created by: Alexander Nedotsukov # $FreeBSD$ # $MCom: ports/graphics/libgnomecanvasmm26/Makefile,v 1.22 2009/03/17 15:05:06 kwm Exp $ PORTNAME= libgnomecanvasmm PORTVERSION= 2.26.0 PORTREVISION= 7 CATEGORIES= graphics gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= bland@FreeBSD.org COMMENT= C++ wrapper for libgnomecanvas library LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 -LATEST_LINK= libgnomecanvasmm26 - USES= gmake libtool:keepla pathfix pkgconfig tar:bzip2 USE_GNOME= libgnomecanvas GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-static INSTALL_TARGET= install-strip PLIST_SUB= VERSION="2.6" API_VERSION="2.6" post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s|\(-lglibmm\)|-L\$$(GMM_PROCDIR)/../.. \1|" \ ${WRKSRC}/tools/extra_defs_gen/Makefile.in .include Index: head/graphics/py-aafigure/Makefile =================================================================== --- head/graphics/py-aafigure/Makefile (revision 394507) +++ head/graphics/py-aafigure/Makefile (revision 394508) @@ -1,36 +1,36 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= aafigure PORTVERSION= 0.5 PORTREVISION= 2 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= ASCII art to image converter written in Python LICENSE= BSD2CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \ ${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab2 USES= python USE_PYTHON= distutils autoplist -DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} -EXAMPLESDIR= ${PREFIX}/share/examples/${UNIQUENAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} +EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE} PORTDOCS= README.txt PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include Index: head/graphics/py-actdiag/Makefile =================================================================== --- head/graphics/py-actdiag/Makefile (revision 394507) +++ head/graphics/py-actdiag/Makefile (revision 394508) @@ -1,40 +1,40 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= actdiag PORTVERSION= 0.5.3 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= Simple activity-diagram image generator LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PKGNAMEPREFIX}pillow>=2.2.1:${PORTSDIR}/graphics/py-pillow \ ${PKGNAMEPREFIX}blockdiag>=1.4.1:${PORTSDIR}/graphics/py-blockdiag \ ${PKGNAMEPREFIX}funcparserlib>=0.3.6:${PORTSDIR}/devel/py-funcparserlib USES= python USE_PYTHON= autoplist distutils -DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} PORTDOCS= README.rst OPTIONS_DEFINE= DOCS .include .if ${PYTHON_VER} == 3.1 IGNORE= does not support in ${PYTHON_VERSION} .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ @${ECHO_CMD} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST} .include Index: head/graphics/py-blockdiag/Makefile =================================================================== --- head/graphics/py-blockdiag/Makefile (revision 394507) +++ head/graphics/py-blockdiag/Makefile (revision 394508) @@ -1,62 +1,60 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= blockdiag PORTVERSION= 1.4.4 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= Simple block-diagram image generator LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PKGNAMEPREFIX}pillow>=2.2.1:${PORTSDIR}/graphics/py-pillow \ ${PKGNAMEPREFIX}funcparserlib>=0.3.6:${PORTSDIR}/devel/py-funcparserlib \ ${PKGNAMEPREFIX}webcolors>=0:${PORTSDIR}/graphics/py-webcolors -UNIQUENAME= py-${PORTNAME} - USES= python USE_PYTHON= autoplist distutils DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} PORTDOCS= README.rst PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES IPAFONT PDF IPAFONT_DESC= Use IPA Font as default PDF_DESC= Enable PDF output OPTIONS_DEFAULT= PDF .include .if ${PYTHON_VER} == 3.1 IGNORE= does not support in ${PYTHON_VERSION} .endif .if ${PORT_OPTIONS:MPDF} RUN_DEPENDS+= ${PKGNAMEPREFIX}reportlab>0:${PORTSDIR}/print/py-reportlab .endif .if ${PORT_OPTIONS:MIPAFONT} RUN_DEPENDS+= ${LOCALBASE}/share/font-ipa/ipag.otf:${PORTSDIR}/japanese/font-ipa .endif post-patch: ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/src/blockdiag/utils/bootstrap.py post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/examples/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ @${ECHO_CMD} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST} .include Index: head/graphics/py-imaging/Makefile =================================================================== --- head/graphics/py-imaging/Makefile (revision 394507) +++ head/graphics/py-imaging/Makefile (revision 394508) @@ -1,56 +1,54 @@ # Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= imaging PORTVERSION= 1.1.7 PORTREVISION= 5 CATEGORIES= graphics python MASTER_SITES= http://effbot.org/media/downloads/ \ http://www.pythonware.net/storage/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Imaging-${PORTVERSION} MAINTAINER= mainland@apeiron.net COMMENT= The Python Imaging Library LIB_DEPENDS= liblcms.so:${PORTSDIR}/graphics/lcms \ libfreetype.so:${PORTSDIR}/print/freetype2 -UNIQUENAME= py-${PORTNAME} - USES= jpeg python DIST_SUBDIR= python USE_PYTHON= distutils autoplist concurrent PLIST_FILES= %%PYTHON_INCLUDEDIR%%/ImPlatform.h %%PYTHON_INCLUDEDIR%%/Imaging.h PORTDOCS= * PORTEXAMPLES= * CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pillow-* OPTIONS_DEFINE= DOCS TKINTER TKINTER_DESC= tkinter for X support OPTIONS_DEFAULT= TKINTER TKINTER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter TKINTER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter .include .if ! ${PORT_OPTIONS:MTKINTER} post-patch: @${REINPLACE_CMD} -e 's|if _tkinter|if None|g' ${WRKSRC}/setup.py .endif post-install: .for file in ImPlatform.h Imaging.h @${MKDIR} ${STAGEDIR}${PYTHON_INCLUDEDIR} ${INSTALL_DATA} ${WRKSRC}/libImaging/${file} ${STAGEDIR}${PYTHON_INCLUDEDIR} .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/Scripts/* ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Docs/* ${STAGEDIR}${DOCSDIR} .include Index: head/graphics/py-nwdiag/Makefile =================================================================== --- head/graphics/py-nwdiag/Makefile (revision 394507) +++ head/graphics/py-nwdiag/Makefile (revision 394508) @@ -1,52 +1,52 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= nwdiag PORTVERSION= 1.0.3 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= Simple network-diagram image generator LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PKGNAMEPREFIX}pillow>=2.2.1:${PORTSDIR}/graphics/py-pillow \ ${PKGNAMEPREFIX}funcparserlib>=0.3.6:${PORTSDIR}/devel/py-funcparserlib \ ${PKGNAMEPREFIX}blockdiag>=1.4.1:${PORTSDIR}/graphics/py-blockdiag USES= python USE_PYTHON= autoplist distutils -DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} -EXAMPLESDIR= ${PREFIX}/share/examples/${UNIQUENAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} +EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE} PORTDOCS= README.rst PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${PYTHON_VER} == 3.1 IGNORE= does not support in ${PYTHON_VERSION} .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for d in ${PORTNAME} packetdiag @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${d} ${INSTALL_DATA} \ ${INSTALL_WRKSRC}/examples/${d}/${PORTEXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR}/${d} .endfor .for f in ${PORTNAME} rackdiag ${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${PREFIX}/man/man1/ @${ECHO_CMD} man/man1/${f}.1.gz >> ${TMPPLIST} .endfor .include Index: head/graphics/py-opengl/Makefile =================================================================== --- head/graphics/py-opengl/Makefile (revision 394507) +++ head/graphics/py-opengl/Makefile (revision 394508) @@ -1,37 +1,36 @@ # Created by: Randall Hopper # $FreeBSD$ PORTNAME= opengl PORTVERSION= 3.0.1 PORTREVISION= 7 CATEGORIES= graphics python MASTER_SITES= SF/py${PORTNAME}/PyOpenGL/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyOpenGL-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= OpenGL (and related library) interface for Python BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow RUN_DEPENDS:= ${BUILD_DEPENDS} OPTIONS_DEFINE= TKINTER OPTIONS_DEFAULT= TKINTER TKINTER_DESC= Build with tkinter for X support -OPTIONSFILE?= ${PORT_DBDIR}/${PORTNAME}/options USES= dos2unix python USE_GL= glut USE_PYTHON= distutils autoplist TKINTER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter TKINTER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter post-patch: @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ 's|||g' @${FIND} ${WRKSRC} -name "*.bak" -delete ${REINPLACE_CMD} -e 's|posix |posix|g' ${WRKSRC}/OpenGL/__init__.py .include Index: head/graphics/py-seqdiag/Makefile =================================================================== --- head/graphics/py-seqdiag/Makefile (revision 394507) +++ head/graphics/py-seqdiag/Makefile (revision 394508) @@ -1,45 +1,45 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= seqdiag PORTVERSION= 0.9.3 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= Simple sequence-diagram image generator LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PKGNAMEPREFIX}pillow>=2.2.1:${PORTSDIR}/graphics/py-pillow \ ${PKGNAMEPREFIX}funcparserlib>=0.3.6:${PORTSDIR}/devel/py-funcparserlib \ ${PKGNAMEPREFIX}blockdiag>=1.4.1:${PORTSDIR}/graphics/py-blockdiag USES= python USE_PYTHON= autoplist distutils -DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} -EXAMPLESDIR= ${PREFIX}/share/examples/${UNIQUENAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} +EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE} PORTDOCS= README.rst PORTEXAMPLES= * OPTIONS_DEFINE= DOCS .include .if ${PYTHON_VER} == 3.1 IGNORE= does not support in ${PYTHON_VERSION} .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/examples/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ @${ECHO_CMD} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST} .include Index: head/graphics/py-sorl-thumbnail/Makefile =================================================================== --- head/graphics/py-sorl-thumbnail/Makefile (revision 394507) +++ head/graphics/py-sorl-thumbnail/Makefile (revision 394508) @@ -1,45 +1,44 @@ # Created by: Kevin Golding # $FreeBSD$ PORTNAME= sorl-thumbnail PORTVERSION= 3.2.5 PORTREVISION= 5 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@caomhin.org COMMENT= Sorl-thumbnail provides an easy way to generate image thumbnails LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow USES= python USE_PYTHON= autoplist distutils DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= DJANGO PDF WORD DJANGO_DESC= Enable Django PDF_DESC= PDF Thumbnails WORD_DESC= Word Document thumbnail handling OPTIONS_DEFAULT= DJANGO .include .if ${PORT_OPTIONS:MDJANGO} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django .endif .if ${PORT_OPTIONS:MPDF} RUN_DEPENDS+= ${LOCALBASE}/bin/Magick-config:${PORTSDIR}/graphics/ImageMagick .endif .if ${PORT_OPTIONS:MWORD} RUN_DEPENDS+= wvVersion:${PORTSDIR}/textproc/wv .endif .include Index: head/graphics/py-webcolors/Makefile =================================================================== --- head/graphics/py-webcolors/Makefile (revision 394507) +++ head/graphics/py-webcolors/Makefile (revision 394508) @@ -1,31 +1,31 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= webcolors PORTVERSION= 1.4 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= Library working with the sRGB color space as used in the HTML and CSS LICENSE= BSD3CLAUSE USES= python USE_PYTHON= distutils autoplist -DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} PORTDOCS= README OPTIONS_DEFINE= DOCS .include .if ${PORT_OPTIONS:MDOCS} post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .include Index: head/graphics/quat-gui/Makefile =================================================================== --- head/graphics/quat-gui/Makefile (revision 394507) +++ head/graphics/quat-gui/Makefile (revision 394508) @@ -1,71 +1,69 @@ # Created by: David Yeske # $FreeBSD$ PORTNAME= quat PORTVERSION= 1.20 PORTREVISION= 14 CATEGORIES= graphics #MASTER_SITES= http://www.physcip.uni-stuttgart.de/phy11733/download/ MASTER_SITES= http://www.sourcefiles.org/Graphics/Fractals/ PKGNAMESUFFIX= -gui MAINTAINER= ports@FreeBSD.org COMMENT= Three-dimensional fractal creator (X11 GUI) LICENSE= GPLv2 # (or later) LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} - USE_XORG= xext USE_GL= gl glut GNU_CONFIGURE= yes CONFIGURE_ENV= FLUID="${LOCALBASE}/bin/fluid" CONFIGURE_ARGS= --datadir=${PREFIX}/share/doc CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} PORTDOCS= * PLIST_FILES= bin/quat DESKTOP_ENTRIES="Quat" "3D Fractal Generator" "" "${PORTNAME}" "" "" .include .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CFLAGS+= -O3 -ffast-math .endif post-patch: @${REINPLACE_CMD} -E -e \ 's,-(march=pentium|O3|ffast-math),,g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -E -e \ 's|-I\.[[:space:]]+-I\$$\(srcdir\)[[:space:]]+||' \ ${WRKSRC}/gui/Makefile.in @${REINPLACE_CMD} -e \ 's||| ; \ - s|/doc/quat/|/doc/${UNIQUENAME}/|' \ + s|/doc/quat/|/doc/${PKGBASE}/|' \ ${WRKSRC}/gui/MainWindow.cxx # disable data file installation since distfile does not do # The Right Thing(TM) @${REINPLACE_CMD} -E -e \ 's|^(install-data-am:).*$$|\1| ; \ s|^(SUBDIRS.*)doc|\1|' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ - 's|@PACKAGE@|${UNIQUENAME}|' \ + 's|@PACKAGE@|${PKGBASE}|' \ ${WRKSRC}/doc/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .include Index: head/irc/py-gozerbot/Makefile =================================================================== --- head/irc/py-gozerbot/Makefile (revision 394507) +++ head/irc/py-gozerbot/Makefile (revision 394508) @@ -1,44 +1,43 @@ # Created by: Sten Spans # $FreeBSD$ PORTNAME= gozerbot PORTVERSION= 0.8.1.1 PORTREVISION= 3 CATEGORIES= irc python MASTER_SITES= http://gozerbot.org/media/tarball/ \ GOOGLE_CODE PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sten@blinkenlights.nl COMMENT= Gozerbot - A modular Python IRC and Jabber bot USES= python USE_PYTHON= distutils SUB_FILES= pkg-message OPTIONS_DEFINE= XMPP MYSQL DOCS XMPP_DESC= Jabber functions MYSQL_DESC= Mysql functions -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options RUN_DEPENDS+= ${LOCALBASE}/bin/gpg:${PORTSDIR}/security/gnupg .include post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -R ${WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR} ${CP} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .endif @${INSTALL_MAN} ${WRKSRC}/man/gozerbot.1.FreeBSD ${STAGEDIR}${MAN1PREFIX}/man/man1/gozerbot.1 .if ${PORT_OPTIONS:MMYSQL} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:${PORTSDIR}/databases/py-MySQLdb .endif .if ${PORT_OPTIONS:MXMPP} RUN_DEPENDS+=${PYTHON_SITELIBDIR}/xmpp/__init__.py:${PORTSDIR}/net-im/py-xmpppy .endif .include Index: head/japanese/p5-MeCab/Makefile =================================================================== --- head/japanese/p5-MeCab/Makefile (revision 394507) +++ head/japanese/p5-MeCab/Makefile (revision 394508) @@ -1,37 +1,36 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= MeCab PORTVERSION= 0.996 PORTREVISION= 2 CATEGORIES= japanese textproc perl5 MASTER_SITES= GOOGLE_CODE PROJECTHOST= ${PORTNAME:tl} DISTNAME= ${PORTNAME:tl}-perl-${PORTVERSION} MAINTAINER= perl@FreeBSD.org COMMENT= MeCab library module for Perl5 LICENSE= BSD3CLAUSE GPLv2 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= libmecab.so:${PORTSDIR}/japanese/mecab USES= perl5 USE_PERL5= configure OPTIONS_DEFINE= EXAMPLES -OPTIONSFILE= ${PORT_DBDIR}/ja-p5-${PORTNAME}/options .include PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- pre-install: ${STRIP_CMD} ${WRKSRC}/blib/arch/auto/MeCab/MeCab.so post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/test.pl ${STAGEDIR}${EXAMPLESDIR} .include Index: head/japanese/ruby-mecab/Makefile =================================================================== --- head/japanese/ruby-mecab/Makefile (revision 394507) +++ head/japanese/ruby-mecab/Makefile (revision 394508) @@ -1,38 +1,37 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= mecab PORTVERSION= 0.996 PORTREVISION= 1 CATEGORIES= japanese textproc ruby MASTER_SITES= GOOGLE_CODE DISTNAME= ${PORTNAME}-ruby-${PORTVERSION} MAINTAINER= ruby@FreeBSD.org COMMENT= MeCab library module for Ruby LICENSE= BSD3CLAUSE GPLv2 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= libmecab.so:${PORTSDIR}/japanese/mecab USE_RUBY= yes USE_RUBY_EXTCONF= yes INSTALL_TARGET= site-install OPTIONS_DEFINE= DOCS EXAMPLES -OPTIONSFILE= ${PORT_DBDIR}/ja-ruby-${PORTNAME}/options .include PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX} post-install: ${STRIP_CMD} ${STAGEDIR}${RUBY_SITEARCHLIBDIR}/MeCab.so @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR} ${INSTALL_DATA} ${WRKSRC}/bindings.html ${STAGEDIR}${RUBY_MODDOCDIR}/ @${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/test.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ .include Index: head/java/netty/Makefile =================================================================== --- head/java/netty/Makefile (revision 394507) +++ head/java/netty/Makefile (revision 394508) @@ -1,39 +1,39 @@ # Created by: Mikhail T. # $FreeBSD$ PORTNAME= netty PORTVERSION= 3.9.2 DISTVERSIONSUFFIX= .Final-dist CATEGORIES= java devel MASTER_SITES= http://dl.bintray.com/netty/downloads/ MAINTAINER= m.tsatsenko@gmail.com COMMENT= Java NIO client server framework LICENSE= APACHE20 USE_JAVA= yes USES= cpe tar:bzip2 CPE_VENDOR= netty_project JAVA_VERSION= 1.6+ NO_BUILD= yes -DATADIR= ${PREFIX}/share/${UNIQUENAME} -DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} +DATADIR= ${PREFIX}/share/${PKGBASE} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.Final PLIST_FILES= %%JAVAJARDIR%%/netty-${PORTVERSION}.jar \ %%JAVAJARDIR%%/netty.jar PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS do-install: @${MKDIR} ${STAGEDIR}${JAVAJARDIR} ${INSTALL_DATA} ${WRKSRC}/jar/netty-${PORTVERSION}.Final.jar ${STAGEDIR}${JAVAJARDIR}/netty-${PORTVERSION}.jar cd ${WRKSRC} && ${COPYTREE_SHARE} src ${STAGEDIR}${DATADIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} ${LN} -nfs netty-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/netty.jar .include Index: head/java/openjdk6-jre/Makefile =================================================================== --- head/java/openjdk6-jre/Makefile (revision 394507) +++ head/java/openjdk6-jre/Makefile (revision 394508) @@ -1,12 +1,11 @@ # $FreeBSD$ CATEGORIES= java devel PKGNAMESUFFIX= -jre COMMENT= Oracle's Java 6 Runtime Environment under the GPL v2 BUILD_JRE= yes MASTERDIR= ${.CURDIR}/../openjdk6 -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} .include "${MASTERDIR}/Makefile" Index: head/java/openjdk7/Makefile =================================================================== --- head/java/openjdk7/Makefile (revision 394507) +++ head/java/openjdk7/Makefile (revision 394508) @@ -1,196 +1,194 @@ # Created by: Greg Lewis # $FreeBSD$ PORTNAME= openjdk PORTVERSION= ${JDK_MAJOR_VERSION}.${PORT_MINOR_VERSION}.${PORT_BUILD_NUMBER} PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= java devel MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}u${JDK_MINOR_VERSION}/promoted/b${JDK_BUILD_NUMBER}/ \ http://download.java.net/jaxp/1.4.5/:jaxp \ http://icedtea.classpath.org/download/drops/:jaxp \ http://download.java.net/glassfish/components/jax-ws/openjdk/jdk7/:jaxws \ http://icedtea.classpath.org/download/drops/:jaxws \ https://java.net/downloads/jax-ws/JDK7/:jaf \ http://icedtea.classpath.org/download/drops/:jaf \ APACHE/ant/binaries/:ant DISTFILES= ${JDK_SRC_DISTFILE}${EXTRACT_SUFX} \ ${ANT_DISTFILE}${EXTRACT_SUFX}:ant EXTRACT_ONLY= ${JDK_SRC_DISTFILE}${EXTRACT_SUFX} \ ${ANT_DISTFILE}${EXTRACT_SUFX} MAINTAINER?= glewis@FreeBSD.org COMMENT?= Java Development Kit 7 LICENSE= GPLv2 WRKSRC= ${WRKDIR}/${PORTNAME} USES= compiler dos2unix iconv gmake zip USE_XORG+= x11 xext xi xrender xt xtst MAKE_ARGS= CC=${CC:Q} CXX=${CXX:Q} HOST_CC=${CC:Q} OPTIONS_DEFINE= POLICY TZUPDATE OPTIONS_DEFAULT= POLICY TZUPDATE DEBUG_DESC= Enable extra debugging info POLICY_DESC= Install the Unlimited Strength Policy Files TZUPDATE_DESC= Update the time zone data JAVAVMS_COMMENT= OpenJDK${JDK_MAJOR_VERSION} .if !defined(BUILD_JRE) OPTIONS_DEFINE+= DEBUG INSTALLDIR= ${PREFIX}/${PORTNAME}${JDK_MAJOR_VERSION} .else JAVAVMS_COMMENT+= JRE INSTALLDIR= ${PREFIX}/${PORTNAME}${JDK_MAJOR_VERSION}-jre .endif PORT_MINOR_VERSION= 80 PORT_BUILD_NUMBER= 15 JDK_MAJOR_VERSION= 7 JDK_MINOR_VERSION= 40 JDK_BUILD_NUMBER= 43 JDK_BUILD_DATE= 26_aug_2013 JDK_SRC_DISTFILE= ${PORTNAME}-${JDK_MAJOR_VERSION}u${JDK_MINOR_VERSION}-fcs-src-b${JDK_BUILD_NUMBER}-${JDK_BUILD_DATE} # Use our own version of ant to avoid circular dependencies ANT_VERSION= 1.9.4 ANT_DISTFILE= apache-ant-${ANT_VERSION}-bin -LATEST_LINK?= openjdk7 - LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ libfreetype.so:${PORTSDIR}/print/freetype2 BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \ ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip \ ${LOCALBASE}/include/cups/cups.h:${PORTSDIR}/print/cups-client RUN_DEPENDS+= javavm:${PORTSDIR}/java/javavmwrapper \ dejavu>0:${PORTSDIR}/x11-fonts/dejavu DOS2UNIX_FILES= jdk/src/share/classes/com/sun/org/apache/xml/internal/security/resource/xmlsecurity_en.properties OPENJDK_OSARCH= bsd-${ARCH:S/i386/i586/} NOPRECIOUSMAKEVARS= yes ONLY_FOR_ARCHS= i386 amd64 _MAKE_JOBS= # MAKE_ENV+= LANG="C" \ LC_ALL="C" \ JAVA_HOME="" \ CLASSPATH="" \ LD_LIBRARY_PATH="" \ MAKEFLAGS="" \ ALT_BOOTDIR="${BOOTSTRAPJDKDIR}" \ ALT_FREETYPE_HEADERS_PATH="${LOCALBASE}/include" \ ALT_FREETYPE_LIB_PATH="${LOCALBASE}/lib" \ ALT_CUPS_HEADERS_PATH="${LOCALBASE}/include" \ ALT_X11_PATH="${LOCALBASE}" \ ALT_PKG_PATH="${LOCALBASE}" \ ALT_PACKAGE_PATH="${LOCALBASE}" \ ANT_HOME="${WRKDIR}/apache-ant-${ANT_VERSION}" \ JAVACMD=${BOOTSTRAPJDKDIR}/bin/java \ X11DIR="${LOCALBASE}" \ LOCALDIR="${LOCALBASE}" \ COMPILER_WARNINGS_FATAL="false" \ NO_DOCS="true" \ SKIP_COMPARE_IMAGES="true" \ SKIP_FASTDEBUG_BUILD="true" \ SKIP_DEBUG_BUILD="true" \ ZIP_DEBUGINFO_FILES=0 \ ENABLE_FULL_DEBUG_SYMBOLS=0 \ PTHREAD_LIBS="-lpthread" \ MILESTONE="fcs" \ JDK_MICRO_VERSION="0_${PORT_MINOR_VERSION}" \ BUILD_NUMBER="b${PORT_BUILD_NUMBER}" MAKE_ENV+= HOTSPOT_BUILD_JOBS=${MAKE_JOBS_NUMBER} BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk7 \ ${LOCALBASE}/openjdk6 \ ${LOCALBASE}/bootstrap-openjdk DEBUG_MAKE_ENV= ALT_OBJCOPY=${NONEXISTENT} POLICY_MAKE_ENV= UNLIMITED_CRYPTO=1 TZUPDATE_RUN_DEPENDS= java-zoneinfo>0:${PORTSDIR}/java/java-zoneinfo .include # do we have valid native jdk installed? .for BJDK in ${BOOTSTRAP_JDKS} . if !defined(BOOTSTRAPJDKDIR) && exists(${BJDK}/bin/javac) BOOTSTRAPJDKDIR= ${BJDK} . endif .endfor # if no valid jdk found, set dependency .if !defined(BOOTSTRAPJDKDIR) BOOTSTRAPJDKDIR?= ${LOCALBASE}/bootstrap-openjdk BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/bootstrap-openjdk .endif .include # GCC is broken with PCH: https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html .if ${COMPILER_TYPE} == gcc MAKE_ENV+= USE_PRECOMPILED_HEADER=0 .endif .if empty(ICONV_LIB) MAKE_ENV+= EXTRA_CFLAGS=-DLIBICONV_PLUG .endif post-patch: @${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \ ${WRKSRC}/hotspot/src/os/bsd/vm/os_bsd.cpp \ ${WRKSRC}/jdk/src/share/classes/sun/print/PSPrinterJob.java .if empty(ICONV_LIB) @${REINPLACE_CMD} 's| -liconv||' \ ${WRKSRC}/Makefile \ ${WRKSRC}/jdk/make/sun/splashscreen/Makefile \ ${WRKSRC}/jdk/make/java/npt/Makefile \ ${WRKSRC}/jdk/make/java/instrument/Makefile .endif .if ${PORT_OPTIONS:MTZUPDATE} pre-install: @# Update time zones .if !defined(BUILD_JRE) @${RM} -rf ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib/zi @${LN} -s -f ${LOCALBASE}/share/java/zi \ ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib .else @${RM} -rf ${WRKSRC}/build/${OPENJDK_OSARCH}/j2re-image/lib/zi @${LN} -s -f ${LOCALBASE}/share/java/zi \ ${WRKSRC}/build/${OPENJDK_OSARCH}/j2re-image/lib .endif .endif do-install: @${MKDIR} ${STAGEDIR}${INSTALLDIR} .if !defined(BUILD_JRE) cd ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image && \ ${PAX} -rw . ${STAGEDIR}${INSTALLDIR} ${INSTALL_DATA} \ ${WRKSRC}/build/${OPENJDK_OSARCH}/btjars/compilefontconfig.jar \ ${WRKSRC}/build/${OPENJDK_OSARCH}/btjars/javazic.jar \ ${STAGEDIR}${INSTALLDIR}/jre/lib/ ${INSTALL_DATA} ${FILESDIR}/cacerts \ ${STAGEDIR}${INSTALLDIR}/jre/lib/security/cacerts .else cd ${WRKSRC}/build/${OPENJDK_OSARCH}/j2re-image && \ ${PAX} -rw . ${STAGEDIR}${INSTALLDIR} ${INSTALL_DATA} ${FILESDIR}/cacerts \ ${STAGEDIR}${INSTALLDIR}/lib/security/cacerts .endif @${ECHO} "@unexec ${LOCALBASE}/bin/unregistervm ${INSTALLDIR}/bin/java" >> ${TMPPLIST} @${FIND} -s ${STAGEDIR}${INSTALLDIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} @${FIND} ${STAGEDIR}${INSTALLDIR} -type d -empty | ${SORT} -r | \ ${SED} -e 's,^${STAGEDIR}${PREFIX}/,@dir ,' >> ${TMPPLIST} @${ECHO} "@exec ${LOCALBASE}/bin/registervm '${INSTALLDIR}/bin/java # ${JAVAVMS_COMMENT}'" >> ${TMPPLIST} .include Index: head/java/openjdk7-jre/Makefile =================================================================== --- head/java/openjdk7-jre/Makefile (revision 394507) +++ head/java/openjdk7-jre/Makefile (revision 394508) @@ -1,13 +1,11 @@ # $FreeBSD$ PKGNAMESUFFIX= -jre MAINTAINER= java@FreeBSD.org COMMENT= Java Runtime Environment ${JDK_MAJOR_VERSION} -LATEST_LINK= openjdk7${PKGNAMESUFFIX} - BUILD_JRE= yes MASTERDIR= ${.CURDIR}/../openjdk7 .include "${MASTERDIR}/Makefile" Index: head/lang/fpc/Makefile =================================================================== --- head/lang/fpc/Makefile (revision 394507) +++ head/lang/fpc/Makefile (revision 394508) @@ -1,160 +1,158 @@ # Created by: John Merryweather Cooper et al # $FreeBSD$ PORTNAME= fpc PORTVERSION= 2.6.4 PORTREVISION?= 0 CATEGORIES?= lang MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://planetmirror.com/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://ftp.jp.freepascal.org/mirror/fpc/dist/${PORTVERSION}/source/:source \ ftp://freepascal.stack.nl/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://ftp.no.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://ftp.us.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \ http://leaf.dragonflybsd.org/~marino/dports-src/:DragonFlybootstrap \ SF/freepascal/Source/${PORTVERSION}:source \ LOCAL/acm/freepascal/:bootstrap \ LOCAL/acm/freepascal/:man DISTFILES= ${DISTNAME}.source.tar.gz:source DIST_SUBDIR= freepascal MAINTAINER?= freebsd-fpc@FreeBSD.org COMMENT?= Free Pascal compiler with Turbo and Delphi PROJECTHOST= bsdistfiles USES= gmake iconv ONLY_FOR_ARCHS= i386 amd64 BOOTVER= 2.6.4 -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options - OPT?=-CX FPCSRCDIR= ${PORTNAME}-${PORTVERSION} .include .if ${ARCH} == "i386" PPNAME= ppc386 FPC_ARCH= i386 PLIST_SUB= FPC_I386="" \ FPC_AMD64="@comment " .elif ${ARCH} == "amd64" PPNAME= ppcx64 FPC_ARCH= x86_64 PLIST_SUB= FPC_I386="@comment " \ FPC_AMD64="" .endif .if ${OPSYS} == FreeBSD PLIST_SUB+= FREEBSD="" .else PLIST_SUB+= FREEBSD="@comment " .endif .if !defined(PKGNAMESUFFIX) SUB_FILES= pkg-message BUILDNAME= ${FPC_ARCH}-${OPSYS:tl} PLIST_SUB+= PORTVERSION=${PORTVERSION} \ BUILDNAME=${BUILDNAME} DISTFILES+= ${BOOTDIR}.tar.gz:${OPSYS:MDragonFly}bootstrap \ ${DISTNAME}.man.tar.gz:man MAKE_ARGS+= FPCMAKE=${WRKDIR}/${FPCSRCDIR}/utils/fpcm/fpcmake \ FPCTARGET=${BUILDNAME} \ ARCH=${FPC_ARCH} \ OPT="${OPT}" \ BSDHIER=1 \ INSTALL_PREFIX=${STAGEDIR}${PREFIX} NEWPPC= PP=${WRKSRC}/compiler/${PPNAME} NEWFPC= FPC=${WRKSRC}/compiler/${PPNAME} BOOTDIR= ${PPNAME}-${BOOTVER}-${OPSYS:tl} BOOTPPC= PP=${WRKDIR}/${BOOTDIR} do-extract: # unpack binary distribution @${MKDIR} ${WRKDIR} @${TAR} -xzf ${_DISTDIR}/${BOOTDIR}.tar.gz \ --directory ${WRKDIR} && ${CHMOD} +x ${WRKDIR}/${BOOTDIR} # unpack man files @${TAR} -xzf ${_DISTDIR}/${DISTNAME}.man.tar.gz --directory ${WRKDIR} # unpack source distribution @(cd ${WRKDIR} && \ ${GZIP_CMD} -dc ${_DISTDIR}/${DISTNAME}.source.tar.gz | \ ${TAR} -xf - \ ${FPCSRCDIR}/compiler \ ${FPCSRCDIR}/rtl \ ${FPCSRCDIR}/utils/fpcmkcfg \ ${FPCSRCDIR}/packages/fcl-base \ ${FPCSRCDIR}/packages/fcl-process \ ${FPCSRCDIR}/utils/fpcm) post-patch: .if ${ARCH} == "i386" @${REINPLACE_CMD} -i "" -e 's|504000|${OSVERSION}|g' \ ${WRKDIR}/${FPCSRCDIR}/rtl/freebsd/${FPC_ARCH}/cprt0.as .elif ${ARCH} == "amd64" . if ${OPSYS} == FreeBSD @${REINPLACE_CMD} -i "" -e 's|700055|${OSVERSION}|g' \ ${WRKDIR}/${FPCSRCDIR}/rtl/freebsd/${FPC_ARCH}/cprt0.as @${REINPLACE_CMD} -i "" -e 's|502110|${OSVERSION}|g' \ ${WRKDIR}/${FPCSRCDIR}/rtl/freebsd/${FPC_ARCH}/gprt0.as @${REINPLACE_CMD} -i "" -e 's|700055|${OSVERSION}|g' \ ${WRKDIR}/${FPCSRCDIR}/rtl/freebsd/${FPC_ARCH}/prt0.as . else @${REINPLACE_CMD} -i "" -e 's|400000|${DFLYVERSION}|g' \ ${WRKSRC}/${FPCSRCDIR}/rtl/dragonfly/${FPC_ARCH}/*.as . endif .endif .if empty(ICONV_LIB) @${REINPLACE_CMD} -e "s|if (s<>'c') or reorder then|if ((s<>'c') and (s<>'iconv')) or reorder then|" \ ${WRKDIR}/${FPCSRCDIR}/compiler/systems/t_bsd.pas @${REINPLACE_CMD} -e 's|defined(bsd) and not ||' \ ${WRKDIR}/${FPCSRCDIR}/rtl/unix/cwstring.pp .endif do-build: # build fpc compiler (cd ${WRKDIR}/${FPCSRCDIR}/compiler && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} cycle ${MAKE_ARGS} ${BOOTPPC}) # build fpcmkcfg (cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcm && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${NEWPPC}) (cd ${WRKDIR}/${FPCSRCDIR}/packages/fcl-base && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${NEWPPC}) (cd ${WRKDIR}/${FPCSRCDIR}/packages/fcl-process && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${NEWPPC}) (cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcmkcfg && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${NEWPPC}) do-install: # Installing fpc compiler (cd ${WRKDIR}/${FPCSRCDIR}/rtl && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} install ${MAKE_ARGS} ${NEWFPC}) # Installing fpc runtime (cd ${WRKDIR}/${FPCSRCDIR}/compiler && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} install ${MAKE_ARGS} ${NEWFPC}) # Installng fpcmkcfg (cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcmkcfg && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} install ${MAKE_ARGS} ${NEWFPC}) # Installng fpcmake ${INSTALL_PROGRAM} ${WRKDIR}/${FPCSRCDIR}/utils/fpcm/fpcmake \ ${STAGEDIR}${PREFIX}/bin # Installing manpages ${INSTALL_MAN} ${WRKDIR}/man/man1/* ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKDIR}/man/man5/* ${STAGEDIR}${MAN1PREFIX}/man/man5 post-install: if [ -e "${STAGEDIR}${PREFIX}/bin/${PPNAME}" ]; then ${RM} -f "${STAGEDIR}${PREFIX}/bin/${PPNAME}"; fi ${LN} -sf "${PREFIX}/lib/fpc/${PORTVERSION}/${PPNAME}" "${STAGEDIR}${PREFIX}/bin" ${SH} "${STAGEDIR}${PREFIX}/lib/fpc/${PORTVERSION}/samplecfg" "${STAGEDIR}${PREFIX}/lib/fpc/${PORTVERSION}" "${STAGEDIR}${PREFIX}/etc" @${REINPLACE_CMD} -i "" -e 's|${STAGEDIR}||' \ -e 's|^-Fl/usr/local/lib|-Fl${LOCALBASE}/lib;${LOCALBASE}/lib/qt4|g' ${STAGEDIR}${PREFIX}/etc/fpc.cfg.sample ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fpc* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mk*ins ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ppu* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/fpc/${PORTVERSION}/ppc* .else .include "${MASTERDIR}/Makefile.units" .endif .include Index: head/lang/fpc-units/Makefile =================================================================== --- head/lang/fpc-units/Makefile (revision 394507) +++ head/lang/fpc-units/Makefile (revision 394508) @@ -1,122 +1,120 @@ # Created by: Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= units PORTVERSION= 2.6.4 PORTREVISION= 5 CATEGORIES= lang PKGNAMEPREFIX= fpc- MAINTAINER= freebsd-fpc@FreeBSD.org COMMENT= Meta port to install Free Pascal units ONLY_FOR_ARCHS= i386 amd64 USES= metaport BUILDNAME= ${ARCH}-freebsd OPTIONS_DEFINE= A52 ASPELL BFD BZIP2 CAIRO CHM DBUS DBLIB DTS FASTCGI FCL-ASYNC FCL-BASE \ FCL-EXTRA FCL-DB FCL-FPCUNIT FCL-IMAGE FCL-JS FCL-JSON FCL-NET FCL-PASSRC \ FCL-PROCESS FCL-REGISTRY FCL-RES FCL-WEB FCL-XML FFTW FPINDEXER \ FPMKUNIT FPPKG FV GDBM GMP GTK2 HERMES ICONVENC \ IMAGEMAGICK LDAP LIBCURL LIBGD LIBPNG LIBVLC LIBXML2 LUA MAD MATROSKA \ MODPLUG NCURSES NEWT NUMLIB OGGVORBIS OPENAL OPENGL OPENSSL PCAP PROJ4 \ PXLIB RSVG REXX SDL SNDFILE SVGALIB SYMBOLIC SYSLOG TCL UNZIP USERS \ UTMP UUID X11 XFORMS ZLIB A52_DESC= Interface to a52 library ASPELL_DESC= Interface to aspell spelling checker BFD_DESC= Interface to GNU Binary Format description BZIP2_DESC= Free Pascal bzip2 unit CAIRO_DESC= Interface to cairo library CHM_DESC= Free Pbscal unit to manipulate chm files DBUS_DESC= Interface to dbus library DBLIB_DESC= Interface to dblib library DTS_DESC= Interface to dts library FASTCGI_DESC= Free Pascal fastcgi unit FCL_ASYNC_DESC= Free Pascal interface to async library FCL_BASE_DESC= Free Pascal Component Library (base) FCL_DB_DESC= Free Pascal Component Library (db) FCL_EXTRA_DESC= Free Pascal Component Library (extra) FCL_FPCUNIT_DESC= Free Pascal Component Library (fpcunit) FCL_IMAGE_DESC= Free Pascal Component Library (image) FCL_JS_DESC= Free Pascal implementation of (js) FCL_JSON_DESC= Free Pascal implementation of (json) FCL_NET_DESC= Free Pascal Component Library (net) FCL_PASSRC_DESC= Free Pascal Component Library (passrc) FCL_PROCESS_DESC= Unit to start and manipulate other programs FCL_REGISTRY_DESC= Free Pascal Component Library (registry) FCL_RES_DESC= Free Pascal Component Library (res) FCL_WEB_DESC= Free Pascal Component Library (web) FCL_XML_DESC= Free Pascal Component Library (xml) FFTW_DESC= Interface to the FFTW3 library FPPKG_DESC= Free Pascal package unit FPMKUNIT_DESC= Free Pascal build system unit FV_DESC= Free Pascal unit for Delphi support GDBM_DESC= Interface to the GNU database system GMP_DESC= Interface to gmp library GTK2_DESC= Interface to gtk2 libraries HERMES_DESC= Free Pascal hermes unit ICONVENC_DESC= Interface to iconv library FPINDEXER_DESC= Database indexer with database/flat file backend IMAGEMAGICK_DESC= Interface to ImageMagick LDAP_DESC= Interface to OpenLDAP LIBCURL_DESC= Interface to curl library LIBGD_DESC= Interface to gd library LIBPNG_DESC= Interface to png library LIBVLC_DESC= Free Pascal vlc unit LIBXML2_DESC= Interface to libxml2 library LUA_DESC= Interface to lua interpreter MAD_DESC= Interface to mad library MATROSKA_DESC= Interface to matroska library MODPLUG_DESC= Interface to modplug library NCURSES_DESC= Interface to ncurses library NEWT_DESC= Interface to newt library NUMLIB_DESC= Free Pascal unit for numerical methods OGGVORBIS_DESC= Interaface to ogg & vorbis libraries OPENAL_DESC= Interface to openal library OPENGL_DESC= Interface to opengl library OPENSSL_DESC= Interface to openssl library PCAP_DESC= Interface to pcap library PROJ4_DESC= Interface to proj library PXLIB_DESC= Unit to read various Paradox file REXX_DESC= Intrface to rexx-regina library RSVG_DESC= Interface to rsvg2 library SDL_DESC= Free Pascal interface to SDL library SNDFILE_DESC= Interface to sndfile library SVGALIB_DESC= Interface to svgalib library SYMBOLIC_DESC= Simple expression parsing and evaluating SYSLOG_DESC= Interface to system logger TCL_DESC= Interface to tcl/tk interpreter UNZIP_DESC= Routines for unzipping zip files USERS_DESC= Interface to manipulate users UTMP_DESC= Gather information from the utmp file UUID_DESC= Free Pascal uuid unit X11_DESC= Interface to X windows server XFORMS_DESC= Interface to X-Forms ZLIB_DESC= Interface to the zlib compression library -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME} - OPTIONS_DEFAULT=A52 ASPELL BFD BZIP2 CAIRO CHM DBUS DBLIB DTS FASTCGI FCL-ASYNC FCL-BASE \ FCL-EXTRA FCL-DB FCL-FPCUNIT FCL-IMAGE FCL-JS FCL-JSON FCL-NET FCL-PASSRC \ FCL-PROCESS FCL-REGISTRY FCL-RES FCL-WEB FCL-XML FFTW FPINDEXER \ FPMKUNIT FPPKG FV GDBM GMP GTK2 HERMES ICONVENC \ IMAGEMAGICK LDAP LIBCURL LIBGD LIBPNG LIBVLC LIBXML2 LUA MAD MATROSKA \ MODPLUG NCURSES NEWT NUMLIB OGGVORBIS OPENAL OPENGL OPENSSL PCAP PROJ4 \ PXLIB RSVG REXX SDL SNDFILE SVGALIB SYMBOLIC SYSLOG TCL UNZIP USERS \ UTMP UUID X11 XFORMS ZLIB .include UNITS_SELECTED= # .for OPT in ${OPTIONS_DEFINE} . if ${PORT_OPTIONS:M${OPT}} UNITS_SELECTED+= ${OPT:tl} . endif .endfor USE_FPC_RUN= yes USE_FPC= ${UNITS_SELECTED} .include Index: head/lang/gcc46/Makefile =================================================================== --- head/lang/gcc46/Makefile (revision 394507) +++ head/lang/gcc46/Makefile (revision 394508) @@ -1,145 +1,144 @@ # Created by: Gerald Pfeifer # $FreeBSD$ PORTNAME= gcc PORTVERSION= 4.6.4 PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= lang java MASTER_SITES= GCC/releases/gcc-${DISTVERSION} PKGNAMESUFFIX= ${SUFFIX} MAINTAINER= gerald@FreeBSD.org COMMENT= GNU Compiler Collection 4.6 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ libmpfr.so:${PORTSDIR}/math/mpfr \ libmpc.so:${PORTSDIR}/math/mpc BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils .if defined(MAINTAINER_MODE) BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu .endif CPE_VENDOR= gnu -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} # DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names # of executables and directories once installed. DISTVERSION= ${PORTVERSION} GCC_VERSION= ${PORTVERSION:C/(.+)\.[0-9]{8}/\1/} SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} ONLY_FOR_ARCHS= amd64 i386 ia64 powerpc sparc64 USES= cpe gmake iconv libtool makeinfo perl5 tar:bzip2 USE_BINUTILS= yes USE_PERL5= build SSP_UNSAFE= yes PATCH_WRKSRC= ${SRCDIR} CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure OPTIONS_DEFINE= BOOTSTRAP OPTIONS_DEFINE_i386= JAVA OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA OPTIONS_EXCLUDE_DragonFly= JAVA BOOTSTRAP_DESC= Build using a full bootstrap .include .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .else CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:tl}${OSREL} .endif LANGUAGES:= c,c++,objc,fortran SRCDIR= ${WRKDIR}/gcc-${DISTVERSION} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \ --libdir=${TARGLIB} \ --libexecdir=${LIBEXEC} \ --program-suffix=${SUFFIX} \ --with-as=${LOCALBASE}/bin/as \ --with-gmp=${LOCALBASE} \ --with-gxx-include-dir=${TARGLIB}/include/c++/ \ --with-ld=${LOCALBASE}/bin/ld \ ${ICONV_CONFIGURE_ARG} \ --with-pkgversion="FreeBSD Ports Collection" \ --with-system-zlib MAKE_ARGS+= MAKEINFOFLAGS="--no-split" USE_LDCONFIG= ${TARGLIB} PLIST_SUB= GCC_VERSION=${GCC_VERSION} \ GNU_HOST=${CONFIGURE_TARGET} \ SUFFIX=${SUFFIX} INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/cppinternals \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ gcc${SUFFIX}/gfortran \ gcc${SUFFIX}/libgomp # Release tarballs (as opposed to snapshots) always carry this. #.if ${ARCH} != "ia64" && ${ARCH} != "powerpc" && ${ARCH} != "sparc64" INFO+= gcc${SUFFIX}/libquadmath #.endif .if ${PORT_OPTIONS:MJAVA} ECJ_JAR= ${LOCALBASE}/share/java/ecj-4.5.jar BUILD_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 \ zip:${PORTSDIR}/archivers/zip RUN_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 EXTRA_PATCHES+= ${FILESDIR}/java-patch-hier CONFIGURE_ARGS+=--with-ecj-jar=${ECJ_JAR} LANGUAGES:= ${LANGUAGES},java INFO+= gcc${SUFFIX}/cp-tools \ gcc${SUFFIX}/gcj PLIST_SUB+= JAVA="" .else CONFIGURE_ARGS+=--disable-libgcj PLIST_SUB+= JAVA="@comment " .endif CONFIGURE_ARGS+=--enable-languages=${LANGUAGES} pre-everything:: @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]" pre-configure: cd ${SRCDIR} ; contrib/gcc_update --touch @${RM} -f ${SRCDIR}/gcc/*/*.info* @${MKDIR} ${CONFIGURE_WRKSRC} .if defined(MAINTAINER_MODE) full-regression-test: build cd ${WRKSRC}; ${MAKE_CMD} -sk check \ ; ${SRCDIR}/contrib/test_summary .endif post-stage: ${RM} -f ${STAGEDIR}${PREFIX}/man/man7/* ${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \ ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1 # Add target libraries and include files to packaging list. ${RM} -f ${WRKDIR}/PLIST.lib .for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \ ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\ fi .endfor cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST} .include Index: head/lang/gcc47/Makefile =================================================================== --- head/lang/gcc47/Makefile (revision 394507) +++ head/lang/gcc47/Makefile (revision 394508) @@ -1,154 +1,153 @@ # Created by: Gerald Pfeifer # $FreeBSD$ PORTNAME= gcc PORTVERSION= 4.7.4 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= lang java MASTER_SITES= GCC/releases/gcc-${DISTVERSION} PKGNAMESUFFIX= ${SUFFIX} MAINTAINER= gerald@FreeBSD.org COMMENT= GNU Compiler Collection 4.7 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ libmpfr.so:${PORTSDIR}/math/mpfr \ libmpc.so:${PORTSDIR}/math/mpc BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils .if defined(MAINTAINER_MODE) BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu .endif CONFLICTS= gcc-4.7.* CPE_VENDOR= gnu -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} # DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names # of executables and directories once installed. DISTVERSION= ${PORTVERSION} GCC_VERSION= ${PORTVERSION:C/(.+)\.[0-9]{8}/\1/} SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 sparc64 USES= cpe gmake iconv libtool makeinfo perl5 tar:bzip2 USE_BINUTILS= yes USE_PERL5= build SSP_UNSAFE= yes PATCH_WRKSRC= ${SRCDIR} CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure OPTIONS_DEFINE= BOOTSTRAP OPTIONS_DEFINE_i386= JAVA OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA OPTIONS_EXCLUDE_DragonFly= JAVA BOOTSTRAP_DESC= Build using a full bootstrap .include .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .else CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:tl}${OSREL} .endif .if ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" .endif LANGUAGES:= c,c++,objc,fortran SRCDIR= ${WRKDIR}/gcc-${DISTVERSION} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \ --enable-gnu-indirect-function \ --libdir=${TARGLIB} \ --libexecdir=${LIBEXEC} \ --program-suffix=${SUFFIX} \ --with-as=${LOCALBASE}/bin/as \ --with-gmp=${LOCALBASE} \ --with-gxx-include-dir=${TARGLIB}/include/c++/ \ --with-ld=${LOCALBASE}/bin/ld \ ${ICONV_CONFIGURE_ARG} \ --with-pkgversion="FreeBSD Ports Collection" \ --with-system-zlib MAKE_ARGS+= MAKEINFOFLAGS="--no-split" USE_LDCONFIG= ${TARGLIB} PLIST_SUB= GCC_VERSION=${GCC_VERSION} \ GNU_HOST=${CONFIGURE_TARGET} \ SUFFIX=${SUFFIX} INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/cppinternals \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ gcc${SUFFIX}/gfortran \ gcc${SUFFIX}/libgomp # Release tarballs (as opposed to snapshots) always carry this. #.if ${ARCH} == "i386" || ${ARCH} == "amd64" INFO+= gcc${SUFFIX}/libquadmath \ gcc${SUFFIX}/libitm #.endif SUB_FILES= pkg-message SUB_LIST+= TARGLIB=${TARGLIB} .if ${PORT_OPTIONS:MJAVA} ECJ_JAR= ${LOCALBASE}/share/java/ecj-4.5.jar BUILD_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 \ zip:${PORTSDIR}/archivers/zip RUN_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 EXTRA_PATCHES+= ${FILESDIR}/java-patch-hier CONFIGURE_ARGS+=--with-ecj-jar=${ECJ_JAR} LANGUAGES:= ${LANGUAGES},java INFO+= gcc${SUFFIX}/cp-tools \ gcc${SUFFIX}/gcj PLIST_SUB+= JAVA="" .else CONFIGURE_ARGS+=--disable-libgcj PLIST_SUB+= JAVA="@comment " .endif CONFIGURE_ARGS+=--enable-languages=${LANGUAGES} pre-everything:: @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]" pre-configure: cd ${SRCDIR} ; contrib/gcc_update --touch @${RM} -f ${SRCDIR}/gcc/*/*.info* @${MKDIR} ${CONFIGURE_WRKSRC} .if defined(MAINTAINER_MODE) full-regression-test: build cd ${WRKSRC}; ${MAKE_CMD} -sk check \ ; ${SRCDIR}/contrib/test_summary .endif post-stage: ${RM} -f ${STAGEDIR}${PREFIX}/man/man7/* ${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \ ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1 # Add target libraries and include files to packaging list. ${RM} -f ${WRKDIR}/PLIST.lib .for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \ ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\ fi .endfor cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST} .include Index: head/lang/gcc48/Makefile =================================================================== --- head/lang/gcc48/Makefile (revision 394507) +++ head/lang/gcc48/Makefile (revision 394508) @@ -1,154 +1,153 @@ # Created by: Gerald Pfeifer # $FreeBSD$ PORTNAME= gcc PORTVERSION= 4.8.5 CATEGORIES= lang java MASTER_SITES= GCC/releases/gcc-${DISTVERSION} PKGNAMESUFFIX= ${SUFFIX} MAINTAINER= gerald@FreeBSD.org COMMENT= GNU Compiler Collection 4.8 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ libmpfr.so:${PORTSDIR}/math/mpfr \ libmpc.so:${PORTSDIR}/math/mpc BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils .if defined(MAINTAINER_MODE) BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu .endif CONFLICTS= gcc-4.8.* CPE_VENDOR= gnu CPE_VERSION= ${GCC_VERSION} -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} # DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names # of executables and directories once installed. DISTVERSION= ${PORTVERSION} GCC_VERSION= ${PORTVERSION:C/(.+)\.[0-9]{8}/\1/} SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 sparc64 USES= cpe gmake iconv libtool makeinfo perl5 tar:bzip2 USE_BINUTILS= yes USE_PERL5= build SSP_UNSAFE= yes PATCH_WRKSRC= ${SRCDIR} CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure OPTIONS_DEFINE= BOOTSTRAP OPTIONS_DEFINE_i386= JAVA OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFAULT= BOOTSTRAP OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA OPTIONS_EXCLUDE_DragonFly= JAVA BOOTSTRAP_DESC= Build using a full bootstrap .include .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .else CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:tl}${OSREL} .endif .if ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" .endif LANGUAGES:= c,c++,objc,fortran SRCDIR= ${WRKDIR}/gcc-${DISTVERSION} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \ --enable-gnu-indirect-function \ --libdir=${TARGLIB} \ --libexecdir=${LIBEXEC} \ --program-suffix=${SUFFIX} \ --with-as=${LOCALBASE}/bin/as \ --with-gmp=${LOCALBASE} \ --with-gxx-include-dir=${TARGLIB}/include/c++/ \ --with-ld=${LOCALBASE}/bin/ld \ ${ICONV_CONFIGURE_ARG} \ --with-pkgversion="FreeBSD Ports Collection" \ --with-system-zlib MAKE_ARGS+= MAKEINFOFLAGS="--no-split" USE_LDCONFIG= ${TARGLIB} PLIST_SUB= GCC_VERSION=${GCC_VERSION} \ GNU_HOST=${CONFIGURE_TARGET} \ SUFFIX=${SUFFIX} INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/cppinternals \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ gcc${SUFFIX}/gfortran \ gcc${SUFFIX}/libgomp # Release tarballs (as opposed to snapshots) always carry this. #.if ${ARCH} == "i386" || ${ARCH} == "amd64" INFO+= gcc${SUFFIX}/libquadmath \ gcc${SUFFIX}/libitm #.endif SUB_FILES= pkg-message SUB_LIST+= TARGLIB=${TARGLIB} .if ${PORT_OPTIONS:MJAVA} ECJ_JAR= ${LOCALBASE}/share/java/ecj-4.5.jar BUILD_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 \ zip:${PORTSDIR}/archivers/zip RUN_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 EXTRA_PATCHES+= ${FILESDIR}/java-patch-hier CONFIGURE_ARGS+=--with-ecj-jar=${ECJ_JAR} LANGUAGES:= ${LANGUAGES},java INFO+= gcc${SUFFIX}/cp-tools \ gcc${SUFFIX}/gcj PLIST_SUB+= JAVA="" .else CONFIGURE_ARGS+=--disable-libgcj PLIST_SUB+= JAVA="@comment " .endif CONFIGURE_ARGS+=--enable-languages=${LANGUAGES} pre-everything:: @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]" pre-configure: cd ${SRCDIR} ; contrib/gcc_update --touch @${RM} -f ${SRCDIR}/gcc/*/*.info* @${MKDIR} ${CONFIGURE_WRKSRC} .if defined(MAINTAINER_MODE) full-regression-test: build cd ${WRKSRC}; ${MAKE_CMD} -sk check \ ; ${SRCDIR}/contrib/test_summary .endif post-stage: ${RM} -f ${STAGEDIR}${PREFIX}/man/man7/* ${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \ ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1 # Add target libraries and include files to packaging list. ${RM} -f ${WRKDIR}/PLIST.lib .for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \ ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\ fi .endfor cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST} .include Index: head/lang/gcc49/Makefile =================================================================== --- head/lang/gcc49/Makefile (revision 394507) +++ head/lang/gcc49/Makefile (revision 394508) @@ -1,169 +1,168 @@ # Created by: Gerald Pfeifer # $FreeBSD$ PORTNAME= gcc PORTVERSION= 4.9.4.s20150805 CATEGORIES= lang java MASTER_SITES= GCC/snapshots/${DISTVERSION} PKGNAMESUFFIX= ${SUFFIX} MAINTAINER= gerald@FreeBSD.org COMMENT= GNU Compiler Collection 4.9 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ libmpfr.so:${PORTSDIR}/math/mpfr \ libmpc.so:${PORTSDIR}/math/mpc BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils .if defined(MAINTAINER_MODE) BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu .endif CPE_VENDOR= gnu CPE_VERSION= ${GCC_VERSION} -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} # DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names # of executables and directories once installed. A PORTVERSION of # 4.Y.2.s20130808 results in values of 4.Y-20130808, 4.Y.2, and 4Y # for these three. DISTVERSION= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.s([0-9]+)/\1-\2/} GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/} SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} ONLY_FOR_ARCHS= amd64 armv6 armv6hf i386 powerpc powerpc64 sparc64 USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:bzip2 USE_BINUTILS= yes USE_PERL5= build SSP_UNSAFE= yes PATCH_WRKSRC= ${SRCDIR} CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure OPTIONS_DEFINE= BOOTSTRAP OPTIONS_DEFINE_i386= JAVA OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFAULT= BOOTSTRAP OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA OPTIONS_EXCLUDE_DragonFly= JAVA BOOTSTRAP_DESC= Build using a full bootstrap .include .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .else CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:tl}${OSREL} .endif .if ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" .endif .if ${ARCH} == "armv6" || ${ARCH} == "armv6hf" # We have to override the sys.mk -O CFLAGS since it breaks libgomp building. CFLAGS:= ${CFLAGS:S/-O/-O2/g} . if ${COMPILER_TYPE} == clang . if empty(PORT_OPTIONS:MBOOTSTRAP) MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512 . else MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 . endif . endif .endif LANGUAGES:= c,c++,objc,fortran SRCDIR= ${WRKDIR}/gcc-${DISTVERSION} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \ --enable-gnu-indirect-function \ --libdir=${TARGLIB} \ --libexecdir=${LIBEXEC} \ --program-suffix=${SUFFIX} \ --with-as=${LOCALBASE}/bin/as \ --with-gmp=${LOCALBASE} \ --with-gxx-include-dir=${TARGLIB}/include/c++/ \ --with-ld=${LOCALBASE}/bin/ld \ ${ICONV_CONFIGURE_ARG} \ --with-pkgversion="FreeBSD Ports Collection" \ --with-system-zlib MAKE_ARGS+= MAKEINFOFLAGS="--no-split" USE_LDCONFIG= ${TARGLIB} PLIST_SUB= GCC_VERSION=${GCC_VERSION} \ GNU_HOST=${CONFIGURE_TARGET} \ SUFFIX=${SUFFIX} INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/cppinternals \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ gcc${SUFFIX}/gfortran \ gcc${SUFFIX}/libgomp .if ${ARCH} == "i386" || ${ARCH} == "amd64" INFO+= gcc${SUFFIX}/libquadmath .endif .if ${ARCH} == "i386" || ${ARCH} == "amd64" || ${ARCH} == "armv6" || ${ARCH} == "armv6hf" INFO+= gcc${SUFFIX}/libitm .endif SUB_FILES= pkg-message SUB_LIST+= TARGLIB=${TARGLIB} .if ${PORT_OPTIONS:MJAVA} ECJ_JAR= ${LOCALBASE}/share/java/ecj-4.5.jar BUILD_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 \ zip:${PORTSDIR}/archivers/zip RUN_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 EXTRA_PATCHES+= ${FILESDIR}/java-patch-hier CONFIGURE_ARGS+=--with-ecj-jar=${ECJ_JAR} LANGUAGES:= ${LANGUAGES},java INFO+= gcc${SUFFIX}/cp-tools \ gcc${SUFFIX}/gcj PLIST_SUB+= JAVA="" .else CONFIGURE_ARGS+=--disable-libgcj PLIST_SUB+= JAVA="@comment " .endif CONFIGURE_ARGS+=--enable-languages=${LANGUAGES} pre-everything:: @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]" pre-configure: cd ${SRCDIR} ; contrib/gcc_update --touch @${RM} -f ${SRCDIR}/gcc/*/*.info* @${MKDIR} ${CONFIGURE_WRKSRC} .if defined(MAINTAINER_MODE) full-regression-test: build cd ${WRKSRC}; ${MAKE_CMD} -sk check \ ; ${SRCDIR}/contrib/test_summary .endif post-stage: ${RM} -f ${STAGEDIR}${PREFIX}/man/man7/* ${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \ ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1 # Add target libraries and include files to packaging list. ${RM} -f ${WRKDIR}/PLIST.lib .for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \ ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\ fi .endfor cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST} .include Index: head/lang/gcc5/Makefile =================================================================== --- head/lang/gcc5/Makefile (revision 394507) +++ head/lang/gcc5/Makefile (revision 394508) @@ -1,166 +1,165 @@ # Created by: Gerald Pfeifer # $FreeBSD$ PORTNAME= gcc PORTVERSION= 5.2.0 PORTREVISION= 1 CATEGORIES= lang java MASTER_SITES= GCC/releases/gcc-${DISTVERSION} PKGNAMESUFFIX= ${SUFFIX} MAINTAINER= gerald@FreeBSD.org COMMENT= GNU Compiler Collection 5 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ libmpfr.so:${PORTSDIR}/math/mpfr \ libmpc.so:${PORTSDIR}/math/mpc BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils .if defined(MAINTAINER_MODE) BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu .endif CPE_VENDOR= gnu CPE_VERSION= ${GCC_VERSION} -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} # DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names # of executables and directories once installed. A PORTVERSION of # Y.2.1.s20140817 results in values of Y-20140817, Y.2.1, and Y # for these three. DISTVERSION= ${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/} GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/} SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 sparc64 arm armv6 armv6hf USES= cpe gmake iconv libtool makeinfo perl5 tar:bzip2 USE_BINUTILS= yes USE_PERL5= build SSP_UNSAFE= yes PATCH_WRKSRC= ${SRCDIR} CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure OPTIONS_DEFINE= BOOTSTRAP OPTIONS_DEFINE_i386= JAVA OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFAULT= BOOTSTRAP OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA OPTIONS_EXCLUDE_DragonFly= JAVA BOOTSTRAP_DESC= Build using a full bootstrap .include .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .else CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:tl}${OSREL} .endif .if ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" .endif .if ${ARCH} == "armv6" || ${ARCH} == "armv6hf" . if ${COMPILER_TYPE} == clang . if empty(PORT_OPTIONS:MBOOTSTRAP) MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512 . else MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 . endif . endif .endif LANGUAGES:= c,c++,objc,fortran SRCDIR= ${WRKDIR}/gcc-${DISTVERSION} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \ --enable-gnu-indirect-function \ --libdir=${TARGLIB} \ --libexecdir=${LIBEXEC} \ --program-suffix=${SUFFIX} \ --with-as=${LOCALBASE}/bin/as \ --with-gmp=${LOCALBASE} \ --with-gxx-include-dir=${TARGLIB}/include/c++/ \ --with-ld=${LOCALBASE}/bin/ld \ ${ICONV_CONFIGURE_ARG} \ --with-pkgversion="FreeBSD Ports Collection" \ --with-system-zlib MAKE_ARGS+= MAKEINFOFLAGS="--no-split" USE_LDCONFIG= ${TARGLIB} PLIST_SUB= GCC_VERSION=${GCC_VERSION} \ GNU_HOST=${CONFIGURE_TARGET} \ SUFFIX=${SUFFIX} INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/cppinternals \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ gcc${SUFFIX}/gfortran \ gcc${SUFFIX}/libgomp # Release tarballs (as opposed to snapshots) always carry this. #.if ${ARCH} == "i386" || ${ARCH} == "amd64" INFO+= gcc${SUFFIX}/libquadmath \ gcc${SUFFIX}/libitm #.endif SUB_FILES= pkg-message SUB_LIST+= TARGLIB=${TARGLIB} .if ${PORT_OPTIONS:MJAVA} ECJ_JAR= ${LOCALBASE}/share/java/ecj-4.5.jar BUILD_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 \ zip:${PORTSDIR}/archivers/zip RUN_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 EXTRA_PATCHES+= ${FILESDIR}/java-patch-hier CONFIGURE_ARGS+=--with-ecj-jar=${ECJ_JAR} LANGUAGES:= ${LANGUAGES},java INFO+= gcc${SUFFIX}/cp-tools \ gcc${SUFFIX}/gcj PLIST_SUB+= JAVA="" .else CONFIGURE_ARGS+=--disable-libgcj PLIST_SUB+= JAVA="@comment " .endif CONFIGURE_ARGS+=--enable-languages=${LANGUAGES} pre-everything:: @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]" pre-configure: cd ${SRCDIR} ; contrib/gcc_update --touch @${RM} -f ${SRCDIR}/gcc/*/*.info* @${MKDIR} ${CONFIGURE_WRKSRC} .if defined(MAINTAINER_MODE) full-regression-test: build cd ${WRKSRC}; ${MAKE_CMD} -sk check \ ; ${SRCDIR}/contrib/test_summary .endif post-stage: ${RM} -f ${STAGEDIR}${PREFIX}/man/man7/* ${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \ ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1 # Add target libraries and include files to packaging list. ${RM} -f ${WRKDIR}/PLIST.lib .for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \ ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\ fi .endfor cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST} .include Index: head/lang/gcc5-devel/Makefile =================================================================== --- head/lang/gcc5-devel/Makefile (revision 394507) +++ head/lang/gcc5-devel/Makefile (revision 394508) @@ -1,164 +1,163 @@ # Created by: Gerald Pfeifer # $FreeBSD$ PORTNAME= gcc PORTVERSION= 5.2.1.s20150804 CATEGORIES= lang java MASTER_SITES= GCC/snapshots/${DISTVERSION} PKGNAMESUFFIX= ${SUFFIX}-devel MAINTAINER= gerald@FreeBSD.org COMMENT= GNU Compiler Collection 5 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ libmpfr.so:${PORTSDIR}/math/mpfr \ libmpc.so:${PORTSDIR}/math/mpc BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils .if defined(MAINTAINER_MODE) BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu .endif CPE_VENDOR= gnu CPE_VERSION= ${GCC_VERSION} -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} # DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names # of executables and directories once installed. A PORTVERSION of # Y.2.1.s20140817 results in values of Y-20140817, Y.2.1, and Y # for these three. DISTVERSION= ${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/} GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/} SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 sparc64 arm armv6 armv6hf USES= cpe gmake iconv libtool makeinfo perl5 tar:bzip2 USE_BINUTILS= yes USE_PERL5= build SSP_UNSAFE= yes PATCH_WRKSRC= ${SRCDIR} CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure OPTIONS_DEFINE= BOOTSTRAP OPTIONS_DEFINE_i386= JAVA OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFAULT= BOOTSTRAP OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA OPTIONS_EXCLUDE_DragonFly= JAVA BOOTSTRAP_DESC= Build using a full bootstrap .include .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .else CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:tl}${OSREL} .endif .if ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" .endif .if ${ARCH} == "armv6" || ${ARCH} == "armv6hf" . if ${COMPILER_TYPE} == clang . if empty(PORT_OPTIONS:MBOOTSTRAP) MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512 . else MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 . endif . endif .endif LANGUAGES:= c,c++,objc,fortran SRCDIR= ${WRKDIR}/gcc-${DISTVERSION} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \ --enable-gnu-indirect-function \ --libdir=${TARGLIB} \ --libexecdir=${LIBEXEC} \ --program-suffix=${SUFFIX} \ --with-as=${LOCALBASE}/bin/as \ --with-gmp=${LOCALBASE} \ --with-gxx-include-dir=${TARGLIB}/include/c++/ \ --with-ld=${LOCALBASE}/bin/ld \ ${ICONV_CONFIGURE_ARG} \ --with-pkgversion="FreeBSD Ports Collection" \ --with-system-zlib MAKE_ARGS+= MAKEINFOFLAGS="--no-split" USE_LDCONFIG= ${TARGLIB} PLIST_SUB= GCC_VERSION=${GCC_VERSION} \ GNU_HOST=${CONFIGURE_TARGET} \ SUFFIX=${SUFFIX} INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/cppinternals \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ gcc${SUFFIX}/gfortran \ gcc${SUFFIX}/libgomp .if ${ARCH} == "i386" || ${ARCH} == "amd64" INFO+= gcc${SUFFIX}/libquadmath \ gcc${SUFFIX}/libitm .endif SUB_FILES= pkg-message SUB_LIST+= TARGLIB=${TARGLIB} .if ${PORT_OPTIONS:MJAVA} ECJ_JAR= ${LOCALBASE}/share/java/ecj-4.5.jar BUILD_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 \ zip:${PORTSDIR}/archivers/zip RUN_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 EXTRA_PATCHES+= ${FILESDIR}/java-patch-hier CONFIGURE_ARGS+=--with-ecj-jar=${ECJ_JAR} LANGUAGES:= ${LANGUAGES},java INFO+= gcc${SUFFIX}/cp-tools \ gcc${SUFFIX}/gcj PLIST_SUB+= JAVA="" .else CONFIGURE_ARGS+=--disable-libgcj PLIST_SUB+= JAVA="@comment " .endif CONFIGURE_ARGS+=--enable-languages=${LANGUAGES} pre-everything:: @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]" pre-configure: cd ${SRCDIR} ; contrib/gcc_update --touch @${RM} -f ${SRCDIR}/gcc/*/*.info* @${MKDIR} ${CONFIGURE_WRKSRC} .if defined(MAINTAINER_MODE) full-regression-test: build cd ${WRKSRC}; ${MAKE_CMD} -sk check \ ; ${SRCDIR}/contrib/test_summary .endif post-stage: ${RM} -f ${STAGEDIR}${PREFIX}/man/man7/* ${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \ ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1 # Add target libraries and include files to packaging list. ${RM} -f ${WRKDIR}/PLIST.lib .for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \ ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\ fi .endfor cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST} .include Index: head/lang/gcc6-devel/Makefile =================================================================== --- head/lang/gcc6-devel/Makefile (revision 394507) +++ head/lang/gcc6-devel/Makefile (revision 394508) @@ -1,164 +1,163 @@ # Created by: Gerald Pfeifer # $FreeBSD$ PORTNAME= gcc PORTVERSION= 6.0.0.s20150809 CATEGORIES= lang java MASTER_SITES= GCC/snapshots/${DISTVERSION} PKGNAMESUFFIX= ${SUFFIX} MAINTAINER= gerald@FreeBSD.org COMMENT= GNU Compiler Collection 6 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ libmpfr.so:${PORTSDIR}/math/mpfr \ libmpc.so:${PORTSDIR}/math/mpc BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils .if defined(MAINTAINER_MODE) BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu .endif CPE_VENDOR= gnu CPE_VERSION= ${GCC_VERSION} -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} # DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names # of executables and directories once installed. A PORTVERSION of # Y.2.1.s20140817 results in values of Y-20140817, Y.2.1, and Y # for these three. DISTVERSION= ${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/} GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/} SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 sparc64 arm armv6 armv6hf USES= cpe gmake iconv libtool makeinfo perl5 tar:bzip2 USE_BINUTILS= yes USE_PERL5= build SSP_UNSAFE= yes PATCH_WRKSRC= ${SRCDIR} CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure OPTIONS_DEFINE= BOOTSTRAP OPTIONS_DEFINE_i386= JAVA OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFAULT= BOOTSTRAP OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA OPTIONS_EXCLUDE_DragonFly= JAVA BOOTSTRAP_DESC= Build using a full bootstrap .include .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .else CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:tl}${OSREL} .endif .if ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" .endif .if ${ARCH} == "armv6" || ${ARCH} == "armv6hf" . if ${COMPILER_TYPE} == clang . if empty(PORT_OPTIONS:MBOOTSTRAP) MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512 . else MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 . endif . endif .endif LANGUAGES:= c,c++,objc,fortran SRCDIR= ${WRKDIR}/gcc-${DISTVERSION} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \ --enable-gnu-indirect-function \ --libdir=${TARGLIB} \ --libexecdir=${LIBEXEC} \ --program-suffix=${SUFFIX} \ --with-as=${LOCALBASE}/bin/as \ --with-gmp=${LOCALBASE} \ --with-gxx-include-dir=${TARGLIB}/include/c++/ \ --with-ld=${LOCALBASE}/bin/ld \ ${ICONV_CONFIGURE_ARG} \ --with-pkgversion="FreeBSD Ports Collection" \ --with-system-zlib MAKE_ARGS+= MAKEINFOFLAGS="--no-split" USE_LDCONFIG= ${TARGLIB} PLIST_SUB= GCC_VERSION=${GCC_VERSION} \ GNU_HOST=${CONFIGURE_TARGET} \ SUFFIX=${SUFFIX} INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/cppinternals \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ gcc${SUFFIX}/gfortran \ gcc${SUFFIX}/libgomp .if ${ARCH} == "i386" || ${ARCH} == "amd64" INFO+= gcc${SUFFIX}/libquadmath \ gcc${SUFFIX}/libitm .endif SUB_FILES= pkg-message SUB_LIST+= TARGLIB=${TARGLIB} .if ${PORT_OPTIONS:MJAVA} ECJ_JAR= ${LOCALBASE}/share/java/ecj-4.5.jar BUILD_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 \ zip:${PORTSDIR}/archivers/zip RUN_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 EXTRA_PATCHES+= ${FILESDIR}/java-patch-hier CONFIGURE_ARGS+=--with-ecj-jar=${ECJ_JAR} LANGUAGES:= ${LANGUAGES},java INFO+= gcc${SUFFIX}/cp-tools \ gcc${SUFFIX}/gcj PLIST_SUB+= JAVA="" .else CONFIGURE_ARGS+=--disable-libgcj PLIST_SUB+= JAVA="@comment " .endif CONFIGURE_ARGS+=--enable-languages=${LANGUAGES} pre-everything:: @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]" pre-configure: cd ${SRCDIR} ; contrib/gcc_update --touch @${RM} -f ${SRCDIR}/gcc/*/*.info* @${MKDIR} ${CONFIGURE_WRKSRC} .if defined(MAINTAINER_MODE) full-regression-test: build cd ${WRKSRC}; ${MAKE_CMD} -sk check \ ; ${SRCDIR}/contrib/test_summary .endif post-stage: ${RM} -f ${STAGEDIR}${PREFIX}/man/man7/* ${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \ ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1 # Add target libraries and include files to packaging list. ${RM} -f ${WRKDIR}/PLIST.lib .for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \ ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\ fi .endfor cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST} .include Index: head/lang/php5/Makefile =================================================================== --- head/lang/php5/Makefile (revision 394507) +++ head/lang/php5/Makefile (revision 394508) @@ -1,210 +1,208 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= php5 PORTVERSION= 5.4.44 PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${PORTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= PHP Scripting Language LICENSE= PHP301 -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} - USES= tar:bzip2 cpe CPE_PRODUCT= php NO_OPTIONS_SORT=yes .if !defined(PKGNAMESUFFIX) USE_AUTOTOOLS= autoconf LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre CONFIGURE_ARGS+=--with-layout=GNU \ --localstatedir=/var \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --disable-all \ --enable-libxml \ --enable-mysqlnd \ --with-libxml-dir=${LOCALBASE} \ --with-pcre-regex=${LOCALBASE} \ --with-zlib-dir=/usr \ --program-prefix="" USE_GNOME= libxml2 OPTIONS_DEFINE+=CLI CGI FPM EMBED DEBUG DTRACE IPV6 MAILHEAD LINKTHR ZTS OPTIONS_DEFAULT=CLI CGI FPM IPV6 LINKTHR # Bug 197128: No ASM code for MIPS/MIPS64, disable FPM OPTIONS_EXCLUDE_mips=FPM OPTIONS_EXCLUDE_mips64=FPM OPTIONS_SUB= yes CLI_DESC= Build CLI version CGI_DESC= Build CGI version FPM_DESC= Build FPM version EMBED_DESC= Build embedded library DEBUG_DESC= Enable debug DTRACE_DESC= Enable DTrace support IPV6_DESC= Enable ipv6 support MAILHEAD_DESC= Enable mail header patch LINKTHR_DESC= Link thread lib (for threaded extensions) ZTS_DESC= Force Zend Thread Safety (ZTS) build CONFLICTS= php53-5* php55-5* php56-5* DESTDIRNAME= INSTALL_ROOT .include PATCH_DIST_STRIP= -p1 PATCH_SITES+= LOCAL/ale .if ${PORT_OPTIONS:MMAILHEAD} PATCHFILES+= php-5.4.x-mail-header.patch:mail PATCH_SITES+= http://choon.net/opensource/php/:mail .endif .if ${PORT_OPTIONS:MCLI} PHP_SAPI+= cli .else CONFIGURE_ARGS+=--disable-cli .endif .if ${PORT_OPTIONS:MCGI} PHP_SAPI+= cgi .else CONFIGURE_ARGS+=--disable-cgi .endif .if ${PORT_OPTIONS:MFPM} PHP_SAPI+= fpm USE_RC_SUBR+= php-fpm CONFIGURE_ARGS+=--enable-fpm \ --with-fpm-user=${WWWOWN} \ --with-fpm-group=${WWWGRP} .endif .if defined(OPTIONS_FILE_SET) && ${OPTIONS_FILE_SET:MAPACHE} IGNORE= doesn't install the Apache module anymore:\ update your OPTIONS and build www/mod_php5 port instead .endif .if defined(PKGNAMEPREFIX) USE_PHP= yes PHP_DEFAULT= 5.4 IGNORE_WITH_PHP=53 55 USE_APACHE= 22+ .include "${PORTSDIR}/Mk/bsd.apache.mk" .if ${PORT_OPTIONS:MAP2FILTER} CONFIGURE_ARGS+=--with-apxs2filter=${APXS} .else CONFIGURE_ARGS+=--with-apxs2=${APXS} .endif PLIST= ${PKGDIR}/pkg-plist.mod PKGMESSAGE= ${PKGDIR}/pkg-message.mod MODULENAME= libphp5 SHORTMODNAME= php5 WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" .endif .if ${PORT_OPTIONS:MEMBED} PHP_SAPI+= embed CONFIGURE_ARGS+=--enable-embed .endif .if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED} PLIST_SUB+= SAPI_INC="" .else PLIST_SUB+= SAPI_INC="@comment " .endif .if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php" CONFIGURE_ARGS+=--with-regex=php .elif defined(WITH_REGEX_TYPE) && ${WITH_REGEX_TYPE} == "system" CONFIGURE_ARGS+=--with-regex=system .endif .if !defined(WITH_ZEND_VM) || ${WITH_ZEND_VM} == "CALL" CONFIGURE_ARGS+=--with-zend-vm=CALL .elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "SWITCH" CONFIGURE_ARGS+=--with-zend-vm=SWITCH .elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "GOTO" CONFIGURE_ARGS+=--with-zend-vm=GOTO .endif CONFIGURE_ENV+= ac_cv_pthreads_lib="" \ ac_cv_pthreads_cflags="" \ ac_cv_decimal_fp_supported="no" \ pthreads_working="yes" \ lt_cv_path_SED="sed" .if ${PORT_OPTIONS:MLINKTHR} LIBS+= -lpthread .endif .if ${PORT_OPTIONS:MZTS} CONFIGURE_ARGS+=--enable-maintainer-zts .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug .endif .if ${PORT_OPTIONS:MDTRACE} .if ${OSVERSION} < 900000 IGNORE= cannot be built with DTrace support on FreeBSD < 9.x .endif CONFIGURE_ARGS+=--enable-dtrace PLIST_SUB+= DTRACE="" .else PLIST_SUB+= DTRACE="@comment " .endif .if empty(PORT_OPTIONS:MIPV6) CONFIGURE_ARGS+=--disable-ipv6 .endif post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* .if ${PORT_OPTIONS:MFPM} @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ ${WRKSRC}/sapi/fpm/php-fpm.conf.in .endif # Work around issues with newer (>=2.64) autoconf pre-configure: @${REINPLACE_CMD} -E 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \ ${WRKSRC}/configure.in `${FIND} ${WRKSRC} -name '*.m4'` @${RM} ${WRKSRC}/configure @${CAT} ${WRKSRC}/acinclude.m4 ${WRKSRC}/build/libtool.m4 > ${WRKSRC}/aclocal.m4 .if !defined(PKGNAMEPREFIX) post-build: @${ECHO_CMD} "PHP_VER=5" > ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_EXT_INC=pcre spl" >> ${WRKDIR}/php.conf test: build @(cd ${WRKSRC} && ${MAKE} test) post-install: @${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc .else do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${INSTALL_LIB} ${WRKSRC}/libs/${MODULENAME}.so \ ${STAGEDIR}${PREFIX}/${APACHEMODDIR} .endif .else .include "${MASTERDIR}/Makefile.ext" .endif .include Index: head/lang/php55/Makefile =================================================================== --- head/lang/php55/Makefile (revision 394507) +++ head/lang/php55/Makefile (revision 394508) @@ -1,210 +1,208 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= php55 PORTVERSION= 5.5.28 PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${PORTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= PHP Scripting Language LICENSE= PHP301 -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} - USES= tar:bzip2 cpe CPE_PRODUCT= php NO_OPTIONS_SORT=yes .if !defined(PKGNAMESUFFIX) USE_AUTOTOOLS= autoconf LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre CONFIGURE_ARGS+=--with-layout=GNU \ --localstatedir=/var \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --disable-all \ --enable-libxml \ --enable-mysqlnd \ --with-libxml-dir=${LOCALBASE} \ --with-pcre-regex=${LOCALBASE} \ --with-zlib-dir=/usr \ --program-prefix="" USE_GNOME= libxml2 OPTIONS_DEFINE+=CLI CGI FPM EMBED DEBUG DTRACE IPV6 MAILHEAD LINKTHR ZTS OPTIONS_DEFAULT=CLI CGI FPM IPV6 LINKTHR # Bug 197128: No ASM code for MIPS/MIPS64, disable FPM OPTIONS_EXCLUDE_mips=FPM OPTIONS_EXCLUDE_mips64=FPM OPTIONS_SUB= yes CLI_DESC= Build CLI version CGI_DESC= Build CGI version FPM_DESC= Build FPM version EMBED_DESC= Build embedded library DEBUG_DESC= Enable debug DTRACE_DESC= Enable DTrace support IPV6_DESC= Enable ipv6 support MAILHEAD_DESC= Enable mail header patch LINKTHR_DESC= Link thread lib (for threaded extensions) ZTS_DESC= Force Zend Thread Safety (ZTS) build CONFLICTS= php53-5* php54-5* php56-5* php5-5* DESTDIRNAME= INSTALL_ROOT .include PATCH_DIST_STRIP= -p1 PATCH_SITES+= LOCAL/ale .if ${PORT_OPTIONS:MMAILHEAD} PATCHFILES+= php-5.5.x-mail-header.patch:mail PATCH_SITES+= http://choon.net/opensource/php/:mail .endif .if ${PORT_OPTIONS:MCLI} PHP_SAPI+= cli .else CONFIGURE_ARGS+=--disable-cli .endif .if ${PORT_OPTIONS:MCGI} PHP_SAPI+= cgi .else CONFIGURE_ARGS+=--disable-cgi .endif .if ${PORT_OPTIONS:MFPM} PHP_SAPI+= fpm USE_RC_SUBR+= php-fpm CONFIGURE_ARGS+=--enable-fpm \ --with-fpm-user=${WWWOWN} \ --with-fpm-group=${WWWGRP} .endif .if defined(OPTIONS_FILE_SET) && ${OPTIONS_FILE_SET:MAPACHE} IGNORE= doesn't install the Apache module anymore:\ update your OPTIONS and build www/mod_php55 port instead .endif .if defined(PKGNAMEPREFIX) USE_PHP= yes PHP_DEFAULT= 5.5 IGNORE_WITH_PHP=53 54 5 USE_APACHE= 22+ .include "${PORTSDIR}/Mk/bsd.apache.mk" .if ${PORT_OPTIONS:MAP2FILTER} CONFIGURE_ARGS+=--with-apxs2filter=${APXS} .else CONFIGURE_ARGS+=--with-apxs2=${APXS} .endif PLIST= ${PKGDIR}/pkg-plist.mod PKGMESSAGE= ${PKGDIR}/pkg-message.mod MODULENAME= libphp5 SHORTMODNAME= php5 WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" .endif .if ${PORT_OPTIONS:MEMBED} PHP_SAPI+= embed CONFIGURE_ARGS+=--enable-embed .endif .if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED} PLIST_SUB+= SAPI_INC="" .else PLIST_SUB+= SAPI_INC="@comment " .endif .if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php" CONFIGURE_ARGS+=--with-regex=php .elif defined(WITH_REGEX_TYPE) && ${WITH_REGEX_TYPE} == "system" CONFIGURE_ARGS+=--with-regex=system .endif .if !defined(WITH_ZEND_VM) || ${WITH_ZEND_VM} == "CALL" CONFIGURE_ARGS+=--with-zend-vm=CALL .elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "SWITCH" CONFIGURE_ARGS+=--with-zend-vm=SWITCH .elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "GOTO" CONFIGURE_ARGS+=--with-zend-vm=GOTO .endif CONFIGURE_ENV+= ac_cv_pthreads_lib="" \ ac_cv_pthreads_cflags="" \ ac_cv_decimal_fp_supported="no" \ pthreads_working="yes" \ lt_cv_path_SED="sed" .if ${PORT_OPTIONS:MLINKTHR} LIBS+= -lpthread .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug .endif .if ${PORT_OPTIONS:MZTS} CONFIGURE_ARGS+=--enable-maintainer-zts .endif .if ${PORT_OPTIONS:MDTRACE} .if ${OSVERSION} < 900000 IGNORE= cannot be built with DTrace support on FreeBSD < 9.x .endif CONFIGURE_ARGS+=--enable-dtrace PLIST_SUB+= DTRACE="" .else PLIST_SUB+= DTRACE="@comment " .endif .if empty(PORT_OPTIONS:MIPV6) CONFIGURE_ARGS+=--disable-ipv6 .endif post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* .if ${PORT_OPTIONS:MFPM} @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ ${WRKSRC}/sapi/fpm/php-fpm.conf.in .endif # Work around issues with newer (>=2.64) autoconf pre-configure: @${REINPLACE_CMD} -E 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \ ${WRKSRC}/configure.in `${FIND} ${WRKSRC} -name '*.m4'` @${RM} ${WRKSRC}/configure @${CAT} ${WRKSRC}/acinclude.m4 ${WRKSRC}/build/libtool.m4 > ${WRKSRC}/aclocal.m4 .if !defined(PKGNAMEPREFIX) post-build: @${ECHO_CMD} "PHP_VER=55" > ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_EXT_INC=pcre spl" >> ${WRKDIR}/php.conf test: build @(cd ${WRKSRC} && ${MAKE} test) post-install: @${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc .else do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${INSTALL_LIB} ${WRKSRC}/libs/${MODULENAME}.so \ ${STAGEDIR}${PREFIX}/${APACHEMODDIR} .endif .else .include "${MASTERDIR}/Makefile.ext" .endif .include Index: head/lang/php56/Makefile =================================================================== --- head/lang/php56/Makefile (revision 394507) +++ head/lang/php56/Makefile (revision 394508) @@ -1,213 +1,211 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= php56 PORTVERSION= 5.6.12 PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${PORTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= PHP Scripting Language LICENSE= PHP301 -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} - USES= tar:bzip2 cpe CPE_PRODUCT= php NO_OPTIONS_SORT=yes .if !defined(PKGNAMESUFFIX) USE_AUTOTOOLS= autoconf LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre CONFIGURE_ARGS+=--with-layout=GNU \ --localstatedir=/var \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --disable-all \ --enable-libxml \ --enable-mysqlnd \ --with-libxml-dir=${LOCALBASE} \ --with-pcre-regex=${LOCALBASE} \ --with-zlib-dir=/usr \ --program-prefix="" USE_GNOME= libxml2 OPTIONS_DEFINE+=CLI CGI FPM EMBED PHPDBG DEBUG DTRACE IPV6 MAILHEAD LINKTHR ZTS OPTIONS_DEFAULT=CLI CGI FPM IPV6 LINKTHR # Bug 197128: No ASM code for MIPS/MIPS64, disable FPM OPTIONS_EXCLUDE_mips=FPM OPTIONS_EXCLUDE_mips64=FPM OPTIONS_SUB= yes CLI_DESC= Build CLI version CGI_DESC= Build CGI version FPM_DESC= Build FPM version EMBED_DESC= Build embedded library DEBUG_DESC= Enable debug DTRACE_DESC= Enable DTrace support IPV6_DESC= Enable ipv6 support MAILHEAD_DESC= Enable mail header patch LINKTHR_DESC= Link thread lib (for threaded extensions) ZTS_DESC= Force Zend Thread Safety (ZTS) build CONFLICTS= php53-5* php54-5* php55-5* php5-5* DESTDIRNAME= INSTALL_ROOT .include PATCH_DIST_STRIP= -p1 PATCH_SITES+= LOCAL/ale .if ${PORT_OPTIONS:MMAILHEAD} PATCHFILES+= php-5.5.x-mail-header.patch:mail PATCH_SITES+= http://choon.net/opensource/php/:mail .endif .if ${PORT_OPTIONS:MCLI} PHP_SAPI+= cli .else CONFIGURE_ARGS+=--disable-cli .endif .if ${PORT_OPTIONS:MCGI} PHP_SAPI+= cgi .else CONFIGURE_ARGS+=--disable-cgi .endif .if ${PORT_OPTIONS:MFPM} PHP_SAPI+= fpm USE_RC_SUBR+= php-fpm CONFIGURE_ARGS+=--enable-fpm \ --with-fpm-user=${WWWOWN} \ --with-fpm-group=${WWWGRP} .endif .if defined(PKGNAMEPREFIX) USE_PHP= yes PHP_DEFAULT= 5.6 IGNORE_WITH_PHP=53 54 5 USE_APACHE= 22+ .include "${PORTSDIR}/Mk/bsd.apache.mk" .if ${PORT_OPTIONS:MAP2FILTER} CONFIGURE_ARGS+=--with-apxs2filter=${APXS} .else CONFIGURE_ARGS+=--with-apxs2=${APXS} .endif PLIST= ${PKGDIR}/pkg-plist.mod PKGMESSAGE= ${PKGDIR}/pkg-message.mod MODULENAME= libphp5 SHORTMODNAME= php5 WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" .endif .if ${PORT_OPTIONS:MEMBED} PHP_SAPI+= embed CONFIGURE_ARGS+=--enable-embed .endif .if ${PORT_OPTIONS:MPHPDBG} PHP_SAPI+= phpdbg CONFIGURE_ARGS+=--enable-phpdbg .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-phpdbg-debug .endif .endif .if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED} PLIST_SUB+= SAPI_INC="" .else PLIST_SUB+= SAPI_INC="@comment " .endif .if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php" CONFIGURE_ARGS+=--with-regex=php .elif defined(WITH_REGEX_TYPE) && ${WITH_REGEX_TYPE} == "system" CONFIGURE_ARGS+=--with-regex=system .endif .if !defined(WITH_ZEND_VM) || ${WITH_ZEND_VM} == "CALL" CONFIGURE_ARGS+=--with-zend-vm=CALL .elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "SWITCH" CONFIGURE_ARGS+=--with-zend-vm=SWITCH .elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "GOTO" CONFIGURE_ARGS+=--with-zend-vm=GOTO .endif CONFIGURE_ENV+= ac_cv_pthreads_lib="" \ ac_cv_pthreads_cflags="" \ ac_cv_decimal_fp_supported="no" \ pthreads_working="yes" \ lt_cv_path_SED="sed" .if ${PORT_OPTIONS:MLINKTHR} LIBS+= -lpthread .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug .endif .if ${PORT_OPTIONS:MZTS} CONFIGURE_ARGS+=--enable-maintainer-zts .endif .if ${PORT_OPTIONS:MDTRACE} .if ${OSVERSION} < 900000 IGNORE= cannot be built with DTrace support on FreeBSD < 9.x .endif CONFIGURE_ARGS+=--enable-dtrace PLIST_SUB+= DTRACE="" .else PLIST_SUB+= DTRACE="@comment " .endif .if empty(PORT_OPTIONS:MIPV6) CONFIGURE_ARGS+=--disable-ipv6 .endif post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* .if ${PORT_OPTIONS:MFPM} @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ ${WRKSRC}/sapi/fpm/php-fpm.conf.in .endif # Work around issues with newer (>=2.64) autoconf pre-configure: @${REINPLACE_CMD} -E 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \ ${WRKSRC}/configure.in `${FIND} ${WRKSRC} -name '*.m4'` @${RM} ${WRKSRC}/configure @${CAT} ${WRKSRC}/acinclude.m4 ${WRKSRC}/build/libtool.m4 > ${WRKSRC}/aclocal.m4 .if !defined(PKGNAMEPREFIX) post-build: @${ECHO_CMD} "PHP_VER=56" > ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_EXT_INC=pcre spl" >> ${WRKDIR}/php.conf test: build @(cd ${WRKSRC} && ${MAKE} test) post-install: @${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc .else do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${INSTALL_LIB} ${WRKSRC}/libs/${MODULENAME}.so \ ${STAGEDIR}${PREFIX}/${APACHEMODDIR} .endif .else .include "${MASTERDIR}/Makefile.ext" .endif .include Index: head/lang/py-mx-base/Makefile =================================================================== --- head/lang/py-mx-base/Makefile (revision 394507) +++ head/lang/py-mx-base/Makefile (revision 394508) @@ -1,72 +1,71 @@ # Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= mx-base PORTVERSION= 3.2.8 CATEGORIES= lang python MASTER_SITES= http://downloads.egenix.com/python/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= egenix-${PORTNAME}-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= eGenix mx-Extension Series for Python LICENSE= EGENIX LICENSE_NAME= EGENIX.COM Public License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= python:2 USE_PYTHON= distutils PYDISTUTILS_PKGNAME= egenix-mx-base PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-py${PYTHON_VER}-nspkg.pth -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options OPTIONS_DEFINE= DOCS ZOPE EXAMPLES ZOPE_USES= zope TXTDOCS= COPYRIGHT MANIFEST README LICENSE PKG-INFO PDFDOCS= mx/DateTime/Doc/mxDateTime.pdf \ mx/Proxy/Doc/mxProxy.pdf \ mx/Queue/Doc/mxQueue.pdf \ mx/Stack/Doc/mxStack.pdf \ mx/TextTools/Doc/mxTextTools.pdf \ mx/Tools/Doc/mxTools.pdf \ mx/BeeBase/Doc/mxBeeBase.pdf \ mx/URL/Doc/mxURL.pdf \ mx/UID/Doc/mxUID.pdf PORTDOCS= * PORTEXAMPLES= * post-patch: @${REINPLACE_CMD} -e '/pdf/d' ${WRKSRC}/egenix_mx_base.py @${REINPLACE_CMD} -e '/Examples/d' ${WRKSRC}/egenix_mx_base.py post-stage: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mx/DateTime/mxDateTime/mxDateTime.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mx/BeeBase/mxBeeBase/mxBeeBase.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mx/Proxy/mxProxy/mxProxy.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mx/UID/mxUID/mxUID.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mx/Stack/mxStack/mxStack.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mx/URL/mxURL/mxURL.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mx/TextTools/mxTextTools/mxTextTools.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mx/Tools/mxTools/mxTools.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mx/Queue/mxQueue/mxQueue.so post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${TXTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PDFDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} @${SED} -e "s;%%PYTHON_SITELIBDIR%%;${PYTHON_SITELIBDIR};g" \ < ${FILESDIR}/index.html.in > ${STAGEDIR}${DOCSDIR}/index.html @${CHMOD} 644 ${STAGEDIR}${DOCSDIR}/index.html @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/mx/DateTime ${INSTALL_DATA} ${WRKSRC}/mx/DateTime/Examples/* ${STAGEDIR}${EXAMPLESDIR}/mx/DateTime @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/mx/TextTools ${INSTALL_DATA} ${WRKSRC}/mx/TextTools/Examples/* ${STAGEDIR}${EXAMPLESDIR}/mx/TextTools @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/mx/Tools ${INSTALL_DATA} ${WRKSRC}/mx/Tools/Examples/* ${STAGEDIR}${EXAMPLESDIR}/mx/Tools .include Index: head/lang/ruby20/Makefile =================================================================== --- head/lang/ruby20/Makefile (revision 394507) +++ head/lang/ruby20/Makefile (revision 394508) @@ -1,251 +1,249 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= ruby PORTVERSION= ${RUBY_PORTVERSION} PORTREVISION= ${RUBY_PORTREVISION} PORTEPOCH= ${RUBY_PORTEPOCH} CATEGORIES= lang ruby ipv6 MASTER_SITES= RUBY/${MASTER_SITE_SUBDIR_RUBY} DISTNAME= ${RUBY_DISTNAME} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT?= Object-oriented interpreted scripting language LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual LIB_DEPENDS= libyaml.so:${PORTSDIR}/textproc/libyaml # Using LIB_DEPENDS finds the libffi from gcc which causes problems BUILD_DEPENDS= libffi>=0:${PORTSDIR}/devel/libffi RUN_DEPENDS= libffi>=0:${PORTSDIR}/devel/libffi GNU_CONFIGURE= yes WRKSRC= ${RUBY_WRKSRC} CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ --enable-shared \ --enable-pthread \ --disable-rpath \ --with-ruby-version=minor \ --with-sitedir="${PREFIX}/lib/ruby/site_ruby" \ --with-vendordir="${PREFIX}/lib/ruby/vendor_ruby" USE_OPENSSL= yes USE_LDCONFIG= yes USE_AUTOTOOLS= autoconf CONFIGURE_ENV+= LC_ALL=C MAKE_ENV+= LC_ALL=C WRKSRC= ${WRKDIR}/${PORTNAME}-${RUBY_DISTVERSION} RUBY_VER= 2.0 USE_RUBY= yes RUBY_NO_BUILD_DEPENDS= yes RUBY_NO_RUN_DEPENDS= yes -NO_LATEST_LINK= yes - OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES RDOC OPTIONS_DEFAULT= RDOC LIBEDIT OPTIONS_SINGLE= EDIT OPTIONS_SINGLE_EDIT= LIBEDIT READLINE OPTIONS_SUB= yes CAPIDOCS_DESC= Build and install C API documents RDOC_DESC= Build and install Rdoc indexes EDIT_DESC= Which line editing lib to use LIBEDIT_DESC= Use libedit READLINE_DESC= Use libreadline CAPIDOCS_BUILD_DEPENDS= doxygen>0:${PORTSDIR}/devel/doxygen \ dot:${PORTSDIR}/graphics/graphviz CAPIDOCS_CONFIGURE_OFF= --disable-install-capi RDOC_CONFIGURE_OFF= --disable-install-rdoc USES= execinfo cpe tar:bzip2 CPE_VENDOR= ruby-lang CPE_VERSION= ${RUBY_RELVERSION} CPE_UPDATE= p${RUBY_PATCHLEVEL} .include # PORTEPOCH/PORTREVISION hack .if ${PORTEPOCH} != 0 _SUF2= ,${PORTEPOCH} .endif .if ${PORTREVISION} != 0 _SUF1= _${PORTREVISION} .endif CPPFLAGS+= -I${LOCALBASE}/include # Keep this, else ruby will fail to load libraries dependent op libpthread. LIBS+= -lpthread -L${LOCALBASE}/lib .if ${OPSYS} == "FreeBSD" .if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032) && (${ARCH} == "amd64" || ${ARCH} == "i386") CONFIGURE_ARGS+= --enable-dtrace .else CONFIGURE_ARGS+= --disable-dtrace .endif .endif .if ${ARCH} == "armv6" || ${ARCH} == "armv6hf" CONFIGURE_ARGS+= --with-setjmp-type=_setjmp .endif CONFIGURE_ENV= debugflags= .if ${PORT_OPTIONS:MCAPIDOCS} MAKE_JOBS_UNSAFE= yes .endif .if ${PORT_OPTIONS:MLIBEDIT} BUILD_DEPENDS+= libedit>=0:${PORTSDIR}/devel/libedit RUN_DEPENDS+= libedit>=0:${PORTSDIR}/devel/libedit CONFIGURE_ARGS+= --enable-libedit --with-libedit-prefix=${LOCALBASE} .endif .if ${PORT_OPTIONS:MREADLINE} BUILD_DEPENDS+= readline>=0:${PORTSDIR}/devel/readline RUN_DEPENDS+= readline>=0:${PORTSDIR}/devel/readline CONFIGURE_ARGS+= --disable-libedit --with-readline-prefix=${LOCALBASE} .endif .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} MLINKS= ${RUBY_NAME}.1 ruby.1 PLIST_SUB+= IF_DEFAULT="" .else PKGNAMESUFFIX= ${RUBY_VER:C/\.//} PLIST_SUB+= IF_DEFAULT="@comment " .endif INSTALLED_SCRIPTS= irb erb rdoc ri ruby testrb EXTSAMPLES= bigdecimal/sample/*.rb \ curses/hello.rb \ curses/rain.rb \ curses/view.rb \ curses/view2.rb EXTDOCS= readline/README* \ ripper/README \ stringio/README \ syslog/syslog.txt # Macros to change variables in rbconfig.rb RB_SET_CONF_VAR=${SH} -c '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$1\4," ${WRKSRC}/rbconfig.rb' -- post-patch: @${REINPLACE_CMD} -E \ -e 's,-l$$pthread_lib,-lpthread,g' \ -e '/^RUBY_LIB_PATH/s,\.\$$\{TEENY\},,' \ -e '/^RUBY_SITE_LIB_PATH2/s,\.\$$\{TEENY\},,' \ -e '/^RUBY_VENDOR_LIB_PATH2/s,\.\$$\{TEENY\},,' \ ${WRKSRC}/configure # # Eliminate all leftovers # @${FIND} ${WRKSRC}/ -name "*.orig" -delete # # Remove modules we don't want # .for d in win32ole ${RM} -rf ${BUILD_WRKSRC}/ext/${d} .endfor # We get rake from ports. .for d in bin/rake doc/rake lib/rake test/rake man/rake.1 lib/rake.rb ${RM} -rf ${BUILD_WRKSRC}/${d} .endfor # We get the gem executable from ports. ${RM} ${BUILD_WRKSRC}/bin/gem # # Prepare modules we are wanting to build via external ports # .for d in gdbm tk ${MV} ${BUILD_WRKSRC}/ext/${d} ${WRKDIR}/ .endfor post-build: # # Hack to allow modules to be installed into separate PREFIX and/or under user # privilegies # @${RB_SET_CONF_VAR} "prefix" "ENV['PREFIX'] || \3" @${RB_SET_CONF_VAR} "INSTALL" "'/usr/bin/install -c'" @${RB_SET_CONF_VAR} "INSTALL_PROGRAM" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} ${STRIP} -m ${BINMODE}' : '${INSTALL_PROGRAM}'" @${RB_SET_CONF_VAR} "INSTALL_SCRIPT" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${BINMODE}' : '${INSTALL_SCRIPT}'" @${RB_SET_CONF_VAR} "INSTALL_DATA" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${SHAREMODE}' : '${INSTALL_DATA}'" .if ${PORT_OPTIONS:MCAPIDOCS} ${FIND} ${WRKSRC}/doc -type d -empty -delete .endif pre-su-install: ${MKDIR} ${STAGEDIR}${RUBY_SITEARCHLIBDIR} ${MKDIR} ${STAGEDIR}${RUBY_VENDORARCHLIBDIR} .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${RUBY_DOCDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${RUBY_EXAMPLESDIR} .endif .if ${PORT_OPTIONS:MRDOC} ${MKDIR} ${STAGEDIR}${RUBY_RIDIR} ${MKDIR} ${STAGEDIR}${RUBY_SITERIDIR} .endif post-install: # # XXX: hack to strip ruby binary. Ruby uses its own install script that seems # bogus to hack. # .if defined(STRIP) && ${STRIP} == -s && ! ${PORT_OPTIONS:MDEBUG} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${RUBY_NAME} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libruby${RUBY_SHLIBVER}.so.${RUBY_SHLIBVER} ${FIND} ${STAGEDIR}${RUBY_ARCHLIBDIR} -type f -name '*\.so' -exec ${STRIP_CMD} {} \; .endif # # Link just installed "ruby" to "ruby20", etc. # .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} . for FILE in ${INSTALLED_SCRIPTS} ${LN} -fs ${FILE}${RUBY_SUFFIX} ${STAGEDIR}${PREFIX}/bin/${FILE} . endfor .endif # Create all dirs required (":u" isn't avaiable in STABLE yet :-() ${MKDIR} ${EXTSAMPLES:C,^([^/]+)/.*,\1,:S,^,${STAGEDIR}${RUBY_EXAMPLESDIR}/,} ${MKDIR} ${EXTDOCS:C,^([^/]+)/.*,\1,:S,^,${STAGEDIR}${RUBY_DOCDIR}/,} .for FILE in ${EXTSAMPLES} ${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \ ${STAGEDIR}${RUBY_EXAMPLESDIR}/${FILE:C,^([^/]+)/.*,\1,}/ .endfor .for FILE in ${EXTDOCS} ${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \ ${STAGEDIR}${RUBY_DOCDIR}/${FILE:C,^([^/]+)/.*,\1,}/ .endfor @(cd ${WRKSRC}/sample/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_EXAMPLESDIR}/) @(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_DOCDIR}/) ${INSTALL_DATA} ${WRKSRC}/COPYING* \ ${WRKSRC}/ChangeLog \ ${WRKSRC}/LEGAL \ ${WRKSRC}/README* \ ${STAGEDIR}${RUBY_DOCDIR}/ test: @(cd ${WRKSRC}; ${MAKE} test) validate: @${MKDIR} ${WRKSRC}/rubyspec rm -rf ${WRKSRC}/rubyspec/* (cd ${WRKSRC}/rubyspec && git clone git://github.com/rubyspec/rubyspec.git) (cd ${WRKSRC}/rubyspec && git clone git://github.com/rubyspec/mspec.git) (cd ${WRKSRC}/rubyspec/rubyspec && env PATH=${WRKSRC}/rubyspec/mspec/bin:${PATH} mspec -t ${PREFIX}/bin/ruby${RUBY_SUFFIX} .) .include Index: head/lang/ruby21/Makefile =================================================================== --- head/lang/ruby21/Makefile (revision 394507) +++ head/lang/ruby21/Makefile (revision 394508) @@ -1,246 +1,245 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= ruby PORTVERSION= ${RUBY_PORTVERSION} PORTREVISION= ${RUBY_PORTREVISION} PORTEPOCH= ${RUBY_PORTEPOCH} CATEGORIES= lang ruby ipv6 MASTER_SITES= RUBY/${MASTER_SITE_SUBDIR_RUBY} DISTNAME= ${RUBY_DISTNAME} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT?= Object-oriented interpreted scripting language LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual LIB_DEPENDS= libyaml.so:${PORTSDIR}/textproc/libyaml # Using LIB_DEPENDS finds the libffi from gcc which causes problems BUILD_DEPENDS= libffi>=0:${PORTSDIR}/devel/libffi RUN_DEPENDS= libffi>=0:${PORTSDIR}/devel/libffi GNU_CONFIGURE= yes WRKSRC= ${RUBY_WRKSRC} CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ --enable-shared \ --enable-pthread \ --disable-rpath \ --with-ruby-version=minor \ --with-sitedir="${PREFIX}/lib/ruby/site_ruby" \ --with-vendordir="${PREFIX}/lib/ruby/vendor_ruby" USE_OPENSSL= yes USE_LDCONFIG= yes USE_AUTOTOOLS= autoconf CONFIGURE_ENV+= LC_ALL=C MAKE_ENV+= LC_ALL=C WRKSRC= ${WRKDIR}/${PORTNAME}-${RUBY_DISTVERSION} RUBY_VER= 2.1 USE_RUBY= yes RUBY_NO_BUILD_DEPENDS= yes RUBY_NO_RUN_DEPENDS= yes -NO_LATEST_LINK= yes OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES RDOC OPTIONS_DEFAULT= RDOC LIBEDIT OPTIONS_SINGLE= EDIT OPTIONS_SINGLE_EDIT= LIBEDIT READLINE OPTIONS_SUB= yes CAPIDOCS_DESC= Build and install C API documents RDOC_DESC= Build and install Rdoc indexes EDIT_DESC= Which line editing lib to use LIBEDIT_DESC= Use libedit READLINE_DESC= Use libreadline CAPIDOCS_BUILD_DEPENDS= doxygen>0:${PORTSDIR}/devel/doxygen \ dot:${PORTSDIR}/graphics/graphviz CAPIDOCS_CONFIGURE_OFF= --disable-install-capi RDOC_CONFIGURE_OFF= --disable-install-rdoc USES= execinfo cpe tar:xz CPE_VENDOR= ruby-lang CPE_VERSION= ${RUBY_RELVERSION} CPE_UPDATE= p${RUBY_PATCHLEVEL} .include # PORTEPOCH/PORTREVISION hack .if ${PORTEPOCH} != 0 _SUF2= ,${PORTEPOCH} .endif .if ${PORTREVISION} != 0 _SUF1= _${PORTREVISION} .endif CPPFLAGS+= -I${LOCALBASE}/include # Keep this, else ruby will fail to load libraries dependent op libpthread. LIBS+= -lpthread -L${LOCALBASE}/lib .if ${OPSYS} == "FreeBSD" .if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032) && (${ARCH} == "amd64" || ${ARCH} == "i386") CONFIGURE_ARGS+= --enable-dtrace .else CONFIGURE_ARGS+= --disable-dtrace .endif .endif .if ${ARCH} == "armv6" || ${ARCH} == "armv6hf" CONFIGURE_ARGS+= --with-setjmp-type=_setjmp .endif CONFIGURE_ENV= debugflags= .if ${PORT_OPTIONS:MCAPIDOCS} MAKE_JOBS_UNSAFE= yes .endif .if ${PORT_OPTIONS:MLIBEDIT} BUILD_DEPENDS+= libedit>=0:${PORTSDIR}/devel/libedit RUN_DEPENDS+= libedit>=0:${PORTSDIR}/devel/libedit CONFIGURE_ARGS+= --enable-libedit --with-libedit-prefix=${LOCALBASE} .endif .if ${PORT_OPTIONS:MREADLINE} BUILD_DEPENDS+= readline>=0:${PORTSDIR}/devel/readline RUN_DEPENDS+= readline>=0:${PORTSDIR}/devel/readline CONFIGURE_ARGS+= --disable-libedit --with-readline-prefix=${LOCALBASE} .endif .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} MLINKS= ${RUBY_NAME}.1 ruby.1 PLIST_SUB+= IF_DEFAULT="" .else PKGNAMESUFFIX= ${RUBY_VER:C/\.//} PLIST_SUB+= IF_DEFAULT="@comment " .endif INSTALLED_SCRIPTS= irb erb rdoc ri ruby testrb EXTSAMPLES= bigdecimal/sample/*.rb EXTDOCS= readline/README* \ ripper/README \ stringio/README \ syslog/syslog.txt # Macros to change variables in rbconfig.rb RB_SET_CONF_VAR=${SH} -c '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$1\4," ${WRKSRC}/rbconfig.rb' -- post-patch: @${REINPLACE_CMD} -E \ -e 's,-l$$pthread_lib,-lpthread,g' \ -e '/^RUBY_LIB_PATH/s,\.\$$\{TEENY\},,' \ -e '/^RUBY_SITE_LIB_PATH2/s,\.\$$\{TEENY\},,' \ -e '/^RUBY_VENDOR_LIB_PATH2/s,\.\$$\{TEENY\},,' \ ${WRKSRC}/configure # # Eliminate all leftovers # @${FIND} ${WRKSRC}/ -name "*.orig" -delete # # Remove modules we don't want # .for d in win32ole ${RM} -rf ${BUILD_WRKSRC}/ext/${d} .endfor # We get rake from ports. .for d in bin/rake doc/rake lib/rake test/rake man/rake.1 lib/rake.rb ${RM} -rf ${BUILD_WRKSRC}/${d} .endfor # We get the gem executable from ports. ${RM} ${BUILD_WRKSRC}/bin/gem # # Prepare modules we are wanting to build via external ports # .for d in gdbm tk ${MV} ${BUILD_WRKSRC}/ext/${d} ${WRKDIR}/ .endfor post-build: # # Hack to allow modules to be installed into separate PREFIX and/or under user # privilegies # @${RB_SET_CONF_VAR} "prefix" "ENV['PREFIX'] || \3" @${RB_SET_CONF_VAR} "INSTALL" "'/usr/bin/install -c'" @${RB_SET_CONF_VAR} "INSTALL_PROGRAM" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} ${STRIP} -m ${BINMODE}' : '${INSTALL_PROGRAM}'" @${RB_SET_CONF_VAR} "INSTALL_SCRIPT" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${BINMODE}' : '${INSTALL_SCRIPT}'" @${RB_SET_CONF_VAR} "INSTALL_DATA" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${SHAREMODE}' : '${INSTALL_DATA}'" .if ${PORT_OPTIONS:MCAPIDOCS} ${FIND} ${WRKSRC}/doc -type d -empty -delete .endif pre-su-install: ${MKDIR} ${STAGEDIR}${RUBY_SITEARCHLIBDIR} ${MKDIR} ${STAGEDIR}${RUBY_VENDORARCHLIBDIR} .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${RUBY_DOCDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${RUBY_EXAMPLESDIR} .endif .if ${PORT_OPTIONS:MRDOC} ${MKDIR} ${STAGEDIR}${RUBY_RIDIR} ${MKDIR} ${STAGEDIR}${RUBY_SITERIDIR} .endif post-install: # # XXX: hack to strip ruby binary. Ruby uses its own install script that seems # bogus to hack. # .if defined(STRIP) && ${STRIP} == -s && ! ${PORT_OPTIONS:MDEBUG} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${RUBY_NAME} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libruby${RUBY_SHLIBVER}.so.${RUBY_SHLIBVER} ${FIND} ${STAGEDIR}${RUBY_ARCHLIBDIR} -type f -name '*\.so' -exec ${STRIP_CMD} {} \; .endif # # Link just installed "ruby" to "ruby21", etc. # .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} . for FILE in ${INSTALLED_SCRIPTS} ${LN} -fs ${FILE}${RUBY_SUFFIX} ${STAGEDIR}${PREFIX}/bin/${FILE} . endfor .endif # Create all dirs required (":u" isn't avaiable in STABLE yet :-() ${MKDIR} ${EXTSAMPLES:C,^([^/]+)/.*,\1,:S,^,${STAGEDIR}${RUBY_EXAMPLESDIR}/,} ${MKDIR} ${EXTDOCS:C,^([^/]+)/.*,\1,:S,^,${STAGEDIR}${RUBY_DOCDIR}/,} .for FILE in ${EXTSAMPLES} ${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \ ${STAGEDIR}${RUBY_EXAMPLESDIR}/${FILE:C,^([^/]+)/.*,\1,}/ .endfor .for FILE in ${EXTDOCS} ${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \ ${STAGEDIR}${RUBY_DOCDIR}/${FILE:C,^([^/]+)/.*,\1,}/ .endfor @(cd ${WRKSRC}/sample/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_EXAMPLESDIR}/) @(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_DOCDIR}/) ${INSTALL_DATA} ${WRKSRC}/COPYING* \ ${WRKSRC}/ChangeLog \ ${WRKSRC}/LEGAL \ ${WRKSRC}/README* \ ${STAGEDIR}${RUBY_DOCDIR}/ test: @(cd ${WRKSRC}; ${MAKE} test) validate: @${MKDIR} ${WRKSRC}/rubyspec rm -rf ${WRKSRC}/rubyspec/* (cd ${WRKSRC}/rubyspec && git clone git://github.com/rubyspec/rubyspec.git) (cd ${WRKSRC}/rubyspec && git clone git://github.com/rubyspec/mspec.git) (cd ${WRKSRC}/rubyspec/rubyspec && env PATH=${WRKSRC}/rubyspec/mspec/bin:${PATH} mspec -t ${PREFIX}/bin/ruby${RUBY_SUFFIX} .) .include Index: head/lang/ruby22/Makefile =================================================================== --- head/lang/ruby22/Makefile (revision 394507) +++ head/lang/ruby22/Makefile (revision 394508) @@ -1,246 +1,245 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= ruby PORTVERSION= ${RUBY_PORTVERSION} PORTREVISION= ${RUBY_PORTREVISION} PORTEPOCH= ${RUBY_PORTEPOCH} CATEGORIES= lang ruby ipv6 MASTER_SITES= RUBY/${MASTER_SITE_SUBDIR_RUBY} DISTNAME= ${RUBY_DISTNAME} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT?= Object-oriented interpreted scripting language LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual LIB_DEPENDS= libyaml.so:${PORTSDIR}/textproc/libyaml # Using LIB_DEPENDS finds the libffi from gcc which causes problems BUILD_DEPENDS= libffi>=0:${PORTSDIR}/devel/libffi RUN_DEPENDS= libffi>=0:${PORTSDIR}/devel/libffi GNU_CONFIGURE= yes WRKSRC= ${RUBY_WRKSRC} CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ --enable-shared \ --enable-pthread \ --disable-rpath \ --with-ruby-version=minor \ --with-sitedir="${PREFIX}/lib/ruby/site_ruby" \ --with-vendordir="${PREFIX}/lib/ruby/vendor_ruby" USE_OPENSSL= yes USE_LDCONFIG= yes USE_AUTOTOOLS= autoconf CONFIGURE_ENV+= LC_ALL=C MAKE_ENV+= LC_ALL=C WRKSRC= ${WRKDIR}/${PORTNAME}-${RUBY_DISTVERSION} RUBY_VER= 2.2 USE_RUBY= yes RUBY_NO_BUILD_DEPENDS= yes RUBY_NO_RUN_DEPENDS= yes -NO_LATEST_LINK= yes OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES RDOC OPTIONS_DEFAULT= RDOC LIBEDIT OPTIONS_SINGLE= EDIT OPTIONS_SINGLE_EDIT= LIBEDIT READLINE OPTIONS_SUB= yes CAPIDOCS_DESC= Build and install C API documents RDOC_DESC= Build and install Rdoc indexes EDIT_DESC= Which line editing lib to use LIBEDIT_DESC= Use libedit READLINE_DESC= Use libreadline CAPIDOCS_BUILD_DEPENDS= doxygen>0:${PORTSDIR}/devel/doxygen \ dot:${PORTSDIR}/graphics/graphviz CAPIDOCS_CONFIGURE_ENABLE= install-capi RDOC_CONFIGURE_ENABLE= install-rdoc USES= execinfo cpe tar:xz CPE_VENDOR= ruby-lang CPE_VERSION= ${RUBY_RELVERSION} CPE_UPDATE= p${RUBY_PATCHLEVEL} .include # PORTEPOCH/PORTREVISION hack .if ${PORTEPOCH} != 0 _SUF2= ,${PORTEPOCH} .endif .if ${PORTREVISION} != 0 _SUF1= _${PORTREVISION} .endif CPPFLAGS+= -I${LOCALBASE}/include # Keep this, else ruby will fail to load libraries dependent op libpthread. LIBS+= -lpthread -L${LOCALBASE}/lib .if ${OPSYS} == "FreeBSD" .if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032) && (${ARCH} == "amd64" || ${ARCH} == "i386") CONFIGURE_ARGS+= --enable-dtrace .else CONFIGURE_ARGS+= --disable-dtrace .endif .endif .if ${ARCH} == "armv6" || ${ARCH} == "armv6hf" CONFIGURE_ARGS+= --with-setjmp-type=_setjmp .endif CONFIGURE_ENV= debugflags= .if ${PORT_OPTIONS:MCAPIDOCS} MAKE_JOBS_UNSAFE= yes .endif .if ${PORT_OPTIONS:MLIBEDIT} BUILD_DEPENDS+= libedit>=0:${PORTSDIR}/devel/libedit RUN_DEPENDS+= libedit>=0:${PORTSDIR}/devel/libedit CONFIGURE_ARGS+= --enable-libedit --with-libedit-prefix=${LOCALBASE} .endif .if ${PORT_OPTIONS:MREADLINE} BUILD_DEPENDS+= readline>=0:${PORTSDIR}/devel/readline RUN_DEPENDS+= readline>=0:${PORTSDIR}/devel/readline CONFIGURE_ARGS+= --disable-libedit --with-readline-prefix=${LOCALBASE} .endif .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} MLINKS= ${RUBY_NAME}.1 ruby.1 PLIST_SUB+= IF_DEFAULT="" .else PKGNAMESUFFIX= ${RUBY_VER:C/\.//} PLIST_SUB+= IF_DEFAULT="@comment " .endif INSTALLED_SCRIPTS= irb erb rdoc ri ruby EXTSAMPLES= bigdecimal/sample/*.rb EXTDOCS= readline/README* \ ripper/README \ stringio/README \ syslog/syslog.txt # Macros to change variables in rbconfig.rb RB_SET_CONF_VAR=${SH} -c '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$1\4," ${WRKSRC}/rbconfig.rb' -- post-patch: @${REINPLACE_CMD} -E \ -e 's,-l$$pthread_lib,-lpthread,g' \ -e '/^RUBY_LIB_PATH/s,\.\$$\{TEENY\},,' \ -e '/^RUBY_SITE_LIB_PATH2/s,\.\$$\{TEENY\},,' \ -e '/^RUBY_VENDOR_LIB_PATH2/s,\.\$$\{TEENY\},,' \ ${WRKSRC}/configure # # Eliminate all leftovers # @${FIND} ${WRKSRC}/ -name "*.orig" -delete # # Remove modules we don't want # .for d in win32ole ${RM} -rf ${BUILD_WRKSRC}/ext/${d} .endfor # We get rake from ports. .for d in bin/rake doc/rake lib/rake test/rake man/rake.1 lib/rake.rb ${RM} -rf ${BUILD_WRKSRC}/${d} .endfor # We get the gem executable from ports. ${RM} ${BUILD_WRKSRC}/bin/gem # # Prepare modules we are wanting to build via external ports # .for d in gdbm tk ${MV} ${BUILD_WRKSRC}/ext/${d} ${WRKDIR}/ .endfor post-build: # # Hack to allow modules to be installed into separate PREFIX and/or under user # privilegies # @${RB_SET_CONF_VAR} "prefix" "ENV['PREFIX'] || \3" @${RB_SET_CONF_VAR} "INSTALL" "'/usr/bin/install -c'" @${RB_SET_CONF_VAR} "INSTALL_PROGRAM" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} ${STRIP} -m ${BINMODE}' : '${INSTALL_PROGRAM}'" @${RB_SET_CONF_VAR} "INSTALL_SCRIPT" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${BINMODE}' : '${INSTALL_SCRIPT}'" @${RB_SET_CONF_VAR} "INSTALL_DATA" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${SHAREMODE}' : '${INSTALL_DATA}'" .if ${PORT_OPTIONS:MCAPIDOCS} ${FIND} ${WRKSRC}/doc -type d -empty -delete .endif pre-su-install: ${MKDIR} ${STAGEDIR}${RUBY_SITEARCHLIBDIR} ${MKDIR} ${STAGEDIR}${RUBY_VENDORARCHLIBDIR} .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${RUBY_DOCDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${RUBY_EXAMPLESDIR} .endif .if ${PORT_OPTIONS:MRDOC} ${MKDIR} ${STAGEDIR}${RUBY_RIDIR} ${MKDIR} ${STAGEDIR}${RUBY_SITERIDIR} .endif post-install: # # XXX: hack to strip ruby binary. Ruby uses its own install script that seems # bogus to hack. # .if defined(STRIP) && ${STRIP} == -s && ! ${PORT_OPTIONS:MDEBUG} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${RUBY_NAME} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libruby${RUBY_SHLIBVER}.so.${RUBY_SHLIBVER} ${FIND} ${STAGEDIR}${RUBY_ARCHLIBDIR} -type f -name '*\.so' -exec ${STRIP_CMD} {} \; .endif # # Link just installed "ruby" to "ruby22", etc. # .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} . for FILE in ${INSTALLED_SCRIPTS} ${LN} -fs ${FILE}${RUBY_SUFFIX} ${STAGEDIR}${PREFIX}/bin/${FILE} . endfor .endif # Create all dirs required (":u" isn't avaiable in STABLE yet :-() ${MKDIR} ${EXTSAMPLES:C,^([^/]+)/.*,\1,:S,^,${STAGEDIR}${RUBY_EXAMPLESDIR}/,} ${MKDIR} ${EXTDOCS:C,^([^/]+)/.*,\1,:S,^,${STAGEDIR}${RUBY_DOCDIR}/,} .for FILE in ${EXTSAMPLES} ${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \ ${STAGEDIR}${RUBY_EXAMPLESDIR}/${FILE:C,^([^/]+)/.*,\1,}/ .endfor .for FILE in ${EXTDOCS} ${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \ ${STAGEDIR}${RUBY_DOCDIR}/${FILE:C,^([^/]+)/.*,\1,}/ .endfor @(cd ${WRKSRC}/sample/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_EXAMPLESDIR}/) @(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_DOCDIR}/) ${INSTALL_DATA} ${WRKSRC}/COPYING* \ ${WRKSRC}/ChangeLog \ ${WRKSRC}/LEGAL \ ${WRKSRC}/README* \ ${STAGEDIR}${RUBY_DOCDIR}/ test: @(cd ${WRKSRC}; ${MAKE} test) validate: @${MKDIR} ${WRKSRC}/rubyspec rm -rf ${WRKSRC}/rubyspec/* (cd ${WRKSRC}/rubyspec && git clone git://github.com/rubyspec/rubyspec.git) (cd ${WRKSRC}/rubyspec && git clone git://github.com/rubyspec/mspec.git) (cd ${WRKSRC}/rubyspec/rubyspec && env PATH=${WRKSRC}/rubyspec/mspec/bin:${PATH} mspec -t ${PREFIX}/bin/ruby${RUBY_SUFFIX} .) .include Index: head/lang/tcl84/Makefile =================================================================== --- head/lang/tcl84/Makefile (revision 394507) +++ head/lang/tcl84/Makefile (revision 394508) @@ -1,84 +1,84 @@ # Created by: jkh # $FreeBSD$ PORTNAME= tcl PORTVERSION= 8.4.20 PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= lang tcl MASTER_SITES= TCLTK/tcl8_4 \ SF/tcl/Tcl/${PORTVERSION} PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} DISTNAME= ${PORTNAME}${PORTVERSION}-src MAINTAINER= tcltk@FreeBSD.org COMMENT= Tool Command Language LICENSE= TclTk LICENSE_NAME= Tcl/Tk License LICENSE_FILE= ${WRKSRC}/../license.terms LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept OPTIONS_DEFINE= TCLMAN THREADS OPTIONS_DEFAULT=THREADS TCLMAN_DESC= Install Tcl function manpages WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix ALL_TARGET= all INSTALL_TARGET= install install-libraries USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared \ --enable-man-suffix=.${MAN_SUFFIX} \ --includedir=${PREFIX}/include/tcl${TCL_VER} CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TCL_VER= 8.4 SHORT_TCL_VER= ${TCL_VER:S/8./8/} -MAN_SUFFIX= ${LATEST_LINK} +MAN_SUFFIX= ${PKGBASE} MAKE_ENV= SHORT_TCL_VER="${SHORT_TCL_VER}" \ MAN_SUFFIX=.${MAN_SUFFIX} \ LANG=C LC_ALL=C # LANG=C is required for some of UTF-using tests PLIST_SUB= TCL_VER=${TCL_VER} \ SHORT_TCL_VER=${SHORT_TCL_VER} .include .if ${PORT_OPTIONS:MTCLMAN} INSTALL_TARGET+=install-doc PLIST_SUB+= MAN="" .else PLIST_SUB+= MAN="@comment " .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+= --enable-threads .else CONFIGURE_ARGS+= --disable-threads .endif post-patch: ${REINPLACE_CMD} -e \ 's|@TCL_BUILD_LIB_SPEC@|@TCL_LIB_SPEC@|; \ s|@TCL_BUILD_STUB_LIB_SPEC@|@TCL_STUB_LIB_SPEC@|; \ s|@TCL_BUILD_STUB_LIB_PATH@|@TCL_STUB_LIB_PATH@|; \ s|@TCL_SRC_DIR@|${PREFIX}/include/tcl${TCL_VER}|' \ ${WRKSRC}/tclConfig.sh.in post-configure: ${REINPLACE_CMD} \ -e 's,-DNO_MEMMOVE=1,,' -e 's,-DNO_STRING_H=1,,' \ -e 's,^COMPAT_OBJS.*,,' ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tclsh${TCL_VER} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtcl${SHORT_TCL_VER}.so.1 regression-test: build cd ${WRKSRC} && LC_ALL=C ${MAKE} test .include Index: head/lang/tcl86/Makefile =================================================================== --- head/lang/tcl86/Makefile (revision 394507) +++ head/lang/tcl86/Makefile (revision 394508) @@ -1,98 +1,98 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= tcl PORTVERSION= 8.6.4 CATEGORIES= lang MASTER_SITES= SF/tcl/Tcl/${PORTVERSION} \ TCLTK/tcl8_6 PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} DISTNAME= ${PORTNAME}${PORTVERSION}-src MAINTAINER= tcltk@FreeBSD.org COMMENT= Tool Command Language LICENSE= TclTk LICENSE_NAME= Tcl/Tk License LICENSE_FILE= ${WRKSRC}/../license.terms LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept OPTIONS_DEFINE= TCLMAN TZDATA MODULES THREADS OPTIONS_DEFAULT=MODULES THREADS TCLMAN_DESC= Install Tcl function manpages TZDATA_DESC= Install Tcl timezone data MODULES_DESC= Install Tcl common modules WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix ALL_TARGET= all INSTALL_TARGET= install-strip install-libraries USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared \ --enable-man-suffix=.${MAN_SUFFIX} \ --includedir=${PREFIX}/include/tcl${TCL_VER} \ CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TCL_VER= ${PORTVERSION:R} SHORT_TCL_VER= ${TCL_VER:S/.//} -MAN_SUFFIX= ${LATEST_LINK} +MAN_SUFFIX= ${PKGBASE} MAKE_ENV= SHORT_TCL_VER=${SHORT_TCL_VER} \ MAN_SUFFIX=.${MAN_SUFFIX} \ LANG=C LC_ALL=C # LANG=C is required for some of UTF-using tests PLIST_SUB= TCL_VER=${TCL_VER} \ SHORT_TCL_VER=${SHORT_TCL_VER} .include .if ${PORT_OPTIONS:MTCLMAN} INSTALL_TARGET+=install-doc PLIST_SUB+= MAN="" .else PLIST_SUB+= MAN="@comment " .endif .if ${PORT_OPTIONS:MTZDATA} PLIST_SUB+= TZDATA="" INSTALL_TARGET+=install-tzdata .else PLIST_SUB+= TZDATA="@comment " .endif .if ${PORT_OPTIONS:MMODULES} PLIST_SUB+= MODULES="" INSTALL_TARGET+=install-modules .else PLIST_SUB+= MODULES="@comment " .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--enable-threads .else CONFIGURE_ARGS+=--disable-threads .endif post-patch: ${REINPLACE_CMD} -e \ 's|@TCL_BUILD_LIB_SPEC@|@TCL_LIB_SPEC@|; \ s|@TCL_BUILD_STUB_LIB_SPEC@|@TCL_STUB_LIB_SPEC@|; \ s|@TCL_BUILD_STUB_LIB_PATH@|@TCL_STUB_LIB_PATH@|; \ s|@TCL_SRC_DIR@|${PREFIX}/include/tcl${TCL_VER}|' \ ${WRKSRC}/tclConfig.sh.in .if !${PORT_OPTIONS:MTCLMAN} @${FIND} ${WRKSRC}/../pkgs -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ -e '/^install:/s|install-doc||' .endif post-configure: ${REINPLACE_CMD} \ -e 's,-DNO_MEMMOVE=1,,' -e 's,-DNO_STRING_H=1,,' \ -e 's,^COMPAT_OBJS.*,,' ${WRKSRC}/Makefile regression-test: build cd ${WRKSRC} && LC_ALL=C ${MAKE} test .include Index: head/mail/addresses-goodies/Makefile =================================================================== --- head/mail/addresses-goodies/Makefile (revision 394507) +++ head/mail/addresses-goodies/Makefile (revision 394508) @@ -1,37 +1,36 @@ # $FreeBSD$ PORTNAME= addresses PORTVERSION= 0.4.8 PORTREVISION= 3 CATEGORIES= mail gnustep MASTER_SITES= SAVANNAH/gap PKGNAMESUFFIX= -goodies${PKGNAMESUFFIX2} DISTNAME= Addresses-${PORTVERSION} MAINTAINER= theraven@FreeBSD.org COMMENT= Goodies for addressbook for GNUstep LICENSE= LGPL21 USES= gnustep USE_GNUSTEP= back build LIB_DEPENDS= libInspector.so:${PORTSDIR}/deskutils/gworkspace \ libAddresses.so:${PORTSDIR}/mail/addresses USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES} -UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} WRKSRC= ${WRKDIR}/Addresses-${PORTVERSION}/Goodies post-patch: ${REINPLACE_CMD} -e 's|LDAPAddressBook||' \ -e 's|VCFViewer||' \ ${WRKSRC}/GNUmakefile ${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DIR|#GNUSTEP_INSTALLATION_DIR|' \ -e 's|Library/GWorkspace|Library/Bundles|' \ -e 's|-lGWorkspace|-lInspector|' \ ${WRKSRC}/VCFViewer/GNUmakefile ${REINPLACE_CMD} -e 's| Index: head/mail/p5-IMAP-Admin/Makefile =================================================================== --- head/mail/p5-IMAP-Admin/Makefile (revision 394507) +++ head/mail/p5-IMAP-Admin/Makefile (revision 394508) @@ -1,30 +1,30 @@ # Created by: Martti Kuparinen # $FreeBSD$ PORTNAME= IMAP-Admin PORTVERSION= 1.6.7 PORTREVISION= 1 CATEGORIES= mail perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module for basic IMAP server administration USES= perl5 USE_PERL5= configure -EXAMPLESDIR= ${PREFIX}/share/examples/${UNIQUENAME} +EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE} OPTIONS_DEFINE= EXAMPLES .include PORTEXAMPLES= create.pl delete.pl post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR} .include Index: head/mail/popa3d/Makefile =================================================================== --- head/mail/popa3d/Makefile (revision 394507) +++ head/mail/popa3d/Makefile (revision 394508) @@ -1,107 +1,106 @@ # Created by: Sergey Samoyloff # $FreeBSD$ PORTNAME= popa3d PORTVERSION= 1.0.3 CATEGORIES= mail MASTER_SITES= http://www.openwall.com/popa3d/ \ ftp://ftp.openwall.com/pub/projects/popa3d/ PKGNAMESUFFIX?= ${SMTP_AFTER_POP3_SUFFIX}${STANDALONE_SUFFIX}${PKGNAMESUFFIX2} MAINTAINER= ports@FreeBSD.org COMMENT= Secure, performance, tiny POP3 daemon ALL_TARGET= popa3d PLIST= ${WRKDIR}/.PLIST.more CFLAGS+= -DPREFIX=${PREFIX} -UNIQUENAME= ${.CURDIR:T} OPTIONS_DEFINE= SMTP_AFTER_POP3 STANDALONE_POP3 SETPROCTITLE DOCS NO_OPTIONS_SORT=yes SMTP_AFTER_POP3_DESC=Enable SMTP-after-POP support STANDALONE_POP3_DESC=Enable standalone server mode SETPROCTITLE_DESC=Enable setproctitle() support .include .if ${PORT_OPTIONS:MSTANDALONE_POP3} STANDALONE_SUFFIX= -standalone PLIST_SUB+= STANDALONE_POP3="" CONFLICTS?= popa3d-0.* popa3d-before-sendmail-0.* USE_RC_SUBR= popa3d PKGMESSAGE= ${NONEXISTENT} PKGDEINSTALL= ${NONEXISTENT} .else SUB_FILES= pkg-message PLIST_SUB+= STANDALONE_POP3="@comment " .endif .if ${PORT_OPTIONS:MSMTP_AFTER_POP3} SMTP_AFTER_POP3_SUFFIX= -before-sendmail EXTRA_PATCHES+= ${FILESDIR}/pop-before-sendmail.patch PLIST_SUB+= SMTP_AFTER_POP3="" CONFLICTS?= popa3d-0.* popa3d-standalone-0.* .else PLIST_SUB+= SMTP_AFTER_POP3="@comment " CONFLICTS?= popa3d-standalone-0.* popa3d-before-sendmail-0.* .endif .if ${PORT_OPTIONS:MSETPROCTITLE} EXTRA_PATCHES+= ${FILESDIR}/setproctitle.patch .endif .include pre-configure: @${CAT} ${PKGDIR}/pkg-plist >${PLIST} .if !exists(/var/empty) @${REINPLACE_CMD} -e "s=/var/empty=${PREFIX}/empty=" \ ${WRKSRC}/params.h @${ECHO_CMD} "@exec ${MKDIR} %D/empty" >>${PLIST} @${ECHO_CMD} "@dirrm empty" >>${PLIST} .endif .if ${PORT_OPTIONS:MSMTP_AFTER_POP3} && !defined(WITHOUT_POPAUTH_M4) @${ECHO_CMD} "@cwd ${CFDIR}" >>${PLIST} @${ECHO_CMD} "hack/popauth.m4" >>${PLIST} .endif .if ${PORT_OPTIONS:MSTANDALONE_POP3} @${REINPLACE_CMD} -e 's|^\(#define POP_STANDALONE\).*|\1 1|' \ ${WRKSRC}/params.h .endif .if defined(MAILBOX_HOME) @${REINPLACE_CMD} -e 's|^#define \(MAIL_SPOOL_PATH\).*|#undef \1|' \ ${WRKSRC}/params.h .endif pre-install: @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL .if !exists(/var/empty) @${MKDIR} ${PREFIX}/empty .endif do-install: ${INSTALL} ${COPY} -m 500 \ ${WRKSRC}/popa3d ${STAGEDIR}${PREFIX}/libexec/popa3d ${INSTALL_MAN} ${WRKSRC}/popa3d.8 ${STAGEDIR}${MANPREFIX}/man/man8/ .if ${PORT_OPTIONS:MSMTP_AFTER_POP3} && !defined(WITHOUT_POPAUTH_M4) ${MKDIR} ${STAGEDIR}${CFDIR}/hack ${INSTALL_DATA} ${FILESDIR}/popauth.m4 ${STAGEDIR}${CFDIR}/hack/ .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/DESIGN ${STAGEDIR}${DOCSDIR}/ ${INSTALL_MAN} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}/ .if ${PORT_OPTIONS:MSMTP_AFTER_POP3} ${INSTALL_DATA} ${FILESDIR}/POPAUTH ${STAGEDIR}${DOCSDIR}/ .endif .endif .if exists(${LOCALBASE}/share/sendmail/cf/mailer/uucp.m4) CFDIR= ${LOCALBASE}/share/sendmail/cf .else CFDIR= /usr/share/sendmail/cf .endif .include Index: head/mail/postfix-policyd-spf-python/Makefile =================================================================== --- head/mail/postfix-policyd-spf-python/Makefile (revision 394507) +++ head/mail/postfix-policyd-spf-python/Makefile (revision 394508) @@ -1,55 +1,54 @@ # Created by: Giel van Schijndel # $FreeBSD$ PORTNAME= postfix-policyd-spf-python PORTVERSION= 1.3.1 CATEGORIES= mail python MASTER_SITES= https://launchpad.net/pypolicyd-spf/1.3/1.3.1/+download/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pypolicyd-spf-${PORTVERSION} MAINTAINER= me@mortis.eu COMMENT= Pure Python Postfix policy daemon for SPF checking LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipaddr>0:${PORTSDIR}/devel/py-ipaddr \ ${PYTHON_PKGNAMEPREFIX}spf>0:${PORTSDIR}/mail/py-spf \ ${PYTHON_PKGNAMEPREFIX}authres>0:${PORTSDIR}/mail/py-authres USES= python USE_PYTHON= distutils PYDISTUTILS_PKGNAME= pypolicyd-spf PORTDOCS= CHANGES \ COPYING \ README \ README.per_user_whitelisting \ policyd-spf.conf.commented PKGMESSAGE= ${WRKSRC}/pkg-message SUB_FILES= pkg-message SUB_LIST= PYTHON_CMD=${PYTHON_CMD} OPTIONS_DEFINE= DOCS -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options post-patch: @${MV} ${WRKSRC}/policyd-spf.conf ${WRKSRC}/policyd-spf.conf.sample @${REINPLACE_CMD} -e "s|/etc/python-policyd-spf/|${PREFIX}/etc/postfix-policyd-spf-python/|" \ ${WRKSRC}/policyd-spf @${REINPLACE_CMD} -e "s|/etc/policyd-spf/|${PREFIX}/etc/postfix-policyd-spf-python/|" \ -e "s|/usr/bin/policyd-spf|${PREFIX}/bin/policyd-spf|" \ -e "s|/etc/postfix/|${LOCALBASE}/etc/postfix/|" ${WRKSRC}/policyd-spf.1 @${REINPLACE_CMD} -e "s|/etc/policyd-spf/|${PREFIX}/etc/postfix-policyd-spf-python/|" \ ${WRKSRC}/policyd-spf.conf.5 @${REINPLACE_CMD} -e "s|/etc/policyd-spf/|${PREFIX}/etc/postfix-policyd-spf-python/|" \ -e "s|/etc/pypolicyd-spf/|${PREFIX}/etc/postfix-policyd-spf-python/|" \ ${WRKSRC}/policyd-spf.peruser.5 post-install: @${INSTALL} -d ${STAGEDIR}/${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/mail/qmail-ldap/Makefile =================================================================== --- head/mail/qmail-ldap/Makefile (revision 394507) +++ head/mail/qmail-ldap/Makefile (revision 394508) @@ -1,31 +1,30 @@ # Created by: Mario S F Ferreira # $FreeBSD$ PORTNAME= qmail PORTVERSION= ${QMAIL_VERSION}.${LDAP_PATCH_DATE} PORTREVISION= 1 CATEGORIES= mail PKGNAMESUFFIX= -ldap COMMENT= Secure, reliable, and fast MTA for UNIX systems with LDAP support RUN_DEPENDS= ${LOCALBASE}/bin/svscan:${PORTSDIR}/sysutils/daemontools \ ${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp CONFLICTS= emboss-[0-9]* digest-[0-9]* *qmail-[0-9]* *qmail-mysql-[0-9]* \ qmail-spamcontrol-[0-9]* *qmail-tls-[0-9]* EXTRA_PATCHES+= ${MASTERDIR}/files/patch-Makefile \ ${MASTERDIR}/files/patch-auto_uids-c-dist USE_OPENLDAP= yes SLAVE_LDAP= yes LDAP_PATCH_DATE= 20120221 MASTERDIR= ${.CURDIR}/../qmail DESCR= ${.CURDIR}/pkg-descr PATCHDIR= ${.CURDIR}/files -LATEST_LINK= ${PORTNAME}-ldap .include "${MASTERDIR}/Makefile" Index: head/mail/qmail-mysql/Makefile =================================================================== --- head/mail/qmail-mysql/Makefile (revision 394507) +++ head/mail/qmail-mysql/Makefile (revision 394508) @@ -1,24 +1,23 @@ # Created by: Mario S F Ferreira # $FreeBSD$ PORTNAME= qmail PORTVERSION= ${QMAIL_VERSION}.${MYSQL_PATCH_VERSION} PORTREVISION= 0 CATEGORIES= mail PKGNAMESUFFIX= -mysql COMMENT= Secure, reliable, and fast MTA for UNIX systems with MySQL support CONFLICTS= *qmail-[0-9]* qmail-ldap-[0-9]* qmail-spamcontrol-[0-9]* *qmail-tls-[0-9]* MYSQL_PATCH_VERSION= 1.1.15 SLAVE_MYSQL= yes USE_MYSQL= yes MASTERDIR= ${.CURDIR}/../qmail DESCR= ${.CURDIR}/pkg-descr -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} .include "${MASTERDIR}/Makefile" Index: head/mail/qmail-spamcontrol/Makefile =================================================================== --- head/mail/qmail-spamcontrol/Makefile (revision 394507) +++ head/mail/qmail-spamcontrol/Makefile (revision 394508) @@ -1,34 +1,33 @@ # $FreeBSD$ PORTNAME= qmail PORTVERSION= ${QMAIL_VERSION}.${SPAMCONTROL_VERSION} PORTREVISION= 1 CATEGORIES= mail MASTER_SITES+= http://www.fehcom.de/qmail/spamcontrol/:spamcontrol \ LOCAL/bdrewery/qmail/:spamcontrol PKGNAMESUFFIX= -spamcontrol DISTFILES= ${QMAIL_DIST} ${SPAMCONTROL_DIST}:spamcontrol EXTRACT_ONLY= ${QMAIL_DIST} COMMENT= Qmail MTA with SpamControl patches CONFLICTS= *qmail-[0-9]* qmail-ldap-[0-9]* *qmail-mysql-[0-9]* *qmail-tls-[0-9]* EXTRA_PATCHES+= ${MASTERDIR}/files/patch-install.c \ ${MASTERDIR}/files/patch-Makefile \ ${MASTERDIR}/files/patch-auto_uids-c-dist # Distfiles QMAIL_DIST= ${PORTNAME}-${QMAIL_VERSION}${EXTRACT_SUFX} SPAMCONTROL_DIST= spamcontrol-${SPAMCONTROL_VERSION}.tgz SPAMCONTROL_VERSION= 2731 -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} SLAVE_SPAMCONTROL= yes # Local overrides MASTERDIR= ${.CURDIR}/../qmail PATCHDIR= ${.CURDIR}/files DESCR= ${.CURDIR}/pkg-descr .include "${MASTERDIR}/Makefile" Index: head/mail/qmail-tls/Makefile =================================================================== --- head/mail/qmail-tls/Makefile (revision 394507) +++ head/mail/qmail-tls/Makefile (revision 394508) @@ -1,25 +1,24 @@ # Created by: Mario S F Ferreira # $FreeBSD$ PORTNAME= qmail PORTVERSION= ${QMAIL_VERSION}.${TLS_PATCH_DATE} PORTREVISION= 0 CATEGORIES= mail PKGNAMESUFFIX= -tls COMMENT= Secure, reliable, and fast MTA for UNIX systems with TLS support CONFLICTS= *qmail-[0-9]* qmail-ldap-[0-9]* *qmail-mysql-[0-9]* qmail-spamcontrol-[0-9]* SLAVE_TLS= yes TLS_PATCH_DATE= 20110119 USE_OPENSSL= yes # Local overrides MASTERDIR= ${.CURDIR}/../qmail DESCR= ${.CURDIR}/pkg-descr -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} .include "${MASTERDIR}/Makefile" Index: head/mail/wanderlust-devel/Makefile =================================================================== --- head/mail/wanderlust-devel/Makefile (revision 394507) +++ head/mail/wanderlust-devel/Makefile (revision 394508) @@ -1,129 +1,128 @@ # Created by: MANTANI Nobutaka # $FreeBSD$ PORTNAME= wanderlust PORTVERSION= 2.15.9.b.${SNAPDATE} PORTREVISION= 1 CATEGORIES= mail elisp PKGNAMESUFFIX= -devel-${EMACS_PORT_NAME} MAINTAINER= nobutaka@FreeBSD.org COMMENT= Yet another message interface on Emacsen LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USE_EMACS= yes USE_GITHUB= yes GH_TAGNAME= 5e741ba SNAPDATE= 20141209 CONFLICTS= wanderlust-*-2.14.* -NO_LATEST_LINK= yes OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFAULT=DOCS EXAMPLES .include .include MIMEUI_PORT_NAME= ${MIMEUI_PRODUCT} MIMEUI_PRODUCT= semi MIMEUI_VERSION= 1.14 MIMEUI_COOKIE= ${MIMEUI_PRODUCT}-${EMACS_PORT_NAME}-${MIMEUI_VERSION}.FreeBSD-packages BUILD_DEPENDS= ${LOCALBASE}/share/semi/${MIMEUI_COOKIE}:${PORTSDIR}/editors/${MIMEUI_PORT_NAME} RUN_DEPENDS= ${LOCALBASE}/share/semi/${MIMEUI_COOKIE}:${PORTSDIR}/editors/${MIMEUI_PORT_NAME} .if (${EMACS_NAME} == "emacs") && (${EMACS_MAJOR_VER} >= 22) RUN_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/x-face-e21.el:${PORTSDIR}/mail/x-face-e21 .endif EMACS_W3M_PORT_NAME= emacs-w3m EMACS_W3M_LISP_FILE= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/w3m/shimbun.el .if exists(${EMACS_W3M_LISP_FILE}) BUILD_DEPENDS+= ${EMACS_W3M_LISP_FILE}:${PORTSDIR}/www/${EMACS_W3M_PORT_NAME} RUN_DEPENDS+= ${EMACS_W3M_LISP_FILE}:${PORTSDIR}/www/${EMACS_W3M_PORT_NAME} SHIMBUN= "" .else SHIMBUN= "@comment " .endif INFODIR= ${PREFIX}/info INFO= wl wl-ja UTILSDIR= ${EMACS_VERSION_SITE_LISPDIR}/wl WL_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/wl WL_ICONDIR= ${EMACS_LIBDIR_WITH_VER}/etc/wl/icons STARTUPDIR= ${EMACS_VERSION_SITE_LISPDIR} DOCSDIR_JA= ${PREFIX}/share/doc/ja/wanderlust DOCS= README.md NEWS doc/wl.texi DOCS_JA= README.ja NEWS.ja doc/wl-ja.texi EXAMPLESLANG= en ja EXAMPLES= dot.addresses dot.folders dot.wl UTILS= bbdb-wl.el PLIST_SUB+= DIRSECTION=${DIRSECTION} \ STARTUPDIR=${STARTUPDIR} \ WL_LISPDIR=${WL_LISPDIR} \ WL_ICONDIR=${WL_ICONDIR} \ SHIMBUN=${SHIMBUN} \ DOCSDIR_JA=${DOCSDIR_JA:S,^${PREFIX}/,,} PLIST= ${PKGDIR}/pkg-plist MAKE_ARGS+= EMACS=${EMACS_CMD} XEMACS=${EMACS_CMD} \ LISPDIR=${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} \ INFODIR=${STAGEDIR}${INFODIR} \ PIXMAPDIR=${STAGEDIR}${PREFIX}/${EMACS_LIBDIR_WITH_VER}/etc/wl/icons \ FLAGS="-batch -q -no-site-file" post-extract: @${CP} ${FILESDIR}/WL-CFG ${WRKSRC} post-configure: ${REINPLACE_CMD} -e 's|%%EMACS_LIBDIR_WITH_VER%%|${PREFIX}/${EMACS_LIBDIR_WITH_VER}|' ${WRKSRC}/WL-MK post-install: .if !exists(${EMACS_W3M_LISP_FILE}) ${INSTALL_DATA} ${WRKSRC}/elmo/elmo-shimbun.el ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/wl .endif .if ${PORT_OPTIONS:MDOCS} @${MAKE} install-docs .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MAKE} install-examples .endif @${MAKE} install-utils # local targets install-docs: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR_JA} .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .for i in ${DOCS_JA} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR_JA} .endfor install-examples: .for l in ${EXAMPLESLANG} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/$l for i in ${EXAMPLES} ; do \ ${INSTALL_DATA} ${WRKSRC}/samples/$l/$$i ${STAGEDIR}${EXAMPLESDIR}/$l; \ done .endfor ${INSTALL_DATA} ${WRKSRC}/etc/ja.Emacs ${STAGEDIR}${EXAMPLESDIR}/ja install-utils: @${MKDIR} ${STAGEDIR}${PREFIX}/${UTILSDIR} .for i in ${UTILS} ${INSTALL_DATA} ${WRKSRC}/utils/${i} ${STAGEDIR}${PREFIX}/${UTILSDIR} .endfor @${MKDIR} ${PREFIX}/${STARTUPDIR} @${INSTALL_DATA} ${FILESDIR}/wanderlust-startup.el ${STAGEDIR}${PREFIX}/${STARTUPDIR} .include Index: head/math/py-matplotlib/Makefile =================================================================== --- head/math/py-matplotlib/Makefile (revision 394507) +++ head/math/py-matplotlib/Makefile (revision 394508) @@ -1,119 +1,118 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= matplotlib PORTVERSION= 1.4.3 CATEGORIES= math python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= mainland@apeiron.net COMMENT= Plotting library uses a syntax familiar to MATLAB users LICENSE= PSFL BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libpng.so:${PORTSDIR}/graphics/png RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=1.4:${PORTSDIR}/devel/py-dateutil \ ${PYTHON_PKGNAMEPREFIX}pytz>=0:${PORTSDIR}/devel/py-pytz \ ${PYTHON_PKGNAMEPREFIX}parsing>=0:${PORTSDIR}/devel/py-parsing USES= pkgconfig shebangfix python USE_PYTHON= distutils autoplist CFLAGS+= -I${LOCALBASE}/include OPTIONS_DEFINE= EXAMPLES GTKBACKEND GTKAGGBACKEND TKAGGBACKEND WXAGGBACKEND OPTIONS_DEFAULT= GTKBACKEND GTKAGGBACKEND TKAGGBACKEND GTKBACKEND_DESC= GTK backend support GTKAGGBACKEND_DESC= GTKAgg backend support TKAGGBACKEND_DESC= TKAgg backend support WXAGGBACKEND_DESC= WXAgg backend support PORTEXAMPLES= * -UNIQUENAME= ${PORTNAME} .include .if defined(PACKAGE_BUILDING) && \ ( ${PORT_OPTIONS:MGTKBACKEND} || ${PORT_OPTIONS:MGTKAGGBACKEND} || \ ${PORT_OPTIONS:MTKAGGBACKEND} || ${PORT_OPTIONS:MWXAGGBACKEND} ) BUILD_DEPENDS+= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver .endif .if ${PORT_OPTIONS:MGTKBACKEND} || ${PORT_OPTIONS:MGTKAGGBACKEND} USE_GNOME= gtk20 pygtk2 .endif .if ${PORT_OPTIONS:MGTKBACKEND} GTK_BACKEND= True PLIST_SUB+= GTKBACKEND="" .else GTK_BACKEND= False PLIST_SUB+= GTKBACKEND="@comment " .endif .if ${PORT_OPTIONS:MGTKAGGBACKEND} GTKAGG_BACKEND= True PLIST_SUB+= GTKAGGBACKEND="" .else GTKAGG_BACKEND= False PLIST_SUB+= GTKAGGBACKEND="@comment " .endif .if ${PORT_OPTIONS:MTKAGGBACKEND} BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter USES+= tk:run TKAGG_BACKEND= True PLIST_SUB+= TKAGGBACKEND="" .else TKAGG_BACKEND= False PLIST_SUB+= TKAGGBACKEND="@comment " .endif .if ${PORT_OPTIONS:MWXAGGBACKEND} USE_WX= 2.8+ WX_COMPS= python:lib CONFIGURE_ENV+= WX_CONFIG="${WX_CONFIG}" WXAGG_BACKEND= True .else WXAGG_BACKEND= False .endif EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} post-extract: ${CHMOD} -R ga+r ${WRKDIR} post-patch: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|%%TCL_INCLUDEDIR%%|${TCL_INCLUDEDIR}|g' \ -e 's|%%TK_INCLUDEDIR%%|${TK_INCLUDEDIR}|g' \ -e 's|%%TCL_LIBDIR%%|${TCL_LIBDIR}|g' \ -e 's|%%TK_LIBDIR%%|${TK_LIBDIR}|g' \ -e 's|%%TCL_VER%%|${TCL_SHLIB_VER}|g' \ -e 's|%%TK_VER%%|${TK_SHLIB_VER}|g' \ ${WRKSRC}/setupext.py ${REINPLACE_CMD} -e 's|%%GTK_BACKEND%%|${GTK_BACKEND}|g' \ -e 's|%%GTKAGG_BACKEND%%|${GTKAGG_BACKEND}|g' \ -e 's|%%TKAGG_BACKEND%%|${TKAGG_BACKEND}|g' \ -e 's|%%WXAGG_BACKEND%%|${WXAGG_BACKEND}|g' \ ${WRKSRC}/setup.cfg .if ${PORT_OPTIONS:MEXAMPLES} post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR} .endif .include Index: head/math/py-symeig/Makefile =================================================================== --- head/math/py-symeig/Makefile (revision 394507) +++ head/math/py-symeig/Makefile (revision 394508) @@ -1,40 +1,37 @@ # Created by: Li-Lun Wang # $FreeBSD$ PORTNAME= symeig PORTVERSION= 1.5 PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= SF/mdp-toolkit/mdp-toolkit/2.4 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Symmetrical eigenvalue routines for NumPy LICENSE= BSD3CLAUSE BUILD_DEPENDS+= ${PYNUMPY} RUN_DEPENDS+= ${PYNUMPY} -LATEST_LINK= py-${PORTNAME} -OPTIONSFILE= ${PORT_DBDIR}/py-numpy/options - USES= fortran python:2 USE_PYTHON= distutils autoplist LDFLAGS+= -shared OPTIONS_DEFINE= ATLAS ATLAS_DESC= Use optimized blas library ATLAS_LIB_DEPENDS= libatlas.so:${PORTSDIR}/math/atlas ATLAS_LIB_DEPENDS_OFF= libblas.so:${PORTSDIR}/math/blas \ liblapack.so:${PORTSDIR}/math/lapack .include .if ${PORT_OPTIONS:MATLAS} && !exists(${LOCALBASE}/lib/libalapack.a) IGNORE= atlas needs to be built with WITH_STATIC for symeig to function properly .endif .include Index: head/math/sage/Makefile =================================================================== --- head/math/sage/Makefile (revision 394507) +++ head/math/sage/Makefile (revision 394508) @@ -1,133 +1,131 @@ # Created by: Stephen Montgomery-Smith # $FreeBSD$ PORTNAME= sage PORTVERSION= 6.7 CATEGORIES= math MASTER_SITES= http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/ \ http://mirrors.xmission.com/sage/src/ \ http://www-ftp.lip6.fr/pub/math/sagemath/src/ \ http://mirrors.mit.edu/sage/src/ \ http://www.sagemath.org/src-old/ PKGNAMESUFFIX= -math MAINTAINER= stephen@FreeBSD.org COMMENT= Open source Mathematics software LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.txt BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ convert:${PORTSDIR}/graphics/ImageMagick \ ffmpeg:${PORTSDIR}/multimedia/ffmpeg \ automake:${PORTSDIR}/devel/automake \ autoconf:${PORTSDIR}/devel/autoconf LIB_DEPENDS= libatlas.so:${PORTSDIR}/math/atlas \ liblapack.so:${PORTSDIR}/math/lapack RUN_DEPENDS= bash:${PORTSDIR}/shells/bash pre-extract: @${ECHO_MSG} @${ECHO_MSG} Instead of installing the port, which will take a considerable amount of @${ECHO_MSG} extra time and space, you can instead type \"make build\". Then you can move @${ECHO_MSG} work/${PORTNAME}-${PORTVERSION} to wherever you like, and run sage from there. @${ECHO_MSG} However, there is no guarantee that this alternative will always work. @sleep 10 PLIST_FILES= bin/sage USE_TEX= latex:build USES= gmake iconv jpeg tk perl5 # Optimization flags will be defined by the source CFLAGS:= ${CFLAGS:C/^-O.*$//} FFLAGS:= ${CFLAGS:C/^-O.*$//} MAKE_ENV+= SAGE_PORT=yes \ SAGE_ATLAS_LIB=${LOCALBASE}/lib \ DOT_SAGE=${WRKSRC}/tmp/.sage \ SAGE_FAT_BINARY=yes \ PERL=${PERL} -LATEST_LINK= sage-math # Conflicts with graphics/sage. - # The following is needed for the lapack subpackage. MAKE_ARGS+= ARCH="${AR}" post-patch: # Create wrapper for invocation of make. @${MKDIR} ${WRKSRC}/local/bin @${LN} -s -f ${LOCALBASE}/bin/gmake ${WRKSRC}/local/bin/make # Create wrapper for invocation of ld. @${SED} -e 's#%%LD%%#${LOCALBASE}/bin/ld#' \ ${FILESDIR}/ld.in > ${WRKSRC}/local/bin/ld @${CHMOD} +x ${WRKSRC}/local/bin/ld post-build: ${RM} -rf ${WRKSRC}/tmp/.sage ${CHMOD} -R a+rX ${WRKSRC} check regression-test test: build @${ECHO_MSG} This test can also be performed after installation by typing \"sage -testall\". @${ECHO_MSG} cd ${WRKSRC} && ${SETENV} DOT_SAGE=${WRKSRC}/tmp/.sage ./sage -testall ${RM} -f ${WRKSRC}/python*.core # Don't build docs (because of mysterious race conditions). ALL_TARGET= build INSTALL_SAGE_DIR= ${PREFIX}/${PORTNAME}-${PORTVERSION} STAGED_SAGE_DIR= ${STAGEDIR}${INSTALL_SAGE_DIR} do-install: cd ${WRKDIR} && ${FIND} -s ${WRKSRC} | \ ${GREP} -v '^${WRKSRC}/upstream/' | \ ${GREP} -v '^${WRKSRC}/tmp' | \ ${SED} -e 's#${WRKDIR}/##' | \ ${CPIO} -pmud -R ${BINOWN}:${BINGRP} ${STAGEDIR}${PREFIX} ${ECHO_CMD} | ${SETENV} DOT_SAGE=${STAGED_SAGE_DIR}/tmp/.sage ${STAGED_SAGE_DIR}/sage ${RM} -rf ${STAGED_SAGE_DIR}/tmp/.sage ${SED} -e "s+#SAGE_ROOT.*+SAGE_ROOT=${INSTALL_SAGE_DIR}+" ${WRKSRC}/sage > ${STAGEDIR}${PREFIX}/bin/sage ${CHMOD} ${BINMODE} ${STAGEDIR}${PREFIX}/bin/sage post-install: @${FIND} -s ${STAGED_SAGE_DIR} -not -type d | \ ${SED} -e 's#${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} @${FIND} -s ${STAGED_SAGE_DIR} -type d -empty | \ ${SED} -e 's#${STAGEDIR}${PREFIX}/#@exec ${MKDIR} %D/#' >> ${TMPPLIST} @${FIND} -s ${STAGED_SAGE_DIR} -type d -depth | \ ${SED} -e 's#${STAGEDIR}${PREFIX}/#@dirrm #' >> ${TMPPLIST} .include MAKE_ENV+= MAKE="${MAKE} -j${MAKE_JOBS_NUMBER}" .ifdef MAINTAINER_MODE test-fbsd-patches: patch ${RM} -rf ${WRKSRC}/build/pkgs/*/src; \ for d in ${WRKSRC}/build/pkgs/*; do \ if ls $$d/fbsd-patch-* > /dev/null 2>&1; then \ ${ECHO_MSG} Testing patches in $${d##*/}; \ b=$${d##*/}-`${CAT} $$d/package-version.txt | ${SED} 's/\.p.*//'`; \ c=${WRKSRC}/upstream/$$b.tar.bz2 ; \ if [ ! -e $$c ]; then \ c=${WRKSRC}/upstream/$$b.tar.gz ; \ if [ ! -e $$c ]; then \ ${ECHO_MSG} Couldn\'t find $$c; \ exit 1; \ fi; \ fi; \ b=`echo $$b | sed 's/python/Python/'` ; \ if ! (cd $$d && tar xf $$c && ${MV} $$b src); then \ ${ECHO_MSG} Unable to unarchive $$c; \ exit 1; \ fi; \ if ! (cd $$d && ${CAT} fbsd-patch-* | patch); then \ ${ECHO_MSG} Patches in $${d##*/} failed; \ exit 1; \ fi; \ fi; \ done; \ ${RM} -rf ${WRKSRC}/build/pkgs/*/src .endif .include Index: head/math/vtk5/Makefile =================================================================== --- head/math/vtk5/Makefile (revision 394507) +++ head/math/vtk5/Makefile (revision 394508) @@ -1,287 +1,286 @@ # Created by: Mykola Khotyaintsev # $FreeBSD$ PORTNAME= vtk PORTVERSION= 5.10.1 PORTREVISION= 5 CATEGORIES= math graphics MASTER_SITES= http://www.vtk.org/files/release/${PORTVERSION:R}/ PKGNAMESUFFIX= 5 -UNIQUENAME= ${PKGBASE} MAINTAINER= ports@FreeBSD.org COMMENT= The Visualization Toolkit LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/Copyright.txt LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff WRKSRC= ${WRKDIR}/VTK${PORTVERSION} CONFLICTS= vtk-4* SUB_FILES= vtk.3 USES= cmake:outsource jpeg USE_XORG= xt USE_LDCONFIG= ${PREFIX}/lib/vtk-${PORTVERSION:R} CXXFLAGS+= -DUSE_INTERP_ERRORLINE OPTIONS_DEFINE= SHARED THEORA VTKMPEG2 GL2PS OSMESA QT4 JAVA \ PYTHON TCLTK DBGLEAKS LEGACY DOCS OPTIONS_DEFAULT=SHARED GL2PS QT4 TCLTK LEGACY SHARED_DESC= Build shared libraries VTKMPEG2_DESC= Patented MPEG2 encoder module GL2PS_DESC= OpenGL to PostScript conversion module OSMESA_DESC= Use Mesa for off-screen rendering DBGLEAKS_DESC= Build leak checking support LEGACY_DESC= Include legacy code PLIST_SUB+= VER1="${PORTVERSION}" \ VER2="${PORTVERSION:R}" \ VER3="${PORTVERSION:R:R}" PORTDOCS= README.html CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=ON \ -DBUILD_TESTING:BOOL=OFF \ -DKWSYS_LFS_DISABLE:BOOL=ON \ -DVTK_USE_PARALLEL:BOOL=ON \ -DVTK_USE_GUISUPPORT:BOOL=ON \ -DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T:BOOL=ON \ -DVTK_DATA_ROOT:PATH=${EXAMPLESDIR}/VTKData \ -DOPENGL_INCLUDE_DIR:PATH=${LOCALBASE}/include \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libGL.so \ -DOPENGL_glu_LIBRARY:FILEPATH=${LOCALBASE}/lib/libGLU.so .include .if ${PORT_OPTIONS:MSHARED} CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON \ -DVTK_USE_SYSTEM_EXPAT:BOOL=ON \ -DVTK_USE_SYSTEM_JPEG:BOOL=ON \ -DVTK_USE_SYSTEM_PNG:BOOL=ON \ -DVTK_USE_SYSTEM_TIFF:BOOL=ON \ -DVTK_USE_SYSTEM_ZLIB:BOOL=ON PLIST_SUB+= SHARED="" \ STATIC="@comment " .else CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=OFF \ -DVTK_USE_SYSTEM_EXPAT:BOOL=OFF \ -DVTK_USE_SYSTEM_JPEG:BOOL=OFF \ -DVTK_USE_SYSTEM_PNG:BOOL=OFF \ -DVTK_USE_SYSTEM_TIFF:BOOL=OFF \ -DVTK_USE_SYSTEM_ZLIB:BOOL=OFF PLIST_SUB+= SHARED="@comment " \ STATIC="" .endif .if ${PORT_OPTIONS:MVTKMPEG2} LIB_DEPENDS+= libvtkMPEG2Encode.so:${PORTSDIR}/multimedia/vtkmpeg2encode PLIST_SUB+= MPEG="" CMAKE_ARGS+= -DVTK_USE_PATENTED:BOOL=ON \ -DVTK_USE_MPEG2_ENCODER:BOOL=ON \ -DvtkMPEG2Encode_INCLUDE_PATH=${LOCALBASE}/include/vtk-${PORTVERSION:R} \ -DvtkMPEG2Encode_LIBRARIES=${LOCALBASE}/lib/libvtkMPEG2Encode.so .else PLIST_SUB+= MPEG="@comment " .endif .if ${PORT_OPTIONS:MTHEORA} LIB_DEPENDS+= libogg.so:${PORTSDIR}/audio/libogg \ libtheora.so:${PORTSDIR}/multimedia/libtheora PLIST_SUB+= THEORA="" CMAKE_ARGS+= -DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON .else PLIST_SUB+= THEORA="@comment " CMAKE_ARGS+= -DVTK_USE_OGGTHEORA_ENCODER:BOOL=OFF .endif .if ${PORT_OPTIONS:MGL2PS} LIB_DEPENDS+= libgl2ps.so:${PORTSDIR}/print/gl2ps CMAKE_ARGS+= -DVTK_USE_GL2PS:BOOL=ON PLIST_SUB+= GL2PS="" .else PLIST_SUB+= GL2PS="@comment " .endif .if ${PORT_OPTIONS:MOSMESA} LIB_DEPENDS+= libOSMesa.so:${PORTSDIR}/graphics/libosmesa CMAKE_ARGS+= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DVTK_USE_X:BOOL=OFF PLIST_SUB+= X11="@comment " .else USE_GL= yes CMAKE_ARGS+= -DVTK_USE_X:BOOL=ON PLIST_SUB+= X11="" .endif .if ${PORT_OPTIONS:MQT4} USE_QT4= corelib designer gui opengl qmake_build uic_build \ moc_build rcc_build CMAKE_ARGS+= -DVTK_USE_GUISUPPORT:BOOL=ON \ -DVTK_USE_QVTK:BOOL=ON \ -DVTK_USE_QT:BOOL=ON \ -DDESIRED_QT_VERSION:STRING=4 \ -DQT_QMAKE_EXECUTABLE:FILEPATH=${QMAKE} \ -DVTK_INSTALL_QT_DIR:FILEPATH=/lib/qt4/plugins/designer PLIST_SUB+= QT="" .else CMAKE_ARGS+= -DVTK_USE_GUISUPPORT:BOOL=OFF PLIST_SUB+= QT="@comment " .endif .if ${PORT_OPTIONS:MPYTHON} IGNORE= python wrapping does not stage properly .if ${PORT_OPTIONS:MSHARED} == "" IGNORE= python wrapping requires shared libraries.\ Run make config again and enable the SHARED option .endif USES+= python USE_PYTHON= distutils PYDISTUTILS_PKGNAME= VTK # INSTALLS_EGGINFO support has been removed # INSTALLS_EGGINFO= yes CMAKE_ARGS+= -DVTK_WRAP_PYTHON:BOOL=ON \ -DVTK_PYTHON_SETUP_ARGS:STRING='--prefix="${PREFIX}"' PLIST_SUB+= PYTHON="" .else CMAKE_ARGS+= -DVTK_WRAP_PYTHON:BOOL=OFF PLIST_SUB+= PYTHON="@comment " .endif .if ${PORT_OPTIONS:MTCLTK} CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=ON PLIST_SUB+= TCLTK="" .else CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=OFF PLIST_SUB+= TCLTK="@comment " .endif # Used by both tcl/tk and python .if ${PORT_OPTIONS:MTCLTK} || ${PORT_OPTIONS:MPYTHON} USES+= tk CMAKE_ARGS+= -DVTK_USE_TK:BOOL=ON \ -DTCL_INCLUDE_PATH=${TCL_INCLUDEDIR} \ -DTK_INCLUDE_PATH=${TK_INCLUDEDIR} PLIST_SUB+= WRAP_PYTHON_OR_TCLTK="" \ TCLTK_VER="${TCL_VER}" .else PLIST_SUB+= WRAP_PYTHON_OR_TCLTK="@comment " .endif .if ${PORT_OPTIONS:MJAVA} .if ${PORT_OPTIONS:MSHARED} == "" IGNORE= java wrapping requires shared libraries.\ Run make config again and enable the SHARED option .endif .if ${ARCH} == "amd64" CXXFLAGS+= -fPIC .endif CATEGORIES+= java USE_JAVA= yes JAVA_VENDOR= openjdk JAVA_VERSION= 1.6+ CMAKE_ARGS+= -DVTK_WRAP_JAVA:BOOL=ON \ -DJAVA_AWT_INCLUDE_PATH:FILEPATH=${JAVA_HOME}/include \ -DJAVA_INCLUDE_PATH:FILEPATH=${JAVA_HOME}/include \ -DJAVA_INCLUDE_PATH2:FILEPATH=${JAVA_HOME}/include/freebsd \ -DJAVA_AWT_LIBRARY:FILEPATH=${JAVA_HOME}/jre/lib/${ARCH}/libjawt.so \ -DJAVA_JVM_LIBRARY:FILEPATH=${JAVA_HOME}/jre/lib/${ARCH}/server/libjvm.so PLIST_SUB+= JAVA="" .else PLIST_SUB+= JAVA="@comment " .endif # Wrapping .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MTCLTK} || ${PORT_OPTIONS:MJAVA} PLIST_SUB+= WRAPPING="" .else PLIST_SUB+= WRAPPING="@comment " .endif .if ${PORT_OPTIONS:MDBGLEAKS} CMAKE_ARGS+= -DVTK_DEBUG_LEAKS:BOOL=ON .else CMAKE_ARGS+= -DVTK_DEBUG_LEAKS:BOOL=OFF .endif .if ${PORT_OPTIONS:MLEGACY} CMAKE_ARGS+= -DVTK_LEGACY_REMOVE:BOOL=OFF PLIST_SUB+= LEGACY="" .else CMAKE_ARGS+= -DVTK_LEGACY_REMOVE:BOOL=ON PLIST_SUB+= LEGACY="@comment " .endif post-patch: ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \ ${WRKSRC}/Hybrid/vtkVRMLImporter.cxx # ${REINPLACE_CMD} -e '222s|)|) \&\& !defined(__FreeBSD__)|' \ # ${WRKSRC}/Utilities/kwsys/SharedForward.h.in ${REINPLACE_CMD} -e '25,30d' ${WRKSRC}/Wrapping/Python/setup.py.in .if ${PORT_OPTIONS:MSHARED} ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|g' \ ${WRKSRC}/IO/vtkPNGReader.cxx .endif post-configure: .if ${PORT_OPTIONS:MJAVA} ${REINPLACE_CMD} -e 's|-ljawt$$||' \ ${CONFIGURE_WRKSRC}/Wrapping/Java/CMakeFiles/VTKJavaExecutable.dir/link.txt .endif pre-install: .if ${PORT_OPTIONS:MPYTHON} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .endif ${MKDIR} ${STAGEDIR}${PREFIX}/man/man3 ${INSTALL_MAN} ${WRKDIR}/vtk.3 ${STAGEDIR}${PREFIX}/man/man3 .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR} .endif LIBS_TOFIX= vtkNetCDF_cxx vtkhdf5 vtkhdf5_hl LIBDIR= ${PREFIX}/lib/vtk-${PORTVERSION:R}/ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/qt4/plugins/designer/libQVTKWidgetPlugin.so # Ports system wants us to conform to lib.so.x format, but VTK5 # only installs lib.so.x.y and lib.so.x.y.z. .if ${PORT_OPTIONS:MSHARED} @for lib in ${LIBS_TOFIX}; do \ ${INSTALL_LIB} ${STAGEDIR}${LIBDIR}/lib$$lib.so ${STAGEDIR}${LIBDIR}/lib$$lib.so.${PORTVERSION}; \ ${LN} -sf lib$$lib.so.${PORTVERSION} ${STAGEDIR}${LIBDIR}/lib$$lib.so.${PORTVERSION:R}; \ done @cd ${STAGEDIR}${LIBDIR}; \ for lib in *.so; do \ ${RM} -f $$lib; \ ${LN} -sf $$lib.${PORTVERSION} $$lib.${PORTVERSION:R}; \ ${LN} -sf $$lib.${PORTVERSION:R} $$lib.${PORTVERSION:R:R}; \ ${LN} -sf $$lib.${PORTVERSION:R:R} $$lib; \ done .if ${PORT_OPTIONS:MQT4} @cd ${STAGEDIR}${LIBDIR}; \ for lib in libQVTK*.so; do \ ${RM} -f $$lib; \ ${LN} -sf $$lib.${PORTVERSION} $$lib; \ ${LN} -sf $$lib.${PORTVERSION} $$lib.${PORTVERSION:R:R}; \ done .endif .endif .if ${PORT_OPTIONS:MVTKMPEG2} @${ECHO_CMD} @${ECHO_CMD} "This port uses the patented MPEG2 encoder." @${ECHO_CMD} .endif .include Index: head/math/vtk6/Makefile =================================================================== --- head/math/vtk6/Makefile (revision 394507) +++ head/math/vtk6/Makefile (revision 394508) @@ -1,217 +1,215 @@ # Created by: gahr # $FreeBSD$ PORTNAME= vtk PORTVERSION= 6.1.0 PORTREVISION= 8 CATEGORIES= math graphics MASTER_SITES= http://www.vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 6 DISTNAME= ${PORTNAME:tu}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= The Visualization Toolkit LICENSE= BSD3CLAUSE LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \ libpng.so:${PORTSDIR}/graphics/png \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libexpat.so:${PORTSDIR}/textproc/expat2 # # TODO # * VTK Groups -UNIQUENAME= ${PKGBASE} - CONFLICTS= vtk-4* USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER} USE_XORG= xt USES= alias cmake:outsource jpeg CXXFLAGS+= -I${LOCALBASE}/include VTK_SHORT_VER= ${PORTVERSION:R} PLIST_SUB+= VER2=${VTK_SHORT_VER} DOCSDIR= ${PREFIX}/share/doc/vtk-${VTK_SHORT_VER} DATADIR= ${PREFIX}/share/vtk-${VTK_SHORT_VER} # Options OPTIONS_DEFINE= DESIGNER DOCS OSMESA EXAMPLES SHARED OPTIONS_DEFAULT=SHARED #OPTIONS_DEFAULT=MPI Qt JAVA PYTHON TCLTK DESIGNER OSMESA_DESC= Use Mesa for off-screen rendering DESIGNER_DESC= Build the Qt Designer plugin OPTIONS_SUB= yes # Options groups #VTK_GROUPS= Imaging MPI Qt Rendering StandAlone Views VTK_GROUPS= MPI VTK_WRAPS= JAVA TCLTK PYTHON OPTIONS_GROUP= Groups Wrapping OPTIONS_GROUP_Groups=${VTK_GROUPS} OPTIONS_GROUP_Wrapping=${VTK_WRAPS} .for g in ${VTK_GROUPS} $g_DESC= Build the $g group .endfor .for w in ${VTK_WRAPS} $w_DESC= $w wrapping .endfor # Qt radio OPTIONS_RADIO= Qt OPTIONS_RADIO_Qt= QT4 QT5 Qt_DESC= Qt GUI support QT4_DESC= Qt 4 toolkit support QT5_DESC= Qt 5 toolkit support CMAKE_ARGS+= -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_ARCHIVE_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_NO_DOCUMENTATION=ON \ -DVTK_INSTALL_QT_DIR=/${QT_LIBDIR_REL}/plugins/designer \ -DVTK_USE_SYSTEM_EXPAT:BOOL=ON \ -DVTK_USE_SYSTEM_TIFF:BOOL=ON \ -DVTK_USE_SYSTEM_PNG:BOOL=ON \ -DVTK_USE_SYSTEM_JPEG:BOOL=ON \ -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON \ -DVTK_USE_SYSTEM_ZLIB:BOOL=ON \ -DSTAGEDIR=${STAGEDIR} \ -DModule_vtkTestingCore:BOOL=ON \ -DModule_vtkTestingRendering:BOOL=ON SHARED_CMAKE_ON= -DBUILD_SHARED_LIBS:BOOL=ON SHARED_CMAKE_OFF= -DBUILD_SHARED_LIBS:BOOL=OFF .include .for g in ${VTK_GROUPS} . if ${PORT_OPTIONS:M${g}} CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=ON . else CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=OFF . endif .endfor .if ${PORT_OPTIONS:MOSMESA} LIB_DEPENDS+= libOSMesa.so:${PORTSDIR}/graphics/libosmesa CMAKE_ARGS+= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DVTK_USE_X:BOOL=OFF PLIST_SUB+= X11="@comment " \ OSMESA="" .else USE_GL= gl PLIST_SUB+= X11="" \ OSMESA="@comment " .endif .if ${PORT_OPTIONS:MEXAMPLES} CMAKE_ARGS+= -DBUILD_EXAMPLES:BOOL=ON .endif .if ${PORT_OPTIONS:MMPI} LIB_DEPENDS+= libmpi.so:${PORTSDIR}/net/openmpi CMAKE_ARGS+= -DMPIEXEC=${LOCALBASE}/mpi/openmpi/bin/mpiexec PLIST_SUB+= MPI="" .else PLIST_SUB+= MPI="@comment " .endif .if ${PORT_OPTIONS:MQT4} USE_QT4= gui_build gui_run network_build network_run sql_build sql_run \ moc_build uic_build qmake_build rcc_build opengl webkit_build \ webkit_run CMAKE_ARGS+= -DVTK_QT_VERSION:STRING="4" .endif .if ${PORT_OPTIONS:MQT5} USE_QT5= gui_build gui_run network_build network_run sql_build sql_run \ qmake_build opengl webkit_build buildtools webkit_run CMAKE_ARGS+= -DVTK_QT_VERSION:STRING="5" \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 .endif .if ${PORT_OPTIONS:MQT4} || ${PORT_OPTIONS:MQT5} CMAKE_ARGS+= -DVTK_Group_Qt:BOOL=ON PLIST_SUB+= QT="" .else PLIST_SUB+= QT="@comment " CMAKE_ARGS+= -DVTK_Group_Qt:BOOL=OFF .endif .if ${PORT_OPTIONS:MDESIGNER} .if ${PORT_OPTIONS:MQT5} USE_QT5+= designer .elif ${PORT_OPTIONS:MQT4} USE_QT4+= designer .else IGNORE= designer requires either QT4 or QT5 .endif PLIST_SUB+= DESIGNER="" CMAKE_ARGS+= -DQT_DESIGNER_PLUGIN:BOOL=ON .else PLIST_SUB+= DESIGNER="@comment " CMAKE_ARGS+= -DQT_DESIGNER_PLUGIN:BOOL=OFF .endif # Wrapping .if ${PORT_OPTIONS:MJAVA} CATEGORIES+= java USE_JAVA= yes CMAKE_ARGS+= -DVTK_WRAP_JAVA:BOOL=ON \ -DJAVA_INCLUDE_PATH:PATH=${JAVA_HOME}/include \ -DJAVA_AWT_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ARCH}/libjawt.so \ -DJAVA_JVM_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ATCH}/libjava.so PLIST_SUB+= JAVA="" .else CMAKE_ARGS+= -DVTK_WRAP_JAVA:BOOL=OFF \ -DModule_vtkWrappingJava:BOOL=OFF PLIST_SUB+= JAVA="@comment " .endif .if ${PORT_OPTIONS:MPYTHON} USES+= python CMAKE_ARGS+= -DVTK_WRAP_PYTHON:BOOL=ON \ -DVTK_INSTALL_PYTHON_MODULE_DIR:STRING=${PYTHONPREFIX_SITELIBDIR} \ -DModule_vtkRenderingMatplotlib:BOOL=ON \ -DModule_vtkPythonInterpreter:BOOL=ON PLIST_SUB+= PYTHON="" RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:${PORTSDIR}/math/py-matplotlib .else CMAKE_ARGS+= -DVTK_WRAP_PYTHON:BOOL=OFF PLIST_SUB+= PYTHON="@comment " .endif .if ${PORT_OPTIONS:MTCLTK} USES+= tk CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=ON \ -DVTK_Group_Tk:BOOL=ON \ -DTCL_INCLUDE_PATH:PATH=${TCL_INCLUDEDIR} \ -DTK_INCLUDE_PATH:PATH=${TK_INCLUDEDIR} \ -DVTK_INSTALL_TCL_DIR=lib/vtk-${VTK_SHORT_VER} PLIST_SUB+= TCLTK="" .else CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=OFF \ -DVTK_Group_Tk:BOOL=OFF PLIST_SUB+= TCLTK="@comment " .endif .if ${PORT_OPTIONS:MJAVA} || ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MTCLTK} PLIST_SUB+= WRAP="" .else PLIST_SUB+= WRAP="@comment " .endif .if ${PORT_OPTIONS:MDOCS} CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=ON BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen .else CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=OFF .endif .include Index: head/misc/e2fsprogs-libuuid/Makefile =================================================================== --- head/misc/e2fsprogs-libuuid/Makefile (revision 394507) +++ head/misc/e2fsprogs-libuuid/Makefile (revision 394508) @@ -1,50 +1,49 @@ # Created by: Matthias Andree # $FreeBSD$ PORTREVISION= 0 CATEGORIES= misc devel PKGNAMESUFFIX= -libuuid COMMENT= UUID library from e2fsprogs package CONFLICTS= ossp-uuid-[0-9]* CONFIGURE_ARGS= --enable-elf-shlibs OPTIONS_EXCLUDE= NLS -OPTIONSFILE= # works around optionsNG trouble MASTERDIR= ${.CURDIR}/../../sysutils/e2fsprogs MAKE_ARGS= LIB_SUBDIRS=lib/uuid USE_LDCONFIG= yes ALL_TARGET= libs INSTALL_TARGET= install install-shlibs INSTALL_WRKSRC= ${WRKSRC}/lib/uuid FILESDIR= ${.CURDIR}/files USE_RC_SUBR= uuidd PKGDIR= ${.CURDIR} post-patch:: ${REINPLACE_CMD} -e 's,/var/lib/libuuid,/var/run/libuuid,g' \ -e 's,/usr/sbin/uuidd,${PREFIX}/sbin/uuidd,' \ ${WRKSRC}/lib/uuid/*.[ch] pre-build: ${MKDIR} ${WRKSRC}/lib/uuid/elfshared cd ${WRKSRC}/util && ${MAKE_CMD} subst # ulimit guards against runaway tests # failure to launch uuidd is fine (one might be running, or we may lack # privileges); if it works, it'll quit after 50 seconds post-build: cd ${WRKSRC}/misc && ${MAKE_CMD} uuidgen uuidgen.1 uuidd uuidd.8 cd ${INSTALL_WRKSRC} && ( ulimit -t 5 && ${MAKE_CMD} check ) post-install: ${INSTALL_PROGRAM} ${WRKSRC}/misc/uuidgen ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/misc/uuidgen.1 ${STAGEDIR}${MAN8PREFIX}/man/man1/ ${INSTALL_PROGRAM} ${WRKSRC}/misc/uuidd ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_MAN} ${WRKSRC}/misc/uuidd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/ ${MKDIR} ${STAGEDIR}/var/run/libuuid .include "${MASTERDIR}/Makefile" Index: head/misc/gnu-watch/Makefile =================================================================== --- head/misc/gnu-watch/Makefile (revision 394507) +++ head/misc/gnu-watch/Makefile (revision 394508) @@ -1,30 +1,30 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= watch DISTVERSION= 3.2.8 CATEGORIES= misc MASTER_SITES= http://procps.sourceforge.net/ \ LOCAL/ehaupt PKGNAMEPREFIX= gnu- DISTNAME= procps-${DISTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= GNU watch command LICENSE= GPLv2 LDFLAGS+= -lncurses -PLIST_FILES= bin/${UNIQUENAME} man/man1/gnu-watch.1.gz +PLIST_FILES= bin/${PKGBASE} man/man1/gnu-watch.1.gz do-build: ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \ - -o ${WRKSRC}/${UNIQUENAME} + -o ${WRKSRC}/${PKGBASE} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${UNIQUENAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${PKGBASE} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/watch.1 \ - ${STAGEDIR}${MANPREFIX}/man/man1/${UNIQUENAME}.1 + ${STAGEDIR}${MANPREFIX}/man/man1/${PKGBASE}.1 .include Index: head/misc/nut/Makefile =================================================================== --- head/misc/nut/Makefile (revision 394507) +++ head/misc/nut/Makefile (revision 394508) @@ -1,63 +1,64 @@ # Created by: Kirill Ponomarew # $FreeBSD$ PORTNAME= nut PORTVERSION= 20.1 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= SF PKGNAMEPREFIX= health- MAINTAINER= jhale@FreeBSD.org COMMENT= Nutrition software to record what you eat LICENSE= GPLv2 # (or later) LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake -DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} PORTDOCS= CREDITS README nut.html OPTIONS_DEFINE= FLTK DOCS OPTIONS_SUB= yes FLTK_DESC= Install FLTK GUI FLTK_LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libexpat.so:${PORTSDIR}/textproc/expat2 \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ libfltk_images.so:${PORTSDIR}/x11-toolkits/fltk FLTK_USE= XORG=x11,xau,xcb,xdmcp,xext,xft,xinerama,xpm,xrender FLTK_MAKE_ENV= HAVE_FLTK=1 FLTK_NUT="fltk/Nut" FLTK_MAKE_ENV_OFF= HAVE_FLTK=0 FLTK_NUT="" .include .if ${PORT_OPTIONS:MFLTK} DESKTOP_ENTRIES="Nut" "" "nuticon" "Nut" \ "Science;Biology;MedicalSoftware;" false .endif post-patch: @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ 's|$$(prefix)/lib/nut|${DATADIR}| ; \ s|^HAVE_FLTK|#HAVE_FLTK| ; \ s|^FLTK_NUT|#FLTK_NUT| ; \ s|^CC =|CC ?=| ; \ s|^CXX =|CXX ?=| ; \ s|^CFLAGS :=|CFLAGS +=| ; \ s|$$(OPT)||' do-install: .if ${PORT_OPTIONS:MFLTK} ${INSTALL_PROGRAM} ${WRKSRC}/fltk/Nut ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/nuticon.xpm ${STAGEDIR}${PREFIX}/share/pixmaps .endif ${INSTALL_PROGRAM} ${WRKSRC}/nut ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/nut.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/raw.data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/misc/tellico-kde4/Makefile =================================================================== --- head/misc/tellico-kde4/Makefile (revision 394507) +++ head/misc/tellico-kde4/Makefile (revision 394508) @@ -1,28 +1,26 @@ # Created by: Kirill Ponomarew # $FreeBSD$ PORTNAME= tellico PORTVERSION= 2.3.10 PORTREVISION= 1 CATEGORIES= misc kde MASTER_SITES= http://tellico-project.org/files/ MAINTAINER= kde@FreeBSD.org COMMENT= Collection manager for KDE LICENSE= GPLv2 LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib \ libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4 \ libyaz.so:${PORTSDIR}/net/yaz \ libexempi.so:${PORTSDIR}/textproc/exempi \ libqjson.so:${PORTSDIR}/devel/qjson -LATEST_LINK= ${PORTNAME}-kde4 - USE_KDE4= kdelibs kdeprefix libksane pimlibs \ automoc4 qimageblitz libkcddb libkcompactdisc USE_QT4= qmake_build moc_build uic_build rcc_build USES= cmake gettext pkgconfig shared-mime-info tar:bzip2 .include Index: head/multimedia/gstreamer-qt4/Makefile =================================================================== --- head/multimedia/gstreamer-qt4/Makefile (revision 394507) +++ head/multimedia/gstreamer-qt4/Makefile (revision 394508) @@ -1,38 +1,36 @@ # Created by: Dima Panov # $FreeBSD$ PORTNAME= gstreamer PORTVERSION= 0.10.3 PORTREVISION= 3 CATEGORIES= multimedia MASTER_SITES= http://gstreamer.freedesktop.org/src/qt-${PORTNAME}/ PKGNAMESUFFIX= -qt4 DISTNAME= qt-${PORTNAME}-${PORTVERSION} MAINTAINER= fluffy@FreeBSD.org COMMENT= Qt4 bindings for GStreamer multimedia library -LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} - LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs USES= bison cmake gmake pkgconfig tar:bzip2 USE_LDCONFIG= yes USE_GSTREAMER= yes USE_GNOME= glib20 USE_KDE4= automoc4 USE_QT4= corelib gui opengl declarative \ qmake_build moc_build rcc_build uic_build qtestlib_build PLIST_SUB= VERSION="${PORTVERSION}" GST_VERSION="${GST_VERSION}" GST_VERSION= ${PORTVERSION:C/..$//} CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:STRING="${LOCALBASE}/include" LDFLAGS+= -L${LOCALBASE}/lib post-extract: ${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/CMakeLists.txt .include Index: head/multimedia/kplayer-kde4/Makefile =================================================================== --- head/multimedia/kplayer-kde4/Makefile (revision 394507) +++ head/multimedia/kplayer-kde4/Makefile (revision 394508) @@ -1,31 +1,29 @@ # Created by: Stefan Eßer # $FreeBSD$ PORTNAME= kplayer PORTVERSION= 0.7 PORTREVISION= 7 CATEGORIES= multimedia kde MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Movie player based on mplayer RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer -LATEST_LINK= ${PORTNAME}-kde4 - USES= cmake gettext tar:bzip2 USE_QT4= corelib qmake_build moc_build rcc_build uic_build USE_KDE4= kdeprefix kdelibs automoc4 LDFLAGS+= -L${LOCALBASE}/lib -lX11 -L${LOCALBASE}/kde4/lib -lsolid post-patch: .for lang in da en es it pt sv ${REINPLACE_CMD} -e "s,HTML_INSTALL_DIR},HTML_INSTALL_DIR}/${lang} SUBDIR kplayer,g" \ ${WRKSRC}/doc/${lang}/CMakeLists.txt .endfor #Fix build with kdelibs>=4.5.0 ${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \ ${WRKSRC}/doc/*/index.docbook .include Index: head/multimedia/spotify-websocket-api/Makefile =================================================================== --- head/multimedia/spotify-websocket-api/Makefile (revision 394507) +++ head/multimedia/spotify-websocket-api/Makefile (revision 394508) @@ -1,67 +1,66 @@ # Created by: rene@FreeBSD.org # $FreeBSD$ PORTNAME= SpotifyWebsocketAPI PORTVERSION= 0.2 PORTREVISION= 12 CATEGORIES= multimedia python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rene@FreeBSD.org COMMENT= Websocket API and client for Spotify IGNORE= login fails due to protocol changes DEPRECATED= ${IGNORE} EXPIRATION_DATE=2016-01-01 NO_ARCH= yes USE_GITHUB= yes GH_ACCOUNT= Hexxeh GH_PROJECT= spotify-websocket-api GH_TAGNAME= d397ed2 USES= python shebangfix SHEBANG_FILES= spotify_web/spotify.py ${CLIENTFILES} USE_PYTHON= autoplist concurrent distutils -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= EXAMPLES PORTEXAMPLES= blocking.py nonblocking.py decode_mercury.py play.py \ serve.py ctype.py gstreamer.py CLIENTFILES= clients/respotify/respotify.py \ clients/respotify/respotify-helper.py RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests1>=1.1.0:${PORTSDIR}/www/py-requests1 \ ${PYTHON_PKGNAMEPREFIX}ws4py>=0.2.4:${PORTSDIR}/www/py-ws4py \ ${PYTHON_PKGNAMEPREFIX}protobuf>=2.4.1:${PORTSDIR}/devel/py-protobuf \ ${PYTHON_PKGNAMEPREFIX}lxml>=3.1:${PORTSDIR}/devel/py-lxml \ ${PYTHON_PKGNAMEPREFIX}mpd2>=0:${PORTSDIR}/audio/py-mpd2 \ musicpd:${PORTSDIR}/audio/musicpd EXAMPLES_LIB_DEPENDS=libao.so:${PORTSDIR}/audio/libao \ libmpg123.so:${PORTSDIR}/audio/mpg123 EXAMPLES_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}curl>=0:${PORTSDIR}/ftp/py-curl \ ${PYTHON_PKGNAMEPREFIX}gobject>=0:${PORTSDIR}/devel/py-gobject EXAMPLES_USE= GSTREAMER=python PLIST_FILES= bin/respotify bin/respotify-helper.py bin/respotify.py post-patch: ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" \ ${WRKSRC}/clients/respotify/respotify.py post-install: .for f in ${CLIENTFILES} ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor ${LN} -s ${PREFIX}/bin/respotify.py ${STAGEDIR}${PREFIX}/bin/respotify ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${PORTEXAMPLES} ${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .include Index: head/net/freeradius3/Makefile =================================================================== --- head/net/freeradius3/Makefile (revision 394507) +++ head/net/freeradius3/Makefile (revision 394508) @@ -1,375 +1,371 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= freeradius DISTVERSION= 3.0.9 CATEGORIES= net MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \ ftp://ftp.ntua.gr/pub/net/radius/freeradius/%SUBDIR%/ \ http://ftp.cc.uoc.gr/mirrors/ftp.freeradius.org/%SUBDIR%/ \ http://mirrors.rit.edu/zi/ MASTER_SITE_SUBDIR= . old PKGNAMESUFFIX= 3 DISTNAME= freeradius-server-${DISTVERSION} MAINTAINER= zi@FreeBSD.org COMMENT= Free RADIUS server implementation LICENSE= GPLv2 LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm \ libtalloc.so:${PORTSDIR}/devel/talloc LOGDIR?= /var/log KRB5_CONFIG?= /usr/bin/krb5-config --libs CONFLICTS_INSTALL= gnu-radius-[0-9].* openradius-[0-9].* radiusd-cistron-[0-9].* \ freeradius-mysql-[0-9].* freeradius-[^3].* USE_RC_SUBR= radiusd USES= gmake tar:bzip2 shebangfix SHEBANG_FILES= src/modules/rlm_counter/rad_counter scripts/sql/radsqlrelay GNU_CONFIGURE= yes USE_OPENSSL= yes # Prevent /root/.rnd leftover MAKE_ARGS+= HOME=/dev/null CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= ${CPPFLAGS} LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= PORTVERSION=${DISTVERSION} LIBVER=0${PORTVERSION:C/\./0/g} OPTIONS_SUB= yes OPTIONS_DEFINE= USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \ PGSQL UNIXODBC FIREBIRD REDIS PYTHON RUBY \ EXPERIMENTAL UDPFROMTO DEVELOPER EDIR PERL REST \ FREETDS IDN SSL_PORT DOCS SQLITE3 OPTIONS_DEFAULT=USER PERL USER_DESC= Run as user freeradius, group freeradius HEIMDAL_DESC= With Heimdal Kerberos support HEIMDAL_PORT_DESC= With Heimdal Kerberos from ports UNIXODBC_DESC= With unixODBC database support FIREBIRD_DESC= With Firebird database support (EXPERIMENTAL) EXPERIMENTAL_DESC= Build experimental modules UDPFROMTO_DESC= Compile in UDPFROMTO support DEVELOPER_DESC= Enable developer options EDIR_DESC= Enable eDirectory support (implies LDAP) REST_DESC= Enable RESTful API support SSL_PORT_DESC= Use OpenSSL from the ports collection SQLITE3_CONFIGURE_WITH=rlm_sql_sqlite SQLITE3_LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 .include # Default requirements for rc script _REQUIRE= NETWORKING SERVERS .if ${PORT_OPTIONS:MUSER} SUB_LIST+= RUN_AS_USER="yes" .else SUB_LIST+= RUN_AS_USER="no" .endif # User and group to use if USER option is chosen RADIUS_USER= freeradius RADIUS_GROUP= freeradius USERS= ${RADIUS_USER} GROUPS= ${RADIUS_GROUP} -.if ${PORT_OPTIONS:MHEIMDAL} && empty(PORT_OPTIONS:MKERBEROS) -${UNIQUENAME}_SET+= KERBEROS -.endif - -.if ${PORT_OPTIONS:MKERBEROS} +.if ${PORT_OPTIONS:MKERBEROS} || ${PORT_OPTIONS:MHEIMDAL} .if ${PORT_OPTIONS:MHEIMDAL} .if ${PORT_OPTIONS:MHEIMDAL_PORT} LIB_DEPENDS+= libkrb5.so:${PORTSDIR}/security/heimdal .endif CONFIGURE_ARGS+=--enable-heimdal-krb5 --enable-pthread-support .else LIB_DEPENDS+= libkrb5support.so:${PORTSDIR}/security/krb5 .endif CONFIGURE_ARGS+=--with-rlm_krb5 .if ${PORT_OPTIONS:MHEIMDAL} && empty(PORT_OPTIONS:MHEIMDAL_PORT) CONFIGURE_ARGS+=--with-rlm-krb5-lib-dir=/usr/lib CONFIGURE_ARGS+=--with-rlm-krb5-include-dir=/usr/include CONFIGURE_ENV+= KRB5LIBS="$$(${KRB5_CONFIG})" .else CONFIGURE_ARGS+=--with-rlm-krb5-lib-dir=${LOCALBASE}/lib CONFIGURE_ARGS+=--with-rlm-krb5-include-dir=${LOCALBASE}/include .endif PLIST_SUB+= KRB5="" .else CONFIGURE_ARGS+=--without-rlm_krb5 PLIST_SUB+= KRB5="@comment " .endif .if ${PORT_OPTIONS:MEDIR} CONFIGURE_ARGS+=--with-edir .if empty(PORT_OPTIONS:MLDAP) PORT_OPTIONS+= LDAP .endif .else CONFIGURE_ARGS+=--without-edir .endif .if ${PORT_OPTIONS:MLDAP} USE_OPENLDAP= YES CONFIGURE_ARGS+=--with-rlm_ldap PLIST_SUB+= LDAP="" _REQUIRE+= slapd .else CONFIGURE_ARGS+=--without-rlm_ldap PLIST_SUB+= LDAP="@comment " .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= YES CONFIGURE_ARGS+=--with-rlm_sql_mysql PLIST_SUB+= MYSQL="" _REQUIRE+= mysql .else CONFIGURE_ARGS+=--without-rlm_sql_mysql PLIST_SUB+= MYSQL="@comment " .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql CONFIGURE_ARGS+=--with-rlm_sql_postgresql PLIST_SUB+= PGSQL="" _REQUIRE+= postgresql .else CONFIGURE_ARGS+=--without-rlm_sql_postgresql PLIST_SUB+= PGSQL="@comment " .endif .if ${PORT_OPTIONS:MUNIXODBC} CONFIGURE_ARGS+=--with-rlm_sql_unixodbc PLIST_SUB+= UNIXODBC="" LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC .else CONFIGURE_ARGS+=--without-rlm_sql_unixodbc PLIST_SUB+= UNIXODBC="@comment " .endif .if ${PORT_OPTIONS:MFIREBIRD} USE_FIREBIRD= YES CONFIGURE_ARGS+=--with-rlm_sql_firebird PLIST_SUB+= FIREBIRD="" .else CONFIGURE_ARGS+=--without-rlm_sql_firebird PLIST_SUB+= FIREBIRD="@comment " .endif # Firebird module is still experimental .if ${PORT_OPTIONS:MFIREBIRD} && empty(PORT_OPTIONS:MEXPERIMENTAL) EXPM= yes .endif .if ${PORT_OPTIONS:MPERL} USES+= perl5 CONFIGURE_ARGS+=--with-rlm_perl PLIST_SUB+= RLMPERL="" .else CONFIGURE_ARGS+=--without-perl --without-rlm_perl PLIST_SUB+= RLMPERL="@comment " .endif .if ${PORT_OPTIONS:MPYTHON} USES+= python CONFIGURE_ARGS+=--with-rlm_python \ --with-rlm-python-lib-dir=${PYTHON_LIBDIR} \ --with-rlm-python-include-dir=${PYTHON_INCLUDEDIR} PLIST_SUB+= RLMPYTHON="" .else CONFIGURE_ARGS+=--without-rlm_python PLIST_SUB+= RLMPYTHON="@comment " .endif .if ${PORT_OPTIONS:MRUBY} IGNORE= with ruby support leaks memory, breaks signal handling. Please disable RUBY support USE_RUBY= yes CONFIGURE_ARGS+=--with-rlm_ruby PLIST_SUB+= RLMRUBY="" .else CONFIGURE_ARGS+=--without-rlm_ruby --with-ruby=no PLIST_SUB+= RLMRUBY="@comment " .endif # rlm_ruby module is still experimental .if ${PORT_OPTIONS:MRUBY} && empty(PORT_OPTIONS:MEXPERIMENTAL) EXPM= yes .endif .if ${PORT_OPTIONS:MREDIS} LIB_DEPENDS+= libhiredis.so:${PORTSDIR}/databases/hiredis CONFIGURE_ARGS+=--with-rlm_redis --with-rlm_rediswho PLIST_SUB+= RLMREDIS="" .else CONFIGURE_ARGS+=--without-rlm_redis --without-rlm_rediswho PLIST_SUB+= RLMREDIS="@comment " .endif # redis module is still experimental .if ${PORT_OPTIONS:MREDIS} && empty(PORT_OPTIONS:MEXPERIMENTAL) EXPM= yes .endif .if ${PORT_OPTIONS:MREST} LIB_DEPENDS+= libjson-c.so:${PORTSDIR}/devel/json-c \ libcurl.so:${PORTSDIR}/ftp/curl CONFIGURE_ARGS+=--with-rlm_rest \ --with-libcurl=${LOCALBASE} \ --with-jsonc-lib-dir=${LOCALBASE}/lib \ --with-jsonc-include-dir=${LOCALBASE}/include PLIST_SUB+= RLMREST="" .else CONFIGURE_ARGS+=--without-rlm_rest PLIST_SUB+= RLMREST="@comment " .endif # rest module is still experimental .if ${PORT_OPTIONS:MREST} && empty(PORT_OPTIONS:MEXPERIMENTAL) EXPM= yes .endif .if ${PORT_OPTIONS:MFREETDS} LIB_DEPENDS+= libct.so:${PORTSDIR}/databases/freetds CONFIGURE_ARGS+=--with-rlm_freetds PLIST_SUB+= RLMFREETDS="" .else CONFIGURE_ARGS+=--without-rlm_freetds PLIST_SUB+= RLMFREETDS="@comment " .endif # freetds module is still experimental .if ${PORT_OPTIONS:MFREETDS} && empty(PORT_OPTIONS:MEXPERIMENTAL) EXPM= yes .endif .if ${PORT_OPTIONS:MIDN} LIB_DEPENDS+= libidn.so:${PORTSDIR}/dns/libidn CONFIGURE_ARGS+=--with-rlm_idn PLIST_SUB+= RLMIDN="" .else CONFIGURE_ARGS+=--without-rlm_idn PLIST_SUB+= RLMIDN="@comment " .endif # freetds module is still experimental .if ${PORT_OPTIONS:MIDN} && empty(PORT_OPTIONS:MEXPERIMENTAL) EXPM= yes .endif .if ${PORT_OPTIONS:MEXPERIMENTAL} || defined(EXPM) CONFIGURE_ARGS+=--with-experimental-modules PLIST_SUB+= EXPM="" .else CONFIGURE_ARGS+=--without-experimental-modules PLIST_SUB+= EXPM="@comment " .endif .if ${PORT_OPTIONS:MDEVELOPER} CONFIGURE_ARGS+=--enable-developer # Turn off compiler optimisations CFLAGS!= ${ECHO} ${CFLAGS} | ${SED} -Ee 's:-O[0-9]?[[:space:]]*::g' .else CONFIGURE_ARGS+=--quiet .endif # Compile in UDPFROMTO support .if ${PORT_OPTIONS:MUDPFROMTO} CONFIGURE_ARGS+=--with-udpfromto .endif .if ${PORT_OPTIONS:MSSL_PORT} WITH_OPENSSL_PORT=yes .endif .include # if we're installing, place sample configs into ${EXAMPLESDIR} MAKE_ARGS+= raddbdir="${EXAMPLESDIR}/raddb" R=${STAGEDIR} FREERADIUS_LIBDIR= lib/freeradius-${PORTVERSION} PLIST_SUB+= LIBDIR="${FREERADIUS_LIBDIR}" USE_LDCONFIG= ${PREFIX}/${FREERADIUS_LIBDIR} .if empty(PORT_OPTIONS:MDOCS) CONFIGURE_ARGS+=--without-docdir PLIST_SUB+= PORTDOCS="@comment " SUB_LIST+= PORTDOCS="@comment " .else CONFIGURE_ARGS+=--with-docdir=${DOCSDIR} PLIST_SUB+= PORTDOCS="" SUB_LIST+= PORTDOCS="" .endif # This conditionality avoids -L/usr/lib in the radiusd build step when # building with base system OpenSSL .if ${OPENSSLLIB} != "/usr/lib" CONFIGURE_ARGS+=--with-openssl-libraries=${OPENSSLLIB} .endif CONFIGURE_ARGS+=--with-logdir=${LOGDIR} \ --with-openssl-includes=${OPENSSLINC} \ --prefix=${PREFIX} --libdir=${PREFIX}/${FREERADIUS_LIBDIR} \ --localstatedir=/var \ --without-rlm_eap_ikev2 \ --without-rlm_eap_tnc \ --without-rlm_eap2 \ --without-rlm_opendirectory \ --without-rlm_sql_db2 \ --without-rlm_sql_iodbc \ --without-rlm_sql_sybase \ --without-rlm_yubikey \ --without-rlm_sql_oracle \ --without-rlm_securid \ --without-rlm_cache_memcached \ --with-vmps \ --with-collectdclient-lib-dir=/dev/null .if ${ARCH} == amd64 CONFIGURE_ARGS+=--with-pic .endif SUB_FILES+= pkg-install pkg-message SUB_LIST+= RADIUS_USER="${RADIUS_USER}" \ RADIUS_GROUP="${RADIUS_GROUP}" \ RADDB_WORK="${WRKSRC}/raddb" \ RADDB="${PREFIX}/etc/raddb" \ LOGDIR="${LOGDIR}" \ LIBDIR="${PREFIX}/${FREERADIUS_LIBDIR}" SUB_LIST+= REQUIRE="${_REQUIRE}" post-patch: # never try to find execinfo.h (needed until we can enable/disable backtrace @${REINPLACE_CMD} -e '/#include /d' ${WRKSRC}/configure @${REINPLACE_CMD} -Ee "s:tests/all.mk ::" ${WRKSRC}/src/all.mk @${CP} ${WRKSRC}/m4/ax_with_prog.m4 ${WRKSRC} # Patch raddb/certs/Makefile for the full path to the openssl binary (using # ports OpenSSL if installed) @${REINPLACE_CMD} -E \ -e "s:^([[:space:]])+openssl:\1${OPENSSLBASE}/bin/openssl:g" \ ${WRKSRC}/raddb/certs/Makefile @${REINPLACE_CMD} -Ee 's: ..R...sbindir./rc.radiusd : :' \ ${WRKSRC}/scripts/all.mk # If we're using Heimdal from base, alter the LIBS variable .if ${PORT_OPTIONS:MHEIMDAL} && empty(PORT_OPTIONS:MHEIMDAL_PORT) @${REINPLACE_CMD} -e 's|LIBS|KRB5LIBS|g' ${WRKSRC}/src/modules/rlm_krb5/configure @${REINPLACE_CMD} -e 's|-lkrb5|$$(${KRB5_CONFIG})|g' \ ${WRKSRC}/src/modules/rlm_krb5/configure .endif .if empty(PORT_OPTIONS:MRUBY) @${RM} -fr ${WRKSRC}/src/modules/rlm_ruby/ .endif post-build: @${FIND} ${WRKSRC}/build/lib -type f -name '*.so' -exec ${STRIP_CMD} {} \; @${FIND} ${WRKSRC}/build/bin -type f -exec ${STRIP_CMD} {} \; .include Index: head/net/hping-devel/Makefile =================================================================== --- head/net/hping-devel/Makefile (revision 394507) +++ head/net/hping-devel/Makefile (revision 394508) @@ -1,46 +1,45 @@ # $FreeBSD$ PORTNAME= hping PORTVERSION= 3.0.20051105 CATEGORIES= net security MASTER_SITES= http://www.hping.org/ \ http://200ok.org/distfiles/hping/ PKGNAMESUFFIX= -devel DISTNAME= hping3-20051105 MAINTAINER= ecu@200ok.org COMMENT= Network auditing tool LIB_DEPENDS= libtcl84.so:${PORTSDIR}/lang/tcl84 -NO_LATEST_LINK= yes CONFLICTS= hping-[0-9]* GNU_CONFIGURE= yes USES= alias gmake PLIST_FILES= sbin/hping lib/hping/hpingstdlib.htcl man/man8/hping.8.gz PORTDOCS= AS-BACKDOOR HPING2-HOWTO.txt HPING2-IS-OPEN \ MORE-FUN-WITH-IPID SPOOFED_SCAN.txt APD.txt \ API.txt HPING3.txt PORTEXAMPLES= README apd.htcl apd2.htcl ciscoios.htcl ciscoios0.htcl \ cloner.htcl igrp.htcl isn-spectrogram.htcl nat-noise.htcl \ passivets.htcl ping.htcl raw.htcl show-tcpseq.htcl \ showled.htcl do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hping3 ${STAGEDIR}${PREFIX}/sbin/hping ${INSTALL_MAN} ${WRKSRC}/docs/hping3.8 ${STAGEDIR}${PREFIX}/man/man8/hping.8 ${MKDIR} ${STAGEDIR}${PREFIX}/lib/hping ${INSTALL_DATA} ${WRKSRC}/lib/hpingstdlib.htcl ${STAGEDIR}${PREFIX}/lib/hping/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR} .for i in ${PORTEXAMPLES} ${REINPLACE_CMD} -e \ 's|hpingstdlib.htcl|${PREFIX}/lib/hping/hpingstdlib.htcl|' \ ${WRKSRC}/lib/${i} .endfor ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/lib/|} ${STAGEDIR}${EXAMPLESDIR} .include Index: head/net/isc-dhcp41-server/Makefile =================================================================== --- head/net/isc-dhcp41-server/Makefile (revision 394507) +++ head/net/isc-dhcp41-server/Makefile (revision 394508) @@ -1,190 +1,188 @@ # $FreeBSD$ PORTNAME= dhcp DISTVERSION= 4.1-ESV PORTREVISION= ${DHCP_PORTREVISION} PORTEPOCH= 2 CATEGORIES= net MASTER_SITES= ISC/${PORTNAME}/${DISTVERSION}-${PATCHLEVEL} PKGNAMEPREFIX= isc- PKGNAMESUFFIX= 41-${SUBSYS} DISTFILES= ${PORTNAME}-${DISTVERSION}-${PATCHLEVEL}${EXTRACT_SUFX} MAINTAINER= douglas@douglasthrift.net COMMENT?= The ISC Dynamic Host Configuration Protocol server LICENSE= ISCL PATCHLEVEL= R7 PORTREVISION_SERVER= 9 PORTREVISION_CLIENT= 2 PORTREVISION_RELAY= 5 SUBSYS?= server WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-${PATCHLEVEL} -UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} - OPTIONS_DEFINE= IPV6 OPTIONS_DEFAULT=IPV6 .if ${SUBSYS} == server OPTIONS_DEFINE+= PARANOIA LDAP LDAP_SSL OPTIONS_DEFAULT+= PARANOIA LDAP_SSL PARANOIA_DESC= Enable support for chroot LDAP_SSL_DESC= Support LDAP over SSL/TLS .endif # PORTREVISION and CONFLICTS handling .if ${SUBSYS} == client CONFLICTS= isc-dhcp3?-client* isc-dhcp4[2-9]-client* DHCP_PORTREVISION= ${PORTREVISION_CLIENT} .elif ${SUBSYS} == relay CONFLICTS= isc-dhcp3?-relay* isc-dhcp4[2-9]-relay* DHCP_PORTREVISION= ${PORTREVISION_RELAY} .else CONFLICTS= isc-dhcp3?-server* isc-dhcp4[2-9]-server* DHCP_PORTREVISION= ${PORTREVISION_SERVER} .endif .if ${SUBSYS} == server USERS= dhcpd GROUPS= dhcpd .endif MAN_COMPRESSED= no GNU_CONFIGURE= yes CPPFLAGS+= -D_PATH_DHCLIENT_SCRIPT='\"${PREFIX}/sbin/dhclient-script\"' -D_PATH_DHCLIENT_CONF='\"${PREFIX}/etc/dhclient.conf\"' -D_PATH_DHCPD_CONF='\"${PREFIX}/etc/dhcpd.conf\"' SCRIPTS_ENV+= PKG_PREFIX=${PREFIX} .include .if ${SUBSYS} == server CONFIGURE_ARGS+= --localstatedir=/var CFLAGS+= -fPIC .endif DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist .if ${SUBSYS} == server USE_RC_SUBR= isc-dhcpd .elif ${SUBSYS} == relay USE_RC_SUBR= isc-dhcrelay .endif SCHEMA_DIR= ${PREFIX}/share/${PKGBASE} DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} DATADIR= /var/db MSG_FILE= ${.CURDIR}/pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message REINPLACE_SUB= PREFIX="${PREFIX}" PKGMESSAGE_SUB= PREFIX="${PREFIX}" MAN1PREFIX="${MAN1PREFIX}" \ DOCSDIR="${DOCSDIR}" # XXX: Have to hardcode 4.1.1 here as there is no release for 4.1.2 or later. .if ${PORT_OPTIONS:MLDAP} MASTER_SITES+= http://cloud.github.com/downloads/dcantrell/ldap-for-dhcp/:ldap LDAPPATCHRELEASE= 2 LDAPPATCHDIST= ldap-for-dhcp-4.1.1-${LDAPPATCHRELEASE} LDAPPATCHFILE= dhcp-4.1.1-ldap.patch DISTFILES+= ${LDAPPATCHDIST}.tar.gz:ldap PLIST_SUB+= SCHEMA_DIR="${SCHEMA_DIR:S,^${PREFIX}/,,}" LDAP="" PORTDOCS+= README.ldap LICENSE.ldap LDAP_SCRIPT= ${WRKDIR}/${LDAPPATCHDIST}/dhcpd-conf-to-ldap LDAP_SCHEMA= ${WRKDIR}/${LDAPPATCHDIST}/dhcp.schema USES+= autoreconf perl5 USE_PERL5= run USE_OPENLDAP= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= --with-ldap .else PLIST_SUB+= LDAP="@comment " .endif # WITH_DHCP_LDAP_SSL without WITH_DHCP_LDAP is silly. .if ${PORT_OPTIONS:MLDAP_SSL} && ${PORT_OPTIONS:MLDAP} USE_OPENSSL= yes CONFIGURE_ARGS+= --with-ldapcrypto LIBS+= -lssl # hack to get bsd.openssl.mk included at this late state .include "${PORTSDIR}/Mk/bsd.openssl.mk" .endif .if ${PORT_OPTIONS:MPARANOIA} CONFIGURE_ARGS+= --enable-paranoia --enable-early-chroot SUB_LIST+= PARANOIA="yes" .else SUB_LIST+= PARANOIA="no" .endif .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+= --enable-dhcpv6 PLIST_SUB+= IPV6="" .else CONFIGURE_ARGS+= --disable-dhcpv6 PLIST_SUB+= IPV6="@comment " .endif pre-patch: .if ${SUBSYS} == server && ${PORT_OPTIONS:MLDAP} @${PATCH} ${WRKDIR}/${LDAPPATCHDIST}/${LDAPPATCHFILE} ${FILESDIR}/extra-patch-${LDAPPATCHFILE} @cd ${WRKSRC} && ${PATCH} -p1 < ${WRKDIR}/${LDAPPATCHDIST}/${LDAPPATCHFILE} .endif post-patch: @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${MSG_FILE} > ${PKGMESSAGE} @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${WRKSRC}/client/dhclient.conf do-install: ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/${SUBSYS} install .if ${SUBSYS} == server ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/dhcpctl install ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/dst install ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/omapip install ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/includes install ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/common install ${INSTALL_DATA} ${WRKSRC}/dhcpctl/dhcpctl.h ${STAGEDIR}${PREFIX}/include .if ${PORT_OPTIONS:MIPV6} ${INSTALL_DATA} ${WRKSRC}/doc/examples/dhcpd-dhcpv6.conf \ ${STAGEDIR}${PREFIX}/etc/dhcpd6.conf.sample .endif .endif .if ${PORT_OPTIONS:MLDAP} @${MKDIR} ${STAGEDIR}${SCHEMA_DIR} ${INSTALL_DATA} ${LDAP_SCHEMA} ${STAGEDIR}${SCHEMA_DIR} ${INSTALL_SCRIPT} ${LDAP_SCRIPT} ${STAGEDIR}${PREFIX}/bin .endif .if ${PORT_OPTIONS:MLDAP} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKDIR}/${LDAPPATCHDIST}/README.ldap ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKDIR}/${LDAPPATCHDIST}/LICENSE.ldap ${STAGEDIR}${DOCSDIR} .endif post-install: .if ${SUBSYS} == client ${INSTALL_SCRIPT} ${WRKSRC}/client/scripts/freebsd ${STAGEDIR}${PREFIX}/sbin/dhclient-script .elif ${SUBSYS} == server .if ${PORT_OPTIONS:MIPV6} @${LN} -sf isc-dhcpd ${STAGEDIR}${PREFIX}/etc/rc.d/isc-dhcpd6 .endif .elif ${SUBSYS} == relay .if ${PORT_OPTIONS:MIPV6} @${LN} -sf isc-dhcrelay ${STAGEDIR}${PREFIX}/etc/rc.d/isc-dhcrelay6 .endif .endif @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${MSG_FILE} > ${PKGMESSAGE} .if ${PORT_OPTIONS:MLDAP} @${REINPLACE_CMD} -e 's|^%%LDAP%%||g' ${PKGMESSAGE} .else @${REINPLACE_CMD} -e '/^%%LDAP%%/d' ${PKGMESSAGE} .endif .include Index: head/net/isc-dhcp42-server/Makefile =================================================================== --- head/net/isc-dhcp42-server/Makefile (revision 394507) +++ head/net/isc-dhcp42-server/Makefile (revision 394508) @@ -1,182 +1,180 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= dhcp DISTVERSION= 4.2.8 PORTREVISION= ${DHCP_PORTREVISION} CATEGORIES= net MASTER_SITES= ISC/${PORTNAME}/${DISTVERSION} PKGNAMEPREFIX= isc- PKGNAMESUFFIX= 42-${SUBSYS} #DISTNAME= ${PORTNAME}-${DISTVERSION}-${PATCHLEVEL} MAINTAINER= zi@FreeBSD.org COMMENT?= ISC Dynamic Host Configuration Protocol server LICENSE= ISCL USES= gmake PATCHLEVEL= P1 PORTREVISION_SERVER= 1 PORTREVISION_CLIENT= 0 PORTREVISION_RELAY= 0 SUBSYS?= server #WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-${PATCHLEVEL} -UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} - OPTIONS_DEFINE= IPV6 OPTIONS_DEFAULT=IPV6 .if ${SUBSYS} == server OPTIONS_DEFINE+= PARANOIA LDAP LDAP_SSL BIND_SYMBOLS OPTIONS_DEFAULT+= PARANOIA LDAP_SSL PARANOIA_DESC= Enable support for chroot LDAP_SSL_DESC= Support LDAP over SSL/TLS BIND_SYMBOLS_DESC= Enable BIND internal symbol table .endif # PORTREVISION and CONFLICTS handling .if ${SUBSYS} == client CONFLICTS= isc-dhcp3?-client-[0-9]* isc-dhcp4[13]-client-[0-9]* DHCP_PORTREVISION= ${PORTREVISION_CLIENT} .elif ${SUBSYS} == relay CONFLICTS= isc-dhcp3?-relay-[0-9]* isc-dhcp4[13]-relay-[0-9]* DHCP_PORTREVISION= ${PORTREVISION_RELAY} .else CONFLICTS= isc-dhcp3?-server-[0-9]* isc-dhcp4[13]-server-[0-9]* DHCP_PORTREVISION= ${PORTREVISION_SERVER} MAKE_JOBS_UNSAFE= yes .endif .if ${SUBSYS} == server USERS= dhcpd GROUPS= dhcpd .endif MAN_COMPRESSED= no GNU_CONFIGURE= yes CPPFLAGS+= -D_PATH_DHCLIENT_SCRIPT='\"${PREFIX}/sbin/dhclient-script\"' -D_PATH_DHCLIENT_CONF='\"${PREFIX}/etc/dhclient.conf\"' -D_PATH_DHCPD_CONF='\"${PREFIX}/etc/dhcpd.conf\"' SCRIPTS_ENV+= PKG_PREFIX=${PREFIX} .include .if ${SUBSYS} == server CONFIGURE_ARGS+=--localstatedir=/var CFLAGS+= -fPIC .endif DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist .if ${SUBSYS} == server USE_RC_SUBR= isc-dhcpd .elif ${SUBSYS} == relay USE_RC_SUBR= isc-dhcrelay .endif SCHEMA_DIR= ${PREFIX}/share/${PKGBASE} DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} DATADIR= /var/db MSG_FILE= ${.CURDIR}/pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message REINPLACE_SUB= PREFIX="${PREFIX}" PKGMESSAGE_SUB= PREFIX="${PREFIX}" MAN1PREFIX="${MAN1PREFIX}" \ DOCSDIR="${DOCSDIR}" .if ${PORT_OPTIONS:MPARANOIA} CONFIGURE_ARGS+=--enable-paranoia --enable-early-chroot SUB_LIST+= PARANOIA="yes" .else SUB_LIST+= PARANOIA="no" .endif .if ${PORT_OPTIONS:MLDAP} CONFIGURE_ARGS+=--with-ldap USE_OPENLDAP= yes LDAP_SCRIPT= ${WRKSRC}/contrib/ldap/dhcpd-conf-to-ldap LDAP_SCHEMA= ${WRKSRC}/contrib/ldap/dhcp.schema LDAP_README= ${WRKSRC}/contrib/ldap/README.ldap CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib PORTDOCS+= README.ldap PLIST_SUB+= SCHEMA_DIR="${SCHEMA_DIR:S,^${PREFIX}/,,}" LDAP="" USES+= shebangfix SHEBANG_FILES= contrib/ldap/dhcpd-conf-to-ldap .else PLIST_SUB+= LDAP="@comment " .endif .if ${PORT_OPTIONS:MLDAP_SSL} && ${PORT_OPTIONS:MLDAP} USE_OPENSSL= yes CONFIGURE_ARGS+=--with-ldapcrypto LIBS+= -lssl .include "${PORTSDIR}/Mk/bsd.openssl.mk" .endif .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+=--enable-dhcpv6 PLIST_SUB+= IPV6="" .else CONFIGURE_ARGS+=--disable-dhcpv6 PLIST_SUB+= IPV6="@comment " .endif .if ${PORT_OPTIONS:MBIND_SYMBOLS} USES+= perl5 .else EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-bind__Makefile .endif post-patch: @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${MSG_FILE} > ${PKGMESSAGE} @${REINPLACE_CMD} -e 's|/usr/local||g' \ ${WRKSRC}/doc/examples/dhcpd-dhcpv6.conf @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${WRKSRC}/client/dhclient.conf.example do-install: ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/${SUBSYS} install .if ${SUBSYS} == server ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/dhcpctl install ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/dst install ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/omapip install ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/includes install ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/common install ${INSTALL_DATA} ${WRKSRC}/dhcpctl/dhcpctl.h ${STAGEDIR}${PREFIX}/include .if ${PORT_OPTIONS:MIPV6} ${INSTALL_DATA} ${WRKSRC}/doc/examples/dhcpd-dhcpv6.conf \ ${STAGEDIR}${PREFIX}/etc/dhcpd6.conf.example .endif .if ${PORT_OPTIONS:MLDAP} @${MKDIR} ${STAGEDIR}${SCHEMA_DIR} ${INSTALL_DATA} ${LDAP_SCHEMA} ${STAGEDIR}${SCHEMA_DIR} ${INSTALL_SCRIPT} ${LDAP_SCRIPT} ${STAGEDIR}${PREFIX}/bin .endif .if ${PORT_OPTIONS:MLDAP} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${LDAP_README} ${STAGEDIR}${DOCSDIR} .endif .endif post-install: .if ${SUBSYS} == client ${INSTALL_SCRIPT} ${WRKSRC}/client/scripts/freebsd ${STAGEDIR}${PREFIX}/sbin/dhclient-script .elif ${SUBSYS} == server .if ${PORT_OPTIONS:MIPV6} @${LN} -sf isc-dhcpd ${STAGEDIR}${PREFIX}/etc/rc.d/isc-dhcpd6 .endif .elif ${SUBSYS} == relay .if ${PORT_OPTIONS:MIPV6} @${LN} -sf isc-dhcrelay ${STAGEDIR}${PREFIX}/etc/rc.d/isc-dhcrelay6 .endif .endif @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${MSG_FILE} > ${PKGMESSAGE} .include Index: head/net/isc-dhcp43-server/Makefile =================================================================== --- head/net/isc-dhcp43-server/Makefile (revision 394507) +++ head/net/isc-dhcp43-server/Makefile (revision 394508) @@ -1,183 +1,181 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= dhcp DISTVERSION= 4.3.2 PORTREVISION= ${DHCP_PORTREVISION} CATEGORIES= net MASTER_SITES= ISC/${PORTNAME}/${DISTVERSION} PKGNAMEPREFIX= isc- PKGNAMESUFFIX= 43-${SUBSYS} #DISTNAME= ${PORTNAME}-${DISTVERSION}-${PATCHLEVEL} MAINTAINER= zi@FreeBSD.org COMMENT?= ISC Dynamic Host Configuration Protocol server LICENSE= ISCL USES= gmake #PATCHLEVEL= P1 PORTREVISION_SERVER= 1 PORTREVISION_CLIENT= 0 PORTREVISION_RELAY= 0 SUBSYS?= server #WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-${PATCHLEVEL} -UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} - OPTIONS_DEFINE= IPV6 OPTIONS_DEFAULT=IPV6 .if ${SUBSYS} == server OPTIONS_DEFINE+= PARANOIA LDAP LDAP_SSL BIND_SYMBOLS OPTIONS_DEFAULT+= PARANOIA LDAP_SSL PARANOIA_DESC= Enable support for chroot LDAP_SSL_DESC= Support LDAP over SSL/TLS BIND_SYMBOLS_DESC= Enable BIND internal symbol table .endif # PORTREVISION and CONFLICTS handling .if ${SUBSYS} == client CONFLICTS= isc-dhcp3?-client-[0-9]* isc-dhcp4[12]-client-[0-9]* DHCP_PORTREVISION= ${PORTREVISION_CLIENT} .elif ${SUBSYS} == relay CONFLICTS= isc-dhcp3?-relay-[0-9]* isc-dhcp4[12]-relay-[0-9]* DHCP_PORTREVISION= ${PORTREVISION_RELAY} .else CONFLICTS= isc-dhcp3?-server-[0-9]* isc-dhcp4[12]-server-[0-9]* DHCP_PORTREVISION= ${PORTREVISION_SERVER} MAKE_JOBS_UNSAFE= yes .endif .if ${SUBSYS} == server USERS= dhcpd GROUPS= dhcpd .endif MAN_COMPRESSED= no GNU_CONFIGURE= yes CPPFLAGS+= -D_PATH_DHCLIENT_SCRIPT='\"${PREFIX}/sbin/dhclient-script\"' -D_PATH_DHCLIENT_CONF='\"${PREFIX}/etc/dhclient.conf\"' -D_PATH_DHCPD_CONF='\"${PREFIX}/etc/dhcpd.conf\"' SCRIPTS_ENV+= PKG_PREFIX=${PREFIX} .include .if ${SUBSYS} == server CONFIGURE_ARGS+=--localstatedir=/var CFLAGS+= -fPIC .endif DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist .if ${SUBSYS} == server USE_RC_SUBR= isc-dhcpd .elif ${SUBSYS} == relay USE_RC_SUBR= isc-dhcrelay .endif SCHEMA_DIR= ${PREFIX}/share/${PKGBASE} DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} DATADIR= /var/db MSG_FILE= ${.CURDIR}/pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message REINPLACE_SUB= PREFIX="${PREFIX}" PKGMESSAGE_SUB= PREFIX="${PREFIX}" MAN1PREFIX="${MAN1PREFIX}" \ DOCSDIR="${DOCSDIR}" .if ${PORT_OPTIONS:MPARANOIA} CONFIGURE_ARGS+=--enable-paranoia --enable-early-chroot SUB_LIST+= PARANOIA="yes" .else SUB_LIST+= PARANOIA="no" .endif .if ${PORT_OPTIONS:MLDAP} CONFIGURE_ARGS+=--with-ldap USE_OPENLDAP= yes LDAP_SCRIPT= ${WRKSRC}/contrib/ldap/dhcpd-conf-to-ldap LDAP_SCHEMA= ${WRKSRC}/contrib/ldap/dhcp.schema LDAP_README= ${WRKSRC}/contrib/ldap/README.ldap CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib PORTDOCS+= README.ldap PLIST_SUB+= SCHEMA_DIR="${SCHEMA_DIR:S,^${PREFIX}/,,}" LDAP="" USES+= shebangfix SHEBANG_FILES= contrib/ldap/dhcpd-conf-to-ldap .else PLIST_SUB+= LDAP="@comment " .endif .if ${PORT_OPTIONS:MLDAP_SSL} && ${PORT_OPTIONS:MLDAP} USE_OPENSSL= yes CONFIGURE_ARGS+=--with-ldapcrypto LIBS+= -lssl .include "${PORTSDIR}/Mk/bsd.openssl.mk" .endif .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+=--enable-dhcpv6 PLIST_SUB+= IPV6="" .else CONFIGURE_ARGS+=--disable-dhcpv6 PLIST_SUB+= IPV6="@comment " .endif .if ${PORT_OPTIONS:MBIND_SYMBOLS} USES+= perl5 .else EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-bind__Makefile .endif post-patch: @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${MSG_FILE} > ${PKGMESSAGE} @${REINPLACE_CMD} -e 's|/usr/local||g' \ ${WRKSRC}/doc/examples/dhcpd-dhcpv6.conf @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${WRKSRC}/client/dhclient.conf.example do-install: ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/${SUBSYS} install .if ${SUBSYS} == server ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/dhcpctl install ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/dst install ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/omapip install ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/includes install ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/common install ${INSTALL_DATA} ${WRKSRC}/dhcpctl/dhcpctl.h ${STAGEDIR}${PREFIX}/include ${MV} ${STAGEDIR}${PREFIX}/etc/dhcpd.conf.example ${STAGEDIR}${PREFIX}/etc/dhcpd.conf.sample .if ${PORT_OPTIONS:MIPV6} ${INSTALL_DATA} ${WRKSRC}/doc/examples/dhcpd-dhcpv6.conf \ ${STAGEDIR}${PREFIX}/etc/dhcpd6.conf.sample .endif .if ${PORT_OPTIONS:MLDAP} @${MKDIR} ${STAGEDIR}${SCHEMA_DIR} ${INSTALL_DATA} ${LDAP_SCHEMA} ${STAGEDIR}${SCHEMA_DIR} ${INSTALL_SCRIPT} ${LDAP_SCRIPT} ${STAGEDIR}${PREFIX}/bin .endif .if ${PORT_OPTIONS:MLDAP} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${LDAP_README} ${STAGEDIR}${DOCSDIR} .endif .endif post-install: .if ${SUBSYS} == client ${INSTALL_SCRIPT} ${WRKSRC}/client/scripts/freebsd ${STAGEDIR}${PREFIX}/sbin/dhclient-script .elif ${SUBSYS} == server .if ${PORT_OPTIONS:MIPV6} @${LN} -sf isc-dhcpd ${STAGEDIR}${PREFIX}/etc/rc.d/isc-dhcpd6 .endif .elif ${SUBSYS} == relay .if ${PORT_OPTIONS:MIPV6} @${LN} -sf isc-dhcrelay ${STAGEDIR}${PREFIX}/etc/rc.d/isc-dhcrelay6 .endif .endif @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${MSG_FILE} > ${PKGMESSAGE} .include Index: head/net/mosh/Makefile =================================================================== --- head/net/mosh/Makefile (revision 394507) +++ head/net/mosh/Makefile (revision 394508) @@ -1,41 +1,39 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= mosh PORTVERSION= 1.2.5 CATEGORIES= net MASTER_SITES= http://mosh.mit.edu/ \ http://mirrors.rit.edu/zi/ MAINTAINER= zi@FreeBSD.org COMMENT= Mobile terminal that supports intermittent connectivity LICENSE= GPLv3 LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf USE_PERL5= run GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-utempter --without-ncurses CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ TINFO_CFLAGS="-I/usr/include" INSTALL_TARGET= install-strip USE_OPENSSL= yes USES= autoreconf:autoconf perl5 pkgconfig -LATEST_LINK= mosh-term - CONFLICTS_INSTALL= mosh-0.[2-9].* PLIST_FILES= bin/mosh bin/mosh-server bin/mosh-client \ man/man1/mosh-client.1.gz man/man1/mosh-server.1.gz man/man1/mosh.1.gz .include .if ${OSVERSION} < 900004 LIB_DEPENDS+= libutempter.so:${PORTSDIR}/sysutils/libutempter CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .endif .include Index: head/net/openldap24-server/Makefile =================================================================== --- head/net/openldap24-server/Makefile (revision 394507) +++ head/net/openldap24-server/Makefile (revision 394508) @@ -1,589 +1,587 @@ # Created by: Xin LI # $FreeBSD$ PORTNAME= openldap DISTVERSION= 2.4.41 PORTREVISION= ${OPENLDAP_PORTREVISION} CATEGORIES= net databases MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \ ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \ ftp://ftp.dti.ad.jp/pub/net/OpenLDAP/%SUBDIR%/ \ ftp://ftp.u-aizu.ac.jp/pub/net/openldap/%SUBDIR%/ \ ftp://ftp.nl.uu.net/pub/unix/db/openldap/%SUBDIR%/ \ ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ http://www.openldap.org/software/download/OpenLDAP/%SUBDIR%/ MASTER_SITE_SUBDIR= openldap-release .if defined(CLIENT_ONLY) .if ${CLIENT_ONLY} == sasl PKGNAMESUFFIX= -sasl-client COMMENT= Open source LDAP client implementation with SASL2 support CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.* \ ${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.[0-3].* .else PKGNAMESUFFIX= -client COMMENT= Open source LDAP client implementation CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.[0-3].* \ ${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.* .endif .else PKGNAMESUFFIX?= -server -# Do not use ${PKGNAMESUFFIX} here has it can change later -OPTIONSFILE?= ${PORT_DBDIR}/${PORTNAME}24-server/options .endif EXTRACT_SUFX= .tgz MAINTAINER= delphij@FreeBSD.org COMMENT?= Open source LDAP server implementation LICENSE= OPENLDAP LICENSE_NAME= OpenLDAP Public License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept GNU_CONFIGURE= yes # :keepla because port uses lt_dlopen USES= cpe libtool:keepla USE_OPENSSL= yes .if !defined(CLIENT_ONLY) USERS= ldap GROUPS= ldap LDAP_USER?= ldap LDAP_GROUP?= ldap .endif WANT_OPENLDAP_VER?= 24 .if ${WANT_OPENLDAP_VER} != 24 BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER} .endif PORTREVISION_CLIENT= 0 PORTREVISION_SERVER= 0 OPENLDAP_SHLIB_MAJOR= 2 OPENLDAP_SHLIB_MINOR= 10.4 OPENLDAP_MAJOR= ${DISTVERSION:R} OPTIONS_DEFINE= DEBUG FETCH GSSAPI FETCH_DESC= Enable fetch(3) support GSSAPI_DESC= With GSSAPI support (implies SASL support) .if !defined(CLIENT_ONLY) OPTIONS_DEFINE+= DYNACL ACI BDB MDB DNSSRV PASSWD PERL RELAY SHELL OPTIONS_DEFINE+= SOCK ODBC RLOOKUPS SLP SLAPI TCP_WRAPPERS OPTIONS_DEFINE+= ACCESSLOG AUDITLOG COLLECT CONSTRAINT DDS OPTIONS_DEFINE+= DEREF DYNGROUP DYNLIST MEMBEROF PPOLICY PROXYCACHE OPTIONS_DEFINE+= REFINT RETCODE RWM SEQMOD SSSVLV SYNCPROV TRANSLUCENT OPTIONS_DEFINE+= UNIQUE VALSORT SMBPWD SHA2 DYNAMIC_BACKENDS SASL OPTIONS_DEFINE+= LMPASSWD OPTIONS_DEFINE+= OUTLOOK OPTIONS_DEFAULT= MDB SYNCPROV DYNAMIC_BACKENDS DYNACL_DESC= Run-time loadable ACL (experimental) ACI_DESC= Per-object ACI (experimental) BDB_DESC= With BerkeleyDB backend (DEPRECATED) MDB_DESC= With Memory-Mapped DB backend DNSSRV_DESC= With Dnssrv backend PASSWD_DESC= With Passwd backend PERL_DESC= With Perl backend RELAY_DESC= With Relay backend SHELL_DESC= With Shell backend (disables threading) SOCK_DESC= With Sock backend ODBC_DESC= With SQL backend RLOOKUPS_DESC= With reverse lookups of client hostnames SLP_DESC= With SLPv2 (RFC 2608) support SLAPI_DESC= With Netscape SLAPI plugin API (experimental) TCP_WRAPPERS_DESC= With tcp wrapper support ACCESSLOG_DESC= With In-Directory Access Logging overlay AUDITLOG_DESC= With Audit Logging overlay COLLECT_DESC= With Collect overy Services overlay CONSTRAINT_DESC= With Attribute Constraint overlay DDS_DESC= With Dynamic Directory Services overlay DEREF_DESC= With Dereference overlay DYNGROUP_DESC= With Dynamic Group overlay DYNLIST_DESC= With Dynamic List overlay MEMBEROF_DESC= With Reverse Group Membership overlay PPOLICY_DESC= With Password Policy overlay PROXYCACHE_DESC= With Proxy Cache overlay REFINT_DESC= With Referential Integrity overlay RETCODE_DESC= With Return Code testing overlay RWM_DESC= With Rewrite/Remap overlay SASL_DESC= With (Cyrus) SASL2 support SEQMOD_DESC= With Sequential Modify overlay SSSVLV_DESC= With ServerSideSort/VLV overlay SYNCPROV_DESC= With Syncrepl Provider overlay TRANSLUCENT_DESC= With Translucent Proxy overlay UNIQUE_DESC= With attribute Uniqueness overlay VALSORT_DESC= With Value Sorting overlay SMBPWD_DESC= With Samba Password hashes overlay SHA2_DESC= With SHA2 Password hashes overlay LMPASSWD_DESC= With LM hash password support (DEPRECATED) DYNAMIC_BACKENDS_DESC= Build dynamic backends OUTLOOK_DESC= Force caseIgnoreOrderingMatch on name attribute (experimental) .endif .if defined(CLIENT_ONLY) OPENLDAP_PORTREVISION= ${PORTREVISION_CLIENT} OPENLDAP_PKGFILESUFX= .client .else OPENLDAP_PORTREVISION= ${PORTREVISION_SERVER} OPENLDAP_PKGFILESUFX= .endif CONFIGURE_SED= -e 's,uuid/uuid.h,xxuuid/uuid.h,g' .include .if defined(CLIENT_ONLY) PORTDOCS= CHANGES drafts rfc .if ${CLIENT_ONLY} == sasl PORT_OPTIONS+= SASL .endif .if defined(USE_OPENLDAP) BROKEN= You have 'USE_OPENLDAP' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif .else USE_OPENLDAP= yes WANT_OPENLDAP_VER= 24 .if ${PORT_OPTIONS:MGSSAPI} && empty(PORT_OPTIONS:MSASL) PORT_OPTIONS+= SASL .endif .if ${PORT_OPTIONS:MSASL} WANT_OPENLDAP_SASL= yes CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.* PKGNAMESUFFIX= -sasl-server .if ${PORT_OPTIONS:MGSSAPI} RUN_DEPENDS+= cyrus-sasl-gssapi>0:${PORTSDIR}/security/cyrus-sasl2-gssapi .endif .else CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.* .endif .endif DESCR= ${PKGDIR}/pkg-descr${OPENLDAP_PKGFILESUFX} PLIST= ${PKGDIR}/pkg-plist${OPENLDAP_PKGFILESUFX} SCHEMATA= collective corba core cosine duaconf dyngroup \ inetorgperson java misc \ nis openldap pmi ppolicy LDAP_RUN_DIR?= /var/run/openldap LOCALSTATEDIR?= /var/db DATABASEDIR?= ${LOCALSTATEDIR}/openldap-data SUB_LIST+= LDAP_RUN_DIR=${LDAP_RUN_DIR} \ LDAP_USER=${LDAP_USER} \ LDAP_GROUP=${LDAP_GROUP} \ DATABASEDIR=${DATABASEDIR} \ PKGNAME=${PKGNAME} CONFIGURE_ARGS= --with-threads=posix \ --with-tls=openssl \ --disable-dependency-tracking \ --enable-dynamic # XXX FreeBSD does not implement O_DSYNC and fdatasync at this time. CFLAGS+= -DMDB_DSYNC=O_SYNC -Dfdatasync=fsync .if !${PORT_OPTIONS:MFETCH} CONFIGURE_ARGS+= --without-fetch .endif .if ${PORT_OPTIONS:MSASL} LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 CONFIGURE_ARGS+= --with-cyrus-sasl .else CONFIGURE_ARGS+= --without-cyrus-sasl .endif .if defined(CLIENT_ONLY) # client specific configuration CONFIGURE_ARGS+= --disable-slapd \ --disable-monitor \ --disable-bdb \ --disable-relay \ --disable-syncprov SUB_FILES+= pkg-message.client PKGMESSAGE= ${WRKSRC}/pkg-message.client USE_LDCONFIG= yes .else # server specific configuration USE_LDCONFIG= ${PREFIX}/libexec/openldap SUB_FILES+= pkg-message pkg-deinstall USE_RC_SUBR= slapd EXTRA_PATCHES+= ${FILESDIR}/extrapatch-Makefile.in .if ${PORT_OPTIONS:MMODULES} || ${PORT_OPTIONS:MDYNAMIC_BACKENDS} || ${PORT_OPTIONS:MSLAPI} LIB_DEPENDS+= libltdl.so:${PORTSDIR}/devel/libltdl CONFIGURE_ARGS+= --enable-modules PLIST_SUB+= MODULES="" .else PLIST_SUB+= MODULES="@comment " .endif SED_MODULES= -e 's/\(moduleload[ ]*back_[a-z]*\)\.la/\1/' .if ${PORT_OPTIONS:MDYNAMIC_BACKENDS} BACKEND_ENABLE= "mod" BACKEND_PLIST= "" SED_MODULES+= -e 's/\# *\(modulepath\)/\1/' \ -e 's/\# *\(moduleload[ ]*back_bdb\)/\1/' .else BACKEND_ENABLE= "yes" BACKEND_PLIST= "@comment " .endif OVERLAY_ENABLE= yes CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} \ --enable-crypt \ --enable-ldap=${BACKEND_ENABLE} \ --enable-meta=${BACKEND_ENABLE} \ --enable-rewrite \ --enable-null=${BACKEND_ENABLE} \ --enable-monitor=${BACKEND_ENABLE} PLIST_SUB+= BACKEND=${BACKEND_PLIST} .if ${PORT_OPTIONS:MACCESSLOG} CONFIGURE_ARGS+= --enable-accesslog=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MAUDITLOG} CONFIGURE_ARGS+= --enable-auditlog=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MCOLLECT} CONFIGURE_ARGS+= --enable-collect=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MCONSTRAINT} CONFIGURE_ARGS+= --enable-constraint=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MDDS} CONFIGURE_ARGS+= --enable-dds=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-debug=yes .endif MAKE_ENV+= STRIP=${STRIP} .if ${PORT_OPTIONS:MDEREF} CONFIGURE_ARGS+= --enable-deref=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MDYNGROUP} CONFIGURE_ARGS+= --enable-dyngroup=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MDYNLIST} CONFIGURE_ARGS+= --enable-dynlist=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MLMPASSWD} CONFIGURE_ARGS+= --enable-lmpasswd .endif .if ${PORT_OPTIONS:MMEMBEROF} CONFIGURE_ARGS+= --enable-memberof=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MPPOLICY} CONFIGURE_ARGS+= --enable-ppolicy=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MPROXYCACHE} CONFIGURE_ARGS+= --enable-proxycache=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MREFINT} CONFIGURE_ARGS+= --enable-refint=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MRETCODE} CONFIGURE_ARGS+= --enable-retcode=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MRWM} CONFIGURE_ARGS+= --enable-rwm=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MSEQMOD} CONFIGURE_ARGS+= --enable-seqmod=${OVERLAY_ENABLE} .else CONFIGURE_ARGS+= --disable-seqmod .endif .if ${PORT_OPTIONS:MSSSVLV} CONFIGURE_ARGS+= --enable-sssvlv=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MSYNCPROV} CONFIGURE_ARGS+= --enable-syncprov=${OVERLAY_ENABLE} .else CONFIGURE_ARGS+= --disable-syncprov .endif .if ${PORT_OPTIONS:MTRANSLUCENT} CONFIGURE_ARGS+= --enable-translucent=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MUNIQUE} CONFIGURE_ARGS+= --enable-unique=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MVALSORT} CONFIGURE_ARGS+= --enable-valsort=${OVERLAY_ENABLE} .endif .if ${PORT_OPTIONS:MACI} CONFIGURE_ARGS+= --enable-aci .endif .if ${PORT_OPTIONS:MDYNACL} CONFIGURE_ARGS+= --enable-dynacl .endif .if !${PORT_OPTIONS:MBDB} CONFIGURE_ARGS+= --disable-bdb \ --disable-hdb PLIST_SUB+= BACK_BDB="@comment " \ BACK_HDB="@comment " .else USE_BDB= 48+ INVALID_BDB_VER= 6 CONFIGURE_ARGS+= --enable-bdb=${BACKEND_ENABLE} \ --enable-hdb=${BACKEND_ENABLE} PLIST_SUB+= BACK_BDB=${BACKEND_PLIST} \ BACK_HDB=${BACKEND_PLIST} CPPFLAGS+= -I${BDB_INCLUDE_DIR} LDFLAGS+= -L${BDB_LIB_DIR} CONFIGURE_SED+= -e 's,ol_DB_LIB=$$,&-l${BDB_LIB_NAME:R},' \ -e 's,(ol_cv_lib_db=)yes$$,\1-l${BDB_LIB_NAME:R},' .endif .if ${PORT_OPTIONS:MDNSSRV} CONFIGURE_ARGS+= --enable-dnssrv=${BACKEND_ENABLE} PLIST_SUB+= BACK_DNSSRV=${BACKEND_PLIST} .else PLIST_SUB+= BACK_DNSSRV="@comment " .endif .if ${PORT_OPTIONS:MMDB} CONFIGURE_ARGS+= --enable-mdb=${BACKEND_ENABLE} PLIST_SUB+= BACK_MDB=${BACKEND_PLIST} .else PLIST_SUB+= BACK_MDB="@comment " .endif .if ${PORT_OPTIONS:MPASSWD} CONFIGURE_ARGS+= --enable-passwd=${BACKEND_ENABLE} PLIST_SUB+= BACK_PASSWD=${BACKEND_PLIST} .else PLIST_SUB+= BACK_PASSWD="@comment " .endif .if ${PORT_OPTIONS:MRELAY} CONFIGURE_ARGS+= --enable-relay=${BACKEND_ENABLE} PLIST_SUB+= BACK_RELAY=${BACKEND_PLIST} .else PLIST_SUB+= BACK_RELAY="@comment " .endif .if ${PORT_OPTIONS:MSHELL} CONFIGURE_ARGS+= --without-threads --enable-shell=${BACKEND_ENABLE} PLIST_SUB+= BACK_SHELL=${BACKEND_PLIST} .else PLIST_SUB+= BACK_SHELL="@comment " WANT_OPENLDAP_THREADS= yes .endif .if ${PORT_OPTIONS:MSOCK} CONFIGURE_ARGS+= --enable-sock=${BACKEND_ENABLE} PLIST_SUB+= BACK_SOCK=${BACKEND_PLIST} .else PLIST_SUB+= BACK_SOCK="@comment " .endif .if ${PORT_OPTIONS:MPERL} USES+= perl5 CONFIGURE_ARGS+= --enable-perl=${BACKEND_ENABLE} CONFIGURE_ENV+= PERLBIN="${PERL}" PLIST_SUB+= BACK_PERL=${BACKEND_PLIST} .else PLIST_SUB+= BACK_PERL="@comment " .endif .if ${PORT_OPTIONS:MSASL} CONFIGURE_ARGS+= --enable-spasswd .endif .if ${PORT_OPTIONS:MODBC} CONFIGURE_ARGS+= --enable-sql=${BACKEND_ENABLE} PLIST_SUB+= BACK_SQL=${BACKEND_PLIST} LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC LDFLAGS+= -L${LOCALBASE}/lib .else PLIST_SUB+= BACK_SQL="@comment " .endif .if ${PORT_OPTIONS:MSMBPWD} PLIST_SUB+= SMBPWD="" .else PLIST_SUB+= SMBPWD="@comment " .endif .if ${PORT_OPTIONS:MSHA2} PLIST_SUB+= SHA2="" .else PLIST_SUB+= SHA2="@comment " .endif .if ${PORT_OPTIONS:MRLOOKUPS} CONFIGURE_ARGS+= --enable-rlookups PLIST_SUB+= RLOOKUPS="" .else PLIST_SUB+= RLOOKUPS="@comment " .endif .if ${PORT_OPTIONS:MSLAPI} CONFIGURE_ARGS+= --enable-slapi PLIST_SUB+= SLAPI="" USE_LDCONFIG= yes .else PLIST_SUB+= SLAPI="@comment " .endif .if ${PORT_OPTIONS:MSLP} CONFIGURE_ARGS+= --enable-slp LIB_DEPENDS+= libslp.so:${PORTSDIR}/net/openslp .endif # Include tcp-wrapper support .if ${PORT_OPTIONS:MTCP_WRAPPERS} CONFIGURE_ARGS+= --enable-wrappers .endif # Force using caseIgnoreOrderingMatch on 'name' attribute. # This may be a violation of RFC 4519 2.18 definition. # See http://www.openldap.org/lists/openldap-technical/201211/msg00175.html .if ${PORT_OPTIONS:MOUTLOOK} EXTRA_PATCHES+= ${FILESDIR}/extrapatch-outlook-servers__slapd__schema_prep.c .endif # end of client/server specific configuration .endif .if defined(WITH_CLDAP) CPPFLAGS+= -DLDAP_CONNECTIONLESS .endif CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib .if defined(CLIENT_ONLY) .else SUB_LIST+= RC_DIR=${PREFIX} \ LDAP_RUN_DIR=${LDAP_RUN_DIR} \ DATABASEDIR=${DATABASEDIR} .endif PLIST_SUB+= ${SUB_LIST} PLIST_SUB+= SHLIB_MAJOR=${OPENLDAP_SHLIB_MAJOR} PLIST_SUB+= SHLIB_MINOR=${OPENLDAP_SHLIB_MINOR} PLIST_SUB+= OPENLDAP_MAJOR=${OPENLDAP_MAJOR} post-patch: @${REINPLACE_CMD} -e 's,%LOCALSTATEDIR%/run/,${LDAP_RUN_DIR}/,g' \ ${SED_MODULES} ${WRKSRC}/servers/slapd/slapd.conf @${REINPLACE_CMD} -e 's,^OPT =.*,OPT = ${CFLAGS},g' \ -e 's,^CC =.*,CC = ${CC},g' \ ${SED_MODULES} ${WRKSRC}/contrib/slapd-modules/*/Makefile \ ${WRKSRC}/contrib/slapd-modules/*/*/Makefile .if defined(CONFIGURE_SED) @${REINPLACE_CMD} -E ${CONFIGURE_SED} \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} .endif pre-configure: @if [ -n "`${PKG_INFO} -xI '^bind\(84\)\{0,1\}-base-8\.' 2>/dev/null`" ]; then \ ${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \ ${FALSE}; \ fi .if !defined(CLIENT_ONLY) test: build @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test) post-build: @${DO_NADA} .if ${PORT_OPTIONS:MSMBPWD} @(cd ${BUILD_WRKSRC}/contrib/slapd-modules/smbk5pwd && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \ ${MAKE_ARGS} DEFS="-DDO_SAMBA" prefix="${PREFIX}" all) .endif .if ${PORT_OPTIONS:MSHA2} @(cd ${BUILD_WRKSRC}/contrib/slapd-modules/passwd/sha2 && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \ ${MAKE_ARGS} prefix="${PREFIX}" all) .endif .endif pre-install: .if !defined(CLIENT_ONLY) @${MKDIR} ${STAGEDIR}${DATABASEDIR} .endif post-install: .if defined(CLIENT_ONLY) @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR} @for dir in drafts rfc; do \ ${MKDIR} ${STAGEDIR}${DOCSDIR}/$${dir}; \ ${INSTALL_DATA} ${WRKSRC}/doc/$${dir}/* ${STAGEDIR}${DOCSDIR}/$${dir}; \ done @for prog in ldapcompare ldapdelete ldapexop ldapmodify ldapmodrdn ldappasswd ldapsearch ldapurl ldapwhoami; do\ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/$${prog}; \ done @for library in lber ldap ldap_r; do \ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib$${library}-${OPENLDAP_MAJOR}.so.${OPENLDAP_SHLIB_MAJOR}; \ done .else @${MKDIR} ${STAGEDIR}${LDAP_RUN_DIR} .if ${PORT_OPTIONS:MSMBPWD} @(cd ${WRKSRC}/contrib/slapd-modules/smbk5pwd && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \ ${MAKE_ARGS} prefix="${PREFIX}" install) ${RM} ${STAGEDIR}${PREFIX}/libexec/openldap/smbk5pwd.a .endif .if ${PORT_OPTIONS:MSHA2} @(cd ${WRKSRC}/contrib/slapd-modules/passwd/sha2 && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \ ${MAKE_ARGS} prefix="${PREFIX}" install) ${RM} ${STAGEDIR}${PREFIX}/libexec/openldap/pw-sha2.a .endif .if ${PORT_OPTIONS:MDYNAMIC_BACKENDS} || ${PORT_OPTIONS:MSMBPWD} || ${PORT_OPTIONS:MSHA2} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/openldap/*.so .endif .endif # defined(CLIENT_ONLY) .include Index: head/net/openmpi/Makefile =================================================================== --- head/net/openmpi/Makefile (revision 394507) +++ head/net/openmpi/Makefile (revision 394508) @@ -1,80 +1,80 @@ # $FreeBSD$ # TODO: # - etc/*.sample support PORTNAME= openmpi DISTVERSION= 1.8.8 CATEGORIES= net parallel MASTER_SITES= http://www.open-mpi.org/software/ompi/v1.8/downloads/ MAINTAINER= danilo@FreeBSD.org COMMENT= High Performance Message Passing Library LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo \ libhwloc.so:${PORTSDIR}/devel/hwloc \ libltdl.so:${PORTSDIR}/devel/libltdl CONFLICTS= openmpi-devel-1.7.* HAS_CONFIGURE= yes INSTALL_TARGET= install-strip # :keepla because port uses lt_dlopen USES= fortran gmake libtool:keepla perl5 pkgconfig tar:bzip2 USE_PERL5= build MPIBASE?= mpi -MPIDIR?= ${MPIBASE}/${UNIQUENAME} +MPIDIR?= ${MPIBASE}/${PKGBASE} PLIST_SUB+= MPIBASE=${MPIBASE} PLIST_SUB+= MPIDIR=${MPIDIR} CONFIGURE_ARGS+= --prefix=${PREFIX}/${MPIDIR} \ --mandir=${PREFIX}/${MPIDIR}/man \ --program-prefix= \ --with-hwloc=${LOCALBASE} \ --with-libltdl=${LOCALBASE} LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= ${PREFIX}/${MPIDIR}/lib \ ${PREFIX}/${MPIDIR}/lib/openmpi MANPREFIX= ${PREFIX}/${MPIDIR} OPTIONS_DEFINE= IPV6 SLURM TORQUE VT TORQUE_DESC= Enable Torque support SLURM_DESC= Enable SLURM support VT_DESC= Enable VampirTrace support OPTIONS_DEFAULT= IPV6 OPTIONS_SUB= yes IPV6_CONFIGURE_ENABLE= ipv6 TORQUE_CONFIGURE_ON= --with-tm=${LOCALBASE} TORQUE_CONFIGURE_OFF= --without-tm TORQUE_LIB_DEPENDS= libtorque.so:${PORTSDIR}/sysutils/torque TORQUE_PLIST_FILES= ${MPIDIR}/lib/openmpi/mca_plm_tm.so \ ${MPIDIR}/lib/openmpi/mca_plm_tm.la \ ${MPIDIR}/lib/openmpi/mca_ras_tm.la \ ${MPIDIR}/lib/openmpi/mca_ras_tm.so \ ${MPIDIR}/lib/openmpi/mca_ess_tm.so \ ${MPIDIR}/lib/openmpi/mca_ess_tm.la \ ${MPIDIR}/share/openmpi/help-plm-tm.txt \ ${MPIDIR}/share/openmpi/help-ras-tm.txt SLURM_CONFIGURE_WITH= slurm SLURM_LIB_DEPENDS= libslurm.so:${PORTSDIR}/sysutils/slurm-wlm SLURM_PLIST_FILES= ${MPIDIR}/lib/openmpi/mca_ess_slurm.la \ ${MPIDIR}/lib/openmpi/mca_ess_slurm.so \ ${MPIDIR}/lib/openmpi/mca_plm_slurm.la \ ${MPIDIR}/lib/openmpi/mca_plm_slurm.so \ ${MPIDIR}/lib/openmpi/mca_ras_slurm.la \ ${MPIDIR}/lib/openmpi/mca_ras_slurm.so \ ${MPIDIR}/share/openmpi/help-plm-slurm.txt \ ${MPIDIR}/share/openmpi/help-ras-slurm.txt VT_CONFIGURE_OFF= --enable-contrib-no-build=vt --disable-vt VT_USE= JAVA=yes BROKEN_sparc64= Does not compile on sparc64 .include Index: head/net/proftpd-mod_ldap/Makefile =================================================================== --- head/net/proftpd-mod_ldap/Makefile (revision 394507) +++ head/net/proftpd-mod_ldap/Makefile (revision 394508) @@ -1,28 +1,27 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= mod_ldap PORTREVISION= 3 CATEGORIES= net ftp PKGNAMEPREFIX= proftpd- MAINTAINER= mm@FreeBSD.org COMMENT= LDAP and quotatab_ldap ProFTPD modules LICENSE= GPLv2 DESCR= ${.CURDIR}/pkg-descr -LATEST_LINK= ${PKGNAMEPREFIX}-${PORTNAME} MASTERDIR= ${.CURDIR}/../../ftp/proftpd USE_OPENLDAP= yes USE_OPENSSL= yes INCLUDEDIRS= ${LOCALBASE}/include LIBDIRS= ${LOCALBASE}/lib _BUILDING_PROFTPD_MODULE= ${PORTNAME} \ mod_quotatab_ldap .include "${MASTERDIR}/Makefile" Index: head/net/py-gntp/Makefile =================================================================== --- head/net/py-gntp/Makefile (revision 394507) +++ head/net/py-gntp/Makefile (revision 394508) @@ -1,36 +1,35 @@ # $FreeBSD$ PORTNAME= gntp PORTVERSION= 0.8 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= net PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Growl Notification Transport Protocol for Python LICENSE= MIT GH_ACCOUNT= kfdm -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= DOCS USE_GITHUB= yes USES= python:2 USE_PYTHON= distutils autoplist .include .if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} PYDISTUTILS_BUILD_TARGET+= build_sphinx post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .endif .include Index: head/net/py-pynsq/Makefile =================================================================== --- head/net/py-pynsq/Makefile (revision 394507) +++ head/net/py-pynsq/Makefile (revision 394508) @@ -1,39 +1,38 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= pynsq PORTVERSION= 0.5.1 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Official Python client library for NSQ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado>0:${PORTSDIR}/www/py-tornado TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado>0:${PORTSDIR}/www/py-tornado \ ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock OPTIONS_DEFINE= TESTS TESTS_DESC= Install tools to run test suite -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options USES= python USE_PYTHON= distutils autoplist USE_GITHUB= yes GH_ACCOUNT= bitly .include .if ${PORT_OPTIONS:MTESTS} BUILD_DEPENDS:= ${TEST_DEPENDS} .endif regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include Index: head/net/samba36/Makefile =================================================================== --- head/net/samba36/Makefile (revision 394507) +++ head/net/samba36/Makefile (revision 394508) @@ -1,542 +1,541 @@ # $FreeBSD$ PORTNAME= ${SAMBA_BASENAME}36 PORTVERSION= 3.6.25 PORTREVISION?= 0 CATEGORIES?= net MASTER_SITES= SAMBA/samba SAMBA/samba/stable SAMBA/samba/pre DISTNAME= ${SAMBA_BASENAME}-${PORTVERSION:S|.p|pre|:S|.r|rc|:S|.t|tp|:S|.a|alpha|} MAINTAINER?= timur@FreeBSD.org COMMENT?= Free SMB and CIFS client and server for Unix LICENSE= GPLv3 LICENSE_FILE= ${WRKDIR}/${DISTNAME}/COPYING CONFLICTS?= *samba3[2-5]-3.* # Additional patches from Sernet.de PATCH_STRIP= -p1 EXTRA_PATCHES= ${PATCHDIR}/sernet.patch SAMBA_BASENAME= samba CPE_VENDOR= samba CPE_PRODUCT= samba -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} WRKSRC= ${WRKDIR}/${DISTNAME}/source3 IPATHS= -I${WRKDIR}/${DISTNAME}/source3/m4 -I${WRKDIR}/${DISTNAME}/m4 -I${WRKDIR}/${DISTNAME}/lib/replace -I${WRKDIR}/${DISTNAME}/source4 AUTOHEADER_ARGS= ${IPATHS} AUTOCONF_ARGS= ${IPATHS} GNU_CONFIGURE= yes USES= cpe execinfo gmake iconv pkgconfig USE_AUTOTOOLS= autoconf autoheader USE_LDCONFIG= ${SAMBA_LIBDIR} # pkg-config is used to find talloc PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig PKGCONFIGDIR_REL?= ${PKGCONFIGDIR:S|^${PREFIX}/||} # directories VARDIR?= /var SAMBA_SPOOL?= ${VARDIR}/spool/${SAMBA_BASENAME} SAMBA_LOGDIR= ${VARDIR}/log/${SAMBA_BASENAME} SAMBA_RUNDIR= ${VARDIR}/run/${SAMBA_BASENAME} SAMBA_LOCKDIR?= ${VARDIR}/db/${SAMBA_BASENAME} SAMBA_CONFIG?= smb.conf SAMBA_CONFDIR?= ${PREFIX}/etc RC_DIR= ${PREFIX}/etc/rc.d SAMBA_SWATDIR= ${PREFIX}/share/swat SAMBA_LIBDIR= ${PREFIX}/lib SAMBA_MODULEDIR= ${SAMBA_LIBDIR}/${SAMBA_BASENAME} SAMBA_INCLUDEDIR= ${PREFIX}/include/${SAMBA_BASENAME} SAMBA_PRIVATEDIR?= ${SAMBA_CONFDIR}/${SAMBA_BASENAME} CONFIGURE_ARGS+= --exec-prefix="${PREFIX}" \ --sysconfdir="${SAMBA_CONFDIR}" \ --with-configdir="${SAMBA_CONFDIR}" \ --includedir="${SAMBA_INCLUDEDIR}" \ --datadir="${DATADIR}" \ --with-swatdir="${SAMBA_SWATDIR}" \ --libdir="${SAMBA_LIBDIR}" \ --with-pammodulesdir="${SAMBA_LIBDIR}" \ --with-modulesdir="${SAMBA_MODULEDIR}" \ --localstatedir="${VARDIR}" \ --with-piddir="${SAMBA_RUNDIR}" \ --with-ncalrpcdir="${SAMBA_RUNDIR}/ncalrpc" \ --with-nmbdsocketdir="${SAMBA_RUNDIR}/nmbd" \ --with-lockdir="${SAMBA_LOCKDIR}" \ --with-statedir="${SAMBA_LOCKDIR}" \ --with-cachedir="${SAMBA_LOCKDIR}" \ --with-privatedir="${SAMBA_PRIVATEDIR}" \ --with-logfilebase="${SAMBA_LOGDIR}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV+= PTHREAD_LDFLAGS="-lpthread" # XXX: Temporary hack for RELENG6 CONFIGURE_ENV+= ac_cv_header_sys_mount_h=yes # XXX: readdir test fails on ZFS, bringing unusable replacement code CONFIGURE_ENV+= libreplace_cv_READDIR_NEEDED=no # tdb BUILD_DEPENDS+= tdb>=1.2.6:${PORTSDIR}/databases/tdb RUN_DEPENDS+= tdb>=1.2.6:${PORTSDIR}/databases/tdb CONFIGURE_ARGS+= --without-libtdb --enable-external-libtdb # talloc BUILD_DEPENDS+= talloc>=2.0.1:${PORTSDIR}/devel/talloc RUN_DEPENDS+= talloc>=2.0.1:${PORTSDIR}/devel/talloc CONFIGURE_ARGS+= --without-libtalloc --enable-external-libtalloc # tevent BUILD_DEPENDS+= tevent>=0.9.11:${PORTSDIR}/devel/tevent RUN_DEPENDS+= tevent>=0.9.11:${PORTSDIR}/devel/tevent CONFIGURE_ARGS+= --without-libtevent --enable-external-libtevent # These options are common for all (sub)ports CONFIGURE_ARGS+= ${ICONV_CONFIGURE_BASE} \ --disable-as-needed .if !defined(SAMBA_SUBPORT) OPTIONS_DEFINE= ACL_SUPPORT ADS AIO_SUPPORT AVAHI CUPS DNSUPDATE \ DOCS EXAMPLES EXP_MODULES FAM IPV6 LDAP \ MAX_DEBUG PAM_SMBPASS POPT PTHREADPOOL QUOTAS \ SMBTORTURE SWAT SYSLOG UTMP WINBIND OPTIONS_RADIO= GSSAPI OPTIONS_RADIO_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE OPTIONS_DEFAULT= ACL_SUPPORT AIO_SUPPORT CUPS LDAP POPT PTHREADPOOL \ WINBIND GSSAPI_NONE ACL_SUPPORT_DESC= ACL support ADS_DESC= Active Directory support ADS_CONFIGURE_ON= --with-ads --with-krb5="${GSSAPIBASEDIR}" ADS_CONFIGURE_OFF= --without-ads --without-krb5 AIO_SUPPORT_DESC= Asyncronous IO support DNSUPDATE_DESC= Dynamic DNS update(require ADS) EXP_MODULES_DESC= Experimental modules GSSAPI_BASE_DESC= Use Heimdal in base GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_DESC= Use Heimdal from ports GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags GSSAPI_MIT_DESC= Use MIT Kerberos V5 GSSAPI_MIT_USES= gssapi:mit,flags GSSAPI_NONE_DESC= No Kerberos support MAX_DEBUG_DESC= Maximum debugging PAM_SMBPASS_DESC= PAM authentication via passdb backends POPT_DESC= System-wide POPT library PTHREADPOOL_DESC= Pthread pool QUOTAS_DESC= Disk quota support SMBTORTURE_DESC= smbtorture SWAT_DESC= SWAT WebGUI UTMP_DESC= UTMP accounting support WINBIND_DESC= WinBIND support # !SAMBA_SUBPORT .endif .include # There are reports that on ARM PIE makes binaries to core dump(#149186) .if ${ARCH} == "arm" CONFIGURE_ARGS+= --disable-pie .endif .if defined(SAMBA_SUBPORT) # Switch off all extra functionality CONFIGURE_ARGS+= --disable-cups --disable-fam --without-winbind \ --without-syslog --without-quotas --without-utmp \ --without-pam --without-pam_smbpass \ --without-aio-support --with-included-popt .else # Samba server itself USE_RC_SUBR= ${SAMBA_BASENAME} SUB_FILES= pkg-message smb.conf.sample PLIST= ${WRKDIR}/.PLIST # We don't (yet) have clustered FS for cluster support CONFIGURE_ARGS+= --with-pam --with-readline=/usr \ --with-included-iniparser \ --with-sendfile-support \ --enable-largefile \ --without-cluster-support \ --without-libsmbclient \ --without-libaddns \ --without-libnetapi \ --without-libsmbsharemodes .if ! ${PORT_OPTIONS:MIPV6} CONFIGURE_ENV+= libreplace_cv_HAVE_IPV6=no .endif .if ${PORT_OPTIONS:MLDAP} SAMBA_WANT_LDAP= yes .endif .if ${PORT_OPTIONS:MCUPS} LIB_DEPENDS+= libcups.so:${PORTSDIR}/print/cups-client CONFIGURE_ARGS+= --enable-cups --enable-iprint SUB_LIST+= CUPS="" .else CONFIGURE_ARGS+= --disable-cups --disable-iprint SUB_LIST+= CUPS="@comment " .endif .if ${PORT_OPTIONS:MMAX_DEBUG} CPPFLAGS+= -g LDFLAGS+= -g LIB_DEPENDS+= libdmalloc.so:${PORTSDIR}/devel/dmalloc CONFIGURE_ARGS+= --enable-debug # --enable-socket-wrapper --enable-nss-wrapper \ # --enable-developer --enable-krb5developer \ # --enable-dmalloc --with-profiling-data CONFIGURE_ARGS+= --with-smbtorture4-path=${WRKDIR}/${DISTNAME}/source4/torture .else CONFIGURE_ARGS+= --disable-debug \ --disable-socket-wrapper --disable-nss-wrapper \ --disable-developer --disable-krb5developer \ --disable-dmalloc --without-profiling-data .endif .if ${PORT_OPTIONS:MSYSLOG} CONFIGURE_ARGS+= --with-syslog .else CONFIGURE_ARGS+= --without-syslog .endif .if ${PORT_OPTIONS:MQUOTAS} CONFIGURE_ARGS+= --with-quotas .else CONFIGURE_ARGS+= --without-quotas .endif .if ${PORT_OPTIONS:MUTMP} CONFIGURE_ARGS+= --with-utmp .else CONFIGURE_ARGS+= --without-utmp .endif .if ${PORT_OPTIONS:MWINBIND} CONFIGURE_ARGS+= --with-winbind PLIST_SUB+= WINBIND="" SUB_LIST+= WINBIND="" .else CONFIGURE_ARGS+= --without-winbind PLIST_SUB+= WINBIND="@comment " SUB_LIST+= WINBIND="@comment " .endif .if ${PORT_OPTIONS:MSWAT} CONFIGURE_ARGS+= --enable-swat PLIST_SUB+= SWAT="" .else CONFIGURE_ARGS+= --disable-swat PLIST_SUB+= SWAT="@comment " .endif # Add some shared modules .if ${PORT_OPTIONS:MEXP_MODULES} . if !defined(WANT_EXP_MODULES) || empty(WANT_EXP_MODULES) WANT_EXP_MODULES= idmap_tdb2 idmap_ad idmap_adex idmap_hash idmap_rid \ charset_weird . if ! ${PORT_OPTIONS:MMAX_DEBUG} WANT_EXP_MODULES+= rpc_echo . endif WANT_EXP_MODULES+= vfs_cacheprime vfs_catia vfs_commit vfs_dirsort \ vfs_readahead vfs_streams_depot vfs_syncops . endif .endif .if ${PORT_OPTIONS:MFAM} USES+= fam WANT_EXP_MODULES+= vfs_notify_fam CONFIGURE_ARGS+= --enable-fam .else CONFIGURE_ARGS+= --disable-fam .endif .if ${PORT_OPTIONS:MACL_SUPPORT} CONFIGURE_ARGS+= --with-acl-support WANT_EXP_MODULES+= vfs_zfsacl LIB_DEPENDS+= libsunacl.so:${PORTSDIR}/sysutils/libsunacl .else CONFIGURE_ARGS+= --without-acl-support .endif .if ${PORT_OPTIONS:MAIO_SUPPORT} CONFIGURE_ARGS+= --with-aio-support .else CONFIGURE_ARGS+= --without-aio-support .endif .if ${PORT_OPTIONS:MPAM_SMBPASS} CONFIGURE_ARGS+= --with-pam_smbpass PLIST_SUB+= SMBPASS="" .else CONFIGURE_ARGS+= --without-pam_smbpass PLIST_SUB+= SMBPASS="@comment " .endif .if ${PORT_OPTIONS:MDNSUPDATE} . if ! ${PORT_OPTIONS:MADS} IGNORE= dynamic DNS updates require ADS support. Disable DNSUPDATE support . endif LIB_DEPENDS+= libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid CONFIGURE_ARGS+= --with-dnsupdate .else CONFIGURE_ARGS+= --without-dnsupdate .endif .if ${PORT_OPTIONS:MAVAHI} CPPFLAGS+= `pkg-config --cflags avahi-client` CONFIGURE_ENV+= DNSSD_LIBS="`pkg-config --libs avahi-client`" LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app CONFIGURE_ARGS+= --enable-avahi .else CONFIGURE_ARGS+= --disable-avahi .endif .if ${PORT_OPTIONS:MPTHREADPOOL} CONFIGURE_ARGS+= --enable-pthreadpool .else CONFIGURE_ARGS+= --disable-pthreadpool .endif .if ${PORT_OPTIONS:MPOPT} LIB_DEPENDS+= libpopt.so:${PORTSDIR}/devel/popt CONFIGURE_ARGS+= --without-included-popt .else CONFIGURE_ARGS+= --with-included-popt .endif .if ${PORT_OPTIONS:MSMBTORTURE} PLIST_SUB+= SMBTORTURE="" .else PLIST_SUB+= SMBTORTURE="@comment " .endif # !SAMBA_SUBPORT .endif ### ### Common part for port and it's subports ### .if ${PORT_OPTIONS:MADS} . if ${PORT_OPTIONS:MGSSAPI_NONE} # Kerberos5 is necessary for ADS IGNORE= ADS support requires GSSAPI_BASE, GSSAPI_HEIMDAL, or GSSAPI_MIT . endif SAMBA_WANT_LDAP= yes .endif .if defined(SAMBA_WANT_LDAP) USE_OPENLDAP= yes CONFIGURE_ARGS+= --with-ldap .else CONFIGURE_ARGS+= --without-ldap .endif .if defined(WANT_EXP_MODULES) && !empty(WANT_EXP_MODULES) CONFIGURE_ARGS+= --with-shared-modules="${WANT_EXP_MODULES:Q:C/(\\\\ )+/,/g}" .endif .include post-patch: @${REINPLACE_CMD} -e 's|%%SAMBA_CONFIG%%|${SAMBA_CONFIG}|g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/configure.in ${WRKSRC}/m4/aclocal.m4 ${REINPLACE_CMD} -e '\|^Libs:|d; s|^#Libs:|Libs:|g' \ ${WRKSRC}/pkgconfig/*.pc.in ### ### end of common part ### .if !defined(SAMBA_SUBPORT) # Samba server only SAMBA_MAN1= dbwrap_tool.1 findsmb.1 \ log2pcap.1 nmblookup.1 ntlm_auth.1 profiles.1 rpcclient.1 \ sharesec.1 smbcacls.1 smbclient.1 smbcontrol.1 smbcquotas.1 \ smbget.1 smbstatus.1 smbtar.1 smbtree.1 testparm.1 vfstest.1 SAMBA_MAN5= lmhosts.5 smb.conf.5 smbgetrc.5 smbpasswd.5 SAMBA_MAN7= samba.7 SAMBA_MAN8= eventlogadm.8 net.8 nmbd.8 pdbedit.8 smbd.8 smbpasswd.8 \ smbspool.8 idmap_nss.8 idmap_tdb.8 idmap_tdb2.8 \ vfs_acl_tdb.8 vfs_acl_xattr.8 \ vfs_audit.8 vfs_cap.8 vfs_default_quota.8 vfs_extd_audit.8 \ vfs_fake_perms.8 vfs_full_audit.8 vfs_netatalk.8 \ vfs_preopen.8 \ vfs_readahead.8 vfs_readonly.8 vfs_recycle.8 vfs_shadow_copy.8 \ vfs_shadow_copy2.8 vfs_smb_traffic_analyzer.8 \ vfs_streams_xattr.8 vfs_xattr_tdb.8 .if ${PORT_OPTIONS:MWINBIND} SAMBA_MAN1+= wbinfo.1 SAMBA_MAN5+= pam_winbind.conf.5 SAMBA_MAN7+= winbind_krb5_locator.7 SAMBA_MAN8+= pam_winbind.8 winbindd.8 .endif .if ${PORT_OPTIONS:MSWAT} SAMBA_MAN8+= swat.8 .endif .if ${PORT_OPTIONS:MFAM} SAMBA_MAN8+= vfs_notify_fam.8 .endif .if ${PORT_OPTIONS:MPTHREADPOOL} SAMBA_MAN8+= vfs_aio_pthread.8 .endif .if defined(SAMBA_WANT_LDAP) SAMBA_MAN8+= idmap_ldap.8 .endif .if !empty(WANT_EXP_MODULES:Midmap_ad) SAMBA_MAN8+= idmap_ad.8 .endif .if !empty(WANT_EXP_MODULES:Midmap_adex) SAMBA_MAN8+= idmap_adex.8 .endif .if !empty(WANT_EXP_MODULES:Midmap_hash) SAMBA_MAN8+= idmap_hash.8 .endif .if !empty(WANT_EXP_MODULES:Midmap_rid) SAMBA_MAN8+= idmap_rid.8 .endif .if !empty(WANT_EXP_MODULES:Mvfs_cacheprime) SAMBA_MAN8+= vfs_cacheprime.8 .endif .if !empty(WANT_EXP_MODULES:Mvfs_catia) SAMBA_MAN8+= vfs_catia.8 .endif .if !empty(WANT_EXP_MODULES:Mvfs_commit) SAMBA_MAN8+= vfs_commit.8 .endif .if !empty(WANT_EXP_MODULES:Mvfs_dirsort) SAMBA_MAN8+= vfs_dirsort.8 .endif .if !empty(WANT_EXP_MODULES:Mvfs_streams_depot) SAMBA_MAN8+= vfs_streams_depot.8 .endif SAMBA_SUB= SAMBA_LOGDIR="${SAMBA_LOGDIR}" \ SAMBA_LOCKDIR="${SAMBA_LOCKDIR}" \ SAMBA_CONFDIR="${SAMBA_CONFDIR}" \ SAMBA_CONFIG="${SAMBA_CONFIG}" \ SAMBA_RUNDIR="${SAMBA_RUNDIR}" \ SAMBA_SWATDIR="${SAMBA_SWATDIR}" \ SAMBA_SPOOL="${SAMBA_SPOOL}" \ SAMBA_PRIVATEDIR="${SAMBA_PRIVATEDIR}" \ PKGCONFIGDIR="${PKGCONFIGDIR_REL}" PLIST_SUB+= ${SAMBA_SUB} SUB_LIST+= ${SAMBA_SUB} ALL_TARGET= all .if ${PORT_OPTIONS:MSMBTORTURE} ALL_TARGET+= smbtorture .endif # What will be installed INSTALL_TARGET= installservers installbin installscripts installdat \ installmodules installlibs .if ${PORT_OPTIONS:MSWAT} INSTALL_TARGET+=installswat .endif pre-configure: @${FIND} ${WRKDIR}/${DISTNAME} -type d | ${XARGS} ${CHMOD} u+w,a+rx @${FIND} ${WRKDIR}/${DISTNAME} -type f | ${XARGS} ${CHMOD} u+w,a+r post-configure: # It's in another port @${RM} -f ${WRKDIR}/${DISTNAME}/docs/htmldocs/manpages/libsmbclient.7.html @${RM} -rf ${WRKDIR}/${DISTNAME}/examples/libsmbclient pre-install: -@${FIND} "${STAGEDIR}${SAMBA_MODULEDIR}" -type f -o -type l 2>/dev/null | ${SORT} | ${SED} -E 's|^${STAGEDIR}${PREFIX}/?||;' > ${WRKDIR}/.PLIST.exclude @${CAT} ${PKGDIR}/pkg-plist > ${PLIST} .if ${PORT_OPTIONS:MSWAT} @${CAT} ${PKGDIR}/pkg-plist.swat >> ${PLIST} .endif post-install: @${RM} -f ${STAGEDIR}/${PREFIX}/bin/findsmb .for sect in 1 3 5 7 8 @${MKDIR} ${STAGEDIR}${MAN${sect}PREFIX}/man/man${sect} . for man in ${SAMBA_MAN${sect}} @${INSTALL_MAN} "${WRKDIR}/${DISTNAME}/docs/manpages/${man}" "${STAGEDIR}${MAN${sect}PREFIX}/man/man${sect}" ${ECHO_CMD} "man/man${sect}/${man}.gz" >> ${TMPPLIST} . endfor .endfor # Put examples in place @${MKDIR} "${STAGEDIR}${EXAMPLESDIR}" @${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/* "${STAGEDIR}${EXAMPLESDIR}" .if ${PORT_OPTIONS:MPAM_SMBPASS} @${MKDIR} "${STAGEDIR}${EXAMPLESDIR}/pam_smbpass" @${CP} -Rp ${WRKSRC}/pam_smbpass/samples/* "${STAGEDIR}${EXAMPLESDIR}/pam_smbpass" .endif ${INSTALL_DATA} "${WRKDIR}/smb.conf.sample" "${STAGEDIR}${EXAMPLESDIR}/${SAMBA_CONFIG}.sample" ${INSTALL_DATA} "${WRKDIR}/smb.conf.sample" "${STAGEDIR}${SAMBA_CONFDIR}/${SAMBA_CONFIG}.sample" ${INSTALL_SCRIPT} "${WRKSRC}/script/mksmbpasswd.sh" "${STAGEDIR}${PREFIX}/bin/make_smbpasswd" # Winbind .if ${PORT_OPTIONS:MWINBIND} ${INSTALL_PROGRAM} "${WRKDIR}/${DISTNAME}/nsswitch/nss_winbind.so" "${STAGEDIR}${SAMBA_LIBDIR}/nss_winbind.so.1" ${INSTALL_PROGRAM} "${WRKDIR}/${DISTNAME}/nsswitch/nss_wins.so" "${STAGEDIR}${SAMBA_LIBDIR}/nss_wins.so.1" ${INSTALL_PROGRAM} "${WRKSRC}/bin/pam_winbind.so" "${STAGEDIR}${SAMBA_LIBDIR}" .endif .if ${PORT_OPTIONS:MPAM_SMBPASS} ${INSTALL_PROGRAM} "${WRKSRC}/bin/pam_smbpass.so" "${STAGEDIR}${SAMBA_LIBDIR}" .endif # smbtorture .if ${PORT_OPTIONS:MSMBTORTURE} ${INSTALL_PROGRAM} "${WRKSRC}/bin/smbtorture" "${STAGEDIR}${PREFIX}/bin" .endif # Lib @${FIND} "${STAGEDIR}${SAMBA_MODULEDIR}" -type f -o -type l | ${SED} -E 's|^${STAGEDIR}${PREFIX}/?||;' | ${EGREP} -F -v -f ${WRKDIR}/.PLIST.exclude | ${SORT} >> ${TMPPLIST} @for d in `${FIND} "${STAGEDIR}${SAMBA_MODULEDIR}" -type d | ${SORT} -r | ${SED} -E 's|^${STAGEDIR}${PREFIX}/?||;'`; do \ ${ECHO_CMD} "@unexec rmdir >/dev/null 2>&1 \"%D/$$d\" || true" >> ${TMPPLIST}; \ done # Documentation .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} @${CP} -Rp "${WRKDIR}/${DISTNAME}/docs/registry" "${STAGEDIR}${DOCSDIR}" . for f in Samba3-ByExample.pdf Samba3-HOWTO.pdf Samba3-Developers-Guide.pdf @${INSTALL_DATA} "${WRKDIR}/${DISTNAME}/docs/${f}" "${STAGEDIR}${DOCSDIR}" . endfor . for f in README COPYING MAINTAINERS.txt PFIF.txt Manifest Roadmap \ WHATSNEW.txt docs/THANKS docs/history @${INSTALL_DATA} "${WRKDIR}/${DISTNAME}/${f}" "${STAGEDIR}${DOCSDIR}" . endfor @${INSTALL_DATA} "${FILESDIR}/README.FreeBSD" "${STAGEDIR}${DOCSDIR}" .endif # Run post-install script .for dir in ${SAMBA_SPOOL} ${SAMBA_LOGDIR} ${SAMBA_RUNDIR} ${SAMBA_LOCKDIR} ${SAMBA_PRIVATEDIR} @${MKDIR} "${STAGEDIR}${dir}" .endfor @${CHMOD} 1777 ${STAGEDIR}${SAMBA_SPOOL} @${CHMOD} 0700 ${STAGEDIR}${SAMBA_PRIVATEDIR} @${CAT} ${PKGMESSAGE} .if ${PORT_OPTIONS:MMAX_DEBUG} test: (cd ${WRKSRC} && ${MAKE_CMD} test_nss_modules test_pam_modules && ${MAKE_CMD} test) .endif # !SAMBA_SUBPORT .endif .include Index: head/net-im/kmess-kde4/Makefile =================================================================== --- head/net-im/kmess-kde4/Makefile (revision 394507) +++ head/net-im/kmess-kde4/Makefile (revision 394508) @@ -1,22 +1,20 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= kmess PORTVERSION= 2.0.6.2 PORTREVISION= 9 CATEGORIES= net-im kde MASTER_SITES= SF/${PORTNAME}/Latest%20versions/${PORTVERSION}/ MAINTAINER= syncer@gmail.com COMMENT= MSN Messenger client for KDE LIB_DEPENDS= libqca.so:${PORTSDIR}/devel/qca -LATEST_LINK= ${PORTNAME}-kde4 - USE_GNOME= libxml2 libxslt USE_KDE4= kdeprefix kdelibs libkonq automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build USES= cmake gettext tar:bzip2 .include Index: head/net-im/py-xmpppy-yahoo/Makefile =================================================================== --- head/net-im/py-xmpppy-yahoo/Makefile (revision 394507) +++ head/net-im/py-xmpppy-yahoo/Makefile (revision 394508) @@ -1,68 +1,68 @@ # Created by: Michael Nottebrock # $FreeBSD$ PORTNAME= yahoo PORTVERSION= 0.3.20070314 PORTREVISION= 1 CATEGORIES= net-im python MASTER_SITES= LOCAL/lofi PKGNAMEPREFIX= xmpppy- DISTNAME= yahoo-transport-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Yahoo! transport for Jabber OPTIONS_DEFINE= EJABBERD EJABBERD_DESC= transport with ejabberd RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/xmpp/__init__.py:${PORTSDIR}/net-im/py-xmpppy \ ${PYTHON_SITELIBDIR}/DNS/__init__.py:${PORTSDIR}/dns/py-dns USES= python NO_BUILD= yes FILES= adhoc.py config.py jep0133.py roomlist.py xmlconfig.py \ yahoo_helpers.py avatar.py htmlutils.py migratespool.py toolbox.py \ yahoo.py ylib.py FILES_CURPHOO= YahooMD5.py __init__.py cpformat.py md5crypt.py pysha.py yahoo_fn.py PFILES= ${FILES:S.^.%%PYTHON_SITELIBDIR%%/xmpp/yahoo/.} \ ${FILES_CURPHOO:S.^.%%PYTHON_SITELIBDIR%%/xmpp/yahoo/curphoo/.} -PLIST_FILES= ${PFILES} ${PFILES:S.$.c.} ${PFILES:S.$.o.} etc/${UNIQUENAME:S.-._.}.conf.sample +PLIST_FILES= ${PFILES} ${PFILES:S.$.c.} ${PFILES:S.$.o.} etc/${PKGBASE:S.-._.}.conf.sample SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} BINDIR=${PYTHON_SITELIBDIR}/xmpp/yahoo \ JABBER_USER=${JABBER_USER} -USE_RC_SUBR= ${UNIQUENAME:S/-/_/} +USE_RC_SUBR= ${PKGBASE:S/-/_/} DDIR= ${PYTHON_SITELIBDIR}/xmpp/yahoo .include .if ${PORT_OPTIONS:MEJABBERD} JABBER_USER?= ejabberd SUB_LIST+= JABBER_REQUIRE=ejabberd .else JABBER_USER?= jabber SUB_LIST+= JABBER_REQUIRE=jabberd .endif post-patch: @${GREP} -lr '/usr/bin/env python' ${WRKSRC} | \ ${XARGS} ${REINPLACE_CMD} -e "s|/usr/bin/env python|${PYTHON_CMD}|" - @${REINPLACE_CMD} -e "s|/etc/pyyimt.conf.xml|${PREFIX}/etc/${UNIQUENAME:S.-._.}.conf|" \ + @${REINPLACE_CMD} -e "s|/etc/pyyimt.conf.xml|${PREFIX}/etc/${PKGBASE:S.-._.}.conf|" \ -e 's|pid = ""|pid = "/var/jabberd/pid/PyYIMt.pid"|g' \ -e 's|spoolFile = "user.dbm"|spoolFile = "/var/spool/jabberd/yahoouser.dbm"|g' \ ${WRKSRC}/config.py @${REINPLACE_CMD} -e '/spoolFile/s|yahoouser.dbm|/var/spool/jabberd/yahoouser.dbm|' \ -e 's|yahooerror.log -->|' \ -e 's|PyYIMt.pid|/var/jabberd/pid/PyYIMt.pid|' \ ${WRKSRC}/config_example.xml do-install: @${INSTALL} -d ${STAGEDIR}${DDIR} ${INSTALL_DATA} ${FILES:S.^.${WRKSRC}/.} ${STAGEDIR}${DDIR}/ ${INSTALL_SCRIPT} ${WRKSRC}/yahoo.py ${STAGEDIR}${DDIR}/ @${MKDIR} ${STAGEDIR}${DDIR}/curphoo ${INSTALL_DATA} ${FILES_CURPHOO:S.^.${WRKSRC}/curphoo/.} ${STAGEDIR}${DDIR}/curphoo/ - ${INSTALL_DATA} ${WRKSRC}/config_example.xml ${STAGEDIR}${PREFIX}/etc/${UNIQUENAME:S.-._.}.conf.sample + ${INSTALL_DATA} ${WRKSRC}/config_example.xml ${STAGEDIR}${PREFIX}/etc/${PKGBASE:S.-._.}.conf.sample ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d ${DDIR} ${STAGEDIR}${DDIR} ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -d ${DDIR} ${STAGEDIR}${DDIR} @${CHMOD} -R a-w ${STAGEDIR}${DDIR} .include Index: head/net-mgmt/netustad/Makefile =================================================================== --- head/net-mgmt/netustad/Makefile (revision 394507) +++ head/net-mgmt/netustad/Makefile (revision 394508) @@ -1,39 +1,37 @@ # Created by: Ozkan KIRIK # $FreeBSD$ PORTNAME= netustad PORTVERSION= 0.3.1 PORTREVISION= 6 CATEGORIES= net-mgmt security MASTER_SITES= http://www.enderunix.org/netustad/ MAINTAINER= ports@FreeBSD.org COMMENT= Web based admin tool that manages network services USE_RC_SUBR= ${PORTNAME} USES= gettext GNU_CONFIGURE= yes SUB_FILES= pkg-message OPTIONS_DEFINE= SSL NLS DOCS OPTIONS_DEFAULT=SSL SSL_DESC= Use netUstad with SSL support -LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} - SSL_USE= OPENSSL=yes SSL_CONFIGURE_WITH= ssl NLS_CONFIGURE_WITH= nls .include .if ! ${PORT_OPTIONS:MDOCS} post-patch: ${REINPLACE_CMD} "s/^install-data-am:.*/install-data-am:/" ${WRKSRC}/Makefile.in .endif post-install: @${MV} ${STAGEDIR}${ETCDIR}/netustad.conf-dist ${STAGEDIR}${ETCDIR}/netustad.conf.sample .include Index: head/net-mgmt/zabbix2-agent/Makefile =================================================================== --- head/net-mgmt/zabbix2-agent/Makefile (revision 394507) +++ head/net-mgmt/zabbix2-agent/Makefile (revision 394508) @@ -1,17 +1,16 @@ # Created by: Sergey Akifyev # $FreeBSD$ PORTNAME= zabbix2 PKGNAMESUFFIX= -agent CATEGORIES= net-mgmt MASTERDIR= ${.CURDIR}/../zabbix2-server PLIST= ${PKGDIR}/pkg-plist.agent -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options OPTIONS_DEFINE= IPV6 OPTIONS_DEFAULT= IPV6 .include .include "${MASTERDIR}/Makefile" Index: head/net-mgmt/zabbix2-frontend/Makefile =================================================================== --- head/net-mgmt/zabbix2-frontend/Makefile (revision 394507) +++ head/net-mgmt/zabbix2-frontend/Makefile (revision 394508) @@ -1,50 +1,49 @@ # Created by: Jim Riggs # $FreeBSD$ PORTNAME= zabbix2 PKGNAMESUFFIX= -frontend CATEGORIES= net-mgmt MASTERDIR= ${.CURDIR}/../zabbix2-server NO_BUILD= yes PATCHDIR= PLIST= ${PKGDIR}/pkg-plist.frontend USE_PHP= bcmath ctype gd pcre snmp sockets mbstring session dom xml \ xmlreader xmlwriter simplexml gettext ldap WANT_PHP_WEB= yes -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options OPTIONS_DEFINE= MYSQL MYSQLI PGSQL SQLITE ORACLE OPTIONS_DEFAULT= MYSQL MYSQLI MYSQLI_DESC= MySQLI backend .include .if ${PORT_OPTIONS:MMYSQL} USE_PHP+= mysql .endif .if ${PORT_OPTIONS:MMYSQLI} USE_PHP+= mysqli .endif .if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pgsql .endif .if ${PORT_OPTIONS:MSQLITE} USE_PHP+= sqlite3 .endif .if ${PORT_OPTIONS:MORACLE} ZABBIX_REQUIRE= CONFIGURE_ARGS+= --with-oracle .endif do-install: @${INSTALL} -d ${STAGEDIR}${WWWDIR} @cd ${WRKSRC}/frontends/php/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include "${MASTERDIR}/Makefile" Index: head/net-mgmt/zabbix2-server/Makefile =================================================================== --- head/net-mgmt/zabbix2-server/Makefile (revision 394507) +++ head/net-mgmt/zabbix2-server/Makefile (revision 394508) @@ -1,162 +1,160 @@ # Created by: Jim Riggs # $FreeBSD$ PORTNAME= zabbix2 PORTVERSION= 2.0.14 PORTREVISION?= 0 CATEGORIES= net-mgmt MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION} PKGNAMESUFFIX?= -server DISTNAME= zabbix-${PORTVERSION} MAINTAINER= pakhom706@gmail.com COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) LICENSE= GPLv2 CONFLICTS= ${PKGBASE}-1.[0-8]* IGNORE_WITH_MYSQL= 41 .if ${PKGNAMESUFFIX} != "-agent" CONFLICTS+= ${PORTNAME}-1.[0-8]* .endif ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//} .if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings .if ${ZABBIX_BUILD} != "agent" USE_RC_SUBR= zabbix_${ZABBIX_BUILD} .else USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d .endif USES= pkgconfig iconv USERS= zabbix GROUPS= zabbix .if ${ZABBIX_BUILD} != "proxy" PLIST_SUB= PROXY="@comment " .else PLIST_SUB= PROXY="" .endif .if ${ZABBIX_BUILD} == "server" PLIST_SUB+= SERVER="" .else PLIST_SUB+= SERVER="@comment " .endif PLIST_SUB+= ZABBIX_BUILD=${ZABBIX_BUILD} PORTVERSION=${PORTVERSION} SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} ZABBIX_REQUIRE=${ZABBIX_REQUIRE} MAKE_ARGS+= ARCH=freebsd GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \ --sysconfdir=${ETCDIR} \ --datadir=${ETCDIR} .if ${ZABBIX_BUILD} != "agent" LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp \ libexecinfo.so:${PORTSDIR}/devel/libexecinfo SUB_FILES= pkg-message CONFIGURE_ARGS+= --with-net-snmp -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options - OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP JAVAGW OPTIONS_DEFAULT= MYSQL IPV6 FPING JABBER CURL UNIXODBC OPTIONS_SUB= yes CURL_DESC= Support for web monitoring FPING_DESC= Build/install fping for ping checks IPMI_DESC= Support for IPMI checks JABBER_DESC= Support for Jabber media type LDAP_DESC= Support for LDAP server checks NMAP_DESC= Build/install nmap for o/s detection SSH_DESC= Support for SSH-based checks JAVAGW_DESC= Support for Java gateway ODBC_DESC= Support for database checks via ODBC OPTIONS_SINGLE= DB ODBC OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE OPTIONS_SINGLE_ODBC= IODBC UNIXODBC MYSQL_CONFIGURE_WITH= mysql MYSQL_USE= MYSQL=yes PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES= pgsql SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USE= SQLITE=3 ORACLE_CONFIGURE_WITH= oracle CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes IPMI_CONFIGURE_WITH= openipmi IPMI_LIB_DEPENDS= libOpenIPMI.so:${PORTSDIR}/sysutils/openipmi JABBER_CONFIGURE_WITH= jabber JABBER_LIB_DEPENDS= libiksemel.so:${PORTSDIR}/textproc/iksemel FPING_RUN_DEPENDS= fping:${PORTSDIR}/net/fping SSH_CONFIGURE_WITH= ssh2 SSH_LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2 IODBC_CONFIGURE_WITH= iodbc IODBC_LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc UNIXODBC_CONFIGURE_WITH= unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC .endif # if ${ZABBIX_BUILD} != "agent" IPV6_CONFIGURE_ENABLE= ipv6 NMAP_RUN_DEPENDS= nmap:${PORTSDIR}/security/nmap \ sudo:${PORTSDIR}/security/sudo JAVAGW_CONFIGURE_ENABLE= java JAVAGW_USE= JAVA=yes .include post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' ${WRKSRC}/conf/zabbix_*.conf .if ${ZABBIX_BUILD} != "agent" .for d in mysql oracle postgresql sqlite3 @${REINPLACE_CMD} -e 's|/bin/ping|/sbin/ping|g; \ s|/usr/bin/traceroute|/usr/sbin/traceroute|g; \ s|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g;' \ ${WRKSRC}/database/${d}/data.sql .endfor .endif @${REINPLACE_CMD} -Ee 's|(@sysconfdir@/(\$$\([A-Z]*_CONFIG\)))" ([|][|] cp "../../conf/\$$\([A-Z]*_CONFIG\)" "\$$\(DESTDIR\)@sysconfdir@)"|\1.sample" \3/\2.sample"|;' \ ${WRKSRC}/src/zabbix_${ZABBIX_BUILD}/Makefile.in @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) -exec ${RM} -f {} + post-install: .if ${PORT_OPTIONS:MJAVAGW} @${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample .endif .if ${ZABBIX_BUILD} != "agent" @${MKDIR} "${STAGEDIR}${DATADIR}/${ZABBIX_BUILD}/database" @cd ${WRKSRC}/upgrades/ && ${COPYTREE_SHARE} dbpatches ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD}/upgrades/ @cd ${WRKSRC}/database/ && ${COPYTREE_SHARE} "ibm_db2 mysql oracle postgresql sqlite3" ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD}/database/ .endif .endif # if ${ZABBIX_BUILD} != "frontend" .include Index: head/net-mgmt/zabbix22-agent/Makefile =================================================================== --- head/net-mgmt/zabbix22-agent/Makefile (revision 394507) +++ head/net-mgmt/zabbix22-agent/Makefile (revision 394508) @@ -1,17 +1,16 @@ # Created by: Pakhom Golynga # $FreeBSD$ PORTNAME= zabbix22 CATEGORIES= net-mgmt PKGNAMESUFFIX= -agent MASTERDIR= ${.CURDIR}/../zabbix22-server PLIST= ${PKGDIR}/pkg-plist.agent -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options OPTIONS_DEFINE= IPV6 OPTIONS_DEFAULT= IPV6 .include .include "${MASTERDIR}/Makefile" Index: head/net-mgmt/zabbix22-frontend/Makefile =================================================================== --- head/net-mgmt/zabbix22-frontend/Makefile (revision 394507) +++ head/net-mgmt/zabbix22-frontend/Makefile (revision 394508) @@ -1,50 +1,49 @@ # Created by: Jim Riggs # $FreeBSD$ PORTNAME= zabbix22 CATEGORIES= net-mgmt PKGNAMESUFFIX= -frontend MASTERDIR= ${.CURDIR}/../zabbix22-server NO_BUILD= yes PATCHDIR= PLIST= ${PKGDIR}/pkg-plist.frontend USE_PHP= bcmath ctype gd pcre snmp sockets mbstring session dom xml \ xmlreader xmlwriter simplexml gettext ldap WANT_PHP_WEB= yes -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options OPTIONS_DEFINE= MYSQL MYSQLI PGSQL SQLITE ORACLE OPTIONS_DEFAULT= MYSQL MYSQLI MYSQLI_DESC= MySQLI backend .include .if ${PORT_OPTIONS:MMYSQL} USE_PHP+= mysql .endif .if ${PORT_OPTIONS:MMYSQLI} USE_PHP+= mysqli .endif .if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pgsql .endif .if ${PORT_OPTIONS:MSQLITE} USE_PHP+= sqlite3 .endif .if ${PORT_OPTIONS:MORACLE} ZABBIX_REQUIRE= CONFIGURE_ARGS+= --with-oracle .endif do-install: @${INSTALL} -d ${STAGEDIR}${WWWDIR} @cd ${WRKSRC}/frontends/php/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include "${MASTERDIR}/Makefile" Index: head/net-mgmt/zabbix22-server/Makefile =================================================================== --- head/net-mgmt/zabbix22-server/Makefile (revision 394507) +++ head/net-mgmt/zabbix22-server/Makefile (revision 394508) @@ -1,169 +1,167 @@ # Created by: Pakhom Golynga # $FreeBSD$ PORTNAME= zabbix22 PORTVERSION= 2.2.9 CATEGORIES= net-mgmt MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION} PKGNAMESUFFIX?= -server DISTNAME= zabbix-${PORTVERSION} MAINTAINER= pakhom706@gmail.com COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) LICENSE= GPLv2 CONFLICTS= ${PKGBASE}-1.[0-8]* IGNORE_WITH_PHP= 52 IGNORE_WITH_MYSQL= 41 .if ${PKGNAMESUFFIX} != "-agent" CONFLICTS+= ${PORTNAME}-1.[0-8]* .endif ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//} .if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings .if ${ZABBIX_BUILD} != "agent" USE_RC_SUBR= zabbix_${ZABBIX_BUILD} .else USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d .endif USES= pkgconfig iconv USERS= zabbix GROUPS= zabbix .if ${ZABBIX_BUILD} != "proxy" PLIST_SUB= PROXY="@comment " .else PLIST_SUB= PROXY="" .endif .if ${ZABBIX_BUILD} == "server" PLIST_SUB+= SERVER="" .else PLIST_SUB+= SERVER="@comment " .endif PLIST_SUB+= ZABBIX_BUILD=${ZABBIX_BUILD} PORTVERSION=${PORTVERSION} SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} ZABBIX_REQUIRE=${ZABBIX_REQUIRE} MAKE_ARGS+= ARCH=freebsd GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \ --sysconfdir=${ETCDIR} \ --datadir=${ETCDIR} \ --with-iconv=${ICONV_PREFIX} .if ${ZABBIX_BUILD} != "agent" LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp \ libexecinfo.so:${PORTSDIR}/devel/libexecinfo SUB_FILES= pkg-message CONFIGURE_ARGS+= --with-net-snmp -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options - OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP JAVAGW LIBXML2 OPTIONS_DEFAULT= MYSQL IPV6 FPING JABBER CURL UNIXODBC OPTIONS_SUB= yes CURL_DESC= Support for web monitoring FPING_DESC= Build/install fping for ping checks IPMI_DESC= Support for IPMI checks JABBER_DESC= Support for Jabber media type LDAP_DESC= Support for LDAP server checks NMAP_DESC= Build/install Nmap for OS detection SSH_DESC= Support for SSH-based checks ODBC_DESC= Support for database checks via ODBC JAVAGW_DESC= Support for Java gateway LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) OPTIONS_SINGLE= DB ODBC OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE OPTIONS_SINGLE_ODBC= IODBC UNIXODBC MYSQL_CONFIGURE_WITH= mysql MYSQL_USE= MYSQL=yes PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES= pgsql SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USE= SQLITE=3 ORACLE_CONFIGURE_WITH= oracle CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes IPMI_CONFIGURE_WITH= openipmi IPMI_LIB_DEPENDS= libOpenIPMI.so:${PORTSDIR}/sysutils/openipmi JABBER_CONFIGURE_WITH= jabber JABBER_LIB_DEPENDS= libiksemel.so:${PORTSDIR}/textproc/iksemel FPING_RUN_DEPENDS= fping:${PORTSDIR}/net/fping SSH_CONFIGURE_WITH= ssh2 SSH_LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2 IODBC_CONFIGURE_WITH= iodbc IODBC_LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc UNIXODBC_CONFIGURE_WITH= unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC .endif # if ${ZABBIX_BUILD} != "agent" IPV6_CONFIGURE_ENABLE= ipv6 NMAP_RUN_DEPENDS= nmap:${PORTSDIR}/security/nmap \ sudo:${PORTSDIR}/security/sudo JAVAGW_CONFIGURE_ENABLE= java JAVAGW_USE= JAVA=yes LIBXML2_CONFIGURE_WITH= libxml2 LIBXML2_LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 .include post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' ${WRKSRC}/conf/zabbix_*.conf .if ${ZABBIX_BUILD} != "agent" .if ! ${PORT_OPTIONS:MFPING} .endif .for d in mysql oracle postgresql sqlite3 @${REINPLACE_CMD} -e 's|/bin/ping|/sbin/ping|g; \ s|/usr/bin/traceroute|/usr/sbin/traceroute|g; \ s|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g;' \ ${WRKSRC}/database/${d}/data.sql .endfor .endif @${REINPLACE_CMD} -Ee 's|(@sysconfdir@/(\$$\([A-Z]*_CONFIG\)))" ([|][|] cp "../../conf/\$$\([A-Z]*_CONFIG\)" "\$$\(DESTDIR\)@sysconfdir@)"|\1.sample" \3/\2.sample"|;' \ ${WRKSRC}/src/zabbix_${ZABBIX_BUILD}/Makefile.in @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) -exec ${RM} -f {} + post-install: .if ${PORT_OPTIONS:MJAVAGW} @${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample .endif .if ${ZABBIX_BUILD} != "agent" ${MKDIR} "${STAGEDIR}${DATADIR}/${ZABBIX_BUILD}/database" cd ${WRKSRC}/upgrades/ && ${COPYTREE_SHARE} dbpatches ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD}/upgrades/ cd ${WRKSRC}/database/ && ${COPYTREE_SHARE} "ibm_db2 mysql oracle postgresql sqlite3" ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD}/database/ .endif .endif .include Index: head/net-mgmt/zabbix24-agent/Makefile =================================================================== --- head/net-mgmt/zabbix24-agent/Makefile (revision 394507) +++ head/net-mgmt/zabbix24-agent/Makefile (revision 394508) @@ -1,15 +1,14 @@ # Created by: Pakhom Golynga # $FreeBSD$ PORTNAME= zabbix24 CATEGORIES= net-mgmt PKGNAMESUFFIX= -agent MASTERDIR= ${.CURDIR}/../zabbix24-server PLIST= ${PKGDIR}/pkg-plist.agent -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options OPTIONS_DEFINE= IPV6 OPTIONS_DEFAULT= IPV6 .include "${MASTERDIR}/Makefile" Index: head/net-mgmt/zabbix24-frontend/Makefile =================================================================== --- head/net-mgmt/zabbix24-frontend/Makefile (revision 394507) +++ head/net-mgmt/zabbix24-frontend/Makefile (revision 394508) @@ -1,51 +1,50 @@ # Created by: Pakhom Golynga # $FreeBSD$ PORTNAME= zabbix24 CATEGORIES= net-mgmt PKGNAMESUFFIX= -frontend MASTERDIR= ${.CURDIR}/../zabbix24-server NO_BUILD= yes PATCHDIR= PLIST= ${PKGDIR}/pkg-plist.frontend USE_PHP= bcmath ctype gd pcre snmp sockets mbstring session dom xml \ xmlreader xmlwriter simplexml gettext ldap WANT_PHP_WEB= yes -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options OPTIONS_DEFINE= MYSQL MYSQLI PGSQL SQLITE ORACLE OPTIONS_DEFAULT= MYSQL MYSQLI MYSQLI_DESC= MySQLI backend .include .if ${PORT_OPTIONS:MMYSQL} USE_PHP+= mysql .endif .if ${PORT_OPTIONS:MMYSQLI} USE_PHP+= mysqli .endif .if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pgsql .endif .if ${PORT_OPTIONS:MSQLITE} USE_PHP+= sqlite3 .endif .if ${PORT_OPTIONS:MORACLE} ZABBIX_REQUIRE= CONFIGURE_ARGS+= --with-oracle .endif do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC}/frontends/php && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include "${MASTERDIR}/Makefile" Index: head/net-mgmt/zabbix24-server/Makefile =================================================================== --- head/net-mgmt/zabbix24-server/Makefile (revision 394507) +++ head/net-mgmt/zabbix24-server/Makefile (revision 394508) @@ -1,177 +1,176 @@ # Created by: Pakhom Golynga # $FreeBSD$ PORTNAME= zabbix24 PORTVERSION= 2.4.5 PORTREVISION?= 0 CATEGORIES= net-mgmt MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION} PKGNAMESUFFIX?= -server DISTNAME= zabbix-${PORTVERSION} MAINTAINER= pakhom706@gmail.com COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) LICENSE= GPLv2 CONFLICTS= ${PKGBASE}-1.[0-8]* IGNORE_WITH_PHP= 52 IGNORE_WITH_MYSQL= 41 .if ${PKGNAMESUFFIX} != "-agent" CONFLICTS+= ${PORTNAME}-1.[0-8]* .endif ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//} .if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings .if ${ZABBIX_BUILD} != "agent" USE_RC_SUBR= zabbix_${ZABBIX_BUILD} .else USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d .endif USES= pkgconfig iconv USERS= zabbix GROUPS= zabbix .if ${ZABBIX_BUILD} != "proxy" PLIST_SUB= PROXY="@comment " .else PLIST_SUB= PROXY="" .endif .if ${ZABBIX_BUILD} == "server" PLIST_SUB+= SERVER="" .else PLIST_SUB+= SERVER="@comment " .endif PLIST_SUB+= ZABBIX_BUILD=${ZABBIX_BUILD} PORTVERSION=${PORTVERSION} SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} ZABBIX_REQUIRE=${ZABBIX_REQUIRE} MAKE_ARGS+= ARCH=freebsd GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \ --sysconfdir=${ETCDIR} \ --datadir=${ETCDIR} \ --with-iconv=${ICONV_PREFIX} .if ${ZABBIX_BUILD} != "agent" LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp \ libexecinfo.so:${PORTSDIR}/devel/libexecinfo SUB_FILES= pkg-message CONFIGURE_ARGS+= --with-net-snmp -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP JAVAGW \ LIBXML2 OPTIONS_DEFAULT= IPV6 FPING JABBER CURL UNIXODBC MYSQL SSH OPTIONS_SUB= yes CURL_DESC= Support for web monitoring FPING_DESC= Build/install fping for ping checks IPMI_DESC= Support for IPMI checks JABBER_DESC= Support for Jabber media type LDAP_DESC= Support for LDAP server checks NMAP_DESC= Build/install nmap for o/s detection SSH_DESC= Support for SSH-based checks ODBC_DESC= Support for database checks via ODBC JAVAGW_DESC= Support for Java gateway LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) OPTIONS_SINGLE= DB ODBC OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE OPTIONS_SINGLE_ODBC= IODBC UNIXODBC MYSQL_CONFIGURE_WITH= mysql MYSQL_USE= MYSQL=yes PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES= pgsql SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USE= SQLITE=3 ORACLE_CONFIGURE_WITH= oracle CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes IPMI_CONFIGURE_WITH= openipmi IPMI_LIB_DEPENDS= libOpenIPMI.so:${PORTSDIR}/sysutils/openipmi JABBER_CONFIGURE_WITH= jabber JABBER_LIB_DEPENDS= libiksemel.so:${PORTSDIR}/textproc/iksemel FPING_RUN_DEPENDS= fping:${PORTSDIR}/net/fping SSH_CONFIGURE_WITH= ssh2 SSH_LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2 IODBC_CONFIGURE_WITH= iodbc IODBC_LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc UNIXODBC_CONFIGURE_WITH=unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC .endif # if ${ZABBIX_BUILD} != "agent" IPV6_CONFIGURE_ENABLE= ipv6 NMAP_RUN_DEPENDS= nmap:${PORTSDIR}/security/nmap \ sudo:${PORTSDIR}/security/sudo JAVAGW_CONFIGURE_ENABLE=java JAVAGW_USE= JAVA=yes LIBXML2_CONFIGURE_WITH= libxml2 LIBXML2_LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 .include post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' \ ${WRKSRC}/conf/zabbix_*.conf .if ${ZABBIX_BUILD} != "agent" . for d in mysql oracle postgresql sqlite3 @${REINPLACE_CMD} \ -e 's|/bin/ping|/sbin/ping|g' \ -e 's|/usr/bin/traceroute|/usr/sbin/traceroute|g' \ -e 's|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g' \ ${WRKSRC}/database/${d}/data.sql . endfor .endif @${REINPLACE_CMD} \ -Ee 's|(@sysconfdir@/(\$$\([A-Z]*_CONFIG\)))" ([|][|] cp "../../conf/\$$\([A-Z]*_CONFIG\)" "\$$\(DESTDIR\)@sysconfdir@)"|\1.sample" \3/\2.sample"|;' \ ${WRKSRC}/src/zabbix_${ZABBIX_BUILD}/Makefile.in @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) \ -exec ${RM} -f {} + post-install: .if ${PORT_OPTIONS:MJAVAGW} ${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh \ ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample .endif .if ${ZABBIX_BUILD} != "agent" ${MKDIR} ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database (cd ${WRKSRC}/upgrades/ && ${COPYTREE_SHARE} dbpatches \ ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/upgrades/) (cd ${WRKSRC}/database/ && \ ${COPYTREE_SHARE} "ibm_db2 mysql oracle postgresql sqlite3" \ ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database/) .endif .endif .include Index: head/news/inn/Makefile =================================================================== --- head/news/inn/Makefile (revision 394507) +++ head/news/inn/Makefile (revision 394508) @@ -1,202 +1,200 @@ # Created by: torstenb # $FreeBSD$ PORTNAME= inn PORTVERSION= 2.5.5 CATEGORIES= news ipv6 MASTER_SITES= ISC/${PORTNAME} MAINTAINER= johans@FreeBSD.org COMMENT= InterNetNews -- the Internet meets Netnews BUILD_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD \ p5-MIME-Tools>=0:${PORTSDIR}/mail/p5-MIME-Tools RUN_DEPENDS:= ${BUILD_DEPENDS} USE_RC_SUBR= innd SUB_FILES= pkg-install -LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} - USES= cpe gmake perl5 uidfix CPE_VENDOR= isc CONFLICTS?= inn-stable-[0-9]* inn-current-[0-9]* OPTIONS_DEFINE= BERKELEYDB GNUPG KERBEROS SASL KEYWORDS \ LARGE_FILES OPENSSL TAGGED_HASH OPTIONS_DEFAULT= BERKELEYDB GNUPG KEYWORDS OPENSSL LARGE_FILES OPTIONS_SUB= yes KERBEROS_DESC= Enable Kerberos v5 (for auth_krb5) SASL_DESC= Enable SASL (for imapfeed authentication) TAGGED_HASH_DESC= Use tagged hash table for history LARGE_FILES_DESC= Support for files larger than 2GB KEYWORDS_DESC= Automatic keyword generation support BERKELEYDB_DESC= Enable BerkeleyDB (for ovdb overview method) OPENSSL_DESC= Enable OpenSSL (for NNTP over TLS/SSL support) GNUPG_DESC= GnuPG support (for pgpverify control message) VARBASE?= /var .include "Makefile.layout" HAS_CONFIGURE= yes CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} CONFIGURE_ENV+= ac_cv_prog_AWK="${AWK}" CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man \ --prefix=${INN_NEWSBASE} \ --with-spool-dir=${INN_NEWSSPOOL} \ --with-log-dir=${INN_LOGDIR} \ --with-tmp-dir=${INN_TMPDIR} \ --sysconfdir=${INN_CONFDIR} \ --with-run-dir=${INN_RUNDIR} \ --with-db-dir=${INN_DBDIR} \ --datarootdir=${INN_SHAREDIR} \ --enable-ipv6 --with-perl .include .if ${PORT_OPTIONS:MBERKELEYDB} USE_BDB= 44+ CONFIGURE_ENV+= DB_VER=db${BDB_VER} CONFIGURE_ENV+= DB_LIB=${BDB_LIB_NAME} CONFIGURE_ARGS+= --with-berkeleydb=${LOCALBASE} .endif .if ${PORT_OPTIONS:MKERBEROS} . if exists(${LOCALBASE}/bin/krb5-config) LIB_DEPENDS+= libgssapi_krb5.so:${PORTSDIR}/security/krb5 CONFIGURE_ARGS+= --with-kerberos=${LOCALBASE} . else CONFIGURE_ARGS+= --with-kerberos=/usr . endif CONFIGURE_ENV+= ac_cv_search_krb5_parse_name="-lcrypt -lcrypto -lkrb5 -lasn1 -lroken -lhx509" CONFIGURE_ENV+= ac_cv_func_krb5_init_ets=yes .else CONFIGURE_ARGS+= --without-kerberos .endif .if ${PORT_OPTIONS:MLARGE_FILES} CONFIGURE_ARGS+= --enable-largefiles . if ${PORT_OPTIONS:MTAGGED_HASH} IGNORE= cannot be compiled with both LARGE_FILES and TAGGED_HASH: please re-run make config . endif .endif .if ${PORT_OPTIONS:MKEYWORDS} CONFIGURE_ARGS+= --enable-keywords .endif .if ${PORT_OPTIONS:MSASL} CONFIGURE_ARGS+= --with-sasl=${LOCALBASE} LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 .endif .if ${PORT_OPTIONS:MTAGGED_HASH} CONFIGURE_ARGS+= --enable-tagged-hash DBZ_FILES= dir pag PLIST_SUB+= WITH_TAGGED_HASH="" PLIST_SUB+= WITHOUT_TAGGED_HASH="@comment " .else DBZ_FILES= dir hash index PLIST_SUB+= WITH_TAGGED_HASH="@comment " PLIST_SUB+= WITHOUT_TAGGED_HASH="" .endif SUB_LIST+= DBZ_FILES="${DBZ_FILES}" .if ${PORT_OPTIONS:MOPENSSL} USE_OPENSSL= yes CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} .endif .if ${PORT_OPTIONS:MGNUPG} # Although pgpverify needs gpgv/gpgv2, # checking 'gpg' is the shortest way to check any version of GnuPG installed. BUILD_DEPENDS+= gpg:${PORTSDIR}/security/gnupg RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg .endif PORTDOCS= CONTRIBUTORS HACKING INSTALL LICENSE MANIFEST NEWS README TODO TO_BE_STRIPPED= bin/auth/resolv/domain bin/actsync bin/archive \ bin/auth/passwd/ckpasswd bin/auth/passwd/radius bin/auth/resolv/ident \ bin/batcher bin/buffchan bin/buffindexed_d bin/convdate bin/ctlinnd \ bin/cvtbatch bin/expire bin/expireover bin/fastrm bin/filechan \ bin/getlist bin/grephistory bin/imapfeed bin/inews bin/innbind \ bin/innconfval bin/innd bin/inndf bin/innfeed bin/innxbatch \ bin/innxmit bin/makedbz bin/makehistory bin/ninpaths bin/nnrpd \ bin/nntpget bin/ovdb_init bin/ovdb_monitor bin/ovdb_server \ bin/ovdb_stat bin/overchan bin/prunehistory bin/rnews \ bin/rnews.libexec/decode bin/rnews.libexec/encode bin/shlock \ bin/shrinkfile bin/sm bin/tdx-util bin/tinyleaf CONFIG_FILES= actsync.cfg actsync.ign buffindexed.conf control.ctl \ control.ctl.local cycbuff.conf \ distrib.pats distributions \ expire.ctl localgroups incoming.conf inn.conf innfeed.conf \ innreport.conf innshellvars.local innshellvars.pl.local \ innshellvars.tcl.local innwatch.ctl moderators news2mail.cf \ newsfeeds nocem.ctl \ nnrpd.track nntpsend.ctl ovdb.conf \ passwd.nntp readers.conf send-uucp.cf \ storage.conf subscriptions SUB_LIST+= EGDIR="${EXAMPLESDIR:C,^${PREFIX},\\$\\${PREFIX},}" PLIST_SUB+= ETCFILES="${CONFIG_FILES}" .include .if !defined(GID) GID!= id -g .endif post-patch: @${REINPLACE_CMD} -E 's!\$$[{(]PATHETC[})]!${EXAMPLESDIR}!g' \ ${WRKSRC}/site/Makefile @${REINPLACE_CMD} -e 's!et/com_err\.h!com_err.h!g' \ -e 's!-lk5crypto!!g' \ ${WRKSRC}/configure @${ECHO_CMD} '/^$$D$$(PATH_HISTORY)' > ${WRKDIR}/ex.script @${ECHO_CMD} '+' >> ${WRKDIR}/ex.script @${ECHO_CMD} 'mark t' >> ${WRKDIR}/ex.script @${ECHO_CMD} '/^$$' >> ${WRKDIR}/ex.script @${ECHO_CMD} "'t, d" >> ${WRKDIR}/ex.script @${ECHO_CMD} 'wq!' >> ${WRKDIR}/ex.script @cd ${WRKDIR} && ex ${WRKSRC}/site/Makefile < ex.script > /dev/null pre-install: # @${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL @${MKDIR} ${STAGEDIR}${INN_DBDIR} \ ${STAGEDIR}${EXAMPLESDIR} \ ${STAGEDIR}${EXAMPLESDIR}/db @${REINPLACE_CMD} -e '/^RUNASUSER *=/s/news/${UID}/' \ -e '/^RUNASGROUP *=/s/news/${GID}/' \ -e '/^RNEWSGROUP *=/s/news/${GID}/' \ ${WRKSRC}/Makefile.global post-build: @${FIND} ${WRKSRC} -name "inn.conf" \ | ${XARGS} ${REINPLACE_CMD} -e 's/^pathhost:.*/pathhost: host.example.com/' post-install: .for FILE in ${TO_BE_STRIPPED} ${STRIP_CMD} ${STAGEDIR}${INN_NEWSBASE}/${FILE} .endfor ${MKDIR} ${STAGEDIR}${INN_NEWSSPOOL} ${MKDIR} ${STAGEDIR}${INN_CONFDIR} .for FILE in ${CONFIG_FILES} ${CP} -p ${STAGEDIR}${EXAMPLESDIR}/${FILE} ${STAGEDIR}${INN_CONFDIR}/${FILE}.sample .endfor ${MKDIR} ${STAGEDIR}${INN_DBDIR} .for FILE in active active.times newsgroups ${MV} ${STAGEDIR}${INN_DBDIR}/${FILE} \ ${STAGEDIR}${INN_DBDIR}/${FILE}.sample .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/news/py-pynzb/Makefile =================================================================== --- head/news/py-pynzb/Makefile (revision 394507) +++ head/news/py-pynzb/Makefile (revision 394508) @@ -1,24 +1,23 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= pynzb PORTVERSION= 0.1.0 PORTREVISION= 2 CATEGORIES= news python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Unified API for parsing NZB files LICENSE= BSD3CLAUSE USES= python USE_PYTHON= distutils autoplist -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= LXML LXML_DESC= Add support for py-lxml LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=2.2.1:${PORTSDIR}/devel/py-lxml .include Index: head/ports-mgmt/pkg/Makefile =================================================================== --- head/ports-mgmt/pkg/Makefile (revision 394507) +++ head/ports-mgmt/pkg/Makefile (revision 394508) @@ -1,78 +1,77 @@ # $FreeBSD$ PORTNAME= pkg DISTVERSION= 1.5.6 _PKG_VERSION= ${DISTVERSION} CATEGORIES= ports-mgmt MASTER_SITES= \ http://files.etoilebsd.net/${PORTNAME}/ \ LOCAL/portmgr \ http://mirror.shatow.net/freebsd/${PORTNAME}/ \ MAINTAINER= pkg@FreeBSD.org COMMENT= Package manager LICENSE= BSD2CLAUSE USE_LDCONFIG= yes USES= libtool tar:xz GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-maintainer-mode INSTALL_TARGET= install-strip # Use a submake as 'deinstall install' needs to reevaluate PKG_CMD # so that pkg-static is used from the wrkdir USE_SUBMAKE= yes CFLAGS+= -Wno-error .if !exists(/usr/include/jail.h) EXTRA_PATCHES= ${FILESDIR}/extra-patch-docs_pkg.8 .endif .include .if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG) MAKE_ARGS+= DEBUG_FLAGS="${DEBUG_FLAGS}" .endif .if defined(WITH_PKG) .if ${WITH_PKG} == devel -NO_LATEST_LINK= yes IGNORE= WITH_PKG is defined to 'devel', this version is the stable one .endif .if exists(${LOCALBASE}/sbin/pkg_info) || exists(/usr/sbin/pkg_info) NB_OLDPKGS!= pkg_info 2>/dev/null | wc -l .if exists(${PKG_BIN}) NB_NEWPKGS!= ${PKG_INFO} -aq | wc -l .else NB_NEWPKGS= 0 .endif # Only show the pre-everything notice if they have not already # converted any packages .if ${NB_OLDPKGS} > 0 && ${NB_NEWPKGS} == 0 && !defined(UPGRADEPKG) pre-everything:: @${ECHO_CMD} "You are about to convert your system to pkg while you have ports/packages"; \ ${ECHO_CMD} "installed with the old pkg_install tools."; \ ${ECHO_CMD} ""; \ ${ECHO_CMD} "To switch to pkg:"; \ ${ECHO_CMD} " 1) Install ports-mgmt/pkg"; \ ${ECHO_CMD} " cd ports-mgmt/pkg && make UPGRADEPKG=1 install clean"; \ ${ECHO_CMD} " 2) Convert your package database by running pkg2ng"; \ ${ECHO_CMD} ""; \ exit 1 .endif .endif .endif #define PKG_DEPENDS to nothing to avoid infinite loop looking for pkg :) PKG_DEPENDS= .undef INSTALLS_DEPENDS PKG_BIN= ${WRKSRC}/src/pkg-static post-install: @${MV} ${STAGEDIR}${PREFIX}/lib/libpkg_static.a \ ${STAGEDIR}${PREFIX}/lib/libpkg.a .include Index: head/ports-mgmt/pkg-devel/Makefile =================================================================== --- head/ports-mgmt/pkg-devel/Makefile (revision 394507) +++ head/ports-mgmt/pkg-devel/Makefile (revision 394508) @@ -1,83 +1,79 @@ # $FreeBSD$ PORTNAME= pkg DISTVERSION= 1.5.99.7 _PKG_VERSION= ${DISTVERSION} CATEGORIES= ports-mgmt MASTER_SITES= \ http://files.etoilebsd.net/pkg/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/ PKGNAMESUFFIX= -devel MAINTAINER= pkg@FreeBSD.org COMMENT= Package manager LICENSE= BSD2CLAUSE WITH_DEBUG= yes CFLAGS+= -O0 -g -Wno-error USE_LDCONFIG= yes USES= libtool tar:xz GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-maintainer-mode INSTALL_TARGET= install-strip # Use a submake as 'deinstall install' needs to reevaluate PKG_CMD # so that pkg-static is used from the wrkdir USE_SUBMAKE= yes .if !exists(/usr/include/jail.h) EXTRA_PATCHES= ${FILESDIR}/extra-patch-docs_pkg.8 .endif .include .if defined(WITH_PKG) .if ${WITH_PKG} != devel -NO_LATEST_LINK= yes . if !defined(PACKAGE_BUILDING) IGNORE= WITH_PKG is not defined to 'devel', this version is the devel one . endif .else -LATEST_LINK= pkg PKGNAMESUFFIX= #define PKG_DEPENDS to nothing to avoid infinite loop looking for pkg :) PKG_DEPENDS= .endif .if exists(${LOCALBASE}/sbin/pkg_info) || exists(/usr/sbin/pkg_info) NB_OLDPKGS!= pkg_info 2>/dev/null | wc -l .if exists(${PKG_BIN}) NB_NEWPKGS!= ${PKG_INFO} -aq | wc -l .else NB_NEWPKGS= 0 .endif # Only show the pre-everything notice if they have not already # converted any packages .if ${NB_OLDPKGS} > 0 && ${NB_NEWPKGS} == 0 pre-everything:: @${ECHO_CMD} "You are about to convert your system to pkg while you have ports/packages"; \ ${ECHO_CMD} "installed with the old pkg_install tools."; \ ${ECHO_CMD} ""; \ ${ECHO_CMD} "To switch to pkg:"; \ ${ECHO_CMD} " 1) Install ports-mgmt/pkg"; \ ${ECHO_CMD} " 2) Convert your package database by running pkg2ng"; \ ${ECHO_CMD} ""; \ exit 1 .endif .endif -.else -LATEST_LINK= pkg-devel .endif .undef INSTALLS_DEPENDS .if !exists(${LOCALBASE}/sbin/pkg) PKG_BIN= ${WRKSRC}/src/pkg-static .endif post-install: @${MV} ${STAGEDIR}${PREFIX}/lib/libpkg_static.a \ ${STAGEDIR}${PREFIX}/lib/libpkg.a .include Index: head/print/cups-base/Makefile =================================================================== --- head/print/cups-base/Makefile (revision 394507) +++ head/print/cups-base/Makefile (revision 394508) @@ -1,320 +1,317 @@ # Created by: Alan Eldridge # $FreeBSD$ PORTNAME= cups PORTVERSION= 2.0.3 DISTVERSIONSUFFIX= -source #PORTREVISION= defined further CATEGORIES= print MASTER_SITES= http://www.cups.org/software/${DISTVERSION}/ \ EASYSW/${PORTNAME}/${DISTVERSION} PKGNAMESUFFIX= ${CUPS_SUFFIX}${PKGNAMESUFFIX2} MAINTAINER= ports@FreeBSD.org COMMENT= Common UNIX Printing System: ${COMMENT2} LICENSE= GPLv2 LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \ libgcrypt.so:${PORTSDIR}/security/libgcrypt CONFLICTS= LPRng-[0-9]* -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} - USES+= cpe gmake iconv pkgconfig tar:bzip2 CPE_VENDOR= apple DESTDIRNAME= DSTROOT GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib DSOFLAGS= -Wl,-rpath,${PREFIX}/lib ${LDFLAGS} ${LIBS} CONFIGURE_ENV= DSOFLAGS="${DSOFLAGS}" CONFIGURE_ARGS+= --localstatedir=/var \ --disable-gssapi \ --with-cups-user=${USERS} \ --with-cups-group=${GROUPS} \ --with-system-groups=${CUPSSYSGRP} \ --with-docdir=${DOCSDIR} \ --with-menudir=${DESKTOPDIR} \ --with-domainsocket=${CUPS_SOCKET} \ --with-cachedir=${CUPS_CACHEDIR} \ --with-pam-module="unix" \ --enable-gnutls CUPS_CACHEDIR?= /var/db/cups CUPS_SPOOLDIR= /var/spool/cups CUPS_SOCKET?= /var/run/cups.sock CUPS_PDFTOPS?= ${LOCALBASE}/libexec/xpdf/pdftops WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} CUPSSYSGRP= wheel # GROUPS/USERS does not work here GROUPS= cups USERS= cups -# UNIQUENAME must be set before bsd.port.pre.mk so OPTIONSFILE can be included OPTIONS_SUB= yes .if defined(CUPS_CLIENT) PORTREVISION= 2 LICENSE= LGPL21 CUPS_SUFFIX= -client OPTIONS_RADIO= ZEROCONF OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER OPTIONS_DEFAULT+= MDNSRESPONDER .elif defined(CUPS_IMAGE) PORTREVISION= 2 CUPS_SUFFIX= -image LICENSE= LGPL21 .else PORTREVISION= 3 CUPS_SUFFIX= -base # No DOCS option. Files are needed by web interface. OPTIONS_DEFINE= DBUS ICONS LIBPAPER LIBUSB PAM XDG_OPEN OPTIONS_GROUP= WEB OPTIONS_GROUP_WEB= JAVA PERL PHP PYTHON OPTIONS_RADIO= ZEROCONF OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER OPTIONS_DEFAULT+= LIBPAPER MDNSRESPONDER ICONS .endif ICONS_DESC= Desktop icons LIBUSB_DESC= USB support WEB_DESC= Interpreters for web interfaces XDG_OPEN_DESC= Build with XDG_OPEN as browser ZEROCONF_DESC= Zeroconf support .include .if defined(CUPS_CLIENT) COMMENT2= Library cups INSTALL_WRKSRC= ${WRKSRC}/cups PLIST= ${MASTERDIR}/pkg-plist.client LIBS+= ${ICONV_LIB} USE_LDCONFIG= yes PKGMESSAGE= ${NONEXISTENT} DESCR= ${MASTERDIR}/pkg-descr.client .elif defined(CUPS_IMAGE) LIB_DEPENDS+= libcups.so:${PORTSDIR}/${PKGCATEGORY}/cups-client \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff # force build if old cups is installed. BUILD_DEPENDS+= cups-client${PKGNAMESUFFIX2}>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-client USES+= jpeg COMMENT2= Library cupsimage INSTALL_WRKSRC= ${WRKSRC}/filter PLIST= ${MASTERDIR}/pkg-plist.image USE_LDCONFIG= yes PKGMESSAGE= ${NONEXISTENT} DESCR= ${MASTERDIR}/pkg-descr.image .else LIB_DEPENDS+= libcups.so:${PORTSDIR}/${PKGCATEGORY}/cups-client \ libcupsimage.so:${PORTSDIR}/${PKGCATEGORY}/cups-image # force build if old cups is installed. BUILD_DEPENDS+= cups-client${PKGNAMESUFFIX2}>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-client BUILD_DEPENDS+= cups-image${PKGNAMESUFFIX2}>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-image COMMENT2= Server USE_RC_SUBR= cupsd PLIST_SUB+= CACHEDIR="${CUPS_CACHEDIR}" BROKEN_ia64= stack-protector not supported on ia64 .endif .if defined(CUPS_OVERWRITE_BASE) PLIST_SUB+= OVERWRITE="" CONFIGURE_ARGS+= --with-printcap=/etc/printcap .else PLIST_SUB+= OVERWRITE="@comment " CONFIGURE_ARGS+= --with-printcap=${PREFIX}/etc/printcap .endif # Don't use CONFIGURE_ARGS+=--without-* to disable web interpreters because it # will set the path of the interpreter to "no" and set it's existence to TRUE. .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) . if ${PORT_OPTIONS:MJAVA} CONFIGURE_ARGS+= --with-java=${JAVA} USE_JAVA= yes . endif . if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} USES+= perl5 . endif . if ${PORT_OPTIONS:MPHP} CONFIGURE_ARGS+= --with-php=${LOCALBASE}/bin/php-cgi USE_PHP= yes USE_PHP_BUILD= yes WANT_PHP_CGI= yes . endif . if ${PORT_OPTIONS:MPYTHON} CONFIGURE_ARGS+= --with-python=${PYTHON_CMD} USES+= python . endif . if ${PORT_OPTIONS:MLIBPAPER} CONFIGURE_ARGS+= --enable-libpaper LIB_DEPENDS+= libpaper.so:${PORTSDIR}/print/libpaper . endif . if ${PORT_OPTIONS:MPAM} CONFIGURE_ARGS+= --enable-pam . else CONFIGURE_ARGS+= --disable-pam . endif . if ${PORT_OPTIONS:MDBUS} LIB_DEPENDS+= libdbus-1.so:${PORTSDIR}/devel/dbus CONFIGURE_ARGS+= --enable-dbus . else CONFIGURE_ARGS+= --disable-dbus . endif . if ${PORT_OPTIONS:MXDG_OPEN} RUN_DEPENDS+= xdg-open:${PORTSDIR}/devel/xdg-utils . endif . if ${PORT_OPTIONS:MLIBUSB} CONFIGURE_ARGS+= --enable-libusb PLIST_SUB+= LIBUSB="" . else CONFIGURE_ARGS+= --disable-libusb PLIST_SUB+= LIBUSB="@comment " . endif . if ${PORT_OPTIONS:MICONS} INSTALLS_ICONS= yes CONFIGURE_ARGS+= --with-icondir=${PREFIX}/share/icons . endif SUB_FILES+= ulpt-cupsd.conf ulpt-cupsd.sh .endif .if !defined(CUPS_IMAGE) . if ${PORT_OPTIONS:MMDNSRESPONDER} LIB_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/mDNSResponder CONFIGURE_ARGS+= --enable-dnssd CONFIGURE_ARGS+= --with-dnssd-includes=${LOCALBASE}/include CONFIGURE_ARGS+= --disable-avahi SUB_LIST+= ZEROCONF="mdnsd" . elif ${PORT_OPTIONS:MAVAHI} CONFIGURE_ARGS+= --enable-avahi CONFIGURE_ARGS+= --disable-dnssd LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app SUB_LIST+= ZEROCONF="avahi_daemon" . else CONFIGURE_ARGS+= --disable-dnssd CONFIGURE_ARGS+= --disable-avahi SUB_LIST+= ZEROCONF="" . endif .endif .if ${OSVERSION} < 1000036 && ${ARCH} == i386 LIBS+= -lssp_nonshared .endif .include .if empty(ICONV_LIB) CONFIGURE_ENV+= ac_cv_search_libiconv_open=no .endif post-patch: .if ${ARCH} == "amd64" @${REINPLACE_CMD} -e 's|@PIEFLAGS@||' ${WRKSRC}/Makedefs.in .endif .if ${PORT_OPTIONS:MMDNSRESPONDER} @${REINPLACE_CMD} -e 's|Darwin|FreeBSD|' \ ${WRKSRC}/backend/Makefile .endif .if ${PORT_OPTIONS:MXDG_OPEN} @${REINPLACE_CMD} -e 's|htmlview|xdg-open|' ${WRKSRC}/desktop/cups.desktop.in .endif @${REINPLACE_CMD} -e '/SILENT/d' ${WRKSRC}/Makedefs.in @${REINPLACE_CMD} -e 's|/etc/cups|${LOCALBASE}/etc/cups|g' ${WRKSRC}/man/*.man* @${REINPLACE_CMD} -e 's|/private/etc/pam.d|${LOCALBASE}/etc/pam.d|' \ -e 's|-D_LARGEFILE64_SOURCE||g' \ ${WRKSRC}/${CONFIGURE_SCRIPT} @${REINPLACE_CMD} -e 's|\.default|.sample|'\ ${WRKSRC}/cgi-bin/admin.c\ ${WRKSRC}/CHANGES-1.3.txt\ ${WRKSRC}/conf/Makefile\ ${WRKSRC}/packaging/cups.list.in\ ${WRKSRC}/packaging/cups.spec\ ${WRKSRC}/packaging/cups.spec.in .if defined(CUPS_CLIENT) @${REINPLACE_CMD} \ -e 's|cups test|cups|' \ -e 's|cups filter |cups |' \ -e 's|driver ppdc scheduler||' \ -e 's|$$.PHPDIR. $$.FONTS.||' \ ${WRKSRC}/Makefile .elif defined(CUPS_IMAGE) @${REINPLACE_CMD} \ -e 's|cups test||' \ -e 's|cups filter |filter |' \ -e 's|driver ppdc scheduler||' \ -e 's|$$.PHPDIR. $$.FONTS.||' \ ${WRKSRC}/Makefile .else @${REINPLACE_CMD} \ -e 's|cups test|test|' \ -e 's|cups filter driver|driver|' \ -e '/cd cups/d' \ -e 's|$$.INSTALL_SCRIPT. cups-config|echo skip: cups-config|' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} \ -e 's|cups-config.$$.MAN1EXT. ||' \ ${WRKSRC}/man/Makefile .endif post-configure: .if defined(CUPS_CLIENT) @${REINPLACE_CMD} \ -e 's|filter .* templates||' \ ${WRKSRC}/Makedefs .elif defined(CUPS_IMAGE) @${REINPLACE_CMD} \ -e 's|filter .* templates|filter|' \ ${WRKSRC}/Makedefs .else @${REINPLACE_CMD} \ -e 's|filter backend|backend|' \ -e 's|/etc/pam.d|${LOCALBASE}/etc/pam.d|'\ ${WRKSRC}/Makedefs .endif .if !defined(CUPS_CLIENT) pre-build: ${CP} -p ${LOCALBASE}/lib/libcups.a ${WRKSRC}/cups/ ${CP} -p ${LOCALBASE}/lib/libcups.so ${WRKSRC}/cups/ ${CP} -p ${LOCALBASE}/lib/libcups.so.2 ${WRKSRC}/cups/ .if !defined(CUPS_IMAGE) ${CP} -p ${LOCALBASE}/lib/libcupsimage.so ${WRKSRC}/filter/ ${CP} -p ${LOCALBASE}/lib/libcupsimage.so.2 ${WRKSRC}/filter/ .endif .endif post-install: ${CHMOD} u+w ${STAGEDIR}${PREFIX}/lib/*.so.* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* ${CHMOD} u-w ${STAGEDIR}${PREFIX}/lib/*.so.* .if defined(CUPS_CLIENT) ${INSTALL_SCRIPT} ${WRKSRC}/cups-config ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/cups/libcups.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_MAN} ${WRKSRC}/man/cups-config.man ${STAGEDIR}${PREFIX}/man/man1/cups-config.1 .elif defined(CUPS_IMAGE) .else ${LN} -sf lpr ${STAGEDIR}${PREFIX}/bin/lpr-cups ${MKDIR} ${STAGEDIR}${ETCDIR}/ .for f in cupsd.conf mime.convs mime.types snmp.conf test -f ${STAGEDIR}${ETCDIR}/${f} && ${RM} -f ${STAGEDIR}${ETCDIR}/${f} || ${TRUE} ${INSTALL_DATA} ${WRKSRC}/conf/${f} ${STAGEDIR}${ETCDIR}/${f}.sample .endfor @${MV} ${STAGEDIR}${ETCDIR}/cups-files.conf ${STAGEDIR}${ETCDIR}/cups-files.conf.sample @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/ulpt-cupsd.conf ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_SCRIPT} ${WRKDIR}/ulpt-cupsd.sh ${STAGEDIR}${PREFIX}/sbin/ .endif .include Index: head/print/py-pollyreports/Makefile =================================================================== --- head/print/py-pollyreports/Makefile (revision 394507) +++ head/print/py-pollyreports/Makefile (revision 394508) @@ -1,24 +1,23 @@ # Created by: Jose Jachuf # $FreeBSD$ PORTNAME= PollyReports PORTVERSION= 1.7.6 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jjachuf@gmail.com COMMENT= Band-oriented PDF report generation from database query LICENSE= BSD2CLAUSE USES= python:2 USE_PYTHON= distutils autoplist -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options OPTIONS_DEFINE= REPORTLAB REPORTLAB_DESC= Install Reportlab2 REPORTLAB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}reportlab2>=2.1:${PORTSDIR}/print/py-reportlab2 .include Index: head/science/py-mdp/Makefile =================================================================== --- head/science/py-mdp/Makefile (revision 394507) +++ head/science/py-mdp/Makefile (revision 394508) @@ -1,35 +1,33 @@ # Created by: Li-Lun Wang # $FreeBSD$ PORTNAME= mdp PORTVERSION= 3.3 PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= SF/${PORTNAME}-toolkit/${PORTNAME}-toolkit/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:tu}-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Modular toolkit for Data Processing LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYNUMPY} USES= python USE_PYTHON= distutils autoplist -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options - OPTIONS_DEFINE= LIBSVM PP SCIPY LIBSVM_DESC= Provide the LibSVMClassifier node PP_DESC= Provide the Parallel Python PPScheduler SCIPY_DESC= Instal SciPy versions of eigensolver, FFT and convolution LIBSVM_RUN_DEPENDS= libsvm>2.91:${PORTSDIR}/science/libsvm \ libsvm-python>2.91:${PORTSDIR}/science/libsvm-python PP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pp>0:${PORTSDIR}/devel/py-pp SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.5.2:${PORTSDIR}/science/py-scipy .include Index: head/security/botan110/Makefile =================================================================== --- head/security/botan110/Makefile (revision 394507) +++ head/security/botan110/Makefile (revision 394508) @@ -1,71 +1,69 @@ # Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= botan PORTVERSION= 1.10.9 CATEGORIES= security MASTER_SITES= http://files.randombit.net/botan/v1.10/ PKGNAMESUFFIX= 110 DISTNAME= Botan-${PORTVERSION} MAINTAINER= lapo@lapo.it COMMENT= Portable, easy to use, and efficient C++ crypto library LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/doc/license.txt -LATEST_LINK= botan${PKGNAMESUFFIX} - OPTIONS_DEFINE= SSL GMP ECC DOCS OPTIONS_DEFAULT= SSL GMP ECC ECC_DESC= ECC support USES= compiler gmake python:build tar:tbz HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.py CONFIGURE_ARGS= --prefix=${PREFIX} --with-bzip2 --with-zlib MAKE_ARGS= CXX="${CXX}" LIB_OPT="${CXXFLAGS}" USE_LDCONFIG= yes PLIST_FILES= bin/botan-config-1.10 lib/libbotan-1.10.a lib/libbotan-1.10.so lib/libbotan-1.10.so.0 \ lib/libbotan-1.10.so.0.9 libdata/pkgconfig/botan-1.10.pc DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} PORTDOCS= * .include .if ${PORT_OPTIONS:MSSL} USE_OPENSSL= yes CONFIGURE_ARGS+=--with-openssl .endif .if ${PORT_OPTIONS:MGMP} LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp CONFIGURE_ARGS+=--with-gnump MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib" .endif .if ${PORT_OPTIONS:MECC} BUILD_DEPENDS+= ${LOCALBASE}/include/boost/tr1/memory.hpp:${PORTSDIR}/devel/boost-libs CONFIGURE_ARGS+=--with-tr1-implementation=boost CXXFLAGS+= -I${LOCALBASE}/include .else CONFIGURE_ARGS+=--with-tr1-implementation=none .endif .include CONFIGURE_ARGS+=--cc ${COMPILER_TYPE} post-patch: ${REINPLACE_CMD} -e "s|#!/usr/bin/env python|#!${PYTHON_CMD}|" \ ${WRKSRC}/configure.py .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e '/DOCDIR/d' \ ${WRKSRC}/src/build-data/makefile/unix_shr.in .endif post-install: @(cd "${STAGEDIR}${PREFIX}"; ${FIND} -s include/botan-1.10 -not -type d) >> ${TMPPLIST} .include Index: head/security/gag/Makefile =================================================================== --- head/security/gag/Makefile (revision 394507) +++ head/security/gag/Makefile (revision 394508) @@ -1,28 +1,26 @@ # Created by: David O'Brien (obrien@NUXI.com) # $FreeBSD$ PORTNAME= gag PORTVERSION= 2.9 CATEGORIES= security MASTER_SITES= http://staff.washington.edu/dittrich/misc/ DISTNAME= sickenscan EXTRACT_SUFX= .tar MAINTAINER= ports@FreeBSD.org COMMENT= Stacheldraht (DOS attack) agent detector -LATEST_LINK= gag-sickenscan - ALL_TARGET= gag PORTDOCS= README PLIST_FILES= sbin/gag OPTIONS_DEFINE= DOCS do-install: @${INSTALL_PROGRAM} ${WRKSRC}/gag ${STAGEDIR}${PREFIX}/sbin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/security/krb5-111/Makefile =================================================================== --- head/security/krb5-111/Makefile (revision 394507) +++ head/security/krb5-111/Makefile (revision 394508) @@ -1,148 +1,147 @@ # Created by: nectar@FreeBSD.org # $FreeBSD$ PORTNAME= krb5 PORTVERSION= 1.11.6 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ PKGNAMESUFFIX= -111 DISTNAME= krb5-${PORTVERSION}-signed EXTRACT_SUFX= .tar DEPRECATED= EOLed by MIT in December 2014. EXPIRATION_DATE= 2015-08-31 PATCH_SITES= http://web.mit.edu/kerberos/advisories/ PATCH_DIST_STRIP= -p2 MAINTAINER= cy@FreeBSD.org COMMENT= Authentication system developed at MIT, successor to Kerberos IV LICENSE= MIT BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 CONFLICTS= heimdal-[0-9]* srp-[0-9]* krb5-[0-9]* krb5-maint-112-* -LATEST_LINK= ${PORTNAME}-111 KERBEROSV_URL= http://web.mit.edu/kerberos/ USES= cpe gettext gmake perl5 gssapi:bootstrap,mit USE_PERL5= build USE_LDCONFIG= yes USE_CSTD= gnu99 GNU_CONFIGURE= yes CONFIGURE_ARGS?= --without-system-verto --disable-rpath \ --localstatedir="${PREFIX}/var" CONFIGURE_ENV= NSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}" MAKE_ARGS= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" CPE_VENDOR= mit CPE_VERSION= 5-${PORTVERSION} CPE_PRODUCT= kerberos OPTIONS_DEFINE= KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP OPTIONS_DEFAULT= KRB5_PDF KRB5_HTML KRB5_PDF_DESC= Install krb5 PDF documentation KRB5_HTML_DESC= Install krb5 HTML documentation DNS_FOR_REALM_DESC= Enable DNS lookups for Kerberos realm names LDAP= Enable LDAP support .if defined(KRB5_HOME) PREFIX= ${KRB5_HOME} .if ${KRB5_HOME} != ${LOCALBASE} BROKEN= LIB_DEPENDS when using KRB5_HOME is broken .endif .endif LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB} CFLAGS+= -I${LOCALBASE}/include -I${OPENSSLINC} USE_OPENSSL= yes .include .if !empty(KRB5_HOME) _RPATH= ${KRB5_HOME}/lib: .else _RPATH= ${LOCALBASE}/lib: .endif .if !empty(LDFLAGS:M-Wl,-rpath,*) .for F in ${LDFLAGS:M-Wl,-rpath,*} LDFLAGS:= -Wl,-rpath,${_RPATH}${F:S/-Wl,-rpath,//} \ ${LDFLAGS:N-Wl,-rpath,*} .endfor .endif .if ${PORT_OPTIONS:MDNS_FOR_REALM} CONFIGURE_ARGS+= --enable-dns-for-realm .endif .if ${PORT_OPTIONS:MLDAP} USE_OPENLDAP= yes CONFIGURE_ARGS+= --with-ldap PLIST_SUB+= LDAP="" .else PLIST_SUB+= LDAP="@comment " .endif .if defined(PROGRAM_TRANSFORM_NAME) && ${PROGRAM_TRANSFORM_NAME} != "" CONFIGURE_ARGS+= --program-transform-name="${PROGRAM_TRANSFORM_NAME}" .endif WRKSRC= ${WRKDIR}/krb5-${PORTVERSION}/src HTML_DOC_DIR= ${WRKDIR}/krb5-${PORTVERSION}/doc/html PDF_DOC_DIR= ${WRKDIR}/krb5-${PORTVERSION}/doc/pdf post-extract: @${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/krb5-${PORTVERSION}.tar.gz --no-same-owner --no-same-permissions @${RM} ${WRKDIR}/krb5-${PORTVERSION}.tar.gz ${WRKDIR}/krb5-${PORTVERSION}.tar.gz.asc post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5 # html documentation .if ${PORT_OPTIONS:MKRB5_PDF} pdf_files=`${FIND} ${PDF_DOC_DIR} ! -type d` pdf_dirs=`${FIND} ${PDF_DOC_DIR} -type d` for i in $${pdf_dirs}; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \ done; \ for i in $${pdf_files}; do \ ${INSTALL_MAN} $${pdf} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \ ${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \ done .endif .if ${PORT_OPTIONS:MKRB5_HTML} html_files=`${FIND} ${HTML_DOC_DIR} ! -type d | ${GREP} -v /_sources` html_dirs=`${FIND} ${HTML_DOC_DIR} -type d | ${GREP} -v /_sources` for i in $${html_dirs}; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \ done; \ for i in $${html_files}; do \ ${INSTALL_MAN} $${i} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \ ${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \ done .endif .if ${PORT_OPTIONS:MKRB5_PDF} for i in $${pdf_dirs}; do \ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ done | ${TAIL} -r >> ${TMPPLIST} .endif .if ${PORT_OPTIONS:MKRB5_HTML} for i in $${html_dirs}; do \ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ done | ${TAIL} -r >> ${TMPPLIST} .endif ${ECHO_CMD} @dir share/doc/krb5 >> ${TMPPLIST} @${SED} "s%\${PREFIX}%${PREFIX}%" ${FILESDIR}/README.FreeBSD > ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD @${CHMOD} 444 ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD @${ECHO} "------------------------------------------------------" @${ECHO} "This port of MIT Kerberos 5 includes remote login " @${ECHO} "daemons (telnetd and klogind). These daemons default " @${ECHO} "to using the system login program (/usr/bin/login). " @${ECHO} "Please see the file " @${ECHO} "${PREFIX}/share/doc/krb5/README.FreeBSD" @${ECHO} "for more information. " @${ECHO} "------------------------------------------------------" .include Index: head/security/krb5-112/Makefile =================================================================== --- head/security/krb5-112/Makefile (revision 394507) +++ head/security/krb5-112/Makefile (revision 394508) @@ -1,160 +1,159 @@ # Created by: nectar@FreeBSD.org # $FreeBSD$ PORTNAME= krb5 PORTVERSION= 1.12.4 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ PKGNAMESUFFIX= -112 DISTNAME= ${PORTNAME}-${PORTVERSION}-signed EXTRACT_SUFX= .tar PATCH_SITES= http://web.mit.edu/kerberos/advisories/ PATCH_DIST_STRIP= -p2 MAINTAINER= cy@FreeBSD.org COMMENT= Authentication system developed at MIT, successor to Kerberos IV LICENSE= MIT BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 CONFLICTS= heimdal-[0-9]* srp-[0-9]* krb5-[0-9]* krb5-maint-111-* -LATEST_LINK= ${PORTNAME}-112 KERBEROSV_URL= http://web.mit.edu/kerberos/ USE_PERL5= build USE_LDCONFIG= yes USE_CSTD= gnu99 GNU_CONFIGURE= yes USES= cpe gettext gmake perl5 libtool:build \ gssapi:boostrap,mit CONFIGURE_ARGS?= --enable-shared --without-system-verto \ --disable-rpath --localstatedir="${PREFIX}/var" CONFIGURE_ENV= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}" MAKE_ARGS= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" CPE_VENDOR= mit CPE_VERSION= 5-${PORTVERSION} CPE_PRODUCT= kerberos OPTIONS_DEFINE= KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP READLINE OPTIONS_DEFAULT= KRB5_PDF KRB5_HTML KRB5_PDF_DESC= Install krb5 PDF documentation KRB5_HTML_DESC= Install krb5 HTML documentation DNS_FOR_REALM_DESC= Enable DNS lookups for Kerberos realm names LDAP= Enable LDAP support .if defined(KRB5_HOME) PREFIX= ${KRB5_HOME} .endif CPPFLAGS+= -I${LOCALBASE}/include -I${OPENSSLINC} LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB} USE_OPENSSL= yes USE_RC_SUBR= kpropd .include # Fix up -Wl,-rpath in LDFLAGS .if !empty(KRB5_HOME) _RPATH= ${KRB5_HOME}/lib: .else _RPATH= ${LOCALBASE}/lib: .endif .if !empty(LDFLAGS:M-Wl,-rpath,*) .for F in ${LDFLAGS:M-Wl,-rpath,*} LDFLAGS:= -Wl,-rpath,${_RPATH}${F:S/-Wl,-rpath,//} \ ${LDFLAGS:N-Wl,-rpath,*} .endfor .endif .if defined(KRB5_HOME) && ${KRB5_HOME} != ${LOCALBASE} BROKEN= LIB_DEPENDS when using KRB5_HOME is broken .endif .if ${PORT_OPTIONS:MDNS_FOR_REALM} CONFIGURE_ARGS+= --enable-dns-for-realm .endif .if ${PORT_OPTIONS:MLDAP} USE_OPENLDAP= yes CONFIGURE_ARGS+= --with-ldap PLIST_SUB+= LDAP="" .else PLIST_SUB+= LDAP="@comment " .endif .if ${PORT_OPTIONS:MREADLINE} .if ${OSVERSION} >= 1100000 # libtool has some gas with libreadline in 11-CURRENT. BUILD_DEPENDS+= libreadline.so:${PORTSDIR}/devel/readline LIB_DEPENDS+= libreadline.so:${PORTSDIR}/devel/readline .else USES+= readline:port CONFIGURE_ARGS+= --with-readline .endif .endif .if defined(PROGRAM_TRANSFORM_NAME) && ${PROGRAM_TRANSFORM_NAME} != "" CONFIGURE_ARGS+= --program-transform-name="${PROGRAM_TRANSFORM_NAME}" .endif WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src HTML_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/html PDF_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf post-extract: @${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz --no-same-owner --no-same-permissions @${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz.asc post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5 # html documentation .if ${PORT_OPTIONS:MKRB5_PDF} pdf_files=`${FIND} ${PDF_DOC_DIR} ! -type d` pdf_dirs=`${FIND} ${PDF_DOC_DIR} -type d` for i in $${pdf_dirs}; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \ done; \ for i in $${pdf_files}; do \ ${INSTALL_MAN} $${pdf} ${PREFIX}/share/doc/krb5/$${i}; \ ${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \ done .endif .if ${PORT_OPTIONS:MKRB5_HTML} html_files=`${FIND} ${HTML_DOC_DIR} ! -type d | ${GREP} -v /_sources` html_dirs=`${FIND} ${HTML_DOC_DIR} -type d | ${GREP} -v /_sources` for i in $${html_dirs}; do \ ${MKDIR} ${PREFIX}/share/doc/krb5/$${i}; \ done; \ for i in $${html_files}; do \ ${INSTALL_MAN} $${i} ${PREFIX}/share/doc/krb5/$${i}; \ ${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \ done .endif .if ${PORT_OPTIONS:MKRB5_PDF} for i in $${pdf_dirs}; do \ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ done | ${TAIL} -r >> ${TMPPLIST} .endif .if ${PORT_OPTIONS:MKRB5_HTML} for i in $${html_dirs}; do \ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ done | ${TAIL} -r >> ${TMPPLIST} .endif ${ECHO_CMD} @dir share/doc/krb5 >> ${TMPPLIST} @${SED} "s%\${PREFIX}%${PREFIX}%" ${FILESDIR}/README.FreeBSD > ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD @${CHMOD} 444 ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD @${ECHO} "------------------------------------------------------" @${ECHO} "This port of MIT Kerberos 5 includes remote login " @${ECHO} "daemons (telnetd and klogind). These daemons default " @${ECHO} "to using the system login program (/usr/bin/login). " @${ECHO} "Please see the file " @${ECHO} "${PREFIX}/share/doc/krb5/README.FreeBSD" @${ECHO} "for more information. " @${ECHO} "------------------------------------------------------" .include Index: head/security/krb5-appl/Makefile =================================================================== --- head/security/krb5-appl/Makefile (revision 394507) +++ head/security/krb5-appl/Makefile (revision 394508) @@ -1,141 +1,140 @@ # Created by: cy@FreeBSD.org # $FreeBSD$ PORTNAME= krb5-appl PORTVERSION= 1.0.3 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ PATCH_SITES= http://web.mit.edu/kerberos/advisories/ DISTNAME= ${PORTNAME}-${PORTVERSION}-signed EXTRACT_SUFX= .tar MAINTAINER= cy@FreeBSD.org COMMENT= Authentication system developed at MIT, successor to Kerberos IV BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \ krb5-config:${PORTSDIR}/security/krb5 CONFLICTS= krb4-[0-9]* krb5-1.[0-7].* heimdal-[0-9]* srp-[0-9]* -LATEST_LINK= ${PORTNAME}-1 KERBEROSV_URL= http://web.mit.edu/kerberos/ USE_OPENSSL= yes USES= gmake perl5 gssapi:mit USE_PERL5= build USE_LDCONFIG= yes USE_CSTD= gnu89 USE_AUTOTOOLS= autoheader autoconf CONFIGURE_ARGS?= --enable-shared --with-krb5=${PREFIX}/bin/krb5-config CONFIGURE_ENV= INSTALL="${INSTALL}" YACC=/usr/bin/yacc MAKE_ARGS= INSTALL="${INSTALL}" PATCH_DIST_STRIP= -p1 OPTIONS_DEFINE= KRB5_RENAME_FTP KRB5_RENAME_TELNET KRB5_RENAME_RLOGIN KRB5_RENAME_RSH KRB5_RENAME_RCP OPTIONS_DEFAULT= KRB5_PORT OPTIONS_SINGLE= KRB5_VERSION OPTIONS_SINGLE_KRB5_VERSION= KRB5_PORT KRB5_111_PORT KRB5_112_PORT KRB5_RENAME_FTP_DESC= Rename ftp to kftp KRB5_RENAME_TELNET_DESC= Rename telnet to ktelnet KRB5_RENAME_RLOGIN_DESC= Rename rlogin to krlogin KRB5_RENAME_RSH_DESC= Rename rsh to krsh KRB5_RENAME_RCP_DESC= Rename rcp to krcp KRB5_PORT_DESC= Depend on security/krb5 KRB5_111_PORT_DESC= Depend on security/krb5-111 KRB5_112_PORT_DESC= Depend on security/krb5-112 .include .if ${PORT_OPTIONS:MKRB5_PORT} LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5 RUN_DEPENDS= kinit:${PORTSDIR}/security/krb5 .elif ${PORT_OPTIONS:MKRB5_111_PORT} LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5-111 RUN_DEPENDS= kinit:${PORTSDIR}/security/krb5-111 .elif ${PORT_OPTIONS:MKRB5_112_PORT} LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5-112 RUN_DEPENDS= kinit:${PORTSDIR}/security/krb5-112 .else BROKEN= krb5 dependency not selected .endif .if ${PORT_OPTIONS:MKRB5_DOC} BUILD_DEPENDS+= texi2dvi:${PORTSDIR}/print/texinfo \ dvips:${PORTSDIR}/print/dvipsk-tetex INFO= krb5-admin krb5-install krb5-user .endif .if defined(KRB5_HOME) PREFIX= ${KRB5_HOME} .if ${KRB5_HOME} != ${LOCALBASE} BROKEN= LIB_DEPENDS when using KRB5_HOME is broken .endif .endif CFLAGS+= -I${PREFIX}/include LDFLAGS+= -L${PREFIX}/lib .if ${PORT_OPTIONS:MKRB5_RENAME_FTP} PROGRAM_TRANSFORM_NAME+= s/^ftp/kftp/; PLIST_SUB+= FTP_PROG="kftp" .else PLIST_SUB+= FTP_PROG="ftp" .endif .if ${PORT_OPTIONS:MKRB5_RENAME_TELNET} PROGRAM_TRANSFORM_NAME+= s/^telnet/ktelnet/; PLIST_SUB+= TELNET_PROG="ktelnet" .else PLIST_SUB+= TELNET_PROG="telnet" .endif .if ${PORT_OPTIONS:MKRB5_RENAME_RLOGIN} PLIST_SUB+= RLOGIN_PROG="krlogin" PROGRAM_TRANSFORM_NAME+= s/^rlogin/krlogin/; .else PLIST_SUB+= RLOGIN_PROG="rlogin" .endif .if ${PORT_OPTIONS:MKRB5_RENAME_RSH} PLIST_SUB+= RSH_PROG="krsh" PROGRAM_TRANSFORM_NAME+= s/^rsh/krsh/; .else PLIST_SUB+= RSH_PROG="rsh" .endif .if ${PORT_OPTIONS:MKRB5_RENAME_RCP} PROGRAM_TRANSFORM_NAME+= s/^rcp/krcp/; PLIST_SUB+= RCP_PROG="krcp" .else PLIST_SUB+= RCP_PROG="rcp" .endif .if defined(PROGRAM_TRANSFORM_NAME) && ${PROGRAM_TRANSFORM_NAME} != "" CONFIGURE_ARGS+= --program-transform-name="${PROGRAM_TRANSFORM_NAME}" .endif WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} HTML_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc HTML_DOCS= ftp.html kdestroy.html kinit.html klist.html \ kpasswd.html krb5-admin.html \ krb5-install.html krb5-user.html ksu.html \ rcp.html rlogin.html rsh.html telnet.html CONFIGURE_ARGS+= CPPFLAGS="-I${OPENSSLINC} -L${OPENSSLLIB}" post-extract: @${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz --no-same-owner --no-same-permissions @${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz.asc post-install: @${ECHO} "------------------------------------------------------" @${ECHO} "This port of MIT Kerberos 5 includes remote login " @${ECHO} "daemons (telnetd and klogind). These daemons default " @${ECHO} "to using the system login program (/usr/bin/login). " @${ECHO} "Please see the file " @${ECHO} "${PREFIX}/share/doc/krb5/README.FreeBSD" @${ECHO} "for more information. " @${ECHO} "------------------------------------------------------" .include Index: head/security/proftpd-mod_clamav/Makefile =================================================================== --- head/security/proftpd-mod_clamav/Makefile (revision 394507) +++ head/security/proftpd-mod_clamav/Makefile (revision 394508) @@ -1,36 +1,35 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= mod_clamav DISTVERSION= 0.13 PORTREVISION= 0 CATEGORIES= security ftp PKGNAMEPREFIX= proftpd- MAINTAINER= mm@FreeBSD.org COMMENT= ClamAV ProFTPD module LICENSE= GPLv2 DESCR= ${.CURDIR}/pkg-descr -LATEST_LINK= ${PKGNAMEPREFIX}-${PORTNAME} MASTERDIR= ${.CURDIR}/../../ftp/proftpd GH_TAGNAME= v${DISTVERSION} GIT_REVISION= f0cad45 RUN_DEPENDS+= clamd:${PORTSDIR}/security/clamav _PROFTPD_MODULE_DISTFILES= mod_clamav-v0.13${EXTRACT_SUFX}:clamav _PROFTPD_MODULE_EXTRACT_ONLY= mod_clamav-v0.13${EXTRACT_SUFX} _PROFTPD_MODULE_MASTER_SITES= https://codeload.github.com/jbenden/mod_clamav/legacy.tar.gz/${GH_TAGNAME}?dummy=/:clamav INCLUDEDIRS= ${LOCALBASE}/include LIBDIRS= ${LOCALBASE}/lib _BUILDING_PROFTPD_MODULE= ${PORTNAME} post-extract: @${CP} ${WRKDIR}/jbenden-mod_clamav-${GIT_REVISION}/mod_clamav.* ${WRKSRC}/contrib .include "${MASTERDIR}/Makefile" Index: head/security/py-itsdangerous/Makefile =================================================================== --- head/security/py-itsdangerous/Makefile (revision 394507) +++ head/security/py-itsdangerous/Makefile (revision 394508) @@ -1,23 +1,22 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= itsdangerous PORTVERSION= 0.24 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= olivierd@FreeBSD.org COMMENT= Various helpers to pass data in untrusted environments LICENSE= BSD3CLAUSE USES= python USE_PYTHON= distutils autoplist -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= JSON JSON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=3.0:${PORTSDIR}/devel/py-simplejson .include Index: head/security/py-keyring/Makefile =================================================================== --- head/security/py-keyring/Makefile (revision 394507) +++ head/security/py-keyring/Makefile (revision 394508) @@ -1,38 +1,36 @@ # Created by: Douglas Thrift # $FreeBSD$ PORTNAME= keyring PORTVERSION= 3.2.1 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= douglas@douglasthrift.net COMMENT= Store and access your passwords safely LICENSE= PSFL BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:${PORTSDIR}/devel/py-pytest-runner -LATEST_LINK= py-${PORTNAME} - USES= python zip USE_PYTHON= distutils autoplist OPTIONS_DEFINE= CRYPT_FILE GNOME_KEYRING KDE_KWALLET KEYCZAR PYFS \ SECRET_SERVICE CRYPT_FILE_DESC= Install pycrpto to support the Crypt(ed) File backend GNOME_KEYRING_DESC= Install GNOME Keyring to support the Gnome backend KDE_KWALLET_DESC= Install KDE KWallet to support the kwallet backend KEYCZAR_DESC= Install keyczar to support keyring encryption PYFS_DESC= Install pyfilesystem to support the pyfs backend SECRET_SERVICE_DESC= Install SecretStorage to support the SecretService backend CRYPT_FILE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:${PORTSDIR}/security/py-pycrypto GNOME_KEYRING_USE= GNOME=pygobject3 KDE_KWALLET_USE= KDE4=pykde4 KEYCZAR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keyczar>=0.71c:${PORTSDIR}/security/py-keyczar PYFS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fs>=0.4.0:${PORTSDIR}/devel/py-fs SECRET_SERVICE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}SecretStorage>=1.0.0:${PORTSDIR}/security/py-SecretStorage .include Index: head/security/rubygem-net-ssh/Makefile =================================================================== --- head/security/rubygem-net-ssh/Makefile (revision 394507) +++ head/security/rubygem-net-ssh/Makefile (revision 394508) @@ -1,32 +1,31 @@ # Created by: Roderick van Domburg # $FreeBSD$ PORTNAME= net-ssh PORTVERSION= 2.9.2 PORTEPOCH= 2 PORTREVISION= 1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Non-interactive SSH processing LICENSE= MIT OPTIONS_DEFINE= PROMPT_PASSPHRASES OPTIONS_DEFAULT=PROMPT_PASSPHRASES -OPTIONSFILE?= ${PORT_DBDIR}/rubygem-${PORTNAME}/options PROMPT_PASSPHRASES_DESC= Prompt for passphrases on keys PORTSCOUT= skipv:2.10.0 NO_ARCH= yes USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes USES= shebangfix SHEBANG_FILES= support/ssh_tunnel_bug.rb PROMPT_PASSPHRASES_RUN_DEPENDS= rubygem-ruby-termios>=0:${PORTSDIR}/comms/rubygem-ruby-termios .include Index: head/security/shibboleth2-sp/Makefile =================================================================== --- head/security/shibboleth2-sp/Makefile (revision 394507) +++ head/security/shibboleth2-sp/Makefile (revision 394508) @@ -1,57 +1,55 @@ # Created by: Janos Mohacsi # $FreeBSD$ PORTNAME= shibboleth-sp PORTVERSION= 2.5.5 PORTREVISION= 1 CATEGORIES= security www MASTER_SITES= http://shibboleth.net/downloads/service-provider/${PORTVERSION}/ MAINTAINER= girgen@FreeBSD.org COMMENT= C++ Shibboleth Service Provider (Internet2) for Apache BUILD_DEPENDS= boost-libs>=0:${PORTSDIR}/devel/boost-libs LIB_DEPENDS= libsaml.so.8:${PORTSDIR}/security/opensaml2 libodbc.so:${PORTSDIR}/databases/unixODBC USES= gmake GNU_CONFIGURE= yes MAKE_ENV= NOKEYGEN=YES USE_LDCONFIG= yes USE_RC_SUBR= shibboleth-sp -LATEST_LINK= shibboleth2-sp - USERS= shibd GROUPS= shibd USE_APACHE= 22+ USE_OPENSSL= yes INSTALL_TARGET= install-strip .include .if ${APACHE_VERSION} == 22 CONFIGURE_ARGS= --enable-apache-22 --with-apxs22=${APXS} PLIST_SUB+= WITH_APACHE_22="" PLIST_SUB+= WITH_APACHE_24="@comment " .else CONFIGURE_ARGS= --enable-apache-24 --with-apxs24=${APXS} PLIST_SUB+= WITH_APACHE_22="@comment " PLIST_SUB+= WITH_APACHE_24="" .endif SUB_LIST+= SH=${SH} WWWGRP=${WWWGRP} PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} SUB_LIST+= SHIBD_USER=${USERS} SUB_LIST+= SHIBD_GROUP=${GROUPS} PLIST_SUB+= SHIBD_USER=${USERS} PLIST_SUB+= SHIBD_GROUP=${GROUPS} CONFIGURE_ARGS+= --localstatedir=/var --with-log4shib=${LOCALBASE} CONFIGURE_ARGS+= --enable-odbc CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} --with-xmltooling=${LOCALBASE} CONFIGURE_ARGS+= --disable-doxygen-doc .include Index: head/sysutils/backuppc-devel/Makefile =================================================================== --- head/sysutils/backuppc-devel/Makefile (revision 394507) +++ head/sysutils/backuppc-devel/Makefile (revision 394508) @@ -1,126 +1,124 @@ # Created by: Alexander Moisseev # $FreeBSD$ PORTNAME= backuppc DISTVERSION= 4.0.0alpha3 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-beta/${DISTVERSION} PKGNAMESUFFIX= -devel DISTNAME= BackupPC-${DISTVERSION} MAINTAINER= moiseev@mezonplus.ru COMMENT= Multi-platform backup to disk-based storage LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -LATEST_LINK= ${PORTNAME}-devel - RUN_DEPENDS= p5-File-Listing>=0:${PORTSDIR}/sysutils/p5-File-Listing \ p5-BackupPC-XS>=0.30:${PORTSDIR}/sysutils/p5-BackupPC-XS CONFLICTS= backuppc-[0-9]* USE_RC_SUBR= backuppc USES= perl5 NO_BUILD= yes USERS= backuppc GROUPS= backuppc DOCSDIR= ${PREFIX}/share/doc/BackupPC CGIDIR?= ${PREFIX}/www/cgi-bin SUB_FILES= pkg-deinstall pkg-message update.sh SUB_LIST= CGIDIR=${CGIDIR} PLIST_SUB+= CGIDIR=${CGIDIR:S,^${PREFIX}/,,} \ DISTVERSION=${DISTVERSION} PORTDOCS= ChangeLog LICENSE README OPTIONS_DEFINE= ARCHIVE_ZIP DOCS RSYNC_BPC NMBLOOKUP \ RRDTOOL SMBCLIENT XML_RSS OPTIONS_DEFAULT= ARCHIVE_ZIP ARCHIVE_ZIP_DESC= Perl module for Zip archive files RSYNC_BPC_DESC= Modified rsync that used as part of BackupPC NMBLOOKUP_DESC= NetBIOS Name lookup tool RRDTOOL_DESC= Round Robin Database Tools SMBCLIENT_DESC= Samba client XML_RSS_DESC= Perl extension to manage RSS files .include .if ${PORT_OPTIONS:MARCHIVE_ZIP} RUN_DEPENDS+= p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip .endif .if ${PORT_OPTIONS:MRSYNC_BPC} RUN_DEPENDS+= rsync-bpc>=3.0.9.3:${PORTSDIR}/net/rsync-bpc .endif .if ${PORT_OPTIONS:MNMBLOOKUP} RUN_DEPENDS+= nmblookup:${PORTSDIR}/net/samba-nmblookup .endif .if ${PORT_OPTIONS:MRRDTOOL} RUN_DEPENDS+= rrdtool:${PORTSDIR}/databases/rrdtool .endif .if ${PORT_OPTIONS:MSMBCLIENT} RUN_DEPENDS+= smbclient:${PORTSDIR}/net/samba-smbclient .endif .if ${PORT_OPTIONS:MXML_RSS} RUN_DEPENDS+= p5-XML-RSS>=0:${PORTSDIR}/textproc/p5-XML-RSS .endif pre-patch: @${CP} ${WRKSRC}/configure.pl ${WRKSRC}/update.pl post-patch: @${REINPLACE_CMD} \ -e 's|/etc/BackupPC\(/config.pl\)|${ETCDIR}\1|' \ ${WRKSRC}/configure.pl ${WRKSRC}/update.pl @${REINPLACE_CMD} -E \ -e 's|^(use lib ")\.(/lib";)$$|\1${PREFIX}\2|' \ ${WRKSRC}/update.pl @${REINPLACE_CMD} \ -e 's|STDERR "Please su |STDERR "Please su [-m] |' \ ${WRKSRC}/lib/BackupPC/Lib.pm @${REINPLACE_CMD} \ -e 's| you can use the -s| you can use the -m|' \ -e 's|option to su to explicitly run|option to su to run|' \ -e 's|su -s /bin/bash __BACKUPPCUSER__|su -m __BACKUPPCUSER__|' \ ${WRKSRC}/doc/BackupPC.html ${WRKSRC}/doc/BackupPC.pod do-install: cd ${WRKSRC} && ${PERL} configure.pl \ --batch \ --backuppc-user ${USERS} \ --bin-path perl=${PERL} \ --config-dir ${ETCDIR} \ --cgi-dir ${CGIDIR} \ --data-dir /var/db/BackupPC \ --dest-dir ${STAGEDIR} \ --fhs \ --html-dir ${WWWDIR} \ --html-dir-url /${PORTNAME} \ --install-dir ${PREFIX} \ --log-dir /var/log/BackupPC \ --no-set-perms \ --uid-ignore pod2man --section=1 --release=${PORTVERSION} \ --name=BackupPC --center="BackupPC user guide" \ ${WRKSRC}/doc/BackupPC.pod ${WRKSRC}/${PORTNAME}.1 ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} ${CP} ${WRKSRC}/doc/BackupPC.html ${STAGEDIR}${WWWDIR} ${RM} ${STAGEDIR}${ETCDIR}/config.pl ${RM} ${STAGEDIR}${ETCDIR}/hosts ${CP} ${WRKSRC}/conf/config.pl ${STAGEDIR}${ETCDIR}/config.pl.sample ${CP} ${WRKSRC}/conf/hosts ${STAGEDIR}${ETCDIR}/hosts.sample ${CP} ${WRKDIR}/update.sh ${STAGEDIR}${ETCDIR}/update.sh ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/backuppc ${CP} ${WRKSRC}/update.pl ${STAGEDIR}${PREFIX}/libexec/backuppc/update.pl .include Index: head/sysutils/bacula-docs/Makefile =================================================================== --- head/sysutils/bacula-docs/Makefile (revision 394507) +++ head/sysutils/bacula-docs/Makefile (revision 394508) @@ -1,26 +1,24 @@ # Created by: Dan Langille # $FreeBSD$ PORTNAME= bacula PORTVERSION= 7.0.3 CATEGORIES= sysutils MASTER_SITES= SF PKGNAMESUFFIX= -docs DISTFILES= ${PORTNAME}-docs-${PORTVERSION}.tar.bz2 MAINTAINER= dvl@FreeBSD.org COMMENT= Bacula document set NO_BUILD= yes -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} - PORTDOCS= *.pdf do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${FIND} ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION}/manuals/en \ -name "*.pdf" -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/ \; .include Index: head/sysutils/bacula5-docs/Makefile =================================================================== --- head/sysutils/bacula5-docs/Makefile (revision 394507) +++ head/sysutils/bacula5-docs/Makefile (revision 394508) @@ -1,27 +1,25 @@ # Created by: Dan Langille # $FreeBSD$ PORTNAME= bacula PORTVERSION= 5.2.12 CATEGORIES= sysutils MASTER_SITES= SF PKGNAMESUFFIX= 5-docs DISTFILES= ${PORTNAME}-docs-${PORTVERSION}.tar.bz2 CONFLICTS= bacula-* MAINTAINER= dan@langille.org COMMENT= Bacula document set NO_BUILD= yes -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} - PORTDOCS= *.pdf do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${FIND} ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION}/manuals/en \ -name "*.pdf" -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/ \; .include Index: head/sysutils/bareos-docs/Makefile =================================================================== --- head/sysutils/bareos-docs/Makefile (revision 394507) +++ head/sysutils/bareos-docs/Makefile (revision 394508) @@ -1,28 +1,26 @@ # Created by: Alonso CArdenas # $FreeBSD$ PORTNAME= bareos PORTVERSION= 15.2 CATEGORIES= sysutils MASTER_SITES= http://doc.bareos.org/master/ PKGNAMESUFFIX= -docs DISTFILES= ${PORTNAME}-manual-main-reference.pdf MAINTAINER= acm@FreeBSD.org COMMENT= Bareos document set (PDF) NO_BUILD= yes -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} - PORTDOCS= *.pdf do-extract: ${MKDIR} ${WRKSRC} ${CP} ${DISTDIR}/${PORTNAME}-manual-main-reference.pdf ${WRKSRC} do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-manual-main-reference.pdf ${STAGEDIR}${DOCSDIR} .include Index: head/sysutils/boxbackup-devel/Makefile =================================================================== --- head/sysutils/boxbackup-devel/Makefile (revision 394507) +++ head/sysutils/boxbackup-devel/Makefile (revision 394508) @@ -1,149 +1,147 @@ # Created by: James O'Gorman # $FreeBSD$ PORTNAME= boxbackup PORTVERSION= 0.11.r${SVNVERSION:C/^[0-9\.]+_[a-z]+_([0-9]+)/\1/} CATEGORIES= sysutils MASTER_SITES= http://www.boxbackup.org/snapshots/201108/ PKGNAMESUFFIX= ${CLIENT_OR_SERVER}-devel DISTNAME= ${PORTNAME}-${SVNVERSION} MAINTAINER= portmaster@BSDforge.com COMMENT= Open source, completely automatic on-line backup system for UNIX LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE-DUAL.txt SVNVERSION= 0.11_trunk_2979 -NO_LATEST_LINK= yes - USES= perl5 tar:tgz USE_OPENSSL= yes GNU_CONFIGURE= yes USE_AUTOTOOLS= autoconf aclocal autoheader ACLOCAL_ARGS+= -I ${WRKSRC}/infrastructure/m4 CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc PKGMESSAGE= ${WRKDIR}/pkg-message OPTIONS_MULTI= TYPE OPTIONS_MULTI_TYPE= CLIENT SERVER OPTIONS_DEFINE= GNUREADLINE OPTIONS_DEFAULT= CLIENT SERVER CLIENT_DESC= Install the bbackupd client SERVER_DESC= Install the bbstored server GNUREADLINE_DESC= Enable the use of GNU readline MAKE_JOBS_UNSAFE= yes .include CLIENTDIR= CLIENT SERVERDIR= SERVER CLIENT_FILES= bbackupd bbackupquery bbackupctl SERVER_FILES= bbstored bbstoreaccounts .if ${PORT_OPTIONS:MGNUREADLINE} CONFIGURE_ARGS+=--enable-gnu-readline .endif .if ${PORT_OPTIONS:MCLIENT} USE_RC_SUBR+= bbackupd PLIST_SUB+= CLIENT="" ALL_TARGET+= build-backup-client CLIENT_SCRIPTS= bbackupd-config SUB_FILES+= 999.boxbackup .else PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MSERVER} USE_RC_SUBR+= bbstored USERS+= _bbstored GROUPS+= _bbstored PLIST_SUB+= SERVER="" ALL_TARGET+= build-backup-server SERVER_SCRIPTS= bbstored-certs bbstored-config raidfile-config .else PLIST_SUB+= SERVER="@comment " .endif .if ! ${PORT_OPTIONS:MCLIENT} CONFLICTS= boxbackup-client-[0-9]* boxbackup-[0-9]* CLIENT_OR_SERVER=-server .elif ! ${PORT_OPTIONS:MSERVER} CONFLICTS= boxbackup-server-[0-9]* boxbackup-[0-9]* CLIENT_OR_SERVER=-client .else CONFLICTS= boxbackup-server-[0-9]* boxbackup-client-[0-9]* .endif post-patch: @${REINPLACE_CMD} -e '/html/d' ${WRKSRC}/parcels.txt .if ${PORT_OPTIONS:MCLIENT} @${CAT} ${FILESDIR}/pkg-message.client >> ${PKGMESSAGE} .endif .if ${PORT_OPTIONS:MSERVER} @${CAT} ${FILESDIR}/pkg-message.server >> ${PKGMESSAGE} .endif post-configure: @${REINPLACE_CMD} -e '/share.doc.boxbackup/d' ${WRKSRC}/parcels/scripts/install-backup-* pre-install: (cd ${WRKSRC}/parcels \ && ${MV} ./boxbackup-0.11_trunk_2979-backup-client ../CLIENT) (cd ${WRKSRC}/parcels \ && ${MV} ./boxbackup-0.11_trunk_2979-backup-server ../SERVER) do-install: .if ${PORT_OPTIONS:MCLIENT} (cd ${WRKSRC}/${CLIENTDIR}/ \ && ${INSTALL_PROGRAM} ${CLIENT_FILES} ${STAGEDIR}${PREFIX}/sbin/) (cd ${WRKSRC}/${CLIENTDIR}/ \ && ${INSTALL_SCRIPT} ${CLIENT_SCRIPTS} ${STAGEDIR}${PREFIX}/sbin/) ${INSTALL_MAN} ${WRKSRC}/${CLIENTDIR}/bbackupd.conf.5.gz \ ${STAGEDIR}${PREFIX}/man/man5/ ${INSTALL_MAN} ${WRKSRC}/${CLIENTDIR}/bbackupctl.8.gz \ ${WRKSRC}/${CLIENTDIR}/bbackupd-config.8.gz \ ${WRKSRC}/${CLIENTDIR}/bbackupd.8.gz ${WRKSRC}/${CLIENTDIR}/bbackupquery.8.gz \ ${STAGEDIR}${PREFIX}/man/man8/ .endif .if ${PORT_OPTIONS:MSERVER} (cd ${WRKSRC}/${SERVERDIR}/ \ && ${INSTALL_PROGRAM} ${SERVER_FILES} ${STAGEDIR}${PREFIX}/sbin/) (cd ${WRKSRC}/${SERVERDIR}/ \ && ${INSTALL_SCRIPT} ${SERVER_SCRIPTS} ${STAGEDIR}${PREFIX}/sbin/) ${INSTALL_MAN} ${WRKSRC}/${SERVERDIR}/raidfile.conf.5.gz \ ${WRKSRC}/${SERVERDIR}/bbstored.conf.5.gz \ ${STAGEDIR}${PREFIX}/man/man5/ ${INSTALL_MAN} ${WRKSRC}/${SERVERDIR}/bbstoreaccounts.8.gz \ ${WRKSRC}/${SERVERDIR}/bbstored-certs.8.gz \ ${WRKSRC}/${SERVERDIR}/bbstored-config.8.gz \ ${WRKSRC}/${SERVERDIR}/bbstored.8.gz \ ${WRKSRC}/${SERVERDIR}/raidfile-config.8.gz \ ${STAGEDIR}${PREFIX}/man/man8/ .endif post-install: .if ${PORT_OPTIONS:MCLIENT} @${MKDIR} -m 0700 ${STAGEDIR}${PREFIX}/etc/box/bbackupd @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/monthly ${INSTALL_SCRIPT} ${WRKDIR}/999.boxbackup ${STAGEDIR}${PREFIX}/etc/periodic/monthly .endif .if ${PORT_OPTIONS:MSERVER} @${MKDIR} -m 0700 ${STAGEDIR}${PREFIX}/etc/box/bbstored .endif test: @${ECHO_CMD} "===> Running tests" @${MAKE} -C ${WRKSRC} test .include Index: head/sysutils/cdrtools-devel/Makefile =================================================================== --- head/sysutils/cdrtools-devel/Makefile (revision 394507) +++ head/sysutils/cdrtools-devel/Makefile (revision 394508) @@ -1,219 +1,218 @@ # $FreeBSD$ ########################################################################### # This makefile was contributed by Marius Strobl. ########################################################################### # The contents of this file are subject to the terms of the # Common Development and Distribution License, Version 1.0 only # (the "License"). You may not use this file except in compliance # with the License. # # See the file CDDL.Schily.txt in this distribution for details. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file CDDL.Schily.txt from this distribution. ########################################################################### # The file CDDL.Schily.txt can be found in the original cdrtools tarball, # which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/. ########################################################################### PORTNAME= cdrtools PORTVERSION= 3.01a24 PORTEPOCH= 1 CATEGORIES= sysutils audio MASTER_SITES= SF/${PORTNAME}/alpha MAINTAINER= marius@FreeBSD.org COMMENT= CD/DVD/BluRay and ISO-9660 image creation and extraction tools LICENSE= BSD2CLAUSE CDDL GPLv2 LGPL21 LICENSE_COMB= multi CONFLICTS= cdrkit-* cdrtools-[0-9]* cjk-cdrtools-* DOCS= README.FreeBSD README.mkisofs CDDA2WAVDOCS= FAQ Frontends HOWTOUSE OtherProgs README THANKS TODO CDRECORDDOCS= README README.ATAPI README.DiskT@2 README.WORM README.audio \ README.cdplus README.cdrw README.cdtext README.clone \ README.copy README.multi README.raw README.rscsi README.sony \ README.verify MKISOFSDOCS= README README.compression README.eltorito README.graft_dirs \ README.hfs_boot README.hfs_magic README.hide README.joliet \ README.macosx README.mkhybrid README.prep_boot README.rootinfo \ README.session README.sort README.sparcboot README.sunx86boot SICONVTABLES= cp10000 cp10006 cp10007 cp10029 cp10079 cp10081 cp1250 \ cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 \ cp437 cp737 cp775 cp850 cp852 cp855 cp857 cp860 cp861 \ cp862 cp863 cp864 cp865 cp866 cp869 cp874 iso8859-1 \ iso8859-10 iso8859-11 iso8859-13 iso8859-14 iso8859-15 \ iso8859-16 iso8859-2 iso8859-3 iso8859-4 iso8859-5 \ iso8859-6 iso8859-7 iso8859-8 iso8859-9 koi8-r koi8-u -NO_LATEST_LINK= yes USES= gmake tar:bzip2 #CFLAGS+= -DSOURCE_MODIFIED WRKSRC= ${WRKDIR}/${DISTNAME:C/a(.+)$//} SUB_FILES= pkg-message MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= CDDA2MP3 CDDA2OGG DOCS NLS RSCSI CDDA2MP3_DESC= Build cdda2mp3 (requires audio/lame) CDDA2OGG_DESC= Build cdda2ogg (requires audio/vorbis-tools) RSCSI_DESC= Build rscsi suid root remote SCSI access daemon .include .if ${PORT_OPTIONS:MCDDA2MP3} PLIST_SUB+= CDDA2MP3="" RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame .else PLIST_SUB+= CDDA2MP3="@comment " .endif .if ${PORT_OPTIONS:MCDDA2OGG} PLIST_SUB+= CDDA2OGG="" RUN_DEPENDS+= oggenc:${PORTSDIR}/audio/vorbis-tools .else PLIST_SUB+= CDDA2OGG="@comment " .endif .if ${PORT_OPTIONS:MRSCSI} PKGINSTALL= ${PKGDIR}/pkg-install.rscsi PLIST_SUB+= RSCSI="" PKGNAMESUFFIX= -rscsi-devel .else PLIST_SUB+= RSCSI="@comment " .endif PKGNAMESUFFIX?= -devel MAKE_ENV= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \ INS_RBASE=${LOCALBASE} CDRTLSTARGET= ${ARCH:S/powerpc64/powerpc/}-freebsd-cc .if exists(/usr/include/iconv.h) || exists(${LOCALBASE}/lib/libiconv.a) || \ exists(${LOCALBASE}/lib/libintl.a) || ${PORT_OPTIONS:MNLS} MAKE_ENV+= DEFOSINCDIRS=${LOCALBASE}/include LDPATH=-L${LOCALBASE}/lib USES+= gettext iconv .endif post-extract: .for i in config.guess config.sub .for j in autoconf conf cdda2wav @${CP} -fp ${PORTSDIR}/Templates/${i} ${WRKSRC}/${j} .endfor .endfor .if ${CDRTLSTARGET} != "i386-freebsd-cc" @${LN} -sf ${WRKSRC}/RULES/i386-freebsd-cc.rul \ ${WRKSRC}/RULES/${CDRTLSTARGET}.rul .endif post-patch: @${RM} ${WRKSRC}/TARGETS/55scgskeleton ${WRKSRC}/TARGETS/85man .if !${PORT_OPTIONS:MRSCSI} @${RM} ${WRKSRC}/TARGETS/55rscsi .endif .for i in btcflash/btcflash.1 cdda2wav/cdda2mp3 cdda2wav/cdda2ogg \ cdda2wav/cdda2ogg.1 cdda2wav/cdda2wav.1 cdrecord/README.rscsi \ cdrecord/cdrecord.1 cdrecord/cdrecord.dfl include/schily/deflts.h \ libcdrdeflt/cdrdeflt.c librscg/scsi-remote.c readcd/readcd.1 \ rscsi/rscsi.1 rscsi/rscsi.c rscsi/rscsi.dfl scgcheck/scgcheck.1 @${REINPLACE_CMD} -e 's|\/opt\/schily|${PREFIX}|g; \ s|\/usr\/local|${PREFIX}|g; s|\/etc\/default|${PREFIX}\/etc|g; \ s|\/var\/adm\/messages|\/var\/run\/dmesg.boot|g; \ s|^CDDA2WAV=|&${PREFIX}\/bin\/|g; \ s|^MP_CODER=|&${LOCALBASE}\/bin\/|g' ${WRKSRC}/${i} .endfor @${MV} -f ${WRKSRC}/libparanoia/cdda_paranoia.h \ ${WRKSRC}/libparanoia/js_cdda_paranoia.h .for i in cdda2wav/cdda2wav.c cdda2wav/global.h libparanoia/gap.c \ libparanoia/overlap.c libparanoia/p_block.c libparanoia/paranoia.c @${REINPLACE_CMD} -e 's|cdda_paranoia\.h|js_cdda_paranoia.h|g' \ ${WRKSRC}/${i} .endfor # @${REINPLACE_CMD} -E -e \ # 's|#define.+INSERT_YOUR_EMAIL_ADDRESS_HERE|& "${MAINTAINER}"|' \ # ${WRKSRC}/cdrecord/cdrecord.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/btcflash/OBJ/${CDRTLSTARGET}/btcflash \ ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MCDDA2MP3} ${INSTALL_SCRIPT} ${WRKSRC}/cdda2wav/cdda2mp3 ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2ogg.1 \ ${STAGEDIR}${PREFIX}/man/man1/cdda2mp3.1 .endif .if ${PORT_OPTIONS:MCDDA2OGG} ${INSTALL_SCRIPT} ${WRKSRC}/cdda2wav/cdda2ogg ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2ogg.1 \ ${STAGEDIR}${PREFIX}/man/man1 .endif ${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/${CDRTLSTARGET}/cdda2wav \ ${STAGEDIR}${PREFIX}/bin ${LN} -sf cdda2wav ${STAGEDIR}${PREFIX}/bin/list_audio_tracks ${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/${CDRTLSTARGET}/cdrecord \ ${STAGEDIR}${PREFIX}/bin .for i in devdump isodebug isodump isoinfo isovfy ${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${CDRTLSTARGET}/${i} \ ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/OBJ/${CDRTLSTARGET}/mkisofs \ ${STAGEDIR}${PREFIX}/bin ${LN} -sf mkisofs ${STAGEDIR}${PREFIX}/bin/mkhybrid ${INSTALL_PROGRAM} ${WRKSRC}/readcd/OBJ/${CDRTLSTARGET}/readcd \ ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MRSCSI} ${INSTALL_PROGRAM} ${WRKSRC}/rscsi/OBJ/${CDRTLSTARGET}/rscsi \ ${STAGEDIR}${PREFIX}/sbin .endif ${INSTALL_PROGRAM} ${WRKSRC}/scgcheck/OBJ/${CDRTLSTARGET}/scgcheck \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/btcflash/btcflash.1 \ ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2wav.1 \ ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 \ ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/readcd/readcd.1 ${STAGEDIR}${PREFIX}/man/man1 .if ${PORT_OPTIONS:MRSCSI} @${INSTALL_MAN} ${WRKSRC}/rscsi/rscsi.1 ${STAGEDIR}${PREFIX}/man/man1 .endif ${INSTALL_MAN} ${WRKSRC}/scgcheck/scgcheck.1 \ ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/mkisofs/mkisofs.8 ${STAGEDIR}${PREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/mkisofs/diag/isoinfo.8 \ ${STAGEDIR}${PREFIX}/man/man8 ${INSTALL_DATA} ${WRKSRC}/cdrecord/cdrecord.dfl \ ${STAGEDIR}${PREFIX}/etc/cdrecord.sample .if !exists(${STAGEDIR}${PREFIX}/etc/cdrecord) ${INSTALL_DATA} ${WRKSRC}/cdrecord/cdrecord.dfl \ ${STAGEDIR}${PREFIX}/etc/cdrecord .endif ${MKDIR} ${STAGEDIR}${PREFIX}/lib/siconv .for i in ${SICONVTABLES} ${INSTALL_DATA} ${WRKSRC}/libsiconv/tables/${i} \ ${STAGEDIR}${PREFIX}/lib/siconv .endfor .if ${PORT_OPTIONS:MRSCSI} ${INSTALL_DATA} ${WRKSRC}/rscsi/rscsi.dfl \ ${STAGEDIR}${PREFIX}/etc/rscsi.sample .if !exists(${STAGEDIR}${PREFIX}/etc/rscsi) ${INSTALL_DATA} ${WRKSRC}/rscsi/rscsi.dfl ${STAGEDIR}${PREFIX}/etc/rscsi .endif .endif ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR}/cdda2wav .for i in ${CDDA2WAVDOCS} ${INSTALL_DATA} ${WRKSRC}/cdda2wav/${i} ${STAGEDIR}${DOCSDIR}/cdda2wav .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR}/cdrecord .for i in ${CDRECORDDOCS} ${INSTALL_DATA} ${WRKSRC}/cdrecord/${i} ${STAGEDIR}${DOCSDIR}/cdrecord .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR}/mkisofs .for i in ${MKISOFSDOCS} ${INSTALL_DATA} ${WRKSRC}/mkisofs/${i} ${STAGEDIR}${DOCSDIR}/mkisofs .endfor .include Index: head/sysutils/cfengine32/Makefile =================================================================== --- head/sysutils/cfengine32/Makefile (revision 394507) +++ head/sysutils/cfengine32/Makefile (revision 394508) @@ -1,45 +1,44 @@ # Created by: jrhett@netconsonance.com # $FreeBSD$ PORTNAME= cfengine PORTVERSION= 3.2.3 PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= sysutils MASTER_SITES= https://s3.amazonaws.com/cfengine.package-repos/tarballs/ PKGNAMESUFFIX= 32 MAINTAINER= cy@FreeBSD.org # gjb@FreeBSD.org is an alternate committer for this port COMMENT= Systems administration tool for networks CPE_VENDOR= gnu -LATEST_LINK= cfengine32 FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES} CONFLICTS= cfengine-[2]* cfengine-3.[345]* cfengine-devel-* USE_RC_SUBR= cf-execd cf-serverd LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre USES= cpe libtool USE_BDB= 48+ USE_OPENSSL= yes GNU_CONFIGURE= yes # EXAMPLESDIR= ${PREFIX}/share/examples/cfengine3 DOCSDIR= ${PREFIX}/share/doc/cfengine3 CONFIGURE_ARGS= --docdir=${DOCSDIR} \ --htmldir=${DOCSDIR}/html \ --with-berkeleydb=${LOCALBASE} \ --with-pcre=${LOCALBASE} CONFIGURE_ENV+= BERKELEY_DB_CFLAGS=-I${BDB_INCLUDE_DIR} \ BERKELEY_DB_LDFLAGS=-L${BDB_LIB_DIR} \ BERKELEY_DB_LIB=-l${BDB_LIB_NAME} post-patch: @${REINPLACE_CMD} -e '/^htmldir/s!=.*!= @htmldir@!'\ ${WRKSRC}/docs/Makefile.in .include Index: head/sysutils/cfengine34/Makefile =================================================================== --- head/sysutils/cfengine34/Makefile (revision 394507) +++ head/sysutils/cfengine34/Makefile (revision 394508) @@ -1,87 +1,86 @@ # Created by: jrhett@netconsonance.com # $FreeBSD$ PORTNAME= cfengine PORTVERSION= 3.4.5 PORTREVISION= 6 CATEGORIES= sysutils MASTER_SITES= https://s3.amazonaws.com/cfengine.package-repos/tarballs/ MAINTAINER= cy@FreeBSD.org # gjb@FreeBSD.org is also committer for this port COMMENT= Systems administration tool for networks CPE_VENDOR= gnu .if !defined(MASTERDIR) PKGNAMESUFFIX= 34 -LATEST_LINK= cfengine34 .endif FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES} CONFLICTS= cfengine-2* cfengine-3.[235]* cfengine-devel-* USE_RC_SUBR= cf-execd cf-serverd USES= cpe libtool gmake USE_LDCONFIG= yes USE_OPENSSL= yes GNU_CONFIGURE= yes # EXAMPLESDIR= ${PREFIX}/share/examples/cfengine3 DOCSDIR= ${PREFIX}/share/doc/cfengine CONFIGURE_ARGS= --docdir=${DOCSDIR} \ --htmldir=${DOCSDIR}/html \ --libexecdir=${PREFIX}/libexec \ --libdir=${PREFIX}/libexec \ --mandir=${PREFIX}/man \ --with-workdir=/var/cfengine \ --with-pcre=${LOCALBASE} \ --enable-fhs LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre OPTIONS_DEFINE= PGSQL MYSQL LIBVIRT OPTIONS_SINGLE= BACKEND OPTIONS_SINGLE_BACKEND= TOKYOCABINET QDBM OPTIONS_DEFAULT= TOKYOCABINET TOKYOCABINET_DESC= Use TokyoCabinet as backend db QDBM_DESC= Use QDBM as backend db PGSQL_DESC= Enable PostgreSQL connector MYSQL_DESC= Enable MySQL connector LIBVIRT_DESC= Enable libvirt compatibility .include .if ${PORT_OPTIONS:MTOKYOCABINET} CONFIGURE_ARGS+= --with-tokyocabinet=${LOCALBASE} LIB_DEPENDS+= libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet .endif .if ${PORT_OPTIONS:MQDBM} CONFIGURE_ARGS+= --with-qdbm=${LOCALBASE} LIB_DEPENDS+= libqdbm.so:${PORTSDIR}/databases/qdbm .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql CONFIGURE_ARGS+= --with-postgresql=${LOCALBASE} .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} LIB_DEPENDS+= libmysqlclient.so:${PORTSDIR}/${_MYSQL_CLIENT} LDFLAGS+= -L${LOCALBASE}/lib/mysql .endif .if ${PORT_OPTIONS:MLIBVIRT} CONFIGURE_ARGS+= --with-libvirt=${LOCALBASE} LIB_DEPENDS+= libvirt.so:${PORTSDIR}/devel/libvirt .endif post-patch: @${REINPLACE_CMD} -e '/^htmldir/s!=.*!= @htmldir@!'\ ${WRKSRC}/docs/Makefile.in .include Index: head/sysutils/cfengine36/Makefile =================================================================== --- head/sysutils/cfengine36/Makefile (revision 394507) +++ head/sysutils/cfengine36/Makefile (revision 394508) @@ -1,66 +1,65 @@ # Created by: jrhett@netconsonance.com # $FreeBSD$ PORTNAME= cfengine PORTVERSION= 3.6.5 PORTEPOCH= 1 CATEGORIES= sysutils MASTER_SITES= https://s3.amazonaws.com/cfengine.package-repos/tarballs/ MAINTAINER= cy@FreeBSD.org # gjb@FreeBSD.org is also committer for this port COMMENT= Systems administration tool for networks LICENSE= GPLv3 CPE_VENDOR= gnu .if !defined(MASTERDIR) PKGNAMESUFFIX= 36 -LATEST_LINK= cfengine36 .endif FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES} CONFLICTS= cfengine-[234]* USE_RC_SUBR= cf-execd cf-serverd cf-monitord MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes USE_OPENSSL= yes GNU_CONFIGURE= yes USES= autoreconf cpe gmake libtool CFLAGS+= -Wno-return-type CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib # EXAMPLESDIR= ${PREFIX}/share/examples/cfengine3 DOCSDIR= ${PREFIX}/share/doc/cfengine CONFIGURE_ARGS= --docdir=${DOCSDIR} \ --htmldir=${DOCSDIR}/html \ --libexecdir=${PREFIX}/libexec \ --libdir=${PREFIX}/libexec \ --mandir=${PREFIX}/man \ --with-workdir=/var/cfengine \ --with-pcre=${LOCALBASE} \ --with-lmdb=${LOCALBASE} \ --enable-fhs INSTALL_TARGET= install-strip LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre \ liblmdb.so:${PORTSDIR}/databases/lmdb OPTIONS_DEFINE= PGSQL MYSQL LIBVIRT PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-postgresql=${LOCALBASE} MYSQL_USE= MYSQL=yes MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE} MYSQL_LIB_DEPENDS= libmysqlclient.so:${PORTSDIR}/${_MYSQL_CLIENT} MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql LIBVIRT_CONFIGURE_ON= --with-libvirt=${LOCALBASE} LIBVIRT_LIB_DEPENDS+= libvirt.so:${PORTSDIR}/devel/libvirt .include Index: head/sysutils/cfengine37/Makefile =================================================================== --- head/sysutils/cfengine37/Makefile (revision 394507) +++ head/sysutils/cfengine37/Makefile (revision 394508) @@ -1,67 +1,66 @@ # Created by: jrhett@netconsonance.com # $FreeBSD$ PORTNAME= cfengine PORTVERSION= 3.7.0 CATEGORIES= sysutils MASTER_SITES= https://s3.amazonaws.com/cfengine-package-repos/tarballs/ DISTNAME= cfengine-3.7.0-2 WRKSRC= ${WRKDIR}/cfengine-3.7.0 MAINTAINER= cy@FreeBSD.org # gjb@FreeBSD.org is also committer for this port COMMENT= Systems administration tool for networks LICENSE= GPLv3 CPE_VENDOR= gnu .if !defined(MASTERDIR) PKGNAMESUFFIX= 37 -LATEST_LINK= cfengine37 .endif FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES} CONFLICTS= cfengine-[234]* USE_RC_SUBR= cf-execd cf-serverd cf-monitord MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes USE_OPENSSL= yes GNU_CONFIGURE= yes USES= autoreconf cpe gmake libtool CFLAGS+= -Wno-return-type CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib # EXAMPLESDIR= ${PREFIX}/share/examples/cfengine3 DOCSDIR= ${PREFIX}/share/doc/cfengine CONFIGURE_ARGS= --docdir=${DOCSDIR} \ --htmldir=${DOCSDIR}/html \ --libexecdir=${PREFIX}/libexec \ --libdir=${PREFIX}/libexec \ --mandir=${PREFIX}/man \ --with-workdir=/var/cfengine \ --with-pcre=${LOCALBASE} \ --with-lmdb=${LOCALBASE} \ --enable-fhs INSTALL_TARGET= install-strip LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre \ liblmdb.so:${PORTSDIR}/databases/lmdb OPTIONS_DEFINE= PGSQL MYSQL LIBVIRT PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-postgresql=${LOCALBASE} MYSQL_USE= MYSQL=yes MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE} MYSQL_LIB_DEPENDS= libmysqlclient.so:${PORTSDIR}/${_MYSQL_CLIENT} MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql LIBVIRT_CONFIGURE_ON= --with-libvirt=${LOCALBASE} LIBVIRT_LIB_DEPENDS+= libvirt.so:${PORTSDIR}/devel/libvirt .include Index: head/sysutils/knutclient-kde4/Makefile =================================================================== --- head/sysutils/knutclient-kde4/Makefile (revision 394507) +++ head/sysutils/knutclient-kde4/Makefile (revision 394508) @@ -1,23 +1,22 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= knutclient PORTVERSION= 1.0.4 PORTREVISION= 6 CATEGORIES= sysutils kde MASTER_SITES= ftp://ftp.buzuluk.cz/pub/alo/knutclient/stable/ \ http://www.ringofsaturn.com/distfiles/ \ http://www.vg.kernel.org/pub/mirrors/gentoo/source/distfiles/ MAINTAINER= rnejdl@ringofsaturn.com COMMENT= Visual client for UPS system NUT LIB_DEPENDS= libqimageblitz.so:${PORTSDIR}/x11/qimageblitz CONFLICTS= knutclient-0.* USES= cmake gettext USE_KDE4= kdeprefix kdelibs automoc4 USE_QT4= corelib gui qmake_build moc_build rcc_build uic_build -LATEST_LINK= knutclient-kde4 .include Index: head/sysutils/pear-Log/Makefile =================================================================== --- head/sysutils/pear-Log/Makefile (revision 394507) +++ head/sysutils/pear-Log/Makefile (revision 394508) @@ -1,28 +1,27 @@ # Created by: Thierry Thomas () # $FreeBSD$ PORTNAME= Log PORTVERSION= 1.12.9 CATEGORIES= sysutils www pear MAINTAINER= ports@FreeBSD.org COMMENT= PEAR logging utilities LICENSE= MIT USES= pear USE_PHP= yes -LATEST_LINK= pear-Log OPTIONS_DEFINE= PEAR_DB PEAR_MDB2 PEAR_MAIL PEAR_SQLITE PEAR_DB_DESC= PEAR::DB support PEAR_MDB2_DESC= PEAR::MDB2 support PEAR_MAIL_DESC= PEAR::Mail support PHP_SQLITE_DESC= PHP sqlite support (php5 only) PEAR_DB_BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB PEAR_MDB2_BUILD_DEPENDS= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2 PEAR_MAIL_BUILD_DEPENDS= ${PEARDIR}/Mail.php:${PORTSDIR}/mail/pear-Mail PHP_SQLITE_USE= PHP=sqlite .include Index: head/sysutils/py-supervisor/Makefile =================================================================== --- head/sysutils/py-supervisor/Makefile (revision 394507) +++ head/sysutils/py-supervisor/Makefile (revision 394508) @@ -1,53 +1,52 @@ # Created by: Hizbulin Ildar # $FreeBSD$ PORTNAME= supervisor PORTVERSION= 3.0 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= hizel@vyborg.ru COMMENT= System to monitor and control a number of processes on UNIX-like OS RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}meld3>=0.6.5:${PORTSDIR}/www/py-meld3 TEST_DEPENDS:= ${RUN_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock OPTIONS_DEFINE= TESTS TESTS_DESC= Install mock for running unit tests -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options .include .if ${PORT_OPTIONS:MTESTS} BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock .endif PORTDOCS= *.txt *.rst USES= python:2 USE_PYTHON= distutils autoplist PIDDIR?= /var/run/supervisor SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \ PIDDIR=${PIDDIR} PLIST_SUB= PIDDIR=${PIDDIR} USE_RC_SUBR= supervisord post-patch: @${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!' ${WRKSRC}/supervisor/options.py post-install: ${INSTALL_DATA} ${FILESDIR}/supervisord.conf.sample ${STAGEDIR}${PREFIX}/etc ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include Index: head/textproc/apache-solr/Makefile =================================================================== --- head/textproc/apache-solr/Makefile (revision 394507) +++ head/textproc/apache-solr/Makefile (revision 394508) @@ -1,39 +1,38 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= apache-solr PORTVERSION= 5.2.1 PORTREVISION= 1 CATEGORIES= textproc java MASTER_SITES= APACHE/lucene/solr/${PORTVERSION} DISTNAME= solr-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= High performance search server built using Lucene Java LICENSE= APACHE20 CONFLICT= apache-solr3-* apache-solr-4* USES= cpe tar:tgz JAVA_VERSION= 1.7+ NO_BUILD= yes NO_ARCH= yes PLIST_SUB+= PORTVERSION="${PORTVERSION}" USE_JAVA= yes PORTEXAMPLES= * -LATEST_LINK= apache-solr USE_RC_SUBR= solr CPE_PRODUCT= solr CPE_VENDOR= apache do-install: cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${JAVAJARDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/server && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} ${INSTALL_SCRIPT} ${WRKSRC}/bin/solr ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/post ${STAGEDIR}${PREFIX}/bin .include Index: head/textproc/flip/Makefile =================================================================== --- head/textproc/flip/Makefile (revision 394507) +++ head/textproc/flip/Makefile (revision 394508) @@ -1,24 +1,22 @@ # Created by: Radim Kolar # $FreeBSD$ PORTNAME= flip PORTVERSION= 1.19 CATEGORIES= textproc MASTER_SITES= LOCAL/itetcu DISTNAME= ${PORTNAME}.${PORTVERSION} EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= Convert text file line endings between Unix and DOS formats -NO_LATEST_LINK= yes - WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} ALL_TARGET= bsd PLIST_FILES= bin/flip man/man1/flip.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/flip ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/flip.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include Index: head/textproc/py-genshi/Makefile =================================================================== --- head/textproc/py-genshi/Makefile (revision 394507) +++ head/textproc/py-genshi/Makefile (revision 394508) @@ -1,30 +1,29 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= Genshi PORTVERSION= 0.7 PORTREVISION= 1 #PORTEPOCH= 0 CATEGORIES= textproc www python MASTER_SITES= http://ftp.edgewall.com/pub/${PORTNAME:tl}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Python toolkit for stream-based generation of output for the web LICENSE= BSD3CLAUSE OPTIONS_DEFINE= BABEL -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options BABEL_DESC= I18n support through the Babel plugin USES= python USE_PYTHON= distutils autoplist .include .if ${PORT_OPTIONS:MBABEL} RUN_DEPENDS+= ${PKGNAMEPREFIX}Babel>=0.9.6:${PORTSDIR}/devel/py-babel .endif .include Index: head/textproc/ruby-xmlscan/Makefile =================================================================== --- head/textproc/ruby-xmlscan/Makefile (revision 394507) +++ head/textproc/ruby-xmlscan/Makefile (revision 394508) @@ -1,41 +1,40 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= xmlscan PORTVERSION= 0.2.3 CATEGORIES= textproc ruby MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/xmlscan/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= High-performance non-validating XML parser written in 100% pure Ruby -NO_LATEST_LINK= yes USE_RUBY= yes NO_BUILD= yes DOCS_EN= ChangeLog \ README \ THANKS \ doc/changes.* \ doc/en/* DOCS_JA= doc/ja/* OPTIONS_DEFINE= DOCS do-install: ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR} ${CP} -R ${WRKSRC}/lib/xmlscan ${STAGEDIR}${RUBY_SITELIBDIR}/ ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} ${CP} -R ${WRKSRC}/samples/* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja .for f in ${DOCS_EN} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ .endfor .for f in ${DOCS_JA} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ .endfor .include Index: head/textproc/sphinxsearch-devel/Makefile =================================================================== --- head/textproc/sphinxsearch-devel/Makefile (revision 394507) +++ head/textproc/sphinxsearch-devel/Makefile (revision 394508) @@ -1,173 +1,171 @@ # Created by: Daniel Gerzo # $FreeBSD$ # Note: the Sphinx Storage Engine MySQL plugin is not supported by # this port. You need a patched version of mysql server for that. # See http://www.infracaninophile.co.uk/articles/sphinxse.html PORTNAME= sphinxsearch PORTVERSION= 2.2.1 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= textproc databases MASTER_SITES= http://sphinxsearch.com/files/ \ http://snowball.tartarus.org/dist/:libstemmer PKGNAMESUFFIX?= -devel DISTNAME= sphinx-${PORTVERSION}-beta DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= danger@FreeBSD.org COMMENT= Sphinx Full-Text Search Engine LICENSE= GPLv2 -LATEST_LINK= sphinxsearch-devel - # If expat is present on the system and configure finds it, it will # unconditionally link the output binary against it. There's no way # of turning this off. So for consistency, make sure it's always on. LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 OPTIONS_DEFINE= ICONV ID64 LIBSTEMMER MYSQL OPTIMIZED_CFLAGS PGSQL \ SYSLOG UNIXODBC DOCS EXAMPLES OPTIONS_DEFAULT=ICONV MYSQL SYSLOG ICONV_CONFIGURE_WITH= iconv ICONV_USES= iconv ICONV_LDFLAGS= ${ICONV_LIB} # Changes document and word IDs to a 64bit type, useful if you have # more than about 4.2E9 such items to deal with. Means corresponding # changes in DB schema. Disabled by default. ID64_DESC= Use 64-bit document and word IDs ID64_CONFIGURE_ENABLE= id64 # Note: The snowball project doesn't release numbered versions of it's # pre-processors. Instead, at arbitrary but fairly long intervals a # snapshot of their source repository is turned into a tarball (always # the same filename) and placed on their web site. It's like they # want to make it as hard as possible for anyone to package and use # their software. # # Adds support for two additional word stemmming pre-processors from # the Snowball project (http://snowball.tartarus.org/) -- these # essentially do exactly the same thing as the built in English, # Russian and Czech stemmers but also support French, Spanish, # Portuguese, Italian, Romanian, German, Dutch, Swedish, Norwegian, # Danish, Finnish, Hungarian. Disabled by default. LIBSTEMMER_DESC= Compile with libstemmer support LIBSTEMMER_CONFIGURE_WITH=libstemmer LIBSTEMMER_DISTNAME= libstemmer_c LIBSTEMMER_DISTFILES= ${LIBSTEMMER_DISTNAME}.tgz:libstemmer .if make(makesum) || defined(FETCH_ALL) OPTIONS_SET_FORCE= LIBSTEMMER .endif # The port will successfully compile with both PGSQL and MYSQL support # simultaneously. Not sure how useful that is in practice though. MYSQL_CONFIGURE_WITH= mysql MYSQL_CONFIGURE_ON= --with-mysql-includes=${LOCALBASE}/include/mysql \ --with-mysql-libs=${LOCALBASE}/lib/mysql MYSQL_USE= mysql OPTIMIZED_CFLAGS_CXXFLAGS=-O3 -fomit-frame-pointer PGSQL_CONFIGURE_WITH= pgsql PGSQL_CONFIGURE_ON= --with-pgsql-includes=${LOCALBASE}/include \ --with-pgsql-libs=${LOCALBASE}/lib PGSQL_USES= pgsql SYSLOG_DESC= Enable logging via syslog SYSLOG_CONFIGURE_WITH= syslog UNIXODBC_CONFIGURE_WITH=unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC CONFLICTS= sphinxsearch-[0-9]* dpsearch-[0-9]* rdb-[0-9]* \ swish++-[0-9]* xaira-[0-9]* .include USERS?= _sphinx GROUPS?= _sphinx SPHINX_DIR?= /var/db/${PORTNAME} SPHINX_RUN?= /var/run/${PORTNAME} SPHINX_LOG?= /var/log/${PORTNAME} # Yes, the conflation of CPPFLAGS and CXXFLAGS is deliberate. No, # don't ask. GNU_CONFIGURE= yes CPPFLAGS+= ${CXXFLAGS} CFGFILE= ${PREFIX}/etc/sphinx.conf USE_RC_SUBR= sphinxsearch SUB_LIST+= PORTNAME=${PORTNAME} \ CFGFILE=${CFGFILE} \ SPHINX_USR=${USERS} \ SPHINX_GRP=${GROUPS} \ SPHINX_DIR=${SPHINX_DIR} \ SPHINX_RUN=${SPHINX_RUN} \ SPHINX_LOG=${SPHINX_LOG} SUB_FILES+= pkg-deinstall .if ${PORT_OPTIONS:MEXAMPLES} EXAMPLES= example.sql api PORTEXAMPLES= * .endif .if ${PORT_OPTIONS:MDOCS} DOCS= doc/sphinx.css doc/sphinx.html doc/sphinx.txt doc/sphinx.xml DOCSRC= ${WRKSRC}/doc MAN1SRC= indexer.1 indextool.1 search.1 spelldump.1 MAN8SRC= searchd.8 .endif post-extract: .if ${PORT_OPTIONS:MLIBSTEMMER} @( cd ${WRKDIR} && ${COPYTREE_SHARE} ${LIBSTEMMER_DISTNAME} ${WRKSRC} ) .endif # Fix up the sample configuration file to correspond to FreeBSD norms post-patch: @${REINPLACE_CMD} \ -e "s!@CONFDIR@/log/searchd.pid!${SPHINX_RUN}/searchd.pid!" \ -e "s!@CONFDIR@/log/query.log!${SPHINX_LOG}/sphinx-query.log!" \ -e "s!@CONFDIR@/log/searchd.log!${SPHINX_LOG}/searchd.log!" \ -e "s!@CONFDIR@!${SPHINX_DIR}!" \ ${WRKSRC}/sphinx.conf.in .if ${PORT_OPTIONS:MDOCS} ${SED} -e 's/"1"/"8"/' ${DOCSRC}/searchd.1 > ${DOCSRC}/searchd.8 .for man in ${MAN1} ${SED} -i~ -e 's/\\fBsearchd\\fR(1)/\\fBsearchd\\fR(8)/' \ ${DOCSRC}/${man} .endfor .endif do-install: install-bin install-docs install-man install-examples install-bin: ${INSTALL_PROGRAM} ${WRKSRC}/src/indexer ${STAGEDIR}${PREFIX}/bin/indexer ${INSTALL_PROGRAM} ${WRKSRC}/src/indextool ${STAGEDIR}${PREFIX}/bin/indextool ${INSTALL_PROGRAM} ${WRKSRC}/src/search ${STAGEDIR}${PREFIX}/bin/search ${INSTALL_PROGRAM} ${WRKSRC}/src/spelldump ${STAGEDIR}${PREFIX}/bin/spelldump ${INSTALL_PROGRAM} ${WRKSRC}/src/searchd ${STAGEDIR}${PREFIX}/sbin/searchd ${INSTALL_DATA} ${WRKSRC}/sphinx.conf.dist ${STAGEDIR}${CFGFILE}.sample install-docs: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}/${DOCSDIR}) install-man: (cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN1SRC} ${STAGEDIR}${MANPREFIX}/man/man1) (cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN8SRC} ${STAGEDIR}${MANPREFIX}/man/man8) install-examples: .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "${EXAMPLES}" ${STAGEDIR}${EXAMPLESDIR}) .endif .include Index: head/www/apache22/Makefile.modules =================================================================== --- head/www/apache22/Makefile.modules (revision 394507) +++ head/www/apache22/Makefile.modules (revision 394508) @@ -1,100 +1,100 @@ # $FreeBSD$ # # Note by Clement Laforet: (to generate PLIST_SUB entries for modules) # gsed 's/^\(.*\)mod\(.*\)\.so/%%\MOD\U\2%%\L\1mod\2\.so/' pkg-plist > tmp # mv tmp pkg-plist # # ============================================= # Maintainer note for OPTION handling: # To set additional option use # PORT_OPTIONS+= -# To unset an OPTION, even the OPTION is set in OPTIONSFILE use +# To unset an OPTION, even the OPTION is set in OPTIONS_FILE use # WITHOUT_MODULES+= # Using OPTIONS_EXCLUDE and OPTIONS_OVERRIDE do not work as expected # if the OPTION is enabled by the user, therefore we calculate # them in bsd.apache.mk with help of WITHOUT_MODULES # The other methode is to set IGNORE's and force the user to adjust OPTIONS .if defined(_PREMKINCLUDED) # check if APR-util module exists .if exists(${APU_CONFIG}) . if ${PORT_OPTIONS:MLDAP} || ${PORT_OPTIONS:MAUTHNZ_LDAP} . if !exists(${APU_LDAP}) IGNORE= LDAP and AUTHNZ_LDAP requires APR-util to have LDAP support built in.\ Please rebuild APR with LDAP support . endif . endif . if ${PORT_OPTIONS:MDBD} || ${PORT_OPTIONS:MAUTHN_DBD} . if !exists(${APU_DBD_MYSQL}) && !exists(${APU_DBD_PGSQL}) && !exists(${APU_DBD_SQLITE3}) IGNORE= AUTHN_DBD and DBD requires APR-util to have DBD support build in.\ Please rebuild APR at last with one DBD backend (MYSQL, PGSQL or SQLITE) . endif . endif .endif # exists APU_CONFIG # ============================================= # MPM's: prefork worker event itk peruser .if ${WITH_MPM} == "prefork" PLIST_SUB+= WORKER="@comment " EVENT="@comment " .elif ${WITH_MPM} == "worker" PLIST_SUB+= WORKER="" EVENT="@comment " .elif ${WITH_MPM} == "event" PLIST_SUB+= WORKER="@comment " EVENT="" .elif ${WITH_MPM} == "peruser" PLIST_SUB+= WORKER="@comment " EVENT="@comment " .elif ${WITH_MPM} == "itk" PLIST_SUB+= WORKER="@comment " EVENT="@comment " .else IGNORE= Unknown MPM: ${WITH_MPM} .endif # MPM prefork .if ${WITH_MPM} != "prefork" PKGNAMESUFFIX= -${WITH_MPM}-mpm .endif .if ${WITH_MPM} == "worker" || ${WITH_MPM} == "event" PORT_OPTIONS+= CGID . if ${PORT_OPTIONS:MCGI} IGNORE= When using a multi-threaded MPM, the module CGID should be used in place CGI. \ Please de-select CGI and select CGID instead. \ See http://httpd.apache.org/docs/2.2/mod/mod_cgi.html . endif .endif # ============================================= # The next three params are not converted to an option, # they should be used only for special builds. .if defined(WITH_STATIC_SUPPORT) CONFIGURE_ARGS+= --enable-static-support .endif # debug overrides CFLAGS .if defined(WITH_DEBUG) DEBUG_FLAGS?= -O0 -g -ggdb3 CFLAGS= ${DEBUG_FLAGS} CONFIGURE_ARGS+= --enable-maintainer-mode WITH_EXCEPTION_HOOK= yes .endif .if defined(WITH_EXCEPTION_HOOK) CONFIGURE_ARGS+= --enable-exception-hook .endif .if ${PORT_OPTIONS:MAUTH_BASIC} || ${PORT_OPTIONS:MAUTH_DIGEST} . if !${APACHE_MODULES:MAUTHN*} IGNORE= AUTH_BASIC and AUTH_DIGEST need at least one AUTHN provider . endif .endif .if ${PORT_OPTIONS:MAUTH_BASIC} . if !${APACHE_MODULES:MAUTHZ*} IGNORE= AUTH_BASIC need at least one AUTHZ provider . endif .endif CONFIGURE_ARGS+= --with-mpm=${WITH_MPM} .endif # _PREMKINCLUDED Index: head/www/apache22-event-mpm/Makefile =================================================================== --- head/www/apache22-event-mpm/Makefile (revision 394507) +++ head/www/apache22-event-mpm/Makefile (revision 394508) @@ -1,16 +1,15 @@ # $FreeBSD$ MASTERDIR= ${.CURDIR}/../apache22 MAINTAINER= apache@FreeBSD.org WITH_MPM= event -LATEST_LINK= apache22-${WITH_MPM}-mpm DESCR= ${.CURDIR}/pkg-descr PORT_OPTIONS+= CGID OPTIONS_EXCLUDE= CGI OPTIONS_UNSET+= CGI .include "${MASTERDIR}/Makefile" Index: head/www/apache22-itk-mpm/Makefile =================================================================== --- head/www/apache22-itk-mpm/Makefile (revision 394507) +++ head/www/apache22-itk-mpm/Makefile (revision 394508) @@ -1,40 +1,39 @@ # $FreeBSD$ # To build this port with the additional mpm-itk-perdir-regex # patch use -DWITH_ITK_PERDIR_REGEX # # To build this port with the additional mpm-itk-limits # patch use -DWITH_ITK_LIMITS # # Note: # It's not possible to use both patches together # # For a quick description take a look into the mpm-itk* patches # in the files directory MASTERDIR= ${.CURDIR}/../apache22 MAINTAINER= apache@FreeBSD.org WITH_MPM= itk -LATEST_LINK= apache22-${WITH_MPM}-mpm DESCR= ${.CURDIR}/pkg-descr MPM_ITK_VERSION?= 20110321-01 EXTRA_PATCHES+= ${.CURDIR}/files/mpm-itk-${MPM_ITK_VERSION} .if defined (WITH_ITK_PERDIR_REGEX) && defined (WITH_ITK_LIMITS) IGNORE= use only one patch option not both (WITH_ITK_PERDIR_REGEX or WITH_ITK_LIMITS) .endif .if defined (WITH_ITK_PERDIR_REGEX) EXTRA_PATCHES+= ${.CURDIR}/files/mpm-itk-perdir-regex .endif .if defined (WITH_ITK_LIMITS) EXTRA_PATCHES+= ${.CURDIR}/files/mpm-itk-limits .endif .include "${MASTERDIR}/Makefile" Index: head/www/apache22-peruser-mpm/Makefile =================================================================== --- head/www/apache22-peruser-mpm/Makefile (revision 394507) +++ head/www/apache22-peruser-mpm/Makefile (revision 394508) @@ -1,21 +1,20 @@ # $FreeBSD$ # Apache 2.2.X with peruser mpm 0.3.0-dc3 # Peruser main url: http://telana.com/peruser.php # Peruser patches: http://source.kood.ee/ # This port contains the main patch, including the dc3 patch MASTERDIR= ${.CURDIR}/../apache22 MAINTAINER= ports@FreeBSD.org WITH_MPM= peruser -LATEST_LINK= apache22-${WITH_MPM}-mpm DESCR= ${.CURDIR}/pkg-descr EXTRA_PATCHES+= ${.CURDIR}/files/httpd-2.2.3-peruser-0.3.0.patch EXTRA_PATCHES+= ${.CURDIR}/files/httpd-2.2.3-peruser-0.3.0-dc3.patch EXTRA_PATCHES+= ${.CURDIR}/files/httpd-2.2.3-peruser-0.3.0-dc3-r57.patch .include "${MASTERDIR}/Makefile" Index: head/www/apache22-worker-mpm/Makefile =================================================================== --- head/www/apache22-worker-mpm/Makefile (revision 394507) +++ head/www/apache22-worker-mpm/Makefile (revision 394508) @@ -1,16 +1,15 @@ # $FreeBSD$ MASTERDIR= ${.CURDIR}/../apache22 MAINTAINER= apache@FreeBSD.org WITH_MPM= worker -LATEST_LINK= apache22-${WITH_MPM}-mpm DESCR= ${.CURDIR}/pkg-descr PORT_OPTIONS+= CGID OPTIONS_EXCLUDE= CGI OPTIONS_UNSET+= CGI .include "${MASTERDIR}/Makefile" Index: head/www/apache24/Makefile.modules =================================================================== --- head/www/apache24/Makefile.modules (revision 394507) +++ head/www/apache24/Makefile.modules (revision 394508) @@ -1,129 +1,129 @@ # $FreeBSD$ # # Note by Clement Laforet: (to generate PLIST_SUB entries for modules) # gsed 's/^\(.*\)mod\(.*\)\.so/%%\MOD\U\2%%\L\1mod\2\.so/' pkg-plist > tmp # mv tmp pkg-plist # # ============================================= # Maintainer note for OPTION handling: # To set additional option use # PORT_OPTIONS+= -# To unset an OPTION, even the OPTION is set in OPTIONSFILE use +# To unset an OPTION, even the OPTION is set in OPTIONS_FILE use # WITHOUT_MODULES+= # Using OPTIONS_EXCLUDE and OPTIONS_OVERRIDE do not work as expected # if the OPTION is enabled by the user, therefore we calculate # them in bsd.apache.mk with help of WITHOUT_MODULES # The other methode is to set IGNORE's and force the user to adjust OPTIONS .if defined(_PREMKINCLUDED) # check if APR-util module exists .if exists(${APU_CONFIG}) . if ${PORT_OPTIONS:MLDAP} || ${PORT_OPTIONS:MAUTHNZ_LDAP} . if !exists(${APU_LDAP}) IGNORE= LDAP and AUTHNZ_LDAP requires APR-util to have LDAP support built in.\ Please rebuild APR with LDAP support . endif . endif . if ${PORT_OPTIONS:MSESSION_CRYPTO} . if !exists(${APU_CRYPTO_OPENSSL}) && !exists(${APU_CRYPTO_NSS}) IGNORE= SESSION_CRYPTO requires APR-util to have crypto openssl support build in.\ Please rebuild APR with crypto openssl support . endif . endif .endif # exists APU_CONFIG # ============================================= # if build with shared MPM the last module will be activated # see apache issue 53882 # XXX in case we use OPTIONS for MPM # we do not have a WITH_MPM variable .if ${PORT_OPTIONS:MMPM_SHARED} SUB_LIST+= MPM_FALLBACK_CHECK="" PLIST_SUB+= MPM_SHARED="" CONFIGURE_ARGS+= --enable-mpms-shared=all .else SUB_LIST+= MPM_FALLBACK_CHECK="\#" PLIST_SUB+= MPM_SHARED="@comment " .endif .if ${PORT_OPTIONS:MMPM_PREFORK} CONFIGURE_ARGS+= --with-mpm=prefork .elif ${PORT_OPTIONS:MMPM_WORKER} CONFIGURE_ARGS+= --with-mpm=worker .elif ${PORT_OPTIONS:MMPM_EVENT} CONFIGURE_ARGS+= --with-mpm=event .else IGNORE= Unknown MPM: .endif # ============================================= # build develop/example modules only with additional confirmation .for DEVMOD in ${EXAMPLE_MODULES} . if ${PORT_OPTIONS:M${DEVMOD}} WITH_DEVMODS= yes . endif .endfor .if defined(WITH_DEVMODS) && !defined(IAMADEVELOPER ) IGNORE= to build the develop/example modules specify -DIAMADEVELOPER on the command line.\ Do not use the this modules in production environment .endif # The next three params are not converted to an option, # they should be used only for special builds. .if defined(WITH_STATIC_SUPPORT) CONFIGURE_ARGS+= --enable-static-support .endif # debug overrides CFLAGS .if defined(WITH_DEBUG) DEBUG_FLAGS?= -O0 -g -ggdb3 CFLAGS= ${DEBUG_FLAGS} CONFIGURE_ARGS+= --enable-maintainer-mode WITH_EXCEPTION_HOOK= yes .endif .if defined(WITH_EXCEPTION_HOOK) CONFIGURE_ARGS+= --enable-exception-hook .endif # watchdog modules .if ! ${PORT_OPTIONS:MWATCHDOG} || ! ${PORT_OPTIONS:MSTATUS} . if ${PORT_OPTIONS:MHEARTBEAT} IGNORE= HEARTBEAT requires WATCHDOG and STATUS . elif ${PORT_OPTIONS:MHEARTMONITOR} IGNORE= HEARTMONITOR requires WATCHDOG and STATUS . endif .endif .if ${PORT_OPTIONS:MLBMETHOD_HEARTBEAT} && ! ${PORT_OPTIONS:MHEARTMONITOR} IGNORE= LBMETHOD_HEARTBEAT requires WATCHDOG, STATUS and HEARTMONITOR .endif .if ${PORT_OPTIONS:MAUTH_BASIC} || ${PORT_OPTIONS:MAUTH_DIGEST} . if !${APACHE_MODULES:MAUTHN*} IGNORE= AUTH_BASIC and AUTH_DIGEST need at least one AUTHN provider . endif .endif . if ${PORT_OPTIONS:MAUTHN_DBD} && ! ${PORT_OPTIONS:MDBD} IGNORE= AUTHN_DBD requires DBD . endif .if ${PORT_OPTIONS:MAUTH_BASIC} . if !${APACHE_MODULES:MAUTHZ*} IGNORE= AUTH_BASIC need at least one AUTHZ provider . endif .endif .if ${PORT_OPTIONS:MXML2ENC} || ${PORT_OPTIONS:MPROXY_HTML} CONFIGURE_ARGS+= --with-libxml2=${LOCALBASE}/include/libxml2 .else CONFIGURE_ARGS+= --without-libxml2 .endif .endif # _PREMKINCLUDED Index: head/www/autoindex2/Makefile =================================================================== --- head/www/autoindex2/Makefile (revision 394507) +++ head/www/autoindex2/Makefile (revision 394508) @@ -1,34 +1,33 @@ # Created by: Daniel Gerzo # $FreeBSD$ PORTNAME= AutoIndex PORTVERSION= 2.2.4 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}%20PHP%20Script%202.x/${PORTNAME}%20PHP%20${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= PHP 5.x script that put a directory listing into a table WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= dos2unix USE_PHP= session DEFAULT_VERSIONS+= php=5 CONFLICTS= AutoIndex-1* -LATEST_LINK= AutoIndex2 NO_BUILD= yes INSTALLDIR?= ${WWWDIR} PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} \ INSTALLDIR=${INSTALLDIR:S,^${PREFIX}/,,} post-extract: ${MV} ${WRKSRC}/config.php ${WRKSRC}/config.php.sample ${MV} ${WRKSRC}/.htpasswd.autoindex ${WRKSRC}/.htpasswd.autoindex.sample do-install: @${MKDIR} ${STAGEDIR}${INSTALLDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${INSTALLDIR}) .include Index: head/www/cocoon/Makefile =================================================================== --- head/www/cocoon/Makefile (revision 394507) +++ head/www/cocoon/Makefile (revision 394508) @@ -1,133 +1,132 @@ # $FreeBSD$ PORTNAME= cocoon PORTVERSION= 2.1.11 PORTREVISION= 1 CATEGORIES= www java MASTER_SITES= APACHE/${PORTNAME} DISTNAME= ${PDISTNAME}-src MAINTAINER= ports@FreeBSD.org COMMENT= XML Web Development Framework USE_RC_SUBR= ${PORTNAME} USE_JAVA= yes JAVA_VERSION= 1.6 USES= cpe python CPE_VENDOR= apache MAKE_ENV= JAVA_HOME=${JAVA_HOME} WRKSRC= ${WRKDIR}/${PDISTNAME} APP_NAME?= ${PORTNAME} APP_HOME?= ${PREFIX}/${APP_NAME} -LATEST_LINK= ${APP_NAME} PLIST= ${WRKDIR}/pkg-plist PDISTNAME= ${PORTNAME}-${PORTVERSION} PKGMESSAGE= ${WRKDIR}/pkg-message NO_ARCH= yes COCOON_LIB= ${JAVASHAREDIR}/${APP_NAME} PLIST_SUB+= COCOON_LIB="${COCOON_LIB}" COPYDIRS= *.txt tools/jetty tools/loader legal webapp PORT?= 8888 PID_FILE?= ${APP_HOME}/${APP_NAME}.pid RUNASUSER?= www RUNASUID?= 80 GROUP?= www GID?= 80 LOG_FILE?= ${APP_HOME}/${APP_NAME}.log SUB_LIST= APP_HOME=${APP_HOME} \ APP_NAME=${APP_NAME} \ PORT=${PORT} \ COCOON_LIB=${COCOON_LIB} \ JAVA_HOME=${JAVA_HOME} \ JAVA=${JAVA} \ PID_FILE=${PID_FILE} \ RUNASUSER=${RUNASUSER} \ RUNASUID=${RUNASUID} \ GROUP=${GROUP} \ GID=${GID} \ LOG_FILE=${LOG_FILE} \ PYTHON_CMD=${PYTHON_CMD} SUB_FILES= pkg-install \ pkg-deinstall \ ${APP_NAME}ctl \ upstreams-cocoon.sh \ message \ message-advanced # Load options (before including bsd.port.pre.mk) .include "${.CURDIR}/Makefile.options" .include # Test for options .include "${MASTERDIR}/Makefile.test-options" .for BLOCK in ${BLOCKS} BLOCKSEXP+= -e 's/^include.block.${BLOCK}=.*$$/include.block.${BLOCK}=true/' .endfor post-configure: @${ECHO_MSG} "===> Configuring blocks: ${BLOCKS}" ${SED} -e 's/.*include.block\(.*\)=.*$$/include.block\1=false/' < ${WRKSRC}/blocks.properties | \ ${SED} ${BLOCKSEXP} > ${WRKSRC}/local.blocks.properties ${CP} ${WRKSRC}/build.properties ${WRKSRC}/local.build.properties .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} \ -e 's/^#\(exclude.webapp.documentation=\)/\1/' \ -e 's/^#\(exclude.webapp.javadocs=\)/\1/' \ -e 's/^#\(exclude.documentation=\)/\1/' \ -e 's/^#\(exclude.javadocs=\)/\1/' \ ${WRKSRC}/local.build.properties .endif .if ! ${PORT_OPTIONS:MSAMPLES} ${REINPLACE_CMD} \ -e 's/^#\(exclude.webapp.samples=\)/\1/' \ -e 's/^#\(exclude.webapp.test-suite=\)/\1/' \ ${WRKSRC}/local.build.properties .endif # Include Java source code into the binary jar files .if (defined(WITH_SOURCES)) ${REINPLACE_CMD} \ -e 's/^#\(include.sources-in-jars=\)/\1/' \ ${WRKSRC}/local.build.properties .endif pre-build: ${CHMOD} a+rx ${WRKSRC}/build.sh do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./build.sh post-build: ${TEST} -h ${WRKSRC}/webapp || ${LN} -s ${WRKSRC}/build/webapp ${WRKSRC}/webapp @${ECHO_MSG} "===> Building packing list" @> ${PLIST} @cd ${WRKSRC} && ${FIND} -H ${COPYDIRS} -not -type d \ | ${SED} -e "s|^|${APP_NAME}/|" >> ${PLIST} @cd ${WRKSRC} && ${FIND} -H -d ${COPYDIRS} -type d -empty \ | ${SED} -e "s|^|@dir ${APP_NAME}/|" >> ${PLIST} @${CAT} ${MASTERDIR}/pkg-plist >> ${PLIST} pre-install: @${FMT} -w80 ${WRKDIR}/message > ${PKGMESSAGE} @${CAT} ${WRKDIR}/message-advanced >> ${PKGMESSAGE} do-install: @${ECHO_MSG} "===> Installing ${COPYDIRS}" @${MKDIR} ${STAGEDIR}${APP_HOME} @cd ${WRKSRC} && ${FIND} -H ${COPYDIRS} | ${CPIO} -pdmuL -R ${LIBOWN}:${LIBGRP} ${STAGEDIR}${APP_HOME} @${INSTALL} ${WRKDIR}/upstreams-cocoon.sh ${STAGEDIR}${APP_HOME}/cocoon.sh @${ECHO_MSG} "===> Installing into ${PREFIX}/sbin" @${INSTALL_SCRIPT} ${WRKDIR}/${APP_NAME}ctl ${STAGEDIR}${PREFIX}/sbin .include Index: head/www/dillo2/Makefile =================================================================== --- head/www/dillo2/Makefile (revision 394507) +++ head/www/dillo2/Makefile (revision 394508) @@ -1,125 +1,124 @@ # Created by: bf # $FreeBSD$ PORTNAME= dillo PORTVERSION= 3.0.4.1 CATEGORIES= www ipv6 MASTER_SITES= http://www.dillo.org/download/ LOCAL/bf/dillo/ \ TEX_CTAN/language/hyph-utf8/tex/generic/hyph-utf8/patterns/txt/:hyphen DISTFILES= ${DISTNAME}${EXTRACT_SUFX} DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= bf@FreeBSD.org COMMENT= Fast, small graphical Web browser built upon fltk LICENSE= GPLv3 LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget USES= gmake iconv pkgconfig tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir=${PREFIX}/libexec CONFLICTS= dillo-i18n-[0-9]* \ dillo-0* -LATEST_LINK= dillo2 OPTIONS_DEFINE= COOKIES HYPHENATION IPV6 SSL THREADS DOCS OPTIONS_DEFAULT= COOKIES HYPHENATION IPV6 SSL THREADS COOKIES_DESC= Cookie support HYPHENATION_DESC= Hyphenation file(s) for HYPHENATION_LANGS SSL_DESC= Experimental HTTPS support .include .if ${PORT_OPTIONS:MCOOKIES} CONFIGURE_ARGS+= --enable-cookies .else CONFIGURE_ARGS+= --disable-cookies .endif .ifdef(WITH_DEBUG) CONFIGURE_ARGS+= --enable-gprof --enable-rtfl .else CONFIGURE_ARGS+= --disable-gprof --disable-rtfl .endif .if ${PORT_OPTIONS:MDOCS} PORTDOCS= * .endif .if ${PORT_OPTIONS:MHYPHENATION} ALL_HYPHENATION_LANGS= af as bg bn ca cop cs cy da de-1901 de-1996 \ de-ch-1901 el-monoton el-polyton en-gb en-us eo es et eu fi fr fur ga \ gl grc gu hi hr hsb hu hy ia id is it ka kmr kn la la-x-classic lt lv ml mn-cyrl mr \ mul-ethi nb nl nn or pa pl pms pt rm ro ru sa sh-cyrl sh-latn sk sl \ sr-cyrl sv ta te th tk tr uk zh-latn-pinyin .if defined(MAINTAINER_MODE) || make(makesum) HYPHENATION_LANGS?= ${ALL_HYPHENATION_LANGS} .else HYPHENATION_LANGS?= \ ${ALL_HYPHENATION_LANGS:N*-1901:N*-classic:N*-latn:N*-gb:N*-monoton} .endif .for _l in ${HYPHENATION_LANGS} .if !${ALL_HYPHENATION_LANGS:M${_l}} IGNORE= remove the invalid hyphenation language "${_l}" from HYPHENATION_LANGS .else DISTFILES+= hyph-${_l}.pat.txt:hyphen PLIST_FILES+= libexec/dillo/hyphenation/${_l:C/-.*\$//}.pat .endif .endfor .endif .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+= --enable-ipv6 .else CONFIGURE_ARGS+= --disable-ipv6 .endif .if ${PORT_OPTIONS:MSSL} CONFIGURE_ARGS+= --enable-ssl USE_OPENSSL= yes .else CONFIGURE_ARGS+= --disable-ssl .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+= --enable-threaded-dns .else CONFIGURE_ARGS+= --disable-threaded-dns .endif post-patch: @${MV} ${WRKSRC}/dillorc ${WRKSRC}/dillorc.sample @${MV} ${WRKSRC}/dpid/dpidrc.in ${WRKSRC}/dpid/dpidrc.sample.in @${MV} ${WRKSRC}/src/domainrc ${WRKSRC}/src/domainrc.sample @${MV} ${WRKSRC}/src/keysrc ${WRKSRC}/src/keysrc.sample @${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/configure @${REINPLACE_CMD} -e "s|dillorc|dillorc.sample|g" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s|dpidrc|dpidrc.sample|g" ${WRKSRC}/dpid/Makefile.in @${REINPLACE_CMD} -E "s/(domain|keys)rc/&.sample/g" ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e "s|/lib/dillo|/libexec/dillo|" \ ${WRKSRC}/dillo-install-hyphenation \ ${WRKSRC}/doc/dillo.1.in \ ${WRKSRC}/dpid/dpid.c .if ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e "\|install-data-am:|s|install-dist_docDATA||" \ ${WRKSRC}/doc/Makefile.in .endif post-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} .endif @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/dillo/hyphenation .if ${PORT_OPTIONS:MHYPHENATION} .for _l in ${HYPHENATION_LANGS} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/hyph-${_l}.pat.txt \ ${STAGEDIR}${PREFIX}/libexec/dillo/hyphenation/${_l:C/-.*\$//}.pat .endfor .endif .include Index: head/www/free-sa-devel/Makefile =================================================================== --- head/www/free-sa-devel/Makefile (revision 394507) +++ head/www/free-sa-devel/Makefile (revision 394508) @@ -1,99 +1,98 @@ # Created by: Alexander Moisseev # $FreeBSD$ PORTNAME= free-sa PORTVERSION= 2.0.0b6.7 CATEGORIES= www MASTER_SITES= SF/free-sa/free-sa-dev/2.0.0b6p7 PKGNAMESUFFIX= -devel DISTNAME= free-sa-2.0.0b6p7 MAINTAINER= moiseev@mezonplus.ru COMMENT= Statistic analyzer for daemons log files similar to SARG LICENSE= GPLv3 CONFLICTS= free-sa-[0-9]* -LATEST_LINK= free-sa-devel WWWDIR?= ${PREFIX}/www/${PORTNAME} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${DISTVERSION} SUB_FILES= pkg-deinstall SUB_LIST= CACHEDIR="/var/cache/free-sa" USE_CSTD= gnu89 MAKE_ARGS+= PREFIX="${PREFIX}" \ ETCDIR="${ETCDIR}" \ WWWDIR="${WWWDIR}" \ CACHEDIR="/var/cache/free-sa" \ LOCDIR="${DATADIR}" \ DOCDIR="${DOCSDIR}" \ LOGFILE=/var/log/squid/access.log \ CC="${CC}" \ SORT=/usr/bin/sort \ INSTALL=/usr/bin/install \ LARGEFILE=yes \ SATSEP="'" \ HAVE_STRL="1" \ MANDIR="${MANPREFIX}/man" \ STAGEDIR="${STAGEDIR}" OPTIONS_DEFINE= OPTIMIZED_CFLAGS SA_DEBUG DOCS OPTIMIZED_CFLAGS_DESC= Build with distribution-recommended CFLAGS SA_DEBUG_DESC= Enable Free-SA debugging (level 1) .include pre-everything:: .if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS) @${ECHO_MSG} "=============================================================================" @${ECHO_MSG} " This software is computationally demanding, and users are" @${ECHO_MSG} " advised to employ compiler optimizations when building it." @${ECHO_MSG} " Author of this software have used such flags as" @${ECHO_MSG} " 'CFLAGS= -O4 -pipe -march=native' and 'CC= gcc' to advantage." @${ECHO_MSG} " You can set them in make.conf, but they depends on your system and compiler." @${ECHO_MSG} " In addition, you can enable extra flags by defining WITH_OPTIMIZED_CFLAGS" @${ECHO_MSG} " For example, 'make WITH_OPTIMIZED_CFLAGS=yes'" @${ECHO_MSG} "=============================================================================" .endif .if empty(PORT_OPTIONS:MSA_DEBUG) &! (SA_DEBUG_LEVEL) @${ECHO_MSG} "=============================================================================" @${ECHO_MSG} " You can enable Free-SA debugging (level 1) by defining WITH_SA_DEBUG" @${ECHO_MSG} " For example, 'make WITH_SA_DEBUG=yes'" @${ECHO_MSG} " Or for specific level (0-7) you can use SA_DEBUG_LEVEL" @${ECHO_MSG} " For example, 'make SA_DEBUG_LEVEL=4'" @${ECHO_MSG} " Note that SA_DEBUG_LEVEL overrides WITH_SA_DEBUG" @${ECHO_MSG} "=============================================================================" .endif .if ${PORT_OPTIONS:MSA_DEBUG} SA_DEBUG_LEVEL?= 1 .else SA_DEBUG_LEVEL?= 0 .endif post-patch: @cd ${WRKSRC} && \ ${REINPLACE_CMD} \ -e 's,^DEBUG = .*,DEBUG = ${SA_DEBUG_LEVEL},' \ -e 's,^include .(GMKPATH)/configs/.(OSTYPE)\.mk,,' \ global.mk && \ ${REINPLACE_CMD} -E \ -e '/#define/!s,\$$\((PREFIX|WWWDIR|CACHEDIR|DOCDIR|ETCDIR|MANDIR|LOCDIR)\),$$(STAGEDIR)&,' \ Makefile themes/Makefile src/Makefile etc/Makefile man/Makefile share/Makefile .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} MAKE_ARGS+= ADDCFLAGS="${CFLAGS} \ -fomit-frame-pointer \ -std=c99 \ -W -Wall -Wextra -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -Wreturn-type -Wswitch -Wshadow -Wcast-align -Wuninitialized \ -Wchar-subscripts -Wuninitialized -Wbad-function-cast -Wwrite-strings" .else MAKE_ARGS+= ADDCFLAGS="${CFLAGS}" .endif .include Index: head/www/gaeutilities/Makefile =================================================================== --- head/www/gaeutilities/Makefile (revision 394507) +++ head/www/gaeutilities/Makefile (revision 394508) @@ -1,31 +1,30 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= gaeutilities PORTVERSION= 1.4 PORTREVISION= 0 CATEGORIES= www devel MASTER_SITES= http://cloud.github.com/downloads/joerussbowman/${PORTNAME}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Utility classes to make working with Google App Engine easier RUN_DEPENDS= google-appengine>=1.2.4_1:${PORTSDIR}/www/google-appengine USES= python:2 # same as www/google-appengine WRKSRC= ${WRKDIR}/joerussbowman-gaeutilities-ea3f7e1 -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= DOCS do-build: ${PYTHON_CMD} -m compileall -f ${WRKSRC}/appengine_utilities ${PYTHON_CMD} -O -m compileall -f ${WRKSRC}/appengine_utilities do-install: cd ${WRKSRC} && ${COPYTREE_SHARE} appengine_utilities ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} && cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include Index: head/www/geronimo/Makefile =================================================================== --- head/www/geronimo/Makefile (revision 394507) +++ head/www/geronimo/Makefile (revision 394508) @@ -1,99 +1,98 @@ # Created by: Nemo Liu # $FreeBSD$ PORTNAME= geronimo DISTVERSION= 3.0-beta-1 PORTREVISION= 1 CATEGORIES= www devel java MASTER_SITES= APACHE/geronimo/${DISTVERSION} DISTNAME= ${PORTNAME}-${WEBSERVER}-javaee6-${DISTVERSION}-bin MAINTAINER= ports@FreeBSD.org COMMENT= Open-source Java EE 5 application server USES= cpe CPE_VENDOR= apache USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes CPE_VENDOR= apache CPE_VERSION= ${DISTVERSION:C/-.*//} CPE_UPDATE= ${DISTVERSION:C/[^-]*((-.*)?)/\1/:C/-//g} USE_RC_SUBR= geronimo3 SUB_FILES= pkg-deinstall OPTIONS_DEFINE= TOMCAT7 TOMCAT7_DESC= Use Tomcat instead of default Jetty .include .if ${PORT_OPTIONS:MTOMCAT7} WEBSERVER= tomcat7 .else WEBSERVER= jetty8 .endif MAJOR_VER= ${PORTVERSION:C/\..*//} APP_HOME?= ${PREFIX}/${PKGBASE}${MAJOR_VER} LOG_DIR= ${APP_HOME}/var/log APP_TITLE= Geronimo APP_SHORTNAME= geronimo${MAJOR_VER} .if defined(GERONIMO_USER) IGNORE= no longer allows customisation of GERONIMO_USER or GERONIMO_GROUP .endif GERONIMO_USER?= www GERONIMO_GROUP?=www GERONIMO_OUT= ${LOG_DIR}/geronimo.out PID_FILE= /var/run/${APP_SHORTNAME}.pid WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work WRKSRC= ${WRKDIR}/${DISTNAME:S/-bin//} JAR_FILE= bin/server.jar -LATEST_LINK= ${APP_SHORTNAME} PLIST_FILES= "@(${GERONIMO_USER},${GERONIMO_GROUP},) ${GERONIMO_OUT:S,^${PREFIX}/,,}" SUB_LIST= GERONIMO_HOME=${APP_HOME} \ APP_SHORTNAME=${APP_SHORTNAME} \ APP_TITLE="${APP_TITLE}" \ GROUP=${GERONIMO_GROUP} \ HTTP_PORT=${HTTP_PORT} \ JAR_FILE=${JAR_FILE} \ PID_FILE=${PID_FILE} \ GERONIMO_OUT=${GERONIMO_OUT} \ USER=${GERONIMO_USER} \ GERONIMO_VERSION=${MAJOR_VER} \ GERONIMO_OUT=${GERONIMO_OUT} \ JAVA_HOME=${JAVA_HOME} \ JAVA_VERSION=${JAVA_VERSION} pre-patch: @${ECHO_MSG} "Installation settings:" @${ECHO_MSG} " Destination directory: ${APP_HOME}" @${ECHO_MSG} " Location of JDK: ${JAVA_HOME}" @${ECHO_MSG} " Location of Java port: ${JAVA_PORT}" @${ECHO_MSG} " Running as (user/group): ${GERONIMO_USER}/${GERONIMO_GROUP}" @${ECHO_MSG} " Logfile: ${GERONIMO_OUT}" post-patch: @${ECHO_MSG} -n ">> Removing unneeded files..." @${RM} -f `${FIND} ${WRKSRC} -name '*.bat'` `${FIND} ${WRKSRC} -name '*.orig'` `${FIND} ${WRKSRC} -name '*.exe'` @${ECHO_MSG} " [ DONE ]" @${REINPLACE_CMD} -e '/^activemq.data/s|= |= ${APP_HOME}/|' ${WRKSRC}/var/config/config-substitutions.properties do-install: ${MKDIR} ${STAGEDIR}${APP_HOME} @(cd ${WRKSRC} && ${FIND} . |\ ${CPIO} -pdmu ${STAGEDIR}${APP_HOME}) ${INSTALL} -m 0644 /dev/null ${STAGEDIR}${GERONIMO_OUT} post-install: @${ECHO_MSG} "${APP_TITLE} ${PORTVERSION} has been installed in ${APP_HOME}." @${ECHO_CMD} -e '@owner ${GERONIMO_USER}\n@group ${GERONIMO_GROUP}' >> ${TMPPLIST} @${FIND} -s ${WRKSRC} -not -type d | \ ${SED} -ne 's,^${WRKSRC},${APP_HOME:S,${PREFIX}/,,},p' >> ${TMPPLIST} @${FIND} -s -d ${WRKSRC} -type d | \ ${SED} -ne 's,^${WRKSRC},@dir ${APP_HOME:S,${PREFIX}/,,},p' >> ${TMPPLIST} @${ECHO_CMD} -e '@owner root\n@group wheel' >> ${TMPPLIST} .include Index: head/www/linux-opera/Makefile =================================================================== --- head/www/linux-opera/Makefile (revision 394507) +++ head/www/linux-opera/Makefile (revision 394508) @@ -1,111 +1,111 @@ # $FreeBSD$ PORTNAME= opera PORTVERSION= ${OPERA_VER} CATEGORIES= www linux MASTER_SITES= ftp://ftp.opera.com/pub/opera/linux/${OPERA_VER:S/.//}/ \ ftp://ftp.sunet.se/pub/www/clients/Opera/linux/${OPERA_VER:S/.//}/ \ ftp://sunsite.cnlab-switch.ch/mirror/opera/linux/${OPERA_VER:S/.//}/ \ ftp://ftp.tiscali.nl/pub/mirrors/opera/linux/${OPERA_VER:S/.//}/ \ ftp://ftp.ntua.gr/pub/www/Opera/linux/${OPERA_VER:S/.//}/ \ http://mirrors.pmmf.hu/mirror/opera/linux/${OPERA_VER:S/.//}/ \ ftp://ftp.task.gda.pl/pub/opera/linux/${OPERA_VER:S/.//}/ \ ftp://ftp.planetmirror.com/pub/opera/linux/${OPERA_VER:S/.//}/ \ http://gd.tuwien.ac.at/infosys/browsers/opera/linux/${OPERA_VER:S/.//}/ PKGNAMEPREFIX= linux- DISTNAME= ${PORTNAME}-${OPERA_VER}-${OPERA_BUILD}.i386.linux MAINTAINER= acm@FreeBSD.org COMMENT= Blazingly fast, full-featured, standards-compliant browser RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info USE_LINUX= yes USE_LINUX_APPS= gtk2 naslibs png sqlite3 xorglibs ONLY_FOR_ARCHS= i386 amd64 USES= desktop-file-utils shared-mime-info tar:xz WANT_GNOME= yes INSTALLS_ICONS= yes NO_BUILD= yes OPERA_VER?= 12.16 OPERA_BUILD?= 1860 -DATADIR= ${PREFIX}/share/${UNIQUENAME} -DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} +DATADIR= ${PREFIX}/share/${PKGBASE} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} RENAME= opera lib/opera \ share/applications/opera-browser.desktop \ share/doc/opera share/opera man/man1/opera.1 \ share/mime/packages/opera-extension.xml post-extract: @${GUNZIP_CMD} ${WRKSRC}/share/man/man1/*.gz @${MV} ${WRKSRC}/share/man ${WRKSRC}/man @for _r in ${RENAME}; do \ linux=`${ECHO_CMD} $${_r} | \ - ${SED} -e 's|opera|${UNIQUENAME}|g'`; \ + ${SED} -e 's|opera|${PKGBASE}|g'`; \ ${MV} ${WRKSRC}/$${_r} ${WRKSRC}/$${linux}; \ done; \ for _f in `find ${WRKSRC}/share/icons -type f | \ ${SED} -e 's|${WRKSRC}/||g'`; do \ linux=`${ECHO_CMD} $${_f} | \ - ${SED} -e 's|opera|${UNIQUENAME}|g'`; \ + ${SED} -e 's|opera|${PKGBASE}|g'`; \ ${MV} ${WRKSRC}/$${_f} ${WRKSRC}/$${linux}; \ done; \ for _l in `find ${WRKSRC}/share/icons -name opera-widget.png | \ ${SED} -e 's|/opera-widget\.png||g'`; do \ ${RM} $${_l}/opera-widget.png; \ cd $${_l}; \ - ${LN} -s ../mimetypes/${UNIQUENAME}-widget.png \ - $${_l}/${UNIQUENAME}-widget.png; \ + ${LN} -s ../mimetypes/${PKGBASE}-widget.png \ + $${_l}/${PKGBASE}-widget.png; \ done post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ s|%%LOCALBASE%%|${LOCALBASE}|g ; \ s|%%LINUXBASE%%|${LINUXBASE}|g' \ - ${WRKSRC}/share/${UNIQUENAME}/defaults/pluginpath.ini - @${REINPLACE_CMD} -e '/man1/s|opera|${UNIQUENAME}|g ; \ + ${WRKSRC}/share/${PKGBASE}/defaults/pluginpath.ini + @${REINPLACE_CMD} -e '/man1/s|opera|${PKGBASE}|g ; \ /man1/s|1.gz|1|g ; /man1/s|share/||g ; \ - s|bin/opera|bin/${UNIQUENAME}|g ; \ + s|bin/opera|bin/${PKGBASE}|g ; \ s|name=$$(uname -s)|name=Linux|g ; \ - s|lib/opera|lib/${UNIQUENAME}|g ; \ - s|applications/opera|applications/${UNIQUENAME}|g ; \ - s|doc/opera|doc/${UNIQUENAME}|g ; \ - /hicolor/s|/opera|/${UNIQUENAME}|g ; \ - s|packages/opera|packages/${UNIQUENAME}|g ; \ - s|share/opera|share/${UNIQUENAME}|g ; \ + s|lib/opera|lib/${PKGBASE}|g ; \ + s|applications/opera|applications/${PKGBASE}|g ; \ + s|doc/opera|doc/${PKGBASE}|g ; \ + /hicolor/s|/opera|/${PKGBASE}|g ; \ + s|packages/opera|packages/${PKGBASE}|g ; \ + s|share/opera|share/${PKGBASE}|g ; \ s|PREFIX=/usr/local|PREFIX=${PREFIX}|g ; \ - /OPERA_PERSONALDIR/s|.opera|.${UNIQUENAME}|g ; \ - s|opera)|${UNIQUENAME})|g ; \ - s|opera-widget-manager)|${UNIQUENAME}-widget-manager)|g ; \ + /OPERA_PERSONALDIR/s|.opera|.${PKGBASE}|g ; \ + s|opera)|${PKGBASE})|g ; \ + s|opera-widget-manager)|${PKGBASE}-widget-manager)|g ; \ s|^.*rmdir.*mime/packages.*||g ; \ s|^.*GX - bin/uninstall-opera@.*||g ; \ s|[$$]tempdir/damaged|${WRKSRC}/damaged|g ; \ s|PREFIX/bin/uninstall-opera|PREFIX/bin/disabled-opera|g' \ ${WRKSRC}/install @${REINPLACE_CMD} -e '/^Name/s|$$| (Linux version)|g ; \ - /Exec/s|opera|${UNIQUENAME}|g ; \ - /Icon/s|opera|${UNIQUENAME}|g ; \ - /StartupWMClass/s|opera|${UNIQUENAME}|g ; \ + /Exec/s|opera|${PKGBASE}|g ; \ + /Icon/s|opera|${PKGBASE}|g ; \ + /StartupWMClass/s|opera|${PKGBASE}|g ; \ s|TryExec=.*||g ; /^$$/d' \ ${WRKSRC}/share/applications/*.desktop - @${REINPLACE_CMD} -e 's|lib/opera|lib/${UNIQUENAME}|g ; \ - s|doc/opera|doc/${UNIQUENAME}|g ; \ - s|share/opera|share/${UNIQUENAME}|g ; \ - s|opera-widget-manager|${UNIQUENAME}-widget-manager|g ; \ - s|opera (1)|${UNIQUENAME} (1)|g ; \ - s|\.opera@@|\.${UNIQUENAME}@@|g ; \ - s|B opera@@|B ${UNIQUENAME}@@|g ; \ - /standards-compliant/s|opera|${UNIQUENAME}|g' \ + @${REINPLACE_CMD} -e 's|lib/opera|lib/${PKGBASE}|g ; \ + s|doc/opera|doc/${PKGBASE}|g ; \ + s|share/opera|share/${PKGBASE}|g ; \ + s|opera-widget-manager|${PKGBASE}-widget-manager|g ; \ + s|opera (1)|${PKGBASE} (1)|g ; \ + s|\.opera@@|\.${PKGBASE}@@|g ; \ + s|B opera@@|B ${PKGBASE}@@|g ; \ + /standards-compliant/s|opera|${PKGBASE}|g' \ ${WRKSRC}/man/man1/*.1 - @${REINPLACE_CMD} -e '/ Index: head/www/mod_auth_kerb2/Makefile =================================================================== --- head/www/mod_auth_kerb2/Makefile (revision 394507) +++ head/www/mod_auth_kerb2/Makefile (revision 394508) @@ -1,46 +1,45 @@ # Created by: wollman # $FreeBSD$ PORTNAME= mod_auth_kerb PORTVERSION= 5.4 PORTREVISION= 8 CATEGORIES= www MASTER_SITES= SF/modauthkerb/${PORTNAME}/${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} PKGNAMESUFFIX= 2 MAINTAINER= apache@FreeBSD.org COMMENT= Apache module for authenticating users with Kerberos v5 LICENSE= MIT BSD3CLAUSE LICENSE_COMB= multi LICENSE_FILE_MIT= ${WRKSRC}/LICENSE LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE -LATEST_LINK= mod_auth_kerb2 PORTSCOUT= limit:^5.4 USE_APACHE= 22+ GNU_CONFIGURE= yes CONFIGURE_ARGS= -with-krb5=${GSSAPIBASEDIR} --without-krb4 OPTIONS_SINGLE= GSSAPI OPTIONS_DEFAULT= GSSAPI_BASE OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_BASE_DESC= Use Base version of GSS API GSSAPI_HEIMDAL_DESC= Use Heimdal implementation of GSS API GSSAPI_MIT_DESC= Use MIT implementation of GSS API GSSAPI_DESC= Use Base version of GSS API GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit .include .if ${PORT_OPTIONS:MGSSAPI_BASE} && ${OSVERSION} < 903504 post-patch: ${REINPLACE_CMD} -e 's|@KRB5_LDFLAGS@|@KRB5_LDFLAGS@ -lgssapi_krb5|' \ ${WRKSRC}/Makefile.in .endif .include Index: head/www/mod_extract_forwarded/Makefile =================================================================== --- head/www/mod_extract_forwarded/Makefile (revision 394507) +++ head/www/mod_extract_forwarded/Makefile (revision 394508) @@ -1,44 +1,40 @@ # Created by: Anders Nordby # $FreeBSD$ PORTNAME= mod_extract_forwarded PORTVERSION= 2.0.2 PORTREVISION= 4 CATEGORIES= www MASTER_SITES= http://www.openinfo.co.uk/apache/ DISTNAME= extract_forwarded-${DISTVERSION} MAINTAINER= kuriyama@FreeBSD.org COMMENT= Apache module that can make proxied requests appear with client IP OPTIONS_DEFINE= YOSHFUJI YOSHFUJI_DESC= yoshfuji patch (support IPv6 addr in config, etc) #OPTIONS_DEFAULT= YOSHFUJI USE_APACHE= 22 WRKSRC= ${WRKDIR}/extract_forwarded PORTDOCS= INSTALL README PATCH_STRIP= -p1 AP_FAST_BUILD= yes AP_GENPLIST= yes -# Workaround for UNIQUENAME v.s. OptionsNG problem. -# http://lists.freebsd.org/pipermail/freebsd-ports/2012-June/075466.html -UNIQUENAME= ap22-${PORTNAME} - .include .if ${PORT_OPTIONS:MYOSHFUJI} EXTRA_PATCHES= ${FILESDIR}/extra-patch-yoshfuji .else EXTRA_PATCHES= ${FILESDIR}/extra-patch-mod_extract_forwarded.c .endif post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include Index: head/www/mod_layout22/Makefile =================================================================== --- head/www/mod_layout22/Makefile (revision 394507) +++ head/www/mod_layout22/Makefile (revision 394508) @@ -1,36 +1,35 @@ # Created by: Clement Laforet # $FreeBSD$ PORTNAME= mod_layout PORTVERSION= 5.1 PORTREVISION= 5 CATEGORIES= www MASTER_SITES= http://download.tangent.org/ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} MAINTAINER= apache@FreeBSD.org COMMENT= Apache2.2 module to wrap served pages with a header and/or footer CONFLICTS= mod_layout-3.* mod_layout-4.* PORTSCOUT= limit:^5 USE_APACHE= 22 -LATEST_LINK= mod_layout22 MAKE_ARGS+= builddir=${WRKSRC} OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e 's|@APXS_STAGE@|-S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' \ ${WRKSRC}/Makefile pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README .include Index: head/www/mod_macro22/Makefile =================================================================== --- head/www/mod_macro22/Makefile (revision 394507) +++ head/www/mod_macro22/Makefile (revision 394508) @@ -1,33 +1,32 @@ # Created by: Lukasz Wasikowski # $FreeBSD$ PORTNAME= mod_macro PORTVERSION= 1.1.11 CATEGORIES= www MASTER_SITES= http://www.cri.ensmp.fr/~coelho/mod_macro/ MAINTAINER= lukasz@wasikowski.net COMMENT= Apache 2.2.x module for use macros in config files LICENSE= mod_macro LICENSE_NAME= mod_macro license (apache with postcard request) LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept OPTIONS_DEFINE= DOCS .include USE_APACHE= 22 -LATEST_LINK= mod_macro22 AP_FAST_BUILD= yes AP_GENPLIST= yes PORTDOCS= ${PORTNAME}.html PORTSCOUT= limit:^1\.1\. post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/www/mod_myvhost/Makefile =================================================================== --- head/www/mod_myvhost/Makefile (revision 394507) +++ head/www/mod_myvhost/Makefile (revision 394508) @@ -1,62 +1,61 @@ # Created by: Olli Hauer # $FreeBSD$ PORTNAME= mod_myvhost PORTVERSION= 0.21 CATEGORIES= www MASTER_SITES= http://mod-myvhost.googlecode.com/files/ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} MAINTAINER= apache@FreeBSD.org COMMENT= Apache module for dynamically configured mass virtual hosting with php LICENSE= APACHE20 MANUAL_PACKAGE_BUILD= needs apr and apache with DBD options enabled USE_APACHE= 22+ -UNIQUENAME= ${PORTNAME} PORTDOCS= changelog.html documentation.html download.html \ index.html my.css PORTEXAMPLES= vhosts.sql httpd.conf.add OPTIONS_DEFINE= PHP_MODULE DEBUG_MODULE PHP DEBUG OPTIONS_DEFAULT= PHP_MODULE PHP_MODULE_DESC= Enable PHP DEBUG_MODULE_DESC= Enable debugging .include .if ${PORT_OPTIONS:MDEBUG_MODULE} MAKE_ENV+= WITH_DEBUG=true STRIP= # keep debug information .endif .if ${PORT_OPTIONS:MPHP_MODULE} MAKE_ENV+= WITH_PHP=true USE_PHP= yes WANT_PHP_MOD= yes .endif pre-patch: @${REINPLACE_CMD} -e "s|= apxs|= ${APXS}|" \ -e "s|= rm|= ${RM}|" -e "s|= ln|= ${LN}|" \ -e "s|= cp|= ${CP}|" ${WRKSRC}/Makefile post-patch: ${REINPLACE_CMD} -e 's|@APXS_STAGE@|-S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' \ ${WRKSRC}/Makefile pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} .include Index: head/www/mod_security/Makefile =================================================================== --- head/www/mod_security/Makefile (revision 394507) +++ head/www/mod_security/Makefile (revision 394508) @@ -1,85 +1,82 @@ # $FreeBSD$ PORTNAME= mod_security PORTVERSION= 2.9.0 CATEGORIES= www security MASTER_SITES= http://www.modsecurity.org/tarball/${PORTVERSION}/ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:S/_//:S/2//}-${PORTVERSION} MAINTAINER= walter@lifeforms.nl COMMENT= Intrusion detection and prevention engine LICENSE= APACHE20 LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre \ libapr-1.so:${PORTSDIR}/devel/apr1 \ libyajl.so:${PORTSDIR}/devel/yajl \ libcurl.so:${PORTSDIR}/ftp/curl USE_APACHE= 22+ USE_GNOME= libxml2 GNU_CONFIGURE= yes USES= perl5 pkgconfig shebangfix SHEBANG_FILES= tools/rules-updater.pl.in mlogc/mlogc-batch-load.pl.in perl_OLD_CMD= @PERL@ AP_INC= ${LOCALBASE}/include/libxml2 AP_LIB= ${LOCALBASE}/lib MODULENAME= mod_security2 SRC_FILE= *.c PORTDOCS= * DOCSDIR= ${PREFIX}/share/doc/${MODULENAME} SUB_FILES+= pkg-message SUB_FILES+= README SUB_LIST+= APACHEETCDIR="${APACHEETCDIR}" SUB_LIST+= APACHEMODDIR="${APACHEMODDIR}" PLIST_SUB+= APXS="${APXS}" PLIST_SUB+= APACHEMODDIR="${APACHEMODDIR}" OPTIONS_DEFINE= DOCS FUZZYHASH LUA MLOGC OPTIONS_SUB= yes LUA_CONFIGURE_ON= --with-lua=${LOCALBASE} LUA_CONFIGURE_OFF+= --without-lua LUA_USES= lua:51 MLOGC_DESC= Build ModSecurity Log Collector MLOGC_CONFIGURE_ON= --disable-errors MLOGC_CONFIGURE_OFF= --disable-mlogc FUZZYHASH_DESC= Allow matching contents using fuzzy hashes with ssdeep FUZZYHASH_CONFIGURE_ON= --with-ssdeep=${LOCALBASE} FUZZYHASH_CONFIGURE_OFF=--without-ssdeep FUZZYHASH_LIB_DEPENDS= libfuzzy.so:${PORTSDIR}/security/ssdeep ETCDIR= ${PREFIX}/etc/modsecurity -# ap2x- prefix OPTIONSFILE fix -OPTIONSFILE= ${PORT_DBDIR}/www_mod_security/options - REINPLACE_ARGS= -i "" AP_EXTRAS+= -DWITH_LIBXML2 CONFIGURE_ARGS+=--with-apxs=${APXS} --with-pcre=${LOCALBASE} --with-yajl=${LOCALBASE} --with-curl=${LOCALBASE} post-patch: @${REINPLACE_CMD} -e "s/lua5.1/lua-${LUA_VER}/g" ${WRKSRC}/configure pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/modsecurity.conf-recommended \ ${STAGEDIR}${ETCDIR}/modsecurity.conf.sample ${INSTALL_DATA} ${WRKSRC}/unicode.mapping \ ${STAGEDIR}${ETCDIR}/unicode.mapping @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKDIR}/README ${STAGEDIR}${DOCSDIR} .include Index: head/www/p5-Apache-Clean2/Makefile =================================================================== --- head/www/p5-Apache-Clean2/Makefile (revision 394507) +++ head/www/p5-Apache-Clean2/Makefile (revision 394508) @@ -1,33 +1,31 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= Apache-Clean PORTVERSION= 2.00 DISTVERSIONSUFFIX= _7 PORTREVISION= 3 CATEGORIES= www perl5 MASTER_SITES= CPAN/Apache/GEOFF PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Mod_perl interface into HTML::Clean BUILD_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2 \ p5-HTML-Clean>=0.8:${PORTSDIR}/www/p5-HTML-Clean RUN_DEPENDS:= ${BUILD_DEPENDS} -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}2 - USES= perl5 USE_PERL5= configure USE_APACHE= 22+ DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/www/pear-HTTP_FloodControl/Makefile =================================================================== --- head/www/pear-HTTP_FloodControl/Makefile (revision 394507) +++ head/www/pear-HTTP_FloodControl/Makefile (revision 394508) @@ -1,32 +1,31 @@ # Created by: Ditesh Shashikant Gathani # $FreeBSD$ PORTNAME= HTTP_FloodControl PORTVERSION= 0.1.1 CATEGORIES= www pear MAINTAINER= ports@FreeBSD.org COMMENT= PEAR classes to detect and protect from attempts to flood a site BUILD_DEPENDS= ${PEARDIR}/HTTP.php:${PORTSDIR}/www/pear-HTTP RUN_DEPENDS= ${PEARDIR}/HTTP.php:${PORTSDIR}/www/pear-HTTP -LATEST_LINK= pear-HTTP_FloodControl DOCS= README LICENSE OPTIONS_DEFINE= PEAR_DB PEAR_MDB PEAR_MDB2 PEAR_DB_DESC= PEAR::DB support PEAR_MDB_DESC= PEAR::MDB support PEAR_MDB2_DESC= PEAR::MDB2 support USES= pear PEAR_DB_RUN_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB PEAR_MDB_RUN_DEPENDS= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB PEAR_MDB2_RUN_DEPENDS= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2 post-extract: ${MKDIR} ${WRKSRC}/docs ${MV} ${WRKSRC}/README ${WRKSRC}/LICENSE ${WRKSRC}/docs ${MV} ${WRKDIR}/package2.xml ${WRKDIR}/package.xml .include Index: head/www/pelican/Makefile =================================================================== --- head/www/pelican/Makefile (revision 394507) +++ head/www/pelican/Makefile (revision 394508) @@ -1,43 +1,42 @@ # Created by: Julien Laffaye # $FreeBSD$ PORTNAME= pelican PORTVERSION= 3.6.3 CATEGORIES= www textproc MASTER_SITES= CHEESESHOP MAINTAINER= jlaffaye@FreeBSD.org COMMENT= Static site generator written in Python LICENSE= GPLv3 RUN_DEPENDS= rst2html:${PORTSDIR}/textproc/py-docutils \ ${PYTHON_PKGNAMEPREFIX}markdown>0:${PORTSDIR}/textproc/py-markdown \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:${PORTSDIR}/devel/py-Jinja2 \ ${PYTHON_PKGNAMEPREFIX}pygments>=1.4:${PORTSDIR}/textproc/py-pygments \ ${PYTHON_PKGNAMEPREFIX}feedgenerator>=1.6:${PORTSDIR}/www/py-feedgenerator \ ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \ ${PYTHON_PKGNAMEPREFIX}blinker>0:${PORTSDIR}/devel/py-blinker \ ${PYTHON_PKGNAMEPREFIX}unidecode>0:${PORTSDIR}/converters/py-unidecode \ ${PYTHON_PKGNAMEPREFIX}six>=1.4:${PORTSDIR}/devel/py-six \ ${PYTHON_PKGNAMEPREFIX}dateutil>0:${PORTSDIR}/devel/py-dateutil TEST_DEPENDS:= ${RUN_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \ OPTIONS_DEFINE= TEST -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options .include USES=python USE_PYTHON=autoplist distutils .if ${PORT_OPTIONS:MTEST} BUILD_DEPENDS:= ${TEST_DEPENDS} .endif regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include Index: head/www/py-cssselect/Makefile =================================================================== --- head/www/py-cssselect/Makefile (revision 394507) +++ head/www/py-cssselect/Makefile (revision 394508) @@ -1,37 +1,36 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= cssselect PORTVERSION= 0.9.1 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Cssselect parses CSS3 Selectors and translates them to XPath 1.0 LICENSE= BSD3CLAUSE OPTIONS_DEFINE= DOCS -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options USES= python USE_PYTHON= distutils autoplist .include .if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} SPHINX_BUILD= sphinx-build post-install:: ${SETENV} PYTHONPATH="${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}" \ ${SPHINX_BUILD} -N -a -b html ${WRKSRC}/docs ${WRKSRC}/docs.html @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs.html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -path *doctrees*") .endif .include Index: head/www/py-cssutils/Makefile =================================================================== --- head/www/py-cssutils/Makefile (revision 394507) +++ head/www/py-cssutils/Makefile (revision 394508) @@ -1,30 +1,29 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= cssutils PORTVERSION= 1.0 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= CSS Cascading Style Sheets library for Python LICENSE= LGPL3 OPTIONS_DEFINE= EXAMPLES -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options USE_PYTHON= autoplist distutils USES= python zip EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTEXAMPLES= * post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/ .include Index: head/www/py-django-cms/Makefile =================================================================== --- head/www/py-django-cms/Makefile (revision 394507) +++ head/www/py-django-cms/Makefile (revision 394508) @@ -1,35 +1,34 @@ # Created by: Matthew X. Economou # $FreeBSD$ PORTNAME= django-cms PORTVERSION= 2.4.1 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= xenophon+fbsdports@irtnog.org COMMENT= Content management system built with the Django framework LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}south>=0.7.3:${PORTSDIR}/databases/py-south \ ${PYTHON_PKGNAMEPREFIX}django>=1.4:${PORTSDIR}/www/py-django \ ${PYTHON_PKGNAMEPREFIX}django-classy-tags>=0.3.4.1:${PORTSDIR}/www/py-django-classy-tags \ ${PYTHON_PKGNAMEPREFIX}django-mptt>=0.5.2:${PORTSDIR}/www/py-django-mptt \ ${PYTHON_PKGNAMEPREFIX}django-sekizai>=0.6.1:${PORTSDIR}/www/py-django-sekizai \ ${PYTHON_PKGNAMEPREFIX}html5lib>=0.90:${PORTSDIR}/www/py-html5lib USES= python:2 USE_PYTHON= autoplist distutils -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options OPTIONS_MULTI= DATABASE OPTIONS_DEFAULT=SQLITE OPTIONS_MULTI_DATABASE=MYSQL PGSQL SQLITE MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:${PORTSDIR}/databases/py-psycopg2 SQLIE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 .include Index: head/www/py-django-photologue/Makefile =================================================================== --- head/www/py-django-photologue/Makefile (revision 394507) +++ head/www/py-django-photologue/Makefile (revision 394508) @@ -1,28 +1,27 @@ # Created by: Kevin Golding # $FreeBSD$ PORTNAME= django-photologue PORTVERSION= 2.6.1 PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@caomhin.org COMMENT= Reusable gallery application for Django LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django \ ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow USES= python zip USE_PYTHON= autoplist distutils -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= TAGGING OPTIONS_DEFAULT= TAGGING TAGGING_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/tagging/models.py:${PORTSDIR}/www/py-django-tagging .include Index: head/www/py-qp/Makefile =================================================================== --- head/www/py-qp/Makefile (revision 394507) +++ head/www/py-qp/Makefile (revision 394508) @@ -1,38 +1,37 @@ # Created by: Dryice Liu # $FreeBSD$ PORTNAME= qp PORTVERSION= 2.2 PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= http://www.mems-exchange.org/software/qp/ \ LOCAL/sunpoet PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python web framework to use qpy and durus together BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}durus>=0:${PORTSDIR}/devel/py-durus \ ${PYTHON_PKGNAMEPREFIX}qpy>=1.7:${PORTSDIR}/www/py-qpy RUN_DEPENDS:= ${BUILD_DEPENDS} OPTIONS_DEFINE= DOCS EXAMPLES -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options USE_PYTHON= distutils USES= python:2 SUB_FILES= pkg-message PORTDOCS= CHANGES.txt LICENSE.txt README.txt PORTEXAMPLES= * post-build: @${STRIP_CMD} ${WRKSRC}/build/lib.*/qp/hub/passfd.so post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${PYTHON_CMD} setup.py install_demo_sites ${STAGEDIR}${EXAMPLESDIR}/ .include Index: head/www/py-qpy/Makefile =================================================================== --- head/www/py-qpy/Makefile (revision 394507) +++ head/www/py-qpy/Makefile (revision 394508) @@ -1,30 +1,29 @@ # Created by: Dryice Liu # $FreeBSD$ PORTNAME= qpy PORTVERSION= 1.8 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= http://www.mems-exchange.org/software/qpy/ \ LOCAL/sunpoet PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Generating safely-quoted html text from python code OPTIONS_DEFINE= DOCS -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options USE_PYTHON= autoplist distutils USES= python:2 PORTDOCS= CHANGES.txt LICENSE.txt README.txt post-build: @${STRIP_CMD} ${WRKSRC}/build/lib.*/qpy/quoted.so post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include Index: head/www/py-rhodecode/Makefile =================================================================== --- head/www/py-rhodecode/Makefile (revision 394507) +++ head/www/py-rhodecode/Makefile (revision 394508) @@ -1,63 +1,62 @@ # Created by: gugabsd # $FreeBSD$ PORTNAME= rhodecode PORTVERSION= 1.7.2 PORTREVISION= 1 CATEGORIES= www devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= RhodeCode-${PORTVERSION} MAINTAINER= wg@FreeBSD.org COMMENT= Fast and powerful management tool for Mercurial and GIT LICENSE= GPLv3 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}PasteScript>=1.6.3:${PORTSDIR}/www/py-pastescript RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pylons>=1.0:${PORTSDIR}/www/py-pylons \ ${PYTHON_PKGNAMEPREFIX}waitress>=0.8.4:${PORTSDIR}/www/py-waitress \ ${PYTHON_PKGNAMEPREFIX}webob>=1.0.8:${PORTSDIR}/www/py-webob \ ${PYTHON_PKGNAMEPREFIX}formencode>=1.2.4:${PORTSDIR}/www/py-formencode \ ${PYTHON_PKGNAMEPREFIX}webhelpers>=1.3:${PORTSDIR}/www/py-webhelpers \ ${PYTHON_PKGNAMEPREFIX}mako>=0.7.3:${PORTSDIR}/textproc/py-mako \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy>=0.7.10:${PORTSDIR}/databases/py-sqlalchemy \ ${PYTHON_PKGNAMEPREFIX}pygments>=1.5:${PORTSDIR}/textproc/py-pygments \ ${PYTHON_PKGNAMEPREFIX}whoosh>=2.4.0:${PORTSDIR}/textproc/py-whoosh \ ${PYTHON_PKGNAMEPREFIX}Babel>=0.9.6:${PORTSDIR}/devel/py-babel \ ${PYTHON_PKGNAMEPREFIX}dateutil>=1.5:${PORTSDIR}/devel/py-dateutil \ ${PYTHON_PKGNAMEPREFIX}dulwich>=0.8.7:${PORTSDIR}/devel/dulwich \ ${PYTHON_PKGNAMEPREFIX}markdown>=2.2.1:${PORTSDIR}/textproc/py-markdown \ ${PYTHON_PKGNAMEPREFIX}docutils>=0.8.1:${PORTSDIR}/textproc/py-docutils \ ${PYTHON_PKGNAMEPREFIX}mock>=0:${PORTSDIR}/devel/py-mock \ ${PYTHON_PKGNAMEPREFIX}bcrypt>=0.2:${PORTSDIR}/security/py-bcrypt \ ${PYTHON_PKGNAMEPREFIX}simplejson>=2.5.2:${PORTSDIR}/devel/py-simplejson \ ${PYTHON_PKGNAMEPREFIX}PasteScript>=1.6.3:${PORTSDIR}/www/py-pastescript \ ${PYTHON_PKGNAMEPREFIX}pytz>=0:${PORTSDIR}/devel/py-pytz \ ${PYTHON_PKGNAMEPREFIX}repoze.lru>=0:${PORTSDIR}/devel/py-repoze.lru \ ${PYTHON_PKGNAMEPREFIX}celery>=0:${PORTSDIR}/devel/py-celery \ mercurial>=2.6:${PORTSDIR}/devel/mercurial USES= python:2 USE_PYTHON= distutils autoplist USE_RC_SUBR= rhodecode SUB_FILES= pkg-message -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= LDAP GIT OPTIONS_DEFAULT= GIT GIT_DESC= GIT support .include .if ${PORT_OPTIONS:MLDAP} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ldap>=2.4.6:${PORTSDIR}/net/py-ldap .endif .if ${PORT_OPTIONS:MGIT} RUN_DEPENDS+= ${LOCALBASE}/bin/git:${PORTSDIR}/devel/git .endif .include Index: head/www/py-scrapy/Makefile =================================================================== --- head/www/py-scrapy/Makefile (revision 394507) +++ head/www/py-scrapy/Makefile (revision 394508) @@ -1,34 +1,33 @@ # Created by: Qing Feng # $FreeBSD$ PORTNAME= Scrapy PORTVERSION= 0.22.2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= skreuzer@FreeBSD.org COMMENT= High level scraping and web crawling framework LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=2.0:${PORTSDIR}/devel/py-lxml \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ ${PYTHON_PKGNAMEPREFIX}w3lib>=1.2:${PORTSDIR}/www/py-w3lib \ ${PYTHON_PKGNAMEPREFIX}cssselect>=0.9:${PORTSDIR}/www/py-cssselect \ ${PYTHON_PKGNAMEPREFIX}queuelib>=1.2.2:${PORTSDIR}/sysutils/py-queuelib USES= python:2 twisted:run,web USE_PYTHON= distutils autoplist OPTIONS_DEFINE= SSL OPTIONS_DEFAULT=SSL -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options .include .if ${PORT_OPTIONS:MSSL} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl .endif .include Index: head/www/py-turbogears/Makefile =================================================================== --- head/www/py-turbogears/Makefile (revision 394507) +++ head/www/py-turbogears/Makefile (revision 394508) @@ -1,60 +1,59 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= TurboGears PORTVERSION= 1.5.1 PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Python-Based Framework for Rapid Web Development RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cherrypy>=3.1.2:${PORTSDIR}/www/py-cherrypy \ ${PYTHON_PKGNAMEPREFIX}configobj>=4.3.2:${PORTSDIR}/devel/py-configobj \ ${PYTHON_PKGNAMEPREFIX}formencode>=1.2.1:${PORTSDIR}/www/py-formencode \ ${PYTHON_PKGNAMEPREFIX}PasteScript>=1.7:${PORTSDIR}/www/py-pastescript \ ${PYTHON_PKGNAMEPREFIX}PEAK-Rules>=0.5a1:${PORTSDIR}/devel/py-PEAK-Rules \ ${PYTHON_PKGNAMEPREFIX}simplejson>=1.9.1:${PORTSDIR}/devel/py-simplejson \ ${PYTHON_PKGNAMEPREFIX}TurboCheetah>=1.0:${PORTSDIR}/devel/py-turbocheetah \ ${PYTHON_PKGNAMEPREFIX}TurboKid>=1.0.5:${PORTSDIR}/devel/py-turbokid \ ${PYTHON_PKGNAMEPREFIX}TurboJson>=1.3:${PORTSDIR}/devel/py-turbojson \ ${PYTHON_PKGNAMEPREFIX}tgMochiKit>=1.4.2:${PORTSDIR}/devel/py-tgMochiKit \ ${PYTHON_PKGNAMEPREFIX}Genshi>=0.4.4:${PORTSDIR}/textproc/py-genshi \ ${PYTHON_PKGNAMEPREFIX}TGScheduler>0:${PORTSDIR}/devel/py-TGScheduler USES= gettext python:2 USE_PYTHON= distutils autoplist -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= ELIXIR NOSE SQLOBJECT SQLALCHEMY OPTIONS_DEFAULT=SQLOBJECT ELIXIR_DESC= Use Elixir as plugin NOSE_DESC= Use nose TG[testtools] SQLOBJECT_DESC= Use SQLObject as DB backend SQLALCHEMY_DESC=Use SQLAlchemy as DB backend TG[future] .include post-patch: @${REINPLACE_CMD} -e 's,< 2.0a,!=2.0,g' ${WRKSRC}/setup.py \ ${WRKSRC}/TurboGears.egg-info/requires.txt .if ${PORT_OPTIONS:MELIXIR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Elixir>=0.6.1:${PORTSDIR}/databases/py-Elixir .endif .if ${PORT_OPTIONS:MNOSE} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}nose>=0.9.1:${PORTSDIR}/devel/py-nose .endif .if ${PORT_OPTIONS:MSQLOBJECT} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlobject>=0.10.1:${PORTSDIR}/databases/py-sqlobject .endif .if ${PORT_OPTIONS:MSQLALCHEMY} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlalchemy06>=0.3.4:${PORTSDIR}/databases/py-sqlalchemy06 .endif .include Index: head/www/py-urlgrabber/Makefile =================================================================== --- head/www/py-urlgrabber/Makefile (revision 394507) +++ head/www/py-urlgrabber/Makefile (revision 394508) @@ -1,38 +1,37 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= urlgrabber PORTVERSION= 3.9.1 PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= http://urlgrabber.baseurl.org/download/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= High-level cross-protocol url-grabber LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PKGNAMEPREFIX}curl>=7.19.0_1:${PORTSDIR}/ftp/py-curl RUN_DEPENDS= ${PKGNAMEPREFIX}curl>=7.19.0_1:${PORTSDIR}/ftp/py-curl USES= python USE_PYTHON= distutils REINPLACE_ARGS= -i.bak -e 's,%%DOCSDIR%%,${DOCSDIR},' DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= DOCS .include .if ${PORT_OPTIONS:MDOCS} MAKE_ENV= INSTALL_DOCS=yes .endif post-patch: ${REINPLACE_CMD} ${WRKSRC}/${PYSETUP} .include Index: head/www/py-ws4py/Makefile =================================================================== --- head/www/py-ws4py/Makefile (revision 394507) +++ head/www/py-ws4py/Makefile (revision 394508) @@ -1,51 +1,50 @@ # Created by: rene@FreeBSD.org # $FreeBSD$ PORTNAME= ws4py PORTVERSION= 0.3.4 CATEGORIES= www python MASTER_SITES= http://www.defuze.org/oss/${PORTNAME}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rene@FreeBSD.org COMMENT= WebSocket package for Python LICENSE= BSD3CLAUSE USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= CHERRYPY GEVENT TORNADO OPTIONS_DEFAULT= CHERRYPY GEVENT CHERRYPY_DESC= CherryPy server support GEVENT_DESC= gevent-based client/server support TORNADO_DESC= Tornado client support CHERRYPY_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cherrypy>=3.2.2:${PORTSDIR}/www/py-cherrypy GEVENT_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gevent>=0.13.8:${PORTSDIR}/devel/py-gevent TORNADO_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tornado>=3.1:${PORTSDIR}/www/py-tornado .include # Do not install files which will not work post-patch: .if ! ${PORT_OPTIONS:MCHERRYPY} .for f in test/test_cherrypy.py ws4py/server/cherrypyserver.py ${RM} ${WRKSRC}/${f} .endfor .endif .if ! ${PORT_OPTIONS:MGEVENT} .for f in ws4py/client/geventclient.py ws4py/server/geventserver.py ${RM} ${WRKSRC}/${f} .endfor .endif .if ! ${PORT_OPTIONS:MTORNADO} .for f in ws4py/client/tornadoclient.py ${RM} ${WRKSRC}/${f} .endfor .endif .include Index: head/www/rubygem-rails/Makefile =================================================================== --- head/www/rubygem-rails/Makefile (revision 394507) +++ head/www/rubygem-rails/Makefile (revision 394508) @@ -1,65 +1,64 @@ # Created by: Jonathan Weiss () # $FreeBSD$ PORTNAME= rails PORTVERSION= 3.2.22 CATEGORIES= www rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= MVC web application framework LICENSE= MIT RUN_DEPENDS= rubygem-actionmailer>=${PORTVERSION}:${PORTSDIR}/mail/rubygem-actionmailer \ rubygem-actionpack>=${PORTVERSION}:${PORTSDIR}/www/rubygem-actionpack \ rubygem-activerecord>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activerecord \ rubygem-activeresource>=${PORTVERSION}:${PORTSDIR}/www/rubygem-activeresource \ rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport \ rubygem-bundler>=1.0:${PORTSDIR}/sysutils/rubygem-bundler \ rubygem-railties>=${PORTVERSION}:${PORTSDIR}/www/rubygem-railties \ rubygem-builder>=3.0.4:${PORTSDIR}/devel/rubygem-builder \ rubygem-coffee-rails>=3.2.2:${PORTSDIR}/devel/rubygem-coffee-rails \ rubygem-i18n>=0.6.1:${PORTSDIR}/devel/rubygem-i18n \ rubygem-jquery-rails>=3.1.0:${PORTSDIR}/www/rubygem-jquery-rails \ rubygem-json>=1.7.6:${PORTSDIR}/devel/rubygem-json \ rubygem-sprockets22>=2.2.2:${PORTSDIR}/devel/rubygem-sprockets22 \ rubygem-rack>=1.4.4:${PORTSDIR}/www/rubygem-rack \ rubygem-rdoc3>=3.4:${PORTSDIR}/devel/rubygem-rdoc3 \ rubygem-rack-test>=0.6.1:${PORTSDIR}/www/rubygem-rack-test \ rubygem-rake>=10.1.1:${PORTSDIR}/devel/rubygem-rake \ rubygem-sass-rails>=3.2.6:${PORTSDIR}/textproc/rubygem-sass-rails \ rubygem-sqlite3>=1.3.9:${PORTSDIR}/databases/rubygem-sqlite3 \ rubygem-treetop>=1.4.15:${PORTSDIR}/devel/rubygem-treetop \ rubygem-turn>=0.8.3:${PORTSDIR}/devel/rubygem-turn \ rubygem-tzinfo03>=0.3.39:${PORTSDIR}/devel/rubygem-tzinfo03 \ rubygem-uglifier>=2.5.0:${PORTSDIR}/www/rubygem-uglifier # XXX: rails3 gem no longer has a lib/ dir # XXX: which breaks devel/ruby-gems specification. # XXX: and thus rdoc NOPORTDOCS= yes NO_ARCH= yes USE_RUBY= yes USE_RUBY_RDOC= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes PLIST_DIRS= ${GEM_LIB_DIR} USES= cpe CPE_VENDOR= rubyonrails CPE_PRODUCT= ruby_on_rails OPTIONS_DEFINE= PASSENGER MEMCACHE_CLIENT PASSENGER_DESC= Passenger backend MEMCACHE_CLIENT_DESC= MemCache-Client support -OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options MEMCACHE_CLIENT_RUN_DEPENDS= rubygem-memcache-client>=1.2.0:${PORTSDIR}/databases/rubygem-memcache-client PASSENGER_RUN_DEPENDS= rubygem-passenger>=2.2.15:${PORTSDIR}/www/rubygem-passenger .include Index: head/www/rubygem-rails4/Makefile =================================================================== --- head/www/rubygem-rails4/Makefile (revision 394507) +++ head/www/rubygem-rails4/Makefile (revision 394508) @@ -1,62 +1,61 @@ # Created by: Johannes Meixner # $FreeBSD$ PORTNAME= rails PORTVERSION= 4.2.3 CATEGORIES= www rubygems MASTER_SITES= RG PKGNAMESUFFIX= 4 MAINTAINER= ruby@FreeBSD.org COMMENT= MVC web application framework LICENSE= MIT RUN_DEPENDS= rubygem-actionmailer4>=${PORTVERSION}:${PORTSDIR}/mail/rubygem-actionmailer4 \ rubygem-actionpack4>=${PORTVERSION}:${PORTSDIR}/www/rubygem-actionpack4 \ rubygem-actionview>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-actionview \ rubygem-activejob>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activejob \ rubygem-activemodel4>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activemodel4 \ rubygem-activerecord4>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activerecord4 \ rubygem-activeresource4>=4.0.0:${PORTSDIR}/www/rubygem-activeresource4 \ rubygem-activesupport4>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport4 \ rubygem-builder32>=3.2.2:${PORTSDIR}/devel/rubygem-builder32 \ rubygem-bundler>=1.3.0:${PORTSDIR}/sysutils/rubygem-bundler \ rubygem-byebug>=5.0.0:${PORTSDIR}/devel/rubygem-byebug \ rubygem-coffee-rails4>=4.0.1:${PORTSDIR}/devel/rubygem-coffee-rails4 \ rubygem-execjs>=2.2.1:${PORTSDIR}/devel/rubygem-execjs \ rubygem-jbuilder>=2.1.3:${PORTSDIR}/devel/rubygem-jbuilder \ rubygem-jquery-rails4>=3.1.2:${PORTSDIR}/www/rubygem-jquery-rails4 \ rubygem-railties4>=${PORTVERSION}:${PORTSDIR}/www/rubygem-railties4 \ rubygem-rake>=10.1.1:${PORTSDIR}/devel/rubygem-rake \ rubygem-rdoc>=4.0.2:${PORTSDIR}/devel/rubygem-rdoc \ rubygem-sass>=3.4.1:${PORTSDIR}/textproc/rubygem-sass \ rubygem-sass-rails5>=5.0.3:${PORTSDIR}/textproc/rubygem-sass-rails5 \ rubygem-sdoc>=0.4.1:${PORTSDIR}/devel/rubygem-sdoc \ rubygem-spring>=1.1.3:${PORTSDIR}/devel/rubygem-spring \ rubygem-sqlite3>=1.3.9:${PORTSDIR}/databases/rubygem-sqlite3 \ rubygem-sprockets3>=3.0.3:${PORTSDIR}/devel/rubygem-sprockets3 \ rubygem-sprockets-rails>=2.0:${PORTSDIR}/devel/rubygem-sprockets-rails \ rubygem-thread_safe>=0.3.4:${PORTSDIR}/devel/rubygem-thread_safe \ rubygem-turbolinks>=2.3.0:${PORTSDIR}/www/rubygem-turbolinks \ rubygem-uglifier>=2.5.0:${PORTSDIR}/www/rubygem-uglifier \ rubygem-web-console>=2.1.2:${PORTSDIR}/devel/rubygem-web-console NO_ARCH= yes USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes USES= cpe CPE_VENDOR= rubyonrails CPE_PRODUCT= ruby_on_rails OPTIONS_DEFINE= PASSENGER MEMCACHE_CLIENT PASSENGER_DESC= Passenger backend MEMCACHE_CLIENT_DESC= MemCache-Client support -OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options MEMCACHE_CLIENT_RUN_DEPENDS= rubygem-memcache-client>=1.2.0:${PORTSDIR}/databases/rubygem-memcache-client PASSENGER_RUN_DEPENDS= rubygem-passenger>=2.2.15:${PORTSDIR}/www/rubygem-passenger .include Index: head/www/tdiary/Makefile =================================================================== --- head/www/tdiary/Makefile (revision 394507) +++ head/www/tdiary/Makefile (revision 394508) @@ -1,109 +1,109 @@ # Created by: Fumihiko Kimura # $FreeBSD$ PORTNAME= tdiary PORTVERSION= 4.0.5 CATEGORIES?= www ruby MASTER_SITES= http://www.tdiary.org/download/ DISTNAME= ${PORTNAME}-full-v${PORTVERSION} MAINTAINER= tota@FreeBSD.org COMMENT= Web-based diary system (like weblog) written in Ruby LICENSE= GPLv2 RUN_DEPENDS= rubygem-fastimage>=1.6.3:${PORTSDIR}/graphics/rubygem-fastimage \ rubygem-hikidoc>=0.1.0:${PORTSDIR}/textproc/rubygem-hikidoc \ rubygem-multi_json>=1.10.1:${PORTSDIR}/devel/rubygem-multi_json \ rubygem-rack>=0:${PORTSDIR}/www/rubygem-rack NO_BUILD= yes USE_RUBY= yes RUBY_SHEBANG_FILES= index.fcgi \ index.rb \ update.fcgi \ update.rb \ bin/tdiary \ misc/convert2.rb \ misc/migrate.rb \ misc/plugin/amazon/amazonimg.rb \ misc/plugin/squeeze.rb \ misc/plugin/xmlrpc/xmlrpc.rb DOCFILES= HOWTO-authenticate-in-rack HOWTO-make-io \ HOWTO-make-plugin HOWTO-make-theme \ HOWTO-testing-tDiary HOWTO-use-plugin \ HOWTO-write-tDiary.en HOWTO-write-tDiary \ INSTALL-paas INSTALL README.en \ README UPGRADE HTML= ${DOCFILES:S/$/.html/} MD= ${DOCFILES:S/$/.md/} PORTDOCS= ChangeLog doc.css ${HTML} ${MD} PLIST_SUB= TDIARY_SCRIPT=${TDIARY_SCRIPT} \ WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} SUB_FILES= pkg-message tdiaryinst.rb SUB_LIST+= TDIARY_LANG=${TDIARY_LANG} \ TDIARY_SCRIPT=${TDIARY_SCRIPT} WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}.1 -DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} -WWWDIR= ${PREFIX}/www/${UNIQUENAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} +WWWDIR= ${PREFIX}/www/${PKGBASE} -TDIARY_SCRIPT= ${UNIQUENAME}-inst.rb +TDIARY_SCRIPT= ${PKGBASE}-inst.rb #TDIARY_LANG ja:Japanese en:English .if !defined(TDIARY_LANG) || ( defined(TDIARY_LANG) && ${TDIARY_LANG} != ja ) TDIARY_LANG= en .endif REINPLACE_ARGS= -i '' OPTIONS_DEFINE= DOCS pre-patch: @${RM} ${WRKSRC}/.coveralls.yml @${RM} ${WRKSRC}/.gitignore @${RM} ${WRKSRC}/.travis.yml @${RM} ${WRKSRC}/Gemfile @${RM} ${WRKSRC}/Gemfile.lock @${RM} ${WRKSRC}/LICENSE @${RM} ${WRKSRC}/Procfile @${RM} ${WRKSRC}/Rakefile @${RM} ${WRKSRC}/config.ru @${RM} ${WRKSRC}/tdiary.gemspec @${RM} ${WRKSRC}/tmp/.gitkeep @${RM} -rf ${WRKSRC}/.bundle @${RM} -r ${WRKSRC}/misc/lib/bundler-1.7.2 @${RM} -r ${WRKSRC}/public @${RM} -r ${WRKSRC}/spec @${RM} -r ${WRKSRC}/test @${RM} -r ${WRKSRC}/vendor @${MV} ${WRKSRC}/ChangeLog ${WRKSRC}/doc @${MV} ${WRKSRC}/README.md ${WRKSRC}/doc post-patch: @${RUBY} -i -pe "sub %r|(.*< ::Rack::Request)|, %Q|\trequire 'rack'\n\\\1|" ${WRKSRC}/tdiary/request.rb pre-install: @${SED} -e 's,#!/usr/bin/env ruby,#!${RUBY},' \ ${WRKDIR}/tdiaryinst.rb > ${WRKDIR}/${TDIARY_SCRIPT} @${REINPLACE_CMD} '/#!\/usr\/bin\/env ruby/d' ${WRKSRC}/misc/convert2.rb @${REINPLACE_CMD} '/#!\/usr\/bin\/env ruby/d' ${WRKSRC}/misc/migrate.rb do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${TDIARY_SCRIPT} ${STAGEDIR}${PREFIX}/bin @-${MKDIR} ${STAGEDIR}${WWWDIR} ${TAR} --exclude "doc" -C ${WRKSRC} -cf - . | ${TAR} --unlink -C ${STAGEDIR}${WWWDIR} -xf - @${INSTALL} -d ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} x-generate-plist: stage ${ECHO_CMD} bin/%%TDIARY_SCRIPT%% > pkg-plist.new ${FIND} ${STAGEDIR}${WWWDIR} -type f -o -type l | ${SORT} | ${SED} -e 's,${STAGEDIR}${WWWDIR},%%WWWDIR%%,g' >> pkg-plist.new ${FIND} ${STAGEDIR}${WWWDIR} -type d -depth | ${SORT} -r | ${SED} -e 's,${STAGEDIR}${WWWDIR},@dirrm %%WWWDIR%%,g' >> pkg-plist.new ${ECHO_CMD} @exec mkdir -p %D/%%WWWDIR%%/tmp >> pkg-plist.new ${ECHO_CMD} @exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%WWWDIR%% >> pkg-plist.new .include Index: head/www/xpi-adblock/Makefile.xpi =================================================================== --- head/www/xpi-adblock/Makefile.xpi (revision 394507) +++ head/www/xpi-adblock/Makefile.xpi (revision 394508) @@ -1,218 +1,216 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ # XPI_ID - Extension id, might be in {12345-...} or dev@org format # XPI_NUM - Extension number, as in addons.cdn.mozilla.net URL # XPI_FILES - List of files in xpi archive. This is used to produce # PLIST_FILES. XPI_FILES can be generated by xpi-gen, but be # sure to put chrome.manifest in ${FILESDIR} before that if you # need it. # XPI_DISTNAME - The name of distribution # Default: ${PORTNAME} # PORTNAME, PORTVERSION, DISTVERSIONSUFFIX, CATEGORIES, MAINTAINER, COMMENT # - These should all be set manually for port to be functional. See # ${PORTSDIR}/Mk/bsd.port.mk for details. # MASTER_SITES - This should be set if port is unavailable at the default site. # Default (defined below): # MOZILLA_ADDONS/addons/${XPI_NUM} # or # MOZILLA_ADDONS/extensions/${XPI_DISTNAME} -# LATEST_LINK - Default: ${PKGBASE:S/_//g} # XPI_LIBDIR - Name of the directory to install extensions in. # Default: ${PREFIX}/lib/xpi # XPI_XPIDIR - Name of the directory to install extension's files in. # Default: ${XPI_LIBDIR}/${XPI_ID} # USE_XPI - If set, the port installs one or more xpi extensions. # If this is set to a list of apps (wildcards possible) the # extensions will be installed for them only. # WITH_XPI - A user-tunable variable, determines which apps should # extension be made available for. Can be set to a list of # apps, same as USE_XPI, and/or to "ext:app[,app,app,...]" tuples. # ext should be a portname. If ext starts and ends with a slash # (`/'), it is treated as an extended regular expression (see # re_format(7)). Right of the colon should be a list of apps in # the same format as USE_XPI, but comma- instead of whitespace- # delimited. If no matching tuples for an extension are found, # WITH_XPI is scanned for non tuple-records which are then treated # as a USE_XPI list. If several tuples match, the last non-regexp # one takes precedence, then the last regexp one. # # This Makefile is a beta-version of the new xpi infrastructure. It currently # supports Gecko 1.8+ (Firefox 1.5+). Support for Gecko 1.7x (and Seamonkey 1.0) # may be merged later from Thierry Thomas works. # # A new xpi will require a PORTNAME, PORTVERSION, DISTVERSIONSUFFIX and # CATEGORIES. In case it is not published on the mozilla.org sites, MASTER_SITES # can be redefined. XPI_* vars will also need to be defined manually, which helps # keep the infrastructure simpler. # # Gecko 1.8 xpi engine tries to detect various compatibility issues all by itself. # Thus, xpi's are installed into ${LOCALBASE}/lib/xpi/${XPI_ID} by default and # links are made to all apps which have the engine (firefox, thunderbird, sunbird # thunderbird3, seamonkey and flock at the moment). relink and relink-all targets # can be invoked to refarm the links of a single extensions or all installed # extensions accordingly. # # In case an xpi does not have chrome.manifest, it should be generated manually by # a maintainer and placed in files, where it will be noticed. # # xpi ports do not depend on their master applications. You can install an # extension before the app and run relink when the app is present. .ifndef MASTER_SITES .ifdef XPI_NUM MASTER_SITES?= MOZILLA_ADDONS/addons/${XPI_NUM} .else MASTER_SITES?= MOZILLA_ADDONS/extensions/${XPI_DISTNAME} .endif .endif PKGNAMEPREFIX?= xpi- EXTRACT_SUFX?= .xpi DISTNAME?= ${XPI_DISTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} DIST_SUBDIR?= xpi -LATEST_LINK?= ${PKGBASE:S/_//g} NO_BUILD= yes USES+= zip:infozip EXTRACT_AFTER_ARGS= -d ${WRKSRC} XPI_DISTNAME?= ${PORTNAME} XPI_APPS_ALL_WC= *firefox* *thunderbird* *seamonkey* XPI_APPS_ALL= firefox linux-firefox thunderbird linux-thunderbird \ seamonkey linux-seamonkey # kompozer linux-kompozer # Other apps: mango # === Let's process WITH_XPI into WITH_XPI_APPS WITH_XPI_TUPLES= ${WITH_XPI:M*?\:?*} WITH_XPI_NTUPLES= ${WITH_XPI:N*\:*} WITH_XPI_TUPLES_RX= ${WITH_XPI_TUPLES:M/*?*/\:?*} WITH_XPI_TUPLES_WC= ${WITH_XPI_TUPLES:N/*?*/\:?*} WITH_XPI_MATCH?= ${PORTNAME} WITH_XPI_MATCHSTRING?= _=~match~=_ .for tuple_rx in ${WITH_XPI_TUPLES_RX} _rx= ${tuple_rx:C!/(.*)/\:.*!\1!} _apps= ${tuple_rx:C!/.*/\:(.*)!\1!} _testrx=${WITH_XPI_MATCH:C!.*${_rx}.*!${WITH_XPI_MATCHSTRING}!} .if ${_testrx} == ${WITH_XPI_MATCHSTRING} WITH_XPI_APPS:= ${_apps:S/,/ /g} .endif .endfor .for tuple_wc in ${WITH_XPI_TUPLES_WC} _wc= ${tuple_wc:C!(.*)\:.*!\1!} _apps= ${tuple_wc:C!.*\:(.*)!\1!} .if ${_wc} == ${WITH_XPI_MATCH} WITH_XPI_APPS:= ${_apps:S/,/ /g} .endif .endfor .if ${WITH_XPI_NTUPLES} WITH_XPI_APPS?= ${WITH_XPI_NTUPLES} .endif # === WITH_XPI has been processed .ifdef WITH_XPI_APPS USE_XPI= ${WITH_XPI_APPS} .endif .if !defined(USE_XPI) || ${USE_XPI:tu} == "YES" || ${USE_XPI} == "*" USE_XPI= ${XPI_APPS_ALL_WC} .endif .if !defined(XPI_APPS) .for xpi in ${USE_XPI} _xpi:= ${xpi} .if ${_xpi:M*firefox*} XPI_APPS+= ${LOCALBASE}/lib/${xpi}/browser/extensions .else XPI_APPS+= ${LOCALBASE}/lib/${xpi}/extensions .endif .endfor .endif XPI_SLDIRS_ALL= ${XPI_APPS_ALL:S.^.${XPI_SLDIR}/.} XPI_SLDIRS= ${USE_XPI:S.^.${XPI_SLDIR}/.} XPI_LINKFARMS= ${XPI_APPS} ${XPI_SLDIRS} XPI_LIBDIR?= ${PREFIX}/lib/xpi XPI_SLDIR?= ${XPI_LIBDIR}/symlinks .ifndef XPI_DISTNAMES XPI_XPIDIR?= ${XPI_LIBDIR}/${XPI_ID} .endif PLIST_SUB+= XPI_LIBDIR="${XPI_LIBDIR:S,^${PREFIX}/,,}" \ XPI_XPIDIR="${XPI_XPIDIR:S,^${PREFIX}/,,}" _TD= ${XPI_XPIDIR:S,^${PREFIX}/,,} _TD_FULL= ${XPI_XPIDIR} _A= >> ${TMPPLIST} _Q= 2>/dev/null || true PLIST_FILES+= ${XPI_FILES:S!^!${_TD}/!} PLIST_DIRS+= ${XPI_DIRS:S!^!${_TD}/!} .for dist in ${XPI_DISTNAMES} XPI_XPIDIR_${dist}= ${XPI_LIBDIR}/${XPI_ID_${dist}} _TD_${dist}= ${XPI_XPIDIR_${dist}:S,^${PREFIX}/,,} PLIST_FILES+= ${XPI_FILES_${dist}:S!^!${_TD_${dist}}/!} .endfor .if !target(do-install) do-install: @${MKDIR} ${STAGEDIR}${_TD_FULL} ${XPI_SLDIRS_ALL:S/^/${STAGEDIR}/} @cd ${WRKSRC}; ${PAX} -rw . ${STAGEDIR}${_TD_FULL}/ @if [ -d ${FILESDIR} -a -f ${FILESDIR}/chrome.manifest ] ; \ then ${INSTALL_DATA} ${FILESDIR}/chrome.manifest ${STAGEDIR}${_TD_FULL}/ ; fi @${CHMOD} -R a+rX,go-w ${STAGEDIR}${_TD_FULL}/ @for sldir in ${XPI_SLDIRS_ALL}; do \ ${ECHO_CMD} "@dir $${sldir}" ${_A}; \ done @${ECHO_CMD} '@exec for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${_TD_FULL} $$_dir/ ${_Q}; }' ${_A} @${ECHO_CMD} '@unexec for _dir in ${XPI_LINKFARMS} ; { ${RM} -f $$_dir/${XPI_ID} ; }' ${_A} .endif .if !target(relink) relink: @-for _app in ${XPI_APPS} ; { ${LN} -sf ${_TD_FULL} $$_app ${_Q} ; } .endif .if !target(relink-all) relink-all: @-for _app in ${XPI_APPS} ; { for _xpi in ${XPI_LIBDIR}/*[\{@]* ; { \ ${LN} -sf $$_xpi $$_app ${_Q} ; } ; } .endif .if !target(xpi-post-extract) xpi-post-extract: .endif post-extract: xpi-post-extract @${RM} -rf ${WRKSRC}/META-INF # Maintainer section xpi-gen: extract @${ECHO_CMD} -n 'XPI_ID=' @${SED} -En '/<(RDF:)?Description (RDF:)?about="urn:mozilla:install-manifest"/,/>/p' ${WRKSRC}/install.rdf | \ ${GREP} -Em1 'em:id|' | ${CUT} -f2- -d\> | \ ${CUT} -f1 -d\< | ${CUT} -f2 -d\" @${ECHO_CMD} -n 'XPI_FILES=' @cd ${WRKSRC} && ${FIND} -s . -not -type d | cut -f2- -d/ | ${TR} '\n' ' ' @if [ -d ${FILESDIR} -a -f ${FILESDIR}/chrome.manifest ] ; \ then ${ECHO_CMD} chrome.manifest ; fi @${ECHO_CMD} @cd ${WRKSRC} && ${FIND} -ds . -not -name . -type d | cut -f2- -d/ | ${TR} '\n' ' ' @${ECHO_CMD} xpi-plist: extract @${FIND} -s ${WRKSRC} -not -type d | ${SED} -e "s,^${WRKSRC},%%XPI_XPIDIR%%," > ${PLIST} @if [ -d ${FILESDIR} -a -f ${FILESDIR}/chrome.manifest ] ; \ then ${ECHO_CMD} %%XPI_XPIDIR%%/chrome.manifest >> ${PLIST} ; fi xpi-pre-chrome: @${CHMOD} g+w ${_TD_FULL} @${RM} -f ${_TD_FULL}/chrome.manifest xpi-post-chrome: @${CP} -f ${_TD_FULL}/chrome.manifest ${FILESDIR}/ Index: head/x11/rsibreak-kde4/Makefile =================================================================== --- head/x11/rsibreak-kde4/Makefile (revision 394507) +++ head/x11/rsibreak-kde4/Makefile (revision 394508) @@ -1,21 +1,19 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= rsibreak DISTVERSION= 0.11 PORTREVISION= 3 CATEGORIES= x11 kde MASTER_SITES= LOCAL/crees/${PORTNAME} \ http://pkgs.fedoraproject.org/repo/pkgs/rsibreak/rsibreak-0.11.tar.bz2/d5dd540efd18900aa508eee381bcaafd/ MAINTAINER= avg@icyb.net.ua COMMENT= KDE RSI prevention tool -LATEST_LINK= ${PORTNAME}-kde4 - USES= cmake gettext tar:bzip2 USE_QT4= qmake_build moc_build rcc_build uic_build USE_KDE4= kdeprefix kdelibs automoc4 INSTALLS_ICONS= yes .include Index: head/x11-toolkits/py-gui/Makefile =================================================================== --- head/x11-toolkits/py-gui/Makefile (revision 394507) +++ head/x11-toolkits/py-gui/Makefile (revision 394508) @@ -1,41 +1,40 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= gui PORTVERSION= 1.7.2 PORTREVISION= 8 CATEGORIES= x11-toolkits python MASTER_SITES= http://www.cosc.canterbury.ac.nz/~greg/python_gui/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyGUI-${PORTVERSION}-1 MAINTAINER= python@FreeBSD.org COMMENT= Cross-platform pythonic GUI API BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Pyrex/Distutils/__init__.py:${PORTSDIR}/devel/pyrex OPTIONS_DEFINE= DOCS EXAMPLES OPENGL -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options USE_GNOME= pygtk2 USES= python USE_PYTHON= distutils autoplist DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} WRKSRC= ${WRKDIR}/PyGUI-${PORTVERSION} OPENGL_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/gdkgl/__init__.py:${PORTSDIR}/x11-toolkits/py-gtkglext post-patch: @${REINPLACE_CMD} -e 's|"GUI.Cocoa",||g' ${WRKSRC}/setup.py @${TOUCH} ${WRKSRC}/GUI/Generic/__init__.py ${WRKSRC}/GUI/Gtk/__init__.py @${RM} -fr ${WRKSRC}/Demos/BlobEdit/.gdb_history ${WRKSRC}/Demos/BlobEdit/Makefile ${WRKSRC}/GUI/Cocoa post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/Doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/Demos/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include Index: head/x11-toolkits/tk84/Makefile =================================================================== --- head/x11-toolkits/tk84/Makefile (revision 394507) +++ head/x11-toolkits/tk84/Makefile (revision 394508) @@ -1,92 +1,92 @@ # $FreeBSD$ PORTNAME= tk PORTVERSION= 8.4.20 PORTEPOCH= 2 CATEGORIES= x11-toolkits tk MASTER_SITES= TCLTK/tcl8_4 SF/tcl/Tcl/${PORTVERSION} PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} DISTNAME= ${PORTNAME}${PORTVERSION}-src MAINTAINER= tcltk@FreeBSD.org COMMENT= Graphical toolkit for Tcl LICENSE= TclTk LICENSE_NAME= Tcl/Tk License LICENSE_FILE= ${WRKSRC}/../license.terms LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept OPTIONS_DEFINE= TKMAN THREADS OPTIONS_DEFAULT=THREADS TKMAN_DESC= Install Tk function manpages WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix ALL_TARGET= all INSTALL_TARGET= install USES+= tcl:${SHORT_TK_VER} USE_LDCONFIG= yes USE_XORG= x11 CFLAGS+= -I${TCL_INCLUDEDIR}/generic GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared \ --enable-man-suffix=.${MAN_SUFFIX} \ --with-tcl=${TCL_LIBDIR} \ --includedir=${PREFIX}/include/tk${TK_VER} CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk${SHORT_TK_VER}.so.1 CFLAGS+= -I${TCL_INCLUDEDIR} TK_VER= ${PORTVERSION:R} SHORT_TK_VER= ${TK_VER:S/.//} -MAN_SUFFIX= ${LATEST_LINK} +MAN_SUFFIX= ${PKGBASE} MAKE_ENV= SHORT_TK_VER=${SHORT_TK_VER} PLIST_SUB= TK_VER=${TK_VER} \ SHORT_TK_VER=${SHORT_TK_VER} SUB_FILES= pkgIndex.tcl .include .if ${PORT_OPTIONS:MTKMAN} INSTALL_TARGET+=install-doc PLIST_SUB+= MAN="" .else PLIST_SUB+= MAN="@comment " .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+= --enable-threads .else CONFIGURE_ARGS+= --disable-threads .endif post-patch: ${REINPLACE_CMD} -e \ 's|@TK_BUILD_LIB_SPEC@|@TK_LIB_SPEC@|; \ s|@TK_BUILD_STUB_LIB_SPEC@|@TK_STUB_LIB_SPEC@|; \ s|@TK_BUILD_STUB_LIB_PATH@|@TK_STUB_LIB_PATH@|; \ s|@TK_SRC_DIR@|${PREFIX}/include/tk${TK_VER}|' \ ${WRKSRC}/tkConfig.sh.in @${REINPLACE_CMD} -e 's|X11/Intrinsic.h|X11/Xlib.h|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|@TK_SHARED_BUILD@|#@TK_SHARED_BUILD@|g' ${WRKSRC}/Makefile.in post-configure: ${REINPLACE_CMD} -e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TKBASE}|' \ ${WRKSRC}/tkConfig.sh post-install: ${INSTALL_DATA} ${WRKDIR}/pkgIndex.tcl ${STAGEDIR}${PREFIX}/lib/tk${TK_VER}/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/wish${TK_VER} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtk${SHORT_TK_VER}.so.1 regression-test: build cd ${WRKSRC}; ${MAKE} test ${ECHO_CMD} "package require Tk" | tclsh${TK_VER} ${ECHO_CMD} "load libtk${SHORT_TK_VER}.so" | tclsh${TK_VER} .include Index: head/x11-toolkits/tk85/Makefile =================================================================== --- head/x11-toolkits/tk85/Makefile (revision 394507) +++ head/x11-toolkits/tk85/Makefile (revision 394508) @@ -1,104 +1,104 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= tk PORTVERSION= 8.5.18 CATEGORIES= x11-toolkits MASTER_SITES= TCLTK/tcl8_5 SF/tcl/Tcl/${PORTVERSION} PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} DISTNAME= ${PORTNAME}${PORTVERSION}-src MAINTAINER= tcltk@FreeBSD.org COMMENT= Graphical toolkit for Tcl LICENSE= TclTk LICENSE_NAME= Tcl/Tk License LICENSE_FILE= ${WRKSRC}/../license.terms LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES+= tcl:${SHORT_TK_VER} USE_XORG= x11 xft xscrnsaver USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}/unix GNU_CONFIGURE= yes TK_VER= 8.5 SHORT_TK_VER= 85 CONFIGURE_ARGS= --enable-shared \ --enable-xss \ --enable-xft \ --enable-man-suffix=.${MAN_SUFFIX} \ --with-tcl=${TCL_LIBDIR} \ --includedir=${PREFIX}/include/tk${TK_VER} CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk${SHORT_TK_VER}.so.1 \ ac_cv_path_tclsh="${LOCALBASE}/bin/tclsh${TK_VER}" -MAN_SUFFIX= ${LATEST_LINK} +MAN_SUFFIX= ${PKGBASE} INSTALL_TARGET= install MAKE_ENV= SHORT_TK_VER=${SHORT_TK_VER} PLIST_SUB= TK_VER=${TK_VER} SHORT_TK_VER=${SHORT_TK_VER} NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken DATADIR= ${PREFIX}/share/${PORTNAME}${TK_VER} SUB_FILES= pkgIndex.tcl OPTIONS_DEFINE= TK85_MAN DEMOS THREADS OPTIONS_DEFAULT=THREADS TK85_MAN_DESC= Install tk 8.5 function manpages DEMOS_DESC= Install demos SUB_LIST+= TCLPATCHLEVEL="${PORTVERSION}" .include DATADIR= ${PREFIX}/share/${PORTNAME}${TCL_VER} .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+= --enable-threads .else CONFIGURE_ARGS+= --disable-threads .endif .if ${PORT_OPTIONS:MDEMOS} INSTALL_TARGET+= install install-demos PLIST_SUB+= DEMOS="" .else PLIST_SUB+= DEMOS="@comment " .endif .if ${PORT_OPTIONS:MTK85_MAN} INSTALL_TARGET+=install-doc PLIST_SUB+= MAN="" .else PLIST_SUB+= MAN="@comment " .endif -TKBASE?= ${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK} +TKBASE?= ${PORTSDIR}/${PKGCATEGORY}/${PKGBASE} post-patch: ${REINPLACE_CMD} -e \ 's|@TK_BUILD_LIB_SPEC@|@TK_LIB_SPEC@|; \ s|@TK_BUILD_STUB_LIB_SPEC@|@TK_STUB_LIB_SPEC@|; \ s|@TK_BUILD_STUB_LIB_PATH@|@TK_STUB_LIB_PATH@|; \ s|@TK_SRC_DIR@|${PREFIX}/include/tk${TK_VER}|' \ ${WRKSRC}/tkConfig.sh.in @${REINPLACE_CMD} -e 's|X11/Intrinsic.h|X11/Xlib.h|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|@TK_SHARED_BUILD@|#@TK_SHARED_BUILD@|g; s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Makefile.in post-configure: ${REINPLACE_CMD} \ -e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TKBASE}|' \ ${WRKSRC}/tkConfig.sh ${REINPLACE_CMD} -e 's|-Wl,--rpath -Wl,/usr/local/lib||g' ${WRKSRC}/Makefile post-install: ${INSTALL_DATA} ${WRKDIR}/pkgIndex.tcl ${STAGEDIR}${PREFIX}/lib/tk${TK_VER}/ ${LN} -fs libtk${SHORT_TK_VER}.so.1.0 \ ${STAGEDIR}${PREFIX}/lib/libtk${SHORT_TK_VER}.so.1 regression-test: build cd ${WRKSRC}; ${MAKE} test ${ECHO_CMD} "package require Tk" | tclsh${TK_VER} ${ECHO_CMD} "load libtk${SHORT_TK_VER}.so" | tclsh${TK_VER} .include Index: head/x11-toolkits/tk86/Makefile =================================================================== --- head/x11-toolkits/tk86/Makefile (revision 394507) +++ head/x11-toolkits/tk86/Makefile (revision 394508) @@ -1,90 +1,90 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= tk PORTVERSION= 8.6.4 CATEGORIES= x11-toolkits MASTER_SITES= SF/tcl/Tcl/${PORTVERSION} TCLTK/tcl8_6 PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} DISTNAME= ${PORTNAME}${PORTVERSION}-src MAINTAINER= tcltk@FreeBSD.org COMMENT= Graphical toolkit for Tcl LICENSE= TclTk LICENSE_NAME= Tcl/Tk License LICENSE_FILE= ${WRKSRC}/../license.terms LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept OPTIONS_DEFINE= TKMAN DEMOS THREADS OPTIONS_DEFAULT=THREADS TKMAN_DESC= Install Tk function manpages DEMOS_DESC= Install demos XSS_DESC= XScrnSaver support WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix ALL_TARGET= all INSTALL_TARGET= install-strip USE_LDCONFIG= yes USES+= tcl:${SHORT_TK_VER} USE_XORG= x11 xft xscrnsaver GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared \ --enable-xss \ --enable-xft \ --enable-man-suffix=.${MAN_SUFFIX} \ --with-tcl=${TCL_LIBDIR} \ --includedir=${PREFIX}/include/tk${TK_VER} CONFIGURE_ENV= PORTSDIR=${PORTSDIR} CFLAGS+= -I${TCL_INCLUDEDIR} \ -I${LOCALBASE}/include TK_VER= ${PORTVERSION:R} SHORT_TK_VER= ${TK_VER:S/.//} -MAN_SUFFIX= ${LATEST_LINK} +MAN_SUFFIX= ${PKGBASE} MAKE_ENV= SHORT_TK_VER=${SHORT_TK_VER} PLIST_SUB= TK_VER=${TK_VER} \ SHORT_TK_VER=${SHORT_TK_VER} .include .if ${PORT_OPTIONS:MDEMOS} INSTALL_TARGET+= install-demos PLIST_SUB+= DEMOS="" .else PLIST_SUB+= DEMOS="@comment " .endif .if ${PORT_OPTIONS:MTKMAN} INSTALL_TARGET+=install-doc PLIST_SUB+= MAN="" .else PLIST_SUB+= MAN="@comment " .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--enable-threads .else CONFIGURE_ARGS+=--disable-threads .endif post-patch: ${REINPLACE_CMD} -e \ 's|@TK_BUILD_LIB_SPEC@|@TK_LIB_SPEC@|; \ s|@TK_BUILD_STUB_LIB_SPEC@|@TK_STUB_LIB_SPEC@|; \ s|@TK_BUILD_STUB_LIB_PATH@|@TK_STUB_LIB_PATH@|; \ s|@TK_SRC_DIR@|${PREFIX}/include/tk${TK_VER}|' \ ${WRKSRC}/tkConfig.sh.in regression-test: build cd ${WRKSRC}; ${MAKE} test ${ECHO_CMD} "package require Tk" | tclsh${TK_VER} ${ECHO_CMD} "load libtk${SHORT_TK_VER}.so" | tclsh${TK_VER} .include Index: head/x11-wm/afterstep/Makefile =================================================================== --- head/x11-wm/afterstep/Makefile (revision 394507) +++ head/x11-wm/afterstep/Makefile (revision 394508) @@ -1,73 +1,72 @@ # Created by: jfitz@FreeBSD.org # $FreeBSD$ PORTNAME= afterstep PORTVERSION= 1.0 PORTREVISION= 4 CATEGORIES= x11-wm afterstep MASTER_SITES= LOCAL/dinoex DISTNAME= AfterStep-${PORTVERSION} PKGNAMESUFFIX= 1${PKGNAMESUFFIX2} MAINTAINER= dinoex@FreeBSD.org COMMENT= Window manager originally based on the Bowman NeXTstep clone RUN_DEPENDS= asclock:${PORTSDIR}/x11-clocks/asclock CONFLICTS?= afterstep-2* PORTSCOUT= limit:^1\.[0-9.]*$$ -NO_LATEST_LINK= yes USES= imake USE_XORG= xpm xext x11 USE_CSTD= gnu89 INSTALL_TARGET= install install.man CFLAGS+= -Wno-return-type SRCDIRS= afterstep \ modules/Animate modules/Audio modules/Auto \ modules/Banner modules/Pager modules/Wharf \ modules/Wharf/ASSound OPTIONS_DEFINE= HICOLOR_ICONS OPTIONS_DEFAULT= HICOLOR_ICONS HICOLOR_ICONS_DESC= Use hi-color icons .include post-patch: ${REINPLACE_CMD} \ -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/configure.h \ ${WRKSRC}/sample.steprc @ for i in ${SRCDIRS}; do \ ( cd ${WRKSRC}/$$i; \ ${MV} Imakefile Imakefile.orig; \ ${SED} -e 's/#ifdef AlphaArchitecture/#if defined(AlphaArchitecture) \&\& !defined(FreeBSDArchitecture)/' < Imakefile.orig > Imakefile; ) \ done pre-build: (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} MakeMakefiles) post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/afterstep/backgrounds/ ${INSTALL_DATA} ${WRKSRC}/backgrounds/* ${STAGEDIR}${PREFIX}/lib/X11/afterstep/backgrounds/ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/afterstep/sounds/ ${INSTALL_DATA} ${WRKSRC}/sounds/* ${STAGEDIR}${PREFIX}/lib/X11/afterstep/sounds/ ${MKDIR} ${STAGEDIR}${PREFIX}/include/X11/pixmaps/ .if ${PORT_OPTIONS:MHICOLOR_ICONS} ${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${STAGEDIR}${PREFIX}/include/X11/pixmaps/ ${INSTALL_DATA} ${FILESDIR}/monitor_bsd.xpm ${STAGEDIR}${PREFIX}/include/X11/pixmaps/ .else @for i in AFstep.xpm penguin.xpm monitor_bsd.xpm; do \ ${CP} ${FILESDIR}/$$i ${WRKSRC}/icons/8bit/; \ done ${INSTALL_DATA} ${WRKSRC}/icons/8bit/*.xpm ${STAGEDIR}${PREFIX}/include/X11/pixmaps/ ${INSTALL_DATA} ${WRKSRC}/icons/eyecon.xpm ${STAGEDIR}${PREFIX}/include/X11/pixmaps/ .endif ${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/afterstep/doc/ @for i in CHANGES CREDITS README README.8bit INSTALL FAQ module-interface.txt; do \ ${INSTALL_DATA} ${WRKSRC}/$$i ${STAGEDIR}${PREFIX}/lib/X11/afterstep/doc/; \ done .include Index: head/x11-wm/fvwm/Makefile =================================================================== --- head/x11-wm/fvwm/Makefile (revision 394507) +++ head/x11-wm/fvwm/Makefile (revision 394508) @@ -1,30 +1,28 @@ # Created by: me # $FreeBSD$ PORTNAME= fvwm PORTVERSION= 1.24r PORTREVISION= 5 CATEGORIES= x11-wm MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-1/ PKGNAMESUFFIX= 1${PKGNAMESUFFIX2} MAINTAINER= dinoex@FreeBSD.org COMMENT= The fvwm window manager -NO_LATEST_LINK= yes - USES= imake USE_XORG= xbitmaps xpm xext x11 xmu pre-configure: ${REINPLACE_CMD} -e '/DependSubdirs/y,/*#, ,' ${WRKSRC}/Imakefile ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/configure.h \ ${WRKSRC}/sample.fvwmrc/system.fvwmrc post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/X11/pixmaps ${INSTALL_DATA} ${WRKSRC}/fvwm_icons/*.xpm \ ${STAGEDIR}${PREFIX}/include/X11/pixmaps .include Index: head/x11-wm/fvwm2/Makefile =================================================================== --- head/x11-wm/fvwm2/Makefile (revision 394507) +++ head/x11-wm/fvwm2/Makefile (revision 394508) @@ -1,131 +1,130 @@ # Created by: peter # $FreeBSD$ PORTNAME= fvwm PORTVERSION= 2.6.5 PORTREVISION= 7 CATEGORIES= x11-wm MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/ \ http://www.fvwm.org/generated/icon_download/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= cy@FreeBSD.org COMMENT= Popular virtual window manager for X RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4 # Other ports this port cannot coexist with CONFLICTS?= fvwm-1.* fvwm-2.[457].* -NO_LATEST_LINK= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-mandoc --without-gnome --disable-gtk USES= gmake perl5 pkgconfig tar:bzip2 USE_XORG= xcursor xft xinerama xpm xrender OPTIONS_DEFINE= ICONS ICONV STROKE RPLAY SESSION_MGMT PNG SVG BIDI NLS OPTIONS_DEFAULT=ICONS ICONV SESSION_MGMT PNG OPTIONS_SUB= yes STROKE_DESC= support for mouse gestures RPLAY_DESC= RPlay support in FvwmEvent SESSION_MGMT_DESC= Session Management support BIDI_DESC= Asian bi-directional text support PLIST_SUB= FVWM_VERSION="${PORTVERSION}" .include .if ${PORT_OPTIONS:MICONS} FVWM_ICONS= fvwm_icons-20070101 DISTFILES+= ${FVWM_ICONS}.tar.bz2 .endif .if ${PORT_OPTIONS:MICONV} USES+= iconv .else CONFIGURE_ARGS+= --disable-iconv .endif .if ${PORT_OPTIONS:MSTROKE} LIB_DEPENDS+= libstroke.so:${PORTSDIR}/devel/libstroke CONFIGURE_ARGS+= --with-stroke-library=${LOCALBASE}/lib \ --with-stroke-includes=${LOCALBASE}/include .else CONFIGURE_ARGS+= --without-stroke-library .endif .if ${PORT_OPTIONS:MRPLAY} LIB_DEPENDS+= librplay.so:${PORTSDIR}/audio/rplay CONFIGURE_ARGS+= --with-rplay-library=${LOCALBASE}/lib \ --with-rplay-includes=${LOCALBASE}/include .else CONFIGURE_ARGS+= --without-rplay-library .endif .if ${PORT_OPTIONS:MSESSION_MGMT} USE_XORG+= sm .else CONFIGURE_ARGS+= --disable-sm .endif .if ${PORT_OPTIONS:MPNG} LIB_DEPENDS+= libpng.so:${PORTSDIR}/graphics/png CONFIGURE_ARGS+= --with-png-includes=${LOCALBASE}/include \ --with-png-library=${LOCALBASE}/lib .else CONFIGURE_ARGS+= --without-png-library .endif .if ${PORT_OPTIONS:MSVG} USE_GNOME+= librsvg2 .else CONFIGURE_ARGS+= --disable-rsvg .endif .if ${PORT_OPTIONS:MBIDI} LIB_DEPENDS+= libfribidi.so:${PORTSDIR}/converters/fribidi CONFIGURE_ARGS+= --enable-bidi \ --with-bidi-bindir=${LOCALBASE}/bin .else CONFIGURE_ARGS+= --disable-bidi .endif .if ${PORT_OPTIONS:MNLS} USES+= gettext CONFIGURE_ARGS+= --with-intl-library=${LOCALBASE}/lib \ --with-intl-includes=${LOCALBASE}/include .else CONFIGURE_ARGS+= --disable-nls .endif .include .if empty(ICONV_LIB) CONFIGURE_ARGS+=--without-iconv-library .else CONFIGURE_ARGS+=--with-iconv-library=${ICONV_PREFIX}/lib \ --with-iconv-includes=${ICONV_PREFIX}/include .endif .if ${PORT_OPTIONS:MICONS} post-extract: @${MKDIR} ${WRKDIR}/icons @${TAR} -xzf ${DISTDIR}/${FVWM_ICONS}.tar.bz2 -C ${WRKDIR}/icons .endif post-patch: @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \ ${WRKSRC}/modules/FvwmM4/FvwmM4.c post-install: ${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc \ ${STAGEDIR}${PREFIX}/etc/system.fvwm2rc.dist .if ${PORT_OPTIONS:MICONS} ${MKDIR} ${STAGEDIR}${PREFIX}/share/fvwm/pixmaps ${INSTALL_DATA} ${WRKDIR}/icons/${FVWM_ICONS}/*.xpm \ ${STAGEDIR}${PREFIX}/share/fvwm/pixmaps .endif .include Index: head/x11-wm/xfce4/Makefile =================================================================== --- head/x11-wm/xfce4/Makefile (revision 394507) +++ head/x11-wm/xfce4/Makefile (revision 394508) @@ -1,45 +1,44 @@ # Created by: James Earl # $FreeBSD$ PORTNAME= xfce PORTVERSION= 4.12 PORTREVISION= 1 CATEGORIES= x11-wm xfce MAINTAINER= xfce@FreeBSD.org COMMENT= The "meta-port" for the Xfce Desktop Environment RUN_DEPENDS= xfwm4:${PORTSDIR}/x11-wm/xfce4-wm \ xfce4-session:${PORTSDIR}/x11-wm/xfce4-session \ xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel \ xfdesktop:${PORTSDIR}/x11-wm/xfce4-desktop \ xfsettingsd:${PORTSDIR}/sysutils/xfce4-settings \ gtk-xfce-engine>0:${PORTSDIR}/x11-themes/gtk-xfce-engine USES= metaport -LATEST_LINK= xfce4 OPTIONS_DEFINE= APPFINDER ICONS MIXER MOUSEPAD NOTIFY ORAGE PRINT SLIM SQUEEZE TERMINAL XPM OPTIONS_DEFAULT= APPFINDER ICONS MOUSEPAD NOTIFY ORAGE TERMINAL APPFINDER_RUN_DEPENDS= xfce4-appfinder:${PORTSDIR}/misc/xfce4-appfinder APPFINDER_DESC= Launcher and finder ICONS_RUN_DEPENDS= adwaita-icon-theme>0:${PORTSDIR}/x11-themes/adwaita-icon-theme MIXER_RUN_DEPENDS= xfce4-mixer:${PORTSDIR}/audio/xfce4-mixer MOUSEPAD_RUN_DEPENDS= mousepad:${PORTSDIR}/editors/mousepad MOUSEPAD_DESC= Text editor NOTIFY_RUN_DEPENDS= xfce4-notifyd-config:${PORTSDIR}/deskutils/xfce4-notifyd ORAGE_RUN_DEPENDS= orage:${PORTSDIR}/deskutils/orage ORAGE_DESC= Calendar PRINT_RUN_DEPENDS= xfprint4:${PORTSDIR}/print/xfce4-print SLIM_RUN_DEPENDS= slim:${PORTSDIR}/x11/slim SLIM_DESC= SLiM, login manager SQUEEZE_RUN_DEPENDS= squeeze:${PORTSDIR}/archivers/squeeze SQUEEZE_DESC= Archive manager TERMINAL_RUN_DEPENDS= xfce4-terminal:${PORTSDIR}/x11/xfce4-terminal TERMINAL_DESC= Terminal emulator XPM_RUN_DEPENDS= xfce4-power-manager:${PORTSDIR}/sysutils/xfce4-power-manager XPM_DESC= Power manager do-install: # empty .include