Ports provide a simple way to install applications to FreeBSD from source code

learn more… | top users | synonyms

5
votes
2answers
1k views

FreeBSD how to rebuild all p5-* Perl 5 ports

On a FreeBSD system, instructions say to rebuild all p5-* ports - how do I do that? A bit of background... I'm an experienced Linux person, trialling (and liking) the latest PC-BSD ...
5
votes
3answers
251 views

freebsd does not recognise that php was installed via ports

I have php 5.2.12 installed on FreeBSD 8.0-STABLE. It was installed from ports and I am trying to upgrade it to 5.3.2. However for some reason my system is not recognising that php was installed via ...
4
votes
1answer
139 views

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 manditory before I do portmaster -ad. It would be nice to have ...
3
votes
3answers
3k views

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 ...
3
votes
1answer
269 views

How can I quickly install FreeBSD ports?

I am a Linux system administrator, so my knowledge of the specifics of FreeBSD are very literal, and not very thorough; I've been configuring packages and what not a for a few days now and every one ...
3
votes
1answer
154 views

Is it safe to install several apps from ports at the same time?

Can multiple make installs cause problems for the package system? For example: cd /usr/ports/*/nmap && make install cd /usr/ports/*/firefox && make install
2
votes
2answers
3k views

What is the easiest way to upgrade my existing Perl 5.14 to Perl 5.16 on FreeBSD 9 using the ports system?

I use the ports system on FreeBSD. What is the easiest way to upgrade Perl using ports? I currently uninstall all of perl and it's dependencies. I'd think there would be a cool way to upgrade Perl and ...
2
votes
3answers
428 views

How can I set default versions of MySQL, Postgres, Apache, etc. prior to installing anything from ports in FreeBSD?

When I install software from ports on a FreeBSD system, sometimes rather outdated versions of Apache/MySQL/Perl/etc are installed as dependencies. Is there any way to set the versions of these ports ...
2
votes
3answers
5k views

How do I update PHP and all its modules on FreeBSD in one go?

Basically, I usually do something like this: # portsnap fetch # portsnap update # portmaster -L | grep -B1 "New version" ===>>> php5-5.2.11 ===>>> New version available: ...
2
votes
4answers
153 views

Uninstall last n of ports/packages

While compiling some port, I realized that it depends on 1000+ of other ports and will install forever until I die or my disk is full (my hdd is really small). I interrupted make install clean. How ...
2
votes
2answers
118 views

port in freebsd

I think this is a very basic question but I need some understanding. What does a port mean in freebsd?
2
votes
1answer
85 views

Having a ball re-selecting PHP make config settings…FreeBSD

I am installing PHP 5.3 and having accidentally hit enter when selecting options failed to enable a module. After the installation make no longer gives me options but continues with saved options. ...
2
votes
1answer
567 views

How to download a single port on FreeBSD?

How can I download a single port from freebsd site instead of downloading the whole port collection?
2
votes
1answer
133 views

Is there a way to make a 32-bit variant of port under an amd64 system?

Is there a way to make a 32-bit package variant of mysql-client, for example ? Because I need some libraries for some binary software, and it would be good to maintain them from ports instead of ...
2
votes
2answers
1k views

Installing multiple php versions plus extensions on freebsd

I'm a currently learning how to work with freebsd. Lately I have been trying to run multiple php versions along with their respective packages. However, I seem to be running into issues while making ...
2
votes
1answer
230 views

How to apply patches to phantomjs port in FreeBSD 9?

I have installed FreeBSD 9 and I need to install phantomjs. It is available in /usr/ports/lang/phantomjs but the version is 1.0 while I need a more recent version. There is a patch to update to ...
2
votes
1answer
126 views

Update FreeBSD ports to specific version/time [duplicate]

I know that i can use the command Portsnap fetch update in order to update the ports tree. My issue rises because i have 2 servers, one running php 5.2 (server a) and the other running 5.3 (server b) ...
1
vote
1answer
91 views

Installing oracle 7 JDK on FreeBSD 10 — Wants i586, but on AMD64

I need to install Oracle Java 7 on my FreeBSD 10 server but I am a bit confused. I am using the ports, and when I do a make install in the /usr/ports/java/linux-sun-jdk17 directory I get the ...
1
vote
1answer
151 views

Cannot authenticate in Active Directory using security/sssd from FreeBSD ports

I'm trying to implement security/sssd port in a FreeBSD 10.0 system. My main goal is to authenticate users from Active Directory running on Windows Server 2012 R2. I would like to know if anyone had ...
1
vote
1answer
67 views

How to find non-ports installations in FreeBSD?

Is there way to find all non-ports installations in FreeBSD? I'm using 8.4 version. Update: I need this for audit installed binaries for system "trusted" versions.
1
vote
1answer
165 views

Why are nginx configuration files read-only on FreeBSD?

After installing Nginx on FreeBSD 8.3 from ports, the configuration files in /usr/local/etc/nginx all have read-only permissions. Is there a reason for this? Am I not supposed to edit them? Or can I ...
1
vote
1answer
269 views

How can I list when was all my installed FreeBSD ports built?

I have a FreeBSD 8.2-RELEASE system which I now upgrading to 9.0-RELEASE. In this process I need to rebuild all my ports installed. How can I list the date of last build for each installed port, to be ...
1
vote
1answer
316 views

installing java on freeBSD

I have a FreeBSD server with root access and I'm trying to install java on it. I've tried to install diablo from the /usr/ports/java/diablo-jre15 directory, and it gave me a URL to download a file to ...
1
vote
3answers
829 views

Htop installation failed

I'm trying to install the htop , but I can't since I'm getting this fatal error: # cd /usr/ports/sysutils/htop && make install clean ===> Installing for htop-1.0.1 ===> htop-1.0.1 ...
1
vote
1answer
914 views

How can I automatically install Perl modules from ports in FreeBSD?

I need to automate installation of a multitude of Perl modules. Most of them are present in ports. But some modules are located in bundles, for example www/p5-HTML-Tree prvides HTML::Element, ...
1
vote
1answer
60 views

How to suppress compilation output when using ports in FreeBSD?

Is it possible to configure the FreeBSD ports system to suppress the compilation output (like brew does in OS X)? The output is mostly useless for me and can be a waste of bandwidth (when working over ...
1
vote
1answer
336 views

Installing PostgreSQL 9.0 on FreeBSD

My installation of databases/postgresql90-client fails on a FreeBSD box. The installation blocks on configure, at the following step (while CPU usage tops 100%): checking thread safety of required ...
1
vote
2answers
135 views

FREEBSD creating new port

I have a script here that I want to create as a port in freebsd and then make it as package so that I can install on some machines. script is below. #!/usr/local/bin/bash if [ ! -f "/suid.old" ] then ...
1
vote
1answer
40 views

FreeBSD pkg query by automatic flag?

You can do a pkg set -A ... to set the automatic flag, but how do you do a pkg query for all packages with that automatic flag set? I see you can do pkg query -e '%#r != 0', but that's surely not the ...
0
votes
2answers
315 views

Clone ports from bsd installation to another

I have a production FreeBSD webserver which I would like to "clone" to create a development/preproduction server. I've installed a clean FreeBSD server and now I would like to know if there's an easy ...
0
votes
2answers
74 views

freebsd shell package not execute after successfull install

After successfull installing midnight commander with pkg_add - mc i try to load it from shell command "mc", but it did not work. Leaving the root and going root again fixes that problem. The same ...
0
votes
3answers
54 views

How to install deleted port on FreeBSD

I am maintaining a code base that depends on Postgis 1.5. My local dev VM is running FreeBSD 9.2. I have recently been tinkering with packages and inadvertently deleted postgis, so I attempted to ...
0
votes
1answer
253 views

Portsnap error, doesn't work anymore FreeBSD 8.2

I can't seem to run portsnap anymore, there seems to be an error and /usr/ports/sysutils/portsnap doesn't exist for a reinstallation. The error I'm getting when running portsnap is: ...
0
votes
0answers
90 views

Can't install p5-Digest-SHA1 on FreeBSD 8.3

I am trying to instasll rkhunter on a FreeBSD 8.3 box. However, during make install one of the dependencies failed to build: ===> Building package for p5-Digest-SHA1-2.13 Creating package ...
0
votes
0answers
417 views

Can not install PHP/Lighttpd or any other service on FreeBSD

I've just bought a new dedicated server and I wanted to install the basic services on it, but when I tried to install php after updating my ports I get the following error message (after PHP's ...
0
votes
1answer
139 views

Change apache22 in FreeBSD 8.2 from itk to apache22-worker (or prefork, event)

Can I simple remove apache22 and install apache22-worker? I has ispmanager hosting panel with existing apache configuration (some vhosts, working as nginx backend), does all that config files will ...
-3
votes
1answer
37 views

How to commit update to ports?

5.5.32 version of MariaDB (MySQL replacement) was released in 18th july but in FreeBSD ports we still have 5.5.31. What ways I have to commit this update to ports?