From nobody Tue May 30 13:59:20 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QVvCF0nC0z4XYFh; Tue, 30 May 2023 13:59:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QVvCF07lDz4QS1; Tue, 30 May 2023 13:59:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685455161; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8tcrMMCxGcrCnlGWMRozaejZ++QQue+HGLBPLsIPtQI=; b=XkM5YRABc6On9hGt0QU8/nK1uilqPs9ZLooVQkjGIK9V0D//r5lCMAdwFkU1GMI6nIRPbb 6/VHviYtXUWue//FAKEOSbk3yVynwIvij257l/FMNDr/wg1T389ZQ0HkjT/YXKUkxj9oan xkZYWRTn98uKc31p68hGkYHB4JtjJHJQBhiVHOTfTB0r5AAtrj6M/hHdXdAfKNmB4VPazp I8JkBVkKk9dQuGaOcrtdE6fWOfC6Pq+XNvdi24Oyx8fkFyINegpoh33TkSJYVa//vJdK2L YBTgLNxwtAUw9l1wn7F/wXQ3iClJ8SU0G/1oBE9qEf2KUzQf70DzwGXZhXbDBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685455161; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8tcrMMCxGcrCnlGWMRozaejZ++QQue+HGLBPLsIPtQI=; b=sKCLObOkJ9S00y7z9pWxTCjEP556dM0C3k9IOfVgV1iAWM7Ehmw/I1ZSUOaO7WRPYqrIQ+ jLCsanyLJLU63bV5OL3HmZ4kuwNSpeR13S27Jn03Pb7YKG/jUb96jrv6wbeEFgjISR4IS4 JGcuC8p4iaqDK/I/xWjiiInT+pEkWfPJypmZykHrYMFpwyJkkUTIoHDQ3nktKqiAYWX5DF 4AR1dcO+3+N7W3si6f5hbzWG/ENOMgE3cIzu35tYj9yU6WjA08mkRBRvIxB5BUJ5I+tbDo AJJWIMTNNeFubghVVFS7L0f5OR4munHCSknKsrJKYiyp9HCr5OCDq5/JFpBw9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685455161; a=rsa-sha256; cv=none; b=ClGGYhfUUD/n860JmEEagbT+61/Xw2iKjeoFp7McZhFYdK/OUSDFJE3tleWgHSc5ErrZ6r H89TpUfHh+s9HdDVvd6rQmR8B+1KE32nK8Sdf2eWCabY26zej88KJNDsC7Ppuz1NEvKJtI 46oIAzwo9//j/47yulnJ+6hUZ+WhgZDPCiBO9qyO0OkkcmsB5WMdOHjMqhW+t7/5ERxJCE tC7vXQ4Ro5A2dxA3TWTd/xCBxanV5CVn86wUI85h08OEi86Y2KbARaR24L/IQyMpr8TOqc W8m8X6u8hnhqEdtH7+YNq1JxyYJJURiXRsBHmyA+kkKNkR1v37lsJiUrX7Rl/g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QVvCD6JWczwDw; Tue, 30 May 2023 13:59:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34UDxKHI000241; Tue, 30 May 2023 13:59:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34UDxKYb000240; Tue, 30 May 2023 13:59:20 GMT (envelope-from git) Date: Tue, 30 May 2023 13:59:20 GMT Message-Id: <202305301359.34UDxKYb000240@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Juraj Lutter Subject: git: 6f25b5a4e9ac - main - misc/trurl: Update to 0.7 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: otis X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6f25b5a4e9ace69e85390d02ae6587b72ebe9e15 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f25b5a4e9ace69e85390d02ae6587b72ebe9e15 commit 6f25b5a4e9ace69e85390d02ae6587b72ebe9e15 Author: Juraj Lutter AuthorDate: 2023-05-30 13:57:03 +0000 Commit: Juraj Lutter CommitDate: 2023-05-30 13:58:27 +0000 misc/trurl: Update to 0.7 - Update to 0.7 - Honor global CFLAGS and LDFLAGS - Introduce "test" target (based on [1]) PR: 270770 [1] --- misc/trurl/Makefile | 16 ++++++++++++---- misc/trurl/distinfo | 6 +++--- misc/trurl/files/patch-Makefile | 11 +++++++++++ 3 files changed, 26 insertions(+), 7 deletions(-) diff --git a/misc/trurl/Makefile b/misc/trurl/Makefile index 0159d2c61ace..47ad3cda8c80 100644 --- a/misc/trurl/Makefile +++ b/misc/trurl/Makefile @@ -1,6 +1,6 @@ PORTNAME= trurl DISTVERSIONPREFIX= ${PORTNAME}- -DISTVERSION= 0.6 +DISTVERSION= 0.7 CATEGORIES= misc www MAINTAINER= otis@FreeBSD.org @@ -11,16 +11,24 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} +USES= python:test USE_GITHUB= yes GH_ACCOUNT= curl -MAKE_ARGS= CFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-lcurl" \ + LDLIBS="-L${LOCALBASE}/lib" \ + MANDIR="${PREFIX}/man/man1" ALL_TARGET= ${PORTNAME} +TEST_TARGET= test PLIST_FILES= bin/trurl \ - share/man/man1/trurl.1.gz + man/man1/trurl.1.gz + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/trurl .include diff --git a/misc/trurl/distinfo b/misc/trurl/distinfo index cd53110eb60c..c6984dae7e7c 100644 --- a/misc/trurl/distinfo +++ b/misc/trurl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1682851129 -SHA256 (curl-trurl-trurl-0.6_GH0.tar.gz) = 4564dff7441d33a29aa02fe64bea7ef0809d9fabc1609ac5b50ca5503e81caa6 -SIZE (curl-trurl-trurl-0.6_GH0.tar.gz) = 30517 +TIMESTAMP = 1685349895 +SHA256 (curl-trurl-trurl-0.7_GH0.tar.gz) = 11616a4c3d255ff3347cb8fc65ea4f890526f327800ec556d78e88881e2cbfa7 +SIZE (curl-trurl-trurl-0.7_GH0.tar.gz) = 36624 diff --git a/misc/trurl/files/patch-Makefile b/misc/trurl/files/patch-Makefile new file mode 100644 index 000000000000..d39f001fab57 --- /dev/null +++ b/misc/trurl/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2023-05-29 09:11:15 UTC ++++ Makefile +@@ -1,7 +1,6 @@ + TARGET = trurl + OBJS = trurl.o +-LDLIBS = $$(curl-config --libs) +-CFLAGS = $$(curl-config --cflags) -W -Wall -Wshadow -Werror -pedantic -g ++CFLAGS+=-W -Wall -Wshadow -Werror -pedantic -g + MANUAL = trurl.1 + + PREFIX ?= /usr/local