Use LOCALSTATEDIR.

This commit is contained in:
ajacoutot 2012-04-28 10:51:44 +00:00
parent 9eeb9a1c1b
commit 3f0ee525f1
24 changed files with 81 additions and 63 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.4 2010/11/15 00:22:49 espie Exp $ # $OpenBSD: Makefile,v 1.5 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT = multi-threaded HTTP benchmark and regression tester COMMENT = multi-threaded HTTP benchmark and regression tester
DISTNAME = siege-2.70 DISTNAME = siege-2.70
REVISION = 0
CATEGORIES = benchmarks www CATEGORIES = benchmarks www
@ -20,12 +21,13 @@ WANTLIB += c crypto pthread ssl
MASTER_SITES = http://spacehopper.org/mirrors/ \ MASTER_SITES = http://spacehopper.org/mirrors/ \
ftp://ftp.joedog.org/pub/siege/ ftp://ftp.joedog.org/pub/siege/
MAKE_FLAGS = localstatedir='/var/log/siege' MAKE_FLAGS = localstatedir=${LOCALSTATEDIR}
USE_GROFF = Yes USE_GROFF = Yes
LOCALSTATEDIR= ${BASELOCALSTATEDIR}/log/siege
SYSCONFDIR= ${BASESYSCONFDIR}/siege
CONFIGURE_STYLE = gnu CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --localstatedir=/var/log/siege \
--sysconfdir=${SYSCONFDIR}/siege
post-install: post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/siege ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/siege

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.202 2012/03/26 08:05:01 giovanni Exp $ # $OpenBSD: Makefile,v 1.203 2012/04/28 10:51:44 ajacoutot Exp $
SHARED_ONLY= Yes SHARED_ONLY= Yes
@ -42,13 +42,14 @@ CXXFLAGS= ${CFLAGS} -felide-constructors -fno-exceptions -fno-rtti
VMEM_WARNING= Yes VMEM_WARNING= Yes
LOCALSTATEDIR= ${DB_DIR}
USE_LIBTOOL= Yes USE_LIBTOOL= Yes
USE_GROFF= Yes USE_GROFF= Yes
CONFIGURE_STYLE= autoconf CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.63 AUTOCONF_VERSION= 2.63
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --localstatedir="${DB_DIR}" \ CONFIGURE_ARGS+= --with-big-tables \
--with-big-tables \
--with-comment='OpenBSD port: ${FULLPKGNAME-server}' \ --with-comment='OpenBSD port: ${FULLPKGNAME-server}' \
--with-libwrap \ --with-libwrap \
--with-low-memory \ --with-low-memory \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.52 2011/12/02 14:36:14 espie Exp $ # $OpenBSD: Makefile,v 1.53 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT= game where you deal drugs on the streets of NY COMMENT= game where you deal drugs on the streets of NY
@ -21,6 +21,8 @@ MODULES+= devel/gettext
LIB_DEPENDS+= devel/glib2 LIB_DEPENDS+= devel/glib2
WANTLIB += gio-2.0 glib-2.0 WANTLIB += gio-2.0 glib-2.0
LOCALSTATEDIR= ${BASELOCALSTATEDIR}/games
USE_LIBTOOL= Yes USE_LIBTOOL= Yes
USE_GROFF = Yes USE_GROFF = Yes
CONFIGURE_STYLE= gnu CONFIGURE_STYLE= gnu
@ -29,8 +31,7 @@ CONFIGURE_ARGS+= --enable-nls \
--without-esd \ --without-esd \
--disable-gui-server \ --disable-gui-server \
--disable-plugins \ --disable-plugins \
--disable-sdl \ --disable-sdl
--localstatedir="/var/games"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" LDFLAGS="-L${LOCALBASE}/lib"

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2010/11/16 11:23:27 espie Exp $ # $OpenBSD: Makefile,v 1.9 2012/04/28 10:51:44 ajacoutot Exp $
BROKEN-sparc64= SIGBUS on sparc64 when starting BROKEN-sparc64= SIGBUS on sparc64 when starting
@ -27,7 +27,7 @@ VMEM_WARNING= Yes
USE_GMAKE= Yes USE_GMAKE= Yes
CONFIGURE_STYLE=gnu CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --localstatedir=/var/games LOCALSTATEDIR= ${BASELOCALSTATEDIR}/games
post-install: post-install:
${INSTALL_DATA} /dev/null \ ${INSTALL_DATA} /dev/null \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2011/03/19 13:37:17 benoit Exp $ # $OpenBSD: Makefile,v 1.22 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT = breakout game with many levels, powerups, good graphics COMMENT = breakout game with many levels, powerups, good graphics
@ -27,9 +27,10 @@ RUN_DEPENDS = devel/desktop-file-utils
USE_GMAKE = Yes USE_GMAKE = Yes
LOCALSTATEDIR= ${BASELOCALSTATEDIR}/games
CONFIGURE_STYLE = gnu CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --localstatedir=/var/games \ CONFIGURE_ARGS += --with-docdir=${PREFIX}/share/doc
--with-docdir=${PREFIX}/share/doc
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include/libpng" \ CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib" \ LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-lintl -liconv" LIBS="-lintl -liconv"

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.22 2010/11/16 11:23:28 espie Exp $ # $OpenBSD: Makefile,v 1.23 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT= Nebulous rewrite of Tower Toppler COMMENT= Nebulous rewrite of Tower Toppler
@ -24,7 +24,7 @@ RUN_DEPENDS= devel/desktop-file-utils
MODULES= devel/gettext MODULES= devel/gettext
CONFIGURE_STYLE= gnu CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --localstatedir=/var/games LOCALSTATEDIR= ${BASELOCALSTATEDIR}/games
USE_LIBTOOL= Yes USE_LIBTOOL= Yes
USE_GROFF = Yes USE_GROFF = Yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.50 2012/02/16 22:29:15 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.51 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT= API for accessing scanners, backends COMMENT= API for accessing scanners, backends
@ -37,6 +37,8 @@ USE_GROFF= Yes
NO_REGRESS= Yes NO_REGRESS= Yes
LOCALSTATEDIR= ${BASELOCALSTATEDIR}/spool
CONFIGURE_STYLE=gnu CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -pthread" \ LDFLAGS="-L${LOCALBASE}/lib -pthread" \
@ -44,7 +46,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--sbindir=${PREFIX}/libexec \ --sbindir=${PREFIX}/libexec \
--with-docdir=${PREFIX}/share/doc/sane-backends \ --with-docdir=${PREFIX}/share/doc/sane-backends \
--localstatedir=/var/spool \
--without-gphoto2 \ --without-gphoto2 \
--with-group=553 \ --with-group=553 \
--disable-latex --disable-latex

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.82 2012/04/10 22:31:10 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.83 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT-main= imap server for maildir format mailboxes COMMENT-main= imap server for maildir format mailboxes
COMMENT-pop3= pop3 server for maildir format mailboxes COMMENT-pop3= pop3 server for maildir format mailboxes
@ -46,9 +46,10 @@ EXAMPLE_DIR= ${PREFIX}/share/examples/courier
SUBST_VARS= COURIERSTATE SUBST_VARS= COURIERSTATE
SYSCONFDIR= /etc/courier SYSCONFDIR= /etc/courier
LOCALSTATEDIR= ${COURIERSTATE}
CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \ CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \
--datadir=${PREFIX}/sbin \ --datadir=${PREFIX}/sbin \
--localstatedir=${COURIERSTATE} \
--prefix=${PREFIX} \ --prefix=${PREFIX} \
--bindir=${PREFIX}/bin \ --bindir=${PREFIX}/bin \
--mandir=${PREFIX}/man \ --mandir=${PREFIX}/man \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.24 2012/03/29 13:38:40 sthen Exp $ # $OpenBSD: Makefile,v 1.25 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT= flexible POP3 server COMMENT= flexible POP3 server
@ -19,10 +19,11 @@ WANTLIB= c
FLAVORS= apop FLAVORS= apop
FLAVOR?= FLAVOR?=
LOCALSTATEDIR= ${BASELOCALSTATEDIR}/spool/spop3d
SEPARATE_BUILD= Yes SEPARATE_BUILD= Yes
CONFIGURE_STYLE= gnu CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --localstatedir="/var/spool/spop3d" \ CONFIGURE_ARGS+= --mandir="${PREFIX}/man" \
--mandir="${PREFIX}/man" \
--enable-last --enable-bulletins --enable-nonip \ --enable-last --enable-bulletins --enable-nonip \
--enable-ipv6 --enable-resolve --enable-connect \ --enable-ipv6 --enable-resolve --enable-connect \
--enable-logextend --enable-statistics --enable-logextend --enable-statistics

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.20 2012/04/05 16:24:35 ajacoutot Exp $ # $OpenBSD: Makefile.inc,v 1.21 2012/04/28 10:51:44 ajacoutot Exp $
CATEGORIES ?= multimedia devel CATEGORIES ?= multimedia devel
@ -36,8 +36,9 @@ BUILD_DEPENDS += devel/bison \
AUTOCONF_VERSION ?= 2.68 AUTOCONF_VERSION ?= 2.68
CONFIGURE_STYLE ?= autoconf CONFIGURE_STYLE ?= autoconf
LOCALSTATEDIR= ${BASELOCALSTATEDIR}/db
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \ CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
--localstatedir=/var/db \
--with-default-audiosink=sndiosink \ --with-default-audiosink=sndiosink \
--with-default-audiosrc=sndiosrc \ --with-default-audiosrc=sndiosrc \
--with-default-videosink=xvimagesink \ --with-default-videosink=xvimagesink \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.26 2012/03/29 13:38:48 sthen Exp $ # $OpenBSD: Makefile,v 1.27 2012/04/28 10:51:44 ajacoutot Exp $
SHARED_LIBS += ft 0.0 # .0.0 SHARED_LIBS += ft 0.0 # .0.0
@ -28,10 +28,11 @@ WANTLIB= c z
MODULES= lang/python MODULES= lang/python
LOCALSTATEDIR= ${BASELOCALSTATEDIR}/flow-tools
CONFIGURE_STYLE= gnu CONFIGURE_STYLE= gnu
SEPARATE_BUILD= Yes SEPARATE_BUILD= Yes
SYSCONFDIR= ${BASESYSCONFDIR}/flow-tools SYSCONFDIR= ${BASESYSCONFDIR}/flow-tools
CONFIGURE_ARGS+= --localstatedir=/var/flow-tools
.if !${FLAVOR:L:Mpgsql} .if !${FLAVOR:L:Mpgsql}
CONFIGURE_ARGS+= --without-postgresql CONFIGURE_ARGS+= --without-postgresql

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.20 2012/03/16 12:39:55 sthen Exp $ # $OpenBSD: Makefile,v 1.21 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT-main = network monitoring system (improved fork of Nagios) COMMENT-main = network monitoring system (improved fork of Nagios)
COMMENT-cgi = cgi scripts for Icinga (classic Nagios-style UI) COMMENT-cgi = cgi scripts for Icinga (classic Nagios-style UI)
@ -38,13 +38,14 @@ RUN_DEPENDS-cgi =
FAKE_FLAGS = CFGDIR=${TRUEPREFIX}/share/examples/icinga FAKE_FLAGS = CFGDIR=${TRUEPREFIX}/share/examples/icinga
LOCALSTATEDIR = ${BASELOCALSTATEDIR}/icinga
CONFIGURE_STYLE = gnu CONFIGURE_STYLE = gnu
CONFIGURE_STYLE += old # don't override sysconfdir CONFIGURE_STYLE += old # don't override sysconfdir
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--sysconfdir=${SYSCONFDIR}/icinga \ --sysconfdir=${SYSCONFDIR}/icinga \
--datarootdir=/var/www/icinga-cgi \ --datarootdir=/var/www/icinga-cgi \
--libexecdir=${PREFIX}/libexec/nagios \ --libexecdir=${PREFIX}/libexec/nagios \
--localstatedir=/var/icinga \
--sbindir=/var/www/cgi-bin/icinga \ --sbindir=/var/www/cgi-bin/icinga \
--with-command-group=www \ --with-command-group=www \
--with-cgiurl=/cgi-bin/icinga \ --with-cgiurl=/cgi-bin/icinga \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2011/12/03 15:01:38 sthen Exp $ # $OpenBSD: Makefile,v 1.10 2012/04/28 10:51:44 ajacoutot Exp $
# Work in progress. Not yet linked to the build. # Work in progress. Not yet linked to the build.
@ -18,11 +18,12 @@ RUN_DEPENDS = www/pear \
MAKE_FLAGS = PREFIX=/var/www/icinga-web MAKE_FLAGS = PREFIX=/var/www/icinga-web
FAKE_FLAGS = CFGDIR=${TRUEPREFIX}/share/examples/icinga FAKE_FLAGS = CFGDIR=${TRUEPREFIX}/share/examples/icinga
LOCALSTATEDIR = ${BASELOCALSTATEDIR}/icinga
CONFIGURE_STYLE = gnu CONFIGURE_STYLE = gnu
CONFIGURE_ENV += PHP="${MODPHP_BIN}" CONFIGURE_ENV += PHP="${MODPHP_BIN}"
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--datarootdir=/var/www \ --datarootdir=/var/www \
--localstatedir=/var/icinga \
--sbindir=/var/www/cgi-bin/icinga \ --sbindir=/var/www/cgi-bin/icinga \
--with-web-apache-path=/var/www/conf/modules.sample \ --with-web-apache-path=/var/www/conf/modules.sample \
--with-api-cmd-file=/var/icinga/rw/icinga.cmd \ --with-api-cmd-file=/var/icinga/rw/icinga.cmd \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.31 2010/10/18 21:50:39 sthen Exp $ # $OpenBSD: Makefile,v 1.32 2012/04/28 10:51:44 ajacoutot Exp $
# $FreeBSD: Makefile,v 1.19 1998/12/09 20:15:29 billf Exp $ # $FreeBSD: Makefile,v 1.19 1998/12/09 20:15:29 billf Exp $
COMMENT= internet relay chat (irc) server COMMENT= internet relay chat (irc) server
@ -20,11 +20,12 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m z WANTLIB= c m z
LOCALSTATEDIR= ${BASELOCALSTATEDIR}/run
CONFDIR= ${SYSCONFDIR}/ircd CONFDIR= ${SYSCONFDIR}/ircd
CONFIGURE_STYLE= gnu old CONFIGURE_STYLE= gnu old
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/support MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/support
CONFIGURE_ARGS= --logdir="/var/log/ircd" \ CONFIGURE_ARGS= --logdir="/var/log/ircd" \
--localstatedir="/var/run" \
--sysconfdir=${CONFDIR} --sysconfdir=${CONFDIR}
USE_GROFF = Yes USE_GROFF = Yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.51 2011/12/17 22:01:13 sthen Exp $ # $OpenBSD: Makefile,v 1.52 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT-main= host and service monitor COMMENT-main= host and service monitor
COMMENT-web= cgis and webpages for nagios COMMENT-web= cgis and webpages for nagios
@ -29,10 +29,11 @@ BUILD_DEPENDS= graphics/gd
LIB_DEPENDS= devel/libtool,-ltdl LIB_DEPENDS= devel/libtool,-ltdl
RUN_DEPENDS= net/nagios/plugins RUN_DEPENDS= net/nagios/plugins
LOCALSTATEDIR= ${BASELOCALSTATEDIR}/nagios
CONFIGURE_STYLE=gnu CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--datadir=/var/www/nagios \ CONFIGURE_ARGS+=--datadir=/var/www/nagios \
--libexecdir=${PREFIX}/libexec/nagios \ --libexecdir=${PREFIX}/libexec/nagios \
--localstatedir=/var/nagios \
--sbindir=/var/www/cgi-bin/nagios \ --sbindir=/var/www/cgi-bin/nagios \
--with-cgiurl=/cgi-bin/nagios \ --with-cgiurl=/cgi-bin/nagios \
--with-checkresult-dir=/var/spool/nagios \ --with-checkresult-dir=/var/spool/nagios \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2011/11/12 00:49:49 sthen Exp $ # $OpenBSD: Makefile,v 1.10 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT-main= nagios service check acceptor COMMENT-main= nagios service check acceptor
COMMENT-client= nagios service check acceptor - client COMMENT-client= nagios service check acceptor - client
@ -25,10 +25,11 @@ MASTER_SITES= http://spacehopper.org/mirrors/
WANTLIB= c mcrypt>=8 WANTLIB= c mcrypt>=8
LIB_DEPENDS= security/libmcrypt LIB_DEPENDS= security/libmcrypt
LOCALSTATEDIR= ${BASELOCALSTATEDIR}/nagios
CONFIGURE_STYLE= gnu CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-nsca-user=_nagios \ CONFIGURE_ARGS= --with-nsca-user=_nagios \
--with-nsca-grp=_nagios \ --with-nsca-grp=_nagios
--localstatedir=/var/nagios
MULTI_PACKAGES= -main -client MULTI_PACKAGES= -main -client

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.31 2011/09/21 17:20:56 jasper Exp $ # $OpenBSD: Makefile,v 1.32 2012/04/28 10:51:44 ajacoutot Exp $
SHARED_ONLY= Yes SHARED_ONLY= Yes
COMMENT= determine the malware activity on a network COMMENT= determine the malware activity on a network
@ -36,6 +36,8 @@ WANTLIB= c crypto idn m ssl stdc++ pcap z \
FAKE_FLAGS+= localstatedir='/var/nepenthes' \ FAKE_FLAGS+= localstatedir='/var/nepenthes' \
sysconfdir='${PREFIX}/share/examples' sysconfdir='${PREFIX}/share/examples'
LOCALSTATEDIR= ${BASELOCALSTATEDIR}/nepenthes
CONFIGURE_STYLE=gnu CONFIGURE_STYLE=gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include \ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/postgresql" -I${LOCALBASE}/include/postgresql"
@ -43,7 +45,6 @@ CONFIGURE_ARGS+=--enable-debug-logging \
--disable-mysql \ --disable-mysql \
--enable-postgre \ --enable-postgre \
--disable-capabilities \ --disable-capabilities \
--localstatedir='/var/nepenthes' \
--with-curl-lib=${PREFIX}/lib --with-curl-lib=${PREFIX}/lib
FLAVORS= prelude FLAVORS= prelude

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.27 2012/03/31 10:51:47 sthen Exp $ # $OpenBSD: Makefile,v 1.28 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT= multi-threaded routing daemon COMMENT= multi-threaded routing daemon
@ -22,6 +22,8 @@ WANTLIB= c curses m readline termcap
STATEDIR?= /var/quagga STATEDIR?= /var/quagga
SUBST_VARS= STATEDIR SUBST_VARS= STATEDIR
LOCALSTATEDIR= ${STATEDIR}
BUILD_DEPENDS= lang/gawk BUILD_DEPENDS= lang/gawk
USE_GMAKE= Yes USE_GMAKE= Yes
USE_LIBTOOL= Yes USE_LIBTOOL= Yes
@ -30,7 +32,6 @@ SEPARATE_BUILD= Yes
CONFIGURE_STYLE= autoconf CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.68 AUTOCONF_VERSION= 2.68
CONFIGURE_ARGS+= --includedir=${LOCALBASE}/include/quagga \ CONFIGURE_ARGS+= --includedir=${LOCALBASE}/include/quagga \
--localstatedir=${STATEDIR} \
--enable-user=_quagga \ --enable-user=_quagga \
--enable-group=_quagga \ --enable-group=_quagga \
--enable-vty-group=_quagga \ --enable-vty-group=_quagga \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2012/04/13 20:53:19 sthen Exp $ # $OpenBSD: Makefile,v 1.13 2012/04/28 10:51:44 ajacoutot Exp $
# needs machine/sysarch.h & machine/pio.h # needs machine/sysarch.h & machine/pio.h
ONLY_FOR_ARCHS= amd64 arm i386 ONLY_FOR_ARCHS= amd64 arm i386
@ -40,8 +40,7 @@ USE_GMAKE= Yes
USE_LIBTOOL= Yes USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=${CONFIGURE_SHARED} CONFIGURE_ARGS+=${CONFIGURE_SHARED}
CONFIGURE_ARGS+=--disable-dependency-tracking \ CONFIGURE_ARGS+=--disable-dependency-tracking
--localstatedir=/var
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS= localstatedir=${PREFIX}/share/examples/freeipmi \ FAKE_FLAGS= localstatedir=${PREFIX}/share/examples/freeipmi \
sysconfdir=${PREFIX}/share/examples/freeipmi sysconfdir=${PREFIX}/share/examples/freeipmi

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2011/06/02 13:41:41 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.13 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT = Really Awesome New Cisco confIg Differ COMMENT = Really Awesome New Cisco confIg Differ
@ -24,10 +24,11 @@ MASTER_SITES = ftp://ftp.shrubbery.net/pub/rancid/
RUN_DEPENDS = lang/expect,no_tk RUN_DEPENDS = lang/expect,no_tk
BUILD_DEPENDS = ${RUN_DEPENDS} BUILD_DEPENDS = ${RUN_DEPENDS}
LOCALSTATEDIR = ${BASELOCALSTATEDIR}/rancid
AUTOMAKE_VERSION = 1.8 AUTOMAKE_VERSION = 1.8
CONFIGURE_STYLE = automake CONFIGURE_STYLE = automake
CONFIGURE_ARGS = --prefix=${PREFIX} \ CONFIGURE_ARGS = --prefix=${PREFIX} \
--localstatedir=/var/rancid/ \
--disable-mk-localstatedir --disable-mk-localstatedir
USE_GMAKE = yes USE_GMAKE = yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2011/07/19 13:44:19 sthen Exp $ # $OpenBSD: Makefile,v 1.7 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT= small to medium scale full-text search engine COMMENT= small to medium scale full-text search engine
DISTNAME= namazu-2.0.21 DISTNAME= namazu-2.0.21
@ -25,10 +25,11 @@ BUILD_DEPENDS= misc/p5-File-MMagic
RUN_DEPENDS= archivers/unzip \ RUN_DEPENDS= archivers/unzip \
misc/p5-File-MMagic misc/p5-File-MMagic
LOCALSTATEDIR= ${BASELOCALSTATEDIR}/db
USE_LIBTOOL= Yes USE_LIBTOOL= Yes
USE_GROFF = Yes USE_GROFF = Yes
CONFIGURE_STYLE=gnu CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--localstatedir=/var/db
CFLAGS+= -I${LOCALBASE}/include CFLAGS+= -I${LOCALBASE}/include
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/namazu FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/namazu

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.125 2012/03/29 13:39:00 sthen Exp $ # $OpenBSD: Makefile,v 1.126 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT= WWW and FTP proxy cache and accelerator COMMENT= WWW and FTP proxy cache and accelerator
@ -43,6 +43,9 @@ SEPARATE_BUILD= Yes
AUTOCONF_VERSION= 2.62 AUTOCONF_VERSION= 2.62
CONFIGURE_STYLE= autoconf CONFIGURE_STYLE= autoconf
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/cfgaux MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/cfgaux
LOCALSTATEDIR= ${SQUIDDIR}
CONFIGURE_ARGS+=--datadir="${PREFIX}/share/squid" \ CONFIGURE_ARGS+=--datadir="${PREFIX}/share/squid" \
--enable-auth="${AUTH}" \ --enable-auth="${AUTH}" \
--enable-arp-acl \ --enable-arp-acl \
@ -56,7 +59,6 @@ CONFIGURE_ARGS+=--datadir="${PREFIX}/share/squid" \
--enable-ssl \ --enable-ssl \
--enable-storeio="${STOREIO}" \ --enable-storeio="${STOREIO}" \
--with-pthreads \ --with-pthreads \
--localstatedir="${SQUIDDIR}" \
--enable-follow-x-forwarded-for --enable-follow-x-forwarded-for
.if ${FLAVOR:L:Mldap} .if ${FLAVOR:L:Mldap}

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.12 2011/09/16 12:00:09 espie Exp $ # $OpenBSD: Makefile,v 1.13 2012/04/28 10:51:44 ajacoutot Exp $
COMMENT = filter, redirector and access controller for Squid COMMENT = filter, redirector and access controller for Squid
DISTNAME = squidGuard-1.4 DISTNAME = squidGuard-1.4
REVISION = 2 REVISION = 3
CATEGORIES = www CATEGORIES = www
HOMEPAGE = http://www.squidguard.org/ HOMEPAGE = http://www.squidguard.org/
@ -19,9 +19,9 @@ WANTLIB = c lib/db4/db pthread
MASTER_SITES = http://www.squidguard.org/Downloads/ MASTER_SITES = http://www.squidguard.org/Downloads/
SG_DIR = /var/db/squidGuard LOCALSTATEDIR= ${BASELOCALSTATEDIR}/db/squidGuard
CONFIG_DIR = ${SYSCONFDIR}/squidguard CONFIG_DIR = ${SYSCONFDIR}/squidguard
SUBST_VARS = SG_DIR CONFIG_DIR SUBST_VARS = LOCALSTATEDIR CONFIG_DIR
LIB_DEPENDS = databases/db/v4 LIB_DEPENDS = databases/db/v4
RUN_DEPENDS = www/squid RUN_DEPENDS = www/squid
@ -30,12 +30,10 @@ BUILD_DEPENDS = ${RUN_DEPENDS}
CONFIGURE_ENV = CFLAGS='${CFLAGS} -I${LOCALBASE}/include' \ CONFIGURE_ENV = CFLAGS='${CFLAGS} -I${LOCALBASE}/include' \
LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib' \ LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib' \
ac_cv_path_LYNX=false ac_cv_path_LYNX=false
CONFIGURE_STYLE = gnu CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --with-squiduser='_squid' \ CONFIGURE_ARGS = --with-squiduser='_squid' \
--localstatedir=${SG_DIR} \
--with-sg-logdir=/var/log/squidguard \ --with-sg-logdir=/var/log/squidguard \
--with-sg-dbhome=${SG_DIR}/db \ --with-sg-dbhome=${LOCALSTATEDIR}/db \
--with-sg-config=${CONFIG_DIR}/squidguard.conf \ --with-sg-config=${CONFIG_DIR}/squidguard.conf \
--with-db-lib=${LOCALBASE}/lib/db4 \ --with-db-lib=${LOCALBASE}/lib/db4 \
--with-db-inc=${LOCALBASE}/include/db4 --with-db-inc=${LOCALBASE}/include/db4

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2009/04/09 23:53:13 sthen Exp $ @comment $OpenBSD: PLIST,v 1.3 2012/04/28 10:51:44 ajacoutot Exp $
@bin bin/squidGuard @bin bin/squidGuard
share/doc/squidguard/ share/doc/squidguard/
share/doc/squidguard/LDAPFlow.txt share/doc/squidguard/LDAPFlow.txt
@ -53,9 +53,9 @@ share/examples/squidguard/squidGuard.cgi
@mode 771 @mode 771
@owner _squid @owner _squid
@group _squid @group _squid
@sample ${SG_DIR}/ @sample ${LOCALSTATEDIR}/
@sample ${SG_DIR}/db/ @sample ${LOCALSTATEDIR}/db/
@sample /var/log/squidguard/ @sample /var/log/squidguard/
@extraunexec rm -fr ${CONFIG_DIR} @extraunexec rm -fr ${CONFIG_DIR}
@extraunexec rm -fr ${SG_DIR} @extraunexec rm -fr ${LOCALSTATEDIR}
@extraunexec rm -fr /var/log/squidguard/ @extraunexec rm -fr /var/log/squidguard/