Subject: Re: bulk build of pkgsrc-2004Q3?
To: Hubert Feyrer <hubert@feyrer.de>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: tech-pkg
Date: 09/29/2004 15:15:02
Hubert Feyrer wrote:
> On Wed, 29 Sep 2004, Hauke Fath wrote:
> 
>> # ls /usr/pkg/packages/
>
> Um, what do you have in your /etc/mk.conf (etc.) that's not in
> #3.2.1.1 of Packages.txt? IIRC pkgviews are not enabled by default...

Correct. Here goes:


# $Id: mk.conf,v 1.1 2003/09/25 09:07:28 hf Exp hf $
#
# make(1) config file

# Do not use this for cross-builds
_HOST_ARCH !=    uname -p 2>/dev/null || uname -m

.if ${_HOST_ARCH} == ${MACHINE_ARCH}
CFLAGS +=		-march=pentiumpro
CXXFLAGS +=		-march=pentiumpro
.endif

# Packages

# Active ftp (use ipf proxy), and ipv4 only.
FETCH_BEFORE_ARGS =		-A -4

PKG_INSTALLATION_PREFS =	pkgviews overwrite
PKG_SYSCONFBASE =       	/etc
CLEANDEPENDS =          	yes
FAILOVER_FETCH =		yes

PKGSRC_MESSAGE_RECIPIENTS =	hf@spg.tu-darmstadt.de

ACCEPTABLE_LICENSES =    	shareware no-commercial-use no-profit
ACCEPTABLE_LICENSES +=   	jdk-license
ACCEPTABLE_LICENSES +=		jdk13-license
ACCEPTABLE_LICENSES +=		sun-jsdk20-license
ACCEPTABLE_LICENSES +=		sun-swing-license
ACCEPTABLE_LICENSES +=		adobe-acrobat-license
ACCEPTABLE_LICENSES +=		cyrus-imapd-license
ACCEPTABLE_LICENSES +=		kermit-license
ACCEPTABLE_LICENSES +=		limited-redistribution
ACCEPTABLE_LICENSES +=		ms-ttf-license
ACCEPTABLE_LICENSES +=		opera-license
ACCEPTABLE_LICENSES +=		pine-license
ACCEPTABLE_LICENSES +=		unrar-license

APACHE_USER =           	httpd
APACHE_GROUP =          	httpd

# PHP 4
USE_SSL =               	yes

SSYNC_PAWD =			pawd

# Be compatible to previous version and documentation
MAILMAN_CGIEXT =        	""
MAILMAN_CGIGROUP =      	${APACHE_GROUP}

# daemon, changed from 31 = guest
MAILMAN_MAILGROUP =     	1

PKG_DEVELOPER = 		1


-- one more thing: Quite a few packages appear not to clean up properly 
behind them during uninstall.

# [hf@venediger] /<1>netbsd/pkg-current-sandbox # chroot `pwd` /bin/ksh
# pkg_info
digest-20021220     Message digest wrapper utility
# ls -la /usr/pkg/bin/
total 170
drwxr-xr-x   2 root  wheel   1024 Sep 29 03:58 .
drwxr-xr-x  18 root  wheel   3584 Sep 29 03:48 ..
lrwxr-xr-x   1 root  wheel     44 Sep 28 17:35 digest -> 
/usr/pkg/packages/digest-20021220/bin/digest
-rwxr-xr-x   1 root  wheel   6320 Sep 28 23:24 dpputlinks
lrwxr-xr-x   1 root  wheel     43 Sep 28 20:24 exetags -> 
/usr/pkg/packages/exctags-5.5.4/bin/exetags
-r-xr-xr-x   1 root  wheel  49648 Sep 28 18:00 globe
-r-xr-xr-x   1 root  wheel  12986 Sep 28 21:03 kttcp
-rwxr-xr-x   1 root  wheel   3815 Sep 28 18:40 metamutt
lrwxr-xr-x   1 root  wheel     47 Sep 28 19:30 mimencode -> 
/usr/pkg/packages/metamail-2.7nb6/bin/mimencode
lrwxr-xr-x   1 root  wheel     44 Sep 28 20:26 rcs2log -> 
/usr/pkg/packages/cvs-1.11.17nb1/bin/rcs2log
-rwxr-xr-x   1 root  wheel    154 Sep 28 21:36 rdoc
-r-xr-xr-x   1 root  wheel  18680 Sep 28 23:24 rigmem
lrwxr-xr-x   1 root  wheel     44 Sep 28 19:10 screen -> 
/usr/pkg/packages/screen-4.0.2nb1/bin/screen
-r-xr-xr-x   1 root  wheel  10641 Sep 29 00:57 sqlsh.rb
lrwxr-xr-x   1 root  wheel     37 Sep 29 01:33 tclsh -> 
/usr/pkg/packages/tcl-8.3.4/bin/tclsh
-rwxr-xr-x   1 root  wheel   1561 Sep 28 18:40 url_handler.sh
-r-xr-xr-x   2 root  wheel  24979 Sep 28 18:06 zebgrep
-r-xr-xr-x   2 root  wheel  24979 Sep 28 18:06 zfbgrep
#
	hauke

-- 
/~\  The ASCII Ribbon Campaign                    Hauke Fath
\ /    No HTML/RTF in email	        Institut für Nachrichtentechnik
  X     No Word docs in email	                  TU Darmstadt
/ \  Respect for open standards              Ruf +49-6151-16-3281