You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

3697 lines
124 KiB

  1. Updating Information for FreeBSD ports developers
  2. This file is maintained by portmgr@FreeBSD.org and copyrighted by the
  3. FreeBSD Foundation.
  4. This file contains major changes to ports and the ports infrastructure.
  5. Intended audience are ports committers, maintainers and other
  6. developers. User oriented changes should be submitted for inclusion
  7. in the release notes and/or placed into UPDATING.
  8. All ports committers are allowed to commit to this file.
  9. 20200531:
  10. AUTHOR: kde@FreeBSD.org
  11. pyqt.mk gained support for test-only dependencies. If a component, say
  12. py-qt5-gui is only required for testing, you can add
  13. USE_PYQT=<other_deps> gui_test
  14. 20200514:
  15. AUTHOR: mat@FreeBSD.org
  16. Add PATCH_CONTINUE_ON_FAIL to allow patching to go through all the patches
  17. even if one fail.
  18. This helps when upgrading ports with a large number of patches, like
  19. www/chromium where having to fix one patch, re-do the patching, fix the
  20. fallout, 800 times, is really painful.
  21. 20200414:
  22. AUTHOR: bapt@FreeBSD.org
  23. package scripts can now be done in lua, the following are supported:
  24. - pkg-pre-install.lua
  25. - pkg-post-install.lua
  26. - pkg-pre-deinstall.lua
  27. - pkg-post-deinstall.lua
  28. see pkg-lua-script(5) for more details.
  29. 20200414:
  30. AUTHOR: mat@FreeBSD.org
  31. USES=lua gained flavors.
  32. Ports using USES=lua:module or lua:flavors will be flavored. A range of
  33. supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ)
  34. for ports not supporting all lua versions.
  35. USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of
  36. flavored lua ports, in a similar way as PHP or Python flavors.
  37. 20200115:
  38. AUTHOR: bapt@FreeBSD.org
  39. ${PREFIX}/share/man is now a valid location for manpages ${PREFIX}/man being
  40. considered as deprecated.
  41. 20191009:
  42. AUTHOR: bapt@FreeBSD.org
  43. The ipv6 virtual category is gone, it does not make sense anymore in 2019
  44. where the norm in applications is to have support both ipv4 and ipv6.
  45. 20191001:
  46. AUTHOR: bapt@FreeBSD.org
  47. BINARY_WRAPPERS allow to push in front of the PATH wrappers for binaries.
  48. This is useful when 2 tools do provide the same feature, but the configure
  49. scripts do test for some variables which are not in one of the tool.
  50. 20190919:
  51. AUTHOR: madpilot@FreeBSD.org
  52. USES=xfce now defaults to gtk3, so for ported applications requiring
  53. GTK2 XFCE support USES=xfce:gtk2 should be used.
  54. 20190903:
  55. AUTHOR: bapt@FreeBSD.org
  56. The ports tree now supports overlays
  57. overlays are a way to help users to integrate their own ports tree
  58. with the official ports tree without having to maintain clone of the
  59. official tree and remerge on regular basis.
  60. The ports tree will lookup in the overlays (in the order the are listed in
  61. OVERLAY variable) for the dependencies and the USES. It will use the first
  62. found.
  63. in order to use it the user have to declare his overlays that way in their
  64. make.conf:
  65. OVERLAYS= overlay1 overlay2 overlay3
  66. 20181225:
  67. AUTHOR: kde@FreeBSD.org
  68. cmake.mk now defaults to out-of-sourcetree builds. The option 'outsource'
  69. has been removed. Ports that need an intree build now can pass 'insource'.
  70. 20181110:
  71. AUTHOR: bapt@FreeBSD.org
  72. texinfo files are now installed in ${PREFIX}/share/info
  73. 20180630:
  74. AUTHOR: kde@FreeBSD.org
  75. bsd.qt.mk has been replaced by qt.mk. This changes the way ports have to
  76. depend on Qt slightly.
  77. Previously one would have written
  78. USE_QT4=foo bar
  79. or
  80. USE_QT5=foo bar
  81. while now one has to write
  82. USES=qt:4
  83. USE_QT=foo bar
  84. respectively
  85. USES=qt:5
  86. USE_QT=foo bar
  87. Further qmake.mk no longer respects QT_NONSTANDARD. Ports that don't want to
  88. get the configure environment provided by qmake.mk should add the argument
  89. no_env, ports that don't want the configure target should specify no_configure.
  90. 20180506:
  91. AUTHOR: brnrd@FreeBSD.org
  92. All USE_ and WANT_ variables for PHP have been removed and marked
  93. UNSUPPORTED. Use USES= php:<feature> as a replacement.
  94. USE_PHPIZE, USE_PHPEXT, USE_ZENDEXT, USE_PHP_BUILD,
  95. WANT_PHP_CLI, WANT_PHP_CGI, WANT_PHP_MOD, WANT_PHP_WEB, WANT_PHP_EMB
  96. 20180311:
  97. AUTHOR: brnrd@FreeBSD.org
  98. USE_APACHE has been replaced by USES=apache.
  99. 20180308:
  100. AUTHOR: mat@FreeBSD.org
  101. Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  102. flavored. They will automatically get flavors (php56, php70, php71, php72)
  103. depending of the versions they support (set with IGNORE_WITH_PHP). As a
  104. consequence, ports using USES=pear and USES=horde are also flavored.
  105. As all packages must have different package names, the following variables
  106. must be used in PKGNAMEPREFIX/SUFFIX:
  107. Variable + Values +
  108. --------------------------------------------------------------------------------------
  109. PHP_PKGNAMEPREFIX | php56- php72- | PHP Extensions
  110. | | and modules
  111. --------------------------------------------------------------------------------------
  112. PHP_PKGNAMESUFFIX | -php56 -php72 | PHP Applications
  113. --------------------------------------------------------------------------------------
  114. PECL_PKGNAMEPREFIX | php56-pecl- | PECL extensions
  115. | | automatic
  116. --------------------------------------------------------------------------------------
  117. PEAR_PKGNAMEPREFIX | php56-pear- | PEAR modules
  118. | | without PEAR_CHANNEL
  119. PEAR_<channel>_PKGNAMEPREFIX | php56-pear-channel- | with PEAR_CHANNEL
  120. | | automatic
  121. In all the ports with PHP dependencies, the *_DEPENDS entries MUST end with
  122. the flavor so that the framework knows which to build/use. This is done by
  123. appending '@${PHP_FLAVOR}' after the origin. For example:
  124. RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Validate>=0.5.0:devel/pear-Validate@${PHP_FLAVOR} \
  125. ${PECL_PKGNAMEPREFIX}smbclient>=0.8.0:net/pecl-smbclient@${PHP_FLAVOR} \
  126. PHP applications (for example, www/wordpress) can also get flavors, add the
  127. flavors keyword to USES=php, for example: USES=php:flavors, and add
  128. ${PHP_PKGNAMESUFFIX} to its PKGNAMESUFFIX.
  129. 20180125:
  130. AUTHOR: mat@FreeBSD.org
  131. Add support to passing directories to EXTRA_PATCHES.
  132. Instead of:
  133. EXTRA_PATCHES= ${PATCHDIR}/feat-foo-patch-file.c \
  134. ${PATCHDIR}/feat-foo-patch-file.h \
  135. ${PATCHDIR}/feat-foo-patch-file2.c
  136. Move those files to ${PATCHDIR}/feat-foo/, name them patch-*, and set:
  137. EXTRA_PATCHES= ${PATCHDIR}/feat-foo
  138. 20180116:
  139. AUTHOR: mat@FreeBSD.org
  140. The deprecated PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION, and
  141. PYTHON3_DEFAULT_VERSION have been removed.
  142. 20180106:
  143. AUTHOR: kde@FreeBSD.org
  144. USES=qmake now accepts a new variable, QMAKE_CONFIGURE_ARGS.
  145. Starting with Qt 5.8.0, qmake can use configure.json files to help define
  146. configuration options and configuration time checks. These options are
  147. generally in the form '-foo -no-bar', and must be passed after "--" at the
  148. end of qmake's command line.
  149. The QMAKE_CONFIGURE_ARGS variable allows one to set those options, and
  150. USES=qmake takes care of passing them at the right position when invoking
  151. qmake.
  152. 20180102:
  153. AUTHOR: kde@FreeBSD.org
  154. There is a new USES=eigen to depend on math/eigen[23].
  155. Usage:
  156. USES=eigen:<version>[,<type>]
  157. version: 2 or 3 (required)
  158. type: build (default), run
  159. For example:
  160. USES=eigen:2,build,run
  161. will add a BUILD- and RUN_DEPENDS on math/eigen2, and
  162. USES=eigen:3
  163. will add a BUILD_DEPENDS on math/eigen3.
  164. 20171231:
  165. AUTHOR: kde@FreeBSD.org
  166. USES=cmake now supports two additional list variables:
  167. * CMAKE_ON : List of variables to turn on
  168. * CMAKE_OFF : List of variables to turn off
  169. This can be used as a shortcut to append these to CMAKE_ARGS.
  170. For example ports that previously set
  171. CMAKE_ARGS= -DVAR1:BOOL=TRUE -DVAR2:BOOL=TRUE -DVAR3:BOOL=FALSE
  172. can now set this as
  173. CMAKE_ON= VAR1 VAR2
  174. CMAKE_OFF= VAR3
  175. 20171130:
  176. AUTHOR: mat@FreeBSD.org
  177. Ports using USE_PYTHON=distutils are now flavored. They will automatically
  178. get flavors (py27, py34, py35, py36) depending on what versions they support.
  179. There is also a USE_PYTHON=flavors for ports that do not use distutils but
  180. need FLAVORS to be set. A USE_PYTHON=noflavors can be set if the port is
  181. using distutils but flavors are not wanted.
  182. A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been added
  183. to cope with Python ports that did not have the Python PKGNAMEPREFIX but are
  184. flavored.
  185. USES=python now also exports a PY_FLAVOR variable that contains the current
  186. python flavor. It can be used in dependency lines when the port itself is
  187. not python flavored, for example, deskutils/calibre.
  188. By default it will only generate flavors for the versions in PYTHON2_DEFAULT
  189. and PYTHON3_DEFAULT. Define BUILD_ALL_PYTHON_FLAVORS in your make.conf to
  190. generate all possible flavors. A port can set USE_PYTHON=allflavors to have
  191. all the flavors and not simply the default ones.
  192. In all the ports with Python dependencies, the *_DEPENDS entries MUST end
  193. with the flavor so that the framework knows which to build/use. This is done
  194. by appending '@${PY_FLAVOR}' after the origin. For example:
  195. RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
  196. 20171130:
  197. AUTHOR: mat@FreeBSD.org
  198. To help with flavored ports, helpers are available. In these, replace <*>
  199. with the flavor name.
  200. *_PKGNAMEPREFIX *_PKGNAMESUFFIX *_PLIST *_DESCR will overwrite the variable.
  201. *_CONFLICTS *_CONFLICTS_BUILD *_CONFLICTS_INSTALL *_PKG_DEPENDS
  202. *_EXTRACT_DEPENDS *_PATCH_DEPENDS *_FETCH_DEPENDS *_BUILD_DEPENDS
  203. *_LIB_DEPENDS *_RUN_DEPENDS *_TEST_DEPENDS will append to the variable.
  204. For example:
  205. flavor2_PKGNAMESUFFIX= -foo
  206. can replace:
  207. .if ${FLAVOR:U} == flavor2
  208. PKGNAMESUFFIX= -foo
  209. .endif
  210. 20171130:
  211. AUTHOR: mat@FreeBSD.org
  212. Flavors are a way to have multiple variations of a port. The port is built
  213. multiple times, with the variations. To declare flavors, set the FLAVORS
  214. variable to the flavors you want defined. The first flavor will be the
  215. default:
  216. FLAVORS= flavor1 flavor2
  217. The flavors MUST be lowercase, and can contain [[:lower:][:digit:]_].
  218. Then, when building the port, pass the FLAVOR as an argument after make to
  219. select the flavor.
  220. $ make install FLAVOR=flavor2
  221. In the port, you can then change the behavior depending on the value of the
  222. FLAVOR variable. Note that the different flavors MUST have different
  223. PKGNAMEs. Be sure to guard against an empty FLAVOR variable by using
  224. ${FLAVOR:U}:
  225. .if ${FLAVOR:U} == flavor2
  226. PKGNAMESUFFIX= -foo
  227. OPTIONS_DEFAULT+= FOO
  228. .endif
  229. A tools guide is available at:
  230. https://wiki.freebsd.org/Ports/FlavorsTools
  231. A port migration guide is available at:
  232. https://wiki.freebsd.org/Ports/FlavorsMigration
  233. 20171020:
  234. AUTHOR: ak@FreeBSD.org
  235. The USES=fmake has been removed. It was created to help migration from
  236. old FreeBSD make (pmake) and there are no more users of it left in
  237. the ports tree.
  238. 20171012:
  239. AUTHOR: mat@FreeBSD.org
  240. Remove WANT_GNOME and HAVE_GNOME, they were in disuse, and made useless by
  241. options.
  242. 20171011:
  243. AUTHOR: bapt@FreeBSD.org
  244. New BINARY_ALIAS variable has been added, when defined it will create symlinks
  245. of some given binaries in a directory which will be prepended to the PATH.
  246. The syntax is the following:
  247. BINARY_ALIAS= target1=source1 target2=source2
  248. For example to have a "swig" binary in the path which will be pointing at
  249. swig3.0 and a "sed" pointing at GNU sed: gsed
  250. BINARY_ALIAS= swig=swig3.0 sed=gsed
  251. 20170625:
  252. AUTHOR: kde@FreeBSD.org
  253. The default generator for USES=cmake ports has been switched to ninja.
  254. Previously it was possible to opt-in to using ninja instead of make(1)
  255. by setting CMAKE_NINJA, now ports need to opt-out.
  256. Ports that do not build with ninja must switch from
  257. USES=cmake:<args>
  258. to
  259. USES=cmake:<args>,noninja
  260. 20170417:
  261. AUTHOR: kwm@FreeBSD.org
  262. New USES: meson, to handle properly the meson building system.
  263. 20170313:
  264. AUTHOR: tijl@FreeBSD.org
  265. HTTPS certificates are now verified when "make makesum" fetches distfiles.
  266. If this fails make sure you have a CA certificate bundle installed such as
  267. security/ca_root_nss. If it still fails and there are other HTTPS sites
  268. with a valid certificate consider removing the site from MASTER_SITES.
  269. If the site cannot be removed you can disable certificate verification by
  270. adding the following line to the port Makefile:
  271. FETCH_ENV= SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1
  272. 20170218:
  273. AUTHOR: kde@FreeBSD.org
  274. * Qt 4's binaries have been moved to lib/qt4/bin to match what is already done
  275. to Qt 5's binaries. Since these binaries are no longer in ${LOCALBASE}/bin,
  276. they also do not have the -qt4 suffix in their names any more.
  277. * Consequently, there are no Qt 4 or Qt 5 binaries in the default $PATH, and
  278. misc/qtchooser is now used to select the actual Qt binaries. In other
  279. words, calling "qmake" or "moc" now goes through qtchooser, which prefers
  280. Qt 5 binaries by default.
  281. The ports framework handles this automatically. The UPDATING entry covers
  282. this in more detail.
  283. * Qt 5.7.1 requires a C++11-capable compiler to be used. qmake and CMake pass
  284. the appropriate flags to the compiler (such as -std=c++11) automatically,
  285. but if your port fetches Qt's build flags via pkg-config (which can be the
  286. case for autotools-based ports), you might need to take care of this
  287. manually by setting USE_CXXSTD in your Makefile:
  288. USE_CXXSTD= c++11
  289. 20160116:
  290. AUTHOR: mat@FreeBSD.org
  291. A new EXTRA_PATCH_TREE has been added. Points to a directory hierarchy with
  292. the same layout as the ports tree, where local patches can be found. This
  293. allows a third party to keep their patches in some other source control
  294. system if needed.
  295. For example, if you have EXTRA_PATCH_TREE=/patches, when building
  296. lang/perl5.24, any file named patch-* in /patches/lang/perl5.24/ will be used
  297. to patch the Perl distribution.
  298. 20160116:
  299. AUTHOR: mat@FreeBSD.org
  300. During extraction of the do-patch target into a separate script, the "-d
  301. PATCH_WRKSRC" had to be removed from the PATCH_ARGS and PATCH_DIST_ARGS
  302. variables. If using these variables directly, you will need to adapt the
  303. Makefile. For example:
  304. ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/extra-patch
  305. needs to be changed to:
  306. ${PATCH} -d ${PATCH_WRKSRC} ${PATCH_ARGS} < ${FILESDIR}/extra-patch
  307. 20161218:
  308. AUTHOR: tcberner@FreeBSD.org
  309. QT_PREFIX has been dropped, in favour of using PREFIX directly.
  310. 20160911:
  311. AUTHOR: amdmi3@FreeBSD.org
  312. Support has been added for complete set of Creative Commons licenses
  313. CC-(BY|BY-ND|BY-NC|BY-NC-ND|BY-NC-SA|BY-SA)-(1.0|2.0|2.5|3.0|4.0)
  314. 20160909:
  315. AUTHOR: amdmi3@FreeBSD.org
  316. Verbose build logs are now preferred and enabled by default for cmake,
  317. ninja and GNU configure. Ports which still produce quiet build logs
  318. (hiding actual commands) are strongly advised to switch to verbose logs.
  319. 20160908:
  320. AUTHOR: amdmi3@FreeBSD.org
  321. Support has been added for NONE license, use it when the port doesn't
  322. have cleanly defined licensing terms. Note that without clean license
  323. allowing you to use and distribute the code it would be be illegal to do
  324. so in many jurisdictions, so for ports with NONE license no distfiles or
  325. packages are distributed.
  326. 20160824:
  327. AUTHOR: mat@FreeBSD.org
  328. To complete the USE_GITHUB framework, a GH_SUBDIR variable has been added.
  329. It automatically moves a secondary distfile to the right place inside WRKSRC.
  330. It also extends the GH_TUPLE variable to make it as easy to use as possible.
  331. Before:
  332. GH_TUPLE= Regaddi:Chart.js:f13f99b:chart_js \
  333. FVANCOP:ChartNew.js:77e7f87:chartnew_js
  334. post-extract:
  335. @${RMDIR} ${WRKSRC}/database ${WRKSRC}/3rd/Chart.js
  336. @${MV} ${WRKSRC_database} ${WRKSRC}/database
  337. @${MV} ${WRKSRC_chart_js} ${WRKSRC}/3rd/Chart.js
  338. After:
  339. GH_TUPLE= Regaddi:Chart.js:f13f99b:chart_js/3rd/Chart.js \
  340. FVANCOP:ChartNew.js:77e7f87:chartnew_js/3rd/ChartNew.js
  341. It also works if not using GH_TUPLE but the regular
  342. GH_ACCOUNT/PROJECT/TAGNAME variables:
  343. GH_SUBDIR= 3rd/Chart.js:chart_js 3rd/ChartNew.js:chartnew_js
  344. 20160824:
  345. AUTHOR: kde@FreeBSD.org
  346. A new USES file has been introduced: USES=kde:4, which replaces the old
  347. bsd.kde4.mk file in preparation for upcoming KDE Frameworks and Plasma5
  348. ports.
  349. Ports depending on KDE4 have to switch from
  350. USE_KDE4=foo bar
  351. to
  352. USES=kde:4
  353. USE_KDE=foo bar
  354. and make sure to switch from using KDE4_PREFIX to the new name KDE_PREFIX
  355. in the Makefiles as well as plists.
  356. 20160821:
  357. AUTHOR: kde@FreeBSD.org
  358. A new USES file has been introduced: USES=grantlee:[4,5], which introduces a
  359. LIB_DEPENDS on either devel/grantlee (Qt4) or devel/grantlee5 (Qt5).
  360. Uses/grantlee.mk also exports the GRANTLEE_VERSION variable to users, and the
  361. GRANTLEE_VERSION_FULL and GRANTLEE_VERSION_SHORT pkg-plist substitutions.
  362. 20160817:
  363. AUTHOR: mat@FreeBSD.org
  364. This adds the possibility to use regular expressions for the makeplist stage
  365. of the PLIST_SUB life.
  366. From time to time, the values are too generic, and they get in the way of
  367. other stuff.
  368. This adds the possibility to have a VAR_regex=regex that will be used
  369. instead of the VAR=string to search for possible replacements.
  370. For example, in lang/perl5*, there is PERL_ARCH=mach, which will get replaced
  371. in paths if a file is called, say "machine", will end up being
  372. "%%PERL_ARCH%%ine". Adding PERL_ARCH_regex="\bmach\b" will ensure only full
  373. words are replaced, so machine will stay machine, but "lib/mach/foo "will
  374. still be replaced by "lib/%%PERL_ARCH%%/foo".
  375. 20160803:
  376. AUTHOR: mat@FreeBSD.org
  377. Every PHP (or Zend) extension now installs its own .ini file in
  378. /usr/local/etc/php. A PHP extension will be automatically activated when
  379. installed. The order into which extensions are loaded is automatically
  380. guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO
  381. will need to be set. Refer to the USES=php section of the Porter's Handbook
  382. for more information.
  383. 20160628:
  384. AUTHOR: mat@FreeBSD.org
  385. USEify USES=php.
  386. The following variables have been folded into arguments:
  387. - USE_PHPIZE -> USES=php:phpize
  388. - USE_PHPEXT -> USES=php:ext
  389. - USE_ZENDEXT -> USES=php:zend
  390. - USE_PHP_BUILD -> USES=php:build
  391. - WANT_PHP_CLI -> USES=php:cli
  392. - WANT_PHP_CGI -> USES=php:cgi
  393. - WANT_PHP_MOD -> USES=php:mod
  394. - WANT_PHP_WEB -> USES=php:web
  395. - WANT_PHP_EMB -> USES=php:embed
  396. 20160627:
  397. AUTHOR: mat@FreeBSD.org
  398. USE_OPENSSL has been replaced by USES=ssl.
  399. 20160625:
  400. AUTHOR: adamw@FreeBSD.org
  401. A new ${opt}_CMAKE_BOOL OPTIONS helper has been added. Instead of:
  402. FOO_CMAKE_ON= -DWITH_FOO:BOOL=YES -DWITH_BAR:BOOL=YES
  403. FOO_CMAKE_OFF= -DWITH_FOO:BOOL=NO -DWITH_BAR:BOOL=NO
  404. you can use this shortcut:
  405. SOMEOPT_CMAKE_BOOL= WITH_FOO WITH_BAR
  406. 20160525:
  407. AUTHOR: mat@FreeBSD.org
  408. A new stage-qa test has been added, it reports all shared libraries
  409. dependencies that are not part of the port list of dependencies. It help
  410. finds what is called proxy dependencies.
  411. A is needed by B, and B is needed by C. If C also needs A, then it needs to
  412. be registered, and this check will tell you to do so.
  413. Right now, it is only reporting the problems, but if you add
  414. PROXYDEPS_FATAL=yes to your environment, it will give an error and will force
  415. you to fix the dependencies.
  416. 20160525:
  417. AUTHOR: bapt@FreeBSD.org
  418. New keyword @xmlcatmgr has been added, to handle the XML and SGML catalog
  419. maintainance, in order to improve consistency and correctness of the
  420. generation of the catalog.
  421. If the catalog file has an extension being '.xml' it will be automatically
  422. added to the XML catalog, otherwise it will be added to the SGML catalog
  423. 20160512:
  424. AUTHOR: emaste@FreeBSD.org
  425. "make makesum" now writes the current timestamp to distinfo when it is run.
  426. This is done to support development and prototyping efforts for reproducible
  427. package builds, which require some concept of a "last updated" time.
  428. The TIMESTAMP can currently be ignored for ports that have no distinfo, and
  429. for updates done without using "make makesum."
  430. 20160428
  431. AUTHOR: mat@FreeBSD.org
  432. USE_RUBYGEMS has been replaced by USES=gem.
  433. 20160426:
  434. AUTHOR: mat@FreeBSD.org
  435. USE_MYSQL and USE_BDB have been replaced by USES=mysql and USES=bdb.
  436. WANT_BDB_VER=XX should be replaced by USES=bdb:XX.
  437. 20160414:
  438. AUTHOR: mat@FreeBSD.org
  439. USE_RC_SUBR=yes has not done anything for a long time, it will now give an error.
  440. 20160413:
  441. AUTHOR: jbeich@FreeBSD.org
  442. Introducing CONFIGURE_OUTSOURCE. It changes HAS_CONFIGURE and GNU_CONFIGURE
  443. by invoking configure, build and install stage outside of source tree e.g.,
  444. $ mkdir ../.build
  445. $ cd ../.build
  446. $ ${OLDPWD}/configure
  447. $ gmake
  448. $ gmake install
  449. 20160402:
  450. AUTHOR: bapt@FreeBSD.org
  451. Adding ${PORTSDIR} in dependency lines is no longer necessary meaning
  452. RUN_DEPENDS= foo:${PORTSDIR}/bar/foo
  453. can now be written
  454. RUN_DEPENDS= foo:bar/foo
  455. if the path after ':' is not absolute the framework will automatically
  456. prepend ${PORTSDIR}/
  457. 20160301:
  458. AUTHOR: mat@FreeBSD.org
  459. Introduce GH_TUPLE.
  460. GH_TUPLE allows one to put all the GH_{ACCOUNT,PROJECT,TAGNAME} into one
  461. variable, in the form of account:project:tagname[:group]. It is helpful when
  462. there are many submodules.
  463. 20160207:
  464. AUTHOR: kwm@FreeBSD.org
  465. The GNOME and MATE framework activation changed. To use the frameworks
  466. now either gnome or mate needs to be added USES.
  467. The usage of USE_GNOME, USE_MATE, INSTALLS_ICONS and for example
  468. GLIB_SCHEMAS stays the same.
  469. Like with USES, the use of USE_GNOME and so after bsd.port.pre.mk
  470. is now forbidden.
  471. 20160112:
  472. AUTHOR: amdmi3@FreeBSD.org
  473. Support has been added for "or later" variants of GNU licenses
  474. (e.g. LICENSE=GPLv2+) and for Public Domain (LICENSE=PD).
  475. Complete list of new LICENSE values:
  476. AGPLv3+ GPLv1+ GPLv2+ GPLv3+ GPLv3RLE+ LGPL20+ LGPL21+ LGPL3+ PD
  477. 20160110:
  478. AUTHOR: bapt@FreeBSD.org
  479. USE_FIREBIRD and USE_SQLITE has been replaced by USES=firebird and
  480. USES=sqlite
  481. 20151105:
  482. AUTHOR: mat@FreeBSD.org
  483. Change the meaning of NO_WRKSUBDIR to force a WRKDIR != WRKSRC.
  484. Right now, NO_WRKSUBDIR means that the extraction does not produce a
  485. subdirectory, and that everything goes straight into WRKDIR. It is
  486. problematic, because during the build of a port, quite a few files
  487. are created in there, and then, a stage directory, where everything
  488. is installed, and then a pkg directory where the package is created,
  489. and those often conflict, or get in the way, of the building
  490. process.
  491. With this, NO_WRKSUBDIR will extract the distfiles directly into
  492. WRKSRC instead of WRKDIR. In this case, WRKSRC is artificial and is
  493. based on PKGNAME and not DISTNAME, mitigate conflicts with rc files.
  494. 20151022:
  495. AUTHOR: amdmi3@FreeBSD.org
  496. Improved support for USES=shebangfix
  497. - We now support multiple values for *_OLD_CMD
  498. - We replace more variants by default (/bin/${lang}, /usr/bin/${lang},
  499. /usr/bin/env ${lang}).
  500. - shebangfix now also supports lua if USES=lua is specified
  501. - Pattern matching has been improved: we now only match whole worlds,
  502. e.g. "/usr/bin/perl5.005" is no longer erroneously replaced with
  503. "${perl_CMD}5.005".
  504. Note that *_OLD_CMD entries which contain spaces must now be quoted.
  505. 20150928:
  506. AUTHOR: amdmi3@FreeBSD.org
  507. Implemented complete support for test target.
  508. You can now `make test' on any port to run test sequence, no-op by default.
  509. If a port defines TEST_TARGET, it'll run sub-make with specified target,
  510. usually `check' or `test', useful if upstream supports that. The port may
  511. instead define custom do-test target, as well as usual satellite targets:
  512. {pre,do,post}-test, {pre,do,post}-test-OPT, {pre,do,post}-test-OPT-off
  513. `make test' builds and stages port first, so test may use both WRKDIR and
  514. STAGEDIR, and both BUILD and RUN depends are available for test target.
  515. Additionally, TEST_DEPENDS is now properly supported and may be used to
  516. define additional depends specifically for testing.
  517. Framework may define default tests for specific cases. For instance,
  518. perl5.mk and cran.mk provide default test target on their own.
  519. 20150926:
  520. AUTHOR: bapt@FreeBSD.org
  521. @sample now accept arguments, so it can now be used the following way:
  522. @sample afile.sample
  523. or
  524. @sample path/to/example etc/target
  525. 20150926:
  526. AUTHOR: bapt@FreeBSD.org
  527. New keywords are supported in pkg since 1.5.x:
  528. @preexec <command>: execute the <command> during pre-install scripts
  529. @postexec <command>: execute the <command> during post-install scripts
  530. @preunexec <command>: execute the <command> during pre-deinstall scripts
  531. @postunexec <command>: execute the <command> during post-deinstall scripts
  532. @exec does not specify when if should be executed and is now considered as
  533. deprecated.
  534. 20150914:
  535. AUTHOR: mat@FreeBSD.org
  536. Introducing the %%PERL5_MAN1%% PLIST_SUB entry, as Perl now installs man1
  537. pages in the same prefix as man3 pages.
  538. 20150828:
  539. AUTHOR: mat@FreeBSD.org
  540. <opt>_VARS and <opt>_VARS_OFF have been introduced to allow for a generic way
  541. to set/append to variables.
  542. OPT1_VARS= foo=bar baz+=bam
  543. will set FOO to bar and append bam to BAZ if OPT1 is enabled. <opt>_VARS_OFF
  544. works the same way, if the option is disabled.
  545. 20150818:
  546. AUTHOR: kde@FreeBSD.org
  547. The CMAKE_ENV option has been deprecated. It no longer has any effect, and
  548. the CONFIGURE_ENV variable should be used instead.
  549. 20150818:
  550. AUTHOR: mat@FreeBSD.org
  551. <opt>_IMPLIES and <opt>_PREVENTS have been introduced to register dependency,
  552. or conflicts between options.
  553. OPTIONS_DEFINE= FOO BAR BAZ
  554. FOO_IMPLIES= BAR
  555. BAZ_PREVENTS= BAR
  556. If the FOO option is selected, the BAR option will be enabled as well. If
  557. the BAZ and BAR options are both enabled, an error will be given.
  558. 20150817:
  559. AUTHOR: mat@FreeBSD.org
  560. UNIQUENAME and LATEST_LINK have been removed. LATEST_LINK was only used by
  561. ports-mgmt/pkg{,-devel} and PKGBASE can be used in its stead. UNIQUENAME was
  562. used by USE_LDCONFIG where it was not unique enough, and as old compat shims
  563. with options.
  564. 20150716:
  565. AUTHOR: kwm@FreeBSD.org
  566. USE_GHOSTSCRIPT was replaced by USES=ghostscript. The ghostscript USES
  567. accepts version, build, run, nox11 and for version 9 the agpl argument.
  568. If no version is specified, the default 9 for GHOSTSCRIPT_DEFAULT is honored.
  569. 20150701:
  570. AUTHOR: mat@FreeBSD.org
  571. Make option target helpers have been added, it allows replacing:
  572. .include <bsd.port.options.mk>
  573. post-patch:
  574. ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
  575. ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
  576. .if ${PORT_OPTIONS:MPTHREAD}
  577. ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \
  578. ${WRKSRC}/hints/freebsd.sh
  579. .else
  580. ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \
  581. ${WRKSRC}/hints/freebsd.sh
  582. .endif
  583. with:
  584. post-patch:
  585. ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
  586. ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
  587. post-patch-PTHREAD-on:
  588. ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \
  589. ${WRKSRC}/hints/freebsd.sh
  590. post-patch-PTHREAD-off:
  591. ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \
  592. ${WRKSRC}/hints/freebsd.sh
  593. 20150622:
  594. AUTHOR: bapt@FreeBSD.org
  595. Remove USE_RCORDER, USE_RC_SUBR has been modified to support PREFIX=/usr
  596. automatically
  597. 20150529:
  598. AUTHOR: mat@FreeBSD.org
  599. Extend the multiple distfiles USE_GITHUB framework by allowing it to fetch
  600. only additional distfiles, but not the main one. Set USE_GITHUB=nodefault
  601. and use the GH_* variables with groups as usual.
  602. 20150528:
  603. AUTHOR: mat@FreeBSD.org
  604. USE_GITHUB can now fetch multiple distfiles. It uses a grouping feature
  605. similar to MASTER_SITES/PATCH_SITES.
  606. Some helpful variables are provided: WRKSRC_<group> for putting things in the
  607. right place in post-extract, and DISTNAME_<group>/DISTFILE_<group> for use
  608. with EXTRACT_ONLY.
  609. A simple example:
  610. PORTNAME= bar
  611. PORTVERSION= 1.0
  612. USE_GITHUB= yes
  613. GH_ACCOUNT= foo
  614. GH_PROJECT= ${PORTNAME}-images:images
  615. post-extract:
  616. @${MV} ${WRKSRC_images} ${WRKSRC}/images
  617. It will fetch those two distfiles:
  618. $ make fetch-urlall-list
  619. https://codeload.github.com/foo/bar/tar.gz/1.0?dummy=/foo-bar-1.0_GH0.tar.gz
  620. https://codeload.github.com/foo/bar-images/tar.gz/1.0?dummy=/foo-bar-images-1.0-1.0.tar.gz
  621. It will then extract them to ${WRKDIR} in their respectives directories.
  622. 20150526:
  623. AUTHOR: antoine@FreeBSD.org
  624. PYTHON_REL has been switched from a 3 digits number to a 4 digits number to
  625. handle python 2.7.10. Ports checking for python 2.7.9 should compare
  626. PYTHON_REL against 2709 and ports checking for python 2.7.10 should compare
  627. PYTHON_REL against 2710.
  628. 20150521:
  629. AUTHOR: mat@FreeBSD.org
  630. GH_COMMIT support has been removed, see the 20150319 for more informations.
  631. 20150419:
  632. AUTHOR: tijl@FreeBSD.org
  633. USE_AUTOTOOLS has been deprecated. It can be replaced with USES=autoreconf
  634. and GNU_CONFIGURE=yes.
  635. Support for USE_AUTOTOOLS=libtoolize has been removed. It can be replaced
  636. with "USES=autoreconf libtool".
  637. 20150409:
  638. AUTHOR: bapt@FreeBSD.org
  639. Add a new USES=gnustep to handle the GNUstep ports. Now the dependencies on
  640. GNUstep libraries is done via the regular LIB_DEPENDS
  641. USE_GNUSTEP is now a macro that accept many arguments: back, build, gui, back
  642. Depending on the feature needed for a given port
  643. Reuse USES=objc to avoid duplicating code
  644. 20150408:
  645. AUTHOR: bapt@FreeBSD.org
  646. Add a new USES=waf to handle the waf building system, allowing to factorise
  647. code. Plug waf into MAKE_CMD and CONFIGURE_CMD so the regular defined targets
  648. can be reused.
  649. Always define _MAKE_JOBS so that when bsd.port.mk will stop overwritting
  650. _MAKE_JOBS when parallel jobs are disabled we can enforce -j1 (which is needed
  651. to really disable parallelisation with waf
  652. WAF_CMD has been created to allow one to override the location of the waf
  653. script relatively to WRKSRC
  654. CONFIGURE_TARGET is by default defined to "configure"
  655. ALL_TARGET is by default defined to "build"
  656. INSTALL_TARGET is by default defined to "install"
  657. USES=waf is by default stagedir safe
  658. 20150407:
  659. AUTHOR: bapt@FreeBSD.org
  660. USE_XZ and USE_BZIP2 are not supported anymore, they have been replaced by
  661. USES=tar:bzip2 and tar:xz
  662. 20150328:
  663. AUTHOR: bapt@FreeBSD.org
  664. New "metaport" USES to take care of predefining correctly the needed
  665. macros as expected by meta ports.
  666. 20150323:
  667. AUTHOR: bapt@FreeBSD.org
  668. Remove "@fc" and "@fontsdir". All fonts should always use @fcfontsdir which
  669. Properly takes care of the fonts.dir and fonts.scale cache files as well
  670. as ensure to properly update the fontconfig cache
  671. New "fonts" USES. It defines the default variables needed for fonts and also
  672. takes care of the run time dependencies
  673. 20150326:
  674. AUTHOR: bdrewery@FreeBSD.org
  675. PTHREAD_CFLAGS and PTHREAD_LIBS have been removed. Please see entry
  676. 20130207 for more information.
  677. 20150319:
  678. AUTHOR: bdrewery@FreeBSD.org
  679. MASTER_SITE GHR (GITHUB_RELEASE) has been removed. The same functionality
  680. can be achieved with just USE_GITHUB/GH_ACCOUNT/GH_PROJECT. GH_TAGNAME
  681. defaults to DISTVERSION. If the tag needs to be adjusted then change
  682. GH_TAGNAME. No GH_COMMIT is needed.
  683. 20150319:
  684. AUTHOR: bdrewery@FreeBSD.org
  685. USE_GITHUB has been updated to make GH_COMMIT optional. Using this new
  686. scheme allows only setting the _tag_ or _commit hash_ in GH_TAGNAME and
  687. not having to know the hash for a tag. This scheme will download a tarball
  688. that has a different checksum than before due to a changed directory name
  689. for extraction.
  690. GH_TAGNAME can now be any length of the hash as long as it is unique. There
  691. is no longer a 7-character requirement.
  692. The following MASTER_SITES are provided to retain the old checksum and
  693. directory structure (that require GH_COMMIT):
  694. GH -> GHL
  695. GITHUB -> GITHUB_LEGACY
  696. 20150305:
  697. AUTHOR: olivierd@FreeBSD.org
  698. Dependencies on the Xfce ports have been migrated to USES. Instead
  699. of USE_XFCE= configenv, you should use USES= xfce.
  700. 20150224:
  701. AUTHOR: makc@FreeBSD.org
  702. New USE_QT4 component has been introduced to reduce buildtime
  703. dependencies for Qt 4 ports that use localization support. Instead
  704. of USE_QT4=linguist you should now use USE_QT4=linguisttools_build.
  705. Conversion of existing ports may require USE_QT4 adjustment for
  706. missing components.
  707. 20141217:
  708. AFFECTS: users of lang/perl5.*
  709. AUTHOR: mat@FreeBSD.org
  710. Perl now links libperl.so with all .so it builds. The stage-qa checks have
  711. been extended to check that libperl.so is in fact linked with .so in
  712. SITE_ARCH and errors out if none of the .so build by a port are linked with
  713. it. It also checks that the rpath and runpath elf attributes are present.
  714. 20141130:
  715. AUTHOR: tijl@FreeBSD.org
  716. The devel/gettext port has been split up in devel/gettext-runtime which
  717. contains runtime libraries such as libintl, and devel/gettext-tools which
  718. contains build tools such as msgfmt. You can use USES=gettext-runtime to
  719. set a LIB/BUILD/RUN_DEPENDS on devel/gettext-runtime and USES=gettext-tools
  720. to set a BUILD/RUN_DEPENDS on devel/gettext-tools.
  721. USES=gettext is now the same as "USES=gettext-runtime gettext-tools",
  722. meaning a LIB_DEPENDS on devel/gettext-runtime and a BUILD_DEPENDS on
  723. devel/gettext-tools.
  724. 20141126:
  725. AUTHOR: mat@FreeBSD.org
  726. The way Perl modules are installed has changed. Before, we had
  727. site_perl : lib/perl5/site_perl/5.18
  728. site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  729. perl_man3 : lib/perl5/5.18/man/man3
  730. Now we have :
  731. site_perl : lib/perl5/site_perl
  732. site_arch : lib/perl5/site_perl/mach/5.18
  733. perl_man3 : lib/perl5/site_perl/man/man3
  734. Modules without any .so will be installed at the same place regardless of the
  735. Perl version, minimizing the upgrade when the major Perl version is changed.
  736. It uses a version dependent directory for modules with compiled bits.
  737. As PERL_ARCH is no longer needed in plists, it has been removed from
  738. PLIST_SUB.
  739. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
  740. always removed, as is perllocal.pod.
  741. The old site_perl and site_perl/arch directories have been kept in the
  742. default Perl @INC for all Perl ports, and will be phased out as these old
  743. Perl versions expire.
  744. 20141122:
  745. AUTHOR: crees@FreeBSD.org
  746. Dependencies on the PostgreSQL ports have been migrated
  747. to USES. Instead of USE_PGSQL, please use USES=pgsql instead.
  748. USE_PGSQL=yes becomes USES=pgsql
  749. WANT_PGSQL_VER=91+ becomes USES=pgsql:9.1+
  750. USE_PGSQL=server becomes USES=pgsql and WANT_PGSQL=server
  751. 20141118:
  752. AUTHOR: mat@FreeBSD.org
  753. To ease future work, a new SITE_ARCH variable and PLIST_SUB replacement
  754. containing SITE_PERL/PERL_ARCH has been added.
  755. 20141102:
  756. AUTHOR: bdrewery@FreeBSD.org
  757. SSP is now default. This can be disabled with WITHOUT_SSP.
  758. SSP_CFLAGS defaults to -fstack-protector.
  759. SSP will be used on all amd64 releases. It will only be used on i386
  760. releases over 10.0.
  761. 20141007:
  762. AUTHOR: mat@FreeBSD.org
  763. The @cwd [path] construct in plist files is deprecated. Instead of adding
  764. those lines to the plist:
  765. @cwd /
  766. etc/rc.d/foo
  767. var/db/bar
  768. @cwd /some
  769. @exec mkdir -p %D/nested/dir
  770. add this:
  771. /etc/rc.d/foo
  772. /var/db/bar
  773. @exec mkdir -p /some/nested/dir
  774. 20141002:
  775. AUTHOR: bapt@FreeBSD.org
  776. New BUNDLE_LIBS knobs to allow a port to tell pkg(8) not to compute provided
  777. libraries, this is to be used when a port bundles libraries it doesn't want
  778. to expose to other ports.
  779. 20141001:
  780. AUTHOR: tijl@FreeBSD.org
  781. Support for autoconf213, autoheader213, aclocal14 and automake14 has been
  782. removed from USE_AUTOTOOLS.
  783. 20140930:
  784. AUTHOR: bdrewery@FreeBSD.org
  785. Building ports in a chroot or jail have always required a particular
  786. environment be setup. This was not clear though and the ports framework
  787. did not enforce it. These requirements are:
  788. 1. Either a SRC_BASE/sys/sys/param.h, or /usr/include/sys/param.h be
  789. present with the __FreeBSD_version_ number of the target system,
  790. or OSVERSION be set in the environment. Lack of these would fallback
  791. on kern.osreldate before, which is no longer the case.
  792. 2. UNAME_r,UNAME_v,UNAME_s all must be set for the target system.
  793. Not having these values in sync will now cause the build to error until it is
  794. resolved.
  795. Setting these in the environment can be done via your own wrapper scripts,
  796. or /etc/login.conf (along with cap_mkdb /etc/login.conf) or
  797. via /etc/make.conf using appropriate values. Note that OSVERSION is redundant
  798. if a proper param.h is in the environment:
  799. OSVERSION+= 1100036
  800. UNAME_ENV+= OSVERSION=${OSVERSION}
  801. UNAME_ENV+= UNAME_s=FreeBSD
  802. UNAME_ENV+= UNAME_r=11.0-CURRENT
  803. UNAME_ENV+= UNAME_v="${UNAME_s} ${UNAME_r}"
  804. .MAKEFLAGS: ${UNAME_ENV}
  805. MAKE_ENV+= ${UNAME_ENV}
  806. CONFIGURE_ENV+= ${UNAME_ENV}
  807. SCRIPTS_ENV+= ${UNAME_ENV}
  808. 20140922:
  809. AUTHOR: bapt@FreeBSD.org
  810. pkg(8) now handles the directories under PREFIX automatically,
  811. and will automatically remove them as needed.
  812. A new @dir keyword has been introduced to handle directories specially:
  813. - directories with special owner, group, or permissions (access mode)
  814. - empty directories
  815. - directories out of PREFIX
  816. As a consequence @dirrm and @dirrmtry are now considered deprecated.
  817. Credentials can now be passed in arguments to keywords
  818. (the empty keyword means "regular file"):
  819. @(user,group,mode) file1
  820. @dir(user,group,mode) directory_with_special_owner_or_mode
  821. PLIST_DIRSTRY is now considered deprecated, use PLIST_DIRS instead.
  822. 20140917:
  823. AUTHOR: tijl@FreeBSD.org
  824. Support for USE_AUTOTOOLS=libtool, USE_GNOME=ltasneededhack,
  825. USE_GNOME=lthack and USE_GNOME=ltverhack has been removed.
  826. Ports should use USES=libtool instead.
  827. Support for USE_AUTOTOOLS=libltdl has been removed.
  828. Ports should use LIB_DEPENDS=libltdl.so:${PORTSDIR}/devel/libltdl
  829. 20140916:
  830. AUTHOR: tijl@FreeBSD.org
  831. The installation of *.la files without some form of USES=libtool in the
  832. port Makefile will now result in a stage-qa error.
  833. Previously this would only cause a warning.
  834. The :keepla argument to USES=libtool is no longer special. It is now
  835. only needed if a port uses *.la files at run time and no longer to fix
  836. link problems in other ports.
  837. 20140901:
  838. AUTHOR: bapt@FreeBSD.org
  839. Support for pkg_install has been removed.
  840. Note that WITH_PKGNG is now called WITH_PKG (still used to define 'devel')
  841. WITH_PKGNG remains for compatibility
  842. @stopdaemon support has gone, pkg(8) has a generic mechanism to
  843. provide the same function, see HANDLE_RC_SCRIPTS in pkg.conf(5).
  844. 20140901:
  845. AUTHOR: bapt@FreeBSD.org
  846. Support for NO_STAGE has been removed.
  847. 20140825:
  848. AUTHOR: antoine@FreeBSD.org
  849. Support for NOPORTDATA has been removed.
  850. 20140809:
  851. AUTHOR: mva@FreeBSD.org
  852. The Python language bits of the ports framework have been converted
  853. to USES. Instead of USE_PYTHON, please use USES=python instead.
  854. USE_PYTHON=yes becomes USES=python
  855. USE_PYTHON=2.7+ becomes USES=python:2.7+
  856. USE_PYTHON_BUILD=3.3 becomes USES=python:3.3,build
  857. ...
  858. Additionally, several Python specific features have been converted
  859. to USES-inspired USE_PYTHON=<featureA>,<featureB>.
  860. USE_PYDISTUTILS becomes USE_PYTHON=distutils
  861. PYDISTUTILS_AUTOPLIST becomes USE_PYTHON=autoplist
  862. ...
  863. Please read the header comments of Uses/python.mk for more details
  864. about the new and changed bits and pieces. You will find a list of
  865. deprecated variables and how to replace them in your own ports at
  866. the end of the header comment.
  867. 20140715:
  868. AUTHOR: bapt@FreeBSD.org
  869. LIB_DEPENDS only supports one form: lib*.so
  870. 20140708:
  871. AUTHOR: mva@FreeBSD.org
  872. Support for installations based on the easy_install setup.py target has
  873. been removed from the Ports framework for Python software. The
  874. PYEASYINSTALL_* knobs and support for USE_PYDISTUTILS=easy_install have
  875. been removed.
  876. 20140623:
  877. AUTHOR: bapt@FreeBSD.org
  878. IGNOREFILES is not supported anymore, it was an unsafe feature allowing to
  879. use unchecked files downloaded from untrusted places to be used in the ports
  880. tree.
  881. 20140607:
  882. AUTHOR: mva@FreeBSD.org
  883. New PYTHON_CONCURRENT_INSTALL knob to support the parallel installation
  884. of ports for different python versions.
  885. If set to yes, the knob indicates that the port can be installed for
  886. different python versions at the same time. The port will use a unique
  887. prefix for certain directories using USES=uniquefiles:dirs (see the
  888. uniquefiles.mk Uses for details about the directories). Binaries
  889. receive an additional suffix, based on ${PYTHON_VER}.
  890. The values for the uniquefiles USES are set as follows:
  891. UNIQUE_PREFIX= ${PYTHON_PKGNAMEPREFIX}
  892. UNIQUE_SUFFIX= -${PYTHON_VER}
  893. If the port is installed for the current default python version, scripts and
  894. binaries in
  895. ${PREFIX}/bin
  896. ${PREFIX}/sbin
  897. ${PREFIX}/libexec
  898. are linked from the prefixed version to the prefix-less original name,
  899. e.g. bin/foo-2.7 --> bin/foo.
  900. 20140529:
  901. AUTHOR: miwi@FreeBSD.org
  902. USE_GMAKE is no longer supported, please use USES=gmake instead
  903. 20140526:
  904. AUTHOR: bapt@FreeBSD.org
  905. USE_DOS2UNIX is no longer supported, USES=dos2unix should be used instead
  906. 20140525:
  907. AUTHOR: mat@FreeBSD.org
  908. Add a USE_PERL5=fixpacklist to account for ports creating a .packlist file
  909. referencing ${STAGEDIR} when not using USE_PERL5=configure or
  910. USE_PERL5=modbuildtiny.
  911. 20140505:
  912. AUTHOR: bapt@FreeBSD.org
  913. :U and :L syntax is not supported anymore in the ports tree, :tu and :tl
  914. should be used instead
  915. This makes the ports tree incompatible with make(1) version that does not
  916. support :tu and :tl (aka FreeBSD 8.3 and earlier)
  917. 20140428:
  918. AUTHOR: bapt@FreeBSD.org
  919. EXTRA_PATCHES has been extended to support a new syntax:
  920. EXTRA_PATCHES= file:-pX
  921. Where X is the pathname strip count passed to patch(1)
  922. 20140423:
  923. AUTHOR: tijl@FreeBSD.org
  924. The semantics of USES=libtool have changed. It now deletes .la libraries
  925. from the staging area to reduce overlinking. USES=libtool:keepla can be
  926. used in case they need to be kept. This form still modifies .la libraries
  927. to remove references to other libraries to reduce overlinking.
  928. Note that .la libraries have to kept around as long as there are .la
  929. libraries from other ports that refer to them. Those ports need to use
  930. some form of USES=libtool first such that those references are removed.
  931. 20140419:
  932. AUTHOR: bdrewery@FreeBSD.org
  933. check-orphans has been renamed to check-plist. It now checks:
  934. A. Files in STAGEDIR that are missing from plist.
  935. To make check-plist ignore a file *as an orphan* do one of the
  936. following:
  937. 1. Install it
  938. 2. post-install: ${RM} ${STAGEDIR}file
  939. 3. Put the file behind an OPTION with a PLIST_SUB: %%OPTION%%file
  940. 4. Add to plist as a @comment
  941. @comment file
  942. @comment @dirrmtry dir
  943. B. Files in plist missing from STAGEDIR
  944. C. Files in plist which are owned by dependencies/MTREEs
  945. 20140416:
  946. AUTHOR: bdrewery@FreeBSD.org
  947. The default target for 'make' now runs 'make stage' if the port supports
  948. it, otherwise 'make build' as before.
  949. 20140411:
  950. AUTHOR: bdrewery@FreeBSD.org
  951. A new plist keyword has been added, @sample. It accepts a file (must end in
  952. .sample):
  953. @sample file.conf.sample
  954. This will install file.conf.sample and copy it to file.conf. The file.conf
  955. will be removed if it matches file.conf.sample on deinstall.
  956. This replaces older patterns of:
  957. @unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi
  958. etc/pkgtools.conf.sample
  959. @exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf
  960. 20140312:
  961. AUTHOR: bapt@FreeBSD.org
  962. Two new USES were added to finish handling distfiles formats a consistent way:
  963. USES=tar[:[xz|bzip2|Z|tgz]] handles distributions files in format:
  964. - plain tar
  965. - tar.xz
  966. - tar.bz2
  967. - tar.Z
  968. - tgz
  969. USES=lha handles distributions files info LHA format
  970. 20140307:
  971. AUTHOR: rene@FreeBSD.org
  972. Two new USES were added by bapt@FreeBSD.org :
  973. USES=zip handles distribution files in Zip format. InfoZip files
  974. need USES=zip:infozip
  975. USES=makeself handles distribution files in makeself format.
  976. 20140303:
  977. AUTHOR: kde@FreeBSD.org
  978. Add support for Qt 5 via USE_QT5. USE_QT5 is analogous to USE_QT4,
  979. the only difference is the list of available components
  980. (see Mk/bsd.qt.mk for details). USES=qmake supports Qt 5 as well.
  981. 20140224:
  982. AUTHOR: bapt@FreeBSD.org
  983. Deprecate support for KNOBS, the new option framework allows to express a
  984. more consistent, user friendly and visible way the same feature.
  985. 20140127:
  986. AUTHOR: mat@FreeBSD.org
  987. Add two new options helpers:
  988. ${OPT}_${TYPE}_DEPENDS_OFF=<something> will automatically add:
  989. ${TYPE_DEPENDS}+=<something> in case OPT is 'off'
  990. ${OPT}_${FLAG}_OFF=<something> will automatically add:
  991. ${FLAG}+=<something> in case OPT is 'off'
  992. 20140111:
  993. AUTHOR: mva@FreeBSD.org
  994. New USES=uniquefiles to make files or directories unique
  995. by adding a prefix or suffix to them.
  996. Files listed in UNIQUE_PREFIX_FILES will receive the prefix
  997. set via UNIQUE_PREFIX. The same applies to UNIQUE_SUFFIX_FILES,
  998. but with the chosen UNIQUE_SUFFIX. UNIQUE_PREFIX and
  999. UNIQUE_SUFFIX are set to PKGNAMEPREFIX and PKGNAMESUFFIX by
  1000. default.
  1001. The uniquefiles USES enables ports to name files in special
  1002. ways, e.g. by outlining that the port does not support X11
  1003. (-nox11). A binary named bin/foo thus can be easily renamed
  1004. to bin/foo-featureA via
  1005. USES= uniquefiles
  1006. UNIQUE_SUFFIX= -featureA
  1007. UNIQUE_SUFFIX_FILES= bin/foo
  1008. The uniquefiles USES automatically adjusts the plist at
  1009. installation time. There is no need to consider the prefix
  1010. or suffix in the pkg-plist file itself. If the original name
  1011. of the renamed file is bin/foo, this exact name should be put
  1012. into pkg-plist.
  1013. The dirs argument to USES=uniquefiles will cause certain
  1014. standard directories, such as DOCSDIR or EXAMPLESDIR to be
  1015. prepended with the UNIQUE_PREFIX. The change to the directories
  1016. will hapen prior to configuring or building the port, so that
  1017. the port Makefile as well as the port's build logic are aware
  1018. of the changed name.
  1019. Since the uniquefiles USES effectively manipulates the port's
  1020. installation and file layout, it will only be available for
  1021. stagedir-aware ports. Ports with NO_STAGE=yes will be unable
  1022. to use the uniquefiles USES.
  1023. 20131218:
  1024. AUTHOR: mva@FreeBSD.org
  1025. lang/python (and as such the 'python' binary and accomplices)
  1026. has been removed as default dependency for the USE_PYTHON,
  1027. USE_PYTHON_BUILD and USE_PYTHON_RUN knobs.
  1028. Ports need to use a designated (default) python interpreter
  1029. to build and install and in most cases for execution in the user
  1030. environment. Ports that install python scripts, which are not
  1031. limited to a certain python version (or version range), can
  1032. include lang/python as build and/or run dependency.
  1033. USE_PYTHON=yes and similar knobs will only pull in the
  1034. default python version (e.g. lang/python27), but none
  1035. of the meta ports or lang/python itself.
  1036. Please use lang/python as build or run-time dependency only,
  1037. if there is no other way to get a port working properly, since
  1038. the usage of lang/python complicates package builds for different
  1039. python versions.
  1040. 20131213:
  1041. AUTHOR: tijl@FreeBSD.org
  1042. New USES=fortran to replace USE_FORTRAN.
  1043. USE_FORTRAN=yes can be replaced with USES=fortran or USES=fortran:gcc.
  1044. USE_FORTRAN=ifort can be replaced with USES=fortran:ifort.
  1045. USE_FORTRAN=f77 is deprecated and the version of gcc it depends
  1046. on (lang/gcc34) is scheduled to be removed.
  1047. Note that USE_FORTRAN=yes also makes GCC the C/C++ compiler while
  1048. USES=fortran only sets the Fortran compiler and can be used together
  1049. with Clang as C/C++ compiler.
  1050. 20131208:
  1051. AUTHOR: mva@FreeBSD.org
  1052. New USES=twisted, to replace the old USE_TWISTED knob.
  1053. twisted can be configured with the arguments run or build to replace
  1054. the previous USE_TWISTED_RUN and USE_TWISTED_BUILD knobs. The twisted
  1055. components can be added as comma-separated arguments. If you previously
  1056. wrote
  1057. USE_TWISTED= yes
  1058. USE_TWISTED= conch names
  1059. USE_TWISTED_RUN= yes
  1060. you now would write
  1061. USES= twisted
  1062. USES= twisted:conch,names
  1063. USES= twisted:run
  1064. 20131119:
  1065. AUTHOR: kwm@FreeBSD.org
  1066. The USE_GNOME component ltverhack no longer has a hard dependancy on
  1067. libtool.
  1068. If USE_AUTOTOOLS=libtool isn't defined it will try to patch ltmain.sh
  1069. and or libtool in ${WRKSRC}. If those files are located somewhere else
  1070. in ${WRKSRC} then it is possible to overwrite ltverhack_PATCH_FILES
  1071. with there new locations. configure script --distable-static will work also
  1072. after using the "new" ltverhack.
  1073. Please keep in mind that USE_AUTOTOOLS implies GNU_CONFIGURE so you might
  1074. need to add that back for the port to work.
  1075. 20131031:
  1076. AUTHOR: rene@FreeBSD.org
  1077. Add a new USES for kernel module ports.
  1078. USES=kmod takes no arguments and:
  1079. - adds kld to CATEGORIES
  1080. - sets SSP_UNSAFE
  1081. - sets IGNORE if the kernel sources are not found
  1082. - defines KMODDIR to /boot/modules by default, add it to
  1083. PLIST_SUB and MAKE_ENV, and create it upon installation
  1084. - handles cross-referencing kernel modules upon installation and
  1085. deinstallation
  1086. 20131021:
  1087. AUTHOR: amdmi3@FreeBSD.org
  1088. share/applications directory was added to the mtree, meaning that
  1089. you no longer need to create or remove it in your ports.
  1090. 20131008:
  1091. AUTHOR: bapt@FreeBSD.org
  1092. New "compiler" USES to be able to select the compiler based on the
  1093. features it provides.
  1094. Supported arguments are:
  1095. - c++11-lang: the port needs a c++11 aware compiler what ever standard
  1096. library it uses, implies features
  1097. - c++11-lib: the port needs a c++11 standard library, implies features
  1098. - c11: the ports needs a c11 aware compiler implies features
  1099. - features: this will create a COMPILER_FEATURES variable which contains
  1100. the list of features ${CC} do support, implies env.
  1101. - env: the COMPILER_TYPE will be set to either gcc or clang.
  1102. By default the uses will try to use clang33 from ports when nothing in
  1103. base is relevant except if the user explicitly defines
  1104. FAVORITE_COMPILER=gcc in his make.conf
  1105. 20131008:
  1106. AUTHOR: makc@FreeBSD.org
  1107. New USES: qmake, configure tool widely used among Qt based projects.
  1108. New framework is stage-friendly. To convert existing ports remove
  1109. custom configure target, adjust QMAKE_ENV, QMAKE_ARGS, QMAKE_PRO if
  1110. required (see Mk/Uses/qmake.mk for details).
  1111. 20131005:
  1112. AUTHOR: bdrewery@FreeBSD.org
  1113. PATCHFILES now support an optional :-pX flag that notes which patch strip
  1114. level to use. This allows multiple patches in 1 port to use different
  1115. PATCH_DIST_STRIP values without changing PATCH_DIST_STRIP.
  1116. Syntax: PATCHFILES= patch[:-pX][:distgroup]
  1117. 20131003:
  1118. AUTHOR: bapt@FreeBSD.org
  1119. New USES: scons, to handle properly the scons building system, this
  1120. this also gives the scons packages user the ability to respect MAKE_JOBS.
  1121. 20130924:
  1122. AUTHOR: bapt@FreeBSD.org
  1123. Stage aware ports can now create package without the requirement from
  1124. being root.
  1125. If a port really needs root anyway it should add NEED_ROOT in its
  1126. Makefile.
  1127. For a port that needs special credential on files DO NOT RELY on
  1128. chown in post-install section but rely on @own, @group in pkg-plist
  1129. Be careful about rights on directories as pkg_install cannot store them
  1130. they needs to be done via @exec chown.
  1131. 20130923:
  1132. AUTHOR: bapt@FreeBSD.org
  1133. The ports tree is now staged by default. With pkgng the sequence hasn't
  1134. changed, the main difference is that creating package is now independent
  1135. from installing it. With pkg_install, the package is now created first
  1136. and make install, do install the package.
  1137. New macros:
  1138. - STAGEDIR: PATH to the directory where the port will be staged.
  1139. - NO_STAGE: Keep the old behaviour of the ports tree (aka no staging area)
  1140. Unsupported macro if NO_STAGE is not set:
  1141. - MAN* with staging man page compression and handling of hardlinks and
  1142. symlinks is automatically done in the stage. the manpages becomes then a
  1143. "normal" plist files and should be tracked in pkg-plist.
  1144. - MANCOMPRESSED the compress-man target is able to only compress when it
  1145. needed.
  1146. New target:
  1147. - stage: this installs everything into the stage directory
  1148. - makeplist: this will create a pkg-plist and print it to stdout. This is
  1149. a sample plist and it should always be _reviewed_ not directly used.
  1150. NOTE: with staging only what is in the plist will be installed, nothing more,
  1151. meaning a port staged cannot have leftovers except directories left. It is
  1152. really important to double check the pkg-plist to make sure all the files
  1153. the maintainer wants to package are in! make makeplist can help in that area.
  1154. 20130923:
  1155. AUTHOR: mva@FreeBSD.org
  1156. * New USES: zope
  1157. This replaces the previous USE_ZOPE knob. All other zope related knobs
  1158. for port Makefiles still exist. See Mk/Uses/zope.mk for details.
  1159. 20130920:
  1160. AUTHOR: bdrewery@FreeBSD.org
  1161. SSP support has been added to ports with WITH_SSP_PORTS for i386 and amd64
  1162. on FreeBSD 10, and amd64 on earlier versions.
  1163. SSP_UNSAFE is added to disable in a port if it fails to build, but
  1164. this should only be used in rare circumstances such as kernel modules.
  1165. Otherwise, the port may just be failing due to lack of respecting
  1166. LDFLAGS.
  1167. On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
  1168. libssp_nonshared.a to address issues linking on i386 [1].
  1169. On earlier FreeBSD versions the WITH_SSP_PORTS knob will add -lssp_nonshared
  1170. to LDFLAGS on i386. This is not needed on amd64. However, several hundred
  1171. ports do not currently respect LDFLAGS, so this support is disabled currently
  1172. as it causes build failures if a dependency is looking for the stack_chk
  1173. symbols.
  1174. [1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup
  1175. 20130919:
  1176. AUTHOR: gahr@FreeBSD.org
  1177. * New USES: tcl, tk
  1178. This uses replaces all the previous USE_TCL, USE_TCL_BUILD, USE_TCL_RUN,
  1179. USE_TCL_WRAPPER, USE_TK, USE_TK_BUILD, USE_TK_RUN and USE_TK_WRAPPER macros.
  1180. See the Mk/Uses/tcl.mk and the commit message of r327607 for details.
  1181. Moreover, the default Tcl/Tk version is now specified in terms of
  1182. bsd.default-versions.mk. It is now possible to specify one's preferred Tcl/Tk
  1183. version using DEFAULT_VERSIONS+= tcltk=x.y in make.conf.
  1184. 20130918:
  1185. AUTHOR: bapt@FreeBSD.org
  1186. The perl framework is not included unconditionally and the old framework
  1187. is not recognized anymore, the following MACROS has been removed:
  1188. * PERL_CONFIGURE
  1189. * USE_PERL5_RUN
  1190. * USE_PERL5_BUILD
  1191. * PERL_MODBUILD
  1192. 20130904:
  1193. AUTHOR: madpilot@FreeBSD.org
  1194. To allow ports to work with the iconv implementation in 10-CURRENT after
  1195. commit r254273 the USES=iconv options now conditionally adds a dependency
  1196. depending on the FreeBSD version. It also defines a few utility variables
  1197. which can be used in the ports:
  1198. ICONV_CMD: location of the iconv binary.
  1199. after r254273: /usr/bin/iconv
  1200. before: ${LOCALBASE}/bin/iconv
  1201. ICONV_LIB: ld(1) flags to get the iconv DSO.
  1202. after r254273: empty
  1203. before: -liconv
  1204. ICONV_CONFIGURE_ARG: String that can be passed to configure
  1205. scripts to hint the location of the libiconv library.
  1206. after r254273: empty
  1207. before: --with-libiconv-prefix=${LOCALBASE}
  1208. 20130902:
  1209. AUTHOR: bapt@FreeBSD.org
  1210. USE_GNOME=pkgconfig is not supported anymore by the ports tree, please
  1211. uses: USES=pkgconfig
  1212. 20130831:
  1213. AUTHOR: bdrewery@FreeBSD.org
  1214. crees has added USE_PACKAGE_DEPENDS_ONLY which works like
  1215. USE_PACKAGE_DEPENDS but will not fallback on source if a
  1216. package is missing.
  1217. 20130731:
  1218. AUTHOR: bapt@FreeBSD.org
  1219. * New USES: perl5
  1220. This uses replaces all the previous perl macros. Here is how to migrate:
  1221. Always include perl5:
  1222. USES= perl5
  1223. If USE_PERL5 is undefined then perl5 will be a build and run dependency
  1224. Migrating to new USE_PERL5:
  1225. =======================================================
  1226. | BEFORE | AFTER |
  1227. =======================================================
  1228. | PERL_CONFIGURE=yes | USE_PERL5= configure |
  1229. -------------------------------------------------------
  1230. | USE_PERL5_RUN=yes | USE_PERL5=run |
  1231. -------------------------------------------------------
  1232. | USE_PERL5_BUILD=yes | USE_PERL5=build |
  1233. -------------------------------------------------------
  1234. | PERL_MODBUILD=yes | USE_PERL5=modbuild |
  1235. -------------------------------------------------------
  1236. | USE_PERL5=yes | |
  1237. -------------------------------------------------------
  1238. | USE_PERL5=5.14+ | USE_PERL5= 5.14+ |
  1239. -------------------------------------------------------
  1240. | PERL_CONFIGURE= 5.14+ | USE_PERL5=5.14+ configure |
  1241. -------------------------------------------------------
  1242. | PERL_MODBUILD= 5.14+ | USE_PERL5=5.14+ modbuild |
  1243. -------------------------------------------------------
  1244. 20130726:
  1245. AUTHOR: rene@FreeBSD.org
  1246. * With the removal of QT 3/KDE 3, the following are no longer recognized:
  1247. - USE_KDEBASE_VER
  1248. - USE_KDELIBS_VER
  1249. - USE_QT_VER
  1250. Mk/bsd.kde.mk has been removed, it was only used for QT 3/KDE 3.
  1251. 20130628:
  1252. AUTHOR: bapt@FreeBSD.org
  1253. * New USES: imake
  1254. This uses replaces USE_IMAKE, it handles dependency on imake. Its only argument
  1255. is 'env', which prevent from defining the do-configure target.
  1256. * New LATE_INSTALL_TARGET
  1257. This content of this new macro is appended to INSTALL_TARGET
  1258. 20130620:
  1259. AUTHOR: bapt@FreeBSD.org
  1260. * New USES: fmake
  1261. This uses will allow to build ports using the legacy FreeBSD make, for ports
  1262. not compatible with bmake
  1263. 20130614:
  1264. AUTHOR: bapt@FreeBSD.org
  1265. * New macros to help dealing with ports that have options:
  1266. OPTIONS_SUB=yes when set in a port, all the option names are automatically
  1267. added to the PLIST_SUB with "@comment " value in case the option is off and
  1268. empty value in case the options is on.
  1269. ${OPT}_CONFIGURE_ENABLE=<aname> will automatically add:
  1270. CONFIGURE_ARGS+=--enable-<aname> in case OPT is activated
  1271. CONFIGURE_ARGS+=--disable-<aname> in case OPT is deactivated
  1272. ${OPT}_CONFIGURE_ON=<something> will automatically add:
  1273. CONFIGURE_ARGS+=<something> in case OPT is activated
  1274. ${OPT}_CONFIGURE_OFF=<something> will automatically add:
  1275. CONFIGURE_ARGS+=<something> in case OPT is deactivated
  1276. ${OPT}_CFLAGS will append the specified new flags to CFLAGS if OPT is 'on'
  1277. ${OPT}_CXXFLAGS will append the specified new flags to CXXFLAGS if OPT is 'on'
  1278. ${OPT}_LDFLAGS will append the specified new flags to LDFLAGS if OPT is 'on'
  1279. ${OPT}_CONFIGURE_ENV will append the specified variables to CONFIGURE_ENV if
  1280. OPT is 'on'
  1281. ${OPT}_MAKE_ENV will append the specified variables to MAKE_ENV if OPT is 'on'
  1282. ${OPT}_USES will append the speficied uses to USES if OPT is 'on'
  1283. ${OPT}_DISTFILES will append the specified distiles to DISTFILES if OPT in 'on'
  1284. ${OPT}_CMAKE_ON=<something> will automatically add:
  1285. CMAKE_ARGS+=<something> in case OPT is activated
  1286. ${OPT}_CMAKE_OFF=<something> will automatically add:
  1287. CMAKE_ARGS+=<something> in case OPT is deactivated
  1288. ${OPT}_${TYPE}_DEPENDS=<something> will automatically add:
  1289. ${TYPE_DEPENDS}+=<something> in case OPT is 'on'
  1290. 20130614:
  1291. AUTHOR: bapt@FreeBSD.org
  1292. * New 'display' USES macro to handle building ports that may require a
  1293. a display to build.
  1294. USES= display[:install] will start Xvfb and set the DISPLAY environment
  1295. variable before the installation phase and stop it at the end. (install is
  1296. the implicit value)
  1297. USES= display:build will start Xvfb and set the DISPLAY environment variable
  1298. before the build phase and stop it at the end.
  1299. 20130607:
  1300. AUTHOR: bdrewery@FreeBSD.org
  1301. * Checks were added to block GH_TAGNAME=master as this is not a valid
  1302. setup. A known hash or tag should be used for GH_TAGNAME instead of
  1303. a branch name. As soon as a branch is updated, the known checksum
  1304. in the distinfo would then be invalid.
  1305. 20130606:
  1306. AUTHOR: bdrewery@FreeBSD.org
  1307. * WRKSRC_SUBDIR has been added to simplify overriding WRKSRC
  1308. to use a subdirectory:
  1309. WRKSRC= ${WRKDIR}/${DISTNAME}/src
  1310. Becomes:
  1311. WRKSRC_SUBDIR= src
  1312. 20130606:
  1313. AUTHOR: bapt@FreeBSD.org
  1314. The OPTIONS macro is no longer recognized, please use the new options
  1315. framework.
  1316. 20130509:
  1317. AUTHOR: kwm@FreeBSD.org
  1318. * Two new USES macros to handle mime data of ports.
  1319. USES= desktop-file-utils
  1320. Handles MimeType in .desktop files that are installed in
  1321. share/applications.
  1322. USES= shared-mime-info
  1323. For supporting mime xml files installed in
  1324. share/mime/packages.
  1325. The desktop-file-utils USES is only needed if the .desktop files
  1326. installed by the port has a MimeType field.
  1327. USE_GNOME=desktopfileutils is deprecated.
  1328. The shared-mime-info USES handles mime types xml files.
  1329. Please note that only the packages/${NAME}.xml file should be listed in
  1330. the plist. The shared-mime-info port will clean up the share/mime/*
  1331. directories and generated files.
  1332. Both USES have there own post-install and code that adds @exec/@unexec
  1333. lines to the pkg-plist. This means that when a port switches to the
  1334. USES macro, the related post-install command and @exec/@unexec
  1335. lines can be removed from the prot.
  1336. 20130507:
  1337. AUTHOR: bapt@FreeBSD.org
  1338. * New USES macro to handle setting correct shebang to scripts
  1339. By default it will fix bash, perl, php, ruby and python on all files specified
  1340. in the SHEBANG_FILES macro (glob pattern relative to ${WRKSRC})
  1341. Paths can be customized, and number of languages supported can be extended.
  1342. * USE_GETTEXT, USE_NCURSES, USE_READLINE are no longer recognized
  1343. 20130506:
  1344. AUTHOR: bapt@FreeBSD.org
  1345. * New USES macro to handle linking on ncurses and on readline
  1346. USES= ncurses will set env and make the port link to base version of ncurses
  1347. if no port version is installed otherwise it will link against port version
  1348. USES= ncurses:port will for the port to link against the ports version of
  1349. ncurses
  1350. USES= ncurses:base will force to link against base version of ncurses.
  1351. USES= readline will make the port link against base version of readline except
  1352. on 10+ where it will force dependency on the port version of readline
  1353. USES= readline:port will anyway force dependency on the port version of
  1354. readline.
  1355. 20130426:
  1356. AUTHOR: mva@FreeBSD.org
  1357. * USE_ICONV has been deprecated and converted into the iconv USE
  1358. feature
  1359. USES= iconv
  1360. 20130425:
  1361. AUTHOR: bapt@FreeBSD.org
  1362. * USE_CDRTOOLS is no longer recognized
  1363. * USE_FREETYPE is no longer recognized
  1364. 20130423:
  1365. AUTHOR: jgh@FreeBSD.org
  1366. * New USES macro to handle support for gettext dependency:
  1367. USES= gettext:build will add gettext into BUILD_DEPENDS
  1368. USES= gettext:run will add gettext into RUN_DEPENDS
  1369. USES= gettext:lib will add gettext into LIB_DEPENDS
  1370. It deprecates USE_GETTEXT which will be removed as soon as it is not
  1371. used anymore
  1372. 20130422:
  1373. AUTHOR: bdrewery@FreeBSD.org
  1374. * The entry for 20120830 to change CCACHE_DIR was not fully supported
  1375. by all ports. There is now a CCACHE_DIR variable that can be used
  1376. in /etc/make.conf for more complete coverage:
  1377. CCACHE_DIR=/var/cache/ccache
  1378. 20130422:
  1379. AUTHOR: bapt@FreeBSD.org
  1380. * New USES macro to handle support for pkgconf (pkg-config) dependency:
  1381. USES= pkgconfig[:build] will add pkgconf into BUILD_DEPENDS
  1382. USES= pkgconfig:run will add pkgconf into RUN_DEPENDS
  1383. USES= pkgconfig:both will add pkgconf into both RUN and BUILD DEPENDS
  1384. It deprecates USE_PKGCONFIG which will be removed as soon as it is not
  1385. used anymore
  1386. 20130320:
  1387. AUTHOR: jgh@FreeBSD.org
  1388. * New USES macro to handle support for Zenoss ports and Zenpacks:
  1389. USES= zenoss
  1390. 20130319:
  1391. AUTHOR: makc@FreeBSD.org
  1392. * New USES macro should be used instead of deprecated USE_CMAKE and
  1393. CMAKE_OUTSOURCE:
  1394. USES= cmake:outsource
  1395. to perform out-of-source build (equivalent to former pair usage of
  1396. USE_CMAKE/CMAKE_OUTSOURCE)
  1397. USES= cmake
  1398. In-source build (equivalent to plain USE_CMAKE=yes) can be used if
  1399. project doesn't support out-of-source build.
  1400. 20130319:
  1401. AUTHOR: bapt@FreeBSD.org
  1402. * The options framework now uses ports-mgmt/dialog4ports contributed by
  1403. Ilya A. Arkhipov. It boostraps it if not present when one calls
  1404. make config.
  1405. dialog4ports provides a new UI able to represent all the features
  1406. provided by the new options framework.
  1407. 20130315:
  1408. AUTHOR: bdrewery@FreeBSD.org
  1409. * USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL have been removed
  1410. and converted into the qmail USE feature
  1411. USES= qmail:run will add qmail into RUN_DEPENDS
  1412. USES= qmail:build will add qmail into BUILD_DEPENDS
  1413. USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS
  1414. USES= qmail:vars will set QMAIL_PREFIX
  1415. 20130315:
  1416. AUTHOR: bapt@FreeBSD.org
  1417. * Add new Keywords directory and first info.yaml keyword (@info).
  1418. Keywords directory will contain all the custom plist keywords allowing to
  1419. extend pkg-plist with new keywords. Only works with pkgng.
  1420. 20130307:
  1421. AUTHOR: bapt@FreeBSD.org
  1422. * New USES macro to handle on demand features, 2 examples has been added to
  1423. the ports tree:
  1424. pathfix: to replace USE_GNOME= gnomehack
  1425. fuse: to replace USE_FUSE= yes
  1426. 20130207:
  1427. AUTHOR: gahr@FreeBSD.org
  1428. * Use of PTHREAD_CFLAGS and PTHREAD_LIBS is unsupported. The former
  1429. expands to the empty string, while the second is simply -pthread.
  1430. Please use -pthread directly in your LDFLAGS, if needed.
  1431. 20121214:
  1432. AUTHOR: flo@FreeBSD.org
  1433. * Add a USE_FUSE macro to handle fuse dependencies. It makes
  1434. sure sysutils/fusefs-libs gets installed and depending on
  1435. fuse being in base or not it installs sysutils/fusefs-kmod.
  1436. 20121210:
  1437. AUTHOR: bapt@FreeBSD.org
  1438. * OPTIONS has been extended 2 new macros are available:
  1439. OPTIONS_RADIO - allows only 0 or 1 options to be selected
  1440. OPTIONS_GROUP - allows 0 or N options among to be selected
  1441. 20121010:
  1442. AUTHOR: bapt@FreeBSD.org
  1443. * IPV6 option is now activated by default for the whole ports tree
  1444. 20121010:
  1445. AUTHOR: bapt@FreeBSD.org
  1446. * The ports tree is now using pkgng as the default package manager
  1447. for HEAD. This only affects users of CURRENT -- users of other
  1448. branches need not take any action.
  1449. To keep pkg_install as the default package manager, use the new
  1450. WITHOUT_PKGNG knob in make.conf
  1451. 20120830:
  1452. AUTHOR: beat@FreeBSD.org
  1453. * CCACHE support for building ports has been added (depends on
  1454. devel/ccache). Therefore new user settable variables are available:
  1455. WITH_CCACHE_BUILD - Enable CCACHE support (Default off)
  1456. NO_CCACHE - Disable CCACHE support for example for certain
  1457. ports if CCACHE is enabled.
  1458. By default CCACHE uses $HOME/.ccache as cache directory. To use
  1459. a non-default cache directory this could be overwritten like:
  1460. MAKE_ENV+= CCACHE_DIR=/var/cache/ccache
  1461. 20120820:
  1462. AUTHOR: gahr@FreeBSD.org
  1463. * GitHub support has been integrated into bsd.sites.mk. In order to
  1464. fetch distfiles from GitHub, a port must define USE_GITHUB along
  1465. with the following variables:
  1466. GH_ACCOUNT - account name of the GitHub user hosting the project
  1467. default: not set, mandatory
  1468. GH_PROJECT - name of the project on GitHub
  1469. default: ${PORTNAME}
  1470. GH_TAGNAME - name of the tag to download (master, 2.0.1, ...)
  1471. default: ${DISTVERSION}
  1472. GH_COMMIT - first 7 digits of the commit that generated GH_TAGNAME
  1473. (man git-describe(1))
  1474. default: not set, mandatory
  1475. The port www/tivoka is an example how to use this mechanism.
  1476. 20120726:
  1477. AUTHOR: bapt@FreeBSD.org
  1478. * new macro USE_PKGCONFIG has been introduce in place of
  1479. USE_GNOME= pkgconfig
  1480. USE_PKGCONFIG= yes and USE_PKGCONFIG= build
  1481. for build only dependency
  1482. USE_PKGCONFIG= run
  1483. for run only dependency
  1484. USE_PKGCONFIG= both
  1485. for both build and run dependency
  1486. 20120715:
  1487. AUTHOR: beat@FreeBSD.org
  1488. * The ports tree moved from CVS to Subversion. A Subversion to
  1489. CVS exporter is in place to continue the support of CVSup but
  1490. do not commit to pcvs directly.
  1491. All commits have to be done in the new port Subversion repository
  1492. on svn.FreeBSD.org. You will find more information about
  1493. Subversion in the Ports Subversion Primer in the FreeBSD wiki,
  1494. in the "Committer's Guide" and the "Porter's Handbook".
  1495. If you are in doubt or unsure about a Subversion operation
  1496. please contact ports@FreeBSD.org.
  1497. 20120529:
  1498. AUTHOR: crees@FreeBSD.org
  1499. * OPTIONS has been updated with many changes and improvements.
  1500. Old-style OPTIONS declarations will continue to work for a while,
  1501. but do not introduce any into existing or new ports.
  1502. For further information, see the Porter's Handbook section on
  1503. Makefile Options.
  1504. 20110923:
  1505. AUTHOR: amdmi3@FreeBSD.org
  1506. * LDFLAGS is now passed to both the configure and make environments,
  1507. and should be handled just like CPPFLAGS (see previous entry).
  1508. Summarizing both LDFLAGS and CPPFLAGS changes, where you would
  1509. have used
  1510. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  1511. LDFLAGS="-L${LOCALBASE}/lib"
  1512. MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  1513. LDFLAGS="-L${LOCALBASE}/lib"
  1514. now just use
  1515. CPPFLAGS+= "-I${LOCALBASE}/include"
  1516. LDFLAGS+= "-L${LOCALBASE}/lib"
  1517. Note that it's advised to append these variables (+=) instead
  1518. of overriding (=) to allow customization by user.
  1519. 20110320:
  1520. AUTHOR: gerald@FreeBSD.org
  1521. * CPPFLAGS is now passed to both the configure and make environments,
  1522. so this no longer needs to happen in individual ports by adding this
  1523. to CONFIGURE_ENV or MAKE_ENV. Rather, just set CPPFLAGS in the port
  1524. Makefile (if necessary).
  1525. For example, where you would have used
  1526. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
  1527. MAKE_ENV= SOMETHING=foo CPPFLAGS="-I${LOCALBASE}/include"
  1528. now just use
  1529. CPPFLAGS= "-I${LOCALBASE}/include"
  1530. MAKE_ENV SOMETHING=foo
  1531. 20100831:
  1532. AUTHOR: autotools@FreeBSD.org
  1533. * USE_GETTEXT has been cleaned up.
  1534. 'build' BUILD time dependency only
  1535. 'run' RUN time dependency only
  1536. 'yes' LIBRARY dependency
  1537. 20100606:
  1538. AUTHOR: gerald@FreeBSD.org
  1539. * USE_GCC=4.3 is deprecated (and no port uses it anymore). USE_GCC=4.3+
  1540. is transparently rewritten to USE_GCC=4.4+ and lang/gcc43 will be
  1541. disconnected from the USE_GCC infrastructure soon.
  1542. 20100524:
  1543. AUTHOR: alepulver@FreeBSD.org
  1544. * The license support files (bsd.licenses.mk and bsd.licenses.db.mk) from
  1545. GSoc 2008/2009 have been committed. A new PH entry will be available
  1546. soon, but for the moment look at:
  1547. http://wiki.freebsd.org/PortsLicenseInfrastructure
  1548. Or, alternatively, the comments at the beginning of the mentioned files.
  1549. 20090906:
  1550. AUTHOR: flz@FreeBSD.org
  1551. * There is now a unified way to create users and groups
  1552. in your ports. First, make sure they are added to both
  1553. ports/GIDs and ports/UIDs, then add the following in
  1554. your port:
  1555. USERS= foo
  1556. GROUPS= foo
  1557. ... if you want your port to create the foo user and
  1558. group.
  1559. 20090812:
  1560. AUTHOR: portmgr@FreeBSD.org
  1561. * sourceforge.net has changed their URL layout to be more
  1562. flexible for their users. A new bsd.sites.mk macro SFP
  1563. has been added for projects that moved from
  1564. http://${mirror}/sourceforge/%SUBDIR%/
  1565. to
  1566. http://${mirror}/project/%SUBDIR%/
  1567. Note that %SUBDIR% is now highly individual for each
  1568. project and might need changing as well.
  1569. 20090521:
  1570. AUTHOR: portmgr@FreeBSD.org
  1571. * bsd.port.options.mk is now clear to be widely used.
  1572. 20090516:
  1573. AUTHOR: pgollucci@FreeBSD.org
  1574. * APACHE_COMPAT is dead!
  1575. * USE_APACHE=yes is dead!
  1576. * WITH_APACHE13, WITH_APACHE2, WITH_APACHE20, and WITH_APACHE22 are dead
  1577. You should set USE_APACHE=13|20|22+. WITH_APACHE option can
  1578. be used to conditional include support for ANY version of
  1579. Apache based on APACHE_PORT. Currently www/apache13
  1580. 20090207:
  1581. AUTHOR: pgollucci@FreeBSD.org
  1582. * devel/libslang dropped in favor of devel/libslang2
  1583. * WITH_SLANG2 has been removed. WITH_SLANG now implies
  1584. devel/libslang2.
  1585. 20080905:
  1586. AUTHOR: hrs@FreeBSD.org
  1587. * print/ghostscript-* and related ports have been renamed in the
  1588. following way:
  1589. print/ghostscript-gnu -> print/ghostscript7
  1590. print/ghostscript-gnu-nox11 -> print/ghostscript7-nox11
  1591. print/ghostscript-gnu-commfont -> print/ghostscript7-commfont
  1592. print/ghostscript-gpl -> print/ghostscript8
  1593. print/ghostscript-gpl-nox11 -> print/ghostscript8-nox11
  1594. japanese/ghostscript-gnu-jpnfont -> print/ghostscript7-jpnfont
  1595. korean/ghostscript-gnu-korfont -> print/ghostscript7-korfont
  1596. * USE_GHOSTSCRIPT now supports a version number which the port
  1597. requires. The valid value is "7" or "8". If other value is
  1598. specified, value of WITH_GHOSTSCRIPT_VER is used.
  1599. * WITH_GHOSTSCRIPT_GNU has been removed in favor of
  1600. WITH_GHOSTSCRIPT_VER. The valid value of WITH_GHOSTSCRIPT_VER is
  1601. "7" or "8", and the default value is "8".
  1602. 20080821:
  1603. AUTHOR: rafan@FreeBSD.org
  1604. * CONFIGURE_ARGS is updated to use correct syntax for newer autoconf
  1605. on the configure target. Individual ports no longer need to change
  1606. CONFIGURE_TARGET to have the '--build=' prefix.
  1607. 20080721:
  1608. AUTHOR: pav@FreeBSD.org
  1609. * Default OpenLDAP version was changed from 2.3 to 2.4.
  1610. * USE_GTK and USE_XPM variables are no longer recognized.
  1611. 20080523:
  1612. AUTHOR: flz@FreeBSD.org
  1613. * By default, ports-mgmt/pkg_install now sets up a wrapper to use ports
  1614. pkg_install (when installed) instead of base when the former is more
  1615. recent. This can be disabled in the options menu, or with the
  1616. WITHOUT_WRAPPER knob.
  1617. 20080414:
  1618. AUTHOR: pav@FreeBSD.org
  1619. * @rmtry is now supported in pkg-plist.
  1620. * USE_DISPLAY made more powerful, see comments in bsd.port.mk for details.
  1621. * ${PW} is now defined.
  1622. * LIB_DEPENDS can now be used with libraries with + sign in their name
  1623. without the need for escaping.
  1624. 20080312:
  1625. AUTHOR: pav@FreeBSD.org
  1626. * USE_XPM no longer implies USE_XLIB.
  1627. * USE_LDCONFIG can now be used to Linux binary ports that install shared
  1628. libraries instead of INSTALLS_SHLIB.
  1629. 20070908:
  1630. AUTHOR: gabor@FreeBSD.org, linimon@FreeBSD.org
  1631. * The Perl-related code parts have been extracted from bsd.port.mk to
  1632. bsd.perl.mk. This includes the user-settable knobs (e.g. USE_PERL5)
  1633. and infrastructure parts of the code, like default targets. The new
  1634. code is designed to be conditionally included based on either
  1635. USE_PERL5_*, PERL_CONFIGURE, or PERL_MODBUILD being set. However,
  1636. some of the default settings remain in bsd.port.mk while we make
  1637. sure that all ports comply with this.
  1638. * A convenient version handling has been implemented for Perl-related
  1639. knobs. With this new feature one can require a minimal, a maximal or an
  1640. exact version, that the given port needs. For the full description and
  1641. some examples, please see the documentation in bsd.perl.mk.
  1642. 20070804:
  1643. AUTHOR: gabor@FreeBSD.org
  1644. The following functional changes were made to bsd.*.mk and to
  1645. Tools/scripts/security-check.awk:
  1646. * The variable definitions that cover command line tools, e.g. MKDIR, were
  1647. extracted from bsd.port.mk into bsd.commands.mk, so that we can
  1648. reuse them within the infrastructure later.
  1649. * The old DESTDIR implementation was removed both from the infrastructure,
  1650. and from the individual ports. Variables like TARGETDIR should not longer
  1651. be used.
  1652. * A new DESTDIR implementation has been added, implemented in bsd.destdir.mk.
  1653. The new implementation puts no requirements on the individual ports.
  1654. 20070730:
  1655. AUTHOR: python@FreeBSD.org
  1656. * The default Python version has been changed from 2.4.x to 2.5.x.
  1657. * A number of variables have been added to bsd.python.mk to support
  1658. the more integrated support for Python eggs, including:
  1659. PYDISTUTILS_PKGNAME, PYDISTUTILS_PKGVERSION, PYEASYINSTALL_EGG,
  1660. PYDISTUTILS_NOEGGINFO, PYDISTUTILS_EGGINFO, PYEASYINSTALL_ARCHDEP
  1661. * More detailed descriptions of the variables can be found in the comments
  1662. in bsd.python.mk.
  1663. 20070723:
  1664. AUTHOR: rafan@FreeBSD.org
  1665. * The default CONFIGURE_ARGS when GNU_CONFIGURE is set now contains
  1666. --mandir and --infodir if configure script supports them.
  1667. 20070712:
  1668. AUTHOR: maho@FreeBSD.org
  1669. * Add knob USE_FORTRAN for ports which uses FORTRAN. All ports uses
  1670. FORTRAN compiler should use this knob. Usages are: USE_FORTRAN=yes
  1671. (default;gfortran42), USE_FORTRAN=ifc (Intel FORTRAN compiler)
  1672. and USE_FORTRAN=g77 (/usr/bin/f77 or g77-34).
  1673. 20070701:
  1674. AUTHOR: portmgr@FreeBSD.org
  1675. The following change was made to the ports infrastructure:
  1676. * Virtual category 'kld' was added. If the port installs kernel loadable
  1677. modules, it should be included in this category.
  1678. 20070524:
  1679. AUTHOR: portmgr@FreeBSD.org
  1680. The following changes were made to the ports infrastructure:
  1681. * The 'make-deinstall-all' target now checks for moved ports.
  1682. * The installation directories PORTEXAMPLES and PORTDATA are now defined.
  1683. * The USE_MAKESELF knob is added for ports that use the makeself archiver.
  1684. * The description of fetch-list was updated. The targets fetch-required-list,
  1685. fetch-url-list, and fetch-urlall-list were added.
  1686. * 'make search' will also now search in ports/MOVED.
  1687. * The default method for 'make update' is now portsnap. Previously,
  1688. you had to manually select one of 3 methods: SUP_UPDATE, CVS_UPDATE,
  1689. or PORTSNAP_UPDATE. The latter is now obsolete.
  1690. * Several Makevar definitions have been moved to the pre-makefile section:
  1691. DATADIR, DOCSDIR, ETCDIR, EXAMPLESDIR, WWWDIR.
  1692. 20070403:
  1693. AUTHOR: portmgr@FreeBSD.org
  1694. The following changes were made to the ports infrastructure:
  1695. * The default dependency of USE_GHOSTSCRIPT has been changed from
  1696. ghostscript-gnu to ghostscript-gpl. The WITH_GHOSTSCRIPT_GPL variable is
  1697. now no-op. New WITH_GHOSTSCRIPT_GNU variable was added.
  1698. * bsd.tcl.mk was overhauled. Most importantly, the semantics of USE_TCL* and
  1699. USE_TK* variables was changed. USE_TCL and USE_TK now implies both build
  1700. and run dependencies, USE_TCL_RUN and USE_TK_BUILD variables were
  1701. introduced. Existing ports in the tree were modified.
  1702. * Unused category 'tcl81' was removed, and new categories 'tcl' and 'tk'
  1703. were added.
  1704. 20070324:
  1705. AUTHOR: portmgr@FreeBSD.org
  1706. The following changes were made to the ports infrastructure:
  1707. * Default LIBTOOLFILES value was changed from literal `configure'
  1708. to ${CONFIGURE_SCRIPT}.
  1709. * bsd.efl.mk was moved to ports/Mk. USE_EFL family of macros is now
  1710. generally available to all ports.
  1711. * New macros COPYTREE_BIN and COPYTREE_SHARE were added, to allow
  1712. for easy installation of a tree hierarchy, either with executable (bin)
  1713. or read-only (share) permissions on files.
  1714. * A new variable WWWDIR was added, with default value of
  1715. ${PREFIX}/www/${PORTNAME}.
  1716. * Variables DOCSDIR_REL, DATADIR_REL, EXAMPLESDIR_REL and WWWDIR_REL were
  1717. added for porter's convenience. They contain the values of their
  1718. respective non-REL variables, except relative to installation PREFIX.
  1719. 20070313:
  1720. AUTHOR: portmgr@FreeBSD.org
  1721. The following changes were made to the ports infrastructure:
  1722. * bsd.ocaml.mk and bsd.xfce.mk were added.
  1723. * The FETCH_CMD was refactored so that ports can override the command,
  1724. the arguments, or both.
  1725. 20070306:
  1726. AUTHOR: portmgr@FreeBSD.org
  1727. The following changes were made to the ports infrastructure:
  1728. * The remaining vestiges of FreeBSD 4.X support were removed. Any
  1729. remaining users of 4.X should have stayed with the RELEASE_4_EOL tag.
  1730. * It is now possible to include USE_PHP after bsd.port.pre.mk.
  1731. * 'make search' should now work with non-default ${PORTSDIR}.
  1732. 20070130:
  1733. AUTHOR: portmgr@FreeBSD.org
  1734. The following changes were made to the ports infrastructure:
  1735. * DEPENDS variable was removed, please use other *_DEPENDS variables instead.
  1736. * A new pkg-plist keyword is available, @stopdaemon. It will call forcestop
  1737. on all rc.subr scripts installed by the port on deinstall, effectively
  1738. stopping services on deinstall/upgrade.
  1739. * rc.subr script suffix is now available in Makefile as RC_SUBR_SUFFIX.
  1740. * New variable USE_CDRTOOLS was introduced. It replaced direct dependencies
  1741. on sysutils/cdrtools port. It now automatically support switching to
  1742. cdrtools-cjk port when user specified WITH_CJK. All ports were converted.
  1743. * USE_DOS2UNIX, infrastructure for converting DOS to UNIX line feeds, was
  1744. enhanced by a new variable DOS2UNIX_REGEX. It allows to specify a find
  1745. -iregex parameter to limit touched files by file extensions.
  1746. * Support for partially translated manpages was added. For examples of
  1747. usage, please refer to Porter's Handbook.
  1748. * USE_TCL/USE_TK variables were changed to provide runtime dependency. New
  1749. variables USE_TCL_BUILD and USE_TK_BUILD were added. All unintuitive
  1750. quirks of these variables were fixed.
  1751. * USE_LDCONFIG was fixed to work properly for ports, that specify @cwd in the
  1752. pkg-plists.
  1753. * Old bsd.java.mk version 1.0 macros were removed.
  1754. * New category: ports-mgmt
  1755. * New virtual category: gnustep
  1756. * Unused 'picobsd' category was removed.
  1757. 20070118:
  1758. AUTHOR: maho@FreeBSD.org
  1759. We'd like to ask all ports maintainers, who are using Fortran77 (f77 in base),
  1760. to switch to Fortran90/95 (gfortran42, lang/gcc42). Please refer to
  1761. http://people.freebsd.org/~maho/gfortran/gfortran.html
  1762. for details.
  1763. 20061014:
  1764. AUTHOR: gnome@FreeBSD.org
  1765. The following changes have been introduced to the GNOME porting process
  1766. during the GNOME 2.16 update:
  1767. * GNOME is now installed into LOCALBASE. Any port which makes use of the
  1768. gnomeprefix component will have its PREFIX forced to LOCALBASE
  1769. 20060930:
  1770. AUTHOR: portmgr@FreeBSD.org
  1771. The following functional changes were made to bsd.port.mk:
  1772. * The bsd.port.mk pre and post includes have been split into 3 pieces
  1773. instead of 2, to allow OPTIONS to be able to influence dependencies.
  1774. This is still experimental and not yet enabled by any port. This adds
  1775. the file 'bsd.port.options.mk'.
  1776. * bsd.gcc.mk has been updated to understand gfortran.
  1777. * emulators/linux_base is now removed. linux_base-fc4 has been the default
  1778. for some time.
  1779. * The USE_FIREBIRD macro was added to bsd.database.mk.
  1780. 20060914:
  1781. AUTHOR: portmgr@FreeBSD.org
  1782. The following functional changes were made to bsd.port.mk:
  1783. * PKGVERSION was introduced as an intermediate variable refactored out of
  1784. PKGNAME.
  1785. * bsd.lua.mk was added to support lua-related ports.
  1786. * DESTDIR was removed from bsd.scons.mk because it was problematic.
  1787. * Some quotes were added to the 'missing' target to improve handling of
  1788. duplicate origins.
  1789. 20060903:
  1790. AUTHOR: sat@FreeBSD.org
  1791. The following functional changes were made to bsd.sites.mk:
  1792. * MASTER_SITES variable can now look like MACRO1/subdir1 MACRO2/subdir2, and
  1793. be expanded in a way that you expect it to, that is apply different subdirs
  1794. to different sites. You can safely replace ${M_S_FOO:S/%SUBDIR%/bar/} with
  1795. FOO/bar.
  1796. * If M_S_SUBDIR is unset, a macro in M_S won't set it anymore, but rather
  1797. substitute %SUBDIR% all by itself. Now it's possible to use macros with
  1798. different default subdirs and they will expand in a proper way.
  1799. 20060805:
  1800. AUTHOR: sat@FreeBSD.org
  1801. The following functional changes were made to bsd.sites.mk:
  1802. * MASTER_SITES variable can now contain special macros which are expanded into
  1803. traditional URL[:group] syntax and cause some convenient effects, e.g. set a
  1804. default M_S_SUBDIR.
  1805. * A macro is any space-delimited word in MASTER_SITES without a forward slash.
  1806. * If MASTER_SITE_<macro> is defined, then the macro is expanded to its value.
  1807. * Abbreviated macros are provided for extremely popular locations, e.g. CPAN
  1808. and SF. To avoid further obfuscation their unabbreviated equivalents should
  1809. be avoided.
  1810. * Popular macros can trigger M_S_SUBDIR to default to a predefined value, e.g.
  1811. ${PORTNAME:L} for SF and ${PORTNAME:C/-.*//} for CPAN.
  1812. * Abbreviations and M_S_SUBDIR defaults are defined by MASTER_SITES_ABBREVS
  1813. and MASTER_SITES_SUBDIRS, both set in bsd.sites.mk.
  1814. * If a macro belongs to a group (e.g. SF:source1), all the sites it expands
  1815. into also belong to the same group.
  1816. * Macros and traditional URL's can be mixed safely, their order stays intact.
  1817. 20060804:
  1818. AUTHOR: gabor@FreeBSD.org
  1819. The following functional changes were made to bsd.*.mk and to
  1820. Tools/scripts/security-check.awk:
  1821. * Add DESTDIR support to let one install ports into a jail from outside.
  1822. A package is installed under ${DESTDIR}${PREFIX} now and registered under
  1823. ${DESTDIR}/var/db/pkg.
  1824. * TARGETDIR variable has been added for referencing ${DESTDIR}${PREFIX}.
  1825. * LOCALBASE, LINUXBASE and X11BASE variables point to the final destination
  1826. now, LOCALBASE_REL, LINUXBASE_REL and X11BASE_REL can be used for the
  1827. old behavior. The behavior has not been changed in PLIST_SUB.
  1828. Note, that the three variables are still overridable with a hack, so this
  1829. change doesn't affect POLA, but necessary for DESTDIR support.
  1830. * OSVERSION is now determined from the userland, not from the kernel.
  1831. Cross-compiling between releases is still not supported, but this
  1832. behavior is more correct for jails with differing userland from
  1833. the kernel version.
  1834. * Add some sanity check for PREFIX and DESTDIR. This can be skipped by
  1835. defining IGNORE_PATH_CHECKS, but very discouraged.
  1836. * Deinstalling from DESTDIR, determining if a port is already installed in
  1837. DESTDIR, etc. are implemented by chrooting those specific commands.
  1838. * Text changes to reflect that we are installing to DESTDIR, removing from
  1839. DESTDIR, etc.
  1840. Note, that this change implements only the infrastructure support. Ports should
  1841. also be implemented to respect DESTDIR.
  1842. 20060717:
  1843. AUTHOR: portmgr@FreeBSD.org
  1844. The following functional changes were made to bsd.port.mk:
  1845. * Introduces IA32_BINARY_PORT for certain cases where a given port fetches
  1846. and installs compiled i386 binaries.
  1847. * Adds some infrastructure for support of 32-bit i386 apps on amd64.
  1848. * Again fix USE_LDCONFIG logic to make it work with non-default PREFIX to
  1849. fix bug introduced in previous revision.
  1850. 20060705:
  1851. AUTHOR: portmgr@FreeBSD.org
  1852. The following functional changes were made to bsd.port.mk:
  1853. * Change all bogus uses of BROKEN to IGNORE. (Note: the BROKEN_WITH_*
  1854. forms are retained for compatibility but deprecated.) Internally,
  1855. these variables all had already set IGNORE, not BROKEN, so they
  1856. were really misnomers.
  1857. * Fix USE_LDCONFIG with non-default PREFIX.
  1858. * Fix DESKTOP_ENTRIES processing on 4.x.
  1859. * Add 'make missing' to show missing dependencies.
  1860. * Add bsd.scons.mk and bsd.wx.mk.
  1861. 20060616:
  1862. AUTHOR: portmgr@FreeBSD.org
  1863. The patch in ports/95841 to get rid of remnants of FORCE_PKG_REGISTER
  1864. was backed out because it broke kdelibs3*.
  1865. 20060616:
  1866. AUTHOR: portmgr@FreeBSD.org
  1867. The following functional changes were made to bsd.port.mk:
  1868. * Update default MySQL version from 4.1 to 5.0 [1]
  1869. * Update default PHP version from 4 to 5 [2]
  1870. * Update default LDAP version from 2.2 to 2.3 [3]
  1871. * Add support for LDAP version 2.4 [4]
  1872. * Update default linux_base from '8' (Redhat 8) to 'fc4' (Fedora Core 4) [5]
  1873. * Switch default Linux X implementation from XFree86 to X.org to track the
  1874. above [5]
  1875. * Deprecate INSTALLS_SHLIB and replace it by USE_LDCONFIG. If set to "yes",
  1876. the old behavior is preserved. Otherwise, it can be set to a list of
  1877. directories to be added to ${PREFIX}/libdata/ldconfig/${UNIQUENAME}.
  1878. Note that this directory is used by ldconfig startup script, it is meant
  1879. to replace ldconfig scripts installed by some ports as (sometimes
  1880. 000.${UNQUENAME}.sh) [6]
  1881. * Adds USE_LDCONFIG32 which is like USE_LDCONFIG but the target file is
  1882. ${PREFIX}/libdata/ldconfig32/${UNIQUENAME} instead. (Note: this should
  1883. only be used on 64-bit architectures) [6]
  1884. * Set the default LANG for tr to be C to avoid some build problems [7]
  1885. * Include bsd.java.mk in both pre and post sections [8]
  1886. * Get rid of remnants of FORCE_PKG_REGISTER [9]
  1887. * Always print options with make showconfig [10]
  1888. PR: 92805 [1], 92806 [2], 96793 [3], 97515 [4], 96849 [5],
  1889. 91933 [6], 91381 [7], 97020 [8], 95841 [9], 97133 [10]
  1890. 20060523:
  1891. AUTHOR: portmgr@FreeBSD.org
  1892. The following functional changes were made to bsd.port.mk:
  1893. * include bsd.emacs.mk only when USE_EMACS is set [5]
  1894. * Correct the implementation of pretty-print-run-depends-list [8]
  1895. * Use a consistent name for the cookies file when PKGNAMEPREFIX/SUFFIX
  1896. are set after bsd.port.pre.mk. [9]
  1897. * Include bsd.tcl.mk if USE_TCL_BUILD is defined [10]
  1898. * Set PERL_MM_USE_DEFAULT in BATCH mode [11]
  1899. * Add the {ONLY,NOT}_FOR_ARCH_REASON and
  1900. {ONLY,NOT}_FOR_ARCH_REASON_${ARCH} variables to allow better
  1901. customization of the error string reported to users when they
  1902. attempt a build on an unsupported architecture. [12]
  1903. * Avoid errors from duplicated targets when parsing MLINKS on ports
  1904. without a default value set. [13]
  1905. * Fix handling of MLINKS when invalid entries are listed [14]
  1906. * Enforce sanity of DESKTOP_ENTRIES. If the Categories field is
  1907. omitted, try to map ports categories to their freedesktop.org
  1908. counterpart [15]
  1909. PR: 95238 [5], 94164 [8], 94219 [9], 92355 [10],
  1910. 95579 [11], 94675 [12], 66109 [13], 66110 [14], 95603 [15]
  1911. 20060121:
  1912. AUTHOR: portmgr@FreeBSD.org
  1913. The following changes affecting ports developers were introduced:
  1914. * Gamin is a default FAM system
  1915. * New virtual categories: hamradio and rubygems
  1916. * Virtual category 'offix' was removed
  1917. * New USE_DOS2UNIX variable for converting DOS linefeeds to UNIX
  1918. * Variables like BROKEN and FORBIDDEN should no longer be quoted
  1919. * New NOFETCHFILES variable to prevent downloading from MASTER_SITES
  1920. while still allowing MASTER_SITE_OVERRIDE
  1921. * New plist macro @dirrmtry with functionality of @unexec rmdir || true
  1922. * USE_REINPLACE no longer needs to be defined, REINPLACE_CMD is always
  1923. available
  1924. Detailed documentation of new features is available in Porter's Handbook.
  1925. 20051108:
  1926. AUTHOR: portmgr@FreeBSD.org
  1927. The following changes were introduced:
  1928. * Add bsd.database.mk
  1929. - move out from bsd.port.mk USE_MYSQL and USE_PGSQL.
  1930. - add support for Berkeley DB and SQLite (via USE_BDB and USE_SQLITE
  1931. knobs).
  1932. * Escape '+' in make search
  1933. * Add "makepatch" target to simplify creation of patches during porting
  1934. * Replace deprecated MACHINE_ARCH with ARCH
  1935. * Remove support of OpenLDAP 2.1
  1936. * Add bsd.tcl.mk
  1937. It introduces USE_TCL/USE_TCL_BUILD knobs to support various
  1938. version of tcl (8.0 -> 8.4)
  1939. * Fix cosmetic bugs in security-check target
  1940. * Add support for INDEX-7 and above (up to INDEX-9 actually)
  1941. * Add "package-recursive" to bsd.port.subdir.mk
  1942. * Remove check for FreeBSD version < 460101
  1943. * New category: net-im
  1944. * Add .desktop file facilities
  1945. It introduces DESKTOPDIR and DESKTOP_ENTRIES knobs
  1946. * Add SHA256 support to "*checksum" targets
  1947. * Fix USE_PYTHON with OPTIONS
  1948. * Force NO_LINT to MAKE_ENV to avoid library breaks
  1949. * Fix typo: s/RC_ORDER/USE_RCORDER/g
  1950. * Add support for PostgreSQL 8.1
  1951. * Add bsd.apache.mk
  1952. USE_APACHE knob enhancements
  1953. 20051105:
  1954. AUTHOR: gnome@FreeBSD.org
  1955. GNOME has been upgraded from 2.10.2 to 2.12.1. This update brings with
  1956. it many important porting changes:
  1957. - gtk20's pkg-config file no longer contains the X11 pango modules.
  1958. Therefore, if your port requires these modules, you may have to
  1959. manually patch them in to your port's Makefiles. Contact
  1960. gnome@FreeBSD.org if you have questions on this.
  1961. - A new USE_GNOME component, ltverhack, has been added. This
  1962. pseudo-component hacks libtool so that shared library versions are
  1963. more consistent with other operating systems. Using this component
  1964. can prevent unnecessary shared library version changes.
  1965. - A new macro, INSTALLS_ICONS, has been added. If your port installs
  1966. Freedesktop-style icons to ${LOCALBASE}/share/icons or
  1967. ${X11BASE}/share/icons, then you should use this macro. NOTE:
  1968. use of this macro requires your port to set either USE_GNOME or
  1969. WANT_GNOME.
  1970. 20050618:
  1971. AUTHOR: netchild@FreeBSD.org
  1972. - USE_LINUX now implies NO_FILTER_SHLIBS=yes. It also doesn't use FreeBSD
  1973. tools to strip binaries anymore, so it's not necessary anymore to override
  1974. STRIP and STRIP_CMD.
  1975. - USE_LINUX_PREFIX implies NO_MTREE now.
  1976. - In the USE_LINUX case, USE_XLIB now depends upon the Linux X11 libraries
  1977. instead upon the native FreeBSD libraries.
  1978. - The variable LINUX_BASE_PORT contains a string which is suitable as an
  1979. item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon the
  1980. default (or overridden) Linux base, ${LINUX_BASE_PORT} should be used
  1981. instead of a hardcoded reference.
  1982. - If USE_LINUX or OVERRIDE_LINUX_BASE doesn't point to an existing linux_base
  1983. port and if USE_LINUX isn't set to "yes" (case insensitive), the port will
  1984. be marked as IGNORE.
  1985. 20050609:
  1986. AUTHOR: portmgr@FreeBSD.org
  1987. The following changes were introduced:
  1988. * Improve documentation of CONFLICTS.
  1989. * Fix add-plist-docs target to work correctly with wildcards.
  1990. * Fix USE_MYSQL and USE_PGSQL knobs to work in partial ports
  1991. tree.
  1992. * Introduce 2 new variables: USE_FAM and WANT_FAM_SYSTEM.
  1993. * Suppress "Vulnerability check disabled" message if
  1994. DISABLE_VULNERABILITIES is defined.
  1995. * Switch default MySQL version to 4.1
  1996. * Add support for OpenLDAP v.23
  1997. * Fix add-plist-info and add-plist-post targets to avoid warnings
  1998. from ports which redefine them.
  1999. * Fix add-plist-docs target to handle NOPORTDOCS knob properly.
  2000. * Use INSTALLDIRS="site" in configure for perl ports.
  2001. * Fix NO_(CHECKSUM|BUILD|INSTALL|PACKAGE) knobs if OPTIONS are
  2002. defined.
  2003. * Add an ability to depend on versioned installed package.
  2004. Example:
  2005. BUILD_DEPENDS=p5-Tree-Simple>=1.12:${PORTSDIR}/devel/p5-Tree-Simple
  2006. Please note, it's experimental feature, work is currently in
  2007. progress.
  2008. 20050325:
  2009. AUTHOR: jdp@FreeBSD.org
  2010. The CVSup port has been upgraded with a patch to correct the
  2011. handling of the "refuse" file for files that are in the CVS Attic.
  2012. This solves a problem some people were having, where CVSup would
  2013. delete their ports/INDEX* files even though the files were listed
  2014. in the "refuse" file. The bug fix is in the cvsupd server, so
  2015. mirror sites must upgrade their servers in order for this fix to
  2016. help. Meanwhile, adding "ports/Attic/INDEX*" to the refuse file
  2017. serves as a work-around.
  2018. 20050321:
  2019. AUTHOR: kwm@FreeBSD.org
  2020. The gstreamer-plugins gconf dependency moved to its own port in devel.
  2021. When your application needs gstreamer-plug-gconf, just add
  2022. USE_GSTREAMER=gconf to you Makefile
  2023. 20050319:
  2024. AUTHOR: gnome@FreeBSD.org
  2025. New GNOME components have been added to bsd.gnome.mk. See
  2026. http://www.FreeBSD.org/gnome/docs/gnome2_porting.html for the complete
  2027. list of available GNOME 2 components.
  2028. Py-gnome2 lost many of its GNOME dependencies to a new port,
  2029. py-gnome-extras. Therefore, ports that used to depend on
  2030. the pygnome2 component for modules such as gtkhtml2, gnomepanel, etc.
  2031. should replace the pygnome2 dependency with pygnomeextras.
  2032. 20050314:
  2033. AUTHOR: edwin@FreeBSD.org
  2034. New variable for in /etc/make.conf: IGNORE_MASTER_SITE_xxx
  2035. If you prefer a certain mastersite for a collection of master-sites,
  2036. set this in your /etc/make.conf:
  2037. MASTER_SITE_xxx=http://z.x.y/%SUBDIR%/
  2038. If you insist on only using the ones you specify, set this in
  2039. your /etc/make.conf:
  2040. IGNORE_MASTER_SITE_xxx=yes
  2041. MASTER_SITE_xxx=http://z.x.y/%SUBDIR%/
  2042. Use "make -V MASTER_SITES" to see the differences.
  2043. 20050313:
  2044. AUTHOR: ahze@FreeBSD.org, kwm@FreeBSD.org
  2045. The following changes were committed:
  2046. * USE_GNOME=gstreamerplugins has been deprecated.
  2047. The new method which uses bsd.gstreamer.mk is:
  2048. USE_GSTREAMER=plugin-name
  2049. Example:
  2050. USE_GSTREAMER= dvd
  2051. or
  2052. WANT_GSTREAMER= yes
  2053. .include <bsd.port.pre.mk>
  2054. .if defined(WITH_DVD)
  2055. USE_GSTREAMER= dvd
  2056. .endif
  2057. * misc/gnomehier now creates a mtree file and each port
  2058. using USE_GNOME=gnomehier or gnomeprefix now use the
  2059. BSD.gnome-x11.dist mtree file to help "keep" directories
  2060. and not accidentally add gnome directories to a port.
  2061. 20050207:
  2062. AUTHOR: portmgr@FreeBSD.org
  2063. The following changes were committed:
  2064. * Change bento to pointyhat names in comments.
  2065. * Document DISABLE_VULNERABILITIES variable.
  2066. * Add WWW: line for 'search' target.
  2067. * Speedup check-vulnerable invocation, if portaudit is installed.
  2068. * Run install-info for all .info files.
  2069. * Run add-plist-docs more strictly and prevent some situations
  2070. with leftover files in the future.
  2071. * Introduce two new variables: MASTER_PORT and SLAVE_PORT.
  2072. The results from these variables is only used as information for
  2073. users.
  2074. * Honor OPTIONS if PACKAGE_BUILDING or BATCH are defined.
  2075. * Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
  2076. target allows users to check gcc version if USE_GCC is used.
  2077. Give maintainers opportunity to add '+' character to USE_GCC version
  2078. for using specified and higher versions.
  2079. Example:
  2080. USE_GCC=3.3+
  2081. builds ports with gcc version 3.3 and higher (3.4, 4.0).
  2082. * Install startup scripts with the help of USE_RC_SUBR variable.
  2083. * Add three new targets: config-recursive, rmconfig-recursive and
  2084. config-conditional. You can set or delete OPTIONS for all
  2085. dependencies before every build. config-conditional target is
  2086. used to skip configuring ports which have already been
  2087. configured.
  2088. * Fix using of WANT_PGSQL_VER variable if PostgreSQL is already
  2089. installed.
  2090. 20041231:
  2091. AUTHOR: netchild@FreeBSD.org
  2092. USE_LINUX_PREFIX doesn't implies USE_LINUX anymore.
  2093. 20041209:
  2094. AUTHOR: portmgr@FreeBSD.org
  2095. The following changes were committed:
  2096. * Define new macros: DATE, FMT, MKTEMP, OBJDUMP, and use
  2097. command macro SORT.
  2098. * Change layout of comments to 4 column tabs, remove lots
  2099. of spaces and eight-column-tabs.
  2100. * Introduce 2 new variables: SUB_FILES and SUB_LIST:
  2101. Example:
  2102. SUB_FILES= pkg-message pkg-install
  2103. SUB_LIST+= "VERSION=${VERSION}"
  2104. This looks for ${FILESDIR}/pkg-message.in and ${FILESDIR}/pkg-install.in
  2105. Substitutions in SUB_LIST are applied to these files and the
  2106. output is redirected to ${WRKDIR}.
  2107. PKGMESSAGE will be set to ${WRKDIR}/pkg-message.
  2108. PKGINSTALL will be set to ${WRKDIR}/pkg-install.
  2109. * Document DEPRECATED and EXPIRATION_DATE variables.
  2110. * Sanitize the intermittent output by the build infrastructure
  2111. so that cutting and pasting from it no longer interferes
  2112. with GNATS-tags.
  2113. * Honor configure arguments for USE_XLIB if USE/WITH_LIBTOOL_ is
  2114. used.
  2115. * Properly document 'describe' target.
  2116. * Properly remove directories at deinstallation time if ports sets
  2117. a non-standard PREFIX.
  2118. * Defaults INDEXFILE to INDEX-6 on 6-CURRENT.
  2119. 20041119:
  2120. AUTHOR: portmgr@FreeBSD.org
  2121. The following changes were committed:
  2122. * Fix INDEX build if MAINTAINER is not defined.
  2123. * Remove USE_QT2 option, since qt2 is obsolete.
  2124. * Better define and explain ARCH option.
  2125. * Add new script Tools/make_readmes, to speedup 'readmes'
  2126. target. Avoid recursing into individual port directories and run
  2127. it at top level, after the category README.html files have been
  2128. created.
  2129. * Fix 'search' target and enable a case-insensitive search on 5-x.
  2130. * Extend 'search' target and enable search by categories.
  2131. * Remove 'tk42' and 'tcl76' categories since they're obsolete.
  2132. * Introduce DISTVERSION variable, that can be set instead of
  2133. PORTVERSION and is automatically converted in a conforming PORTVERSION.
  2134. Example:
  2135. DISTVERSION= 10Alpha3
  2136. extends 10Alpha3 to 10.a3
  2137. DISTVERSION= 3Beta7-pre2
  2138. extends 3Beta7-pre2 to 3.b7.p2
  2139. * Use --suffix option instead of -b for patch(1), to make it
  2140. compatible with BSD patch(1).
  2141. * Fix {WANT,WITH}_MYSQL_VER behavior, to deal with conflicting
  2142. versions.
  2143. 20041116:
  2144. AUTHOR: gnome@FreeBSD.org
  2145. The way OMF files are handled has been changed to use the new INSTALLS_OMF
  2146. macro (similar to INSTALLS_SHLIB). Details about the new macro can be found
  2147. at http://www.FreeBSD.org/gnome/docs/porting.html and bsd.gnome.mk.
  2148. 20041113:
  2149. AUTHOR: portmgr@FreeBSD.org
  2150. Since INDEX version in CVS is always too old, portmgr decided to
  2151. remove it. You will still be able to build your own INDEX or use
  2152. 'fetchindex' target in /usr/ports/.
  2153. 20041109:
  2154. AUTHOR: gnome@FreeBSD.org
  2155. The way GConf schema files are handled has been changed to use the new
  2156. GCONF_SCHEMAS macro (similar to MAN). Details about the new macro can be
  2157. found at http://www.FreeBSD.org/gnome/docs/porting.html and bsd.gnome.mk.
  2158. 20040803:
  2159. AUTHOR: ade@FreeBSD.org
  2160. As part of the ongoing autotools cleanup, devel/autoconf has been
  2161. replaced with devel/autoconf253, and devel/automake with devel/automake15.
  2162. Consumers of the various autotools knobs from bsd.autotools.mk should not
  2163. notice any differences. This update completes the transition of autotools
  2164. to true versioned packages (cf: tcl/tk)
  2165. 20040723:
  2166. AUTHOR: anholt@FreeBSD.org
  2167. The XFREE86_VERSION variable is replaced by the X_WINDOW_SYSTEM variable.
  2168. XFREE86_VERSION may no longer be used by ports Makefiles. X_WINDOW_SYSTEM may
  2169. currently be set to xorg, xfree86-4, and xfree86-3 (please use :L in checking
  2170. it). Several X_*_PORT variables are provided by bsd.port.mk which map to the
  2171. appropriate port for the X_WINDOW_SYSTEM chosen.
  2172. 20040719:
  2173. AUTHOR: ale@FreeBSD.org
  2174. There has been a big update to PHP ports and bsd.php.mk to add more
  2175. flexibility and new features.
  2176. Now a port may depend on a specific set of PHP extensions. To do so,
  2177. simply replace:
  2178. USE_PHP= yes
  2179. with:
  2180. USE_PHP= ext1 ext2 ext3 ...
  2181. in the port Makefile. A list of all PHP extensions is included in bsd.php.mk.
  2182. If the requirement is a build dependency too, the port should also define:
  2183. USE_PHP_BUILD=yes
  2184. Moreover, the new knob WANT_PHP_SCR has been added to indicate that the port
  2185. requires the 'php' binary to run.
  2186. Last but not least, many common operations to build/install/register a
  2187. PHP extension can now be omitted from the port Makefile if it defines:
  2188. USE_PHPEXT= yes
  2189. For more information on this point and on additional variables, see
  2190. bsd.php.mk.
  2191. 20040717:
  2192. AUTHOR: eik@FreeBSD.org
  2193. OpenLDAP version 2.2 is now the default.
  2194. When your port links against the openldap client libraries use
  2195. USE_OPENLDAP= yes
  2196. and do not depend on a particular version. A user (or package
  2197. building cluster) can select the desired flavor with
  2198. WANT_OPENLDAP_VER and WANT_OPENLDAP_SASL, but these must not
  2199. be used in ports Makefiles.
  2200. 20040709:
  2201. AUTHOR: portmgr@FreeBSD.org
  2202. USE_LIBTOOL_VER now configures a port to use the ports version of libtool
  2203. instead of its included version. This was put in place to reduce the
  2204. number of ad hoc patches to individual ports' libtools to prevent .la
  2205. file installation as well as fix various threading problems.
  2206. To restore the previous libtool behavior, use the new macro,
  2207. USE_INC_LIBTOOL_VER. It works the exact same way as USE_LIBTOOL_VER
  2208. in that it takes a libtool version as its argument.
  2209. For example, to use the included version of libtool with extra hacks
  2210. provided by libtool-1.5, add the following to your Makefile:
  2211. USE_INC_LIBTOOL_VER= 15
  2212. To use the ports version of libtool-1.5, add the following to
  2213. your Makefile:
  2214. USE_LIBTOOL_VER= 15
  2215. Note: these macros are mutually exclusive. Your port should only include
  2216. one or the other if it needs to make use of libtool.
  2217. 20040707:
  2218. AUTHOR: gnome@FreeBSD.org
  2219. The way GConf schema files are installed has changed to support the upcoming
  2220. GNOME 2.8 GConf. Details about the change can be found at
  2221. http://www.FreeBSD.org/gnome/docs/porting.html. All existing ports have
  2222. been converted to the new style, and portlint has been updated to flag
  2223. old-style GConf schema installation.
  2224. 20040610:
  2225. AUTHOR: portmgr@FreeBSD.org
  2226. The following behavioral or feature changes were committed:
  2227. * Support verbose index builds with INDEX_VERBOSE
  2228. * Support glob expressions in USE_GETTEXT to allow more flexibility
  2229. in the face of future gratuitous library version bumps by the gettext
  2230. developers:
  2231. USE_GETTEXT=yEs # Works as before (case-insensitive)
  2232. USE_GETTEXT=[5-7] # Accepts any of those libintl.so.x versions
  2233. # in the LIB_DEPENDS
  2234. * Extend 'make search' support to allow much more flexible searching
  2235. From the PR:
  2236. Besides the good old key and name variables, this patch adds
  2237. support for path, info, maint, cat, bdeps, and rdeps, which match
  2238. on the appropriate fields, plus their exclusion counterparts: xkey,
  2239. xname, etc.
  2240. Examples:
  2241. Find all ports whose names contain "pear-" but not "html" or "http":
  2242. make search name=pear- xname='ht(tp|ml)'
  2243. Find ports whose names contain "pear-" and which don't have apache
  2244. listed in build-time dependencies:
  2245. make search name=pear- xbdeps=apache
  2246. The positive variables (name, key, maint, etc) are AND-ed, their
  2247. negative versions are OR-ed; in other words, matching any x-
  2248. variable will cause the port to be skipped, mismatch on any non-x-
  2249. variable will cause it to be skipped.
  2250. Examples:
  2251. Find ports that are both in the 'www' category and maintained by
  2252. Thierry Thomas:
  2253. make search maint=thierry@ path=/www/
  2254. Find ports in the 'archivers' category that are either not orphaned
  2255. or don't have "zip" in their names (contrived):
  2256. make search cat=archivers xmaint=ports@freebsd xname=zip
  2257. It is possible to select fields to display.
  2258. Example:
  2259. Find PEAR ports that don't build-depend on apache, displaying only
  2260. Port:, Path:, and Info: lines:
  2261. make search name=pear- xbdeps=apache display=name,path,info
  2262. Case-sensitivity can now be turned of with icase=1.
  2263. Example:
  2264. Find ports with @freebsd.org maintainer addresses without the
  2265. "proper" capitalization (@FreeBSD.org), display their paths and
  2266. maintainer addresses:
  2267. make search maint=@freebsd\\.org icase=0 display=maint,path
  2268. The key and xkey variables can be limited in scope to displayed fields
  2269. by setting keylim to 1.
  2270. Example:
  2271. Find ports that contain "apache" in either of the name, path, info
  2272. fields, ignore the rest of the record (dependencies, maintainer
  2273. address, etc):
  2274. make search key=apache display=name,path,info keylim=1
  2275. The following variables can be set e.g. in /etc/make.conf to
  2276. control default search behavior:
  2277. PORTSEARCH_DISPLAY_FIELDS?=name,path,info,maint,index,bdeps,rdeps
  2278. PORTSEARCH_KEYLIM?=0
  2279. PORTSEARCH_XKEYLIM?=0
  2280. PORTSEARCH_IGNORECASE?=1
  2281. * Extend USE_PERL5_BUILD and USE_PERL5 to add EXTRACT and PATCH
  2282. dependencies
  2283. * While building index, treat non-existent dependencies as fatal.
  2284. Previously the error was being hidden by the stderr
  2285. redirection.
  2286. * Don't always retry BROKEN ports when package building (it is taking
  2287. too much time to continually rebuild ports that are usually going
  2288. to really be broken). Set TRYBROKEN if you want to attempt a
  2289. build of a BROKEN port.
  2290. 20040604:
  2291. AUTHOR: ade@FreeBSD.org
  2292. Over the past few weeks, we have been testing the next
  2293. incarnation of ports/Mk/bsd.autotools.mk on the road to bringing
  2294. at least some semblance of sanity back to this corner of the
  2295. ports collection.
  2296. By far and away the easiest way to see the changes will be to
  2297. view the new file once committed, but here is a summary of the
  2298. changes:
  2299. 1. USE_LIBTOOL, USE_AUTOCONF, USE_AUTOHEADER, USE_AUTOMAKE have
  2300. been fully deprecated. Ports attempting to use these variables
  2301. after the commit will error out, and most obviously break INDEX
  2302. generation, with a helpful error message. Instead, ports must
  2303. now specifically choose the version of any of these tools that
  2304. they need with the corresponding USE_*_VER variables. Note that
  2305. these variables understand any and all versions of autotools ports
  2306. in the tree, there is no longer a need to have specific version
  2307. numbers hardcoded in the infrastructure of bsd.autotools.mk
  2308. (as there is now). In particular, this will immediately open up
  2309. automake18 and autoconf259 for general use and beating.
  2310. 2. Similarly for WANT_LIBTOOL, WANT_AUTOCONF, and WANT_AUTOMAKE.
  2311. Again, these have been fully deprecated, and the equivalent
  2312. WANT_*_VER versions should be used.
  2313. In order to preserve existing behavior for these variables, please
  2314. note the 20040314 entry in ports/CHANGES for the appropriate
  2315. version numbers to use for any ports in the GNATS queue.
  2316. Both WANT_* and USE_* bring in the relevant tool as a build
  2317. dependency, and set up a reasonably large number of variables
  2318. pointing to the right programs to be using in the port. The
  2319. only difference at the moment, is that USE_* will run an extra
  2320. autotools-related configuration step, whereas WANT_* merely
  2321. requests the environment.
  2322. 3. The helper knob USE_LIBLTDL has been added which currently
  2323. simply adds a LIB dependency on the libltdl port.
  2324. 4. Three new variables have been introduced,
  2325. WANT_{LIBTOOL,AUTOCONF,AUTOMAKE}_RUN=yes. These variables will
  2326. do nothing by themselves (a Work-In-Progress), but if the
  2327. appropriate autotool version is defined (either through
  2328. WANT_*_VER or USE_*_VER), this will add the relevant dependency
  2329. to RUN_DEPENDS.
  2330. Steps 3 and 4 now essentially negate the need for any kind of
  2331. direct dependency within a non-autotools port Makefile on
  2332. devel/autoconf*, devel/automake*, devel/libtool*, and devel/libltdl.
  2333. 20040416:
  2334. AUTHOR: java@FreeBSD.org
  2335. There has been a couple of bsd.java.mk tweaks and fixes.
  2336. . Features from Stage 2 has been removed. A port can no
  2337. longer use the JDK dependency features by setting JAVA_HOME.
  2338. Use JAVA_PREFERRED_PORT instead (see below).
  2339. . The default JDK port now depends on OS version:
  2340. java/diablo-jdk13 for 4.x, and java/jdk14 for 5.x
  2341. . It is now possible for the user (and the porters) to
  2342. define a list of preferred JDK ports to build and run ports.
  2343. The port will use the first JDK port from the list that
  2344. matches the requirements specified in the Makefile.
  2345. JAVA_PREFERRED_PORT contains a list of suitable JDK ports
  2346. (sorted by preference). Names for JDKs may be found in
  2347. bsd.java.mk, listed in ${_JAVA_PORTS_ALL} (e.g.
  2348. "JAVA_PORT_NATIVE_BSDJAVA_1_4").
  2349. . JAVA_PORT_VERSION is now set to the full version number
  2350. of the chosen JDK (e.g. "1.4.2"). Porters will find hints
  2351. regarding how to obtain the same behavior as before in the
  2352. header of bsd.java.mk.
  2353. 20040414:
  2354. AUTHOR: gnome@FreeBSD.org
  2355. When writing a port that uses GTK+ 2.X, you can now list the dependency
  2356. with "USE_GNOME=gtk20" which is preferable to LIB_DEPENDS because the
  2357. GTK+ library version only needs to be changed in bsd.gnome.mk.
  2358. Please see http://www.FreeBSD.org/gnome/docs/porting.html for all
  2359. the available GNOME components as well as detailed instructions on
  2360. creating ports that use the GNOME infrastructure.
  2361. 20040404:
  2362. AUTHOR: gnome@FreeBSD.org
  2363. The glib20 and gtk20 ports were updated to 2.4.0. This new version
  2364. is completely source and binary compatible with the previous 2.2.x
  2365. series. However, certain API calls have been deprecated. If your
  2366. port defines the following macros, they may refuse to build with
  2367. the new versions of glib20 and gtk20:
  2368. GTK_DISABLE_DEPRECATED
  2369. GDK_DISABLE_DEPRECATED
  2370. G_DISABLE_DEPRECATED
  2371. The temporary solution is to either patch your port's Makefiles to,
  2372. or use an in-place regular expression to remove these macros. The
  2373. more permanent solution is to wait until the port's authors update
  2374. their code to use current API calls.
  2375. 20040402:
  2376. AUTHOR: java@FreeBSD.org
  2377. There has been a big update to bsd.java.mk. However, this update
  2378. is mostly backwards compatible, so it shouldn't affect most java
  2379. port maintainers. There is some new functionality and minor
  2380. changes worth documenting here though.
  2381. bsd.java.mk now provides a new set of macros to be used by ports that
  2382. require a JDK. When USE_JAVA is set, the following variables may be set
  2383. in order to give to precision regarding the requirements of the port:
  2384. . JAVA_VERSION
  2385. A list of space-separated suitable java versions for the
  2386. port. An optional "+" allows you to specify a range of versions.
  2387. (allowed values: 1.1[+] 1.2[+] 1.3[+] 1.4[+])
  2388. (NOTE: Used to be set by bsd.java.mk)
  2389. . JAVA_OS
  2390. A list of space-separated suitable JDK port operating systems
  2391. for the port. (allowed values: native linux)
  2392. (NOTE: Used to be set by bsd.java.mk)
  2393. . JAVA_VENDOR
  2394. A list of space-separated suitable JDK port vendors for
  2395. the port. (allowed values: freebsd bsdjava sun ibm blackdown)
  2396. (NOTE: Used to be set by bsd.java.mk)
  2397. . JAVA_BUILD
  2398. When set, it means that the selected JDK port should be
  2399. added to build dependencies for the port.
  2400. . JAVA_RUN
  2401. This variable works exactly the same as JAVA_BUILD but
  2402. regarding run dependencies.
  2403. Here are some of the macros defined after setting USE_JAVA:
  2404. . JAVA_PORT
  2405. The name of the JDK port (e.g. java/jdk14)
  2406. . JAVA_HOME
  2407. The home of the JDK port in the local base
  2408. . JAVA_PORT_VERSION
  2409. The version of the JDK port.
  2410. (NOTE: Used to be JAVA_VERSION, see above)
  2411. . JAVA_PORT_OS
  2412. The operating system used by the JDK port.
  2413. (NOTE: Used to be JAVA_OS, see above)
  2414. . JAVA_PORT_VENDOR
  2415. The vendor of the JDK port.
  2416. (NOTE: Used to be JAVA_VENDOR, see above)
  2417. Plus many macros for the commonly used java executables:
  2418. APPLETVIEWER, JAR, JAVA, JAVAC, JAVADOC, JAVAH,
  2419. JAVAP, JAVA_KEYTOOL, JAVA_N2A, JAVA_POLICYTOOL,
  2420. JAVA_SERIALVER, RMIC, RMID and RMIREGISTRY.
  2421. bsd.java.mk 2.0 is mostly backward compatible with the previous
  2422. version, save for the notes above and changed internal variables.
  2423. Using the new features is strongly encouraged, since the old
  2424. bsd.java.mk 1.0 features will be deprecated and may be removed in
  2425. the future.
  2426. You will find more detailed info (as well as a quick tutorial) at:
  2427. http://www.esil.univ-mrs.fr/~hquiroz/freebsd/bsd.java.mk-2.0.html
  2428. 20040316:
  2429. AUTHOR: gnome@FreeBSD.org
  2430. The print/freetype2 port has been updated to 2.1.7. This update
  2431. changes some of the internal FreeType API. Applications may need
  2432. to be patched to support this new API. If a source files includes
  2433. freetype/freetype.h, make sure ft2build.h is included before
  2434. freetype/freetype.h. The proper way to do this is:
  2435. #include <ft2build.h>
  2436. #include FT_FREETYPE_H
  2437. However, the following will work as well, but is deprecated:
  2438. #include <ft2build.h>
  2439. #include <freetype/freetype.h>
  2440. 20040314:
  2441. AUTHOR: ade@FreeBSD.org
  2442. USE_LIBTOOL, USE_AUTOCONF, and USE_AUTOMAKE are now considered
  2443. deprecated, and will be removed on or around June 1st 2004.
  2444. All ports should now choose the specific version of the tool,
  2445. using USE_LIBTOOL_VER, USE_AUTOCONF_VER, and USE_AUTOMAKE_VER.
  2446. The old "system default" behavior can be written as follows:
  2447. Old New
  2448. USE_LIBTOOL=yes USE_LIBTOOL_VER=13
  2449. USE_AUTOCONF=yes USE_AUTOCONF_VER=213
  2450. USE_AUTOMAKE=yes USE_AUTOMAKE_VER=14
  2451. 20040304:
  2452. AUTHOR: eik@FreeBSD.org
  2453. New variable MASTER_SITE_SOURCEFORGE_EXTENDED. It has the
  2454. ten official sourceforge.net download mirrors, whereas
  2455. MASTER_SITE_SOURCEFORGE only has five. To check if your
  2456. port is mirrored there, go to
  2457. <http://prdownloads.sourceforge.net/${MASTER_SITE_SUBDIR}/>
  2458. click on ${DISTFILES} and you'll see five or ten mirrors,
  2459. corresponding to the variables above.
  2460. 20040226:
  2461. AUTHOR: knu@FreeBSD.org
  2462. The default version of Ruby is now 1.8 on all platforms
  2463. including the i386.
  2464. Users on the i386 platform need to follow the instructions
  2465. described in the UPDATING file to cope with this upgrade.
  2466. Next time ruby is major upgraded, you won't need to do this
  2467. kind of messy work because some subtle changes have been made
  2468. to the ruby port infrastructure to make it easier to handle
  2469. multiple versions of ruby.
  2470. 20040217:
  2471. AUTHOR: gnome@FreeBSD.org
  2472. Mozilla will now default to using GTK2, and will only compile
  2473. against Gtk+-1.2 if explicitly requested. This is in exact
  2474. opposite to the old behavior.
  2475. The valid values of WITH_MOZILLA are now:
  2476. mozilla (www/mozilla, GTK2)
  2477. mozilla-devel (www/mozilla-devel, GTK2)
  2478. mozilla-gtk1 (www/mozilla-gtk1, GTK1)
  2479. mozilla-devel-gtk1 (www/mozilla-devel-gtk1, GTK1)
  2480. As before, WITH_MOZILLA can be set in /etc/make.conf, but doing
  2481. so is not advised unless you desire the development versions.
  2482. GTK2 browsers will automatically compile against GTK2 mozilla,
  2483. and GTK1 browsers (galeon1, galeon1, and galeon1) will
  2484. automatically compile against GTK1.
  2485. Again, the only people who will need to take action are those
  2486. who desire development versions (which are inactive at this time
  2487. anyway). Those who want GTK1 mozilla-devel must set
  2488. WITH_MOZILLA=mozilla-devel-gtk1 or they will be pleasantly
  2489. surprised with their very own GTK2 installation on the next
  2490. update.
  2491. WITH_MOZILLA=mozilla-gtk2 and WITH_MOZILLA=mozilla-devel-gtk2
  2492. are still honored for the time being, but their use is
  2493. now deprecated. Any new ports are not required to consider
  2494. their values, and so eventually WITH_MOZILLA _will_ have to
  2495. be changed.
  2496. Hopefully galeon2 can catch up to peoples' expectations from
  2497. galeon1 soon, and we can remove the GTK1 ports altogether.
  2498. 20040204:
  2499. AUTHOR: portmgr@FreeBSD.org
  2500. The bsd.php.mk file has been moved out of the lang/php4 port
  2501. into the Mk directory. This will make it much easier to include
  2502. PHP support in PHP-dependent ports. Instead of including
  2503. bsd.php.mk directly, a port can simply set USE_PHP=yes, and the
  2504. ports system with Do the Right Thing.
  2505. All trailing whitespace has been removed from bsd.port.mk.
  2506. Enhance the new OPTIONS code by only including saved options if
  2507. the port defines OPTIONS, attempt to use LATEST_LINK as the
  2508. unique name for a port (fall back to ${PKGNAMEPREFIX}${PORTNAME}
  2509. otherwise), bring the ===> messages in line with the existing
  2510. ones by using PKGNAME instead of PORTNAME, use PKGNAME in the
  2511. dialog, use ECHO_CMD instead of ECHO_MSG to write the
  2512. OPTIONSFILE, display a message during compilation indicating
  2513. that user-specified options have been found, and make the output
  2514. of the showconfig target a little more user-friendly.
  2515. A new USE_ICONV macro has been added that takes the place of an
  2516. explicit LIB_DEPENDS on converters/libiconv. This will help
  2517. with future shared lib version bumps.
  2518. A new USE_GETTEXT macro has been added that takes the place of
  2519. an explicit LIB_DEPENDS on devel/gettext. This will help with
  2520. future shared lib version bumps.
  2521. Module::Build is a system for building, testing, and installing
  2522. Perl modules. It will eventually replace the obsoleted
  2523. ExtUtils::MakeMaker. Many new Perl modules have already
  2524. switched to using Build.PL instead of Makefile.PL. To
  2525. facilitate building those modules, a new PERL_MODBUILD macro has
  2526. been added. Use that in place of PERL_CONFIGURE when porting
  2527. Perl modules that make use of the Module::Build framework.
  2528. Certain ports want to check for the availability of SDL
  2529. libraries before including them. This change adds a new
  2530. WANT_SDL macro similar to WANT_GNOME. By setting this, the
  2531. porter indicates that her port can optional use SDL if present
  2532. on the system. WANT_SDL should be defined _before_
  2533. bsd.port.pre.mk is included. After including bsd.port.pre.mk,
  2534. the list of available SDL components will be returned in the
  2535. HAVE_SDL macro. For details on how to process this component
  2536. list, refer to bsd.sdl.mk.
  2537. The OpenBSD and NetBSD projects diverged from the FreeBSD ports
  2538. tree years ago, and it no longer make sense to include obsolete
  2539. references to incorrect paths in the FreeBSD ports system. This
  2540. change removes the NetBSD and OpenBSD PORTSDIR compatibility
  2541. bits from bsd.port.mk.
  2542. The comment for PKGDIR read, ``A direction containing any
  2543. package creating file.'' The word ``direction'' should be
  2544. ``directory.'' This has been fixed.
  2545. A new DIRNAME macro has been added that points to
  2546. /usr/bin/dirname. All direct use of dirname in ports can be
  2547. switched to this macro.
  2548. Direct use of commands dirname, id, and rm have been corrected
  2549. to use their macro equivalents instead. Some useless ${HEAD}
  2550. -n 1 statements have been removed. A strange comment in the
  2551. do-install target and an out of place ``fi'' have been fixed as
  2552. well.
  2553. On 5-CURRENT after the 5.2-RELEASE split, the default Perl
  2554. version has been updated from 5.6.1 to 5.8.2. As well, some
  2555. Perl definitions in bsd.port.mk have been moved to their correct
  2556. locations which corrects the PERL_LEVEL definition.
  2557. The following optimizations have been added to the ports system
  2558. to speed up recursive operations such as make describe, make
  2559. index, make ignorelist, etc. bsd.gnome.mk is now only included
  2560. if a port defines USE_GNOME, WANT_GNOME, and/or USE_GTK. More
  2561. variables are cached and passed down through bsd.port.subdir.mk.
  2562. Perl is no longer invoked when a simple ``echo'' will do. More
  2563. subshell variable assignments have been hidden behind
  2564. conditionals so that the commands are not spawned every time.
  2565. Finally, dependency lists are only constructed if ports actually
  2566. declare dependencies. These optimizations give make index
  2567. approximately a 43% speedup.
  2568. If CPUFLAGS is not defined (this _CPUCFLAGS is empty), trying
  2569. to remove _CPUCFLAGS from CFLAGS will result in an error. This
  2570. change fixes that.
  2571. On recent versions of 5.X, /etc/rc.subr exists, and there is no
  2572. reason to install another copy in ${LOCALBASE}/etc. The reason
  2573. this was ever done was to workaround some build issues on bento.
  2574. However, testing OSVERSION seems to work in spite of those build
  2575. issues.
  2576. The ports system now supports MySQL 3.23, 4.0, 4.1, and 5.0.
  2577. Also, the ability to scale to newer versions was also but in
  2578. place.
  2579. An .endif comment indicated that the .if block checked
  2580. WANT_MYSQL when, in fact, it was checking WANT_MYSQL_VER. This
  2581. has been corrected.
  2582. The PTHREAD{CFLAGS,LIBS} macros have been made overridable on
  2583. all versions of FreeBSD to allow for alternate threading
  2584. implementations (e.g. -lc_r, -lthr, -mt, etc.). The default
  2585. threading library has been changed to -lpthread from -lc_r on
  2586. -CURRENT.
  2587. The new SIZE support broke distfiles fetching on FreeBSD < 4.8.
  2588. On those versions of FreeBSD, the SIZE distfile attribute is now
  2589. ignored. Also, defining DISABLE_SIZE in, for example,
  2590. /etc/make.conf, will ignore the SIZE attribute on all versions
  2591. of FreeBSD. This is useful with alternate values for FETCH_CMD.
  2592. A new vulnerabilities database has been added to the ports
  2593. system in order to keep more accurate, up-to-date, track of
  2594. security vulnerabilities. The ports system now knows how to
  2595. query that database and dynamically prevents the installation
  2596. of vulnerable ports.
  2597. In order to allow for more rapid development of the package
  2598. tools, the ports system will prefer to use pkg_* tools found in
  2599. ${LOCALBASE} over those in the base system. However, all PKG_*
  2600. macros are still overridable.
  2601. A new physical category, net-mgmt, has been created to house
  2602. network management ports.
  2603. The /var/db/port.mkversion file never really took off, and is
  2604. now very obsolete. Replace the code used to generate and check
  2605. this file with a simple OSVERSION check. The ports system now
  2606. requires FreeBSD 4.3 or higher.
  2607. The last round of bsd.*.mk changes broke ports that had
  2608. duplicate distinfo entries (e.g. linux_base). This is now
  2609. fixed. Along with this fix, only distfiles with a bad checksum
  2610. will be refetched, where as distfiles missing from distinfo will
  2611. not be refetched.
  2612. The PLIST_{DIRS,FILES} macros were passed to the final package
  2613. list unchanged by PLIST_SUB. This is not always desirable.
  2614. Now, those macros are passed through PLIST_SUB.
  2615. The previous OPTIONS code assumed users would be running port
  2616. build as root. If this was not the case, OPTIONS configuration
  2617. would fail. Now, the bits of the config and rmconfig targets
  2618. that require write access to system directories are run under
  2619. SU_CMD.
  2620. The makesum target will now add a SIZE attribute for each
  2621. distfile by default. This can be overridden by defining NO_SIZE
  2622. in a port's Makefile. Note: this could probably be expanded to
  2623. omit SIZE attributes for specific distfiles in the future.
  2624. 20040129:
  2625. AUTHOR: trevor@FreeBSD.org
  2626. SIZE lines in distinfo files: if you set USE_SIZE when you do "make
  2627. makesum", the byte sizes of the distfiles will be listed in the
  2628. distinfo file. Then, if a distfile is replaced on its master site with
  2629. one of a different size than that listed, "make fetch" will fail with a
  2630. "size mismatch" error before downloading the file and the user will be
  2631. asked to fetch the file by hand. Also, a user will know the size of
  2632. the distfiles before fetching and decide to fetch later.
  2633. 20040129:
  2634. AUTHOR: erwin@FreeBSD.org
  2635. Start of CHANGES file.
  2636. FORMAT:
  2637. This file contains a list, in reverse chronological order, of major
  2638. breakages or added features in tracking ports. Not all things will be
  2639. listed here, and it only starts on January 29, 2004.
  2640. Copyright information:
  2641. Copyright 2004-2019 FreeBSD Foundation All Rights Reserved.
  2642. Redistribution, publication, translation and use, with or without
  2643. modification, in full or in part, in any form or format of this
  2644. document are permitted without further permission from the author.
  2645. THIS DOCUMENT IS PROVIDED BY FREEBSD FOUNDATION ``AS IS'' AND ANY EXPRESS OR
  2646. IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  2647. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  2648. DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
  2649. INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  2650. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  2651. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2652. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  2653. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
  2654. IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  2655. POSSIBILITY OF SUCH DAMAGE.
  2656. Contact portmgr@FreeBSD.org if you have any questions about your use of
  2657. this document.
  2658. $FreeBSD$