Search results

  1. T

    python27: problem at packaging stage

    This is not a solution. While it builds the port is not in a usable state afterwards. The lines are there to prevent it from picking up base OpenSSL headers. You can't even import basic things if it's compiled without them: Python 2.7.14 (default, Apr 30 2018, 12:19:27) [GCC 4.2.1 Compatible...
  2. T

    raspberry pi 2 wi-fi interface missing even module should be in the kernel

    I didn't know the RPI2 had a wireless option? The BCM2836 is the Pi's SoC not its wireless card. Generally wireless interfaces will first appear in sysctl net.wlan.devices on FreeBSD 11.0 and up. They'll only appear in ifconfig when you create wlan0,wlan1,...,wlanN interfaces as described in...
  3. T

    Solved suitesparse - portmaster

    There already is one: 227791
  4. T

    python27: problem at packaging stage

    Yes, it's a major update to LibreSSL that is not ABI compatible with the old version. You must rebuild everything that links with LibreSSL. There is no way around this. Synth or Poudriere do this automatically. Also see the /usr/ports/UPDATING entry for this: 20180428: AFFECTS: users of...
  5. T

    devd guide

    In /etc/devd.conf there is this normally, so it sort of does unless you changed things. options { # Each "directory" directive adds a directory to the list of # directories that we scan for files. Files are loaded in the order # that they are returned from readdir(3)...
  6. T

    Network traffic measurement

    systat -ifstat -match $interface netstat -I $interface if you need something non-interactive.
  7. T

    [new ports] Lattice FPGA tools

    Here's some general feedback about all of the PRs after a quick look at them. Make USES+= => USES= (always ask yourself what am I appending too? If you append to an empty variable then do not use +=) Try to add LICENSE_FILE to the ports if there is a dedicated file (e.g. LICENSE, COPYING, ...)...
  8. T

    Solved isc-dhcp44-server port lacking --enable-use-sockets configure option

    Submit a request on https://bugs.freebsd.org to add it to the port. Maybe you can even come up with a patch that adds a new port option for this. Other than that create /usr/ports/net/isc-dhcp44-server/Makefile.local (which as the name implies is local to your machine only and will not be...
  9. T

    FreeBSD Screen Shots

    While smoke testing Palemoon 27.9.0's sndio backend
  10. T

    What is your favorite text editor?

    I recently added editors/kakoune to the ports tree. It's a nice little editor that improves on vim's modal model. It has been in development for 5 years now and they just had their first release. Kakoune has a focus on selections and interactivity and you'll generally see ahead of time what...
  11. T

    Solved Methodically upgrade a port

    If you have a repo with the necessary patches applied (if not apply the existing patches to the repo one by one via patch -V none -E -i /path/to/patchfile and see what doesn't apply anymore and fix it on the go; do a commit for every applied patch; if upstream doesn't have a repo you can...
  12. T

    Solved vt console change colors theme

    Sorry for not stating this explicitly before: The loader.conf method won't work on 11.1-RELEASE or earlier. You need a recent FreeBSD 11-STABLE (or 11.2-RELEASE when it's out) or CURRENT.
  13. T

    Solved vt console change colors theme

    Here are like 191 color themes for vt. Screenshots
  14. T

    Solved pkg and "options changed"

    Build your own package repository, point pkg to it, and install mailman once via pkg install -r yourrepo -f mailman. EDIT: Here's the long answer. You can use Synth or Poudriere to create the repository but you don't have to. Create /usr/local/etc/pkg/repos/local.conf local: { url...
  15. T

    Solved vt console change colors theme

    Since rS327444 it's now possible to specify colors in /boot/loader.conf directly, so this has become a lot easier to do. :) My Zenburn-like theme from above: # black kern.vt.color.0.rgb="#3a3a3a" # dark red kern.vt.color.1.rgb="#e89393" # dark green kern.vt.color.2.rgb="#688060" # dark yellow...
  16. T

    C Switch active console programmatically

    You can do that with vidcontrol: vidcontrol -s 2 < /dev/ttyv0 You can also do that from C with something like #include <sys/consio.h> #include <fcntl.h> // ... int fd = open("/dev/ttyv0", O_RDONLY); ioctl(fd, VT_ACTIVATE, 2);
  17. T

    xdm_enable="YES" does not work?

    This is the case with Runit because it supervises services and restarts them after they exit. When you run xdm in daemon mode it does this itself. We have -nodaemon in /etc/ttys for xdm because init takes care of restarting terminal ports defined in there. NetBSD's xdm rc script [1] doesn't...
  18. T

    tr(1): fill image with ones

    tr is affected by locale settings in the environment, so set them to the default if you want reproducible behavior: $ dd if=/dev/zero bs=1M count=2 | env LC_ALL=C /usr/bin/tr '\000' '\377' > file1 && hexdump file1 2+0 records in 2+0 records out 2097152 bytes transferred in 0.070207 secs...
  19. T

    xdm_enable="YES" does not work?

    The script in 225985 actually stops the boot process midway through because xdm never forks into the background and blocks. Probably because of -nodaemon. It would probably also help to make this a real patch against the port not just a script that a committer has to spend extra time on to...
  20. T

    Where to find the standard Java package path?

    Many ports put them into /usr/local/share/java/classes/
Back
Top