Commit graph

33 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Pav Lucistnik
4c3ab2192c - Load kmod by absolute path
PR:		ports/107466
Submitted by:	Andrzej Tobola <ato@iem.pw.edu.pl>
Approved by:	Anish Mistry <amistry@am-productions.biz> (maintainer)
2007-02-15 09:31:28 +00:00
Pav Lucistnik
29092884df - Annotate sysctl.conf entry in rc script comment block for people who miss
pkg-message

PR:		ports/107466
Submitted by:	Peter Risdon <prisdon@gmail.com>
Approved by:	maintainer timeout
2007-02-14 17:05:06 +00:00
Pav Lucistnik
becab88653 - Fix a bug in the initialization of a debug kernel sysctl. Merge changeset
9131f671c86d from upstream. This should fix problems with errors and
  truncations during a save.

PR:		ports/103722
Submitted by:	Anish Mistry <amistry@am-productions.biz> (maintainer)
2006-09-28 16:39:42 +00:00
Pav Lucistnik
a5554b098b - Fix build on -CURRENT
- Fix path in pkg-message

PR:		ports/100403
Submitted by:	Anish Mistry <amistry@am-productions.biz> (maintainer)
2006-08-12 21:11:12 +00:00
Marcus Alves Grando
25bed4163a - Use USE_RC_SUBR=fusefs instead of =yes
- Reorganize Makefile and rc.d script
- Bump PORTREVISION

PR:		95064
Submitted by:	maintainer
2006-04-05 02:53:39 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Vanilla I. Shu
9ec131794b Upgrade to 0.2.99.2.
PR:		ports/92386
Submitted by:	maintainer
2006-01-27 06:35:55 +00:00
Pav Lucistnik
22d80903b9 - Fix on 64-bit archs
PR:		ports/92076
Submitted by:	Anish Mistry <amistry@am-productions.biz> (maintainer)
2006-01-22 18:50:29 +00:00
Pav Lucistnik
cad1fb9d40 - Update fusefs-kmod to 0.2.99.1, fusefs-libs to 2.5.0, fusefs-sshfs to 1.4
PR:		ports/91873
Submitted by:	Anish Mistry <amistry@am-productions.biz> (maintainer)
2006-01-18 19:48:56 +00:00
Simon Barner
f5f5f5e5d8 Add new port for fusefs-kmod,
Kernel module for fusefs based filesystems.

WWW: http://wikitest.freebsd.org/moin.cgi/FuseFilesystem

Submitted by:		Anish Mistry <amistry@am-productions.biz> (via email)
Reviewed by:		Csaba Henk <csaba.henk@creo.hu>
Ported to FreeBSD by:	Csaba Henk <csaba.henk@creo.hu> (as a SoC project)
2005-10-19 08:18:57 +00:00