From owner-svn-ports-head@freebsd.org Tue Sep 22 14:30:43 2020 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 4B6793EACA7; Tue, 22 Sep 2020 14:30:43 +0000 (UTC) (envelope-from se@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BwkHl1JgDz45h6; Tue, 22 Sep 2020 14:30:43 +0000 (UTC) (envelope-from se@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 114DF2095D; Tue, 22 Sep 2020 14:30:43 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08MEUgI7057526; Tue, 22 Sep 2020 14:30:42 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08MEUgfK057522; Tue, 22 Sep 2020 14:30:42 GMT (envelope-from se@FreeBSD.org) Message-Id: <202009221430.08MEUgfK057522@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: =?UTF-8?Q?Stefan_E=c3=9fer?= Date: Tue, 22 Sep 2020 14:30:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549600 - in head/net/honeyd: . files X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: in head/net/honeyd: . files X-SVN-Commit-Revision: 549600 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.33 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: Tue, 22 Sep 2020 14:30:43 -0000 Author: se Date: Tue Sep 22 14:30:41 2020 New Revision: 549600 URL: https://svnweb.freebsd.org/changeset/ports/549600 Log: Fix build with -fno-common portlint complains that the patches have not been generated with makepatch and this caused some effort to generate the patches for this update. I'm leaving the legacy patches and the EXTRA_PATCH as-is to not cause unneccessary churn, but IMHO the patches should be regenerated with makepatch on occasion of the next major change to this port. Added: head/net/honeyd/files/patch-personality.h (contents, props changed) head/net/honeyd/files/patch-stats.h (contents, props changed) head/net/honeyd/files/patch-tagging.h (contents, props changed) Modified: head/net/honeyd/Makefile head/net/honeyd/files/patch-personality.c Modified: head/net/honeyd/Makefile ============================================================================== --- head/net/honeyd/Makefile Tue Sep 22 14:15:44 2020 (r549599) +++ head/net/honeyd/Makefile Tue Sep 22 14:30:41 2020 (r549600) @@ -3,7 +3,7 @@ PORTNAME= honeyd PORTVERSION= 1.5c -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= net MASTER_SITES= http://www.honeyd.org/uploads/ \ http://www.citi.umich.edu/u/provos/honeyd/ Modified: head/net/honeyd/files/patch-personality.c ============================================================================== --- head/net/honeyd/files/patch-personality.c Tue Sep 22 14:15:44 2020 (r549599) +++ head/net/honeyd/files/patch-personality.c Tue Sep 22 14:30:41 2020 (r549600) @@ -1,10 +1,13 @@ --- personality.c.orig Thu Apr 14 16:07:26 2005 +++ personality.c Thu Apr 14 12:57:11 2005 -@@ -64,6 +64,8 @@ +@@ -64,6 +64,11 @@ #include "xprobe_assoc.h" #include "template.h" +//#define DEBUG_XPROBE_STRUCT ++ ++personalities_t personalities; ++xp_fprints_t xp_fprints; + /* ET - Moved SPLAY_HEAD to personality.h so xprobe_assoc.c could use it. */ int npersons; Added: head/net/honeyd/files/patch-personality.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/honeyd/files/patch-personality.h Tue Sep 22 14:30:41 2020 (r549600) @@ -0,0 +1,22 @@ +--- personality.h.orig 2007-05-28 08:12:52.000000000 +0200 ++++ personality.h 2020-09-22 15:57:29.215618000 +0200 +@@ -179,7 +179,8 @@ + void print_perstree(void); + + /* Splay stuff here so other modules can use it */ +-SPLAY_HEAD(perstree, personality) personalities; ++typedef SPLAY_HEAD(perstree, personality) personalities_t; ++extern personalities_t personalities; + static int + perscompare(struct personality *a, struct personality *b) + { +@@ -187,7 +187,8 @@ + } + SPLAY_PROTOTYPE(perstree, personality, node, perscompare); + +-SPLAY_HEAD(xp_fprint_tree, xp_fingerprint) xp_fprints; ++typedef SPLAY_HEAD(xp_fprint_tree, xp_fingerprint) xp_fprints_t; ++extern xp_fprints_t xp_fprints; + static int + xp_fprint_compare(struct xp_fingerprint *a, struct xp_fingerprint *b) + { Added: head/net/honeyd/files/patch-stats.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/honeyd/files/patch-stats.h Tue Sep 22 14:30:41 2020 (r549600) @@ -0,0 +1,31 @@ +--- stats.h.orig 2007-05-28 06:12:52 UTC ++++ stats.h +@@ -89,10 +89,12 @@ struct stats { + reserved:4; + }; + +-enum { ++typedef enum { + M_COUNTER, M_TV_START, M_TV_END, M_RECORD, M_MAX +-} measurement_tags; ++} measurement_tags_t; + ++extern measurement_tags_t measurement_tags; ++ + struct measurement { + uint32_t counter; + struct timeval tv_start; +@@ -103,9 +105,11 @@ struct measurement { + #define SHA1_DIGESTSIZE 20 + #endif + +-enum { ++typedef enum { + SIG_NAME, SIG_DIGEST, SIG_DATA, SIG_COMPRESSED_DATA, SIG_MAX +-} signature_tags; ++} signature_tags_t; ++ ++extern signature_tags_t signature_tags; + + struct signature { + char *name; Added: head/net/honeyd/files/patch-tagging.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/honeyd/files/patch-tagging.h Tue Sep 22 14:30:41 2020 (r549600) @@ -0,0 +1,33 @@ +--- tagging.h.orig 2020-09-22 13:41:40 UTC ++++ tagging.h +@@ -44,12 +44,14 @@ struct hash { + u_char digest[SHINGLE_SIZE]; + }; + +-enum { ++typedef enum { + REC_TV_START, REC_TV_END, REC_SRC, REC_DST, REC_SRC_PORT, REC_DST_PORT, + REC_PROTO, REC_STATE, REC_OS_FP, REC_HASH, REC_BYTES, REC_FLAGS, + REC_MAX_TAGS +-} record_tags; ++} record_tags_t; + ++extern record_tags_t record_tags; ++ + #define RECORD_STATE_NEW 0x01 + + struct record { +@@ -69,9 +71,11 @@ struct record { + TAILQ_HEAD(hashq, hash) hashes; /* optional */ + }; + +-enum { ++typedef enum { + ADDR_TYPE, ADDR_BITS, ADDR_ADDR, ADDR_MAX_TAGS +-} address_tags; ++} address_tags_t; ++ ++extern address_tags_t address_tags; + + void record_marshal(struct evbuffer *, struct record *); +