From owner-svn-ports-head@freebsd.org Sun Oct 20 12:10:53 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 442E415DA9F; Sun, 20 Oct 2019 12:10:53 +0000 (UTC) (envelope-from 0mp@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46wzBP15Gmz3C0l; Sun, 20 Oct 2019 12:10:53 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 090C6B803; Sun, 20 Oct 2019 12:10:53 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x9KCAqat083096; Sun, 20 Oct 2019 12:10:52 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x9KCAqYa083092; Sun, 20 Oct 2019 12:10:52 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <201910201210.x9KCAqYa083092@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Sun, 20 Oct 2019 12:10:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514890 - in head/www/quark: . files X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: in head/www/quark: . files X-SVN-Commit-Revision: 514890 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2019 12:10:53 -0000 Author: 0mp Date: Sun Oct 20 12:10:52 2019 New Revision: 514890 URL: https://svnweb.freebsd.org/changeset/ports/514890 Log: Update to the latest commit - Point MASTER_SITES to FreeBSD's servers as we seem to have to host the distfile on our own (I wasn't able to find a way to get a tarball from upstream servers). Also, add a "regenerate-distfile" target to ease the process of updating the distfile in the future. - Update MAKE_ARGS: setting CC there is no longer needed. - Remove config.mk patches: it is sufficient for the sake of the port to just remove the include statement from the Makefile. Changelog: https://git.suckless.org/quark/log.html Reported by: BieHDC Deleted: head/www/quark/files/ Modified: head/www/quark/Makefile head/www/quark/distinfo Modified: head/www/quark/Makefile ============================================================================== --- head/www/quark/Makefile Sun Oct 20 11:38:29 2019 (r514889) +++ head/www/quark/Makefile Sun Oct 20 12:10:52 2019 (r514890) @@ -1,11 +1,11 @@ # $FreeBSD$ PORTNAME= quark -DISTVERSION= g20180403 +DISTVERSION= g20190923 CATEGORIES= www -MASTER_SITES= https://git.suckless.org/quark/snapshot/ +MASTER_SITES= https://people.freebsd.org/~0mp/distfiles/ PKGNAMESUFFIX= -server -DISTNAME= quark-ba38b0969f542e6e7d3f01ba500189a81ca32355 +DISTNAME= ${PKGNAME} MAINTAINER= 0mp@FreeBSD.org COMMENT= Small and simple HTTP GET/HEAD-only web server for static content @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE CONFLICTS_INSTALL= quark -MAKE_ARGS= CC=${CC} MANPREFIX=${PREFIX}/man +MAKE_ARGS= MANPREFIX=${PREFIX}/man PLIST_FILES= bin/quark \ man/man1/quark.1.gz @@ -27,10 +27,15 @@ PLIST_FILES= bin/quark \ CFLAGS+= -D_WITH_DPRINTF .endif +COMMIT_HASH= 3c7049e9063edebbd1934178f263f9f3c9b8ddf5 + pre-everything:: @${ECHO_MSG} "You can build quark with your own config.h using the QUARK_CONF knob:" @${ECHO_MSG} "make QUARK_CONF=/path/to/quark/config.h install clean" +do-patch: + ${REINPLACE_CMD} -e '/^include config.mk$$/d' ${WRKSRC}/Makefile + post-patch: .if defined(QUARK_CONF) @${ECHO_MSG} "Creating config.h from ${QUARK_CONF}" @@ -39,5 +44,14 @@ post-patch: post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/quark + +regenerate-distfile: + ${RM} -r -- ${PKGNAME} + git clone -n https://git.suckless.org/quark ${PKGNAME} + git -C ${PKGNAME} checkout ${COMMIT_HASH} + ${RM} -r -- ${PKGNAME}/.git + ${TAR} -czf ${PKGNAME}.tar.gz ${PKGNAME} + scp ${PKGNAME}.tar.gz 0mp@freefall.freebsd.org:~/public_html/distfiles + ${RM} -r -- ${PKGNAME} ${PKGNAME}.tar.gz .include Modified: head/www/quark/distinfo ============================================================================== --- head/www/quark/distinfo Sun Oct 20 11:38:29 2019 (r514889) +++ head/www/quark/distinfo Sun Oct 20 12:10:52 2019 (r514890) @@ -1,3 +1,3 @@ -TIMESTAMP = 1525286635 -SHA256 (quark-ba38b0969f542e6e7d3f01ba500189a81ca32355.tar.gz) = 33764d0179cc803b99487a9eac67a0e46c555c394ede636f0868a37464a4251f -SIZE (quark-ba38b0969f542e6e7d3f01ba500189a81ca32355.tar.gz) = 13256 +TIMESTAMP = 1571571885 +SHA256 (quark-server-g20190923.tar.gz) = 3c50e52d8e6f8f939cd02e3a94368a22c3f723606b7c486bb30cec8f1dc09b5e +SIZE (quark-server-g20190923.tar.gz) = 14101