Created attachment 247666 [details] new port
Hi Pat, You set PORTVERSION incorrectly in your port submissions. PORTVERSION=20230805.1558 is not what it should be. This command: $ git describe --tags is what should be used. I use this script: > #!/bin/sh > > REPO=$1 > REV=$2 > > DIR=$(echo $1 | sed -e 's|.*/|| ; s|\.git$||') > > # For weird tags we can use the previous format: > # ex: git describe --tags --match 6.8.1-release origin/master > > ( > git clone $REPO && > (cd $DIR && git describe --tags $REV) && > rm -rf $DIR > )
Committed with minor alterations.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8099c6d33d7690d53b135eedab5043fb9589a1ea commit 8099c6d33d7690d53b135eedab5043fb9589a1ea Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-01-24 01:35:30 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-01-24 01:37:28 +0000 devel/rust-mode: New port: Emacs major-mode for editing Rust source code PR: 276340 Submitted by: Pat Maddox <pat@patmaddox.com> devel/Makefile | 1 + devel/rust-mode/Makefile (new) | 27 +++++++++++++++++++++++++++ devel/rust-mode/distinfo (new) | 3 +++ devel/rust-mode/pkg-descr (new) | 17 +++++++++++++++++ devel/rust-mode/pkg-plist (new) | 6 ++++++ 5 files changed, 54 insertions(+)
(In reply to Yuri Victorovich from comment #2) I set the version based on Melpa package version: https://melpa.org/#/rust-mode