Search results

  1. T

    Shell Calling functions in a script

    Well, the reason I pointed it out is that I believe implicit dependencies should be uncovered and made explicit. It is fine if you are using bash but please be upfront about it when teaching others about shell scripting. Ignorance that /bin/sh on $insert_random_os_here might not have all of...
  2. T

    Shell Tool for shell script?

    Try devel/hs-ShellCheck for an editor independent linting tool. You can test it on https://www.shellcheck.net/ without having to install it.
  3. T

    How to rename a distfile

    Something like fetch https://github.com/bibendovsky/bstone/archive/v1.1.9.tar.gz?dummy=/bstone-1.1.9.tar.gz However this is not what you need to use here. Use USE_GITHUB [1] to fetch the file when using GitHub's archive function. Then you also get a sane filename automatically. [1]...
  4. T

    Other Problem with i3wm shortcuts

    See 208069. AFAIK there was an attempt at fixing this upstream but the author gave up due to unfamiliarity with Git and GitHub and nobody tried since.
  5. T

    Shell Calling functions in a script

    Careful. source is a bashism and not a valid keyword in sh on *BSD.
  6. T

    Colorize your bash like linux.

    This isn't possible with base ls. While it supports coloring via LSCOLORS [1] it cannot color files differently based on file extensions. GNU utilities support what you want so just install sysutils/coreutils.The utilities will all have a g prefix so it might be useful to also use alias ls="gls...
  7. T

    Letter counter hiding actual letters when replying

    Hmm, I just used "Block Element" and picked the counter. It hasn't come back yet. This is what appears under "My filters" in uBlock Origin's Dashboard: forums.freebsd.org##.fr-counter
  8. T

    Letter counter hiding actual letters when replying

    Yeah, it's very annoying. Is there even a reason to have the counter? I don't think it adds any valuable information. I've removed it with uBlock Origin for now. :)
  9. T

    Execution of special command for a chrooted user

    It's documented in detail in sshd and the handbook has a brief section on SSH key management too: https://www.freebsd.org/doc/handbook/openssh.html#security-ssh-keygen
  10. T

    Why does ls ignore command line argument order?

    Why does it matter? Anyway the explanation is in the man page:
  11. T

    [new ports] Lattice FPGA tools

    Hmm the indentation seems to be off in a few ports (tab width needs to be set to 8 in your editor) and I'm not sure about the metaports. Other than that it looks a lot better! Opening a review on Phabricator is a good next step. It's probably best to put them all in one review. See...
  12. T

    Xorg configuration for Nvidia Geforce gtx 1050 ti

    See https://forums.freebsd.org/threads/howto-setup-xorg-with-nvidias-driver.52311/
  13. T

    Solved Parole

    Can you read the mp4 with other players e.g. multimedia/mpv? When you run parole from a terminal do you see any error messages?
  14. T

    Execution of special command for a chrooted user

    I think all of this setup with a chroot etc is a bit overkill. If the user only connects via SSH then you could also create ~/.ssh/authorized_keys to restrict the user to only being able to run /sbin/shutdown -p now restrict,command="/sbin/shutdown -p now" $public_key Simply connecting to the...
  15. T

    Synth: Introducing new custom package repository builder for FreeBSD and DragonFly

    There is a very brief Changelog here: https://github.com/jrmarino/synth/releases/tag/v2.05 You can also always use GitHub's compare function: https://github.com/jrmarino/synth/compare/v2.04...v2.05
  16. T

    grep and manpages

    Strip the escape sequences first: man rc.conf | col -b | grep -A2 -B2 kld_list What are you trying to do?
  17. T

    libgcc_s.so in libmemcached

    FreeBSD has its own libgcc_s.so and it's not GPL-licensed, so there is nothing to do. Just build databases/libmemcached and you're done.
  18. T

    Solved packaging Rust programs

    It's now documented in the Porter's Handbook: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/building.html#using-cargo
  19. T

    FreeBSD 12.0-current kde5

    r331001 is too old. You need to upgrade. The packages on https://pkg.FreeBSD.org are currently built for FreeBSD version 1200063 which is >= r333446. Please read https://forums.freebsd.org/threads/topics-about-unsupported-freebsd-versions.40469/ because I'm not sure you understand what the...
  20. T

    Solved lang/spidermonkey52 and firefox-52.8.0esr

    Spidermonkey is just contained in Firefox sources. lang/spidermonkey52 won't build the entirety of Firefox 52.8.
Back
Top