Subj : Re: Making pkgs To : Javier Sturman From : Tanausu M. Date : Tue Jun 16 2026 03:07:26 Hello Javier! 16 Jun 26 03:58, you wrote to me: JS> Hello Tanausu! JS> 16 Jun 26 00:32, you wrote to me: TM>> post-patch: TM>> @${SED}\ TM>> -e 's,^\(#define __GVER_VENDOR_NAME__\).*,\1 "",'\ TM>> -e 's,\(#define __GVER_VENDOR_FIDO__\).*,\1 "",'\ TM>> -e 's,\(#define __GVER_VENDOR_EMAIL__\).*,\1 "${MAINTAINER}",'\ TM>> -e 's,\(#define __GVER_RELEASENAME__\).*,\1 "Golded+ FreeBSD port",'\ TM>> -e 's,\(#define __GVER_POSTVERSION__\).*,\1 "-b${SNAPDATE}",'\ TM>> <${WRKSRC}/golded3/mygolded.__h >${WRKSRC}/golded3/mygolded.h JS> Which Golded version are you compiling? TM>> I could take the existing Makefile and update it with GitHub, like I TM>> did yesterday with mine. But I have no idea how to officially update TM>> an existing port. JS> You should create a bug report in bugs.freebsd.org to that port and request to be a port maintainer, you can adopt an orphaned port. JS> More info on ports development. JS> https://docs.freebsd.org/en/books/porters-handbook/ TM>> Some diff will have to be submitted. TM>> ... When everything is coming your way, you're in the wrong lane. TM>> --- CrashEdit 0.5.8 Linux TM>> * Origin: Citrick BBS citlmbbs.synchro.net (86:534/20.1) JS> Javier I have it working now. https://citlmbbs.synchro.net/img/goldedbsd.png I have the patch here, but I haven't been registered on Bugzilla and I don't know if it's delivered all at once. https://citlmbbs.synchro.net/img/0001-Update-news-golded-to-1.1.5.a20260425.patch ################################## Next steps: ################################## git clone --depth=1 https://git.freebsd.org/ports.git git pull git reset --hard origin/main git merge --ff-only origin/main echo DEVELOPER=yes >> /etc/make.conf ################################## https://github.com/golded-plus/golded-plus git ls-remote --tags https://github.com/golded-plus/golded-plus.git $ 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 ..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 ################################## Test make makesum (pray to god) 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 (pray to god again) make install pkg info golded-plus 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. " git format-patch origin/main Patch generated in /usr/ports/0001-Update-news-golded-to-1.1.5.a20260425.patch ################################## .... The glass is neither half empty nor half full, it's twice as large as it needs to be. --- CrashEdit 0.5.8 Linux * Origin: Citrick BBS citlmbbs.synchro.net (86:534/20.1) .