head	1.3;
access;
symbols
	netbsd-11-0-RC4:1.3
	netbsd-11-0-RC3:1.3
	netbsd-11-0-RC2:1.3
	netbsd-11-0-RC1:1.3
	perseant-exfatfs-base-20250801:1.3
	netbsd-11:1.3.0.4
	netbsd-11-base:1.3
	netbsd-10-1-RELEASE:1.2.10.1
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.2
	perseant-exfatfs-base:1.3
	netbsd-8-3-RELEASE:1.1
	netbsd-9-4-RELEASE:1.2
	netbsd-10-0-RELEASE:1.2.10.1
	netbsd-10-0-RC6:1.2.10.1
	netbsd-10-0-RC5:1.2.10.1
	netbsd-10-0-RC4:1.2.10.1
	netbsd-10-0-RC3:1.2.10.1
	netbsd-10-0-RC2:1.2.10.1
	netbsd-10-0-RC1:1.2.10.1
	netbsd-10:1.2.0.10
	netbsd-10-base:1.2
	netbsd-9-3-RELEASE:1.2
	cjep_sun2x-base1:1.2
	cjep_sun2x:1.2.0.8
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	netbsd-9-2-RELEASE:1.2
	cjep_staticlib_x:1.2.0.6
	cjep_staticlib_x-base:1.2
	netbsd-9-1-RELEASE:1.2
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	is-mlppp:1.2.0.4
	is-mlppp-base:1.2
	phil-wifi-20200406:1.2
	netbsd-8-2-RELEASE:1.1
	netbsd-9-0-RELEASE:1.2
	netbsd-9-0-RC2:1.2
	netbsd-9-0-RC1:1.2
	phil-wifi-20191119:1.2
	netbsd-9:1.2.0.2
	netbsd-9-base:1.2
	phil-wifi-20190609:1.2
	netbsd-8-1-RELEASE:1.1
	netbsd-8-1-RC1:1.1
	pgoyette-compat-merge-20190127:1.1.42.1
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.1
	pgoyette-compat-1126:1.1
	pgoyette-compat-1020:1.1
	pgoyette-compat-0930:1.1
	pgoyette-compat-0906:1.1
	netbsd-7-2-RELEASE:1.1
	pgoyette-compat-0728:1.1
	netbsd-8-0-RELEASE:1.1
	phil-wifi:1.1.0.44
	phil-wifi-base:1.1
	pgoyette-compat-0625:1.1
	netbsd-8-0-RC2:1.1
	pgoyette-compat-0521:1.1
	pgoyette-compat-0502:1.1
	pgoyette-compat-0422:1.1
	netbsd-8-0-RC1:1.1
	pgoyette-compat-0415:1.1
	pgoyette-compat-0407:1.1
	pgoyette-compat-0330:1.1
	pgoyette-compat-0322:1.1
	pgoyette-compat-0315:1.1
	netbsd-7-1-2-RELEASE:1.1
	pgoyette-compat:1.1.0.42
	pgoyette-compat-base:1.1
	netbsd-7-1-1-RELEASE:1.1
	matt-nb8-mediatek:1.1.0.40
	matt-nb8-mediatek-base:1.1
	perseant-stdc-iso10646:1.1.0.38
	perseant-stdc-iso10646-base:1.1
	netbsd-8:1.1.0.36
	netbsd-8-base:1.1
	prg-localcount2-base3:1.1
	prg-localcount2-base2:1.1
	prg-localcount2-base1:1.1
	prg-localcount2:1.1.0.34
	prg-localcount2-base:1.1
	pgoyette-localcount-20170426:1.1
	bouyer-socketcan-base1:1.1
	pgoyette-localcount-20170320:1.1
	netbsd-7-1:1.1.0.32
	netbsd-7-1-RELEASE:1.1
	netbsd-7-1-RC2:1.1
	netbsd-7-nhusb-base-20170116:1.1
	bouyer-socketcan:1.1.0.30
	bouyer-socketcan-base:1.1
	pgoyette-localcount-20170107:1.1
	netbsd-7-1-RC1:1.1
	pgoyette-localcount-20161104:1.1
	netbsd-7-0-2-RELEASE:1.1
	localcount-20160914:1.1
	netbsd-7-nhusb:1.1.0.28
	netbsd-7-nhusb-base:1.1
	pgoyette-localcount-20160806:1.1
	pgoyette-localcount-20160726:1.1
	pgoyette-localcount:1.1.0.26
	pgoyette-localcount-base:1.1
	netbsd-7-0-1-RELEASE:1.1
	netbsd-7-0:1.1.0.24
	netbsd-7-0-RELEASE:1.1
	netbsd-7-0-RC3:1.1
	netbsd-7-0-RC2:1.1
	netbsd-7-0-RC1:1.1
	netbsd-6-0-6-RELEASE:1.1
	netbsd-6-1-5-RELEASE:1.1
	netbsd-7:1.1.0.22
	netbsd-7-base:1.1
	yamt-pagecache-base9:1.1
	yamt-pagecache-tag8:1.1.4.2
	netbsd-6-1-4-RELEASE:1.1
	netbsd-6-0-5-RELEASE:1.1
	tls-earlyentropy:1.1.0.20
	tls-earlyentropy-base:1.1
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1
	riastradh-drm2-base3:1.1
	netbsd-6-1-3-RELEASE:1.1
	netbsd-6-0-4-RELEASE:1.1
	netbsd-6-1-2-RELEASE:1.1
	netbsd-6-0-3-RELEASE:1.1
	netbsd-6-1-1-RELEASE:1.1
	riastradh-drm2-base2:1.1
	riastradh-drm2-base1:1.1
	riastradh-drm2:1.1.0.12
	riastradh-drm2-base:1.1
	netbsd-6-1:1.1.0.18
	netbsd-6-0-2-RELEASE:1.1
	netbsd-6-1-RELEASE:1.1
	khorben-n900:1.1.0.16
	netbsd-6-1-RC4:1.1
	netbsd-6-1-RC3:1.1
	agc-symver:1.1.0.14
	agc-symver-base:1.1
	netbsd-6-1-RC2:1.1
	netbsd-6-1-RC1:1.1
	yamt-pagecache-base8:1.1
	netbsd-6-0-1-RELEASE:1.1
	yamt-pagecache-base7:1.1
	matt-nb6-plus-nbase:1.1
	yamt-pagecache-base6:1.1
	netbsd-6-0:1.1.0.10
	netbsd-6-0-RELEASE:1.1
	netbsd-6-0-RC2:1.1
	tls-maxphys:1.1.0.8
	tls-maxphys-base:1.1
	matt-nb6-plus:1.1.0.6
	matt-nb6-plus-base:1.1
	netbsd-6-0-RC1:1.1
	yamt-pagecache-base5:1.1
	yamt-pagecache:1.1.0.4
	yamt-pagecache-base4:1.1
	netbsd-6:1.1.0.2
	netbsd-6-base:1.1;
locks; strict;
comment	@# @;


1.3
date	2023.08.10.06.56.12;	author riastradh;	state Exp;
branches;
next	1.2;
commitid	tBk97x65VxwMXcAE;

1.2
date	2019.01.07.15.18.03;	author christos;	state Exp;
branches
	1.2.10.1;
next	1.1;
commitid	ni32G5ucgBSWBR6B;

1.1
date	2012.01.28.02.15.26;	author christos;	state Exp;
branches
	1.1.4.1
	1.1.42.1
	1.1.44.1;
next	;

1.2.10.1
date	2023.08.11.15.07.06;	author martin;	state Exp;
branches;
next	;
commitid	eottRgYqhh5dEnAE;

1.1.4.1
date	2012.01.28.02.15.26;	author yamt;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2012.04.17.00.01.58;	author yamt;	state Exp;
branches;
next	;

1.1.42.1
date	2019.01.18.08.48.27;	author pgoyette;	state Exp;
branches;
next	;
commitid	Lmlzg3OVT2cd6f8B;

1.1.44.1
date	2019.06.10.21.42.09;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;


desc
@@


1.3
log
@trousers: Make this build again.

- Downgrade address-of-packed-member errors to warnings.  Not sure if
  this is safe, but there's too many to audit.

- Silence deprecation warnings for openssl3.

- Address removal of const qualifier in iconv.

- Nix unused definitions in a .h file, which cause trouble now that
  -fno-common is the default.
@
text
@# $NetBSD: Makefile,v 1.2 2019/01/07 15:18:03 christos Exp $
.include "../Makefile.inc"

.PATH.c: ${DIST}/src/tcsd

CPPFLAGS+=-DAPPID=\"TCSD\" -DVAR_PREFIX=\"/var\"  -DETC_PREFIX=\"/etc\"
CPPFLAGS+=-DTSS_BUILD_PS -DTSS_BUILD_PCR_EVENTS

COPTS.tcsd_threads.c+=	${CC_WNO_ADDRESS_OF_PACKED_MEMBER}

BINDIR=/usr/sbin
PROG=tcsd
SRCS=\
platform.c \
svrside.c \
tcsd_conf.c \
tcsd_threads.c 

LIBTCSOBJDIR!=	cd ${.CURDIR}/../../lib/libtcs && ${PRINTOBJDIR}

DPADD+=${LIBTDDL} ${LIBCRYPTO} ${LIBPTHREAD}
LDADD+=-L${LIBTCSOBJDIR} -ltcs -ltddl -lcrypto -lpthread

.SUFFIXES: .in
.PATH.in: ${DIST}/man/man5 ${DIST}/man/man8

MAN+=tcsd.conf.5 tcsd.8
CLEANFILES+= tcsd.conf.5 tcsd.8

__mansed: .USE
	@@${TOOL_SED} -e s/@@PACKAGE_BUGREPORT@@/gnats-bugs@@NetBSD.org/g \
		-e s/@@TCSD_DEFAULT_PORT@@/30003/g ${.ALLSRC} > ${.TARGET}

tcsd.8: tcsd.8.in __mansed
tcsd.conf.5: tcsd.conf.5.in __mansed

.include <bsd.prog.mk>
@


1.2
log
@merge conflicts
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2012/01/28 02:15:26 christos Exp $
d9 2
@


1.2.10.1
log
@Pull up following revision(s) (requested by riastradh in ticket #323):

	crypto/external/cpl/trousers/dist/src/include/tcsd.h: revision 1.4
	crypto/external/cpl/trousers/lib/libtcs/Makefile: revision 1.2
	crypto/external/cpl/trousers/dist/src/include/trousers_types.h: revision 1.4
	crypto/external/cpl/trousers/bin/tcsd/Makefile: revision 1.3
	crypto/external/cpl/trousers/lib/libtspi/Makefile: revision 1.4
	(all via patch)

trousers: Make this build again.
- Downgrade address-of-packed-member errors to warnings.  Not sure if
  this is safe, but there's too many to audit.
- Silence deprecation warnings for openssl3.
- Address removal of const qualifier in iconv.
- Nix unused definitions in a .h file, which cause trouble now that
  -fno-common is the default.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2019/01/07 15:18:03 christos Exp $
a8 2
COPTS.tcsd_threads.c+=	${NO_ADDR_OF_PACKED_MEMBER}

@


1.1
log
@add build glue
@
text
@d1 1
a1 1
# $NetBSD$
d22 2
a23 3
.SUFFIXES: .5 .8
.PATH.5: ${DIST}/man/man5
.PATH.8: ${DIST}/man/man8
d26 8
@


1.1.44.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2019/01/07 15:18:03 christos Exp $
d22 3
a24 2
.SUFFIXES: .in
.PATH.in: ${DIST}/man/man5 ${DIST}/man/man8
a26 8
CLEANFILES+= tcsd.conf.5 tcsd.8

__mansed: .USE
	@@${TOOL_SED} -e s/@@PACKAGE_BUGREPORT@@/gnats-bugs@@NetBSD.org/g \
		-e s/@@TCSD_DEFAULT_PORT@@/30003/g ${.ALLSRC} > ${.TARGET}

tcsd.8: tcsd.8.in __mansed
tcsd.conf.5: tcsd.conf.5.in __mansed
@


1.1.42.1
log
@Synch with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2012/01/28 02:15:26 christos Exp $
d22 3
a24 2
.SUFFIXES: .in
.PATH.in: ${DIST}/man/man5 ${DIST}/man/man8
a26 8
CLEANFILES+= tcsd.conf.5 tcsd.8

__mansed: .USE
	@@${TOOL_SED} -e s/@@PACKAGE_BUGREPORT@@/gnats-bugs@@NetBSD.org/g \
		-e s/@@TCSD_DEFAULT_PORT@@/30003/g ${.ALLSRC} > ${.TARGET}

tcsd.8: tcsd.8.in __mansed
tcsd.conf.5: tcsd.conf.5.in __mansed
@


1.1.4.1
log
@file Makefile was added on branch yamt-pagecache on 2012-04-17 00:01:58 +0000
@
text
@d1 28
@


1.1.4.2
log
@sync with head
@
text
@a0 28
# $NetBSD$
.include "../Makefile.inc"

.PATH.c: ${DIST}/src/tcsd

CPPFLAGS+=-DAPPID=\"TCSD\" -DVAR_PREFIX=\"/var\"  -DETC_PREFIX=\"/etc\"
CPPFLAGS+=-DTSS_BUILD_PS -DTSS_BUILD_PCR_EVENTS

BINDIR=/usr/sbin
PROG=tcsd
SRCS=\
platform.c \
svrside.c \
tcsd_conf.c \
tcsd_threads.c 

LIBTCSOBJDIR!=	cd ${.CURDIR}/../../lib/libtcs && ${PRINTOBJDIR}

DPADD+=${LIBTDDL} ${LIBCRYPTO} ${LIBPTHREAD}
LDADD+=-L${LIBTCSOBJDIR} -ltcs -ltddl -lcrypto -lpthread

.SUFFIXES: .5 .8
.PATH.5: ${DIST}/man/man5
.PATH.8: ${DIST}/man/man8

MAN+=tcsd.conf.5 tcsd.8

.include <bsd.prog.mk>
@


