Changeset 10272 in hybrid
- Timestamp:
- Mar 22, 2012, 11:19:36 AM (13 years ago)
- Location:
- branches/releng-9.0/nanobsd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-9.0/nanobsd/cfg/nanobsd.wleiden
r10124 r10272 28 28 NANO_PACKAGE_DIR=$NANO_CONF_DIR/../pkg/All 29 29 30 # XXX: Create function which populate the right packages and fixes the 31 # dependencies. Package build script could benefit from this list, as it 32 # could build this list beforehand 33 ## pkg_info -qr pkg/All/* 30 PORTSDIR='/usr/ports' 31 WL_PORTSDIR="$NANO_CONF_DIR/../ports/" 32 # Dirty quirk to allow comments in part below 33 PACKAGE_LIST=`cat <<EOF | sed 's/#.*$//g' 34 $PORTSDIR/dns/dnsmasq 35 $PORTSDIR/www/thttpd 36 $PORTSDIR/editors/vim-lite 37 $PORTSDIR/lang/python 38 $PORTSDIR/net-mgmt/net-snmp 39 $PORTSDIR/benchmarks/iperf 40 $PORTSDIR/net/pen 41 $PORTSDIR/devel/py-yaml 42 $PORTSDIR/sysutils/ucspi-tcp 43 $PORTSDIR/www/tinyproxy 44 $PORTSDIR/editors/vim-lite 45 $PORTSDIR/security/nmap 46 $PORTSDIR/ftp/curl 47 $PORTSDIR/security/openvpn 48 $PORTSDIR/net/sixxs-aiccu 49 50 51 # Wireless Leiden ports at $WL_PORTSDIR 52 $WL_PORTSDIR/net/lvrouted 53 ` 54 # Package target 55 # Dirty quirk to allow comments in part below 56 PKG_MAKE_ARGS=`cat <<EOF | sed 's/#.*$//g' 57 PACKAGES=$(dirname $NANO_PACKAGE_DIR) 58 BATCH=yes PACKAGE_BUILDING=yes 59 # www/py-cherrypy 60 WITH_APACHE=yes 61 # net-mgmt/net-snmp 62 WITHOUT_PERL=yes 63 # net-mgmt/nagios-plugins 64 WITH_FPING=yes 65 # threads is broken in the version (atleast up to 9.0 - 20120213) 66 # Should be fix in current version in linux, but for some reason 67 # Not yet in BSD. We don't need threads 68 WITHOUT_THREADS=yes 69 ` 70 34 71 ##NANO_PACKAGE_LIST= 35 72 -
branches/releng-9.0/nanobsd/tools/package-build.sh
r10181 r10272 12 12 # make options, for package building 13 13 LOGDIR=`mktemp -d "/tmp/$(basename $0 .sh)-$(date +%Y%m%d-%H:%M:%S).X"` 14 TARGET="`cd $(dirname $0);pwd -P`/../pkg/"15 16 # Package target17 MAKE_ARGS="$MAKE_ARGS PACKAGES=$TARGET"18 MAKE_ARGS="$MAKE_ARGS BATCH=yes PACKAGE_BUILDING=yes"19 20 # www/py-cherrypy21 MAKE_ARGS="${MAKE_ARGS} WITH_APACHE=yes"22 # net-mgmt/net-snmp23 MAKE_ARGS="${MAKE_ARGS} WITHOUT_PERL=yes"24 # net-mgmt/nagios-plugins25 MAKE_ARGS="${MAKE_ARGS} WITH_FPING=yes"26 # threads is broken in the version (atleast up to 9.0 - 20120213)27 # Should be fix in current version in linux, but for some reason28 # Not yet in BSD. We don't need threads29 MAKE_ARGS="${MAKE_ARGS} WITHOUT_THREADS=yes"30 14 31 15 p_info Log directory ${LOGDIR} 32 16 p_info Make options are: 33 p_info $(p_list ${ MAKE_ARGS})17 p_info $(p_list ${PKG_MAKE_ARGS}) 34 18 35 19 p_info Checking whether there are currently unmet dependencies … … 61 45 62 46 63 if [ -d "${ TARGET}/All" ]; then64 p_warn "Deleted all (old) packages at ${ TARGET}"65 rm -R $ TARGET/*47 if [ -d "${NANO_PACKAGE_DIR}" ]; then 48 p_warn "Deleted all (old) packages at ${NANO_PACKAGE_DIR}" 49 rm -R ${NANO_PACKAGE_DIR}/* 66 50 fi 67 p_info Created target dir ${ TARGET}/All68 mkdir -p ${ TARGET}/All51 p_info Created target dir ${NANO_PACKAGE_DIR} 52 mkdir -p ${NANO_PACKAGE_DIR} 69 53 70 PORTSDIR='/usr/ports' 71 WL_PORTSDIR="`cd $(dirname $0);pwd -P`/../ports/" 72 73 PACKAGE_LIST=`cat <<EOF | sed 's/#.*$//g' 74 $PORTSDIR/dns/dnsmasq 75 $PORTSDIR/www/thttpd 76 $PORTSDIR/editors/vim-lite 77 $PORTSDIR/lang/python 78 $PORTSDIR/net-mgmt/net-snmp 79 $PORTSDIR/benchmarks/iperf 80 $PORTSDIR/net/pen 81 $PORTSDIR/devel/py-yaml 82 $PORTSDIR/sysutils/ucspi-tcp 83 $PORTSDIR/www/tinyproxy 84 $PORTSDIR/editors/vim-lite 85 $PORTSDIR/security/nmap 86 $PORTSDIR/ftp/curl 87 $PORTSDIR/security/openvpn 88 $PORTSDIR/net/sixxs-aiccu 89 $WL_PORTSDIR/net/lvrouted 90 91 ` 92 93 MAKE="make ${MAKE_ARGS}" 54 MAKE="make ${PKG_MAKE_ARGS}" 94 55 95 56 BUILD_LIST='' … … 149 110 ${MAKE} package-links 150 111 PKGNAME=`make extract-message | awk '{print $NF}'` 151 pkg_create -b $PKGNAME $ TARGET/All/${PKGNAME}.tbz112 pkg_create -b $PKGNAME ${NANO_PACKAGE_DIR}/${PKGNAME}.tbz 152 113 153 114 p_info Checking dependencies
Note:
See TracChangeset
for help on using the changeset viewer.