BSD official package collections
9
votes
3answers
2k views
How can I avoid the prompts when installing a FreeBSD port?
When I install a port, I am often presented with a menu screen to select configuration options. If I'm going to install a really big package with lots of dependencies, that will be extremely ...
4
votes
3answers
2k views
How to deal with FreeBSD's move to pkgconf?
It seems that the FreeBSD ports tree is busy transitioning from pkg-config to pkgconf. http://www.mail-archive.com/freebsd-ports-announce@freebsd.org/msg00018.html
I first thought as an end user this ...
4
votes
1answer
380 views
Where can I find a log file that logs ports error messages in FreeBSD?
I looked in /var/log/ but there isn't any log files that records ports log, and I just found this person asking the same thing in other forum and get an answer which stating there is no such file. If ...
3
votes
3answers
150 views
Bash port auto upgrading script in cron doesn't work properly?
I've been recently try to write a script to automate checks for new version of ports and software installed on my FreeBSD server. This script is added to root's crontab and fires daily. If I run it ...
3
votes
4answers
82 views
How to check whether firewall opened for a port but not listening on the port
We will be deploying a new application to a Server and the application will be listening on port 8443. We have asked Network team to open the firewall for the port 8443 on that server before deploying ...
2
votes
1answer
293 views
Find FreeBSD ports that depend on another port
I have a headless FreeBSD server where some port has installed tons of X11-related packages. I would like to find out what these ports are so I can get rid of the unwanted X-related packages. Is there ...
2
votes
1answer
423 views
FreeBSD: Mixing packages and ports?
I would like to build the newest port of Firefox (version 4.0.1,1). I currently have the package version installed (3.6.13). How well does the packages/port system handle mixing ports and packages? ...
2
votes
2answers
195 views
Is there a port list migration command set for FreeBSD?
On debianized linux distros there is dpkg --get-selections, dpkg --set-selections, dpkg -C to respectively list installed packages, select a list of packages for installations, and list packages that ...
2
votes
2answers
252 views
How do I recursively apply PKGREPOSITORY when calling make package-recursive in FreeBSD?
I'm trying to create a package of Apache and its dependencies:
sudo make package-recursive \
__MAKE_CONF=~/make.apache22.conf \
PKGREPSOITORY=/usr/home/gvkv
Everything works fine; Apache and its ...
2
votes
2answers
1k views
FreeBSD: Getting pkg_add to use stable packages rather than release packages?
Using FreeBSD 8.2-RELEASE. I want to use the latest binary packages rather than the packages at the time of the 8.2 release. That is, I want to use packages in ...
2
votes
1answer
215 views
tcsh alias - find FreeBSD port
I am trying to create an alias for tcsh. I would like to find a program in ports (FreeBSD ports).
So far I made an alias, which works, but finds only ports which end in *port_name. I would like it to ...
2
votes
0answers
231 views
FreeBSD 9.0 install NOT configuring ports
We have a new FreeBSD 9.0-RELEASE with a ports tree generated via portsnap and none of the ports perform make config.
To some degree it is behaving as though BATCH=yes was set. However, that variable ...
1
vote
1answer
113 views
What does port mean in context of a shell in unix?
From the book Advanced Programming in the Unix environment:
Linux uses the Bourne-again shell for its default shell. In
fact,/bin/sh is a link to /bin/bash.The default user shell in FreeBSD
...
1
vote
2answers
97 views
Is there a simple flag to prevent installing X and anything that depends on it via ports?
I'm running FreeBSD in a small VMWare image and I want to keep it headless. Is there a setting someplace that will guarantee I never pull in X as a dependency, or will I have to rely solely on eternal ...
1
vote
2answers
70 views
Ephemeral port : What is it and what does it do?
I suddenly came across the term "ephemeral port" in a Linux article that I was reading, but the author did not mention what it is.
What is an ephemeral port in UNIX?
1
vote
1answer
36 views
Enforce strict outbound ports (or ranges) for protocol
Is it possible to narrow the allowed range of outbound ports that can be used for a specific protocol (e.g. HTTP(S))? I understand that, by default, the system will randomly allocate any available ...
1
vote
1answer
440 views
How to change a *.tbz's +INSTALL file, and repack the package in FreeBSD, without installing the package
I am running on FreeBSD 8.2, I have a device that will run NanoBSD 7.4. To install packages for nanobsd, you put them in /usr/src/tools/tools/nanobsd/Pkg, and uncomment the line in your config.
I ...
1
vote
0answers
19 views
how to solve ports dependencies conflict
What is the best approach to avoid conflict among the dependencies from two or more unrelated ports? I'm facing the following problem. A script that I'm using has the follow approach to try to install ...
1
vote
0answers
44 views
Why isn't hydra being disconnected?
I have SSHD running on port 5800 on some machine. (It is a my machine at home.)
If I run this manually in a terminal:
# ssh someIP -p 5800
The connection is lost because I am disconnected after 3 ...
1
vote
1answer
85 views
Cannot get ccache to work with ports in FreeBSD
I'm new to FreeBSD (9.1) and I'm just setting up the system. One problem that I could not solve yet is to get ccache working. I installed it from ports and followed the guidelines in the documentation ...
0
votes
1answer
31 views
How to connect to port immedeately, avoiding socket_bind(): unable to bind address?
When running a code that is supposed to read from a TCP/IP port I often get the following message (depending exactly what language have been used):
socket_bind(): unable to bind address
I know that ...
0
votes
1answer
512 views
“Too many arguments to function” error while installing php5-pdo_mysql from ports in FreeBSD
I'm having a trouble while installing php5-pdo_mysql in my FreeBSD environment.
Everytime I trys to do /usr/ports/databases/php5-pdo_mysql make install
the console gives me this error:
...
0
votes
0answers
142 views
No ports can be found using port scan
Problem:
I have a laptop and a server (Home-Server) with fc17. They are both using the desktop environment. I am trying to set up a VNC server on Home-Server so that I can set everything up without ...

