Development/FreeBSD Ports

From Sit

Jump to: navigation, search

FreeBSD Ports allow you to easily install SiT and dependencies.

This is for development when a new version of SiT has been released.

[edit] Pre-reqs

  • FreeBSD
  • The following tools are needed:
    • portlint
    • porttools
    • genplist
  • Modify the Makefile to match the new version
  • Delete pkg-plist
  • edit "distinfo" and fill in the new version and replace the SHA256, MD5 hashes and FILESIZE from the new version.
    • install all dependencies before the next step
cd /usr/ports/www/sitracker
genplist create /tmp
genplist diff
ee pkg-plist.new (make any necessary manual changes /usually delete last line)
genplist commit

genplist test
genplist clean
    • run portlint -a in the ports/www/sitracker folder and fix any warnings (tabs, spacings etc)
    • run "port test /usr/ports/www/sitracker"

if all is good

  • run "shar `find /usr/ports/www/sitracker` > /path/sitracker_port"
  • run "send-pr" and copy all the text
  • edit the sitracker_port file and paste the previously copied text, replace to your needs
To: FreeBSD-gnats-submit@freebsd.org                                                                       
From: carsten@sitracker.org                                                                                
Reply-To: carsten@sitracker.org                                                                            
Cc:                                                                                                        
X-send-pr-version: 3.113                                                                                   
X-GNATS-Notify:

>Submitter-Id:  current-users
>Originator:    Carsten Jensen
>Organization:  sitracker.org 
>Confidential:  no                              
>Synopsis:      Update port: www/sitracker - Incident tracker / Help Desk based on Apache/MySQL/PHP 
>Severity:      non-critical 
>Priority:      low 
>Category:      www 
>Class:         change-request 

>Fix:

The output from the shar command should come after ">Fix:"

  • Run "send-pr -f /tmp/sitracker_port" after saving the file.

After some time, the submitted update will appear here : http://www.freebsd.org/cgi/query-pr-summary.cgi?category=ports

For more thorough reading, go here : http://www.freebsd.org/doc/en/books/porters-handbook/

Personal tools
project