Questions tagged [freebsd-ports]

19 questions
10
votes
5 answers

FreeBSD Ports: How can I see all dependencies for a port, and all subdependencies for those dependencies?

I'm trying to build a port which depends on apache-ant. I thought I could run make build-depends-list to see all dependencies required by this port: # make build-depends-list /usr/ports/devel/apache-ant /usr/ports/java/jdk16 /usr/ports/math/gmp But…
Stefan Lasiewski
  • 22,949
  • 38
  • 129
  • 184
8
votes
2 answers

FreeBSD ports: remove build dependencies after installing port

Is there any way to remove build dependencies of the port after installing it? Many ports use exotic tools for building and these tools are not used anymore when port is builded and installed.
artvolk
  • 309
  • 2
  • 10
7
votes
1 answer

Install Java 9, 10, 11, or 12 on FreeBSD 11.1

When I look to my up-to-date Ports collection: cd /usr/ports/java && ls -d openjdk* … I see only versions 6, 7, and 8 of Java in the OpenJDK releases: openjdk6 openjdk6-jre openjdk7 openjdk7-jre openjdk8 openjdk8-jre ➥ How does one…
Basil Bourque
  • 801
  • 1
  • 11
  • 22
5
votes
1 answer

Check ChangeLog of FreeBSD port before upgrading

Is there an easy way to check a ChangeLog of a FreeBSD port before you upgrade? For instance, I'd like to check what upgrades are mandatory before I do portmaster -ad. It would be nice to have something like portaudit, but for changelogs. The…
EhevuTov
  • 474
  • 3
  • 10
3
votes
4 answers

What's the best way to auto clean distfiles after using make/portupgrade in FreeBSD?

I'm playing with a FreeBSD installation inside a Virtualbox vm, and I want to keep the size of the image relatively small. How can I configure FreeBSD to clean distfiles after installing a port (using make, portupgrade, etc)?
Eugene Yarmash
  • 2,383
  • 5
  • 32
  • 54
3
votes
3 answers

Use default options when compiling ports

I am compiling a few ports on FreeBSD, however during the compiling process I am often greeted with options for the dependencies of the port. This causes the compiling process to pause until I select (or in 9/10 cases, just leave the defaults) "OK".…
Ben
  • 237
  • 1
  • 2
  • 6
3
votes
1 answer

GCCVERSION not found error when installing a FreeBSD port

I am trying to install a program using port on FreeBSD 4.7. I get this error: Couldn't find your current GCCVERSION (OSVERSION=470000) How would you fix an error like this?
jimiyash
  • 193
  • 1
  • 1
  • 6
3
votes
0 answers

How to find the download URL of a specific package/port in FreeBSD's repository?

I'm trying to find the full URL for downloading the Emby Server .txz package from FreeBSD repository, but I got no luck finding it on any search engines. Farther I went was this FreeBSD repository list…
2
votes
0 answers

How to use wildcards with pkg-upgrade?

As an example, when I want to list all installed packages of php70 I can just enter: pkg info php70\* But I cannot use the wildcard in this for pkg upgrade: pkg upgrade php70\* When I do get this message: pkg: php70* is not installed, therefore…
Lexib0y
  • 227
  • 3
  • 14
2
votes
1 answer

FreeNAS ports/pkg not working after update to 9.10

I recently updated to FreeNAS 9.10 stable via the UI and now I'm having trouble with my packages and ports on my oldest existing portjail. It seems the catalog won't update and I can't really install anything - either by ports or pkg. My pkg version…
Nick P
  • 121
  • 1
  • 6
1
vote
1 answer

How to configure FreeBSD to reject configuration options in the ports tree that have graphical dependencies?

I have a couple of personal-use servers on which I would like to prevent the unnecessary installation of X11, Wayland, or any other unnecessary GUI dependencies. Is there a way to configure my systems to reject changes to make config if they would…
cjm
  • 151
  • 5
0
votes
2 answers

FreeBSD-12 IOCage modifying a jail's /root directory

What is the reason that copying .bash_profile from the host system into the /root directory of an iocage thin jail does not create a file that is visible to the root user when logged on to that jail? In other words, if I do this from the host…
James B. Byrne
  • 317
  • 4
  • 14
0
votes
2 answers

how can I install PHP 5.3 on FreeBSD 11.2

I have an old app written in PHP 5.3 that is not to be upgraded and doesn't work with php56 and higher. I'd like to install PHP 5.3 with most of the extensions on FreeBSD 11.2 box. And then I'd like to create package(s) I can use on another…
norbi771
  • 151
  • 1
  • 7
0
votes
1 answer

Unable to connect postfix to amavisd in FreeBSD-11 jail

Attempting to send a message through Postfix on a jailed instance of FreeBSD-11 results in the following error when amavisd is configured: /usr/local/sbin/amavisd[47180]: (!)DENIED ACCESS from IP 127.0.32.1, policy bank '' The lo interface for the…
James B. Byrne
  • 317
  • 4
  • 14
0
votes
1 answer

PHP update not recognized in Apache on FreeBSD

I'm trying to update the PHP installation on my FreeBSD machine. I ran portsnap fetch update cd /usr/ports/lang/php56 make reinstall cd /usr/ports/lang/php56-extensions make reinstall service apache24 restart then reloaded the page where I have…
FKEinternet
  • 291
  • 2
  • 4
  • 10
1
2