pkg_builder for tinybsd

Marten info at martenvijn.nl
Sun Aug 14 20:13:00 GMT 2005


hi all,

For last time i 've been trying to make pkgbuilder for tinybsd

question:
- Which approach is/should be best since all then seem to fail at other
points. 
- suggestions for improvement.

goals:
- adding and installing pkgs during the build proces, not afterwards
- addition of make options is possible
- files are in there normal place as decribed in man hier
- the builder should work for (nearly) all packages in ports
- this should work for 5.4 & 6.0 

approaches:

a: using portinstall -Dfpr && pkg_add
b: using make package-recursive && pkg_add 
c: using make install PREFIX=<DESTDIR>

test packages:
PKG1="net-mgmt/net-snmp: WITHOUT_IPV6=yes" 
PKG2="security/nmap"
PKG3="net/isc-dhcp3-server: NO_MAN=yes"
PKG4="misc/screen"

probleems found:
1. by building dependencies snmp & nmap wouldn't build in 6.0 
2. PREFIX settings  will need obscure locations for files like
dhcpd.conf
3. screen-4.0.2_1 may not be packaged
  
test script:

I 've made a test_script for approache

pkg-install_14-8-5.sh and a new config file for the previous hook on
patch.

Both are available in:

http://martenvijn.nl/tinybsd/devel/


regards,
Marten



More information about the freebsd-small mailing list