head	1.15;
access;
symbols
	RELEASE_8_3_0:1.12
	RELEASE_9_0_0:1.11
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_6_EOL:1.10
	RELEASE_8_1_0:1.9
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.8
	RELEASE_6_4_0:1.8
	RELEASE_5_EOL:1.7
	RELEASE_7_0_0:1.6
	RELEASE_6_3_0:1.6
	PRE_XORG_7:1.6
	RELEASE_4_EOL:1.6
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5;
locks; strict;
comment	@# @;


1.15
date	2013.03.09.01.57.58;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2012.11.17.06.01.22;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2012.06.11.09.48.07;	author ehaupt;	state Exp;
branches;
next	1.12;

1.12
date	2012.01.06.10.26.24;	author ehaupt;	state Exp;
branches;
next	1.11;

1.11
date	2011.10.15.08.33.05;	author ehaupt;	state Exp;
branches;
next	1.10;

1.10
date	2010.10.04.16.44.54;	author ehaupt;	state Exp;
branches;
next	1.9;

1.9
date	2009.03.27.09.53.31;	author ehaupt;	state Exp;
branches;
next	1.8;

1.8
date	2008.07.25.12.48.42;	author pav;	state Exp;
branches;
next	1.7;

1.7
date	2008.03.27.19.27.30;	author ehaupt;	state Exp;
branches;
next	1.6;

1.6
date	2006.06.01.12.13.51;	author ehaupt;	state Exp;
branches;
next	1.5;

1.5
date	2006.02.19.11.39.11;	author ehaupt;	state Exp;
branches;
next	1.4;

1.4
date	2005.12.21.10.34.55;	author ehaupt;	state Exp;
branches;
next	1.3;

1.3
date	2005.10.06.11.57.07;	author ehaupt;	state Exp;
branches;
next	1.2;

1.2
date	2005.09.27.16.36.22;	author garga;	state Exp;
branches;
next	1.1;

1.1
date	2005.09.26.13.54.03;	author garga;	state Exp;
branches;
next	;


desc
@@


1.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313649
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Emanuel Haupt <ehaupt@@critical.ch>
# $FreeBSD: head/security/tthsum/Makefile 313649 2013-03-08 14:00:30Z ehaupt $

PORTNAME=	tthsum
PORTVERSION=	1.3.1
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://tthsum.devs.nu/pkg/ \
		CRITICAL

MAINTAINER=	ehaupt@@FreeBSD.org
COMMENT=	Command-line utility for generating and checking TTH message digests

LICENSE=	GPLv3

CONFLICTS=	microdc2-[0-9]*

USE_GMAKE=	yes
MANCOMPRESSED=	yes

MAKE_JOBS_SAFE=	yes

MAN1=		tthsum.1
PLIST_FILES=	bin/tthsum

regression-test: build
	@@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} test runtest

.include <bsd.port.mk>
@


1.14
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	tthsum
# Date created:				25 Sep 2005
# Whom:					Emanuel Haupt <ehaupt@@critical.ch>
#
# $FreeBSD: head/security/tthsum/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d12 1
a12 1
COMMENT=	A command-line utility for generating and checking TTH message digests
@


1.13
log
@Register CONFLICTS

Submitted by:	"Sulev-Madis 'ketas' Silber" <madis555@@hot.ee> (via mail)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.12
log
@Update to 1.3.1
@
text
@d10 1
d20 2
@


1.11
log
@- Update to 1.3.0
- Add LICENSE
- Implement regression-test target
@
text
@d9 1
a9 1
PORTVERSION=	1.3.0
@


1.10
log
@- Update to 1.2.1 [1]
- Update WWW

[1] Changelog:

tthsum-1.2.1 [2009-12-29] (wdoekes)
 * Minor code and build system cleanup.

tthsum-1.2.0 [2009-05-29] (wdoekes)
 * Changed -p output to print percentages instead of MiB counts.
 * Base32 decoding errors did not generate a valid error message. (Error code
   0 conflicted with SUCCESS.)
 * Fixed that ctrlesctostr accepted strange BASE36 escape sequences.
 * Made getopt for Windows more compatible with POSIX getopt.
 * Fixed that including the tthsum specific texts.c is optional.
 * Changed some header inclusions to be more compliant with C specs and made
   the source a bit more strict (ANSI C compatible, C++ compatible).
 * Added a test suite to detect stupid bugs at compile time. (Like the next
   bug.)
 * Endianness was not properly detected on various architectures (see debian
   bug 517619; thanks Alan Curry <pacman> for reporting).
 * Standardized UTF8 functions to behave as specified on Windows.
 * Corrected the need for a double EOF when reading from stdin.
 * Changed license from GPLv2 to GPLv3. Updated help texts (suggesting gmake
   on non-Linuxen, for instance).
 * Removed a bit of overhead on big endian platforms.
@
text
@d9 1
a9 1
PORTVERSION=	1.2.1
d17 2
d27 3
@


1.9
log
@Mark MAKE_JOBS_SAFE
@
text
@d9 1
a9 1
PORTVERSION=	1.1.0
d11 2
a12 1
MASTER_SITES=	CRITICAL
d18 2
d22 1
a22 3
MAKE_ENV=	LDFLAGS="${LDFLAGS}"

PORTDOCS=	Changelog.txt
a23 21
MAN1=		tthsum.1

post-patch:
	@@${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' \
		${WRKSRC}/Makefile
	@@${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,g' \
		${WRKSRC}/base32.c \
		${WRKSRC}/read.c \
		${WRKSRC}/utf8.c
	@@${REINPLACE_CMD} '/stdio.h/H; /stdio\.h/{ p; s/#include <stdio.h>/#define O_LARGEFILE 0/;}' \
		${WRKSRC}/read.c \
		${WRKSRC}/thex.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/obj-${ARCH}/${PORTNAME} ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
@


1.8
log
@- Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV
@
text
@d17 1
@


1.7
log
@Use MASTER_SITE_CRITICAL
@
text
@d18 1
a18 1
MAKE_ENV=	CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
@


1.6
log
@Add an additional mirror.
@
text
@d11 1
a11 4
MASTER_SITES=	http://critical.ch/distfiles/ \
		http://energy.critical.ch/distfiles/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	ehaupt
@


1.5
log
@Remove deprecated USE_REINPLACE
@
text
@d12 1
@


1.4
log
@Update master site

Notified by:	fenner mail
@
text
@a18 1
USE_REINPLACE=	yes
@


1.3
log
@Change MAINTAINER address for my ports.

Approved by:	novel (mentor)
@
text
@d11 3
a13 1
MASTER_SITES=	http://wza.digitalbrains.com/source/tthsum/
@


1.2
log
@- s/malloc.h/stdlib.h/ on some files to fix build on amd64 - 7.x [1]
- change some patches to REINPLACE_CMD [2]

PR:		ports/86638 [1]
Submitted by:	maintainer [1]
Reworked by:	me [2]
Approved by:	maintainer [2]
@
text
@d13 1
a13 1
MAINTAINER=	ehaupt@@critical.ch
@


1.1
log
@Add tthsum 1.1.0, a command-line utility for generating and checking TTH
message digests.

PR:		ports/86555
Submitted by:	Emanuel Haupt <ehaupt@@critical.ch>
@
text
@d28 7
@

