head	1.37;
access;
symbols
	RELEASE_8_3_0:1.36
	RELEASE_9_0_0:1.36
	RELEASE_7_4_0:1.36
	RELEASE_8_2_0:1.36
	RELEASE_6_EOL:1.36
	RELEASE_8_1_0:1.36
	RELEASE_7_3_0:1.35
	RELEASE_8_0_0:1.35
	RELEASE_7_2_0:1.33
	RELEASE_7_1_0:1.33
	RELEASE_6_4_0:1.33
	RELEASE_5_EOL:1.33
	RELEASE_7_0_0:1.32
	RELEASE_6_3_0:1.32
	PRE_XORG_7:1.27
	RELEASE_4_EOL:1.25
	RELEASE_6_2_0:1.25
	RELEASE_6_1_0:1.21
	RELEASE_5_5_0:1.21
	RELEASE_6_0_0:1.19
	RELEASE_5_4_0:1.19
	RELEASE_4_11_0:1.19
	RELEASE_5_3_0:1.18
	RELEASE_4_10_0:1.12
	RELEASE_5_2_1:1.10
	RELEASE_5_2_0:1.10
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.3;
locks; strict;
comment	@# @;


1.37
date	2012.11.17.06.01.19;	author svnexp;	state Exp;
branches;
next	1.36;

1.36
date	2010.04.19.10.43.41;	author ale;	state Exp;
branches;
next	1.35;

1.35
date	2009.08.09.09.32.11;	author erwin;	state Exp;
branches;
next	1.34;

1.34
date	2009.05.13.09.45.58;	author ale;	state Exp;
branches;
next	1.33;

1.33
date	2007.12.16.13.17.26;	author araujo;	state Exp;
branches;
next	1.32;

1.32
date	2007.11.23.01.22.51;	author linimon;	state Exp;
branches;
next	1.31;

1.31
date	2007.11.07.19.04.21;	author miwi;	state Exp;
branches;
next	1.30;

1.30
date	2007.09.23.09.14.20;	author miwi;	state Exp;
branches;
next	1.29;

1.29
date	2007.09.23.03.17.20;	author edwin;	state Exp;
branches;
next	1.28;

1.28
date	2007.07.02.19.01.03;	author pav;	state Exp;
branches;
next	1.27;

1.27
date	2007.04.20.15.12.27;	author gabor;	state Exp;
branches;
next	1.26;

1.26
date	2007.03.07.05.43.18;	author linimon;	state Exp;
branches;
next	1.25;

1.25
date	2006.07.27.23.10.45;	author shaun;	state Exp;
branches;
next	1.24;

1.24
date	2006.07.27.23.04.48;	author shaun;	state Exp;
branches;
next	1.23;

1.23
date	2006.05.13.04.15.15;	author edwin;	state Exp;
branches;
next	1.22;

1.22
date	2006.05.10.14.46.47;	author ale;	state Exp;
branches;
next	1.21;

1.21
date	2006.02.23.10.39.04;	author ade;	state Exp;
branches;
next	1.20;

1.20
date	2005.11.15.06.51.04;	author ade;	state Exp;
branches;
next	1.19;

1.19
date	2004.10.20.12.33.37;	author danfe;	state Exp;
branches;
next	1.18;

1.18
date	2004.09.26.03.07.15;	author kris;	state Exp;
branches;
next	1.17;

1.17
date	2004.07.09.17.42.48;	author marcus;	state Exp;
branches;
next	1.16;

1.16
date	2004.06.19.09.33.57;	author kris;	state Exp;
branches;
next	1.15;

1.15
date	2004.06.04.17.29.32;	author ade;	state Exp;
branches;
next	1.14;

1.14
date	2004.05.22.10.38.01;	author pav;	state Exp;
branches;
next	1.13;

1.13
date	2004.05.21.23.29.24;	author pav;	state Exp;
branches;
next	1.12;

1.12
date	2004.02.04.05.08.51;	author marcus;	state Exp;
branches;
next	1.11;

1.11
date	2003.12.23.20.35.08;	author linimon;	state Exp;
branches;
next	1.10;

1.10
date	2003.10.15.22.04.36;	author mdodd;	state Exp;
branches;
next	1.9;

1.9
date	2003.10.13.00.01.00;	author kris;	state Exp;
branches;
next	1.8;

1.8
date	2003.10.05.01.47.10;	author edwin;	state Exp;
branches;
next	1.7;

1.7
date	2003.09.19.01.55.19;	author mdodd;	state Exp;
branches;
next	1.6;

1.6
date	2003.02.21.13.26.55;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2003.01.02.05.23.45;	author petef;	state Exp;
branches;
next	1.4;

1.4
date	2002.12.22.17.16.46;	author ijliao;	state Exp;
branches;
next	1.3;

1.3
date	2002.08.05.14.54.39;	author mdodd;	state Exp;
branches;
next	1.2;

1.2
date	2002.07.12.05.31.37;	author mdodd;	state Exp;
branches;
next	1.1;

1.1
date	2002.07.12.02.52.25;	author mdodd;	state Exp;
branches;
next	;


desc
@@


1.37
log
@Switch exporter over
@
text
@# Ports collection makefile for:	sfs
# Date created:				2002-07-11
# Whom:					Michael Handler <handler@@grendel.net>
#					Matthew Dodd <winter@@jurai.net>
#
# $FreeBSD: head/security/sfs/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	sfs
PORTVERSION=	0.7.2
PORTREVISION=	10
CATEGORIES=	security net
MASTER_SITES=	http://www.fs.net/sfswww/dist/

MAINTAINER=	malus.x@@gmail.com
COMMENT=	Self-Certifying File System: A secure global network file system

PLIST_SUB=	SFS_VERSION=${PORTVERSION}

INFO=		sfs

USE_RC_SUBR=	sfscd sfssd

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-sfsuser=sfs \
		--with-sfsgroup=sfs \
		--with-sfsdir=/var/spool/sfs \
		--with-etcdir=${PREFIX}/etc/sfs \
		--disable-uvfs \
		--with-gmp=${LOCALBASE}

LIB_DEPENDS+=	gmp.10:${PORTSDIR}/math/gmp

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386"
IGNORE=		nfsmounter component fails to execute correctly on ${ARCH} systems
.elif ${OSVERSION} >= 800000
BROKEN=		does not build
.endif

MAN1=	\
		dirsearch.1 \
		newaid.1 \
		rex.1 \
		sfsagent.1 \
		sfskey.1 \
		ssu.1

MAN5=	\
		sfs_config.5 \
		sfs_srp_params.5 \
		sfs_users.5 \
		sfsauthd_config.5 \
		sfscd_config.5 \
		sfsrwsd_config.5 \
		sfssd_config.5

MAN7=	\
		sfs.7

MAN8=	\
		funmount.8 \
		sfsauthd.8 \
		sfscd.8 \
		sfsrwsd.8 \
		sfssd.8 \
		vidb.8

post-extract:
	@@${FIND} -E ${WRKDIR} -type f -iregex ".*\.(C|h)" -print0 | \
		${XARGS} -0 ${REINPLACE_CMD} -e 's/template get/get/'

	@@${REINPLACE_CMD} -e 's/authsess::\(authsess\)/\1/' \
		${WRKSRC}/agent/agent.h

	@@${REINPLACE_CMD} -e 's/\(u_int32_t val\)/\1 = 0/' \
		${WRKSRC}/arpc/xdrmisc.C

	@@${REINPLACE_CMD} -e 's/\(errorbuf = \)""/\1const_cast<char *> ("")/' \
		${WRKSRC}/async/parseopt.C

	@@${REINPLACE_CMD} -e 's/, \(&dummy_len\)/, (socklen_t *)\1/' \
		${WRKSRC}/rex/connect.c

	@@${REINPLACE_CMD} -e 's/, \(&reslen\)/, (socklen_t *)\1/' \
		${WRKSRC}/rex/listen.c

	@@${REINPLACE_CMD} -e 's/ptyclient::\(ptyclient\)/\1/' \
		${WRKSRC}/rex/ptyd.C

	@@${REINPLACE_CMD} -e 's/\("ptyd"\)/const_cast<char *> (\1)/' \
		${WRKSRC}/rex/rexd.C

	@@${REINPLACE_CMD} -e 's/, &sn/, (socklen_t *)\&sn/' \
		${WRKSRC}/rex/uasync.c

	@@${REINPLACE_CMD} -e \
		's/\(\\"" << cp->id << "\\"\)/const_cast<char *> (\1)/' \
		${WRKSRC}/rpcc/gencfile.C

	@@${REINPLACE_CMD} -e 's/= fhextra =/=/' ${WRKSRC}/sfscd/ctlnode.C

	@@${REINPLACE_CMD} -e 's/\("-c"\)/const_cast<char *> (\1)/' \
		${WRKSRC}/sfsmisc/agentmisc.C

	@@${REINPLACE_CMD} -e 's/\("localhost"\)/const_cast<char *> (\1)/' \
		${WRKSRC}/sfsrwsd/client.C

post-configure:
	@@${REINPLACE_CMD} -e 's/^\(NOPAGING =\).*$$/(\1)/' \
		${WRKSRC}/sfsrwcd/Makefile

pre-install:
	PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/sfsauthd/upgradedb.pl ${PREFIX}/lib/sfs-${PORTVERSION}/upgradedb.pl
	${MKDIR} ${PREFIX}/etc/sfs
	${INSTALL_DATA} ${FILESDIR}/etc-sfsrwsd_config.sample ${PREFIX}/etc/sfs/sfsrwsd_config.sample
	${MKDIR} ${PREFIX}/share/doc/sfs
	${INSTALL_DATA} ${FILESDIR}/share-doc-WELCOME ${PREFIX}/share/doc/sfs/WELCOME
	${INSTALL_DATA} ${FILESDIR}/share-doc-README ${PREFIX}/share/doc/sfs/README
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sfs/README.packageblurb
	${INSTALL_DATA} ${WRKSRC}/README.0.7-upgrade ${PREFIX}/share/doc/sfs/README.0.7-upgrade
	PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} POST-INSTALL

.include <bsd.port.post.mk>
@


1.36
log
@Switch to use newer GMP version.

PR:		ports/144487
Submitted by:	ale
Approved by:	portmgr (-exp run by erwin)
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.35
log
@Mark BROKEN on 8.x: does not build.
@
text
@d11 1
a11 1
PORTREVISION=	9
d33 1
a33 1
LIB_DEPENDS+=	gmp.8:${PORTSDIR}/math/libgmp4
@


1.34
log
@Chase libgmp and bump PORTREVISION.
@
text
@d39 2
@


1.33
log
@- Convert rc scripts to the new style.
- Bump PORTREVISION.

PR:		ports/116966
Submitted by:	Dave Grochowski <malus.x@@gmail.com> (maintainer)
Approved by:	stas (mentor, implicit)
@
text
@d11 1
a11 1
PORTREVISION=	8
d33 1
a33 1
LIB_DEPENDS+=	gmp.7:${PORTSDIR}/math/libgmp4
@


1.32
log
@Add sfsrwcd: clients cannot make connections without it.

Part of:	ports/116966
Submitted by:	maintainer, private email
Approved by:	portmgr (self)
@
text
@d11 1
a11 1
PORTREVISION=	7
d22 2
a69 2
	@@${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/sfscd.sh > ${WRKSRC}/sfscd.sh
	@@${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/sfssd.sh > ${WRKSRC}/sfssd.sh
a117 2
	${INSTALL_SCRIPT} ${WRKSRC}/sfscd.sh ${PREFIX}/etc/rc.d/sfscd.sh.sample
	${INSTALL_SCRIPT} ${WRKSRC}/sfssd.sh ${PREFIX}/etc/rc.d/sfssd.sh.sample
@


1.31
log
@- Fix pkg-plist

Submitted by:	pointyhat via linimon
Approved by:	portmgr (linimon)
@
text
@d11 1
a11 1
PORTREVISION=	6
d110 1
a110 1
	@@${REINPLACE_CMD} -e 's/^LIBTOOL =/#LIBTOOL =/' \
@


1.30
log
@- Add missing patch
- Fix whitspaces

Submitted by:	Dave Grochowski <malus.x@@gmail.com> (maintainer)
@
text
@d11 1
a11 1
PORTREVISION=	5
@


1.29
log
@Update port: security/sfs, fix build with gcc42

	The attached patch fixes security/sfs so it builds with
	gcc42. The only change I made that I am wary of is commenting
	out the LIBTOOL variable in ${WRKSRC}/sfsrwcd/Makefile.
	However, this seems to work fine on both 7.0-CURRENT and
	6.2-STABLE.

	In addition, I would not mind maintaining the port.

PR:		ports/116389
Submitted by:	Dave Grochowski <malus.x@@gmail.com>
@
text
@d31 1
a31 1
LIB_DEPENDS+=   gmp.7:${PORTSDIR}/math/libgmp4
@


1.28
log
@- Mark these unmaintained ports BROKEN on HEAD: do not compile with GCC 4.2
@
text
@d11 1
a11 1
PORTREVISION=	4
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
a38 4
.if ${OSVERSION} >= 700042
BROKEN=		Does not compile with GCC 4.2
.endif

d73 40
@


1.27
log
@- Remove FreeBSD 4.X support from unmaintained ports in categories starting
  with letter r-s
@
text
@d39 4
@


1.26
log
@Reset handler@@grendel.net at his request.

Hat:		portmgr
@
text
@d28 4
a31 1
		--disable-uvfs
a38 7
.if ${OSVERSION} > 500000
LIB_DEPENDS+=	gmp.7:${PORTSDIR}/math/libgmp4
CONFIGURE_ARGS+=--with-gmp=${LOCALBASE}
.else
CONFIGURE_ARGS+=--with-gmp=/usr
.endif

@


1.25
log
@Fix typo in previous commit.
@
text
@d15 1
a15 1
MAINTAINER=	handler@@grendel.net
@


1.24
log
@- Fix build on 64-bit machines.
- Mark IGNORE on !i386, due to a run-time issue.
- Use DATADIR macro in pkg-plist while here.

PR:		ports/99949
Submitted by:	shaun (me)
Approved by:	Maintainer timeout (19 days)
@
text
@d33 1
a33 1
IGNORE=		nfsmounter component fails execute correctly on ${ARCH} systems
@


1.23
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d33 1
a33 1
BROKEN=		"Does not compile on !i386"
@


1.22
log
@Chase gmp library and bump PORTREVISION.
@
text
@a22 1
USE_REINPLACE=	yes
@


1.21
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@d11 1
a11 1
PORTREVISION=	3
d38 1
a38 1
LIB_DEPENDS+=	gmp.6:${PORTSDIR}/math/libgmp4
@


1.20
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@d11 1
a11 1
PORTREVISION=	2
a23 1
USE_AUTOTOOLS=	libtool:13:inc
@


1.19
log
@Fix code so it is favored by both GCCs (2.x and 3.x), and unbreak the build.

Approved by:	fjoe (mentor, implicit)
		maintainer timeout
@
text
@d24 1
a24 1
USE_INC_LIBTOOL_VER=13
@


1.18
log
@BROKEN on 5.x: Does not compile

Approved by:    portmgr (self)
@
text
@d23 1
a37 4
.if ${OSVERSION} >= 502126
BROKEN=		"Does not compile on FreeBSD >= 5.x"
.endif

d76 2
@


1.17
log
@Apply a big libtool patch to allow porters to use the libtool installed by
the libtoolX ports instead of the one included with each port.  Ports that
set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of
the included version.  To restore previous behavior, use the new macro,
USE_INC_LIBTOOL_VER.  Both macros accept the same argument: a libtool version.

For example, to use the ports version of libtool-1.5, add the following to
your Makefile:

USE_LIBTOOL_VER=        15

To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:

USE_INC_LIBTOOL_VER=    15

With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).

PR:		63944
Based on work by:eik and marcus
Approved by:	ade (autotools maintainer)
Tested by:	kris on pointyhat
Bound to be hidden problems:	You bet
@
text
@d37 4
@


1.16
log
@BROKEN on !i386: Does not compile
@
text
@d23 1
a23 1
USE_LIBTOOL_VER=13
@


1.15
log
@Sync with new bsd.autotools.mk
@
text
@d33 4
@


1.14
log
@- Raise PORTREVISION for recent changes
@
text
@d23 1
a23 1
USE_LIBTOOL=	yes
@


1.13
log
@- Add patch for NFS headers and unbreak build
- Use UID/GID 171, 71 belongs to Oracle
- Use USE_LIBTOOL and remove .la files
- Use DOCSDIR macro in pkg-plist

PR:		ports/66933
Submitted by:	leeym
Approved by:	maintainer
@
text
@d11 1
a11 1
PORTREVISION=	1
@


1.12
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d23 1
a23 1

a32 4
.if ${OSVERSION} >= 500113
BROKEN=		"Does not compile on FreeBSD ${OSVERSION}"
.endif

d35 1
a35 1
CONFIGURE_ARGS+=--with-gmp=${PREFIX}
@


1.11
log
@Per bento logs, mark as broken on 5.x due to an install error.
Notified maintainer.
@
text
@d11 1
@


1.10
log
@Fix compile problems on -CURRENT.

PR:		 ports/57586
Submitted by:	 Edwin Groothuis <edwin@@mavetju.org>
Approved by:	 maintainer
@
text
@d32 4
@


1.9
log
@BROKEN on 5.x: does not compile
@
text
@a38 4
.if ${OSVERSION} > 501000
BROKEN=		Does not compile
.endif

@


1.8
log
@Fix info files.

PR:		ports/57251
Submitted by:	Dan Pelleg <daniel+gnats@@pelleg.org>
@
text
@d39 4
@


1.7
log
@Catch up with URL changes on MASTER_SITES, and in documentation.

PR:		 ports/56749
Submitted by:	 maintainer
Approved by:	 portmgr (lioux)
@
text
@d19 2
@


1.6
log
@De-pkg-comment.
@
text
@d12 1
a12 1
MASTER_SITES=	http://www.fs.net/sfs/@@new-york.lcs.mit.edu,u83s4uk49nt8rmp4uwmt2exvz6d3cavh/pub/sfswww/dist/
@


1.5
log
@Update to 0.7.2.

PR:		46148
Submitted by:	maintainer
@
text
@d15 1
@


1.4
log
@fix build with new bison

PR:		45900
Submitted by:	Miguel Mendez <flynn@@energyhq.homeip.net>
@
text
@d10 1
a10 2
PORTVERSION=	0.6
PORTREVISION=	2
d12 1
a12 1
MASTER_SITES=	http://www.fs.net/sfs/new-york.lcs.mit.edu:85xq6pznt4mgfvj4mb23x6b8adak55ue/pub/sfswww/dist/
d16 1
a16 1
.include <bsd.port.pre.mk>
a18 2
USE_OPENSSL=	yes
USE_BISON=	yes
a24 1
		--with-openssl=${OPENSSLBASE} \
d27 2
d37 2
d46 1
d48 1
d50 5
a54 4
		sfssd_config.5 \
		sfs_srp_params.5 \
		sfsauthd_config.5 \
		sfsrwsd_config.5
d57 1
d61 2
a62 1
		sfssd.8
d68 3
d72 1
d81 1
@


1.3
log
@Depend on new version of libgmp under -CURRENT.
@
text
@d11 1
a11 1
PORTREVISION=	1
d21 1
@


1.2
log
@- Update documentation.
- Sanitize install script.
- Bump PORTREVISION.

Submitted by:		MAINTAINER
@
text
@d31 1
a31 1
LIB_DEPENDS+=	gmp.5:${PORTSDIR}/math/libgmp4
@


1.1
log
@A secure global network file system. SFS names FSs by public keys

PR:		ports/40455
Submitted by:	Michael Handler <handler@@grendel.net>
@
text
@d2 1
a2 1
# Date created:				Thu Jul  4 2002
d11 1
a11 1
PORTREVISION=	0
d68 3
a70 2
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sfs/
	${INSTALL_DATA} ${FILESDIR}/share-doc-README.config ${PREFIX}/share/doc/sfs/README.config
@

