aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGES
Commit message (Collapse)AuthorAgeFilesLines
* Don't tell people to use @${FLAVOR} in that case, it's bad practice.mat2018-05-221-2/+1
| | | | Sponsored by: Absolight
* Mk/Uses/php.mk: Drop support for WANT_ and USE_ PHP varsbrnrd2018-05-081-0/+9
| | | | | Approved by: portmgr (rene) Differential Revision: https://reviews.freebsd.org/D15014
* Mk/Uses/apache.mk: Migrate Mk/bsd.apache.mk to Usesbrnrd2018-03-111-0/+5
| | | | | | | | | | | | | - Chase required changes in framework (bsd.sanity.mk, bsd.port.mk) - Chase required changes in ports (version checks) - Chase required changes in PHP ports (include bsd.apache.mk) - exp-run by antoine, brnrd, joneum PR: 223691 (exp-run) Reviewed by: joneum (hat apache), mat (portmgr), antoine (portmgr) Approved by: joneum (hat apache) Approved by: portmgr With hat: apache
* Introduce PHP flavors.mat2018-03-091-0/+37
| | | | | | | | | | | | | | Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now flavored. They will automatically get flavors (php56, php70, php71, php72) depending of the versions they support (set with IGNORE_WITH_PHP). As a consequence, ports using USES=pear and USES=horde are also flavored. PR: 226242 Submitted by: mat Exp-run by: antoine Approved by: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D14208
* Add support to passing directories to EXTRA_PATCHES.mat2018-01-251-0/+15
| | | | | | | | | | | | | | | | Instead of: EXTRA_PATCHES= ${PATCHDIR}/feat-foo-patch-file.c \ ${PATCHDIR}/feat-foo-patch-file.h \ ${PATCHDIR}/feat-foo-patch-file2.c Move those files to ${PATCHDIR}/feat-foo/, name them patch-*, and set: EXTRA_PATCHES= ${PATCHDIR}/feat-foo Approved by: bdrewery Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D10855
* Remove PYTHON*_DEFAULT_VERSION.mat2018-01-211-0/+6
|
* Update Qt5 ports to 5.9.3.rakuco2018-01-071-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This took quite a lot of time because Qt's own build system underwent several changes in 5.8.0 that took a while to adapt to. And, of course, qt5-webengine is a behemoth that we need to patch like crazy due to its bundling of Chromium. In fact, most of the Chromium patches in qt5-webengine have been imported with no changes from www/chromium@433510 ("www/chromium: update to 56.0.2924.87"). New port: accessibility/qt5-speech Bigger changes to Qt5 ports we had to make: - Qt now allows using a configure.json file to define configuration options and specify configuration checks that can be done when qmake is invoked. However, configure.json checks done in a subdirectory only propagates to subdirectories, and checks elsewhere will fail if all .pro files are being parsed at once (i.e. qmake -recursive), so several ports had to switch to USES=qmake:norecursive along with manual additional qmake invocations in subdirectories in order to work. It's been mentioned in a few places such as Qt's bug tracker that qmake's recursive mode is pretty much deprecated, so we might switch to non-recursive mode by default in the future. - Uses/qmake.mk: Introduce QMAKE_CONFIGURE_ARGS. qmake now accepts arbitrary options such as '-foo' and '-no-bar' at the end of the command-line. They can be specified in QMAKE_CONFIGURE_ARGS. - graphics/qt5-wayland: The port can only be built if graphics/mesa-libs is built with the WAYLAND option, so a corresponding option (off by default) was added to the port. - misc/qt5-doc: Switch to a pre-built documentation tarball. The existing port was not working with Qt 5.9. Instead of trying to fix it, switch to what Gentoo does and fetch a tarball that already contains all documentation so that we do not have to build anything at all. The tarball's name and location in download.qt.io look a bit weird, but it seems to work fine. - www/qt5-webengine: Use binutils from ports, Chromium's GN build system generates a build.ninja that uses ar(1) with the @file syntax that is not supported by BSD ar, so we need to use GNU ar from binutils. - x11-toolkits/qt5-declarative-render2d: This port was merged into the main Qt Declarative repository upstream, and into x11-toolkits/qt5-quick in the ports tree. Changes to other ports we had to make: - biology/ugene: Drop a '#define point "."' that is not present in more recent versions of the port. Defining a macro with such a common name causes build issues with Qt 5.9, which uses |point| as an argument name in methods. - cad/qelectrotech: Fix plist with Qt 5.9. Directories are no longer installed with `cp -f -R', but rather `qmake install qinstall', which does not install %%DATADIR%%/elements/10_electric/20_manufacturers_articles/bosch_rexroth/.directory That's a local file that should not even have been part of the tarball anyway. - chinese/gcin-qt5: Add additional private Qt directories (which should not be used in the first place) to get the port to build with Qt 5.9. - devel/qtcreator: Fix plist with Qt 5.9. Something changed in qdoc and some test classes no longer generate documentation files. - security/keepassx-devel: Import a patch sent upstream almost a year ago to fix the build with Qt 5.9. Thanks to antoine for the exp-run, and tcberner and Laurent Cimon <laurent@nuxi.ca> for landing changes in our qt-5.9 branch. PR: 224849
* New USES=eigentcberner2018-01-031-0/+17
| | | | | | | | | | | | | | | | | | | | | | Usage: USES=eigen:<version>[,<type>] version: 2 or 3 (required) type: build (default), run For example: USES=eigen:2,build,run will add a BUILD- and RUN_DEPENDS on math/eigen2, and USES=eigen:3 will add a BUILD_DEPENDS on math/eigen3. * Convert the existing ports to use it - biology/iqtree: remove run time dependency (seemed not to be needed) - graphics/movit: remove run time dependency (seemed not to be needed) - science/avogadro: add run time dependeny (installed cmake file requires it to be present) Reviewed by: rakuco, mat Differential Revision: https://reviews.freebsd.org/D13702
* Add CMAKE_ON and CMAKE_OFF to cmake.mktcberner2017-12-311-0/+14
| | | | | | | | | | | | | | | | USES=cmake now supports two additional list variables: * CMAKE_ON : List of variables to turn on * CMAKE_OFF : List of variables to turn off This can be used as a shortcut to append these to CMAKE_ARGS. For example ports that previously set CMAKE_ARGS= -DVAR1:BOOL=TRUE -DVAR2:BOOL=TRUE -DVAR3:BOOL=FALSE can now set this as CMAKE_ON= VAR1 VAR2 CMAKE_OFF= VAR3 Reviewed by: adridg, rakuco, mat Differential Revision: https://reviews.freebsd.org/D13636
* Move the deprecated variables announcement from CHANGES to UPDATING.adamw2017-12-151-19/+0
| | | | These are user variables, not just developer variables.
* Fix typosadamw2017-12-151-2/+2
|
* Add notice for soon-to-be-deprecated variablesadamw2017-12-151-0/+19
|
* Fix typosunpoet2017-12-111-1/+1
|
* Add link for guides on FLAVORSbdrewery2017-12-011-0/+5
|
* Convert Python ports to FLAVORS.mat2017-11-301-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ports using USE_PYTHON=distutils are now flavored. They will automatically get flavors (py27, py34, py35, py36) depending on what versions they support. There is also a USE_PYTHON=flavors for ports that do not use distutils but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if using distutils but flavors are not wanted. A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been added to cope with Python ports that did not have the Python PKGNAMEPREFIX but are flavored. USES=python now also exports a PY_FLAVOR variable that contains the current python flavor. It can be used in dependency lines when the port itself is not python flavored. For example, deskutils/calibre. By default, all the flavors are generated. To only generate flavors for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf. In all the ports with Python dependencies, the *_DEPENDS entries MUST end with the flavor so that the framework knows which to build/use. This is done by appending '@${PY_FLAVOR}' after the origin (or @${FLAVOR} if in a Python module with Python flavors, as the content will be the same). For example: RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} PR: 223071 Reviewed by: portmgr, python Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D12464
* Add various FLAVOR related helpers.mat2017-11-301-0/+22
| | | | | | | | | | | | | | | To help with flavored ports, helpers are available. In these, replace <*> with the flavor name. *_PKGNAMEPREFIX *_PKGNAMESUFFIX *_PLIST *_DESCR will overwrite the variable. *_CONFLICTS *_CONFLICTS_BUILD *_CONFLICTS_INSTALL *_PKG_DEPENDS *_EXTRACT_DEPENDS *_PATCH_DEPENDS *_FETCH_DEPENDS *_BUILD_DEPENDS *_LIB_DEPENDS *_RUN_DEPENDS *_TEST_DEPENDS will append to the variable. Reviewed by: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D12483
* Generic FLAVORS work.mat2017-11-301-0/+27
| | | | | | | | | | | | | - Enable FLAVORS. - Make make describe flavors aware. - Add a qa check for unique package names amongst flavors. - Make MOVEDlint understand flavors. - Add a bit of sanity check to make sure FLAVORS stay lowercase. - Various fixes. Reviewed by: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D12577
* - Remove USES=fmake. It was created to help migration fromak2017-10-211-0/+7
| | | | | | | | old FreeBSD make (pmake) and there are no more users of it left in the ports tree. Differential Revision: https://reviews.freebsd.org/D12634 Approved by: portmgr (bapt)
* Remove WANT_GNOME and HAVE_GNOME.mat2017-10-121-0/+6
| | | | | | Approved by: bapt kwm Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D12643
* Introduce the new BINARY_ALIAS variablebapt2017-10-121-0/+14
| | | | | | | | | | | | | | | | | When defined it will create symlinks of some given binaries in a directory which will be prepended to the PATH. The syntax is the following: BINARY_ALIAS= target1=source1 target2=source2 For example to have a "swig" binary in the path which will be pointing at swig3.0 and a "sed" pointing at GNU sed: gsed BINARY_ALIAS= swig=swig3.0 sed=gsed Reviewed by: swills, adamw, mat Approved by: swills (portmgr) Differential Revision: https://reviews.freebsd.org/D12603
* Make ninja opt-out in cmake.mktcberner2017-06-261-0/+14
| | | | | | | | | | | | | | | | | | | | | | | Using ninja instead of make (1) can lead to significant speed ups while building. Therefore switch from having the ninja generator opt-in to having it opt-out. Previously cmake-ports that wanted to use ninja could set CMAKE_NINJA=yes now, ports that do not work with ninja can set cmake:<existing args>,noninja Note, that needing this should be an exception and most often points to a broken cmake of the port. The ports using cmake were modified * removed USES=gmake, if ninja is used * removed MAKE_ARGS, if ninja is used * added the cmake-argument noninja if necessary PR: 219629 PR: 213331 Exp-run by: antoine Reviewed by: rakuco Differential Revision: https://reviews.freebsd.org/D10748
* - Whitespace fixesmiwi2017-06-041-1/+1
|
* Introduce new "meson" USES.kwm2017-04-181-0/+5
| | | | | | | | | This uses will handling building software that uses the meson build system. Expand the option framework to handle MESON options. Approved by: portmgr (swills@) Differential Revision: https://reviews.freebsd.org/D104091
* Add a note about make makesum verifying HTTPS certificates.tijl2017-03-141-0/+12
| | | | Requested by: adamw
* Update Qt5 to 5.7.1, and unify the Qt4 and Qt5 ports some moretcberner2017-02-191-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | * Update Qt5 to 5.7.1 * Move Qt4 binaries to lib/qt4/bin * Move Qt5 libraries to lib/qt5/lib By moving the libraries we should finally be able to get rid of the inplace upgrade bug (see ports bugs 194088, 195105 and 198720): when Qt5's libraries were lying in /usr/local/lib, which would often get added by pkgconfig to the linker paths via dependencies, the already installed libraries were linked against, instead of the ones that were being built. This forced us to make sure, that -L${WRKSRC}/lib was always coming before -L/usr/local/lib in the linker flags. With this change this should no longer be the case. * Rename some ports to match the rest (foo-qtX -> qtX-foo) * Depend on new port misc/qtchooser [see UPDATING & CHANGES] There are several new Qt5 ports which all have been created by Marie Loise Nolden <nolden@kde.org>. Thanks again. PR: 216797 Exp-Run by: antoine Reviewed by: rakuco, mat, groot_kde.org Approved by: rakuco (mentor) Differential Revision: https://reviews.freebsd.org/D9213
* Implement EXTRA_PATCH_TREE.mat2017-01-171-0/+12
| | | | | PR: 215726 Reported by: julian
* Extract do-patch into a separate script.mat2017-01-171-0/+14
| | | | | | | | PR: 215761 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D9029
* Get rid of QT_PREFIX in favour of PREFIX.tcberner2016-12-191-0/+5
| | | | | | | | QT_PREFIX was a remnant of a bygone time. Reviewed by: rakuco Approved by: rakuco (mentor) Differential Revision: https://reviews.freebsd.org/D8825
* Add all Creative Commons licensesamdmi32016-09-131-0/+7
| | | | | Approved by: portmgr (mat) Differential Revision: D7852
* Most commonly used build systems support silent builds, when theyamdmi32016-09-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | hide actual commands executed and only show short summary line (like "CC foo.c"). CMake and ninja enable this by default, some autotools using ports do as well. This is unacceptable because we need complete build logs at any time, so we now switch to verbose build logs unconditionally. Note that this change deliberately affects ALL builds and not only package builds on cluster, because we need to be sure that user experiencing failure can always provide informative build log regardless of settings and without rerunning the build. Change summary: - Always do verbose builds for cmake, ninja and GNU configure (the latter includes check if --disable-silent-rules is actually supported by the configure script; there are isolated cases when it's not true) - Remove CMAKE_VERBOSE, NINJA_VERBOSE and CONFIGURE_ARGS=--disable-silent-rules from all ports which set them for this is no longer needed - Revert hacks for --disable-silent-rules support priorly committed to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well Submitted by: amdmi3 Reviewed by: mat Exp-run by: antoine Approved by: portmgr (mat, antoine) Differential Revision: D7534
* Add support added for LICENSE=NONE, use it when the port doesn'tamdmi32016-09-081-7/+16
| | | | | | | | | | | | have cleanly defined licensing terms. Note that without clean license allowing you to use and distribute the code it would be be illegal to do so in many jurisdictions, so for ports with NONE license no distfiles or packages are distributed. While here, fix trailing whitespace in CHANGES. Approved by: portmgr (bapt) Differential Revision: D7816
* Document the deprecation/removal of KNOBS done in r345883 (2014-02-24)bapt2016-08-271-0/+6
| | | | Requested by: mandree@
* Add GH_SUBDIR, automatically moves a secondary distfile to the rightmat2016-08-241-2/+29
| | | | | | | | | | | | | | | | | | | | | place inside ${WRKSRC}. Before: GH_TUPLE= Regaddi:Chart.js:f13f99b:chart_js \ FVANCOP:ChartNew.js:77e7f87:chartnew_js post-extract: @${RMDIR} ${WRKSRC}/database ${WRKSRC}/3rd/Chart.js @${MV} ${WRKSRC_database} ${WRKSRC}/database @${MV} ${WRKSRC_chart_js} ${WRKSRC}/3rd/Chart.js After: GH_TUPLE= Regaddi:Chart.js:f13f99b:chart_js/3rd/Chart.js \ FVANCOP:ChartNew.js:77e7f87:chartnew_js/3rd/ChartNew.js Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7583
* Replace Mk/bsd.kde4.mk by Mk/Uses/kde.mk in preparation for KDE Frameworks andtcberner2016-08-241-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plasma5 ports At the moment KDE ports use bsd.kde4.mk to handle their dependencies. When working on the ports for KDE Frameworks and Plasma5 it seemed to be more reasonable to create a new kde.mk instead of adding an bsd.kde5.mk. The kde.mk in this review is a stripped down version of the one we are using in the KDE Test repositories plasma5 branch [1] to only contain the parts relevant to the current KDE4 ports in the portstree [2]. Changes to the KDE Ports needed by this: Replace USE_KDE4 by USE_KDE [3] Add USES=kde:4 [4] [1] http://src.mouf.net/area51/view/branches/plasma5/KDE/Mk/Uses/kde.mk [2] The version in the plasma5 branch also handles frameworks/plasma5 and handles MASTER_SITES via a KDE_DIST variable similar to bsd.qt.mk for Qt Ports -- I chose to leave this out for now, as the diff is already large enough. [3] I chose USE_KDE instead of USE_KDE4, USE_KDE5, USE_KDEX as the version we want is already specified as argument to kde:<arg> [4] For KDE Frameworks and Plasma5 ports this would be kde:5 PR: 210667 Approved by: portmgr, mat (mentor), rakuco (mentor) Reviewed by: mat, rakuco Differential Revision: https://reviews.freebsd.org/D6961
* CHANGES: Document Uses/grantlee.mk added in r420244.rakuco2016-08-211-0/+9
|
* CHANGES: Fix date of the VAR_regex=regex entry.rakuco2016-08-211-1/+1
|
* Add regexps capacity to PLIST_SUB.mat2016-08-171-0/+18
| | | | | | | | | | | | | | | | | | | | | This adds the possibility to use regular expressions for the makeplist stage of the PLIST_SUB life. From time to time, the values are too generic, and they get in the way of other stuff. This adds the possibility to have a `VAR_regex=regex` that will be used instead of the `VAR=string` to search for possible replacements. For example, in lang/perl5*, there is PERL_ARCH=mach, which will get replaced in paths if a file is called, say "machine", will end up being "%%PERL_ARCH%%ine". Adding PERL_ARCH_regex="\bmach\b" will ensure only full words are replaced, so machine will stay machine, but "lib/mach/foo "will still be replaced by "lib/%%PERL_ARCH%%/foo". Reviewed by: bdrewery Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7335
* Don't use extension.ini any more, and have each extension install in itsmat2016-08-031-0/+10
| | | | | | | | | | | | | | | | | | | | | file, so the order remains the same. Every PHP (or Zend) extension now installs its own .ini file in /usr/local/etc/php. A PHP extension will be automatically activated when installed. The order into which extensions are loaded is automatically guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php section of the Porter's Handbook for more information. Convert ports touching etc/php/extensions.ini manually, or telling the OP to do it. And finally, bump PORTREVISION for all php extensions. PR: 210697 Submitted by: mat Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7022
* USEify USES=php.mat2016-06-281-0/+17
| | | | | | | | | | | | | | | | | | | | The following variables have been folded into arguments: - USE_PHPIZE -> USES=php:phpize - USE_PHPEXT -> USES=php:ext - USE_ZENDEXT -> USES=php:zend - USE_PHP_BUILD -> USES=php:build - WANT_PHP_CLI -> USES=php:cli - WANT_PHP_CGI -> USES=php:cgi - WANT_PHP_MOD -> USES=php:mod - WANT_PHP_WEB -> USES=php:web - WANT_PHP_EMB -> USES=php:embed PR: 210529 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D6936
* Replace bsd.openssl.mk with USES=sslmat2016-06-271-0/+5
| | | | | | | | | | | | Add a qa hint about needing, or not, USES=ssl. Fix ports doing silly things, like including bsd.openssl.mk directly. PR: 210322 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D6866
* Add an opt_CMAKE_BOOL options helper.adamw2016-06-261-0/+12
| | | | | | | | | | | | | SOMEOPT_CMAKE_BOOL= WITH_FOO BAR expands to: -DWITH_FOO:BOOL=true -DBAR:BOOL=true or -DWITH_FOO:BOOL=false -DBAR:BOOL=false PR: 210576 Approved by: portmgr (mat)
* Trim trailing whitespaceamdmi32016-06-151-2/+2
| | | | Approved by: portmgr blanket
* A new stage-qa test has been added, it reports all shared librariesmat2016-05-251-0/+14
| | | | | | | | | | | | | | | | | dependencies that are not part of the port list of dependencies. It help finds what is called proxy dependencies. A is needed by B, and B is needed by C. If C also needs A, then it needs to be registered, and this check will tell you to do so. Right now, it is only reporting the problems, but if you add PROXYDEPS_FATAL=yes to your environment, it will give an error and will force you to fix the dependencies. PR: 195203 Submitted by: yuri rawbw com (earlier version) Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D6531
* Add an entry about the new @xmlcatmgrbapt2016-05-251-0/+9
|
* Fix typo.thierry2016-05-131-1/+1
|
* Move my CHANGES entry from r415078 to the correct locationemaste2016-05-131-10/+10
|
* Record TIMESTAMP in make makesumemaste2016-05-131-0/+10
| | | | | | | | | | | | This is intended to support development and prototyping for ports reproducible build efforts which require some concept of a "last updated" time. It is being committed now so that timestamp entries will be populated "for free" as port distfiles updates happen. Submitted by: bapt (earlier version) Reviewed by: bapt, bdrewery Approved by: portmgr (bdrewery) Differential Revision: https://reviews.freebsd.org/D6031
* Add a CHANGES entry about USES=gem.mat2016-04-281-0/+5
| | | | Sponsored by: Absolight
* Commit a forgotten CHANGES entry.mat2016-04-271-0/+7
| | | | Sponsored by: Absolight
* USE_RC_SUBR=yes has not done anything for a long time, remove it frommat2016-04-141-1/+6
| | | | | | the few remaining ports and make it give an error. Sponsored by: Absolight
* Add CONFIGURE_OUTSOURCE supportjbeich2016-04-131-0/+12
| | | | | | | | | | | If CONFIGURE_OUTSOURCE is defined HAS_CONFIGURE invokes configure script and builds the port out of source tree, under ${WRKDIR}/.build by default. The feature is inspired by USES=cmake:outsource and USES=qmake:outsource. PR: 208294 Exp-run by: antoine Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D4157
* Add a CHANGES entry concerning the change about PORTSDIR in the dependency linesbapt2016-04-021-0/+14
|
* Introduce GH_TUPLE.mat2016-03-021-0/+9
| | | | | | | | | | | GH_TUPLE allows one to put all the GH_{ACCOUNT,PROJECT,TAGNAME} into one variable, in the form of account:project:tagname[:group]. It is helpful when there are many submodules. PR: 204772 With hat: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D4514
* Move Mk/bsd.gnome.mk and Mk/bsd.mate.mk to Mk/Uses/.kwm2016-02-081-0/+12
| | | | | | | | | | | | | | | | To use the GNOME or MATE components activate it by adding gnome or mate to USES. The usage of USE_GNOME/INSTALL_ICONS and for example GLIB_SCHEMAS has stayed the same. Like with USES, the use of USE_GNOME and so after bsd.port.pre.mk is now forbidden. And adapt ports that where still doing that. Exp-runs done by: antoine@ PR: 205432 Reviewed by: antoine@, mat@ Approved by: portmgr (antoine@) Differential Revision: https://reviews.freebsd.org/D3653
* Mention new supported LICENSE valuesamdmi32016-01-121-0/+10
| | | | Approved by: portmgr (implicit)
* We are actually in 2016 :)bapt2016-01-111-1/+1
| | | | Reported by: Scott Bennett <bennett@sdf.org>
* Introduce 2 new USES: sqlite and firebirdbapt2016-01-111-0/+6
| | | | | sqlite and firebird handling code has been extracted from bsd.databases.mk add an entry in bsd.sanity.mk to mark USE_SQLITE and USE_FIREBIRD as deprecated
* Change the meaning of NO_WRKSUBDIR to force a WRKDIR != WRKSRC.mat2015-11-051-0/+17
| | | | | | | | | | | | | | | | | | | | Right now, NO_WRKSUBDIR means that the extraction does not produce a subdirectory, and that everything goes straight into WRKDIR. It is problematic, because during the build of a port, quite a few files are created in there, and then, a stage directory, where everything is installed, and then a pkg directory where the package is created, and those often conflict, or get in the way, of the building process. With this, NO_WRKSUBDIR will extract the distfiles directly into WRKSRC instead of WRKDIR. In this case, WRKSRC is artificial and is based on PKGNAME and not DISTNAME, mitigate conflicts with rc files. PR: 204056 Submitted by: mat Reviewed by: bapt Exp-run: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D2735
* - Add shebangfix documentation bitsamdmi32015-10-221-0/+15
| | | | | | | - Fix tcl_OLD_CMD tk_OLD_CMD Approved by: portmgr (bapt) Differential Revision: D3939
* Readd PORTSDIR for now we will only start removing them after 2016Q1 is branchedbapt2015-10-151-14/+0
| | | | | This gives more time for tools to get updated, available in packages etc before bothering users
* Drop the necessity to add ${PORTSDIR} to dependency linebapt2015-10-151-0/+14
| | | | | | | | | | | Modify make describe to automatically prepend ${PORTSDIR} if the path for the port is not absolute Checked with poudriere, portmaster, portupgrade PR: 203685 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D3866
* Rewording missed from previous commitamdmi32015-09-291-2/+2
|
* Implemented complete support for test target.amdmi32015-09-291-0/+20
| | | | | | | | | | | | | | | | | | | | | | You can now `make test' on any port to run test sequence, no-op by default. If a port defines TEST_TARGET, it'll run sub-make with specified target, usually `check' or `test', useful if upstream supports that. The port may instead define custom do-test target, as well as usual satellite targets: {pre,do,post}-test, {pre,do,post}-test-OPT, {pre,do,post}-test-OPT-off `make test' builds and stages port first, so test may use both WRKDIR and STAGEDIR, and both BUILD and RUN depends are available for test target. Additionally, TEST_DEPENDS is now properly supported and may be used to define additional depends specifically for testing. Framework may define default tests for specific cases. For instance, perl5.mk and cran.mk already provide default test target on their own. This commit also converts my ports which have tests to this new framework. Approved by: portmgr (bapt) Differential Revision: D3680
* Extend @sample to accept argumentsbapt2015-09-261-1/+10
| | | | | | | | Maintainers can now use @sample sample_file target_file for all cases that does not fall into the usual @sample something.sample Reviewed by: antoine Differential Revision: https://reviews.freebsd.org/D3734
* Document @{pre,post}[un]exec in CHANGESbapt2015-09-261-0/+12
|
* Make it so that the default Perl is always called perl5.mat2015-09-141-0/+6
| | | | | | | | | | | | | | | | - Move Perl's man1 files along with its man3 files. - Move where Perl installs its modules man1 pages. - Convert the ports installing man1 pages. - Make different Perl versions installable at the same time. Though you should note that only the default version can be used to install Perl modules, and the non default Perl versions cannot use the modules installed via ports if they contain .so as they are installed in a version specific directory. Reviewed by: bapt (the Mk bits) Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3542
* Add generic opt_VARS/opt_VARS_OFF.mat2015-08-281-0/+11
| | | | | | | | | | | OPT1_VARS= foo=bar baz+=bam will set FOO to bar and append bam to BAZ if OPT1 is enabled. <opt>_VARS_OFF works the same way, if the option is disabled. Reviewed by: bapt Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3410
* Document r394572 in CHANGES.rakuco2015-08-181-0/+6
|
* Introduce <opt>_IMPLIES and <opt>_PREVENTS to register dependencies, ormat2015-08-181-0/+14
| | | | | | | | conflicts, between options. PR: 191144 Submitted by: adamw Sponsored by: Absolight
* Remove UNIQUENAME and LATEST_LINK.mat2015-08-171-0/+8
| | | | | | | | | | | | | | | | | UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now, we won't have conflicts there. Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel has the correct PKGNAME anyway. Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called OPTIONS_FILE now.) Reviewed by: antoine, bapt Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3336
* Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.kwm2015-07-171-0/+7
| | | | | | | | | | Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection. Arguments supported: <empty>, build, run, nox11 and agpl PR: 201201 (exp-run) Approved by: portmgr (mat@) Exp run by: antione@ (previous patch) Differential Revision: https://reviews.freebsd.org/D2938
* Introduce target option helpers.mat2015-07-011-0/+32
| | | | | | With hat: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D2944
* Document the removal of USE_RCORDERbapt2015-06-231-0/+6
|
* Introduce USE_GITHUB=nodefault to allow fetching additional distfilesmat2015-05-291-0/+7
| | | | | | | from github, but not the default one. With hat: portmgr Sponsored by: Absolight
* USE_GITHUB can now fetch multiple distfiles. It uses a grouping featuremat2015-05-291-0/+29
| | | | | | | | | | | | | | | similar to MASTER_SITES/PATCH_SITES. Some helpful variables are provided: WRKSRC_<group> for putting things in the right place in post-extract, and DISTNAME_<group>/DISTFILE_<group> for use with EXTRACT_ONLY. PR: 200483 Differential Revision: https://reviews.freebsd.org/D2608 Submitted by: mat With hat: portmgr Exp run by: antoine Sponsored by: Absolight
* Switch PYTHON_REL from a 3 digits number to a 4 digits number to handleantoine2015-05-271-0/+8
| | | | | | | python 2.7.10 Differential Revision: https://reviews.freebsd.org/D2639 Reviewed by: sunpoet, mva
* Remove GH_COMMIT support.mat2015-05-211-0/+5
| | | | | | Differential Revision: https://reviews.freebsd.org/D2606 With hat: portmgr Sponsored by: Absolight
* Mark USE_AUTOTOOLS deprecated and remove support for libtoolize.tijl2015-04-201-0/+9
| | | | Approved by: portmgr (bapt)
* Convert bsd.gnustep.mk to USES=gnustepbapt2015-04-091-0/+11
| | | | | | | | | | | | | Simplify gnustep ports Hook into the regular ports framework: - LIB_DEPENDS for library dependencies - Use regular USE_LDCONFIG Reuse USES=objc (automatic) USE_GNUSTEP is now a macro to set the dependencies and build feature needed. Accepted arguments: back base build gui Merge deskutils/preferencepanes into deskutils/systempreferences
* Document the new USES=waf into CHANGESbapt2015-04-081-0/+20
|
* USE_BZIP2 and USE_XZ are not used anymore in the ports tree mark them asbapt2015-04-071-0/+6
| | | | unsupported
* - track subversion http module activation change in the correct fileohauer2015-04-071-7/+0
| | | | (move entry from CHANGES -> UPDATING)
* Document recent changesbapt2015-04-011-0/+16
|
* - document new subversion httpd module fileohauer2015-04-011-0/+7
|
* Document removal of PTHREAD_LIBS/PTHREAD_CFLAGSbdrewery2015-03-271-0/+6
|
* Undocument BSDMAKE from r381977 as I have thought of a better way and willbdrewery2015-03-231-7/+0
| | | | | | likely revert it. With hat: portmgr
* Introduce a BSDMAKE?= /usr/bin/make and use it as the default MAKE_CMD.bdrewery2015-03-231-0/+7
| | | | With hat: portmgr
* Remove GITHUB_RELEASE MASTER_SITE from r375010 as it is now redundant with ↵bdrewery2015-03-201-0/+8
| | | | | | | | | | | GITHUB. The new GITHUB MASTER_SITE from r381618 now supports not setting GH_COMMIT and only having GH_TAGNAME default to DISTVERSION. All of these ports as-is. With hat: portmgr
* Note that GH_TAGNAME can be any length of the git hash.bdrewery2015-03-201-0/+3
|
* Update USE_GITHUB so it does not require GH_COMMIT.bdrewery2015-03-201-0/+14
| | | | | | | | | | | | | | | | | 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. The following MASTER_SITES are provided to retain the old checksum and directory structure (that require GH_COMMIT): GH -> GHL GITHUB -> GITHUB_LEGACY Differential Revision: https://reviews.freebsd.org/D748 Submitted by: amdmi3 Reviewed by: mat, swills, antoine, bdrewery With hat: portmgr
* The FreeBSD Xfce team proudly presents Xfce 4.12.olivierd2015-03-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Announce: http://www.xfce.org/about/news/?post=1425081600 Global changes: - Switch to USES= xfce (D677) - Reorganize options helper - Fix USES= gettext-* when NLS option is not set [1], [2] - Add LICENSE (when missing) Update: - to 4.12 (core components) - audio/xfce4-mpc-plugin to 0.4.5 - deskutils/xfce4-tumbler to 0.1.31 - deskutils/xfce4-xkb-plugin to 0.7.1 - editors/mousepad to 0.4.0 - graphics/ristretto to 0.8.0 - multimedia/xfce4-parole to 0.8.0 - sysutils/garcon to 0.4.0 - sysutils/xfce4-diskperf-plugin to 2.5.5 [3] - sysutils/xfce4-fsguard-plugin to 1.0.2 - sysutils/xfce4-power-manager to 1.4.3 - sysutils/xfce4-wavelan-plugin to 0.5.12 - x11/libexo to 0.10.3 - x11-fm/thunar to 1.6.6 - x11-themes/gtk-xfce-engine to 3.2.0 PR: 196003 [1], 197251 [2], 198132 Differential Revision: https://reviews.freebsd.org/D677 Submitted by: Kamil Szczesny [1], amdmi3@ [2], myself Exp-run by: antoine@ Approved by: danilo@ (maintainer) [3] Tested by: Ivan <enitarzi@gmail.com>
* Introduce new USE_QT4 component linguisttools for lrelease/lupdate toolsmakc2015-02-251-0/+9
| | | | | | | | | split from from devel/qt4-linguist (similar to Qt 5 ports). These console tools are often used for localization support in Qt ports, having them standalone is quite useful. This work is based on Tobias Berner patch [1]. PR: 190929 [1] Requested by: amdmi3, koobs
* Make Perl link all .so it builds with libperl.so.mat2014-12-171-0/+9
| | | | | | | | | | | | | | | | 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. PR: 195821 Differential Revision: https://reviews.freebsd.org/D1241 Submitted by: mat Reviewed by: antoine, bdrewery Exp-run by: antoine With hat: perl Sponsored by: Absolight
* Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. Thetijl2014-11-301-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | first contains runtime libraries such as libintl and the latter contains developer tools such as msgfmt. Ports that use gettext will usually need a LIB_DEPENDS on gettext-runtime and a BUILD_DEPENDS on gettext-tools. USES=gettext-runtime can be used to set a LIB/BUILD/RUN_DEPENDS on devel/gettext-runtime and USES=gettext-tools can be used 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. Update gettext to 0.19.3. Remove :oldver from converters/libiconv and devel/gettext-runtime. Leave symlinks with the old library versions to avoid the need to bump PORTREVISION on a large number of dependent ports. When most of the dependent ports have had normal version updates, PORTREVISION can be bumped on the remaining ones (low number) and the links can be removed. Fix some ports that installed files in lib/locale instead of share/locale. PR: 194038 Reviewed by: bapt Exp-run: antoine Approved by: portmgr (antoine)
* Change the way Perl modules are installed, update the default Perl to 5.18.mat2014-11-261-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgr
* Finally retire USE_PGSQLcrees2014-11-231-0/+10
|
* Introduce the SITE_ARCH variable containing SITE_PERL/PERL_ARCH.mat2014-11-181-0/+6
| | | | | With hat: perl@, portmgr@ Sponsored by: Absolight
* - Enable SSP by default.bdrewery2014-11-031-0/+8
| | | | | | | | | | | This is the culmination of years of work and testing including work by jlh@. This will enable SSP by default for all amd64 releases, and i386 releases 10.0 and over. With hat: portmgr Tested by: multiple exp-runs, CFT package repository, CFT ports Discussed with: bapt, antoine
* Add an example with @exec too.mat2014-10-081-0/+3
| | | | Sponsored by: Absolight
* Note @cwd being deprecated.mat2014-10-071-0/+15
| | | | Sponsored by: Absolight
* Add BUNDLE_LIBS knob to prevent pkg(8) from automatically add provided shlibsbapt2014-10-021-0/+7
|
* Remove support for old autoconf and automake versions from USE_AUTOTOOLS:tijl2014-10-011-0/+6
| | | | | | autoconf213, autoheader213, aclocal14 and automake14 Approved by: portmgr (bapt)
* If either of OSVERSION or UNAME_r is improperly set when building in abdrewery2014-10-011-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | jail/chroot, a number of unexpected errors can occur. 1. autotools fixup may not run when needed. This could be avoided by always running it [PR 177980, 177403]. 2. Not having UNAME_r set will cause many unknown errors. Many ports use OSREL (derived from UNAME_r) to determine the name of files. This is usually also due to the port build itself using uname -r to derive filenames or 'built for' messages. [PR 192449, 191943] Without having these sanity checks it is very easy for users to get into situations where "everything worked" until they touch a certain port that reads uname(1) output or OSVERSION. It has always been necessary to define all of the UNAME_ vars and OSVERSION (or have a proper sys/param.h present), but many users do not know this. Remove the fallback on the kernel for kern.osreldate as it easily gets the answer wrong. I have added sanity checks to ensure OSVERSION==OSREL==UNAME_r as these are the most critical vars to have set properly. Differential Revision: https://reviews.freebsd.org/D869 PR: 177980, 177403, 192449, 191943 Reviewed by: antoine, bapt, gjb With hat: portmgr
* Add hint as to where @stopdaemon has gone.mandree2014-09-251-21/+20
| | | | | | Revise language and spelling of the more recent entries a bit, sometimes advancing a line break by one or a few words, and replace the word 'credentials' in the @dir-related entry.
* Proofread the 20140922 CHANGES entry.rakuco2014-09-241-4/+4
|
* Document recent changes in plist handlingbapt2014-09-221-0/+19
|
* - Remove last uses of USE_AUTOTOOLS=libtool from bsd.gnome.mktijl2014-09-171-0/+10
| | | | | | | | (lthack, ltasneededhack and ltverhack) [1] - Remove support for USE_AUTOTOOLS=libtool and USE_AUTOTOOLS=libltdl PR: 188978 [1] Approved by: portmgr (bapt)
* Document r368281.tijl2014-09-171-0/+11
| | | | Requested by: adamw
* Remove support for pkg_installbapt2014-09-011-0/+9
| | | | | | | | Merge back bsd.pkgng.mk into bsd.port.mk Add a note about @stopdaemon not being supported anymore With hat: portmgr Differential Revision: https://reviews.freebsd.org/D693
* Remove support for NO_STAGEbapt2014-09-011-0/+5
| | | | | | | | Mark all current non staged ports as BROKEN Reviewed by: antoine Exp-run: antoine Differential Revision: https://reviews.freebsd.org/D693
* Document r366154antoine2014-08-261-0/+5
|
* - Rename PYTHON_FEATURES to USE_PYTHON to comply to USE_PERL5 and to avoid amva2014-08-151-3/+3
| | | | | | | | | | | | conflict in behaviour with the read-only COMPILER_FEATURES knob - Fix the deprecated USE_PYTHON_BUILD and USE_PYTHON_RUN behaviour, which usually should be mutually exclusive, but some ports include both knobs Phabric: D581 Recommended by: danfe@, makc@ Reviewed by: danfe, wg, antoine Approved by: portmgr With hat: python@
* - Fix typosunpoet2014-08-101-2/+2
|
* Convert the Python framework bits to USES=python.mva2014-08-091-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Please use USES=python instead of USE_PYTHON. 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 ... A new PYTHON_FEATURES variable was added, which enables certain features for a port and replaces some knobs at the same time; PYTHON_FEATURES=distutils replaces USE_PYDISTUTILS PYTHON_FEATURES=autoplist replaces PYDISTUTILS_AUTOPLIST PYTHON_FEATURES=py3kplist replaces PYTHON_PY3K_PLIST_HACK PYTHON_FEATURES=noegginfo replaces PYDISTUTILS_NOEGGINFO PYTHON_FEATURES=concurrent replaces PYTHON_CONCURRENT_INSTALL PYTHON_FEATURES=pythonprefix replaces USE_PYTHON_PREFIX Some knobs have been deprecated and are to be removed in the near future: PYTHON_MASTER_SITES - use MASTER_SITE_PYTHON instead PYTHON_PKGNAMESUFFIX - use PYTHON_PKGNAMEPREFIX instead PYDISTUTILS_INSTALLNOSINGLE - deprecated without replacement Some knobs have been removed completely: PYTHON_MASTER_SITE_SUBDIR PYTHON_DISTNAME PYTHON_WRKSRC Several variables specific to the Python framework are no longer passed to the build environment to avoid polluting dependency builds. PYTHON_VERSION is not passed to .MAKEFLAGS anymore PYTHON_DEFAULT_VERSION, PYTHON_DEFAULT_PORTVERSION and PYTHONBASE are not passed to the make environment anymore The conversion required a couple of ports to be updated to fit the changes and new requirements. Those included "bsd.python.mk" directly or contained checks in places, for which the USES framework would fail to provide correct values. Python modules directly using the upstream Python package (such as py-tkinter or py-sqlite3) were updated to avoid using the now unnecessary and remmoved knobs from "bsd.python.mk". Phabric: D399 exp-run: 167368 192357 PR: 167368 192357 Reviewed by: antoine, wg Exp-run award: antoine With hat: python@ Approved by: portmgr
* Now that all LIB_DEPENDS has been switched to modern version, remove supportbapt2014-07-161-0/+5
| | | | | | | for ancient version. Phabric: D415 Reviewed by: swills
* Support for installations based on the easy_install setup.py target hasmva2014-07-091-0/+8
| | | | | | | | | been removed from the Ports framework for Python software. The PYEASYINSTALL_* knobs and support for USE_PYDISTUTILS=easy_install have been removed. Phabric: D299 With hat: python@
* Add a bit about USE_PERL5=fixpacklist here.mat2014-06-291-0/+7
| | | | | Poked by: miwi Sponsored by: Absolight
* Remove the IGNOREFILES feature: it was an unsafe feature allowing to use filesbapt2014-06-231-0/+7
| | | | | | | fetched from untrusted sources directly into the ports tree CR: D269 Reviewed by: portmgr (antoine)
* Introduce a new PYTHON_CONCURRENT_INSTALL knob to support the parallelmva2014-06-081-0/+27
| | | | | | | | | | | | 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}. With hat: python@
* - Remove USE_GMAKE support, please use USES=gmake insteadmiwi2014-05-291-0/+5
|
* Drop compatibility code for USE_DOS2UNIXbapt2014-05-261-0/+5
|
* Convert all :U to :tu and :L to :tlbapt2014-05-051-0/+9
| | | | | | | | | | | | | | Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a replacement for :U and :L (which has been marked as deprecated) bmake which is the default on FreeBSD 10+ only support by default :tu/:tl a hack has been added at the time to support :U and :L to ease migration. This hack is now not necessary anymore Note that this makes the ports tree incompatible with make(1) from FreeBSD 8.3 or earlier With hat: portmgr
* Document r352514bapt2014-05-011-0/+9
|
* When linking a library libA with a library libB using libtool, if libB.latijl2014-04-231-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | exists, libtool will add all libraries libB.la refers to (dependency_libs field) to the linker command line and store them in the dependency_libs field of libA.la. So everything that subsequently links with libA will also link to these extra libraries. This causes too much overlinking. This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs field in .la libraries during staging. However, because .la libraries have very limited use when dependency_libs is empty it makes sense to completely remove them during staging. So with this commit USES=libtool is modified to remove .la libraries and a new form (USES=libtool:keepla) is introduced in case they need to be kept (dependency_libs is still emptied). PORTREVISION is bumped on all ports with USES=libtool that install .la libraries. Most ports are also changed to add :keepla because .la libraries have to be kept around as long as there are dependent ports with .la libraries that refer to them in their dependency_libs field. In most cases :keepla can be removed again as soon as all dependent ports that install .la libraries have some form of USES=libtool added to their Makefile. PR: ports/188759 Exp-run: bdrewery Approved by: portmgr (bdrewery)
* - Rename check-orphans to check-plist. Keep the old for backwards-compat.bdrewery2014-04-191-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Bug fixes: makeplist/check-plist: - Fix showing directories owned by RUN_DEPENDS/LIB_DEPENDS [1] - Use proper "rmdir PATH" syntax, not "rmdir >/dev/null... PATH" which pkg will not recognize. - Never consider base /etc/mtree/BSD.usr.dist or LOCLABASE Templates/BSD.local.dist as needing @dirrm handling. check-plist: - Fix showing PORTDOCS/PORTEXAMPLES files when the OPTIONS are not set. makeplist will still suggest them. - Fix showing files installed through unselected OPTIONS as orphans, by considering "@comment file" to be ignored. [2] - Fix @sample, @fc, @fcfontsdir, @fontsdir support - Fix return status when orphans are found to be non-zero - Add note when PREFIX=!LOCALBASE - Be more clear when orphans/no orphans are found. - Add a whitelist mechanism for globally approved ignores. - Add *.bak/*.orig to orphan whitelist for now. - Fix false-positive with dirs installed to /, such as with archivers/dpkg creating /var/db/dpkg - Fix false-positive with @dirrm ending in /, such as with ports-mgmt/poudriere with a @dirrmtry share/zsh/ - There are likely still some false-positives. I fixed as many as I could find. Please let me know of others. * One in particular that is not easily fixable is installing a file into a directory owned by another port where that other port is not a run-time dependency. So the leaf port may create all of the parent dirs and never clean them up. Cleaning them up is not proper unless no other package is depending on them. This will be addressed by pkg(8) once pkg_install is EOL, or sooner. - Consider @dirrm of directories owned by run-time dependencies, or /etc/mtree/* or Templates/BSD.local.dist (at LOCALBASE) as fatal errors. These should not be removed in the plist. @comment lines are not considered for this; they will not ignore an error. ===> Checking for directories owned by dependencies or MTREEs Error: Owned by dependency: @dirrmtry share/locale/af/LC_MESSAGES Error: Owned by dependency: @dirrmtry share/locale/af Error: Owned by dependency: @dirrmtry %%PERL5_MAN3%% - Detect files in plist that do not exist in the stagedir. Pkgng already did this, but now we have it unified with this check. @comment lines are not considered for this; they will not ignore an error. ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: foo Error: Missing: @dirrmtry bar - Change orphaned output due to several new errors introduced: ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: foo - Send errors to stderr check_leftovers.sh: - Prefer longer values for PLIST_SUB. bsd.options.mk: - Fix NOPORTDOCS/WITHOUT_NLS/NOPORTEXAMPLES not unsetting their respective OPTIONS. - Mark NOPORTDOCS/NOPORTEXAMPLES deprecated and hook them into the OPTIONS_WARNING to tell users the new format. - check-stagedir.sh refactoring: - Switch to using new PLIST_SUB_SED - Use ! instead of , in sed(1) regex to allow files/dirs with ',' - Rework PORTEXAMPLES/PORTDOCS handling so it acts on PLIST_SUB_SED'd value and not absolutes. Also simplify the regex for these a bit to allow reuse. - No longer need DOCSDIRS/EXAMPLESDIR in env - Wrap long lines - Unset some vars in env when they are done being used to free space for larger sed vars - Cleanup redundant sed regexes - Add a Scripts/plist_sub_sed_sort.sh to prefer longer values when substituting over shorter values. - 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 [2]: @comment file @comment @dirrmtry dir Reviewed by: mat (much earlier version) Discussed with: mat, antoine, bapt, swills (various bits) With hat: portmgr PR: ports/185561 [1] Reported By: Alexander Yerenkow <yerenkow@gmail.com> [1] Tested with: pkg and pkg_install Reported by: many (false-positives) [2] This is a partial solution, we may still need a plist.ignore too. It doesn't make much sense to add files in main pkg-plist we don't care about, but maybe it does since you'll see and reconsider them being ignored someday. @comment is used as all the OPTION PLIST_SUB deactivations use @comment instead of something like @ignore.
* - Make default target "make stage" if staging supported.bdrewery2014-04-171-0/+6
| | | | | | | | | This is so that 'make' followed by 'make deinstall install' will, by default, have a much shorter period of files missing on the system as it is without staging. Discussed with: bapt With hat: portmgr
* - Add a @sample plist keywordbdrewery2014-04-121-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It accepts a file (must end in .sample, this is not configurable): @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 [1] This somewhat obsoletes work in ports/157168 which added CONF_FILES, but we have been moving towards more logic in pkg-plist where possible and less magical macros. Though this thinking does clash with autoplist ideas. We may still want CONF_FILES, which just drops a list of @sample entries into the plist anyway. - Add a Keywords/pkg_install.awk and hook it into generate-plist. This is for pkg_install compatibility since it does not know how to read Keywords/sample.yaml. This file gives us a strategy to implement more keywords before pkg_install is EOL. Keywords are documented here: https://github.com/freebsd/pkg/commit/bffc31420b1fd6146a43c9abcd45109dd901198a - This needs to be documented in PH and portlint support added still. PR: ports/157168 [1] Discussed with: bapt Reviewed by: bapt Requested by: many With hat: portmgr
* Two new USES added to finish handling distfiles formats a consistent way:bapt2014-03-121-0/+14
| | | | | | | | | | | 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
* Add a note for USES=zip and USES=makeself which were recently added by baptrene2014-03-081-0/+10
| | | | Requested by: mat
* KDE/FreeBSD team is happy to present Qt 5 in ports!makc2014-03-041-0/+7
| | | | | | | | | | Alberto Villa (avilla@) has done all the hard work to create Qt 5 ports. Trivial update from 5.2.0-beta1 to 5.2.1 by me. Special thanks for Adriaan de Groot <groot@kde.org> for his assistance for Qt-5.2.0 update. Approved by: portmgr (bapt) (for Mk/bsd.port.mk)
* - Whitespace cleanupmiwi2014-01-291-11/+11
|
* Add two new options helpers:mat2014-01-281-0/+11
| | | | | | | | | | | ${OPT}_${TYPE}_DEPENDS_OFF=<something> will automatically add: ${TYPE_DEPENDS}+=<something> in case OPT is 'off' ${OPT}_${FLAG}_OFF=<something> will automatically add: ${FLAG}+=<something> in case OPT is 'off' With hat: portmgr Sponsored by: Absolight
* New USES=uniquefiles to make files or directories uniquemva2014-01-121-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Reviewed by: portmgr@ Approved by: portmgr@
* - Remove lang/python as implicit build and run dependency frommva2013-12-191-0/+22
| | | | | | | | | | | | | | | | | | | | | | bsd.python.mk Ports need to use a designated python interpreter, whether this is the default one chosen by the user (or provided by the system) and pulled in via USE_PYTHON[_BUILD|_RUN]=yes or an explicit version or version range pulled in via USE_PYTHON[_BUILD|_RUN]=X.Y does not matter. Ports should however not rely on 'python' at build or installation time, whenever possible to avoid problems with building packages for different python versions. This change tries to raise the barrier for misbehaving ports and eases package builds for different python versions. Tested with: exp-run (ports/184591) Reviewed by: wg@, koobs@ Supported by: wg@ With hat on: python@
* New USES=fortran to replace USE_FORTRAN.tijl2013-12-131-0/+14
| | | | | | | | | | | 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.
* New USES=twisted, to replace the old USE_TWISTED knob.mva2013-12-081-0/+17
| | | | | | | | | | | | | | 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
* Remove ltverhack's hard depend on USE_AUTOTOOLS=libtool.kwm2013-11-201-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | The problem with the old method is that the libtool is configured to look first in LOCALBASE for libraries to link to. Normaly this wouldn't cause a problem. However if a port that builds a library with new API also builds introspection files or say gtk bindings, then libtool will look first into LOCALBASE and find the old library version for linking the introspection files or gtk bindings. Due to the missing new API in old library the build will fail with unresolved symbols. The new ltverhack will patch the ltmain.sh and/or libtool files that where bundled with the port. This libtool is correctly configured to first look in for the just build libraries. If the port bundled version of ltmain.sh and/or libtool aren't in ${WRKSRC} then ltverhack_PATCH_FILES can be overwritten with there location in ${WRKSRC}. As a bonus when using the new ltverhack configure will honor --disable-static again. So please check your plist after converting. While here shorten the number of tabs in the lthacks, ltverhack and ltasneededhack PRE_PATCH components so they are just over 80 chars long. Exp-run by: bdrewery@ PR: ports/183936 Obtained from: gnome dev repo
* Indent 20131031 entry like the rest of the file.kwm2013-11-201-10/+10
|
* Add a description of USES=kmodrene2013-10-311-0/+14
|
* - Remove manual creation and removal of share/applications, as it's now in ↵amdmi32013-10-221-0/+6
| | | | | | | | the mtree (remaining categories) - Add note on mtree change to CHANGES Approved by: portmgr (bdrewery)
* - Fix typosunpoet2013-10-201-1/+1
|
* New USES=compilerbapt2013-10-091-0/+18
| | | | | | | | | | | | | | | | | | 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 Please note that testing tinderbox prior to version: 4.0.1_1 is not able to properly figure out the dependencies implied by this USES.
* - Add new USES= qmake (with staging support)makc2013-10-091-0/+8
| | | | Approved by: portmgr (bapt)
* - PATCHFILES now support an optional :-pX flag that notes which patch stripbdrewery2013-10-051-0/+9
| | | | | | | | | | | 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] PR: ports/168222 Submitted by: knu With hat: portmgr
* Introduce the new "scons" USES. The goal is to replace the old bsd.scons.mkbapt2013-10-031-0/+6
| | | | | Instead of redifining the building target, let's just reuse the existing ones. Bonus, MAKE_JOBS is now respected
* Add an entry about "create packages as a user"bapt2013-09-241-3/+16
|
* - add new USES target: zope, and convert the tree to itrm2013-09-231-0/+8
| | | | | | | | | | - old USE_ZOPE knob support was removed from bsd.python.mk - update CHANGES and bsd.sanity.mk accordingly - add ZOPE options knob and use it in lang/py-mx-base The work is done by Marcus von Appen, but any problems are mine. Submitted by: mva (python ML)
* Add support for staging area in the ports treebapt2013-09-231-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 exect directories left. It is really important to double check the pkg-plist to make sure all the files the maintainer want to package are in! make makeplist can help in that area. The goal is to handle as quickly as possible a full removal of the NO_STAGE support. More features can be added once the full ports tree is converted to using the staging area Conversion notes: - Remove NO_STAGE - in {pre,do,post}-install * Before any usage of ${PREFIX}, ${ETCDIR}, ${PORTSDIR}, ${PORTEXAMPLES} prepend ${STAGEDIR} * Remove any thing that is done by @exec or +INSTALL script it will be done automatically when syncing packages * Remove any code to show PKG-MESSAGE it will be done automatically when syncing packages * Directory creation should remain in post-install (in particular because pkgng doesn't work like pkg_install in that area and pkgng ignores the @exec mkdir but directly pack the directory even if empty) - PORTDOCS/PORTEXAMPELS To support PORTDOCS, PORTEXAMPLES most of the time there is no more need for hacks. just add the right %%PORTDOCS%% or %%PORTEXAMPLES%% in your plist then the given files from the stagedir will or will not sync according to NOPORTDOCS and NOPORTEXAMPLES. With hat: portmgr Reviewed by: bdrewery
* - Rename public name of SSP support to WITH_SSP_PORTS as /usr/srcbdrewery2013-09-221-2/+2
| | | | | | | | | | | has issues with 'installworld' when WITH_SSP is defined. [1] Keep WITH_SSP support for now since it has been announced as that already. - Remove redundant wording in UPDATING [2] Suggested by: bapt [1] Reported by: blakkheim on EFNet With hat: portmgr
* SSP support has been added to ports with WITH_SSP for i386 and amd64bdrewery2013-09-201-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 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. Many thanks to jlh@ for this as he had many years of patience in getting all of the necessary pieces [1][2] in. [1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup PR: ports/138228 [2] Submitted by: jlh (bsd.ssp.mk based on) Reviewed by: bapt With hat: portmgr exp-runs done: 37 over a month on 91i386,91amd64,10i386,10amd64
* - Document the addition of tcl/tk to the USES and DEFAULT_VERSIONS framework.gahr2013-09-191-0/+14
|
* Remove the old perl framework, that also means all the perl code is not ↵bapt2013-09-181-0/+11
| | | | | | | | | loaded inconditionnaly anymore Huge thanks for az@ for his hard work on the subject! PR: ports/172608 Submitted by: az
* - proper formatingaz2013-09-071-1/+4
| | | | Noticed by: avg@
* - Make ports use the libc provided iconv implementation on 10-CURRENTmadpilot2013-09-051-0/+18
| | | | | | | | | | after r254273 - Fix a bunch of ports to properly work after this - Mark converters/libiconv as IGNORE for systems with iconv in libc Reviewed by: bapt Approved by: portmgr (bapt) Discussed with: bapt, bsam (who both contributed ideas and code)
* Back to the presentbapt2013-09-041-1/+1
| | | | Reported by: madpilot
* Document the removal of USE_GNOME=pkgconfigbapt2013-09-021-0/+6
|
* - Add USE_PACKAGE_DEPENDS_ONLY which will try installing dependenciesbdrewery2013-08-311-0/+7
| | | | | | | | | | | | | | | from existing packages and not fallback on building from source. This is useful for package building tools such as poudriere and tinderbox to avoid building from source and confusing the build log, if a dependency failed to build for some reason. NOTE: USE_PACKAGE_DEPENDS has not changed here. It has always reverted to source if the package was not present. PR: ports/180725 Submitted by: crees With hat: portmgr
* Back to the presentbapt2013-07-311-1/+1
| | | | Reported by: feld
* Typobapt2013-07-311-1/+1
|
* Document the new USE=perl5bapt2013-07-311-0/+33
|
* KDE3 and QT3 expired on 2013-07-01, remove these ports.rene2013-07-271-0/+10
| | | | | | | | | | | | | | | | Unfortunately, this also affects some ports using QT3 as a GUI toolkit. Changes to infrastructure files: - bsd.kde.mk : obsolete, remove - bsd.qt.mk : note that a CONFLICTS_BUILD line can probably go after a while - CHANGES : document the removals from bsd.port.mk - KNOBS : remove KDE and QT (KDE4 and QT4 should be used instead) - MOVED : add the removed ports PR: ports/180745 Submitted by: rene Approved by: portmgr (bapt) Exp-run by: bapt
* New USES imake to handle the dependency on imake.bapt2013-06-281-0/+12
| | | | | | | | | | | | | | | | | | | | | | This uses accept 'env' as an argument for ports that do use their own or a different do-configure target. Modify xmkmf so it accept IMAKECPPFLAGS as default flags for imake and pass it to the called imake. Modify xorg-cf-files (the FreeBSD.cf configuration file) to allow CppCmd to be overwritten. Pass CppCmd CcCmd and CplusplusCmd via command line to each call of imake via IMAKECPPFLAGS Pass IMAKE_DEFINE with the above arguments to MAKE_ARGS so that imake spawned from Makefile generated by a previous imake also inherit the defined CppCmd CcCmd and CplusplusCmd. Make imake use devel/tradcpp all the time, so that when buidling with clang we do not depend on gcc's cpp. Make imake respect CC and CXX Make imake respect USE_GCC (if set imake will use gcc's cpp). While here: - Remove a couple of indefinite articles from comments - Trim headers - Fix a couple of ports to build with clang or use: USE_GCC=any - Fix a now useless redefinition of the extraction chain - Fix a typo in japanese/Wnn7-lib bundled imake template definitions - Fix some XMKMF execution with no env specified - Use options helper in x11/xautolock to simplify the port
* Fix AUTHORS line in the last entrybapt2013-06-261-1/+2
|
* Add a new USES: fmakebapt2013-06-201-1/+8
| | | | | This uses will allow to build ports using the legacy FreeBSD make, for ports not compatible with bmake
* Fix two typos: add two trailing curly braces.bsam2013-06-201-2/+2
|
* Document the fact that _DEPENDS now also has per options helpersbapt2013-06-141-0/+3
|
* Add a forgotten helper:bapt2013-06-141-0/+6
| | | | ${OPT}_CMAKE_ON and ${OPT}_CMAKE_OFF
* New macros to help dealing with ports that have options:bapt2013-06-141-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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=<aname> will automatically add: CONFIGURE_ARGS+=--enable-<aname> in case OPT is activated CONFIGURE_ARGS+=--disable-<aname> in case OPT is deactivated ${OPT}_CONFIGURE_ON=<something> will automatically add: CONFIGURE_ARGS+=<something> in case OPT is activated ${OPT_CONFIGURE_OFF=<something> will automatically add: CONFIGURE_ARGS+=<something> 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' Reviewed and tested by: bdrewery
* Add a USES display to replace USE_DISPLAY.bapt2013-06-141-0/+13
| | | | | | as USE_DISPLAY it will handle the dependencies needed for a display. But it will also start and stop the Xfvb process during the requested phase the display it needed. it takes 'install' as an implicit argument, but may also accept 'build'
* Fix ports using GH_TAGNAME=master to depend on a known hashbdrewery2013-06-081-0/+8
| | | | | | instead of a branch that changes. With hat: portmgr
* Add WRKSRC_SUBDIR to simplify overriding WRKSRC:bdrewery2013-06-071-0/+12
| | | | | | | | | WRKSRC= ${WRKDIR}/${DISTNAME}/src This becomes: WRKSRC_SUBDIR= src Reviewed by: bapt With hat: portmgr
* Wordingbapt2013-06-061-2/+2
| | | | Submitted by: remko
* Remove support for parsing the old OPTIONS macro, the compatibility code to ↵bapt2013-06-061-0/+6
| | | | load the old optionsfile and compatibility with WITH_ and WITHOUT_ in make.conf remains for now;
* Document new USES: desktop-file-utils and shared-mime-info.kwm2013-05-091-0/+26
|
* USE_GETTEXT has totally been replaced by USES=gettext thanks, jgh and akbapt2013-05-071-0/+2
| | | | | USE_NCURSES has totally been replaced by USES=ncurses USE_READLINE has totally been replaced by USES=readline
* Add new USES: shebangfixbapt2013-05-071-0/+10
| | | | | | use it to fix shebang on files specified by SHEBANG_FILES macro, by default it proposes default values for bash, perl, php, python, ruby, it can be customized and extended
* Add new USES: ncurses and readlinebapt2013-05-061-0/+16
|
* Introduces USES= iconv to replace USE_ICONV.mva2013-04-271-1/+8
| | | | | | | | | | It takes no arguments. This deprecates USE_ICONV, please convert your ports. USE_ICONV will be removed as soon as it is no more used in the ports tree. Approved by: portmgr (bapt)
* Remove USE_CDRTOOLS from bsd.port.mkbapt2013-04-261-0/+1
| | | | | | | | | | | | This macros has been useless since cdrtools-cjk port has gone. This macros also lead to badly handled dependencies assuming that the dependency on cdrtools was most BUILD and RUN dependency. While most of the time it is simply a RUN dependency and sometime a build one. While here: - Trim some headers - Convert some ports to optionsng - Convert some ports to USES= gettext
* Remove USE_FREETYPE from bsd.port.mkbapt2013-04-261-0/+5
| | | | It added no really value and was used only by 8 ports
* Introduces USES= gettext to replace USE_GETTEXTjgh2013-04-231-0/+13
| | | | | | | | | | | | |   It can take 3 arguments:   build to add gettext into both RUN and BUILD DEPENDS   run to add gettext into RUN_DEPENDS   lib (default,implicit) to add gettext into LIB_DEPENDS   This deprecates USE_GETTEXT. Please convert your ports.   USE_GETTEXT will be removed as soon as it is no longer used in   the ports tree Approved by: portmgr (bapt)
* Fix datebapt2013-04-231-1/+1
| | | | Submitted by: bdrewery
* - Add WITH_CCACHE_BUILD support during 'configure' phasebdrewery2013-04-231-0/+9
| | | | | | | | | | | | | - Add CCACHE_DIR The MAKE_ENV/CONFIGURE_ENV+= method of adding CCACHE_DIR in /etc/make.conf does not work for many ports since they overwrite using = instead of appending with +=. By adding CCACHE_DIR into the ENV variables after reading in the port the directory is properly set in the environment. Without this, the ccache support would sometimes work but incorrectly not respect the set CCACHE_DIR, potentially using 2 caches. With hat: portmgr
* Introduce USES= pkgconfig to replace USE_PKGCONFIGbapt2013-04-231-0/+12
| | | | | | | | | | | It can take 3 arguments: build (default,implicit) to add pkgconf into BUILD_DEPENDS run to add pkgconf into RUN_DEPENDS both to add pkgconf into both RUN and BUILD DEPENDS This deprecates USE_PKGCONFIG, please convert your ports. USE_PKGCONFIG will be removed as soon as it is no more used in the ports tree
* - Add New USES macro to handle support for Zenoss ports and Zenpacks:jgh2013-03-201-0/+7
| | | | | | | | | | USES= zenoss -trim historical headers Convert net-mgmt/zenpack family to new framework PR: 176723 Approved by: maintainer timeout ( 14 days )
* Convert USE_CMAKE to USES macro:makc2013-03-201-0/+15
| | | | | | | | Usage: USES= cmake or USES= cmake:ARGS Valid ARGS: outsource (perform an out-of-source build) Tested by: exp-run (bapt) Approved by: portmgr (bapt)
* Make the ports tree use dialog4ports for make config.bapt2013-03-191-0/+10
| | | | | | | | | | | dialog4ports has been contributed by Ilya A. Arkhipov. It extends dialog(3) to provide a mixed dialog widget allowing to represent all features provide by the new options framework. This allows the ports tree to not anymore depends on dialog(1) from base to configure the options and be able to improve if needed on all supported plateforms at the same time. Exp-run by: miwi
* Document USES=qmailbdrewery2013-03-161-0/+11
|
* Document the introduction of Keywords/info.yaml in CHANGESbapt2013-03-151-0/+7
|
* Add a note about the new USES macro and the new USES= pathfix fusebapt2013-03-071-0/+9
| | | | Reviewed by: miwi
* - Fix Whitespacesmiwi2013-02-081-1/+1
|
* - Document that PTHREAD_CFLAGS and PTHREAD_LIBS are unsupportedgahr2013-02-071-0/+7
| | | | Approved by: bapt (portmgr)
* - introduce a USE_FUSE macroflo2012-12-141-0/+7
| | | | | | | | | - convert all fuse ports to use the new macro The macro makes sure sysutils/fusefs-libs gets installed and depending on fuse being in base or not it installs sysutils/fusefs-kmod. Approved by: portmgr (bapt)
* Extend the options framework providing 2 new macros:bapt2012-12-101-0/+7
| | | | | | | | | | OPTIONS_RADIO: a more user friendly way to allow selecting only 0 or 1 options among a list of options OPTIONS_GROUP: this macros should be used to group options by theme allowing the user to select 0 or N options among a list of options With hat: portmgr Reviewed by: beat
* Minor whitespace and formatting fixes.danfe2012-11-171-3/+3
| | | | Feature safe: yes
* We are in 2012, it is time to activate IPV6 options by default everywherebapt2012-10-101-0/+5
|
* Switching current to use pkgng by defaultbapt2012-10-101-0/+10
| | | | | | | | Adding WITHOUT_PKGNG for people not willing to migrate to pkgng now Hat: portmgr Non-regression: beat Exp-runs: beat
* - Add ccache support for building ports. [1]beat2012-08-301-0/+16
| | | | | | | | | | | | - Fix CONFIGURE_FAIL_MESSAGE to be pkgng-aware. [2] - Resolve symlinks in PREFIX on deinstall. [3] - Introduce CLEAN_FETCH_ENV variable to disable package dependency in fetch target for mass fetching. [4] PR: ports/169579 [1], ports/170552 [2], ports/170784 [3], ports/170796 [4] Submitted by: bdrewery@ [1], crees@ [2], gahr@ [3], ohauer@ [4] Tested on: pointyhat
* - Add support for fetching from GitHub in bsd.sites.mkgahr2012-08-201-0/+22
| | | | | | | | - Document the mechanism in CHANGES - Add www/tivoka (a JSON-RPC client/server library in PHP) which uses the GitHub mechanism Approved by: beat (portmgr) after exp-run
* new devel/pkgconf added to replace devel/pkg-config. new version of pkg-configbapt2012-07-261-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | are no more self hosting so we are stuck with 0.25 version while pkgconf provide the same set of features as 0.27 and a compatible frontend. A symlink to pkg-config has been added for convenience and compatibility This also introduces a new macro to use pkgconf in your ports: USE_PKGCONFIG it can take the following arguments: - yes (meaning build only dep) - build (meaning build only dep) - run (meaning run only dep) - both (meaning run and build dep) From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG The old gnome macro has been modified to use pkgconf but still the sameway: run and build dep to avoid large breakage. While here fix some ports relying on pkg-config but not specifying it, fix some ports broken because testing wrong .pc files, and fix ports using pkg-config --version to determine pkg-config version instead of pkg-config --modversion pkg-config like recommanded by pkg-config With Hat: portmgr Exp-runs by: bapt (pointhat-west), beat (pointyhat)
* - use UPDATING instead CHANGESohauer2012-07-231-5/+0
| | | | noted by eadler@
* - use reserverd UID/GIDohauer2012-07-211-0/+5
| | | | | | | | | | | | | - use ports-framework to create user/group - remove pkg-(de)install - rename patchfiles - rename rc file ( s/.in// ) - bump PORTREVISION with hat apache@ PR: 169953 Submitted by: Marcello Coutinho <marcellocoutinho@gmail.com>
* - Keep questions on a public mailing listbeat2012-07-161-1/+1
| | | | Requested by: eadler
* - Add a note about the switch to Subversionbeat2012-07-161-0/+15
|
* - Fix copy-paste errorak2012-06-251-2/+2
| | | | | | - Bump copyright year Approved by: eadler (mentor)
* Give a passing mention of OPTIONSngcrees2012-06-241-0/+11
| | | | Reviewed by: ak
* - Add CHANGES entry on recent LDFLAGS updateamdmi32011-09-271-0/+19
|
* Describe how CPPFLAGS is now passed to both the configure and makegerald2011-06-071-0/+15
| | | | | | | | environments, so we do not need to manually touch CONFIGURE_ENV and MAKE_ENV any more in many cases. Discussed with: portmgr PR: 153625
* Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-0/+8
| | | | | Approved by: portmgr (for Mk/bsd.port.mk part) Tested by: Multiple -exp runs
* USE_GCC=4.3 is deprecated (and no port uses it anymore). USE_GCC=4.3+gerald2010-06-071-0/+7
| | | | | is transparently rewritten to USE_GCC=4.4+ and lang/gcc43 will be disconnected from the USE_GCC infrastructure soon.
* - Add entry in CHANGES about bsd.licenses*.mk.alepulver2010-05-261-0/+9
| | | | - Fix typo in bsd.licenses.mk (_LICENGE_ERROR -> _LICENSE_ERROR).
* - add 1 missing WITH_APACHEXX option to CHANGES thats now deadpgollucci2010-05-261-1/+1
|
* Bump copyright year to 2010erwin2010-01-031-1/+1
|
* be more specific about WITH_APACHE2 and friendspgollucci2009-12-261-1/+1
|
* Remove myself as maintainer and hand over to portmgrerwin2009-09-151-6/+3
| | | | Feature safe: yes
* Mention the new USERS/GROUPS variable.flz2009-09-071-1/+16
|
* Add a note on the sourceforge change and new bsd.sites.mk macro.erwin2009-08-131-0/+11
|
* - Tell world bsd.port.options.mk are cool nowpav2009-05-211-7/+13
| | | | - Fix formatting of previous entries
* - Document some deaths legacy in bsd.apache.mk variablespgollucci2009-05-171-0/+12
| | | | o) WITH_APACHE2, APACHE_COMPAT, and USE_APACHE=yes
* - Change the wording a bit to point to UPDATING as wellerwin2009-03-031-2/+2
| | | | | | | as the release notes for user visible change. [1] - Belatedly bump copyright year. Submitted by: Matthias Andree <matthias.andree@gmx.de> [1]
* - devel/libslang2 has completely replaced devel/libslang which has not beenpgollucci2009-02-081-0/+8
| | | | | | | | | | | | | | | | | | | | | released in ~5yrs. - WITH_SLANG2 is now no longer a valid ports knob - WITH_SLANG implies devel/libslang2 now - devel/libslang -> devel/libslang2 is a SHARED LIB bump so bump PORTREVISION for affected ports - Take MAINTAINER for most unmaintained ports in this chain - some SF macro conversions - BROKEN with devel/libslang2 and DEPRECATE math/slsc (abandoned upstream) - BROKEN with devel/libslang2 japanese/slirc PR: ports/125255 Reviewed by: garga (libslang maintainer), portmgr (pav) Exp Run by: pav
* - Drop whitespacesmiwi2008-09-081-1/+1
|
* * print/ghostscript-* and related ports have been renamed in thehrs2008-09-061-0/+22
| | | | | | | | | | | | | | | | | | | | | | 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". Approved by: portmgr (pav)
* - Document CONFIGURE_ARGS changes for GNU_CONFIGURE on the syntax forrafan2008-08-211-0/+7
| | | | | | CONFIGURE_TARGET PR: 126524
* - Fix some noticed spelling errorsdanfe2008-07-231-5/+5
| | | | - Spell `overridable' consistently
* Document porter visible changes from bsd.port.mk rev. 1.598pav2008-07-221-0/+7
|
* Document wrapper option for ports-mgmt/pkg_install.flz2008-06-101-0/+8
|
* 20080414 updatespav2008-04-151-0/+12
|
* - Document changes that have an impact on port writerspav2008-03-121-0/+8
|
* Kill EOL space, throw in a bunch of readability improvements.danfe2007-09-201-9/+9
|
* Document bsd.perl.mk and related changes.linimon2007-09-091-0/+16
| | | | | Submitted by: gabor Sponsored by: Google Summer of Code 2007
* - Extract command variable definitions from bsd.port.mk, they are now stored ingabor2007-08-041-0/+16
| | | | | | | | | bsd.commands.mk and can be easily reused within the infrastructure. - Revert old DESTDIR implementation. - Add a new, fully chrooted DESTDIR implementation as bsd.destdir.mk. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav)
* - Make Python 2.5.1 the default Python versionalexbl2007-07-301-0/+13
| | | | | | | | | | - Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav
* - CONFIGURE_ARGS is changed to have --mandir and --infodir when theyrafan2007-07-241-0/+6
| | | | | | are applicable Reminded by: pav
* Add USE_FORTRAN knob. All ports that use FORTRAN shouldmaho2007-07-121-0/+8
| | | | | | use this knob. Approved by: gerald, portmgr (pav)
* - Introduce kld categorypav2007-07-011-0/+7
| | | | Reminded by: sem
* Some spelling and markup nits.danfe2007-06-191-5/+5
|
* s/RELENG_4_EOL/RELEASE_4_EOL/. I probably typed the former because it wouldlinimon2007-06-031-1/+1
| | | | | | have made more sense to me. Submitted by: Mike Brown <mike at skew dot org>
* * Make 'make-deinstall-all' check for moved ports. [1]linimon2007-05-251-0/+22
| | | | | | | | | | | | | | | | | | | | | | | * Defined the installation directories PORTEXAMPLES and PORTDATA. [2] * Add USE_MAKESELF knob is added for ports that use the makeself archiver. [3] * Update the description of fetch-list; add targets fetch-required-list, fetch-url-list, and fetch-urlall-list. [4] * Make 'make search' also search in ports/MOVED. [5] * Move several Makevar definitions to the pre-makefile section: DATADIR, DOCSDIR, ETCDIR, EXAMPLESDIR, WWWDIR. [6] * The target 'ignorelist-verbose' was added for portsmon. [7] PR: 69965 [1], 78490 [2], 79398 [3], 86776 [4], 104161 [5], 110781 [6] Submitted by: Dancho Penev <dpenev at mnet dot bg> [1], mnag [2], jylefort [3], edwin [4], Lars Engels <lars dot engels at 0x20 dot net> [5], Alexander Logvinov <ports at logvinov dot com> [6], linimon [7]
* Belatedly add the 20070313 entry, which was a minor change (add bsd.ocaml.mk;linimon2007-04-261-0/+9
| | | | move bsd.xfce.mk; refactor FETCH_CMD).
* - Talk about porter's visible 2007/04/03 changespav2007-04-031-0/+16
|
* [1] Introduce COPYTREE_BIN and COPYTREE_SHARE macrospav2007-03-241-0/+21
| | | | | | | | | | | | | [2] Fix ECHO_CMD/ECHO_MSG usage in bsd.port.mk [3] Move bsd.efl.mk to ports/Mk [4] Change LIBTOOLFILES default to ${CONFIGURE_SCRIPT} [5] Whitespace sweep [6] Add WWWDIR variable with default value of ${PREFIX}/www/${PORTNAME} PR: ports/100996 [1], ports/100556 [2], ports/100497 [3], ports/104009 and ports/104018 [5], ports/105529 [6] Submitted by: stass [1] [3], gabor [2], pav [4], edwin [5], laszlof [6] Approved by: ade [4]
* * Refine some comments about Linux emulation [1]linimon2007-03-061-0/+11
| | | | | | | | | | | | | | | | | | | | | | | * Fix 'make search' with non-default ${PORTSDIR} [2] * Fix typo in USE_LDCONFIG32 message [3] * Allow USE_PHP after inclusion of bsd.port.pre.mk [4] * Document NO_LDCONFIG_MTREE [5] * Update/enhance description of INSTALLS_SHLIB and USE_LDCONFIG [6] * Remove obsolete code in bsd.port.mk dealing with 4.X and other, even older, releases [7] * Remove references to obsolete ports from bsd.java.mk [8] PR: 105883 [1], 105917 [2], 106195 [3], 106557 [4], 108738 [5], 108739 [6], 108782 [7], 103357 [8] Submitted by: bsam [1], shaun [2], edwin [3], ale [4], gerald [5] [6], linimon [7], kris [7], gabor [4]
* bsd.port.mkpav2007-01-311-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [1] Remove DEPENDS [2] Add a new pkg-plist keyword @stopdaemon [3] Provide rc.subr script suffix as RC_SUBR_SUFFIX [4] Add USE_CDRTOOLS to abstract dependency on sysutils/cdrtool[-cjk] [5] Add DOS2UNIX_REGEX, allowing to pass a filename regex to CRLF replacement routine [6] Support partially translated manpages in MAN* variables [7] Fix USE_LDCONFIG on ports with @cwd in pkg-plist [8] Remove support for XFree86 3.X [9] Add user settable WITH_DEBUG flag that turns on -g in CFLAGS and resets STRIP [9] Fix `make install' to refuse overwriting of older version of the port [10] New category ports-mgmt [11] New category gnustep [12] Removed category picobsd bsd.java.mk [13] Remove deprecated syntax bsd.tcl.mk [14] Provide TCL_VER when USE_TK[_BUILD] is defined. Fixes cad/netgen ports/Makefile [15] Make csup default `make update' method on FreeBSD 6.2 and up PR: ports/99742 [1], ports/93373 [2], ports/100915 [3], ports/105161 [4], ports/106029 [5], ports/106252 [6], ports/106235 [7], ports/100939 [9], ports/97507 [10], ports/103931 [11], ports/106921 [12], ports/104136 [13], ports/105215 [15] Submitted by: sem [1] [2], Matthias Andree <matthias.andree@gmx.de> [3], nork [4], pav [5] [7] [14], Nick Barkas <snb@threerings.net> [6], flz [8], gabor [9], shaun [10], erwin [12], hq [13], Gurkan Sengun <gurkan@linuks.mine.nu> [11]
* - Grammar fixup on latest entrypav2007-01-311-3/+3
| | | | - Bump copyright years
* Add an entry that asking all ports maintainers and portsmaho2007-01-181-0/+7
| | | | that uses Fortran77 to migrate to Fortran90/95 (lang/gcc42).
* Add the changes brought in by the GNOME 2.16 import.marcus2006-10-141-0/+8
| | | | Approved by: portmgr (implicit, kris)
* Document bsd.port.mk 1.544 and associated changes.linimon2006-10-011-0/+16
|
* * Add PKGVERSION to bsd.port.mk [1]linimon2006-09-151-0/+14
| | | | | | | | | | | | | * Add bsd.lua.mk to support for lua-based ports [2] * Remove DESTDIR from bsd.scons.mk [3] * Add some quotes in 'missing' target to improve handling of duplicate origins [4] PR: 98565 [1], 101612 [2], 101952 [3], 102100 [4] Submitted by: ahze [1], alepulver [2], alexbl [3], shaun [4]
* The following functional changes were made to bsd.sites.mk:sat2006-09-031-0/+13
| | | | | | | | | | | * 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.