1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
Commit Graph

67 Commits

Author SHA1 Message Date
Vanilla I. Shu
8496822760 Add 'uidfix' to allow package building by non-root
PR:		249264
Submitted by:	maintainer
2020-09-14 05:44:33 +00:00
Kurt Jaeger
75ce806e1e emulators/rtc: update 2004.02.24.1 -> 2020.07.07.1
- submitter becomes maintainer
- Install kmod into /boot/modules instead of /usr/local
- Cleared out bits dating back to pre-devfs
- Removed #ifdef bits related to FreeBSD <= 4.X and FreeBSD <= 8.X
- Olegs fixes for FreeBSD 11.X and FreeBSD 12.X+
- Removed "USES= linux uidfix" - whilst this provides functionality
  that is "often" used by linux programs, that's not necessarily the
  case, and this module doesn't require any linux subsystem or
  kernel MOD to operate.
- Removed oldstyle rtc.sh - include pkg-message showing how to load
  from the rc.conf "kld_list" mechanism.
- Fixed typo in "test.c" -> /dec -> /dev
- Fixed path to "rtc.h" in "test.c"

PR:		233057
Submitted by:	Jamie Landeg-Jones <jamie@catflap.org>
2020-09-01 09:04:32 +00:00
Rene Ladan
ee06ec39ce Clean up support for FreeBSD 11.2.
While here, modernize some comments in Mk/bsd.*.mk.

Note that graphics/drm-fbsd11.2-kmod is not renamed yet, this was somewhat
under discussion.

Submitted by:	rene
Reviewed by:	antoine, jbeich, mat, zeising
Differential Revision:	https://reviews.freebsd.org/D21974
2019-11-07 16:30:12 +00:00
Tobias Kortkamp
f62b08eb61 Drop nop NO_FETCH, NO_WRKSRC, NO_MAN, NOMAN 2019-10-09 14:14:17 +00:00
Baptiste Daroussin
bd150fea3a Get rid of the deprecated @exec and @unexec 2019-08-26 11:12:49 +00:00
Jan Beich
0aa737a336 Expand FreeBSD 12 conditionals to include 13.0-CURRENT 2018-10-23 16:34:43 +00:00
Mark Linimon
accc2a8267 Mark as broken on FreeBSD 12. This ought to be an easy fix for someone
who has time.
2018-03-18 15:26:29 +00:00
Alexey Dokuchaev
7b85b686ee Remove superfluous linefeeds and fix some other minor whitespace bugs. 2018-01-11 16:53:44 +00:00
Tijl Coosemans
82a87de90c - Replace Mk/bsd.linux-apps.mk and Mk/bsd.linux-rpm.mk with
Mk/Uses/linux.mk.
- Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with
  USES+=linux:\1 in all ports.
- Replace USE_LINUX_APPS with USE_LINUX in all ports.
- Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some
  ports.
- When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY
  are defined.
- Remove BRANDELF_DIRS and BRANDELF_FILES handling.  In the very rare cases
  that it is still necessary ports can run ${BRANDELF} from post-patch.
- Remove AUTOMATIC_PLIST handling.  Only one port used it.
- Fix Linux MASTER_SITES.
- Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with
  default versions framework.
- bsd.port.mk:
  - Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX.
  - Put USE_LINUX_PREFIX handling after USES processing.
  - Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can
    give these variables a different default value.
  - When a package needs to run Linux ldconfig check before installation if
    Linux support is enabled.
- emulators/linux_base-*:
  - Use USES=linux and remove duplication.
  - Remove files/lp.  FreeBSD or CUPS lp(1) should work.
  - Remove files/yp.conf.  No longer seems to be used.
  - Remove pkg-deinstall and move pkg-install into pkg-plist.
  - Update pkg-descr and pkg-message.
  - Fix handling of ldconfig cache in pkg-plist.
- devel/fb-adb: Use a Linux shell to run a Linux script but patch the script
  to use FreeBSD mkdir so mkdir -p $path creates $path and not
  /compat/linux/$path.

PR:		211645
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-05 19:23:42 +00:00
Jimmy Olgeni
42bc424f61 Remove trailing whitespace from Makefiles, A-L. 2015-10-08 15:11:28 +00:00
Antoine Brodin
1ef6c2804f Cleanup plist 2014-11-13 14:32:39 +00:00
Antoine Brodin
a70cef4414 - Allow staging as a regular user
- Fix build on head
2014-09-13 13:19:39 +00:00
Rene Ladan
224821f431 - Add stage support
- Only include bsd.port.mk once
2013-11-08 19:52:00 +00:00
Rene Ladan
7070b5217e Convert to USES=kmod 2013-11-03 16:46:21 +00:00
Baptiste Daroussin
1089da7dcc Add NO_STAGE all over the place in preparation for the staging support (cat: emulators) 2013-09-20 16:43:52 +00:00
Bryan Drewery
c93dfc2e9f SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.

SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.

On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].

On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.

Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.

[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup

PR:		ports/138228 [2]
Submitted by:	jlh (bsd.ssp.mk based on)
Reviewed by:	bapt
With hat:	portmgr
exp-runs done:	37 over a month on 91i386,91amd64,10i386,10amd64
2013-09-20 12:54:54 +00:00
Jason Helfman
226cca70fb - re-order, include bsd.port.pre.mk so SRC_BASE is defined before referenced
PR: ports/165994
Submitted by: 4721@hushmail.com
Approved by: maintainer, emulation
2012-05-22 06:15:49 +00:00
Boris Samorodov
eed6e97e18 Fix building for OSVERSION >= 900044.
PR:		ports/160799
Submitted by:	Ivan Klymenko <fidaj@ukr.net>
Patch by:	Rainer Hurling <rhurlin@gwdg.de>
2011-09-18 20:31:05 +00:00
Emanuel Haupt
1bf4b2310b Unify maintainer address for emulation ports.
(freebsd-emulation@FreeBSD.org -> emulation@FreeBSD.org)

Discussed with:	netchild (emulation)
2011-03-07 15:08:25 +00:00
Alexander Nedotsukov
c1b61826b7 Add ports with kernel modules to 'kld' virtual category.
PR:	137823
2009-08-26 04:40:46 +00:00
Pav Lucistnik
d095d4a965 - Remove conditional checks for FreeBSD 5.x and older 2009-01-05 19:44:02 +00:00
Edwin Groothuis
9aaccaed7d Remove support for OSVERSION < 5 2007-10-03 23:00:29 +00:00
Alexander Leidinger
5d083f0bb1 Only mknod where appropriate (!devfs case). 2007-01-06 15:02:19 +00:00
Alexander Leidinger
0ac537d77c Unbreak port and make it a little bit more package friendly.
Approved by:	portmgr (kris)
2006-02-25 23:39:06 +00:00
Kris Kennaway
50fadab70b BROKEN: Incomplete pkg-plist 2006-02-20 01:44:59 +00:00
Alexander Leidinger
fcb536d684 Users are confused by a diagnostic message more than they are
helped because it is printing the -current- value of HZ, not the
value requested. This is fixed be rearranging the order of changing
the value and printing the message (they are in adjacent lines).

Submitted by:	rgrimes
2006-01-29 16:09:18 +00:00
Edwin Groothuis
e33233f948 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 01:55:36 +00:00
Florent Thoumie
87e9dc7ae1 - Fix rtc on systems where sizeof(int) != sizeof(long).
- Clean pkg-plist a bit.
- Re-word IGNORE lines and remove quotes.

PR:		ports/87546
Submitted by:	Simun Mikecin <numisemis@yahoo.com>
2005-11-29 15:43:43 +00:00
Mike Silbersack
8766c0c5a9 Change the hz warning so that it doesn't bother you if hz is already
set to 1000 or greater, and take out the check to see if hz is greater
than the requested tick rate.

Inspired by PR: 71536
2005-10-06 06:39:58 +00:00
Mike Silbersack
c9ac4e0cd1 Change the hz warning so that it doesn't bother you if hz is already
set to 1000 or greater, and take out the check to see if hz is greater
than the requested tick rate.
2005-10-06 06:38:38 +00:00
Alexander Leidinger
23b3bc4b0d Mega-patch to cleanup the ports infrastructure regarding our linux bits:
- USE_LINUX now implies NO_FILTER_SHLIBS=yes. It also doesn't use FreeBSD
    tools to strip binaries anymore, so it's not neccesary anymore to override
    STRIP and STRIP_CMD.
  - USE_LINUX_PREFIX implies NO_MTREE now.
  - In the USE_LINUX case, USE_XLIB now depends upon the linux X11 libraries
    instead upon the native FreeBSD libraries.
  - The variable LINUX_BASE_PORT contains a string which is suitable as an
    item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon the
    default (or overriden) linux base, ${LINUX_BASE_PORT} should be used
    instead of a hardcoded reference.
  - Change all ports to comply to the "new world order".
  - The Ports Collection now allows to override the default linux_base port.
    Specify e.g. OVERRIDE_LINUX_BASE_PORT=rh-9 in /etc/make.conf to use
    ${PORTSDIR}/emulators/linux_base-rh-9 (the logic is to use
    ${PORTSDIR}/emulators/linux_base-${OVERRIDE_LINUX_BASE_PORT}).
  - If USE_LINUX or OVERRIDE_LINUX_BASE doesn't point to an existing linux_base
    port and if USE_LINUX isn't set to "yes" (case insensitive), the port will
    be marked as IGNORE. [1]
  - Readd USE_LINUX knobs into several ports and make several uses of a
    conditional dependency ("USE_LINUX?=") into an unconditional one
    ("USE_LINUX=") which where removed/changed by Trevor to allow the use of
    alternative linux_base ports. While this is a nice goal, the implementation
    resulted in missing dependencies. The OVERRIDE_LINUX_BASE_PORT knob
    in this commit is supposed to fix the problem while keeping the feature.
    Basicaly this includes a backout of Trevor's commit, to prevent confusion
    I mention it here explicitely.
  - Use the correct prefix (X11- instead of LOCAL- or LINUX-) for some ports.
    Chase dependencies for this.
  - Changes to make linux_devtools installable on amd64, remove some stray
    device nodes (they don't work on recent OS versions and aren't really
    needed).
  - Make linux_base-8 PREFIX clean and remove some stray device nodes.
    Additionally tell a little bit more about how to setup NIS/YP [2].
  - Update the PGSQL dependency in the linux-opengroupware port to a recent
    version (the old one isn't available anymore), I don't know if this
    works (at least it isn't more broken than before).
  - Use PREFIX/usr/share/doc instead of PREFIX/usr/doc in the divx4linux
    ports, the former path exists already and gets populated by other
    packages too (PREFIX=LINUXPREFIX!).
  - Fix some obvious (non-linuxolator) bugs in some linux ports while being
    there.
  - Bump PORTREVISION where neccesary.

Requested by:	portmgr (linimon) [1]
Submittted by:	Gerrit Kuehn <gerrit_huehn@gruft.fido.de [2]
Approved by:	portmgr (kris, linimon), maintainers (or maintainer timeout)
Tested on:	ports cluster (kris)
Reviewed by:	silence on emulation@
Superseedes PR:	69997

Maintainer approval from:
	chris@chrisburkert.de
	cracauer@cons.org
	des
	girgen
	jamie@bishopston.net
	mezz
	mi
	nivit@users.sf.net
        pat
	simond@irrelevant.org
	riggs@rrr.de
	Udo.Schweigert@Siemens.com
2005-06-17 22:59:29 +00:00
Trevor Johnson
e66743b7d5 Respect the user's USE_LINUX setting. 2005-03-01 21:51:48 +00:00
Kris Kennaway
07c34713b5 Use NO_FETCH instead of a gratuitous do-fetch target. 2004-12-27 21:28:43 +00:00
Mike Silbersack
cf1f2dd6ae Patch to keep up with the recent cdev changes. No need for a port
revision bump, the functionality is unchanged.
2004-06-24 07:49:45 +00:00
Mike Silbersack
2d30e526ba Update the rtc device to use dynamic numbering on -current. In order to
accomdate this change, stop using device nodes in /usr/compat/linux/dev
and instead rely on the linuxalator passing through requests to the
real /dev.  (This second change also applies to 4.x).
2004-03-13 21:20:03 +00:00
Mike Silbersack
9ee4a1434b Ugh, 502103 is the correct revision, not 502104.
No portrev bump needed.
2004-03-10 09:44:44 +00:00
Mike Silbersack
0428d161b2 Bump portrev for last change.
Reminded by:	kris
2004-03-10 09:35:29 +00:00
Mike Silbersack
2d5c22cfa8 *Actually* make rtc work on post-502104 -CURRENT. 2004-03-10 09:02:02 +00:00
Martin Blapp
a0bb6deda5 Make rtc module work with FreeBSD 502104. 2004-03-03 10:15:11 +00:00
Mike Silbersack
f1d3004b0d Update the rtc driver once again. As of this revision, I believe that
the linux rtc device is being emulated as accurately as possible,
at least in terms of its behavior.  Further improvements to its
accuracy will require much more precise measurement.

Device cloning is not yet implemented.
2004-02-24 23:07:48 +00:00
Mike Silbersack
465bd09c2a Replace rtc with a revamped version that I've been working on. This version
uses tsleep / selrecord and a worker thread to provide a much better emulation
of the rtc driver, as well as greatly decreased processor usage.

Device cloning as well as a few more tweaks to the emulation are still pending.
2004-01-28 08:15:19 +00:00
Mike Silbersack
fdd8b072a2 Fix that pesky panic when the rtc module is unloaded.
PR:	ports/57465
2004-01-23 09:07:51 +00:00
Joe Marcus Clarke
0ecea7d9d6 Substitute BROKEN with IGNORE in cases where the port requires the src tree
to be present, or does not compile on certain versions of FreeBSD.  This
will potentially avoid needless compilations on bento, and has the added
benefit of improving certain reporting tools.  To most users, this change
is a no-op.

PR:		61090
Submitted by:	linimon
2004-01-10 07:18:55 +00:00
Martin Blapp
09bbd91bf7 Bump portrevision 2003-05-15 13:07:42 +00:00
Martin Blapp
8f11d2a89b Fix panic if the rtc module gets loaded twice: Make rtc_dev static
and destroy the device on cleanup.

Submitted by:	Orlando Bassotto <orlando.bassotto@ieo-research.it>
2003-05-15 13:06:57 +00:00
Norikatsu Shigemura
bef6fea12f [Forced commit]
Correct dependency on linux.ko and Bump PORTREVISION.

PR:		ports/37992, ports/40973
Submitted by:	Alexandr Kovalenko <never@nevermind.kiev.ua>
		Vladimir B. Grebenschikov <vova@sw.ru>
2003-04-04 22:09:04 +00:00
Norikatsu Shigemura
1c169cbd85 Correct dependency on linux.ko.
PR:		ports/40973
Submitted by:	Vladimir B. Grebenschikov <vova@sw.ru>
2003-04-04 22:05:33 +00:00
Norikatsu Shigemura
288b6d293b Support post-500104-current.
Submitted by:	Marcin Cielak <saper@sgh.waw.pl>
Tested by:	freebsd-emulation
2003-03-23 12:36:58 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Alexander Langer
091a8416e7 Fix build on -CURRENT by conditionally defining M_WAITOK as 0x0000. 2003-02-12 19:19:03 +00:00