From owner-freebsd-small@FreeBSD.ORG Sun Aug 14 20:13:00 2005 Return-Path: X-Original-To: freebsd-small@freebsd.org Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13DAD16A41F for ; Sun, 14 Aug 2005 20:13:00 +0000 (GMT) (envelope-from info@martenvijn.nl) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B13B43D48 for ; Sun, 14 Aug 2005 20:12:59 +0000 (GMT) (envelope-from info@martenvijn.nl) Received: from [192.168.1.6] (vijn.xs4all.nl [194.109.254.102]) by smtp-vbr2.xs4all.nl (8.13.3/8.13.3) with ESMTP id j7EKCvOB054774 for ; Sun, 14 Aug 2005 22:12:57 +0200 (CEST) (envelope-from info@martenvijn.nl) From: Marten To: freebsd-small@freebsd.org Content-Type: text/plain Organization: MartenVijn Date: Sun, 14 Aug 2005 22:14:12 +0000 Message-Id: <1124057652.600.38.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: pkg_builder for tinybsd X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: info@martenvijn.nl List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2005 20:13:00 -0000 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= 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