From nobody Tue Mar 19 14:20:40 2024 X-Original-To: dev-commits-ports-main@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 4TzYm94Zzmz5FRQY; Tue, 19 Mar 2024 14:20:41 +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 4TzYm91jDdz47Bs; Tue, 19 Mar 2024 14:20:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710858041; 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=j1F7jQFRWLS4suGh76CRtNR3V+v9weeHVteQAJNpVas=; b=ODv5X5XwdpIgCDgWiHMW9+focKrNPO21a0Y17PbCw7nBCxzU6L/kjsTv0Qmk8h3DtDCQc2 axYTcyjaCY4eNCms5+ZkAhj+kqk8qx1puqFWoOJzNHibKIFS/aBi0YI3dwNIJ0Qv+dqTz8 1jpryKIh2RDf2VTj9OUfCvEAzKWPJxvDtrmo+B1pYA4aStvhUyLYdqRIQMuMietaa8Otqj W9ArLlyO0x0M2Ur7BHK35utXLF8d0YVBFIpm/T3R6FipYFWLantOieb9bWhw1PTXUvNYR8 WqjdPjag9mDpBK4jMGwWhqI0ZpqdPrVV5WBzueigtwr0A1bYGaFnxm6uLQ2uMg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710858041; a=rsa-sha256; cv=none; b=HzED82XaO7aJ3gXGn3PuVCd6+P/+KL4ffgXVaANvYGwseiLoS9fqqmXWflN9nJiLtNkzOJ Mg5t0Bd6noGJscW68pvTlnfjfhom2pGQepzOkKWIUcBhaJAu/iyhnCgWxYEQH3RM5Nv8Ff luITznyIt3A/Azj5lajp2Qu5pMyC92yDhtKzHBvlCZ6/pyQ4B+/pE24lIyYZpLPpuPZ8M7 HNCgUXMT5dZJVz+Ps6j68XtIKEMHXBE1nOVdvjKR76SNdyLmNrYbSoeoQWRXLU8ID2vd4e 2h76oP6SlsFphCaIKFHWQ1TdQs8WRBielhynp5fkNnVqOvcNfl3KhCNJP40Y2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710858041; 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=j1F7jQFRWLS4suGh76CRtNR3V+v9weeHVteQAJNpVas=; b=XGyzhEzES1Pzfhnhcn3AotdCZY421n5qnvy75JsMyfxYqXfmJfOQPwqBTgvkigqPh1kpvJ XmbOYz7xFeDC3W0aX5zYIjn891Gx2/2U57k74ioPuaa4lvccQXQHst6XKA8XhxQljemPcL mZVcWxDbfAKhK+2Ouqmy94r+EpFSJD9ulNyuvIozOYGYP6qcVmwIaaDZ42jeCQZbFP8vo8 Dze6MqjwPz/jmqGIrCsNl2sTeFOK+EmgyBuHetOt/GmmEG1yfx+ZFPXJuLqvEOjriZAUFN xulcgb80DwDoPKOTlhAyYTo088OVgqe+iGbaftCqpCahTn9rdGq+KzRrk9U7Bg== 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 4TzYm86QTMz197y; Tue, 19 Mar 2024 14:20:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42JEKeAu075938; Tue, 19 Mar 2024 14:20:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42JEKeQa075935; Tue, 19 Mar 2024 14:20:40 GMT (envelope-from git) Date: Tue, 19 Mar 2024 14:20:40 GMT Message-Id: <202403191420.42JEKeQa075935@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 499be1d04c11 - main - net/py-scamper: new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 499be1d04c11c07486e50b9befb72c624ad2e7e2 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=499be1d04c11c07486e50b9befb72c624ad2e7e2 commit 499be1d04c11c07486e50b9befb72c624ad2e7e2 Author: Matthew Luckie AuthorDate: 2024-03-19 07:27:34 +0000 Commit: Robert Clausecker CommitDate: 2024-03-19 14:18:52 +0000 net/py-scamper: new port This port has the Python bits of net/scamper. PR: 276395 --- net/Makefile | 1 + net/py-scamper/Makefile | 36 ++++++++++++++++++++++++++++++++++++ net/scamper/Makefile | 8 +++++++- 3 files changed, 44 insertions(+), 1 deletion(-) diff --git a/net/Makefile b/net/Makefile index 917319218cd1..eecb6478e8d6 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1142,6 +1142,7 @@ SUBDIR += py-s4cmd SUBDIR += py-saltyrtc.server SUBDIR += py-sbws + SUBDIR += py-scamper SUBDIR += py-shodan SUBDIR += py-siosocks SUBDIR += py-smart-open diff --git a/net/py-scamper/Makefile b/net/py-scamper/Makefile new file mode 100644 index 000000000000..5db5b752082f --- /dev/null +++ b/net/py-scamper/Makefile @@ -0,0 +1,36 @@ +PORTREVISION= 0 +CATEGORIES= net python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= mjl@luckie.org.nz +COMMENT= Python bindings for scamper + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libscamperfile.so:${MASTER_PORT} + +USES= python localbase:ldflags +USE_PYTHON= flavors +CONFIGURE_ARGS= --with-python + +PORTSCOUT= ignore:1 + +SLAVE_PORT= yes +MASTERDIR= ${.CURDIR}/../scamper + +PLIST= ${.CURDIR}/pkg-plist +BUILD_WRKSRC= ${WRKSRC}/lib/python +INSTALL_WRKSRC= ${BUILD_WRKSRC} + +PLIST_FILES= ${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/scamper.a \ + ${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/scamper.so + +post-patch: + @${REINPLACE_CMD} \ + -e 's/$$(scamper_la_DEPENDENCIES)//' \ + -e 's,../../scamper/libscamperfile.la,-lscamperfile,' \ + -e 's,../libscamperctrl/libscamperctrl.la,-lscamperctrl,' \ + ${BUILD_WRKSRC}/Makefile.in + +.include "${MASTERDIR}/Makefile" diff --git a/net/scamper/Makefile b/net/scamper/Makefile index d54fc8ac7094..3dea881da309 100644 --- a/net/scamper/Makefile +++ b/net/scamper/Makefile @@ -11,12 +11,16 @@ WWW= https://www.caida.org/tools/measurement/scamper/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake libtool ssl +USES+= gmake libtool ssl USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip +SLAVE_PORT?= no + +.if ${SLAVE_PORT} == no + OPTIONS_DEFINE= HOIHO UPTIME OPTIONS_SUB= yes @@ -31,4 +35,6 @@ HOIHO_CONFIGURE_WITH= pcre2 UPTIME_USES= localbase:ldflags sqlite:3 UPTIME_CONFIGURE_ENABLE= sc_uptime +.endif # ${SLAVE_PORT} == no + .include