summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlkoeller <lkoeller@FreeBSD.org>2004-01-18 16:29:11 +0000
committerlkoeller <lkoeller@FreeBSD.org>2004-01-18 16:29:11 +0000
commitc64bd007a66b25949b23b89a57a51123640fd84b (patch)
tree97bba2e88f288e3f5ba30add118dd4fac4e466d3
parented58a041728de21962b25087655fe04625525986 (diff)
downloadFreeBSD-ports-c64bd007a66b25949b23b89a57a51123640fd84b.zip
FreeBSD-ports-c64bd007a66b25949b23b89a57a51123640fd84b.tar.gz
o) Add option --with-nologin=/var/run
o) Modify configure to use internal libgd. This avoids compat problems and the overkill install of libgd and dependent ports for a apcupsd server machine. Submitted by: Neil Darlow <neil@darlow.co.uk>
-rw-r--r--sysutils/apcupsd/Makefile3
-rw-r--r--sysutils/apcupsd/files/patch-configure-internal-libgd13
2 files changed, 15 insertions, 1 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index 954c472..369d07e 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= apcupsd
PORTVERSION= 3.10.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -24,6 +24,7 @@ PLIST_SUB= STARTUP_SCRIPT=${STARTUP_SCRIPT}
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --sbindir=${PREFIX}/sbin \
+ --with-nologin=/var/run \
--disable-install-distdir --enable-usb \
--sysconfdir=${PREFIX}/etc/apcupsd \
--with-serial-dev=/dev/usv \
diff --git a/sysutils/apcupsd/files/patch-configure-internal-libgd b/sysutils/apcupsd/files/patch-configure-internal-libgd
new file mode 100644
index 0000000..a7e9145
--- /dev/null
+++ b/sysutils/apcupsd/files/patch-configure-internal-libgd
@@ -0,0 +1,13 @@
+*** configure.org Sun Jan 18 17:20:53 2004
+--- configure Sun Jan 18 17:21:48 2004
+***************
+*** 8924,8929 ****
+--- 8924,8931 ----
+ fi
+
+ fi
++ # Always use internal libgd LK!!!
++ SYS_GD_FOUND=no
+ if test "${SYS_GD_FOUND}" = "no"
+ then
+ if test -d src/gd1.2
OpenPOWER on IntegriCloud