1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 1.3.0

- Add LICENSE
- Implement regression-test target
This commit is contained in:
Emanuel Haupt 2011-10-15 08:33:06 +00:00
parent fcdb59b306
commit cc952036a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283556
3 changed files with 25 additions and 29 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= tthsum
PORTVERSION= 1.2.1
PORTVERSION= 1.3.0
CATEGORIES= security
MASTER_SITES= http://tthsum.devs.nu/pkg/ \
CRITICAL
@ -14,6 +14,8 @@ MASTER_SITES= http://tthsum.devs.nu/pkg/ \
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A command-line utility for generating and checking TTH message digests
LICENSE= GPLv3
USE_GMAKE= yes
MANCOMPRESSED= yes
@ -22,4 +24,7 @@ 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>

View File

@ -1,2 +1,2 @@
SHA256 (tthsum-1.2.1.tar.gz) = ad3497840c3f9941c3d175ac21b3718d0c88cc63eba59fd90f4d22de59870281
SIZE (tthsum-1.2.1.tar.gz) = 69475
SHA256 (tthsum-1.3.0.tar.gz) = e0da3ff5db794f31724c5ccdfc7a5ef99e30f9a43491f1f814bcac00acc5e8e2
SIZE (tthsum-1.3.0.tar.gz) = 79037

View File

@ -1,33 +1,24 @@
--- ./Makefile.orig 2009-12-29 22:24:48.000000000 +0100
+++ ./Makefile 2010-10-04 18:30:51.000000000 +0200
@@ -2,7 +2,7 @@
#
# Makefile for GNU Make.
-.PHONY: all clean dists install manual tthsum uninstall test runtest
+.PHONY: all clean dists install manual tthsum uninstall
#ifeq ($(ARCH),)
# ARCH = $(shell uname -m)
@@ -16,15 +16,13 @@
ifeq ($(DEBUG),)
CPPFLAGS += -DNDEBUG
- CFLAGS += -march=native -O3 #-fno-stack-protector
- LDFLAGS += -march=native -O3
else
CPPFLAGS += -DDEBUG
CFLAGS += -g #-pg
LDFLAGS += -g #-pg
--- ./Makefile.orig 2011-10-10 08:34:43.000000000 +0200
+++ ./Makefile 2011-10-15 10:22:58.000000000 +0200
@@ -11,16 +11,6 @@
MAN = $(DESTDIR)/usr/local/man
endif
-CC = gcc
+CC ?= gcc
-ifeq ($(DEBUG),)
- override CPPFLAGS += -DNDEBUG
- CFLAGS += -O3 #-fno-stack-protector #-march=native
- LDFLAGS += -O3 #-march=native
-else
- override CPPFLAGS += -DDEBUG
- CFLAGS += -g #-pg
- LDFLAGS += -g #-pg
-endif
-
CC ?= gcc
GZIP = gzip -9 -c
RM = rm -rf
@@ -46,9 +44,9 @@
TSTENTRY = $(BINS)/test.o
@@ -45,9 +35,9 @@
override CPPFLAGS += $(shell cat $(BINS)/autoconf.cppflags)
-all: tthsum manual test runtest