Commit graph

63 commits

Author SHA1 Message Date
Antoine Brodin
322743c1d3 Allow staging as a regular user 2014-02-03 18:09:39 +00:00
Rene Ladan
c2a75bbd93 - Support stage
- Use option helper
- Pet portlint

Approved by:	portmgr (infrastructure blanket)
2014-01-27 16:50:34 +00:00
Rene Ladan
bfc52e7104 Convert to USES=kmod, which removes duplicated code and ensures that all
required steps are followed.

There are no user-visible changes.  The exception is multimedia/ptx-kmod,
which now installs the kernel module into /boot/modules instead of
${PREFIX}/libexec/${PORTNAME}, this was something USES=kmod cannot handle.

PR:		ports/183625
Submitted by:	myself
Approved by:	portmgr (bdrewery)
Exp-run by:	bdrewery
2013-11-09 19:13:27 +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
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
Baptiste Daroussin
e237491fd9 Do not try to build on head where the module has been integrated in base 2013-07-26 06:22:47 +00:00
Ryan Steinmetz
5ee77d4076 - Add additional mirror
Approved by:	bdrewery (with portmgr hat)
2013-03-26 11:40:28 +00:00
Bryan Drewery
2f2a53fe09 - Add mirror as the main site is dead
- Trim header
- Convert to new options framework

With hat:	portmgr
2013-03-26 11:14:35 +00:00
Florian Smeets
9d5edfa301 - update sysutils/fusefs-libs to 2.9.1
- add a patch to sysutils/fusefs-kmod to make it compile with new fusefs-libs

Tested by:	pho, Kevin Oberman <kob6558@gmail.com>,
		Gustau Perez Querol <gperez@entel.upc.edu>
2012-09-20 23:52:30 +00:00
Jason Helfman
0892ab4b4d - re-order, include bsd.port.pre.mk so SRC_BASE is defined before referenced
- pet portlint on OPTIONS order

PR:     ports/169221
Submitted by:   jgh@
Approved by:    maintainer timeout ( 14 days )
2012-07-01 22:38:39 +00:00
Kevin Lo
3a41b98fde Fix build on 10-CURRENT 2012-05-11 07:08:07 +00:00
Michael Scheidell
5c81e5925e - The mount checkpoint was changed in previous update to r230226.
- This patch fixed mount_fusefs to use new path.
- Bump PORTREVISION

PR:		ports/164218
Submitted by:	jh@
Approved by:	Edward Sanford Sutton, III <mirror176@cox.net>  (maintainer), gabor (mentor)
2012-02-13 13:37:13 +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
Michael Scheidell
472a2490ae - last submitter has become maintainer, in private email
- "Edward Sanford Sutton, III" <mirror176@cox.net>
- fusefs will be in 9.x anyway, and at that time, a patch to IGNORE 9.x will be submitted

Submitted by:	mirror176@cox.net
Approved by:	maintainer (mirror176@cox.net), gabor (mentor)
Feature safe:	yes
2011-12-02 00:55:06 +00:00
Michael Scheidell
4faadf0394 -Submitted with changes (no portbump per gabor)
-MNT_NFS4ACLS being defined in /usr/src/sys/mount.h but not being included in the defined includes
-it is now included

PR:		151296
Submitted by:	Edward.Sanford.Sutton, III <mirror176@cox.net>
Approved by:	ports (maintainer timeout) gabor (mentor)
Feature safe:	yes
2011-11-29 13:11:06 +00:00
Steve Wills
8d145b4c60 - Fix build on 9-CURRENT
PR:		ports/160608 (plus many other)
Submitted by:	Kevin Oberman <kob6558@gmail.com> (based on)
2011-09-21 20:29:34 +00:00
Thomas Abthorpe
20256e352d - Reassign to the heap 2011-09-21 02:46:17 +00:00
Julien Laffaye
c89d65f56a Use __FreeBSD_version instead of __FreeBSD__ macro to compile on Debian GNU/kFreeBSD
PR:		ports/158825
Submitted by:	Robert Millan <rmh@debian.org>
Approved by:	maintainer timeout
2011-07-31 12:33:43 +00:00
Martin Wilke
a9481afc8a - Get Rid MD5 support 2011-03-19 12:38:54 +00:00
Beat Gaetzi
3b4a59d366 - Fix panic on FreeBSD 8.x and newer
- Bump PORTREVISION

PR:		ports/149674
Submitted by:	Dmitrij Tejblum <dt AT yandex.ru>
Approved by:	Anish Mistry <amistry AT am-productions.biz> (maintainer)
2010-10-14 11:44:10 +00:00
Mark Linimon
d14eaa8fde Mark as broken on all tier-2 architectures.
Hat:		portmgr
2010-06-03 05:15:46 +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
Wesley Shields
91e96b8369 - Fix build on current
PR:		[1]: ports/135621
		[2]: ports/136211
		[3]: ports/135285
Submitted by:	[1]: Andrei Lavreniyuk <andy.lavr@reactor-xg.kiev.ua>
		[2]: Takeshi Taguchi <taguchi@iij.ad.jp>
		[3]: David Naylor <naylor.b.david@gmail.com>
Approved by:	Anish Mistry <amistry@am-productions.biz> (maintainer)
2009-07-13 13:52:30 +00:00
Wesley Shields
330c04e997 - Mark as broken on 8.x. There are two PRs about this. The first (ports/135285)
has a patch but that causes coredumps. The second (ports/135621) has not
  been tested yet but the port should still be marked as broken until a
  proper fix is put in place.

PR:		ports/135285
Submitted by:	David Naylor <naylor.b.david@gmail.com>
Approved by:	maintainer timeout
2009-06-16 14:55:36 +00:00
Jung-uk Kim
f283803de6 Fix build on -CURRENT after the removal of the thread argument from the FSD
(File-System Dependent) parts of the VFS.

Approved by:	Anish Mistry (amistry at am-productions dot biz) (maintainer)
2009-05-27 16:25:38 +00:00
Brian Somers
b7ee372ba3 The mkdir needs root privileges here.
Approved by:	maintainer
2009-05-19 01:33:45 +00:00
Ed Schouten
abb56b6e21 Make the fusefs kernel module compile on -CURRENT again.
The kernel module uses unit2minor(), which is not available on -CURRENT
anymore. I'm not increasing PORTREVISION, because this commit should not
have any effect on <800062 users.

Approved by:	port maintainer
2009-02-03 20:45:37 +00:00
Dmitry Marakasov
bed724d50f - Add .undef KERNCONF to fusefs-kmod's Makefile, so KERNCONF defined in /etc/make.conf don't break the build in some cases
PR:		129909
Submitted by:	myself
Approved by:	Alex Kozlov <spam at rm-rf dot kiev dot ua> (maintainer)
2009-01-13 22:19:14 +00:00
Pav Lucistnik
b2a96c6df1 - Remove conditional checks for FreeBSD 5.x and older 2009-01-06 17:59:31 +00:00
Stefan Walter
dd458ecd60 Add knobs to the rc.d script to safely wait until all data has been written on
shutdown. (As this implies pausing rc.shutdown's shutdown watchdog, the knobs
are off by default.)

PR:		124901
Submitted by:	Dominic Fandrey <kamikaze@bsdforen.de>
Approved by:	maintainer
2008-12-12 15:10:52 +00:00
Stefan Walter
2073acdbe7 Allow to choose fusefs-kmod install location by setting KMODDIR.
PR:		126322
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua>
Approved by:	maintainer (in ports/108788)
2008-12-09 18:56:43 +00:00
Jung-uk Kim
07e7ccf97a Fix build on -CURRENT after the introduction of accmode_t and renaming of
VOP_ACCESS 'a_mode' argument to 'a_accmode'.

Reviewed by:	Anish Mistry <amistry at am-productions dot biz> (maintainer)
2008-10-30 15:36:35 +00:00
Kevin Lo
cf192abfd0 Correct fix for vinvalbuf() 2008-10-19 05:40:45 +00:00
Kevin Lo
dec06b868b Fix build on -CURRENT:
- remove the struct thread unuseful argument from bufobj interface.
2008-10-19 04:38:52 +00:00
Martin Wilke
7d7c6fb4c7 - Fix build on CURRENT
Submitted by:	rnoland@
Approved by:	Anish Mistry <amistry@am-productions.biz>
2008-09-26 18:26:35 +00:00
Wesley Shields
35b0fcbc51 Distfile re-rolled. According to the maintainer all that changed was
some mercurial files were removed.

PR:		ports/125734 [1], ports/125495 [2]
Submitted by:	Anish Mistry <amistry@am-productions.biz> (maintainer) [1]
		Eric J Christeson <Eric.J.Christeson@gmail.com> [2]
2008-07-24 02:44:16 +00:00
Ed Schouten
371d172508 Make fusefs-kmod work again, after the addition of D_NEEDMINOR.
Drivers that use the clone_* KPI need to be marked with D_NEEDMINOR to
work right now. Without this patch, we'll get a kernel panic when
allocating the first device node.

Approved by:	philip (mentor)
2008-06-23 18:53:54 +00:00
Norikatsu Shigemura
ff38479163 Fix build on 8-current.
PR:		ports/122643
Submitted by:	NAKAJI Hiroyuki <nakaji at jp freebsd org>
Reviewed by:	Anish Mistry <amistry at am-productions biz> (maintainer)
2008-04-12 20:09:19 +00:00
Rong-En Fan
3d203fcb21 - When KERNCONF is set in /etc/make.conf and /usr/src is a symlink,
fuse's Makefile uses hardcoded /usr/obj/usr/src/sys/${KERNCONF}.
  This causes build failure. Fix this by getting correct obj directory
  from /usr/src/Makefile.inc1.

PR:		ports/122257
Submitted by:	rafan
Approved by:	Anish Mistry <amistry at am-productions.biz> (maintainer)
2008-04-03 02:16:54 +00:00
Alejandro Pulver
6b3f87a53a From [1]:
- Update to version 0.3.9-pre1.20080208 (agreed with author).
- Download directly from the Mercurial reposirory (as tarball), to ease
  maintainence.
- Remove all local patches as they were integrated.
- Convert setup.sh into setup.sh.in, and use SUB_FILES instead of manual
  replacement.
- Use kldload instead of rc.d script in setup.sh.in because the latter gives
  an error.
- Remove "sleep 1" from rc.d script as now the FUSE daemon makes umount wait
  until disks are synced (synchronous unmount).
- Update pkg-message.

From [2]:
- Pass SRC_BASE to the actual build (previously was only used by the port to
  detect if the source was installed, but not passed to the internal Makefile).

PR:		ports/120420 [1], ports/118112 [2]
Submitted by:	alepulver [1], Yuri Pankov <yuri.pankov@gmail.com> [2]
Approved by:	maintainer (timeout) [1], maintainer [2]
2008-02-16 18:05:38 +00:00
Roman Bogorodskiy
e2e64877ff - Fix build on 8-CURRENT. It was broken because of vn_lock/VOP_LOCK changes.
- Pet portlint, while here.

Approved by:		maintainer timeout (more than 2 weeks)
Related PR:		119764
2008-02-08 19:44:43 +00:00
Martin Matuska
44792150fa - Add support for SRC_BASE and MAKEOBJDIRPREFIX if using KERNCONF
PR:		ports/115954
Submitted by:	Nikos Ntarmos <ntarmos at ceid.upatras.gr>
Reworked by:	mm
Approved by:	maintainer timeout
2008-01-01 10:52:38 +00:00
Alejandro Pulver
b9e3656f2e - Bump PORTREVISION.
- Add checks in rc.d scripts to avoid "double" loading/unloading.
- Add patch-fuse_io.c (fix from
  http://mercurial.creo.hu/repos/fuse4bsd-hg/?rev/d7bf90a8cc85).
- Handle "nonempty" option by ignoring it, used by ntfs-3g
  (http://mercurial.creo.hu/repos/fuse4bsd-hg/?rev/aef999f12049).
- In the rc.d script unmount FUSE filesystem in the "stop" command, in reverse
  order in case the mounts are nested, waiting one second after each. This is
  a temporary workaround for umount returning before the cache has been
  flushed (which causes for example files not being written to the disk), a
  proper solution is being worked on.
- Add note in pkg-message about "stop" rc.d command unmounting FUSE
  filesystems.

PR:		ports/118758
Submitted by:	alepulver (myself)
Approved by:	Anish Mistry <amistry@am-productions.biz> (maintainer)
2007-12-17 17:22:09 +00:00
Ruslan Ermilov
b1f1582edf Fix the package.
Approved by:	portmgr (linimon)
2007-11-15 19:46:42 +00:00
Alejandro Pulver
0d2515c609 - Bump PORTREVISION.
- Create pkg-message from SUB_FILES instead of using ${SED} to print.
- Add a note in pkg-message and clean up.
- Create a symlink of ${PREFIX}/sbin/mount_fusefs to /usr/sbin to allow
  mounting from /etc/fstab.
- Add "BEFORE: mountlate" to rc.d script.

This has been verified to work with sysutils/fusefs-ntfs (see changes to
pkg-message in last commit).

PR:		ports/117516
Submitted by:	alepulver (myself)
Approved by:	Anish Mistry <amistry@am-productions.biz> (maintainer)
2007-10-30 03:10:09 +00:00
Edwin Groothuis
7050073288 Sysutils/fusefs-kmod requires also userland sources
Fusefs-kmod says it requires kernel sources, but it also requires
	userland sources:

	Warning: Object directory not changed from original /var/ports/usr/ports/sysutils/fusefs-kmod/work/fuse4bsd-0.3.9-pre1/mount_fusefs
	cc -O2 -fno-strict-aliasing -pipe -I/usr/src/sbin/mount -I../include -c mount_fusefs.c
					  ^^^^^^^^^^^^^^^^^^^^^^
	mount_fusefs.c:50:21: mntopts.h: No such file or directory
	mount_fusefs.c:57: error: elements of array `mopts' have incomplete type

PR:		ports/116196
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
Approved by:	maintainer timeout
2007-10-03 05:05:22 +00:00
Martin Matuska
6c9c21e643 - Add patch for better processing of KERNCONF variable on build time
PR:		ports/115585
Submitted by:	Marcin Wisnicki <mwisnicki+freebsd at gmail.com>
Approved by:	maintainer
2007-08-22 11:38:05 +00:00
Martin Matuska
b0357819a0 - Update to 0.3.9-pre1
- Add additional patches

PR:		ports/114629
Approved by:	maintainer, garga (mentor, implicit)
Tested by:	freebsd-ports@
2007-08-13 10:48:41 +00:00
Mark Linimon
8c91d898a6 Populate the 'kld' virtual category, for ports that install Kernel Loadable
modules.

Hat:		portmgr
2007-06-29 09:16:42 +00:00
Martin Wilke
c33a4eedb3 - Fix build error with gcc4.2 [1]
- Fix panic on Head [2]

PR:		112387 / 112989
Submitted by:	Artem Naluzhny<tut@nhamon.com.ua> [1]
                Anish Mistry <amistry@am-productions.biz> (maintainer) [2]
2007-05-29 15:51:32 +00:00