head	1.4;
access;
symbols
	pkgsrc-2026Q1:1.4.0.176
	pkgsrc-2026Q1-base:1.4
	pkgsrc-2025Q4:1.4.0.174
	pkgsrc-2025Q4-base:1.4
	pkgsrc-2025Q3:1.4.0.172
	pkgsrc-2025Q3-base:1.4
	pkgsrc-2025Q2:1.4.0.170
	pkgsrc-2025Q2-base:1.4
	pkgsrc-2025Q1:1.4.0.168
	pkgsrc-2025Q1-base:1.4
	pkgsrc-2024Q4:1.4.0.166
	pkgsrc-2024Q4-base:1.4
	pkgsrc-2024Q3:1.4.0.164
	pkgsrc-2024Q3-base:1.4
	pkgsrc-2024Q2:1.4.0.162
	pkgsrc-2024Q2-base:1.4
	pkgsrc-2024Q1:1.4.0.160
	pkgsrc-2024Q1-base:1.4
	pkgsrc-2023Q4:1.4.0.158
	pkgsrc-2023Q4-base:1.4
	pkgsrc-2023Q3:1.4.0.156
	pkgsrc-2023Q3-base:1.4
	pkgsrc-2023Q2:1.4.0.154
	pkgsrc-2023Q2-base:1.4
	pkgsrc-2023Q1:1.4.0.152
	pkgsrc-2023Q1-base:1.4
	pkgsrc-2022Q4:1.4.0.150
	pkgsrc-2022Q4-base:1.4
	pkgsrc-2022Q3:1.4.0.148
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.4.0.146
	pkgsrc-2022Q2-base:1.4
	pkgsrc-2022Q1:1.4.0.144
	pkgsrc-2022Q1-base:1.4
	pkgsrc-2021Q4:1.4.0.142
	pkgsrc-2021Q4-base:1.4
	pkgsrc-2021Q3:1.4.0.140
	pkgsrc-2021Q3-base:1.4
	pkgsrc-2021Q2:1.4.0.138
	pkgsrc-2021Q2-base:1.4
	pkgsrc-2021Q1:1.4.0.136
	pkgsrc-2021Q1-base:1.4
	pkgsrc-2020Q4:1.4.0.134
	pkgsrc-2020Q4-base:1.4
	pkgsrc-2020Q3:1.4.0.132
	pkgsrc-2020Q3-base:1.4
	pkgsrc-2020Q2:1.4.0.128
	pkgsrc-2020Q2-base:1.4
	pkgsrc-2020Q1:1.4.0.108
	pkgsrc-2020Q1-base:1.4
	pkgsrc-2019Q4:1.4.0.130
	pkgsrc-2019Q4-base:1.4
	pkgsrc-2019Q3:1.4.0.126
	pkgsrc-2019Q3-base:1.4
	pkgsrc-2019Q2:1.4.0.124
	pkgsrc-2019Q2-base:1.4
	pkgsrc-2019Q1:1.4.0.122
	pkgsrc-2019Q1-base:1.4
	pkgsrc-2018Q4:1.4.0.120
	pkgsrc-2018Q4-base:1.4
	pkgsrc-2018Q3:1.4.0.118
	pkgsrc-2018Q3-base:1.4
	pkgsrc-2018Q2:1.4.0.116
	pkgsrc-2018Q2-base:1.4
	pkgsrc-2018Q1:1.4.0.114
	pkgsrc-2018Q1-base:1.4
	pkgsrc-2017Q4:1.4.0.112
	pkgsrc-2017Q4-base:1.4
	pkgsrc-2017Q3:1.4.0.110
	pkgsrc-2017Q3-base:1.4
	pkgsrc-2017Q2:1.4.0.106
	pkgsrc-2017Q2-base:1.4
	pkgsrc-2017Q1:1.4.0.104
	pkgsrc-2017Q1-base:1.4
	pkgsrc-2016Q4:1.4.0.102
	pkgsrc-2016Q4-base:1.4
	pkgsrc-2016Q3:1.4.0.100
	pkgsrc-2016Q3-base:1.4
	pkgsrc-2016Q2:1.4.0.98
	pkgsrc-2016Q2-base:1.4
	pkgsrc-2016Q1:1.4.0.96
	pkgsrc-2016Q1-base:1.4
	pkgsrc-2015Q4:1.4.0.94
	pkgsrc-2015Q4-base:1.4
	pkgsrc-2015Q3:1.4.0.92
	pkgsrc-2015Q3-base:1.4
	pkgsrc-2015Q2:1.4.0.90
	pkgsrc-2015Q2-base:1.4
	pkgsrc-2015Q1:1.4.0.88
	pkgsrc-2015Q1-base:1.4
	pkgsrc-2014Q4:1.4.0.86
	pkgsrc-2014Q4-base:1.4
	pkgsrc-2014Q3:1.4.0.84
	pkgsrc-2014Q3-base:1.4
	pkgsrc-2014Q2:1.4.0.82
	pkgsrc-2014Q2-base:1.4
	pkgsrc-2014Q1:1.4.0.80
	pkgsrc-2014Q1-base:1.4
	pkgsrc-2013Q4:1.4.0.78
	pkgsrc-2013Q4-base:1.4
	pkgsrc-2013Q3:1.4.0.76
	pkgsrc-2013Q3-base:1.4
	pkgsrc-2013Q2:1.4.0.74
	pkgsrc-2013Q2-base:1.4
	pkgsrc-2013Q1:1.4.0.72
	pkgsrc-2013Q1-base:1.4
	pkgsrc-2012Q4:1.4.0.70
	pkgsrc-2012Q4-base:1.4
	pkgsrc-2012Q3:1.4.0.68
	pkgsrc-2012Q3-base:1.4
	pkgsrc-2012Q2:1.4.0.66
	pkgsrc-2012Q2-base:1.4
	pkgsrc-2012Q1:1.4.0.64
	pkgsrc-2012Q1-base:1.4
	pkgsrc-2011Q4:1.4.0.62
	pkgsrc-2011Q4-base:1.4
	pkgsrc-2011Q3:1.4.0.60
	pkgsrc-2011Q3-base:1.4
	pkgsrc-2011Q2:1.4.0.58
	pkgsrc-2011Q2-base:1.4
	pkgsrc-2011Q1:1.4.0.56
	pkgsrc-2011Q1-base:1.4
	pkgsrc-2010Q4:1.4.0.54
	pkgsrc-2010Q4-base:1.4
	pkgsrc-2010Q3:1.4.0.52
	pkgsrc-2010Q3-base:1.4
	pkgsrc-2010Q2:1.4.0.50
	pkgsrc-2010Q2-base:1.4
	pkgsrc-2010Q1:1.4.0.48
	pkgsrc-2010Q1-base:1.4
	pkgsrc-2009Q4:1.4.0.46
	pkgsrc-2009Q4-base:1.4
	pkgsrc-2009Q3:1.4.0.44
	pkgsrc-2009Q3-base:1.4
	pkgsrc-2009Q2:1.4.0.42
	pkgsrc-2009Q2-base:1.4
	pkgsrc-2009Q1:1.4.0.40
	pkgsrc-2009Q1-base:1.4
	pkgsrc-2008Q4:1.4.0.38
	pkgsrc-2008Q4-base:1.4
	pkgsrc-2008Q3:1.4.0.36
	pkgsrc-2008Q3-base:1.4
	cube-native-xorg:1.4.0.34
	cube-native-xorg-base:1.4
	pkgsrc-2008Q2:1.4.0.32
	pkgsrc-2008Q2-base:1.4
	cwrapper:1.4.0.30
	pkgsrc-2008Q1:1.4.0.28
	pkgsrc-2008Q1-base:1.4
	pkgsrc-2007Q4:1.4.0.26
	pkgsrc-2007Q4-base:1.4
	pkgsrc-2007Q3:1.4.0.24
	pkgsrc-2007Q3-base:1.4
	pkgsrc-2007Q2:1.4.0.22
	pkgsrc-2007Q2-base:1.4
	pkgsrc-2007Q1:1.4.0.20
	pkgsrc-2007Q1-base:1.4
	pkgsrc-2006Q4:1.4.0.18
	pkgsrc-2006Q4-base:1.4
	pkgsrc-2006Q3:1.4.0.16
	pkgsrc-2006Q3-base:1.4
	pkgsrc-2006Q2:1.4.0.14
	pkgsrc-2006Q2-base:1.4
	pkgsrc-2006Q1:1.4.0.12
	pkgsrc-2006Q1-base:1.4
	pkgsrc-2005Q4:1.4.0.10
	pkgsrc-2005Q4-base:1.4
	pkgsrc-2005Q3:1.4.0.8
	pkgsrc-2005Q3-base:1.4
	pkgsrc-2005Q2:1.4.0.6
	pkgsrc-2005Q2-base:1.4
	pkgsrc-2005Q1:1.4.0.4
	pkgsrc-2005Q1-base:1.4
	pkgsrc-2004Q4:1.4.0.2
	pkgsrc-2004Q4-base:1.4
	pkgsrc-2004Q3:1.3.0.4
	pkgsrc-2004Q3-base:1.3
	pkgsrc-2004Q2:1.3.0.2
	pkgsrc-2004Q2-base:1.3
	pkgsrc-2004Q1:1.2.0.6
	pkgsrc-2004Q1-base:1.2
	pkgsrc-2003Q4:1.2.0.4
	pkgsrc-2003Q4-base:1.2
	netbsd-1-6-1:1.2.0.2
	netbsd-1-6-1-base:1.2
	netbsd-1-6:1.1.1.1.0.4
	netbsd-1-6-RELEASE-base:1.1
	pkgviews:1.1.1.1.0.6
	pkgviews-base:1.1
	buildlink2-base:1.1
	buildlink2:1.1.1.1.0.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.4
date	2004.11.19.12.35.22;	author sketch;	state Exp;
branches;
next	1.3;

1.3
date	2004.03.28.22.00.05;	author minskim;	state Exp;
branches;
next	1.2;

1.2
date	2002.08.25.19.23.22;	author jlam;	state Exp;
branches;
next	1.1;

1.1
date	2002.05.12.10.25.48;	author rh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2002.05.12.10.25.48;	author rh;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	2002.05.12.10.25.48;	author jlam;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2002.06.23.19.00.04;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Various fixes/cleanups to get this package compiling on Solaris:

 + Use the mnttab(4) interface instead of mntent.
 + C++ syntax cleanups to appease the SunPro compiler.
 + Use MAXPATHLEN instead of NAME_MAX which can be unimplemented on strict
   POSIX systems.
 + Use POSIX inttypes.h if BSD types are not available.
 + RPC includes and C++ namespace fixes.
 + Use dirent(3) instead of older sys/dir.h interface.
 + Avoid `sun' namespace collision.

Patch based on the work of Robert Lillack and others, described in
http://mail-index.netbsd.org/tech-pkg/2004/08/20/0005.html and tested with
SunPro and gcc.
@
text
@$NetBSD: patch-ao,v 1.3 2004/03/28 22:00:05 minskim Exp $

--- src/fam-mntent.h.orig	Sun May 12 19:15:01 2002
+++ src/fam-mntent.h
@@@@ -0,0 +1,62 @@@@
+/*
+ *  mntent
+ *  fam-mntent.h - compatability header for BSD
+ *
+ *  Copyright (c) 2001 David Rufino <daverufino@@btinternet.com>
+ *  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+#if defined(HAVE_MNTENT_H)
+#include <mntent.h>
+#elif defined(HAVE_SYS_MNTTAB_H)
+#include <stdio.h>
+#include <unistd.h>
+#include <sys/mntent.h>
+#include <sys/mnttab.h>
+#define MOUNTED MNTTAB
+#else
+#ifndef _MNTENT_H
+#define _MNTENT_H
+#include <stdio.h>
+
+#define MOUNTED "dummy"
+
+#define MNTTYPE_NFS "nfs"
+
+struct mntent {
+	char *mnt_fsname;
+	char *mnt_dir;
+	char *mnt_type;
+	char *mnt_opts;
+	int mnt_freq;
+	int mnt_passno;
+};
+
+#define setmntent(x,y) ((FILE *)0x1)
+struct mntent *getmntent __P ((FILE *fp));
+char *hasmntopt __P ((const struct mntent *mnt, const char *option));
+#define endmntent(x) ((int)1)
+
+#endif /* _MNTENT_H */
+#endif /* HAVE_MNTENT_H */
@


1.3
log
@Update fam to 2.7.0.  Fixes the following PR's:

  - PR pkg/23017
  - PR pkg/23495
  - PR pkg/23496
  - PR pkg/24578

The patches for 23017 and 24578 were provided by reed@@.  Although rh@@
suspended PR 23017 saying that pkgsrc does not support installation to
/usr, this still needs to be fixed because the same problem occurs
even when LOCALBASE != /usr.

Changes since 2.6.10:
    Changed NOGROUP usage in src/Cred.c++ to -1 as NOGROUP is not defined
    in IRIX.
    (mraymond@@sgi.com)
    removed const modifier from Scheduler.h to fix GCC 3.x build.
    (wardle@@sgi.com)
    created new GNU autotools files:
    - test whether we have IMon rather than testing OS.
    - test whether we have sockaddr length members rather than testing OS.
    - install daemon in sbin rather than bin.
    - install manual pages in typical GNU/Linux sections.
    - rename daemon to famd.
    - rename fam source directory to src.
    - rename libfam source directory to lib.
    - remove editconf and util subdirectory.
    - remove rpm target and build subdirectory.
    - remove support target and subdirectory.
    [wardle@@sgi.com] (wardle@@sgi.com)
    fixed warnings about typenames in BTree.h.
    (wardle@@sgi.com)
@
text
@d1 1
a1 1
$NetBSD: patch-ao,v 1.2 2002/08/25 19:23:22 jlam Exp $
d5 1
a5 1
@@@@ -0,0 +1,56 @@@@
d37 6
@


1.2
log
@Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
@
text
@d1 1
a1 1
$NetBSD: patch-ao,v 1.1.2.1 2002/06/23 19:00:04 jlam Exp $
d3 2
a4 2
--- fam/mntent.h.orig	Sun May 12 19:15:01 2002
+++ fam/mntent.h
d8 1
a8 1
+ *  mntent.h - compatability header for BSD
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
$NetBSD$
@


1.1.1.1
log
@Initial import of fam-2.6.7, a file alteration monitor.
@
text
@@


1.1.1.1.2.1
log
@file patch-ao was added on branch buildlink2 on 2002-06-23 19:00:04 +0000
@
text
@d1 61
@


1.1.1.1.2.2
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@a0 61
$NetBSD: patch-ao,v 1.1.1.1.2.1 2002/06/23 19:00:04 jlam Exp $

--- fam/mntent.h.orig	Sun May 12 19:15:01 2002
+++ fam/mntent.h
@@@@ -0,0 +1,56 @@@@
+/*
+ *  mntent
+ *  mntent.h - compatability header for BSD
+ *
+ *  Copyright (c) 2001 David Rufino <daverufino@@btinternet.com>
+ *  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+#if defined(HAVE_MNTENT_H)
+#include <mntent.h>
+#else
+#ifndef _MNTENT_H
+#define _MNTENT_H
+#include <stdio.h>
+
+#define MOUNTED "dummy"
+
+#define MNTTYPE_NFS "nfs"
+
+struct mntent {
+	char *mnt_fsname;
+	char *mnt_dir;
+	char *mnt_type;
+	char *mnt_opts;
+	int mnt_freq;
+	int mnt_passno;
+};
+
+#define setmntent(x,y) ((FILE *)0x1)
+struct mntent *getmntent __P ((FILE *fp));
+char *hasmntopt __P ((const struct mntent *mnt, const char *option));
+#define endmntent(x) ((int)1)
+
+#endif /* _MNTENT_H */
+#endif /* HAVE_MNTENT_H */
@
