Created attachment 221027 [details] Sugested shar archive New port: net/gitup Minimalist, dependency-free program to clone/pull git repositories A minimalist, dependency-free FreeBSD program to clone/pull git repositories. Intended for non-developers, gitup synchronizes local copies of repositories without the additional overhead that the official git client requires. Because gitup neither uses nor updates the contents of .git directories, the official git client should not be used on repositories cloned or modified with gitup or vice versa. WWW: https://github.com/johnmehr/gitup --- I used net/svnup port as an example because they are similar programs (and from same author. I used a patch to help program to find is config file in /usr/local/etc that is hardcoded in gitup.c: - const char *configuration_file = "./gitup.conf"; + const char *configuration_file = "/usr/local/etc/gitup.conf"; Is there a better way to fix it like using an variable? Thanks, Nuno Teixeira
Created attachment 221043 [details] Sugested shar archive by Yasuhiro Kimura Me and Yasuhiro Kimura agreed I can take maintainership on this port, since we ported it at same time, but I was faster submiting than him :) I will use Yasuhiro port to improve what I've done: - use LIB_DEPENDS=libucl.so:textproc/libucl: (-L${LOCALBASE}/lib -lucl) instead of -lprivateucl (libprivateucl.so.1 => /usr/lib/libprivateucl.so.1) - use REINPLACE_CMD to fix gitup.conf path and gitup.1 manual. - add an advisory about this program is beta and to be carefull using it Thanks Yasuhiro
"dependency-free" means what? Should it be -lprivateucl (base) instead of textproc/libucl?
I can't see 0.87 available at https://github.com/johnmehr/gitup/releases and it also fails to download ===> License BSD2CLAUSE accepted by the user ===> gitup-0.87 depends on file: /usr/local/sbin/pkg - found => johnmehr-gitup-0.87_GH0.tar.gz doesn't seem to exist in /usr/home/garga/work/freebsd/ports/head/distfiles/. => Attempting to fetch https://codeload.github.com/johnmehr/gitup/tar.gz/0.87?dummy=/johnmehr-gitup-0.87_GH0.tar.gz fetch: https://codeload.github.com/johnmehr/gitup/tar.gz/0.87?dummy=/johnmehr-gitup-0.87_GH0.tar.gz: Not Found => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/johnmehr-gitup-0.87_GH0.tar.gz fetch: http://distcache.FreeBSD.org/ports-distfiles/johnmehr-gitup-0.87_GH0.tar.gz: Not Found => Couldn't fetch it - please try to retrieve this => port manually into /usr/home/garga/work/freebsd/ports/head/distfiles/ and try again.
ooops! Same error here!
it seems that 0.87 its not there anymore. But I still have: SHA256 (johnmehr-gitup-0.87_GH0.tar.gz) = 77c3f40053b61016324c558c334fe50a869dda88c4f1d3f4c89a40796af65917 Strange, isn'it?
Created attachment 221062 [details] Sugested shar archive by Yasuhiro Kimura (new distinfo) new distinfo, upstream new 0.87 tag https://github.com/johnmehr/gitup/issues/14
Created attachment 221082 [details] Sugested shar archive (without textproc/libucl lib dep) - use -libprivateucl from base and remove dependency on textproc/libucl. Jonh Mehr: "It should definitely use -libprivateucl (I don't have textproc/libucl installed and I did all development work using the base library)." I don't have anymore doubts about this port. Thanks
Could a commiter take a look?
(In reply to Nuno Teixeira from comment #2) Please ignore this question, I made some confusion and now I am crarified.
A commit references this bug: Author: garga Date: Tue Dec 29 12:53:21 UTC 2020 New revision: 559576 URL: https://svnweb.freebsd.org/changeset/ports/559576 Log: Add gitup 0.87, minimalist, dependency-free program to clone/pull git repositories. PR: 252220 Submitted by: ed.arrakis@gmail.com Sponsored by: Rubicon Communications, LLC (Netgate) Changes: head/net/Makefile head/net/gitup/ head/net/gitup/Makefile head/net/gitup/distinfo head/net/gitup/pkg-descr head/net/gitup/pkg-message head/net/gitup/pkg-plist