Date: Sun, 14 Aug 2005 22:14:12 +0000 From: Marten <info@martenvijn.nl> To: freebsd-small@freebsd.org Subject: pkg_builder for tinybsd Message-ID: <1124057652.600.38.camel@localhost.localdomain>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1124057652.600.38.camel>