• golded 20260425

    From Tanausu M.@86:534/20.1 to All on Tue Jun 16 09:59:55 2026
    Hello All!

    I'm leaving it here, all cleaned up, with the necessary steps, so that it's recorded.

    Check the patches, and the .c one, they're not necessary; the code, after 9 years, has been updated.

    I'll leave the links.

    https://citlmbbs.synchro.net/img/0001-Update-news-golded-to-1.1.5.a20260425.patch


    I don't know if anyone who has more experience, apart from downloading ports, a little more...

    In bugzilla, maybe not:

    "To create a FreeBSD Bugzilla account, you need to email the maintainer of this Bugzilla installation at bugmeister@FreeBSD.org, providing a legitimate email address. You will receive an email at that address to confirm the creation of your account. You will not be able to log in until you receive the email. If it doesn't arrive within a reasonable amount of time, please try again.

    Unfortunately, it became necessary to disable the previous auto-account-creation method due to the rise of AI-generated spam.

    If you already have an account and want to change your email address, you can change it from the Preferences page after logging in.

    A user account is required to report new bugs or to comment on existing ones, as you may be contacted for more information if needed. This also lets other users clearly identify who is the author of comments or changes made into bugs. Note that your email address will never be displayed to logged out users. Only registered users will be able to see it."

    Do I have to create a freshports fork and put the patches there?


    Update:
    git clone --depth=1 https://git.freebsd.org/ports.git

    git pull

    git reset --hard origin/main
    git merge --ff-only origin/main

    Apply:
    patch -p1 -E < /usr/ports/0001-Update-news-golded-to-1.1.5.a20260425.patch

    cd /usr/ports/news/golded+
    make clean && make install

    ##################################
    Choose the latest version to put in the two necessary variables

    $ git ls-remote --tags https://github.com/golded-plus/golded-plus.git a127c80b40c609288d33ea40bb1c740bf986adc4 refs/tags/debian_release_1_1_4_7+1_1_5_20020906-1
    bf7f3c9b2f1a7f8ce80fb7cca07b12ab0bb4e893 refs/tags/golded-1.1.5-20180707 2a3e0861f96bcd633b8562d2f1440c5f97a380b0 refs/tags/golded-plus-1.1.5-20180707-1
    1a251c6375081453a410bb8d647be120b8902de3 refs/tags/golded-plus-1.1.5-20260425
    9ab4805a4f26240821991456ee786e299b897f7c refs/tags/release_1_1_4_4 fb0b5f464986655ae8a4ff2c33c36f89bc7e036a refs/tags/release_1_1_4_5 273c7029e9f6520036a8c0b3019bb9700713039a refs/tags/release_1_1_4_6 325b338365af33c8bb47c3b16bd255d1d1732c1a refs/tags/release_1_1_4_7 c451e3fb5049e53fa07eee4dc77ba17e253bec78 refs/tags/start

    GH_TAGNAME= golded-plus-1.1.5-20260425
    SNAPDATE= 20260425
    ##################################

    doas ee /usr/ports/news/golded+/Makefile

    PORTNAME= golded+
    PORTVERSION= 1.1.5.a${SNAPDATE}
    CATEGORIES= news mail

    MAINTAINER= ports@FreeBSD.org
    COMMENT= GoldEd+ (FTN message editor)
    WWW= https://github.com/golded-plus/golded-plus

    LICENSE= GPLv2 LGPL20
    LICENSE_COMB= multi

    USES= gmake ncurses
    USE_GITHUB= yes
    GH_ACCOUNT= golded-plus
    GH_PROJECT= golded-plus
    GH_TAGNAME= golded-plus-1.1.5-20260425

    SNAPDATE= 20260425

    DOCS= copying copying.lib license.txt notework.txt rusfaq.txt\
    tips.txt notework.rus
    PORTDOCS= ${DOCS} gold_ref.txt gold_usr.txt
    SUB_FILES= pkg-message

    OPTIONS_DEFINE= DOCS EXAMPLES

    DOCS_SUB_LIST= NOTEWORK="Please read the ${DOCSDIR}/notework.txt before using ${PORTNAME}"
    DOCS_SUB_LIST_OFF= NOTEWORK=""

    .include <bsd.port.options.mk>
    .if ${OPSYS} == FreeBSD
    CFLAGS+= -Dregister=
    .endif

    post-patch:
    @${SED}\
    -e 's,^\(#define __GVER_VENDOR_NAME__\).*,\1 "",'\
    -e 's,\(#define __GVER_VENDOR_FIDO__\).*,\1 "",'\
    -e 's,\(#define __GVER_VENDOR_EMAIL__\).*,\1 "${MAINTAINER}",'\
    -e 's,\(#define __GVER_RELEASENAME__\).*,\1 "Golded+ FreeBSD port",'\
    -e 's,\(#define __GVER_POSTVERSION__\).*,\1 "-${SNAPDATE}",'\
    <${WRKSRC}/golded3/mygolded.__h >${WRKSRC}/golded3/mygolded.h

    do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/gedlnx ${STAGEDIR}${PREFIX}/bin/golded
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/gnlnx ${STAGEDIR}${PREFIX}/bin/goldnode
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/rddtlnx ${STAGEDIR}${PREFIX}/bin/rddt
    ${INSTALL_MAN} ${WRKSRC}/docs/*.1 ${STAGEDIR}${PREFIX}/share/man/man1
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    .for i in charset colorset config template
    ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/$i
    ${FIND} ${WRKSRC}/cfgs/$i -maxdepth 1 -type f |\
    ${XARGS} -n 1 -J @ ${INSTALL_DATA} @ ${STAGEDIR}${EXAMPLESDIR}/$i
    .endfor

    do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/manuals/gold_ref.txt ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/manuals/gold_usr.txt ${STAGEDIR}${DOCSDIR} .for i in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/docs/$i ${STAGEDIR}${DOCSDIR}
    .endfor

    .include <bsd.port.mk>
    ##################################

    Test

    make makesum

    Remove old patches:
    rm /usr/ports/news/golded+/files/patch-*

    make clean
    make stage
    make stage-qa
    make package

    make clean && make stage && make stage-qa && make package

    portlint

    make install

    pkg info golded+-1.1.5.a20260425

    make deinstall

    Change USER, only for test:
    chown -R USER /usr/ports/news/golded+

    make package (as USER)
    ##################################

    Patch: Manual oficial de FreeBSD

    Delete work directory and package:
    make clean
    rm -rf work/

    Add files and check diff:
    cd /usr/ports

    git add news/golded+/
    git diff --staged

    Commit and generated patch:
    git commit -m "Update news/golded+ to 1.1.5.a20260425" --author="Tanausú M. <ervras@aim.com>"
    git format-patch origin/main

    Patch generated in /usr/ports/0001-Update-news-golded-to-1.1.5.a20260425.patch

    Apply: patch -p1 -E < /usr/ports/0001-Update-news-golded-to-1.1.5.a20260425.patch
    ##################################
    ##################################
    ##################################

    Tests:

    root@dpr:/usr/ports/news/golded+ # make install
    Installing for golded+-1.1.5.a20260425
    Checking if golded+ is already installed
    Registering installation for golded+-1.1.5.a20260425
    Installing golded+-1.1.5.a20260425...
    An example configuration files, templates and charset tables for golded+
    has been installed in /usr/local/share/examples/golded+.
    Please read the /usr/local/share/doc/golded+/notework.txt before using golded+
    NOTICE:

    The golded+ port currently does not have a maintainer. As a result, it is
    more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at:

    https://bugs.freebsd.org/bugzilla

    More information about port maintainership is available at:

    https://docs.freebsd.org/en/articles/contributing/#ports-contributing

    root@dpr:/usr/ports/news/golded+ # pkg info golded-plus
    pkg: No package(s) matching golded-plus
    root@dpr:/usr/ports/news/golded+ # pkg info golded+-1.1.5.a20260425 golded+-1.1.5.a20260425
    Name : golded+
    Version : 1.1.5.a20260425
    Installed on : Tue Jun 16 03:49:18 2026 WEST
    Origin : news/golded+
    Architecture : FreeBSD:15:amd64
    Prefix : /usr/local
    Categories : mail news
    Licenses : GPLv2, LGPL20
    Maintainer : ports@FreeBSD.org
    WWW : https://github.com/golded-plus/golded-plus
    Comment : GoldEd+ (FTN message editor)
    Options :
    DOCS : on
    EXAMPLES : on
    Shared Libs required:
    libc++.so.1
    libc.so.7
    libcxxrt.so.1
    libgcc_s.so.1
    libm.so.5
    libncursesw.so.9
    libtinfow.so.9
    Annotations :
    FreeBSD_version: 1500068
    Flat size : 5.01MiB
    Description :
    GoldED+ (FTN message editor)

    GoldED+ is a succesor of the well-known GoldED Fidonet Mail Reader.

    root@dpr:/usr/ports/news/golded+ # whereis golded
    golded: /usr/local/bin/golded /usr/local/share/man/man1/golded.1.gz root@dpr:/usr/ports/news/golded+ #

    lmd@dpr:/usr/ports/news/golded+ $ doas pkg install work/pkg/golded+-1.1.5.a20260425.pkg
    Password:
    Updating FreeBSD-ports repository catalogue...
    FreeBSD-ports repository is up to date.
    Updating FreeBSD-ports-kmods repository catalogue...
    FreeBSD-ports-kmods repository is up to date.
    All repositories are up to date.
    Checking integrity... done (0 conflicting)
    The following 1 package(s) will be affected (of 0 checked):

    New packages to be INSTALLED:
    golded+: 1.1.5.a20260425 [unknown-repository]

    Number of packages to be installed: 1

    The process will require 5 MiB more space.

    Proceed with this action? [y/N]:

    $ golded -C /home/lmd/fido/etc/golded.conf 2> 1.txt
    $ cat 1.txt
    GoldED+/BSD 1.1.5-20260425-b20260304
    Warning: configuration filename missed for -C option, ignored.
    Copyright (C) 1990-2005 Odinn Sorensen, Alexander Aganichev, Jacobo Tarrio,
    Stas Degteff and others -------------------------------------------------------------------------------

    Invocation: golded [-options] [keystacking]

    -C<configfile> Use a different configuration file.
    -D Disable old obsolete configuration keywords.
    -E=<echoid>
    -E<echoid> Start directly in the specified mail area.
    -EXPORTSOUP Export SOUP packets during startup.
    -F or -FF Force recompile of most (or all with -FF) configuration files. -H Command line help (this message).
    -INSTALL[=path] Start the quick install procedure. Look in path, if given. -IMPORTSOUP Import SOUP packets during startup.
    -M Mute sounds. Disables all noises in GoldED+.
    -N Disable share-compatible file opens during startup.
    -NOSCAN Temporarily disable area scan during startup.
    -P Increase/decrease program priority to run faster/slower.
    -Q Don't print information messages at config load time (Quiet mode).
    -S<sortspec> Sorts all mail areas according to the sort specs.
    -T<seconds> Set a timeout value. GoldED+ will auto-exit after timeout.
    -V or -VV Verbose or Very verbose (-VV) config compile. Use -VV to debug. -W Write a GOLDAREA.INC file with AREADEF's of all mail areas.
    -X Debug messages in status line.
    -Y Debug log: function calls trace.
    -Z<level> Debug log with level <level>, default is level 1.

    Any non-option parameter is stuffed into the keyboard buffer.


    ... One man's constant is another man's variable.
    --- CrashEdit 0.5.8 Linux
    * Origin: Citrick BBS citlmbbs.synchro.net (86:534/20.1)
  • From Tanausu M.@86:534/20.1 to All on Tue Jun 16 14:37:51 2026
    Hello All!

    I'm leaving it here, all cleaned up, with the necessary steps, so that it's recorded.

    Check the patches, and the .c one, they're not necessary; the code, after 9 years, has been updated.

    I'll leave the links.

    http://citlmbbs.synchro.net/img/0001-news-golded-update-to-1.1.5.a20260425.patch

    patch -p1 -E < /usr/ports/0001-news-golded-update-to-1.1.5.a20260425.patch

    I finally made a pull request, now all that's left is for it to accept, if they do... :D

    ... When everything is coming your way, you're in the wrong lane.
    --- CrashEdit 0.5.8 Linux
    * Origin: Citrick BBS citlmbbs.synchro.net (86:534/20.1)