1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
Commit Graph

3805 Commits

Author SHA1 Message Date
Koop Mast
45d39777e6 Which to using new lib_depends syntax.
Add stage support.

Obtained from:	gnome dev repo.
2013-11-08 12:32:14 +00:00
Koop Mast
02199851af gnomelibs and orbit where retired. 2013-11-08 12:29:57 +00:00
Rene Ladan
496131984d Fix 'make stage' for ports which define USE_LINUX by passing a defined
variable to MTREE_CMD.  The previous variable, MTREE_LINUX_ARGS, seems to
be a leftover.

Approved by:	portmgr (bapt)
2013-11-08 10:36:20 +00:00
Rene Ladan
a850c2461f Change KMODDDIR to /boot/modules if it is set to /boot/kernel
This allows upgrading a kernel without breaking any installed kernel ports
because during the upgrade /boot/kernel is renamed to /boot/kernel.old ,
resulting in moved files.

While /boot/modules is the default, it might be overridden by bsd.own.mk to
/boot/kernel before kmod is included, so setting MODULES_WITH_WORLD has no
effect.
2013-11-08 09:44:24 +00:00
Baptiste Daroussin
e64227dd6e Allow base clang to be used if version is >= 3.3
This gives 2 new variables to the porters:
ALT_COMPILER_TYPE which can be empty, clang or cc depending on what ${CC} is
ALT_COMPILER_VERSION which will give the porter a 2 digit version of the alternative compiler

Requested by:	many
2013-11-07 17:35:36 +00:00
Olli Hauer
d5f4c2a2d4 - Fix user users-groups script ('-e')
PR:		ports/183628
Submitted by:	ohauer
Approved by:	portmgr (bapt via PM)
2013-11-07 05:58:42 +00:00
Rusmir Dusko
08e586a29b - Unbreak pure.mk, use correct .include "${PORTSDIR}/Mk/Uses/gmake.mk"
- Remove devel/pure-gen/pkg-plist

Approved by:	pawel / wg (mentors, implicit)
2013-11-07 00:20:49 +00:00
Xin LI
bc0d646198 Update to 0.57.
PR:		ports/179390
Submitted by:	nemysis
Approved by:	maintainer
2013-11-06 22:50:21 +00:00
Raphael Kubo da Costa
cf9c8e21f2 Update KDevelop to 4.5.2.
Additionally, support staging in all ports being changed here, replace
USE_GMAKE=yes with USES=gmake and fix a typo in the CMake parameters passed
in kdevelop-kde4 when the OKTETA option is disabled.

Submitted by:	Schaich Alonso <alonsoschaich@fastmail.fm>
2013-11-06 14:47:14 +00:00
Baptiste Daroussin
16c627dc09 Now that tinderbox knows how to properly check this, tests on OSVERSIONS are useless, just check is libreadline.so is in base
With hat:	portmgr
2013-11-05 14:26:41 +00:00
Baptiste Daroussin
7713357eb3 Remove useless OSVERSION check, now that tinderbox properly do not leak those tests from the host
With hat:	portmgr
2013-11-05 14:24:45 +00:00
Rene Ladan
c61a61be20 Using stage does not magically enforce the use of sane package tools, so
always use the "@unexec rmdir" form in TMPPLIST.  @dirrmtry lines are
substituted with this in bsd.port.mk, but only when generating TMPPLIST.

While here update the description in the header.

Submitted by:	QAT for commit r332642 (8.4-QAT/i386)
2013-11-04 09:30:22 +00:00
Rene Ladan
7d59899f0c Use @unexec rmdir instead of @dirrmtry in the NO_STAGE case.
Submitted by:	vsevolod via IRC
2013-11-03 22:51:56 +00:00
Rene Ladan
4df4cd508b Make sure that kldxref(8) is not run when installing into the staging
directory to prevent orphaned linker.hints files.

Obtained from:	Porters Handbook section 6.1
2013-11-03 19:41:58 +00:00
John Marino
804d58013a Mk/bsd.database.mk: Fix postgresql component specifications
Due to the RUN_DEPENDS and BUILD_DEPENDS specification of postgresql
components in bsd.database.mk not matching their package names,
net-mgmt/netmagis-database was failing during the RUN_DEPENDS stage
because it couldn't detect that a component was already installed.

Updating the pltcl line allowed that port to successfully built.  The
other lines weren't tested but the problem would be the same.

Suggested by:	wg
2013-11-03 12:43:45 +00:00
Marcus von Appen
c393e4469b - Followup commit for the final lang/python26 update, that was missed
previously
2013-11-02 12:39:32 +00:00
Bryan Drewery
66ff3bcafd - Fix 'make package-recursive' with staging
With hat:	portmgr
Reviewed by:	bapt
Tested by:	dmarker_ on freenode
2013-11-02 10:48:35 +00:00
Florian Smeets
8f604dd800 Fix a mismerge that caused html5 audio to not work.
PR:		ports/183552
Reported by:	Juanitou <listjm@club-internet.fr>, eadler
2013-11-01 23:12:00 +00:00
Matthias Andree
13b212c743 bsd.stage.mk: Fewer false positives, much faster, easier maintenance.
Bugfixes:

* @cmd in pkg-plist is now properly handled.
  - It was previously treated the same as though there was a directory
    following it, missing the prefix. (ordering matters in case...esac)

  - Due to the cwd=${PREFIX} inside the while read line loop, state
    tracking was broken and every new line assumed that cwd were the
    prefix.

* stage-qa no longer complains about unstripped binaries if debugging is
  active (WITH_DEBUG set && WITHOUT_DEBUG unset).

* The compress-man target uses ECHO_MSG, not ECHO_CMD, to print its
  build step.

Additions:

* The plist parser now understands @unexec rmdir ... || ... lines,
  including those with redirections, so that there are no false
  positives for directories stripped with @unexec rmdir (usually
  happens on stuff installed outside $PREFIX, as in /var).

* The system's root and var mtrees are now also expanded to avoid
  false @dirrm positives if a port installs directories under /var
  and has to create parents in the stagedir that are present in a fully
  installed system (i. e. in the real $PREFIX).

* Given that pkg_create is deemed beyond repair with respect to deleting
  files outside prefix, generate @unexec rmdir statements for such
  directories, rather than @dirrmtry, to sidestep the problem.

Speedups:

* the orphan check now generates sorted lists of staged files,
  and plisted/mtree files, and compares them with comm(1).
  This saves us the overhead of running one grep process per file
  and up to two per directory, and defers the actual list
  processing to a shell utility.  Complexity has not changed,
  but overhead per item has.

* the orphan check now uses one file for directories and one file for
  files mentioned in pkg-plist, so we need not decorate them with "dir "
  and parse them out any longer.

* qa.sh's shebang scanner only looks at the first line of a file,
  sed is told to exit from the 2nd line.

Other Changes:

* Split the makeplist/check-orphans logic out of bsd.stage.mk,
  it is too unwieldy to maintain in make-escaped shell syntax,
  and permits shell tracing with "SH=sh -x" (including quotes!)

* Unify the functions "makeplist" and "check-orphans" in one
  script.  The only difference is that makeplist assumes an empty
  pkg-plist, whereas check-orphans parses it.

* overhaul the mtree extractor, avoiding awk.

Reviewed by:	bapt
Approved by:	portmgr (bapt)
2013-10-31 19:07:38 +00:00
Thomas Abthorpe
1d55dd3d43 - Remove final vestiges of ruby18
Exp-run by:	bdrewery
2013-10-31 12:15:50 +00:00
Rene Ladan
4d17670e3d Add a new USES for kernel module ports.
USES=kmod takes no arguments and:
- adds kld to CATEGORIES
- sets SSP_UNSAFE
- sets IGNORE if the kernel sources are not found
- defines KMODDIR to /boot/modules by default, add it to
  PLIST_SUB and MAKE_ENV, and create it upon installation
- handles cross-referencing kernel modules upon installation and
  deinstallation

Approved by:	bapt
2013-10-31 11:34:46 +00:00
Baptiste Daroussin
ed0c23e7ea Drop support for lua 4 which is EOLed for a long time
Approved by:	Richard Kiss <him@richardkiss.com> (maintainer)
2013-10-31 11:12:23 +00:00
Bryan Drewery
de9253dbd6 - Fix 'make package' when using pkg_install. Broken in r332158 due to syntax
error in else branch for pkgng.

Reported by:	danfe, mandree
Submitted by:	Takefu <takefu@airport.fm>
With hat:	portmgr
2013-10-31 02:27:14 +00:00
Bryan Drewery
1358254695 Fix copying +INSTALL after r332158
Reported by:	antoine
With hat:	portmgr
2013-10-30 22:13:56 +00:00
Florian Smeets
2cd503bcdb - update firefox to 25.0
- update firefox-esr to 24.1.0
- update thunderbird to 24.1.0
- update seamonkey to 22.0
- update libxul to 24.1.0
- don't remove/add share/applications directory
- remove checks for older gecko releases from bsd.gecko.mk
- drop support for FreeBSD 9.0

Not staged yet. I started working on it, but didn't finish it in time for
this release. I'll try to make the next one in 6 weeks.

In collaboration with:	Jan Beich
2013-10-30 20:37:55 +00:00
Baptiste Daroussin
ff058e3176 Staging showed that user/groups creation from plist are done in
post-install process instead of pre-install. in case pkgng is in
use.
Replace it by a new mecanism that allows to append scripts into
what will become pre-install, post-install, pre-deinstall or
post-deinstall
Change the user-group creation to use that mecanism in case the
ports tree is using pkgng.

Reported by:	mandree
Reviewed by:	bdrewery
2013-10-30 17:47:48 +00:00
Alex Kozlov
bcaa596bf8 - Remove gratuitous whitespaces
- Use sinclude when possible
- Rewrap overly long list

Approved by:	portmgr (bapt)
2013-10-30 16:54:09 +00:00
Alex Dupre
9f25bfd87f Add support for staging PHP extensions.
Submitted by:	antoine
2013-10-30 13:28:00 +00:00
Bryan Drewery
8d55e8697f - Add new OFL(1.0 and 1.1 versions) font licenses
PR:		ports/183363
Submitted by:	Ilya A. Arkhipov <rum1cro@yandex.ru>
Reviewed by:	tabthorpe
With hat:	portmgr
2013-10-29 14:26:31 +00:00
Rene Ladan
40f217cafe Properly guard against multiple inclusion.
Approved by:	bapt
2013-10-29 13:14:41 +00:00
Dirk Meyer
f9a95694ae - revert r331810 2013-10-28 20:17:49 +00:00
Bryan Drewery
2adacb737d - Fix COPYTREE_BIN and COPYTREE_SHARE so that installed symlinks
have proper permissions set.

PR:		ports/173892
Submitted by:	thierry
With hat:	portmgr
2013-10-28 13:08:14 +00:00
Dirk Meyer
338eecf237 - use STAGEDIR
- use OPTIONS_DEFINE
2013-10-27 22:29:46 +00:00
Sunpoet Po-Chuan Hsieh
166d24f12c - Use leading "-" to ignore exit status instead of trailing "|| ${TRUE}"
Suggested by:	mat
2013-10-27 17:35:52 +00:00
Koop Mast
46d0aadc55 Remove obsoleted and removed gnome1 components. While here update example. 2013-10-27 14:54:08 +00:00
William Grzybowski
c7db7eafb3 Allow multiple values for configure ENABLE and WITH options helpers
${opt}_CONFIGURE_ENABLE and ${opt}_CONFIGURE_WITH now accept multiple arguments
and will be expanded accordingly, e.g.:

OPT_CONFIGURE_ENABLE= feature1 feature2  --  will add to CONFIGURE_ARGS:
	OPT enabled: --enable-feature1 --enable-feature2
	OPT disabled: --disable-feature1 --disable-feature2

Approved by:	portmgr (bapt)
2013-10-27 11:58:20 +00:00
Kubilay Kocak
d955a5a81d Mk/bsd.python.mk: Further tweaks to clarify AUTOPLIST and PY3K_HACK
Reviewed by:	mva
2013-10-27 09:30:09 +00:00
Sunpoet Po-Chuan Hsieh
76fd67222e - Remove cpan.nctu.edu.tw from MASTER_SITE_PERL_CPAN_BY 2013-10-26 12:37:32 +00:00
Kubilay Kocak
269f9dbb91 Mk/bsd.python.mk: Clarify PYTHON_PY3K_PLIST_HACK & PYDISTUTILS_AUTOPLIST usage
Reviewed by:	mva, Johannes Meixner (xmj) via IRC
2013-10-26 10:11:45 +00:00
Marcus von Appen
d013540424 - Add a warning about PYTHON_PY3K_PLIST_HACK not being required, if
PYDISTUTILS_AUTOPLIST is used
2013-10-26 09:29:18 +00:00
Sunpoet Po-Chuan Hsieh
e018bc8aeb - Add missing || ${TRUE} 2013-10-25 07:53:24 +00:00
Sunpoet Po-Chuan Hsieh
c69aa3b0c1 - Fix .packlist only when ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto exists
Reported by:	John Marino <freebsd.contact@marino.st>
2013-10-23 17:47:31 +00:00
Ulrich Spörlein
2e790e6f32 Allow users to install converters/libiconv on 10.x systems if they
decided to build world with WITHOUT_ICONV set. There's no need for
this check to be based on OSVERSION.

Some users (i.e. me), report subtle application breakages with the
iconv-from-src that disappear when iconv-from-ports is installed.
Allow for a bridge till these issues are sorted out.

Approved by:	portmgr (bdrewery)
2013-10-23 15:05:04 +00:00
Mathieu Arnold
012586d32c Change default perl to lang/perl5.16
PR:		ports/182550
Submitted by:	mat
Approved by:	bdrewery (exp-run)
2013-10-23 10:26:23 +00:00
Bryan Drewery
1961a47413 - Don't create share/applications as it is part of BSD.local.dist now
Submitted by:	amdmi3
With hat:	portmgr
2013-10-23 00:43:04 +00:00
Tijl Coosemans
c230edc9ce Don't add "@unexec rmdir ${DESKTOPDIR} ..." to pkg-plist for ports that
use DESKTOP_ENTRIES now that ${DESKTOPDIR} has been added to mtree.

Approved by:	portmgr (bdrewery)
2013-10-22 21:42:38 +00:00
Max Brazhnikov
86276e8b2a Pass CC/CXX to qmake when we can't find appropriate QMAKESPEC
Reported by:	amdmi3
2013-10-21 19:47:02 +00:00
Rene Ladan
2e9379960f Fix a typo in bsd.stage.mk, LINUXBASE_REL should be LINUXBASE. Nothing
defines the former variable.

Approved by:	portmgr (bapt)
2013-10-21 13:09:15 +00:00
Rene Ladan
065f8bcc60 Remove entry for expired and deleted graphics/linux-f10-png10 2013-10-21 11:54:04 +00:00
Baptiste Daroussin
3a25a917f7 really apply the fix provided by ohauer
Reported by:	sunpoet, ohauer
Pointyhat to:	bapt
2013-10-21 09:56:26 +00:00