1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
Commit Graph

113 Commits

Author SHA1 Message Date
Dmitry Marakasov
6b4de26986 - Switch to options helpers
- Add some NO_ARCHes
- Fix and unsilence some installation commands
- Other minor fixes

Approved by:	portmgr blanket
2015-09-03 14:09:17 +00:00
Thomas Zander
8808e82cae - Allow to detect video interfaces when kernel is built without STACK
- Bump PORTREVISION

PR:		194345
Submitted by:	lenzi.sergio@gmail.com
Reviewed by:	pi
Approved by:	maintainer timeout
2015-08-22 10:58:56 +00:00
Alberto Villa
d09a654587 sysutils/hal: add missing /var/lib to plist
Meanwhile, rewrite plist to use '@dir' instead of '@exec mkdir', and
remove deprecated '@dirrm'.

PR:		199984
Approved by:	gnome (maintainer timeout)
MFH:		2015Q2
2015-06-15 11:33:05 +00:00
Mathieu Arnold
0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00
Baptiste Daroussin
39a9d72d64 Remove dependency on bash
No bashism is available on freebsd supported scripts
Still eradicate bashism on scripts that would never work on freebsd :)
2014-11-09 22:49:19 +00:00
Marcus von Appen
fae188751b - Convert ports of sysutils/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-24 16:56:10 +00:00
John Marino
1a61a06bfc sysutils/hal: Adjust pkg-plist so it passes stage-qa and leftover checks
Hal was not passing poudriere testport or poudriere bulk -t runs due
to failing the stage-qa tests and later a leftover check with
/var/lib/PolicyKit/user-haldaemon.auths.  The reported error is actually
not wrong, but rather an inadequacy in the check-plist logic.  However,
hald is a dependency for a lot of ports and it keeps breaking bulk -t
runs, so I switched "@unexec rm -rf" to "@unexec rmdir" to that it would
build cleanly in poudriere (gnome@ had fair warning!).  If the check-plist
logic is improved in the future, this can be changed back to the better
"rm -rf" command then.

While here, stop trying to remove directories that PolicyKit installed
because this will always fail.  This clears up stage-qa warnings.

PR:		191223
Submitted by:	marino
Approved by:	maintainer timeout (2 months, 2 pings)
2014-08-13 19:10:46 +00:00
Adam Weinberger
16682f7476 Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 17:00:56 +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
Joe Marcus Clarke
d20ec2566c Properly apply the patch to fix partition detection. I had assumed I
received a replacement patch file, but I had received a patch to a patch.

Pointyhat to:	me
2014-04-17 13:58:50 +00:00
Bryan Drewery
0b272aed3b - Fix patch files/patch-hald_hf-storage.c
Revert r351423 and apply it as a patch to the patch.

Reported by:	O. Hartmann <ohartman@zedat.fu-berlin.de>
2014-04-17 05:28:35 +00:00
Joe Marcus Clarke
d449f1102f Fix partition detection on newer versions of FreeBSD.
Tested by:	Gustau Pérez <gustau.perez@gmail.com>
2014-04-16 22:24:10 +00:00
Koop Mast
686b38e023 Switch to USES=libtool, stagify, use option helpers.
Fix shebang of a number of script, which need bash to run.
Ignore the wsp (Apple trackpad) driver [1]

Submitted by:	Hans Selasky [1]
2014-02-06 07:53:43 +00:00
Alberto Villa
7dfafb3561 - Fix USB storage detection.
- Add MMC/SD support.
- Update LIB_DEPENDS to new format.

PR:		183236
Submitted by:	avilla (myself)
Approved by:	gnome (maintainer timeout)

- Fix plist when PREFIX != LOCALBASE

Reported by:	poudriere testport
2013-11-12 17:35:53 +00:00
Alberto Villa
3302669244 - Remove disk duplicate entries on FreeBSD 10+.
- Bump PORTREVISION.

PR:		179469
Submitted by:	avilla (myself)
Approved by:	gnome (maintainer timeout)
2013-10-14 13:41:51 +00:00
Baptiste Daroussin
83f65384c9 Add NO_STAGE all over the place in preparation for the staging support (cat: sysutils) 2013-09-20 23:05:58 +00:00
Baptiste Daroussin
3bc5091b11 Add an explicit dependency on pkgconf 2013-09-02 16:55:04 +00:00
Koop Mast
c8d5dd0cf9 Don't try to remove /var/cache it is part of /var mtree
Submitted by:	poudriere -t
2013-05-14 08:42:19 +00:00
Koop Mast
fe2813334b Add back policykit shlib version. Otherwise LIB_DEPENDS will confuse it with
the polkit-* libraries from sysutils/polkit if they are installed.
2013-05-06 11:12:33 +00:00
Alex Kozlov
83f02b963c - Convert USE_GETTEXT to USES (part 4)
Approved by:	portmgr (bapt)
2013-04-26 10:44:28 +00:00
Koop Mast
2a3357182d Convert almost all gnome@ ports to OptionsNG, trim header, use USES=pathfix
instead of gnomehack and pet portlint.
Add conflicts with future gnome3 versions.

Reviewed by:	miwi, bapt
2013-03-19 10:40:22 +00:00
Koop Mast
0175115cb7 Make sure /var is populated correctly before hal is started, like dbus does
already in its rc.d script. [1]
Don't list entries twice, set some more details about storage devices like
the linux backend does. [2]

PR:		ports/171568 [1]
PR:		ports/171727 [2]
Submitted by:	Norbert Koch <nkoch@demig.de> [1], avilla@ [2]
Reviewed by:	marcus@
2012-09-29 18:17:59 +00:00
Joe Marcus Clarke
99e1f3cd15 Properly close the USB devices we open for probing. 2012-04-16 06:46:07 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Joe Marcus Clarke
f19562d64c Correctly populate usb_device.device_revision_bcd.
PR:		163726
Submitted by:	Stephen Hurd <shurd@sasktel.net>
Reviewed by:	hps
2012-01-02 19:01:19 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Joe Marcus Clarke
d26ead7b13 Fix GELI file system detection.
Reported by:	Kevin Oberman <kob6558@gmail.com>
2011-07-22 23:23:46 +00:00
Joe Marcus Clarke
80cd28094b Fix some minor issues with USB device properties.
Submitted by:	hps
2011-07-02 18:21:45 +00:00
Joe Marcus Clarke
4b3b2c6766 Check for cdev= in devd messages in older versions of FreeBSD.
Submitted by:	hps
2011-06-28 23:37:07 +00:00
Joe Marcus Clarke
6f2c02851c Fix detection of usb2 devd events.
Submitted by:	hps
2011-05-25 22:30:46 +00:00
Joe Marcus Clarke
7b8c36db2c Remove the legacy MD5 checksum. 2011-02-26 21:20:31 +00:00
Joe Marcus Clarke
5b3183ba11 Fix the processing of devd messages so that the new -CURRENT format is
properly understood.

Submitted by:	Gustau Pérez gpere@entel.upc.edu (based on)
2011-02-26 18:07:19 +00:00
Joe Marcus Clarke
9ced1ddc08 Adjust the code to parse the USB devd notification to be a bit broader.
This ensures that the USB cdev notifications are not passed to the storage
layer thus muting the USB device attach messages.

Submitted by:	hps
2011-01-09 17:30:01 +00:00
Joe Marcus Clarke
2c1c87a86c Check for G_IO_STATUS_EOF when reading from the devd socket to prevent
an event storm.

PR:		152524
2011-01-08 18:05:48 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Joe Marcus Clarke
18cd6aae93 Fix a potential race with helper processes terminating too quickly. When
this happens, hald dies.

PR:		151725
Submitted by:	avg
2010-11-09 06:12:05 +00:00
Joe Marcus Clarke
c5bc2f5cda Fix a bug where UFS file systems could not be properly unmounted. Part of this
was due to a logic bug introduced when I added support for "ufs/" labels.
Thanks to Andriy Gapon for ctching that.

PR:		149134
2010-08-29 17:51:18 +00:00
Ade Lovett
8d837132c7 Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. 2010-05-31 02:01:56 +00:00
Koop Mast
48e62d9a37 Presenting GNOME 2.30.1 for FreeBSD. The offical release notes for this
release can be found at http://library.gnome.org/misc/release-notes/2.30/ .

This release brings initial PackageKit support, Upower (replaces power
management part of hal), cuse4bsd integration with HAL and cheese, and a
faster Evolution.

Sadly GNOME 2.30.x will be the last release with FreeBSD 6.X support. This
will also be the last of the 2.x releases. The next release will be the
highly-anticipated GNOME 3.0 which will bring with it a new UI experience.

Currently, there are a few bugs with GNOME 2.30 that may be of note for our
users. Be sure to consult the UPGRADING note or the 2.30 upgrade FAQ at
http://www.freebsd.org/gnome/docs/faq230.html for specific upgrading
instructions, and the up-to-date list of known issues.

This release features commits by avl, ahze, bland, marcus, mezz, and myself.

The FreeBSD GNOME Team would like to thank Anders F Bjorklund for doing the
initual packagekit porting.

And the following contributors & testers for there help with this release:
Eric L. Chen
Vladimir Grebenschikov
Sergio de Almeida Lenzi
DomiX
walder
crsd
Kevin Oberman
Michal Varga
Pavel Plesov
Bapt
kevin

and ITetcu for two exp-run

PR:	ports/143852
	ports/145347
	ports/144980
	ports/145830
	ports/145511
2010-05-10 21:19:08 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Joe Marcus Clarke
f686b7522f Fix the environment variables when probing USB2 interfaces as their property
names have changed.
2010-01-24 01:31:22 +00:00
Joe Marcus Clarke
15213fe282 Correct the properties for USB interface devices.
PR:		142988
Submitted by:	thompsa
2010-01-23 19:53:40 +00:00
Joe Marcus Clarke
f76d32b8e8 Presenting GNOME 2.28.1 for FreeBSD. The official release notes for this
release can be found at http://library.gnome.org/misc/release-notes/2.28/ .
Officially, this is mostly a polishing release in preparation for GNOME 3.0
due in about a year.

On the FreeBSD front, though, a lot went into this release.  Major thanks
goes to kwm and avl who did a lot of the porting work for this release.
In particular, kwm brought in Evolution MAPI support for better Microsoft
Exchange integration.  Avl made sure that the new gobject introspection
repository ports were nicely compartmentalized so that large dependencies
aren't brought in wholesale.

But, every GNOME team member (ahze, avl, bland, kwm, mezz, and myself)
contributed to this release.

Other major improvements include an updated HAL with better volume
probing code, ufsid integration, and support for volume names containing
spaces (big thanks to J.R. Oldroyd); a new WebKit; updated AbiWord;
an updated Gimp; and a preview of the new GNOME Shell project (thanks to
Pawel Worach).

The FreeBSD GNOME Team would like to that the following additional
contributors to this release whose patches and testing really helped
make it a success:

Andrius Morkunas
Dominique Goncalves
Eric L. Chen
J.R. Oldroyd
Joseph S. Atkinson
Li
Pawel Worach
Romain Tartière
Thomas Vogt
Yasuda Keisuke
Rui Paulo
Martin Wilke
(and an extra shout out to miwi and pav for pointyhat runs)

We would like to send this release out to Alexander Loginov (avl) in
hopes that he feels better soon.

PR:		136676
		136967
		138872 (obsolete with new epiphany-webkit)
		139160
		134737
		139941
		140097
		140838
		140929
2009-11-28 20:06:37 +00:00
Florent Thoumie
80ce349ead Add support to create users and groups from information stored in UIDs/GIDs
files. Users and groups won't be deleted at deinstall time as we're lacking
a refcount to know if any port is using them.

Also convert a few ports while I'm here.

PR:		ports/108514
Submitted by:	mm, self
2009-09-06 21:18:50 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Joe Marcus Clarke
372eb252ae Fix the build on recent -CURRENT with the removal of oldusb. 2009-05-30 07:22:25 +00:00
Joe Marcus Clarke
862ed64e9e Optimize the check for an existing GEOM object and correct a nearby memory
leak.
2009-05-23 22:58:01 +00:00
Joe Marcus Clarke
539a587bec * Correct a potential infinite recursion loop triggered by the new GEOM
classes [1]
* Fix some minor issues with usb2 support [2]

PR:		134731 [1]
Submitted by:	hselasky [2]
2009-05-23 21:19:02 +00:00
Joe Marcus Clarke
fec58b93e9 Add some more argument sanity checking to the fuse helper script. This
fixes a problem where mounting NTFS volumes using ntfs-3g fails due to
bad options.

Submitted by:	Kris Moore <kris@pcbsd.com>
2009-04-09 18:18:27 +00:00