* Move the add-plist-info target after post-install, so that ports that
install their info files in the post-install phase will have them
correctly registered in the plist.
* all-depends-list was too aggressive: it should only include the
run-depends of the ports upon which it depends, plus the
non-runtime dependencies of the port itself. Previously it was also
including the non-runtime (e.g. BUILD, EXTRACT, FETCH) dependencies of
the ports upon which it depends, which are irrelevant.
line with bsd.port.mk and prevents errors when ${OSVERSION} is (somehow)
undefined.
Problem report from: Thomas Abthorpe <thomas@stthomas.stthomasanglican.org>
This is essentially a null-commit, with the one exception that
the "patch-libtool" target is now called "patch-autotools" for
consistency with "run-autotools".
Many thanks to kris for testing on the 4-exp bento cluster
Approved by: portmgr (kris)
Verified by: bento 4-exp
. Make the USE_JIKES setting to actually work.
. Simplified backwards compatibility with the old bsd.java.mk.
. Allowed java dependency selection with JAVA_PREFERRED_PORTS.
. More error checking on variable settings.
. Allowed USE_JAVA=yes to work without specifying a version.
. Expanded the meta-info for the individual ports so the full version
is now available, among other things.
Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
. Use the appropriate command variable (e.g. ${SED}) rather than the raw
command itself. Most of the files in Mk appear to do this, although
there are some exceptions. Certainly bsd.port.mk does.
The one exception is uniq, for which there isn't yet a defined variable.
PR: 65210
Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
bsd.java.mk now provides a new set of macros to be used by ports that
require a JDK. When USE_JAVA is set, the following variables may be set
in order to give to precision regarding the requirements of the port:
- JAVA_VERSION: A list of space-separated suitable java versions for the
port. An optional "+" allows you to specify a range of versions.
(allowed values: 1.1[+] 1.2[+] 1.3[+] 1.4[+])
- JAVA_OS: A list of space-separated suitable JDK port operating systems
for the port. (allowed values: native linux)
- JAVA_VENDOR: A list of space-sperated suitable JDK port vendors for
the port. (allowed values: freebsd bsdjava sun ibm blackdown)
- JAVA_BUILD: When set, it means that the selected JDK port should be
added to build dependencies for the port.
- JAVA_RUN: This variable works exactly the same as JAVA_BUILD but
regarding run dependencies.
Here are some of the macros defined after setting USE_JAVA:
- JAVA_PORT: The name of the JDK port (e.g. java/jdk14)
- JAVA_HOME: The home of the JDK port in the local base
- JAVA_PORT_VERSION: The version of the JDK port.
- JAVA_PORT_OS: The operating system used by the JDK port.
- JAVA_PORT_VENDOR: The vendor of the JDK port.
- And many macros for the commonly used java executables, such as JAVA,
JAVAC, JAVADOC, JAVAH, RMID, JAR...
bsd.java.mk 2.0 is backward compatible with the previous version. Using
the new features is strongly encouraged, since the old bsd.java.mk 1.0
features will be deprecated and removed in the near future.
You will find more detailed info (as well as a quick tutorial) at:
http://www.esil.univ-mrs.fr/~hquiroz/freebsd/bsd.java.mk-2.0.html
If you experience any problems with java based ports that you believe
is due to this change then please let me know.
PR: 63511
Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
INFO_PATH variable may be used to specify their location. It defaults
to 'share/info' for the standard PREFIX, and 'info' when PREFIX ==
/usr. [1]
- Remove the <category>/pkg/COMMENT files in favour of a COMMENT
variable in <category>/Makefile [2]
- Prevent patch breakage with VERSION_CONTROL=numbered [3]
- Fix some instances of incorrect WRKDIRPREFIX handling. [4]
- remove useless ${MKDIR} ${WRKSRC} in config target [5]
- remove reference to OpenBSD [6]
- Exempt devel/p5-Module-Build from the self-dependency in
PERL_MODBUILD so that this port may use the option without getting an
infinite dependency list [7]
- The default PERL_ARCH is currently determined as a function of
OSVERSION. It should however be a function of PERL_LEVEL since the
correct value depends on what Perl version one has installed (older
Perl versions use ${ARCH}-freebsd, newer versions use mach). [8]
- Fix PORTDOCS on older (4.7, 5.0) systems [9]
- Allow 'make parallel' to generate a working makefile when not all
categories are present (this does not mean you'll be able to build all
ports, unless you make sure they don't have external dependencies) [10]
- Don't report symlinks as world-writable in the security check [11]
- Fix a comment that was broken by a mismerged patch [12]
- Clarify the meaning of USE_*, WANT_*, WITH_* and WITHOUT_* [13]
- Don't set _CHKSUMFILES/_IGNOREFILES if CKSUMFILES/IGNOREFILES is
empty and DIST_SUBDIR is set. [14]
- Fix comment for DISTDIR [15]
- Update the documentation of the USE_GL variable [16]
- Check to see if NONEXISTENT exists, and fail with an error if it does [17]
- Fix fetching of new distfiles in 'make makesum' when SIZE is set [18]
- Consistently set MAKE_ENV when USE_GCC=3.2 or 3.3 are set [19]
- Rework INDEX builds: [20]
* Fix the bsd.port.subdir.mk code that is supposed to report index
breakage (the fallback code wasn't actually being run because make
would halt immediately following the error). This should help with
INDEX error reports because it will immediately show the cause of
failure, so we won't have to pull teeth to extract it from the
submitter.
* Streamline the 'make describe' code a bit.
* Provide some basic instructions to the user when an index build
fails, on when and how to report index build failures (turn this off
with INDEX_QUIET=1)
* Removed INDEX_NOSORT, because I couldn't imagine it to be very
useful and it doesn't cost very much anyway.
* Don't prevent INDEX builds from seeing the local host environment.
Since a lot of users are using 'make index' thesedays they should get
an index that reflects their local settings and installed ports. If
you want to build a 'default' index that isn't influenced by local
settings (e.g. for release builds), set the INDEX_PRISTINE variable.
* Allows parallel INDEX builds (using make -j). The most obvious way
of doing this doesn't work, because I/O from child makes is broken up
into 2k chunks, and output lines from 'make describe' that exceed this
length (*cough* GNOME *cough*) will be intertwined with the output of
other makes, leading to a corrupted INDEX. The I/O interleaving
can be disabled using 'make -P', but this inserts extraneous output of
its own, and redirects stderr, making it useless for our purposes.
Instead, I collect the output from the child make processes in
temporary files and recombine them at the end.
* The number of concurrent make processes to spawn can be set using
INDEX_JOBS. By default this is set to 2, which seems to be a sweet
spot for both single and dual-processor systems. On my tests I do not
see any significant performance changes on UP, but on a dual 4.x
system the build time drops by 47% (6 minute index builds on one test
machine!). Depending on your disk and CPU hardware you might see
further gains with INDEX_JOBS=4 or higher, so you might like to
experiment to see what works best. On a dual 5.x system the
performance gains do not seem to be as great (20-30%), but this is
still a significant net win.
PR: 55493 [1], 59651 [2], 61552 [3], 62247 [4], 62329 [5],
62337 [6], 62422 [7], 62441 [8], 62627 [9], 62983 [10],
63112 [11], 63297 [12], 63335 [13], 64029 [14], 64069 [15],
64236 [16], 64519 [17], 62958 [18], 64237 [19]
Submitted by: lev [1],
Matthew Seaman <m.seaman@infracaninophile.co.uk> [2],
Joel Ray Holveck <joelh@piquan.org> [3],
ade [4], Sergey Matveychuk <sem@ciam.ru> [5],
markus [6], mat [7], des [8], eik [9],
Dmitry Morozovsky <marck@rinet.ru> [10],
Andrew <andrew@ugh.net.au> [11], vs [12], linimon [13],
edwin [14][15], gerald [16], marcus[17][18], kris [19][20]
not permit passive FTP, and
<URL:http://www2.auckland.ac.nz/net/Accounting/> asks that we only
download from it "at any time between 0700 and 2000 GMT (traffic
charges to New Zealand - which we pay - are cheaper between 8 pm
and 9 am)."
- upgrade to 1.2.7
- add a knob WITH_NAS
- fix dependences to aalib & svgalib
- use standard DOCSDIR & EXAMPLESDIR
- fix plist for NOPORTDOCS
- distribute README-SDL.txt.
PR: Based on ports/57475
Submitted by: Thierry Thomas <thierry@pompo.net>
Reviewed by: kris@ with a build on bento
Important changes:
==================
KDE:
- Audio/arts does not install artswrapper anymore, instead it is provided by
audio/artswrapper. See UPDATING.
- misc/kdeaddons3 is now a metaport with
editors/kate-plugins
editors/vimpart
games/atlantikdesigner
misc/kaddressbook-plugins
misc/kfile-plugins
misc/kicker-applets
misc/knewsticker-scripts
misc/konq-plugins
misc/ksig
misc/renamedlgplugins
multimedia/noatun-plugins
net/kontact-plugins
as slave ports.
- A number of KDE ports now uses OPTIONS do make various WITH_* options more
visible.
- Plist fixes
- devel/kdevelop should be able to detect FreeBSD's autoconf/automake now for
newly created projects.
- kdebase will no longer remove previous KDM configurations. This won't take
effect during the update from 3.2.0 to 3.2.1 (as deinstalling 3.2.0 will still
remove the configuration), but subsequent updates will merge old configs.
QT:
- Previous versions of QT could be compiled with debugging-support enabled by
defining DEBUG. This switch has been renamed to the more unambiguous
WANT_QT_DEBUG (similar to WANT_KDE_DEBUG in the KDE ports).
- remove belnet from the list until the distfiles are fixed
rationale:
- separately listed mirrors make the distfile survey more reliable,
and we can remove sites with problems, even though it is bad for
automatic sorting
try the following sh scripts:
for m in heanet aleron unc belnet umn twtelecom switch easynews keihanna cesnet; \
do echo -n $m ": "; fetch -o - -q -A http://$m.dl.sourceforge.net/sourceforge/balance/balance-3.11.tar.gz | md5; done
for m in heanet aleron unc belnet umn twtelecom switch easynews keihanna cesnet; \
do echo -n $m ": "; fetch -o - -q -A http://$m.dl.sourceforge.net/sourceforge/gaim/gaim-0.75.tar.bz2 | md5; done
Always put a version suffix to the ruby name (no matter if ruby is the
default version) to avoid mess in future.
[Notes for i386 users]
If you are a ruby developer and still want to stick with ruby 1.6 as
default, please add RUBY_DEFAULT_VER=1.6 to /etc/make.conf.
If you are a ruby developer and want to keep ruby 1.6 as default,
please add RUBY_DEFAULT_VER=1.6 to /etc/make.conf. Otherwise, please
run the following series of commands to migrate to ruby 1.8:
1) Reinstall portupgrade manually (and ruby 1.8 will be installed)
pkg_delete portupgrade-\*
(cd /usr/ports/sysutils/portupgrade; make install clean)
2) Reinstall everything that depends on ruby 1.6 (to use ruby 1.8)
portupgrade -fr lang/ruby16
3) Reinstall ruby 1.8 (because the previous step kills symlinks)
portupgrade -f lang/ruby18
4) Deinstall ruby 1.6 stuff (if you are paranoia)
pkg_deinstall -ri lang/ruby16
Important changes:
==================
- Kmail and knode have been moved from kdenetwork to kdepim. This
means you will have to install kdepim if you want to continue using
kmail or knode. This is to ease integration with korganizer, in
the new 'Kontact' application.
- The arabic translations for KDE and KOffice have been moved from
misc to the arabic category.
- There is a new module called kdeaccessibility in the accessibility
category. It contains a few utilities for disabled users like a
magnification lens and a text-to-speech frontend.
- In KDM, you need to select the 'CUSTOM' session profile in order
to have your .xsession executed. This is particularly important if
you're using the aegypten tools
(http://freebsd.kde.org/howtos/aegypten-kmail.php).
- We have started making more parts of the ports optional. In kdepim,
both Kandy and KPilot can be turned off with ports-knobs. This
process will continue in the 3.2 series.
* Remove trailing whitespace from bsd.port.mk [2]
* Enhanced OPTIONS handling [3]
* Add a USE_ICONV macro [4]
* Add a USE_GETTEXT macro [5]
* Add support for p5-Module::Build [6]
* Enhance bsd.sdl.mk with WANT_SDL [7]
* Remove NetBSD and OpenBSD bits from bsd.port.mk [8]
* Correct a type in PKGDIR description in bsd.port.mk [9]
* Add new DIRNAME macro [10]
* Cleanup bsd.port.mk [11]
* The default Perl for -CURRENT has been updated to 5.8.2 [12]
* Optimize recursive operations on the ports tree [13]
* Do not attempt to remove _CPUCFLAGS from CFLAGS if _CPUCFLAGS is
not defined [14]
* Remove sysutils/rc_subr dependency on -CURRENT [15]
* Add MySQL 5.X support to the ports system [16]
* Fix a comment typo related to MySQL [17]
* Change PTHREAD_{CFLAGS,LIBS} behavior [18]
* Do not check distfile size on FreeBSD < 4.8 [19]
* Do not install ports with security vulnerabilities [20]
* Use ${LOCALBASE}/sbin/pkg_* tools if found [21]
* A new net-mgmt physical category has been added [22]
* Stop relying on port.mkversion [23]
* Fix a regression in checksum processing [24]
* Allow PLIST_{DIRS,FILES} to make use of PLIST_SUB [25]
* Switch to root to run config and rmconfig targets [26]
* Add SIZE attributes for distfiles by default [27]
PR: 61683 [3]
62131 [4]
61992 [5]
61621 [6]
61877 [7]
61401 [8]
61684 [10]
61684 61955 [11]
61857 [12]
61757 [14]
61454 [15]
60559 [16]
62039 [20]
62039 [21]
61856 [23]
61972 [27]
Submitted by: ale [1]
marcus [2]
eik [3]
trevor [4]
trevor [5]
skv [6]
edwin [7]
Markus Brueffer <brueffer@phoenix-systems.de> [8]
trevor [9]
eik [10]
eik des [11]
des [12]
kris [13]
marcus [14]
Sergey Matveychuk <sem@ciam.ru> [15]
ale [16]
linimon [17]
eischen netchild [18]
marcus netchild [20]
eik [21]
wollman [22]
des [23]
marcus eik [24]
marcus [25]
marcus [26]
trevor [27]
would fail make checksum. Note: this is the simplest fix, but there is a
more complete fix by eik and myself that works in the spirit of the original
distinfo cleanup patch. However, that patch needs to be tested on bento first.
PR: 61772
Submitted by: dinoex
${PORT_DBDIR} is /var/db/ports and ${UNIQUENAME} is
${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}. OPTIONSFILE, PORT_DBDIR,
and UNIQUENAME are all overrideable by the porter.
Note: a better solution may be forthcoming after it can be shaken out
on bento. This is a simple fix to workaround PORTNAME conflicts in the
tree.
Submitted by: eivind
* Make CONFIGURE_MAX_CMD_LEN default to sysctl -n kern.argmax which is more
accurate, and has been in FreeBSD since the beginning (NOTE:
CONFIGURE_MAX_CMD_LEN is still overrideable from a port's Makefile) [2]
Submitted by: eik [1]
Requested by: juli [2]
* Add ghostscript knobs [1]
* Add per-port persistent build options with a menu-driven front-end [2]
* Allow porters to override the message generated when do-configure fails [3]
* Add patch to obviate many pkg-plist files [4]
* Fix the PKG_DBDIR comment [5]
* Make ports framework more robust with regard to make index [6]
* Add new command macros to bsd.port.mk [7]
* Remove direct command use from bsd.port.mk [8]
* Make the ports system respect WITHOUT_CPU_CFLAGS [9]
* Break the SDL code out into bsd.sdl.mk [10]
* Add working support for USE_SIZE [11]
* Fix RANDOMIZE_MASTER_SITES on -CURRENT [12]
* Convert some spaces to tabs [13]
* Add new physcial categories accessibility and x11-themes [14]
* Speed up GNU configure scripts [15]
* Remove "//" from MLINKS items in PLISTs and fix make -s install and
make -s deinstall [16]
* Be more specific about looking for files in distinfo [17]
* Add new run-autotools target, and resort configure targets [18]
* Make CONFLICTS compare prefix for installed packages and PREFIX [19]
* Change directory to ${.CURDIR} before running certain make commands [20]
* When INSTALL_AS_USER is set, run ldconfig with failures ignored [21]
* Speed up the security check phase [22]
* Fix some corner cases in the PORTDOCS code [23]
* Add a new DEPRECATED macro [24]
* Make INDEX breakage more informative [25]
Look for a full write-up to follow on ports@ and ports-developers@.
PR: 36112 [1]
59909 [4]
61351 [6]
59058 [7]
59058 [8]
59493 [9]
55494 [10]
59058 [11]
59315 [12]
59058 [13]
59811 [15]
59058 [16]
59058 [17]
60882 [18]
58149 [19]
59058 [20]
61133 [21]
55331 [22]
59070 [23]
59362 [24]
59626 [25]
Submitted by: linimon [1]
eivind [2]
marcus [3]
trevor [4]
gerald [5]
linimon [6]
eik [7]
eik [8]
jeh [9]
edwin [10]
eik [11]
Sergey Matveychuk <sem@ciam.ru> [12]
eik [13]
trevor gnome [14]
adamw [15]
eik [16]
eik [17]
edwin [18]
clement [19]
eik [20]
edwin lev [21]
Eugene M. Kim <ab@astralblue.com> [22]
eik [23]
linimon [24]
eik [25]
* Make intlhack and gtk20 use the new intltool component
* Add a new gtkhtml3 component that adds a dependency on www/gtkhtml3 (this
will be used for balsa2 as well as some of the upcoming GNOME 2.6 ports)
* Simplify the {BUILD,RUN}_DEPENDS code [1]
* Add a new intlhack component for ports that require intltool >= 0.28
* Add a gstreamerplugins component [2]
* Add an lthack component that takes the place of the standard GNOME
patch-configure [2]
* Add pygtk, pygnome, pygtk2, and pygnome2 components [2]
* Point gnomeaudio to audio/gnomeaudio2 [2]
* Categorize the USE_GNOME component list [2]
Submitted by: Rolf Grossmann <rg@progtech.net> [1]
adamw [2]
would not have been picked up if USE_JAVA was set to "1.3+".
The behaviour is now as follows if USE_JAVA is set to
"1.3+":
- If the setting is 1.3+, then use an already installed 1.3
or 1.4 JDK. If there is no such JDK, then set USE_JAVA to
1.3. The FreeBSD JDK 1.4 is preferred over all other
JDK's.
Noticed by: pav
It turned out that the configure target does not need to be
overridable but just RUBY_ARCH does for those who are to use a
hand-built interpreter with modules from ports.
Hint given from: obrien
Approved by: kris (implicitly), and myself
* Include SITE_PERL earlier [2]
* Use the correct versions of autoconf and automake [3]
* Add a PORTDOCS macro for automating installation of documentation files [4]
* Define a default Fortran compiler for each version of USE_GCC [5]
* Fix package builds when WRKDIRPREFIX is set [6]
* Add more comment documentation on default targets [7]
* Fix plist generation in certain cases [8]
* Fix COMMENT/COMMENTFILE checking [9]
* Use SU_CMD for deinstall and deinstall-all targets (provided
INSTALL_AS_USER is not set) [10]
* Define a default WWWOWN and WWWGRP [11]
* Make INDEX builds work even when the port name is the same as a default
target [12]
* Fix the new share/nls/C links [13]
* Don't look in ${LOCALBASE}/lib/compat/pkg for LIB_DEPENDS [14]
* Document package-recursive [15]
* Create a new virtual category, lisp [16]
* Create a new real category, arabic
* Add a new GCCVERSION macro for eaisly tracking compiler version changes [17]
* Abstract out some of the common Apache bits [18]
* Enable the use of USE_OPENLDAP after including bsd.port.pre.mk [19]
* Add a new virtual category, pear [20]
* Add support for randomizing MASTER_SITES [21]
* Don't accept PORTVERSIONS that pkg_version can't handle [22]
* Add support for dynamic pkg-install, pkg-deinstall, pkg-message, and
pkg-req scripts [23]
* Don't redirect stderr when running pkg_info -O. This may help troubleshoot
mysterious "Error 1" messages.
* Fix up the order of the various PKGNAME related macros to be consistent with
portlint [24]
PR: 21885 [1]
51588 [2]
55325 [3]
57778 [4]
55674 [5]
56096 [6]
56355 [7]
56533 [8]
57272 [9]
57378 [10]
57403 [11]
57438 [12]
57488 [13]
57664 [14]
57928 [15]
58232 [16]
58317 [17]
32604 [18]
57529 [19]
56582 [20]
48377 [21]
56960 [22]
58885 [23]
54351 [24]
Submitted by: trevor [1]
eik@fillmore-labs.com [2]
rehsack@liwing.de, ade [3]
eikemeier@fillmore-labs.com [4]
thierry@pompo.net [5]
Palle Girgensohn <girgen@pingpong.net> [6]
edwin [7]
leeym [8]
edwin [9]
fjoe [10]
edwin [11]
eikemeier@fillmore-labs.com [12]
fuyuki@nigredo.org [13]
eikemeier@fillmore-labs.com [14]
freebsd@generalresources.com [15]
linimon [16]
linimon [17]
dinoex [18]
eikemeier@fillmore-labs.com [19]
edwin [20]
seanc [21]
eikemeier@fillmore-labs.com [22]
Reviewed by: eikemeier@fillmore-labs.com [23]
in September 2003 (blackroute.net itself is still there, however); and
packetstorm.org, which on its main page tells you that packetstorm.nl
is the canonical page.
top of the file will note that bsd.sites.mk is ports@ territory,
not portmgr territory.
Hopefully, anyway. It's difficult because everything else in
ports/Mk belongs to a specific entity.
eg)
USE_PYTHON= yes # backward compatible
USE_PYTHON= 2.2 # same as PYTHON_VERSION=python2.2
USE_PYTHON= 2.1+ # 2.1 at least
USE_PYTHON= 2.0-2.2 # from 2.0 to 2.2
USE_PYTHON= -2.3 # up to 2.3. 2.4 is not allowed.
- Introduce a new variable, PYTHON_PKGNAMESUFFIX for ports that is
more popular without 'py-' prefix like Mailman or Zope.
Reviewed by: silence on ports@
Per Fenner's logs, and my own checking, the site
ftp://uiarchive.uiuc.edu disappeared around July 22nd.
This patch will remove the listing in MASTER_SITES_XCONTRIB;
a few ports refer to it directly, but since they have
individual maintainers they'll be separate PRs.
PR: ports/57560
Submitted by: Mark Linimon <linimon@lonesome.com>
Remove ftp.meiji.ac.jp from the CTAN sites[2] (it is not even listed as
a mirror on http://www.ctan.org/ anymore).
Resolve unix.hensa.ac.uk's identity crisis as ftp.mirror.ac.uk[3] :)
PR: 57505[1], 57506[2], 56590[3]
Submitted by: Mark Linimon <linimon@lonesome.com> [1, 2],
Tim Bishop <tim@bishnet.net> [3]
From: Jean-Yves Lefort <jylefort@brutele.be>
To: Edwin Groothuis <edwin@FreeBSD.org>
Note that ftp.gnu.org should be removed from MASTER_SITE_SAVANNAH, as it
is already listed in MASTER_SITE_GNU (it seems to be a GNU repository
rather than a Savannah one -- my bad).
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Savannah (http://savannah.gnu.org/) is a more and more
popular hosting site for free software projects.
PR: ports/56970
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
- Disable dlmodule on amd64 and sparc64 because dlmodule isn't designed
for them.
- Add -fPIC on CFLAGS on amd64 for mod_python3 and other ports using it
on linking their own dynamic library.