1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
Commit Graph

4278 Commits

Author SHA1 Message Date
Baptiste Daroussin
ac8293a2e3 Move updating the desktop database later to make sure it work as expected with pkg_install 2014-05-07 15:41:33 +00:00
Beat Gaetzi
d71f60b2f1 - Update SeaMonkey to 2.26
- Update libxul to 24.5.0
- Switch to USES=tar:bzip2
- Fix SeaMonkey version detection in Uses/gecko.mk

Submitted by:	Jan Beich
Security:	http://www.vuxml.org/freebsd/985d4d6c-cfbd-11e3-a003-b4b52fce4ce8.html
Approved by:	portmgr (bdrewery, security update to non-staged port)
2014-05-06 19:13:09 +00:00
Antoine Brodin
c3dc6f69e9 When a port needs a python version in a specific range that current python
doesn't satisfy, prefer PYTHON2_DEFAULT or PYTHON3_DEFAULT over other
versions.
Previously, python34 was choosen despite python33 being the default python3.

Silence from:	python
With hat:	portmgr
2014-05-06 17:43:11 +00:00
Tijl Coosemans
e9ccd0e2a8 Let stage-qa detect .la libraries and warn that a port needs USES=libtool.
PR:		ports/189255
Approved by:	portmgr (antoine)
2014-05-06 11:57:22 +00:00
Tijl Coosemans
3f890c31c6 - Run autotools in the same order as autoreconf, i.e. libtoolize, aclocal,
autoconf, autoheader, automake. [1]
  This should allow replacing custom pre-configure and run-autotools
  targets that some ports have with USE_AUTOTOOLS.
- Set default LIBTOOLIZE_ARGS:
  -i: install missing build scripts.
  -c: copy files instead of linking them.  This is needed for USES=libtool
      to be able to patch them.
  -f: force replacement of existing files.  This ensures all files belong
      to the same version.

database/vsqlite:
- Fix with new LIBTOOLIZE_ARGS.
- INSTALL_TARGET=install-strip.
- Drop :keepla.

Reported by:	Nikola Kolev <koue@chaosophia.net> [1]
Exp-run:	antoine
Approved by:	portmgr (antoine)
2014-05-06 09:55:35 +00:00
Raphael Kubo da Costa
5b979ce1a8 The KDE on FreeBSD team presents Qt 4.8.6.
This is a minor bugfix release that fortunately contains quite a few patches
that we have upstreamed in the past months.

See http://blog.qt.digia.com/blog/2014/04/24/qt-4-8-6-released/ for a
summary of changes, and
http://download.qt-project.org/official_releases/qt/4.8/4.8.6/changes-4.8.6
for a detailed list of changes.

This patch contains commits by me, makc@ and Schaich Alonso.

PR:		ports/189213
2014-05-05 20:47:22 +00:00
Antoine Brodin
18d30488cc Fix a copy/paste error
Reported by:	rene
With hat:	portmgr
2014-05-05 17:23:02 +00:00
Baptiste Daroussin
05bbadc591 Finish USES=pgsql
Add WANT_PGSQL=client support
Do not test WANT_PGSQL if it is not defined
Fix a couple of typos makeing it unusable
add WANT_PGSQL=lib (default it nothing is specified)
only depends on library if no WANT_PGSQL is set or lib is explicitly
added to WANT_PGSQL
2014-05-05 12:39:54 +00:00
John Marino
38c3dd2370 Mk/bsd.wx.mk: fixed a :U straggler 2014-05-05 12:04:01 +00:00
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Bryan Drewery
009875f080 - Ignore MTREE owned PREFIX and PREFIX/info removal for now.
The removal of PREFIX/info may be a bug in bsd.port.mk and needs
  more testing.

With hat:	portmgr
Reported by:	gerald
2014-05-04 03:09:58 +00:00
Bryan Drewery
f6add42b9a - Always ignore /root/.ccache. Missed with r352918
With hat:	portmgr
2014-05-04 03:08:38 +00:00
Sunpoet Po-Chuan Hsieh
597a7da114 - Convert to new LIB_DEPENDS format
Approved by:	portmgr (blanket)
2014-05-03 16:20:54 +00:00
Bryan Drewery
03fd5eb749 - Fix WITH_CCACHE_BUILD support (fix build) with ports that use
HOME=/dev/null to avoid staging violations. This will force
  CCACHE_DIR=/root/.ccache when running as root, and otherwise
  will force CCACHE_DIR to be manually set.

With hat:	portmgr
PR:		ports/186410 [textproc/xmlto build]
Reported by:	mandree, Rainer Duffner <rainer@ultra-secure.de>
MFH:		2014Q2
2014-05-03 15:11:01 +00:00
Jung-uk Kim
aa834f1ffa Document JAVA_EXTRACT. 2014-05-02 21:35:14 +00:00
Bryan Drewery
a9854d21e1 - Fix with fmake:
/usr/ports/Mk/bsd.sanity.mk", line 111: Malformed conditional (defined(USE_AUTOTOOLS) && (${USE_AUTOTOOLS:Mlibtool} || ${USE_AUTOTOOLS:Mlibtool\:env}))

With hat:	portmgr
2014-05-02 19:51:04 +00:00
Tijl Coosemans
f864fc4bfb Mark USE_AUTOTOOLS=libtool and USE_GNOME=ltverhack deprecated.
PR:		ports/189244
Approved by:	portmgr (antoine)
2014-05-02 19:05:02 +00:00
Tijl Coosemans
ea533c8b26 Use new LIB_DEPENDS syntax in Mk/bsd.sdl.mk. 2014-05-02 14:45:32 +00:00
Ashish SHUKLA
1856447336 - Update to bzr revision 24.4.50
- Update version of emacs-devel port in bsd.emacs.mk
2014-05-02 01:51:50 +00:00
Koop Mast
a2e27959ef Add gtkhtml 4.8.0.
This is the gtk+ 3.0 version of gtkhtml3.

Obtained from:	GNOME dev repo.
2014-05-01 14:23:31 +00:00
Alex Dupre
df6451a093 Update to 5.5.12 release. 2014-05-01 10:36:34 +00:00
Beat Gaetzi
b6e8f8d98d - Update Firefox to 29.0
- Update Firefox ESR to 24.5.0
- Update Thunderbird to 24.5.0
- Update NSS to 3.16
- Use port dependency for soundtouch library
- Require recent graphite2 version explicitly [1]
- Require gst-libav version that doesn't crash on seeking [2]
  and doesn't error out on plugin load [3]
- Remove gstreamer note in pkg-message for www/firefox, [3] may still
  happen with www/firefox-esr but only until it tracks esr31 (ca 2014-09-01)
- Fix USE_XPI in mail/thunderbird-i18n [4]

Security:	http://www.vuxml.org/freebsd/985d4d6c-cfbd-11e3-a003-b4b52fce4ce8.html
PR:		ports/187939 [1]
PR:		ports/188133 [2]
PR:		ports/181964 [3]
PR:		ports/188984 [4]
Submitted by:	Toomas Aas <toomas.aas@raad.tartu.ee> [1]
Submitted by:	Jakub Lach <jakub_lach@mailplus.pl> [2]
Submitted by:	Jan Beich [3] and this update!
Submitted by:	Toni Ballesta <mustelator@yahoo.es> [4]
Approved by:	portmgr (bdrewery, security update to non-staged port)
2014-04-29 20:35:24 +00:00
Sunpoet Po-Chuan Hsieh
7f1820e2c3 - Add shared UDUNITS and UDUNITS2 descriptions 2014-04-29 13:28:44 +00:00
Baptiste Daroussin
51b7c9f6d0 Allow to append -p[0-9] to EXTRA_PATCHES to specify the patch(1) stripping level 2014-04-28 15:47:50 +00:00
Olli Hauer
edfcd95e30 - automatically strip modules build with
AP_FAST_BUILD, except if DEBUG is set
2014-04-27 14:11:30 +00:00
Bryan Drewery
779bba4486 - Fix check-stagedir causing staging violating. Quote all directory names
when doing plist checks. This could leak out if an unsupported format
  was used such as 'rmdir -p' or 'rmdir dir1 dir2 dir3'

With hat:	portmgr
Reported by:	antoine
Pointyhat to:	bdrewery
2014-04-24 22:42:06 +00:00
Bryan Drewery
eacc5a1959 - Fix false-positive orphanned dir when '@unexec rmdir -p' is used.
Reported by:	antoine
With hat:	portmgr
2014-04-24 22:31:24 +00:00
Bryan Drewery
821e60e4cc - Refactor a bit into functions
With hat:	portmgr
2014-04-24 22:30:05 +00:00
Jung-uk Kim
d367a33745 - Sort Java implementations by preference, i.e., java/openjdk7 is preferred
over java/openjdk8.  java/openjdk8 is still in its infancy.
- Retire redundant _JAVA_PREFERRED_PORTS hack.  We only have one preferred
port since r290539 and we want to keep it that way.
2014-04-24 18:05:21 +00:00
Bryan Drewery
4541c779c7 check-plist: Don't error if GNOME_MTREE_FILE is missing, which can happen
in nox11 ports that USE_GNOME.

With hat:	portmgr
Reported by:	swills
2014-04-24 12:00:27 +00:00
Bryan Drewery
a0b9955c09 - Fix regression from r315599: Allow pkg to install itself first
if not yet installed and WITH_PKGNG is set. Just skip the
  vulnerabilities check as intended in r315599.

With hat:	portmgr
Reported by:	diizzy on EFNet
Pointyhat to:	bdrewery (with interest)
2014-04-24 00:52:16 +00:00
Bryan Drewery
5c4ee29736 - Fix when USES not defined
With hat:	pormtmgr
Pointyhat to:	bdrewery
2014-04-23 22:22:42 +00:00
Bryan Drewery
2c1715db99 - Fix stage-qa when USES contains desktop-file-utils twice
Reported by:	mandree
With hat:	portmgr
2014-04-23 22:19:58 +00:00
Antoine Brodin
a373437d73 - Handle plist containing @unexec /bin/rmdir
- Handle directories ending with digits

With hat:	portmgr
2014-04-23 20:46:45 +00:00
Tijl Coosemans
aad09bc5e2 When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).

PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries.  Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field.  In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.

PR:		ports/188759
Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-04-23 13:25:16 +00:00
Bryan Drewery
196182d95e - Mostly revert r338509 and re-add SF mirrors. Prefer main redirect.
Sourceforce is currently having major issues and without this we
  risk having weekly packages fail to build.

With hat:	portmgr
2014-04-23 00:46:23 +00:00
Bryan Drewery
3964423d4f - Fix handling of "@comment @cwd" so it does not reset real @cwd; only
change the cwd for commented lines (such as %%OPTION%%file). Reset it
  back to the normal on the first non-commented line.
- Sort files after stripping out @comment

With hat:	portmgr
2014-04-22 23:28:27 +00:00
Antoine Brodin
fc05fd3aae Fix directory keywords handling
Reviewed by:	bdrewery
With hat:	portmgr
2014-04-22 14:11:48 +00:00
Bryan Drewery
a12e34d03e - For pkg run-depends dir listing, consider deps recursively.
pkg_install already did this.
- Speedup the pkg_install run-depends listing by processing unique
  packages.

With hat:	portmgr
Reported by:	antoine
2014-04-22 12:56:13 +00:00
Antoine Brodin
4053a4a28f Fill orphans white list with files regenerated by installation scripts:
- info directories
- fonts.dir and fonts.scale
- desktop database
- mime database

With hat:	portmgr
2014-04-21 22:08:32 +00:00
Antoine Brodin
a45906707f - Do not advise to strip non FreeBSD binaries [1]
- Shorten messages

Requested and tested by:	xmj [1]
With hat:	portmgr
2014-04-21 20:17:00 +00:00
Bryan Drewery
b8334287c4 - Split MTREE check into its own check
- Split dependency-owned check its own and make into a non-fatal warning.
  This is not black-and-white. Python/Rubygem ports cleanup the lib dir
  for every installed package, and for python/ruby-gems too. This is fine,
  the extensions should not clean them up then; the error is valid here.
  However, there's other frameworks which don't cleanup in the master package
  and yield unexpected results. An example is that php does not cleanup
  etc/php itself. Only extensions do. So if an extension depends on another
  extension it will complain that the dependent extension owns etc/php,
  so we remove from bsd.php.mk, now it's a leftover. The proper place is in the
  php port itself, but it's unknown how many other cases there are like this.
  So for now make this non-fatal and into a warning.

  This is all mostly moot once pkg auto handles directories anyhow.

With hat:	portmgr
Discussed with:	antoine
2014-04-21 18:42:15 +00:00
Bryan Drewery
e81c57a53d - Sort directories by Lexicographical Depth-First order (find -ds)
With hat:	portmgr
2014-04-21 16:22:20 +00:00
Antoine Brodin
5be1bc5fe0 Fix plist_sub_sed_sort.sh when value contains spaces 2014-04-20 23:47:25 +00:00
Antoine Brodin
4091ee9287 Fix PLIST_SUB_SED when value contains =
With hat:	portmgr
2014-04-20 23:45:56 +00:00
Mathieu Arnold
9ea93fc774 Add / to the blacklist of homedirs that should not be created or touched.
With hat:	portmgr
Sponsored by:	Absolight
2014-04-19 13:54:30 +00:00
Bryan Drewery
e15449a9ef - Rename check-orphans to check-plist. Keep the old for backwards-compat.
- Bug fixes:
  makeplist/check-plist:
   - Fix showing directories owned by RUN_DEPENDS/LIB_DEPENDS [1]
   - Use proper "rmdir PATH" syntax, not "rmdir >/dev/null... PATH" which
     pkg will not recognize.
   - Never consider base /etc/mtree/BSD.usr.dist or LOCLABASE
     Templates/BSD.local.dist as needing @dirrm handling.
  check-plist:
   - Fix showing PORTDOCS/PORTEXAMPLES files when the OPTIONS are not set.
     makeplist will still suggest them.
   - Fix showing files installed through unselected OPTIONS as orphans,
     by considering "@comment file" to be ignored. [2]
   - Fix @sample, @fc, @fcfontsdir, @fontsdir support
   - Fix return status when orphans are found to be non-zero
   - Add note when PREFIX=!LOCALBASE
   - Be more clear when orphans/no orphans are found.
   - Add a whitelist mechanism for globally approved ignores.
   - Add *.bak/*.orig to orphan whitelist for now.
   - Fix false-positive with dirs installed to /, such as with
     archivers/dpkg creating /var/db/dpkg
   - Fix false-positive with @dirrm ending in /, such as with
     ports-mgmt/poudriere with a @dirrmtry share/zsh/
   - There are likely still some false-positives. I fixed as many as I could
     find. Please let me know of others.
    * One in particular that is not easily fixable is installing a file into
      a directory owned by another port where that other port is not a run-time
      dependency. So the leaf port may create all of the parent dirs and never
      clean them up. Cleaning them up is not proper unless no other package is
      depending on them. This will be addressed by pkg(8) once pkg_install is
      EOL, or sooner.
   - Consider @dirrm of directories owned by run-time dependencies, or
     /etc/mtree/* or Templates/BSD.local.dist (at LOCALBASE) as fatal errors.
     These should not be removed in the plist. @comment lines are not
     considered for this; they will not ignore an error.
        ===> Checking for directories owned by dependencies or MTREEs
        Error: Owned by dependency: @dirrmtry share/locale/af/LC_MESSAGES
        Error: Owned by dependency: @dirrmtry share/locale/af
        Error: Owned by dependency: @dirrmtry %%PERL5_MAN3%%
   - Detect files in plist that do not exist in the stagedir. Pkgng already did
     this, but now we have it unified with this check. @comment lines are
     not considered for this; they will not ignore an error.
        ===> Checking for items in pkg-plist which are not in STAGEDIR
        Error: Missing: foo
        Error: Missing: @dirrmtry bar
   - Change orphaned output due to several new errors introduced:
        ===> Checking for items in STAGEDIR missing from pkg-plist
        Error: Orphaned: foo
   - Send errors to stderr
  check_leftovers.sh:
   - Prefer longer values for PLIST_SUB.
  bsd.options.mk:
   - Fix NOPORTDOCS/WITHOUT_NLS/NOPORTEXAMPLES not unsetting their respective
     OPTIONS.
   - Mark NOPORTDOCS/NOPORTEXAMPLES deprecated and hook them into the
     OPTIONS_WARNING to tell users the new format.
- check-stagedir.sh refactoring:
  - Switch to using new PLIST_SUB_SED
  - Use ! instead of , in sed(1) regex to allow files/dirs with ','
  - Rework PORTEXAMPLES/PORTDOCS handling so it acts on PLIST_SUB_SED'd
    value and not absolutes. Also simplify the regex for these a bit to
    allow reuse.
  - No longer need DOCSDIRS/EXAMPLESDIR in env
  - Wrap long lines
  - Unset some vars in env when they are done being used to free space for
    larger sed vars
  - Cleanup redundant sed regexes
- Add a Scripts/plist_sub_sed_sort.sh to prefer longer values when substituting
  over shorter values.

- To make check-plist ignore a file *as an orphan* do one of the following:
  1. Install it
  2. post-install: ${RM} ${STAGEDIR}file
  3. Put the file behind an OPTION with a PLIST_SUB: %%OPTION%%file
  4. Add to plist as a @comment [2]:
     @comment file
     @comment @dirrmtry dir

Reviewed by:	mat (much earlier version)
Discussed with:	mat, antoine, bapt, swills (various bits)
With hat:	portmgr
PR:		ports/185561 [1]
Reported By:	Alexander Yerenkow <yerenkow@gmail.com> [1]
Tested with:	pkg and pkg_install
Reported by:	many (false-positives)

[2] This is a partial solution, we may still need a plist.ignore too. It
    doesn't make much sense to add files in main pkg-plist we don't care about,
    but maybe it does since you'll see and reconsider them being ignored
    someday. @comment is used as all the OPTION PLIST_SUB deactivations use
    @comment instead of something like @ignore.
2014-04-19 06:44:56 +00:00
Pawel Pekala
914c02c741 makepatch: don't create empty patches
PR:		ports/188764
Submitted by:	myself
Approved by:	portmgr (bdrewery)
2014-04-18 17:31:12 +00:00
Thomas Zander
389bd99220 libvpx is unconditionally built with VP9 support, so adapt its description accordingly
Approved by:	jadawin (co-mentor)
2014-04-18 12:19:10 +00:00
Bryan Drewery
193b6cc6d8 - Fix HOMEDIR handling to not exclude all directories for ports without USERS
Reported by:	antoine
With hat:	portmgr
2014-04-17 14:45:49 +00:00