121 Commits

Author SHA1 Message Date
Thomas Zander
84b6aee905 Bump PORTREVISION to chase update of multimedia/v4l_compat and libv4l 2018-09-29 08:04:27 +00:00
Mathieu Arnold
f93e7c0f39 Do not force stop services when a package is deinstalled.
Starting or stopping services is the role of pkg(8).

Sponsored by:	Absolight
2018-06-27 13:55:56 +00:00
Mark Linimon
a6f07d4476 Clean up ARCH statement.
ia64 is no longer supported.  In addition, ARCH values do not need to
be quoted; and per portlint, they ought to be sorted.

PR:		223983
Approved by:	gnome (maintainer timeout)
2018-03-11 06:10:21 +00:00
Koop Mast
e18e2ae3c0 Update consolekit to 1.2.0.
* Rename consolekit to consolekit2 to reflect that consolekit2 is a new
  project, even if it the continuation of the old consolekit project.
* Expand pkg-descr with some background info.
* Add license
* ConsoleKit2 has been ported to GDbus, so dbus-glib is not anymore required
* Add GObject introspection support for desktops environment such Pantheon or Deepin.
* Thanks to Jesper Schmitz Mouridsen, Ben Woods and Olivier Duchateau for
  assisting with there versions of the port, suggesting changes and testing.

PR:		202269
2017-08-05 10:58:48 +00:00
Steve Wills
33a47c7376 sysutils/hal: fix cd support
PR:		210354
Submitted by:	Ivan Klymenko <fidaj@ukr.net>
Approved by:	gnome@ (kwm)
2016-09-23 00:21:04 +00:00
Kevin Lo
005f9f2604 Remove usbd rc.d script, we don't have it.
Reviewed by:	kwm
2016-08-24 07:49:40 +00:00
Mathieu Arnold
597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00
Mathieu Arnold
999161a9ed Fixup some whitespace at the beginning of lines problems.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:18:17 +00:00
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