From nobody Sat Feb 26 21:59:17 2022 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 7D88219E72C7; Sat, 26 Feb 2022 21:59:17 +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 4K5gXP35ZBz4vRr; Sat, 26 Feb 2022 21:59:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645912757; 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=D7j+4Obza7bx/76Nr+szagghlDdktOHDpBHb82z599A=; b=RhT2jkivl3ckEsZ7HtPU/UwYu5YW24cr+jGWyeqSZ4cFIqJkOGHGlQS9NB0AHpe849hY0X w9w2LzkkTpfo1IchdCglQBSO2V05nIw9ZJkTjIP9FVs/eBH2Ez21MvWvDIZS3yRk2asJcT t5bk9TKgR2izm9mIRT7QE1SFPlH+0I/5ZMu40ctFNHKkgNp2xhzhCHTLrCWMt5sRiF/5Pi mhm/yTmB3ShfetA90PaSmnXUuufIuMeuklY6G75ZRn2SDy0X+VswQ8dUqHURV6Tgrerp8r W6FvAN2zM6pmCO5qTTpv1lfK0//2Zjjk8VaP/4tqad2IlrjboqIvzwIGDk4o3A== 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 4A6701B725; Sat, 26 Feb 2022 21:59:17 +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 21QLxHTo023352; Sat, 26 Feb 2022 21:59:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21QLxHbP023351; Sat, 26 Feb 2022 21:59:17 GMT (envelope-from git) Date: Sat, 26 Feb 2022 21:59:17 GMT Message-Id: <202202262159.21QLxHbP023351@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kevin Bowling Subject: git: 6aae4e4be1ea - main - news/inn: Update to 2.6.5 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: kbowling X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6aae4e4be1ea0e83eae34abcd28fece739486ee2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645912757; 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=D7j+4Obza7bx/76Nr+szagghlDdktOHDpBHb82z599A=; b=ydEb1+1SY7HmQL57IYkO3zG4lRKLpQdC/bj2KdXilICzLK35ghCi2WHRl6AdQ3e8h+X9N1 cHrHKPc+1TrqxDnZRGP8wbkvruupC53TuPhBiWGwuNNH6Gwy9QLTWhnPPAO53p/HqA/PB5 +2tjKhvlZBxkw5KruV0/ZxDphxcKxlqyYiqi3Ew7cGBOrbm6mrFIWL5nq488GbVZPhVlni SXEEgDYrt6Mcjgckey+5vaz4K+SrNDVAwEivpEb0Qy4dnAocZTeEt1/5bqArD8GX7MDeyv 2wPCRLA9xD6jlY7M6hwsNVvqTZLFwSZmIoDKid5W4jrs2nh9p4VLi1RXq8SNSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645912757; a=rsa-sha256; cv=none; b=yRwY6vK2Kqi16Mmmcz2HOhRShhJzsGwhhtFPHRugZ8kFeRWj0KezDyFuCxpNl+7HRghpZY oJALXXISYz0HiRwbSKlrOreEcvVB1gZy3kCPV0lelf3QWpOCDEg78e6f0xNxTRdUW66hve rHqVUsN8zVYBCy0AcXzfKfpj9mu4FSTACjy+2IlVMWqRa9Ahyj1Ye6mBtkLIBYE3c1YcI3 m5vyXLxkngFsykzZ01Wtmuqj64VZQNZeT46+EM4tTOrhsuY/v37dWyUnA5VXCd5ZFxz8E0 d5dODV/FmF3c6C00Lu9Qq7YXEDUJESP4nTqaDxtOSQ8IF66DiWZMOGdaBsNoGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/ports/commit/?id=6aae4e4be1ea0e83eae34abcd28fece739486ee2 commit 6aae4e4be1ea0e83eae34abcd28fece739486ee2 Author: Kevin Bowling AuthorDate: 2022-02-26 21:58:49 +0000 Commit: Kevin Bowling CommitDate: 2022-02-26 21:58:49 +0000 news/inn: Update to 2.6.5 Changes: https://github.com/InterNetNews/inn/releases/tag/2.6.5 --- news/inn/Makefile | 8 +-- news/inn/distinfo | 6 +- .../files/extra-patch-storage_buffindexed_shmem.c | 71 ---------------------- news/inn/pkg-plist | 17 +++--- 4 files changed, 16 insertions(+), 86 deletions(-) diff --git a/news/inn/Makefile b/news/inn/Makefile index 3afd7e8a44d6..0a11ab1fb7d6 100644 --- a/news/inn/Makefile +++ b/news/inn/Makefile @@ -1,7 +1,7 @@ # Created by: torstenb PORTNAME?= inn -PORTVERSION?= 2.6.4 +PORTVERSION?= 2.6.5 PORTREVISION?= 0 CATEGORIES= news MASTER_SITES= ISC @@ -49,8 +49,6 @@ SQLITE_DESC= Enable SQLite (for ovsqlite overview method) PLIST_SUB+= SNAPSHOT="" .else -EXTRA_PATCHES= ${PATCHDIR}/extra-patch-storage_buffindexed_shmem.c - PLIST_SUB+= SNAPSHOT="@comment " .endif @@ -74,8 +72,8 @@ CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man \ UUCP_RNEWS_RUN_DEPENDS= uucp:net/freebsd-uucp -INNLIB_LONG?= 6.0.1 -LIBVER_LONG?= 3.0.4 +INNLIB_LONG?= 6.1.0 +LIBVER_LONG?= 3.0.5 PLIST_SUB+= LIBVER=${LIBVER_LONG:R:R} LIBVER_LONG=${LIBVER_LONG} \ INNLIB=${INNLIB_LONG:R:R} INNLIB_LONG=${INNLIB_LONG} diff --git a/news/inn/distinfo b/news/inn/distinfo index f4f8f5e82bfe..36751b4371c5 100644 --- a/news/inn/distinfo +++ b/news/inn/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1611943855 -SHA256 (inn-2.6.4.tar.gz) = f05e803e0b3772b235bfb11b688f1def3d422dbf30ccbbce973f7fe518ac7518 -SIZE (inn-2.6.4.tar.gz) = 2610659 +TIMESTAMP = 1645911831 +SHA256 (inn-2.6.5.tar.gz) = 34236cb34486e8083111821388670e02de5588ac24e819ca4468eafbb7b67598 +SIZE (inn-2.6.5.tar.gz) = 2646269 diff --git a/news/inn/files/extra-patch-storage_buffindexed_shmem.c b/news/inn/files/extra-patch-storage_buffindexed_shmem.c deleted file mode 100644 index 90dbe3312ff4..000000000000 --- a/news/inn/files/extra-patch-storage_buffindexed_shmem.c +++ /dev/null @@ -1,71 +0,0 @@ -The problem seems to be that unsupported permission bits are being given to semget(2) as in the following snippet (there are several such instances): - -storage/buffindexed/shmem.c: - - id = semget(kt, 2, IPC_CREAT|S_IRWXU|S_IRWXG|S_IRWXO); - -The semget(2) man page does not indicate that the usual file mode bits may be used. Instead, it allows: - - SEM_R Read access for user. - - SEM_A Alter access for user. - - (SEM_R>>3) Read access for group. - - (SEM_A>>3) Alter access for group. - - (SEM_R>>6) Read access for other. - - (SEM_A>>6) Alter access for other. - -The allowed bits correspond to read and write bits of the file mode constants. The execute bit is not among the defined bits for semget. - -The fix: do not set any permission bits except for the six allowed bits. - -Note that the documentation for linux semget differs, and seems to allow but ignore the execute bits. - -Patch attached with submission follows: - ---- storage/buffindexed/shmem.c.orig 2015-09-12 15:25:22.000000000 +0200 -+++ storage/buffindexed/shmem.c 2015-09-21 21:15:18.448425000 +0200 -@@ -26,7 +26,9 @@ - static int smcGetSemaphore(const char *name) - { - key_t kt = ftok( (char *)name, 0 ); -- int id = semget(kt, 0, S_IRWXU|S_IRWXG|S_IRWXO); -+ int perm = SEM_R | SEM_A | (SEM_R>>3) | (SEM_A>>3) | -+ (SEM_R>>6) | (SEM_A>>6); -+ int id = semget(kt, 0, perm); - - if (id < 0) { - syswarn("semget failed to get semaphore for %s", name); -@@ -37,15 +39,17 @@ static int smcGetSemaphore(const char *n - static int smcCreateSemaphore(const char *name) - { - key_t kt = ftok( (char *)name, 0 ); -- int id = semget(kt, 2, IPC_CREAT|S_IRWXU|S_IRWXG|S_IRWXO); -+ int perm = SEM_R | SEM_A | (SEM_R>>3) | (SEM_A>>3) | -+ (SEM_R>>6) | (SEM_A>>6); -+ int id = semget(kt, 2, IPC_CREAT|perm); - - if (id < 0) { - if (errno == EACCES || errno == EINVAL) { - /* looks like a wrong semaphore exists. remove it. */ -- id = semget(kt, 0, S_IRWXU|S_IRWXG|S_IRWXO); -+ id = semget(kt, 0, perm); - if (id < 0) { - /* couldn't even retrieve it. */ -- syswarn("cant get semaphore using %s", name); -+ syswarn("cant get semaphore using %s (key=%d)", name, kt); - return id; - } - /* try to remove it */ -@@ -65,7 +69,7 @@ static int smcCreateSemaphore(const char - } - #endif - /* and retry creating it */ -- id = semget(kt, 2, IPC_CREAT|S_IRWXU|S_IRWXG|S_IRWXO); -+ id = semget(kt, 2, IPC_CREAT|perm); - } - } - if (id < 0) diff --git a/news/inn/pkg-plist b/news/inn/pkg-plist index b19aa31dbc31..2cb6c03248a1 100644 --- a/news/inn/pkg-plist +++ b/news/inn/pkg-plist @@ -205,17 +205,17 @@ man/man1/simpleftp.1.gz man/man1/sm.1.gz man/man3/INN::Config.3pm.gz man/man3/INN::Utils::Shlock.3pm.gz -man/man3/clientlib.3.gz -man/man3/dbz.3.gz -man/man3/inndcomm.3.gz man/man3/libauth.3.gz man/man3/libinn.3.gz man/man3/libinnhist.3.gz +man/man3/libinn_clientlib.3.gz +man/man3/libinn_dbz.3.gz +man/man3/libinn_inndcomm.3.gz +man/man3/libinn_list.3.gz +man/man3/libinn_qio.3.gz +man/man3/libinn_tst.3.gz +man/man3/libinn_uwildmat.3.gz man/man3/libstorage.3.gz -man/man3/list.3.gz -man/man3/qio.3.gz -man/man3/tst.3.gz -man/man3/uwildmat.3.gz man/man5/active.5.gz man/man5/active.times.5.gz man/man5/buffindexed.conf.5.gz @@ -229,6 +229,7 @@ man/man5/incoming.conf.5.gz man/man5/inn-radius.conf.5.gz man/man5/inn.conf.5.gz man/man5/innfeed.conf.5.gz +man/man5/innreport.conf.5.gz man/man5/innwatch.ctl.5.gz man/man5/localgroups.5.gz man/man5/moderators.5.gz @@ -301,9 +302,11 @@ man/man8/radius.8.gz man/man8/rc.news.8.gz man/man8/scanlogs.8.gz man/man8/scanspool.8.gz +man/man8/send-ihave.8.gz man/man8/send-nntp.8.gz man/man8/send-uucp.8.gz man/man8/sendinpaths.8.gz +man/man8/sendxbatches.8.gz man/man8/tally.control.8.gz man/man8/tdx-util.8.gz man/man8/tinyleaf.8.gz