Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Thu Mar 30, 2023 7:47 pm


FreeBSD ports and pkg, Linux rpm yum and apt, AIX lpp discussions

Author Message
mandrei99
  Post  Post subject: How to search for a specific port in FreeBSD  |  Posted: Mon Oct 17, 2011 8:52 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 250

Offline
 

How to search for a specific port in FreeBSD

When you need to check if FreeBSD ports contain a specific software, one needs to either use "find /usr/ports" or make use of the "make" utility.

Searching for bash in FreeBSD ports:
Code:
# make -C /usr/ports/ search key=bash | grep -vE "B-deps|R-deps" | less
...
Port:   tuntun-0.4.0_3
Path:   /usr/ports/security/tuntun
Info:   A Gnome applet gui for OpenVPN
Maint:  anderson@cnpm.embrapa.br
WWW:    http://code.google.com/p/tuntun/

Port:   unssh-1.4
Path:   /usr/ports/security/unssh
Info:   Fast way to delete entries from OpenSSH known_hosts file
Maint:  semprix@gmx.com
WWW:    http://unssh.sourceforge.net/

Port:   bash-4.1.10
Path:   /usr/ports/shells/bash
Info:   The GNU Project's Bourne Again SHell
Maint:  obrien@FreeBSD.org
WWW:    http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html

Port:   bash-completion-1.3,1
Path:   /usr/ports/shells/bash-completion
Info:   Programmable completion library for Bash
Maint:  adamw@FreeBSD.org
WWW:    http://bash-completion.alioth.debian.org/

Port:   bash-static-4.1.10
Path:   /usr/ports/shells/bash-static
Info:   The GNU Project's Bourne Again SHell
Maint:  obrien@FreeBSD.org
WWW:    http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
...


Using "make search key=bash" will search all packages that contain "bash" in their name, dependendant ports package (which is a lot).

In case you only want to see ports that have "bash" in their name, use "make search name=bash"
Code:
# make -C /usr/ports/ search name=bash
Port:   ru-fortune-bashorgru-20080903
Path:   /usr/ports/russian/fortune-bashorgru
Info:   Fortunes from bash.org.ru and freebsd.rusnet.org.ru/bash
Maint:   ports@FreeBSD.org
B-deps:   
R-deps:   
WWW:   http://bash.org.ru

Port:   bash-4.1.10
Path:   /usr/ports/shells/bash
Info:   The GNU Project's Bourne Again SHell
Maint:   obrien@FreeBSD.org
B-deps:   bison-2.4.3,1 gettext-0.18.1.1 libiconv-1.13.1_1 m4-1.4.16,1
R-deps:   gettext-0.18.1.1 libiconv-1.13.1_1
WWW:   http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html

Port:   bash-completion-1.3,1
Path:   /usr/ports/shells/bash-completion
Info:   Programmable completion library for Bash
Maint:   adamw@FreeBSD.org
B-deps:   
R-deps:   bash-4.1.10 gettext-0.18.1.1 libiconv-1.13.1_1
WWW:   http://bash-completion.alioth.debian.org/
...





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "How to search for a specific port in FreeBSD"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. vlc-2.1.5 port fails to compile on FreeBSD 9.2

mandrei99

0

2406

Sun Dec 28, 2014 5:32 pm

mandrei99 View the latest post

There are no new unread posts for this topic. How to check which package a specific file belongs to in FreeBSD - "pkg_info -W"

mandrei99

0

3469

Mon Oct 17, 2011 8:39 am

mandrei99 View the latest post

There are no new unread posts for this topic. FreeBSD list files installed by a specific software package - "pkg_info -L"

mandrei99

0

6575

Mon Oct 17, 2011 8:26 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to list outdated packages in FreeBSD

mandrei99

0

2615

Mon Oct 17, 2011 8:35 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to install apache22 on FreeBSD with proxy modules

mandrei99

0

3202

Fri Feb 19, 2010 7:52 am

mandrei99 View the latest post

There are no new unread posts for this topic. Can't compile ssldump on FreeBSD 6 - compile fails

admin

0

2161

Thu Mar 17, 2011 11:26 am

admin View the latest post

There are no new unread posts for this topic. FreeBSD error when compiling world "archive_hash.h:129:20: error: sha1.h: No such file or directory"

mandrei99

0

2134

Tue May 28, 2013 5:41 am

mandrei99 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO