head	1.50;
access;
symbols
	pkgsrc-2026Q1:1.50.0.8
	pkgsrc-2026Q1-base:1.50
	pkgsrc-2025Q4:1.50.0.6
	pkgsrc-2025Q4-base:1.50
	pkgsrc-2025Q3:1.50.0.4
	pkgsrc-2025Q3-base:1.50
	pkgsrc-2025Q2:1.50.0.2
	pkgsrc-2025Q2-base:1.50
	pkgsrc-2025Q1:1.49.0.2
	pkgsrc-2025Q1-base:1.49
	pkgsrc-2024Q4:1.47.0.12
	pkgsrc-2024Q4-base:1.47
	pkgsrc-2024Q3:1.47.0.10
	pkgsrc-2024Q3-base:1.47
	pkgsrc-2024Q2:1.47.0.8
	pkgsrc-2024Q2-base:1.47
	pkgsrc-2024Q1:1.47.0.6
	pkgsrc-2024Q1-base:1.47
	pkgsrc-2023Q4:1.47.0.4
	pkgsrc-2023Q4-base:1.47
	pkgsrc-2023Q3:1.47.0.2
	pkgsrc-2023Q3-base:1.47
	pkgsrc-2023Q2:1.44.0.44
	pkgsrc-2023Q2-base:1.44
	pkgsrc-2023Q1:1.44.0.42
	pkgsrc-2023Q1-base:1.44
	pkgsrc-2022Q4:1.44.0.40
	pkgsrc-2022Q4-base:1.44
	pkgsrc-2022Q3:1.44.0.38
	pkgsrc-2022Q3-base:1.44
	pkgsrc-2022Q2:1.44.0.36
	pkgsrc-2022Q2-base:1.44
	pkgsrc-2022Q1:1.44.0.34
	pkgsrc-2022Q1-base:1.44
	pkgsrc-2021Q4:1.44.0.32
	pkgsrc-2021Q4-base:1.44
	pkgsrc-2021Q3:1.44.0.30
	pkgsrc-2021Q3-base:1.44
	pkgsrc-2021Q2:1.44.0.28
	pkgsrc-2021Q2-base:1.44
	pkgsrc-2021Q1:1.44.0.26
	pkgsrc-2021Q1-base:1.44
	pkgsrc-2020Q4:1.44.0.24
	pkgsrc-2020Q4-base:1.44
	pkgsrc-2020Q3:1.44.0.22
	pkgsrc-2020Q3-base:1.44
	pkgsrc-2020Q2:1.44.0.20
	pkgsrc-2020Q2-base:1.44
	pkgsrc-2020Q1:1.44.0.16
	pkgsrc-2020Q1-base:1.44
	pkgsrc-2019Q4:1.44.0.18
	pkgsrc-2019Q4-base:1.44
	pkgsrc-2019Q3:1.44.0.14
	pkgsrc-2019Q3-base:1.44
	pkgsrc-2019Q2:1.44.0.12
	pkgsrc-2019Q2-base:1.44
	pkgsrc-2019Q1:1.44.0.10
	pkgsrc-2019Q1-base:1.44
	pkgsrc-2018Q4:1.44.0.8
	pkgsrc-2018Q4-base:1.44
	pkgsrc-2018Q3:1.44.0.6
	pkgsrc-2018Q3-base:1.44
	pkgsrc-2018Q2:1.44.0.4
	pkgsrc-2018Q2-base:1.44
	pkgsrc-2018Q1:1.44.0.2
	pkgsrc-2018Q1-base:1.44
	pkgsrc-2017Q4:1.43.0.2
	pkgsrc-2017Q4-base:1.43
	pkgsrc-2017Q3:1.42.0.8
	pkgsrc-2017Q3-base:1.42
	pkgsrc-2017Q2:1.42.0.4
	pkgsrc-2017Q2-base:1.42
	pkgsrc-2017Q1:1.42.0.2
	pkgsrc-2017Q1-base:1.42
	pkgsrc-2016Q4:1.41.0.8
	pkgsrc-2016Q4-base:1.41
	pkgsrc-2016Q3:1.41.0.6
	pkgsrc-2016Q3-base:1.41
	pkgsrc-2016Q2:1.41.0.4
	pkgsrc-2016Q2-base:1.41
	pkgsrc-2016Q1:1.41.0.2
	pkgsrc-2016Q1-base:1.41
	pkgsrc-2015Q4:1.40.0.10
	pkgsrc-2015Q4-base:1.40
	pkgsrc-2015Q3:1.40.0.8
	pkgsrc-2015Q3-base:1.40
	pkgsrc-2015Q2:1.40.0.6
	pkgsrc-2015Q2-base:1.40
	pkgsrc-2015Q1:1.40.0.4
	pkgsrc-2015Q1-base:1.40
	pkgsrc-2014Q4:1.40.0.2
	pkgsrc-2014Q4-base:1.40
	pkgsrc-2014Q3:1.39.0.16
	pkgsrc-2014Q3-base:1.39
	pkgsrc-2014Q2:1.39.0.14
	pkgsrc-2014Q2-base:1.39
	pkgsrc-2014Q1:1.39.0.12
	pkgsrc-2014Q1-base:1.39
	pkgsrc-2013Q4:1.39.0.10
	pkgsrc-2013Q4-base:1.39
	pkgsrc-2013Q3:1.39.0.8
	pkgsrc-2013Q3-base:1.39
	pkgsrc-2013Q2:1.39.0.6
	pkgsrc-2013Q2-base:1.39
	pkgsrc-2013Q1:1.39.0.4
	pkgsrc-2013Q1-base:1.39
	pkgsrc-2012Q4:1.39.0.2
	pkgsrc-2012Q4-base:1.39
	pkgsrc-2012Q3:1.38.0.22
	pkgsrc-2012Q3-base:1.38
	pkgsrc-2012Q2:1.38.0.20
	pkgsrc-2012Q2-base:1.38
	pkgsrc-2012Q1:1.38.0.18
	pkgsrc-2012Q1-base:1.38
	pkgsrc-2011Q4:1.38.0.16
	pkgsrc-2011Q4-base:1.38
	pkgsrc-2011Q3:1.38.0.14
	pkgsrc-2011Q3-base:1.38
	pkgsrc-2011Q2:1.38.0.12
	pkgsrc-2011Q2-base:1.38
	pkgsrc-2011Q1:1.38.0.10
	pkgsrc-2011Q1-base:1.38
	pkgsrc-2010Q4:1.38.0.8
	pkgsrc-2010Q4-base:1.38
	pkgsrc-2010Q3:1.38.0.6
	pkgsrc-2010Q3-base:1.38
	pkgsrc-2010Q2:1.38.0.4
	pkgsrc-2010Q2-base:1.38
	pkgsrc-2010Q1:1.38.0.2
	pkgsrc-2010Q1-base:1.38
	pkgsrc-2009Q4:1.37.0.4
	pkgsrc-2009Q4-base:1.37
	pkgsrc-2009Q3:1.37.0.2
	pkgsrc-2009Q3-base:1.37
	pkgsrc-2009Q2:1.36.0.16
	pkgsrc-2009Q2-base:1.36
	pkgsrc-2009Q1:1.36.0.14
	pkgsrc-2009Q1-base:1.36
	pkgsrc-2008Q4:1.36.0.12
	pkgsrc-2008Q4-base:1.36
	pkgsrc-2008Q3:1.36.0.10
	pkgsrc-2008Q3-base:1.36
	cube-native-xorg:1.36.0.8
	cube-native-xorg-base:1.36
	pkgsrc-2008Q2:1.36.0.6
	pkgsrc-2008Q2-base:1.36
	cwrapper:1.36.0.4
	pkgsrc-2008Q1:1.36.0.2
	pkgsrc-2008Q1-base:1.36
	pkgsrc-2007Q4:1.35.0.2
	pkgsrc-2007Q4-base:1.35
	pkgsrc-2007Q3:1.34.0.8
	pkgsrc-2007Q3-base:1.34
	pkgsrc-2007Q2:1.34.0.6
	pkgsrc-2007Q2-base:1.34
	pkgsrc-2007Q1:1.34.0.4
	pkgsrc-2007Q1-base:1.34
	pkgsrc-2006Q4:1.34.0.2
	pkgsrc-2006Q4-base:1.34
	pkgsrc-2006Q3:1.32.0.4
	pkgsrc-2006Q3-base:1.32
	pkgsrc-2006Q2:1.32.0.2
	pkgsrc-2006Q2-base:1.32
	pkgsrc-2006Q1:1.31.0.2
	pkgsrc-2006Q1-base:1.31
	pkgsrc-2005Q4:1.28.0.2
	pkgsrc-2005Q4-base:1.28
	pkgsrc-2005Q3:1.26.0.2
	pkgsrc-2005Q3-base:1.26
	pkgsrc-2005Q2:1.25.0.2
	pkgsrc-2005Q2-base:1.25
	pkgsrc-2005Q1:1.22.0.2
	pkgsrc-2005Q1-base:1.22
	pkgsrc-2004Q4:1.20.0.2
	pkgsrc-2004Q4-base:1.20
	pkgsrc-2004Q3:1.15.0.4
	pkgsrc-2004Q3-base:1.15
	pkgsrc-2004Q2:1.15.0.2
	pkgsrc-2004Q2-base:1.15
	pkgsrc-2004Q1:1.11.0.2
	pkgsrc-2004Q1-base:1.11
	pkgsrc-2003Q4:1.7.0.2
	pkgsrc-2003Q4-base:1.7
	netbsd-1-6-1:1.4.0.2
	netbsd-1-6-1-base:1.4
	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.50
date	2025.04.19.07.58.25;	author wiz;	state Exp;
branches;
next	1.49;
commitid	8J0gu7BGAw8XqDRF;

1.49
date	2025.01.28.12.43.43;	author vins;	state Exp;
branches;
next	1.48;
commitid	ZVq7xnyTSiSICfHF;

1.48
date	2025.01.06.19.37.32;	author vins;	state Exp;
branches;
next	1.47;
commitid	TRSmRdPHC5rwCsEF;

1.47
date	2023.09.06.10.50.28;	author vins;	state Exp;
branches;
next	1.46;
commitid	cSyJnWVYOUccoHDE;

1.46
date	2023.09.02.15.26.58;	author vins;	state Exp;
branches;
next	1.45;
commitid	ahqcAL84TZUO2dDE;

1.45
date	2023.08.30.17.56.20;	author vins;	state Exp;
branches;
next	1.44;
commitid	tG0vnHd85zx4XPCE;

1.44
date	2018.01.25.10.41.37;	author jperkin;	state Exp;
branches;
next	1.43;
commitid	biQiMpCxkd0wefoA;

1.43
date	2017.11.26.10.42.46;	author wiz;	state Exp;
branches;
next	1.42;
commitid	OTXVeIjNQBNJaxgA;

1.42
date	2017.01.19.18.52.25;	author agc;	state Exp;
branches;
next	1.41;
commitid	ufZDMu4cgHZdRBCz;

1.41
date	2016.02.26.10.24.12;	author jperkin;	state Exp;
branches;
next	1.40;
commitid	HAQLapcZyQ1MBpWy;

1.40
date	2014.10.09.14.06.57;	author wiz;	state Exp;
branches;
next	1.39;
commitid	fBDATFVmQ3454xTx;

1.39
date	2012.10.23.19.51.01;	author asau;	state Exp;
branches;
next	1.38;

1.38
date	2010.01.16.23.37.49;	author heinz;	state Exp;
branches;
next	1.37;

1.37
date	2009.07.19.18.18.09;	author tnn;	state Exp;
branches;
next	1.36;

1.36
date	2008.01.09.21.17.32;	author wiz;	state Exp;
branches;
next	1.35;

1.35
date	2007.12.16.14.25.14;	author cjep;	state Exp;
branches;
next	1.34;

1.34
date	2006.11.05.17.09.00;	author joerg;	state Exp;
branches;
next	1.33;

1.33
date	2006.10.02.21.45.05;	author rillig;	state Exp;
branches;
next	1.32;

1.32
date	2006.04.22.09.22.14;	author rillig;	state Exp;
branches;
next	1.31;

1.31
date	2006.03.04.21.30.40;	author jlam;	state Exp;
branches;
next	1.30;

1.30
date	2006.02.05.23.10.49;	author joerg;	state Exp;
branches;
next	1.29;

1.29
date	2005.12.29.06.22.17;	author jlam;	state Exp;
branches;
next	1.28;

1.28
date	2005.12.05.23.55.19;	author rillig;	state Exp;
branches;
next	1.27;

1.27
date	2005.10.31.13.03.32;	author joerg;	state Exp;
branches;
next	1.26;

1.26
date	2005.08.10.20.57.56;	author jlam;	state Exp;
branches;
next	1.25;

1.25
date	2005.05.22.20.08.32;	author jlam;	state Exp;
branches;
next	1.24;

1.24
date	2005.05.09.23.13.33;	author jschauma;	state Exp;
branches;
next	1.23;

1.23
date	2005.04.11.21.47.23;	author tv;	state Exp;
branches;
next	1.22;

1.22
date	2005.01.05.16.21.06;	author jmmv;	state Exp;
branches;
next	1.21;

1.21
date	2004.12.28.02.47.50;	author reed;	state Exp;
branches;
next	1.20;

1.20
date	2004.11.19.12.35.22;	author sketch;	state Exp;
branches
	1.20.2.1;
next	1.19;

1.19
date	2004.10.17.20.12.06;	author jmmv;	state Exp;
branches;
next	1.18;

1.18
date	2004.10.17.19.20.53;	author jmmv;	state Exp;
branches;
next	1.17;

1.17
date	2004.10.16.14.40.23;	author jmmv;	state Exp;
branches;
next	1.16;

1.16
date	2004.10.03.00.18.14;	author tv;	state Exp;
branches;
next	1.15;

1.15
date	2004.04.18.17.11.08;	author jmmv;	state Exp;
branches;
next	1.14;

1.14
date	2004.04.14.20.53.08;	author adam;	state Exp;
branches;
next	1.13;

1.13
date	2004.04.04.09.24.58;	author recht;	state Exp;
branches;
next	1.12;

1.12
date	2004.03.28.22.00.05;	author minskim;	state Exp;
branches;
next	1.11;

1.11
date	2004.02.14.17.21.52;	author jlam;	state Exp;
branches;
next	1.10;

1.10
date	2004.02.11.00.39.29;	author xtraeme;	state Exp;
branches;
next	1.9;

1.9
date	2004.02.09.18.14.45;	author jmmv;	state Exp;
branches;
next	1.8;

1.8
date	2004.01.24.15.06.57;	author grant;	state Exp;
branches;
next	1.7;

1.7
date	2003.07.17.22.53.33;	author grant;	state Exp;
branches;
next	1.6;

1.6
date	2003.06.02.01.16.56;	author jschauma;	state Exp;
branches;
next	1.5;

1.5
date	2003.05.08.16.57.37;	author jmmv;	state Exp;
branches;
next	1.4;

1.4
date	2002.12.17.19.43.39;	author jmmv;	state Exp;
branches;
next	1.3;

1.3
date	2002.10.02.22.30.59;	author dillo;	state Exp;
branches;
next	1.2;

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

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

1.20.2.1
date	2005.01.06.00.39.56;	author salo;	state Exp;
branches;
next	;

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

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

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


desc
@@


1.50
log
@*: recursive bump for default Kerberos implementation switch
@
text
@# $NetBSD: Makefile,v 1.49 2025/01/28 12:43:43 vins Exp $

DISTNAME=		fam-2.7.0
PKGREVISION=		10
CATEGORIES=		sysutils devel
#MASTER_SITES=		ftp://oss.sgi.com/projects/fam/download/stable/
MASTER_SITES+=		${MASTER_SITE_GENTOO:=distfiles/}

CONFLICTS+=		gamin-[0-9]*

MAINTAINER=		pkgsrc-users@@NetBSD.org
#HOMEPAGE=		http://oss.sgi.com/projects/fam/
COMMENT=		File Alteration Monitor
LICENSE=		gnu-gpl-v2 AND gnu-lgpl-v2.1 # fam and libfam

# fam is bundled with IRIX
NOT_FOR_PLATFORM=	IRIX-*-*

USE_TOOLS+=		gmake
USE_LIBTOOL=		YES
GNU_CONFIGURE=		YES
USE_LANGUAGES=		c c++
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}

EGDIR=			${PREFIX}/share/examples/fam
CONF_FILES=		${EGDIR}/fam.conf ${PKG_SYSCONFDIR}/fam.conf

RCD_SCRIPTS=		famd

SUBST_CLASSES+=		paths
SUBST_MESSAGE.paths=	Fixing hardcoded paths.
SUBST_STAGE.paths=	pre-configure
SUBST_FILES.paths=	man/famd.conf.5 man/famd.8
SUBST_SED.paths=	-e 's,/usr/local/etc/,${PKG_SYSCONFDIR}/,g'

PKG_OPTIONS_VAR=	PKG_OPTIONS.fam
PKG_SUPPORTED_OPTIONS=	kqueue

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mkqueue) && \
    (${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD")
CPPFLAGS+=		-DHAVE_KQUEUE

SUBST_CLASSES+=		kqueue
SUBST_MESSAGE.kqueue=	Enabling kqueue monitoring.
SUBST_STAGE.kqueue=	pre-configure
SUBST_FILES.kqueue=	src/Makefile.in
SUBST_SED.kqueue=	-e 's,@@MONITOR_FUNCS@@,IMonKQueue,g'
SUBST_SED.kqueue+=	-e 's,@@LIBS@@,@@LIBS@@ -lpthread,g'

MESSAGE_SRC=		${.CURDIR}/MESSAGE ${.CURDIR}/MESSAGE.kqueue

.endif

.if ${OPSYS} == "Linux"
# glibc lacks RPC support. 
.include "../../devel/libtirpc/buildlink3.mk"
.endif

CPPFLAGS.Darwin+=	-DNDEBUG
LDFLAGS.SunOS+=		-lsocket -lnsl

SUBST_CLASSES.SunOS+=	sunfix
SUBST_MESSAGE.sunfix=	Fixing ${OPSYS} namespace collision.
SUBST_STAGE.sunfix=	pre-configure
SUBST_FILES.sunfix+=	lib/Client.c++
SUBST_FILES.sunfix+=	src/ClientConnection.c++ src/ClientConnection.h
SUBST_FILES.sunfix+=	src/LocalClient.c++ src/LocalClient.h
SUBST_FILES.sunfix+=	src/Listener.c++
SUBST_FILES.sunfix+=	src/TCP_Client.h
SUBST_SED.sunfix=	-e 's/sun\([^_]\)/sa_un\1/g'

SUBST_CLASSES.SunOS+=	dirent
SUBST_MESSAGE.dirent=	Fixing old sys/dir.h usage.
SUBST_STAGE.dirent=	pre-configure
SUBST_FILES.dirent+=	src/Directory.c++
SUBST_FILES.dirent+=	src/DirectoryScanner.c++ src/DirectoryScanner.h
SUBST_SED.dirent=	-e 's,sys/dir.h,dirent.h,g'
SUBST_SED.dirent+=	-e 's/struct direct/struct dirent/g'

.include "../../mk/compiler.mk"

# type 'unsigned long' to 'rpcprog_t' (aka 'unsigned int')
.if !empty(PKGSRC_COMPILER:Mclang)
CXXFLAGS.SunOS+=	-Wno-c++11-narrowing
.endif

.if !empty(PKGSRC_COMPILER:Msunpro)
BUILDLINK_TRANSFORM+=	rm:-lstdc++
.endif

post-extract:
	${CP} ${FILESDIR}/IMonKQueue.c++ ${WRKSRC}/src
	${CP} ${FILESDIR}/imon-compat.h ${WRKSRC}/src

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/krb5.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.49
log
@sysutils/fam: revert accidentally committed change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2025/01/06 19:37:32 vins Exp $
d4 1
a4 1
PKGREVISION=		9
@


1.48
log
@add fastfetch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2023/09/06 10:50:28 vins Exp $
a56 2
# prevent linking errors for standard libraries.
BUILDLINK_TRANSFORM+=	rm:-nostdlib
@


1.47
log
@sysutils/fam: fix linking error on Linux for missing standard libraries.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2023/09/02 15:26:58 vins Exp $
d57 2
@


1.46
log
@sysutils/fam: remove redundant CPP/LDFLAGS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2023/08/30 17:56:20 vins Exp $
a53 1
.include "../../mk/pthread.buildlink3.mk"
d97 2
@


1.45
log
@sysutils/fam: Linux build fix.

Sun RPC support in Glibc was deprecated with version 2.32.
The recommended replacement implementation for GNU/Linux is TI-RPC,
available on pkgsrc as devel/libtirpc.
Tested on Slackware 15.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2018/01/25 10:41:37 jperkin Exp $
d58 1
a58 3
CPPFLAGS+=		-I${PREFIX}/include/tirpc
MAKEFLAGS+=		LDFLAGS="${LDFLAGS} -ltirpc"

@


1.44
log
@fam: Disable c++11-narrowing on SunOS with clang.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2017/11/26 10:42:46 wiz Exp $
d57 7
@


1.43
log
@fam: comment out dead sites
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2017/01/19 18:52:25 agc Exp $
d80 5
@


1.42
log
@Convert all occurrences (353 by my count) of

	MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.41 2016/02/26 10:24:12 jperkin Exp $
#
d6 1
a6 1
MASTER_SITES=		ftp://oss.sgi.com/projects/fam/download/stable/
d12 1
a12 1
HOMEPAGE=		http://oss.sgi.com/projects/fam/
@


1.41
log
@Use OPSYSVARS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2014/10/09 14:06:57 wiz Exp $
d7 2
a8 2
MASTER_SITES=		ftp://oss.sgi.com/projects/fam/download/stable/	\
			${MASTER_SITE_GENTOO:=distfiles/}
@


1.40
log
@Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2012/10/23 19:51:01 asau Exp $
d61 1
a61 3
.if ${OPSYS} == "SunOS"

SUBST_CLASSES+=		sunfix
d71 1
a71 1
SUBST_CLASSES+=		dirent
a84 2
.endif

@


1.39
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2010/01/16 23:37:49 heinz Exp $
a16 2
PKG_INSTALLATION_TYPES=	overwrite pkgviews

@


1.38
log
@Added LICENSE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2009/07/19 18:18:09 tnn Exp $
a17 1
PKG_DESTDIR_SUPPORT=	user-destdir
@


1.37
log
@use MASTER_SITE_GENTOO properly
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2008/01/09 21:17:32 wiz Exp $
d15 1
@


1.36
log
@REQUIRE rpcbind in the rc.d script, because famd needs portmapper.
Bump PKGREVISION.

Ok jmmv.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2007/12/16 14:25:14 cjep Exp $
d8 1
a8 2
			ftp://ftp.tuwien.ac.at/opsys/linux/gentoo/distfiles/ \
			http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/
@


1.35
log
@PR#34153 - fix famd manual page
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2006/11/05 17:09:00 joerg Exp $
d5 1
a5 1
PKGREVISION=		8
@


1.34
log
@DESTDIR support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2006/10/02 21:45:05 rillig Exp $
d5 1
a5 1
PKGREVISION=		7
@


1.33
log
@Fixed some pkglint warnings.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2006/04/22 09:22:14 rillig Exp $
d18 1
@


1.32
log
@Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2006/03/04 21:30:40 jlam Exp $
a63 1
SUBST_CLASSES+=		sunfix dirent
d65 1
d75 1
d80 2
a81 1
SUBST_SED.dirent=	-e 's,sys/dir.h,dirent.h,g' -e 's/struct direct/struct dirent/g'
@


1.31
log
@Point MAINTAINER to pkgsrc-users@@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2006/02/05 23:10:49 joerg Exp $
d34 1
a34 1
SUBST_MESSAGE.paths=	"Fixing hardcoded paths."
d49 1
a49 1
SUBST_MESSAGE.kqueue=	"Enabling kqueue monitoring."
d66 1
a66 1
SUBST_MESSAGE.sunfix=	"Fixing ${OPSYS} namespace collision."
d75 1
a75 1
SUBST_MESSAGE.dirent=	"Fixing old sys/dir.h usage."
@


1.30
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2005/12/29 06:22:17 jlam Exp $
d13 1
a13 1
MAINTAINER=		tech-pkg@@NetBSD.org
@


1.29
log
@Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2005/12/05 23:55:19 rillig Exp $
d5 1
a5 1
PKGREVISION=		6
@


1.28
log
@Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2005/10/31 13:03:32 joerg Exp $
a23 1
USE_PKGINSTALL=		YES
@


1.27
log
@patch-bc can change the linkage, especially for static linking, so bump
the revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2005/08/10 20:57:56 jlam Exp $
d27 1
a27 1
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
@


1.26
log
@Add a conflict on the forthcoming gamin package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2005/05/22 20:08:32 jlam Exp $
d5 1
a5 1
PKGREVISION=		5
@


1.25
log
@Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:

	USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2005/05/09 23:13:33 jschauma Exp $
d11 2
@


1.24
log
@mark this as NOT_FOR_PLATFORM= IRIX-*-*; irix comes with fam in the base
system
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2005/04/11 21:47:23 tv Exp $
d20 1
a20 1
USE_GNU_TOOLS+=		make
@


1.23
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2005/01/05 16:21:06 jmmv Exp $
d17 3
@


1.22
log
@Fix some long-standing kqueue bugs that have been bothering me for a long
time.  For example, simply running 'nautilus /' could lock up famd in pipewr
status.  To fix:

- Make the struct devino's sorting function work properly; otherwise the
  map behaves incorrectly.
- Handle kqueue errors if they are returned as an entry in the events table
  (with flags containing EV_ERROR).

While here, add more debugging code that helped me catch this issue (some
extra messages and assertions).

Also reenable assertions (except on Darwin as, according to version 1.14 of
the Makefile, they cause problems).

Not bumping revision because kqueue support is still off by default.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2004/12/28 02:47:50 reed Exp $
a16 1
USE_BUILDLINK3=		YES
@


1.21
log
@The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2004/11/19 12:35:22 sketch Exp $
a23 1
CONFIGURE_ENV+=		CPPFLAGS="${CPPFLAGS} -DNDEBUG"
d41 2
a42 1
.if !empty(PKG_OPTIONS:Mkqueue) && ${OPSYS} == "NetBSD"
d57 1
@


1.20
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
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2004/10/17 20:12:06 jmmv Exp $
d5 1
a5 1
PKGREVISION=		4
@


1.20.2.1
log
@Pullup ticket 209 - requested by Julio M. Merino Vidal
usability fix for fam

        Module Name:	pkgsrc
        Committed By:	jmmv
        Date:		Wed Jan  5 16:21:06 UTC 2005

        Modified Files:
        	pkgsrc/sysutils/fam: Makefile
        	pkgsrc/sysutils/fam/files: IMonKQueue.c++

        Log Message:
        Fix some long-standing kqueue bugs that have been bothering me for
        a long time.  For example, simply running 'nautilus /' could lock
        up famd in pipewr status.  To fix:

        - Make the struct devino's sorting function work properly; otherwise
          the map behaves incorrectly.
        - Handle kqueue errors if they are returned as an entry in the events
          table (with flags containing EV_ERROR).

        While here, add more debugging code that helped me catch this issue
        (some extra messages and assertions).

        Also reenable assertions (except on Darwin as, according to version
        1.14 of the Makefile, they cause problems).

        Not bumping revision because kqueue support is still off by default.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2004/11/19 12:35:22 sketch Exp $
d24 1
d42 1
a42 2
.if !empty(PKG_OPTIONS:Mkqueue) && \
    (${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD")
a56 1
CPPFLAGS.Darwin+=	-DNDEBUG
@


1.19
log
@When enabling kqueue, only link famd against -lpthread, not everything.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2004/10/17 19:20:53 jmmv Exp $
d57 28
@


1.18
log
@Add kqueue support.  This way, famd can be notified of changes to files and
directories in "real time", without having to periodically poll(2) for them
after several seconds.  This improves the responsiveness of applications
using famd (specially GNOME) when changes to files occur from the "outside"
(they are notified from changes immediately), or even from the application
itself (for example, have you ever tried to rename several files from
Nautilus?  just a PITA).

To enable kqueue, you have to pass the 'kqueue' option to the package.
I'm not enabling it by default because it needs testing (but it should be
enabled in a future).  Furthermore, I'd like to send these patches to the
FAM developers for comments too.  And a review from somebody knowing kqueue
could be good!  (this is the first time I use the kqueue interface, so I'm
not sure if everything is right).

A description on how this works can be found in the files/IMonKQueue.c++
file.  Note that, due to FAM's design, the easiest way to do this change
is to "emulate" imon functionality.

While here, add an rc.d script for famd, in case the user prefers to run
it at system startup instead of from inetd (I created it while developing
the kqueue functionality, so it's a good moment to add it).  Adjust the
MESSAGE accordingly.

Bump PKGREVISION to 4.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2004/10/16 14:40:23 jmmv Exp $
a43 1
LIBS+=			-lpthread
d48 3
a50 2
SUBST_FILES.kqueue=	configure
SUBST_SED.kqueue=	-e 's,IMonNone,IMonKQueue,g'
@


1.17
log
@Make the mntent compatibility layer work properly.  It was storing the list
of mounted filesystems in a local variable that was lost between calls to
the emulated getmntinfo function.

I'm not sure if this fixes any visible problem, but it probably should.
The code was randomly reading from memory before (running with debugging
enabled exposed the problem, for example).

Bump PKGREVISION to 3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2004/10/03 00:18:14 tv Exp $
d5 1
a5 1
PKGREVISION=		3
d29 2
d33 1
a33 1
SUBST_STAGE.paths=	post-patch
d37 24
@


1.16
log
@Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2004/04/18 17:11:08 jmmv Exp $
d5 1
a5 1
PKGREVISION=		2
@


1.15
log
@Fix location of temporary files, as they were beeing created under / instead
of /tmp!  If you have been using GNOME, you may want to 'rm -f /.fam*' to
clean them up.

The problem is caused by two different issues, related to a call to tempnam:

- The code uses a HAVE_UNSETENV define to check if the unsetenv function
  is available; however, the configure script does not check for it, so
  unsetenv is never used.  Fix the configure script to check for unsetenv.

- If unsetenv is not available, it does putenv("TMPDIR=") before calling
  tempnam.  The code expects that this call *unsets* the variable from the
  environment (which happens in Linux), but instead it is *set* to an empty
  value, causing the creation of files in the root directory.  Fix this by
  explicitly setting TMPDIR to /tmp.

Bump PKGREVISION to 1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2004/04/14 20:53:08 adam Exp $
d5 1
a5 1
PKGREVISION=		1
@


1.14
log
@Fixed build problems on Darwin
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2004/04/04 09:24:58 recht Exp $
d5 1
@


1.13
log
@Add "USE_LANGUAGES=c c++" since fam uses c++.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2004/03/28 22:00:05 minskim Exp $
a21 1

d23 1
@


1.12
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: Makefile,v 1.11 2004/02/14 17:21:52 jlam Exp $
d21 1
@


1.11
log
@LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2004/02/11 00:39:29 xtraeme Exp $
d4 1
a4 1
DISTNAME=		fam-2.6.10
d14 2
d27 6
@


1.10
log
@bl3ify
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2004/02/09 18:14:45 jmmv Exp $
a19 2
LIBTOOL_OVERRIDE=	${WRKSRC}/libtool

@


1.9
log
@Update to 2.6.10:
- removed const from Scheduler.h to fix GCC 3 build.
- use GID_NOBODY if NOGROUP is undefined to build on SysV-like operating
  systems including IRIX.

Changes in the package:
- Install configuration file in place.
- Tell the user how to setup and enable FAM.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2004/01/24 15:06:57 grant Exp $
d14 1
a14 1
USE_BUILDLINK2=		YES
@


1.8
log
@replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2003/07/17 22:53:33 grant Exp $
d4 1
a4 2
DISTNAME=		fam-2.6.9
PKGREVISION=		1
d17 1
d19 1
d21 1
d24 3
@


1.7
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2003/06/02 01:16:56 jschauma Exp $
d16 1
a16 1
USE_GMAKE=		YES
@


1.6
log
@Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2003/05/08 16:57:37 jmmv Exp $
d11 1
a11 1
MAINTAINER=		tech-pkg@@netbsd.org
@


1.5
log
@Honour PKG_SYSCONFDIR.  Bump PKGREVISION to 1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2002/12/17 19:43:39 jmmv Exp $
d11 1
a11 1
MAINTAINER=		packages@@netbsd.org
@


1.4
log
@Update fam to 2.6.9. Changes since 2.6.7:

fam-2.6.9

    added idle_timeout and nfs_polling_interval options to fam.conf.
    [joup@@bigfoot.com, wardle@@sgi.com] (wardle@@sgi.com)

    use daemon() as an alternative to _daemonize() to background the
    fam process if it is available.
    [wardle@@sgi.com] (wardle@@sgi.com)

    allow for different socket structure on FreeBSD and other small
    changes to assist FreeBSD build.
    [daverufino@@btinternet.com, ports@@geeksrus.net] (wardle@@sgi.com)

fam-2.6.8

    #include some standard header files to help build on FreeBSD.
    (wardle@@sgi.com)

    improved group handling from IRIX.
    (wardle@@sgi.com)

    untrusted user's GID is set to NOGROUP if getgrmember() gave FAM
    an invalid or inconsistent GID.
    (wardle@@sgi.com)

    should now handle strerror returning null.
    (wardle@@sgi.com)

    initalize libtool earlier in the configure process to avoid binaries
    being created with a .C extension on some systems.
    [alexl@@redhat.com] (wardle@@sgi.com)

    added libstdc++ to linker flags to make libfam always build as a
    C++ library.
    (wardle@@sgi.com)

    added CLEANFILES make target.
    (wardle@@sgi.com)

    /etc/mtab (or equivalent) is now opened read-only.
    (wardle@@sgi.com)

Approved by wiz.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2002/10/02 22:30:59 dillo Exp $
d5 1
d20 1
@


1.3
log
@get rid of autoconf build dependency by patching configure
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2002/08/25 19:23:19 jlam Exp $
d4 1
a4 1
DISTNAME=		fam-2.6.7
d14 1
@


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: Makefile,v 1.1.2.1 2002/06/23 18:59:49 jlam Exp $
a13 2
BUILD_DEPENDS+=		autoconf>=2.13:../../devel/autoconf

a17 3

pre-configure:
	cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf
@


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 Makefile was added on branch buildlink2 on 2002-06-23 18:59:49 +0000
@
text
@d1 24
@


1.1.1.1.2.2
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@a0 24
# $NetBSD: Makefile,v 1.1.1.1.2.1 2002/06/23 18:59:49 jlam Exp $
#

DISTNAME=		fam-2.6.7
CATEGORIES=		sysutils devel
MASTER_SITES=		ftp://oss.sgi.com/projects/fam/download/stable/	\
			ftp://ftp.tuwien.ac.at/opsys/linux/gentoo/distfiles/ \
			http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/

MAINTAINER=		packages@@netbsd.org
HOMEPAGE=		http://oss.sgi.com/projects/fam/
COMMENT=		File Alteration Monitor

BUILD_DEPENDS+=		autoconf>=2.13:../../devel/autoconf

USE_GMAKE=		YES
USE_LIBTOOL=		YES
GNU_CONFIGURE=		YES
LIBTOOL_OVERRIDE=	${WRKSRC}/libtool

pre-configure:
	cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf

.include "../../mk/bsd.pkg.mk"
@
