diff options
author | alepulver <alepulver@FreeBSD.org> | 2006-11-02 04:02:31 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2006-11-02 04:02:31 +0800 |
commit | 794e4b3131ed09e0ddd7407dd4922328c4544fe2 (patch) | |
tree | af4ec86a9a66bda4679a2b093c66c6dc3333965d /sysutils/heartbeat/Makefile | |
parent | f5d5c5e3cd49b5ac9f03dd50070c65611ed5c884 (diff) | |
download | freebsd-ports-gnome-794e4b3131ed09e0ddd7407dd4922328c4544fe2.tar.gz freebsd-ports-gnome-794e4b3131ed09e0ddd7407dd4922328c4544fe2.tar.zst freebsd-ports-gnome-794e4b3131ed09e0ddd7407dd4922328c4544fe2.zip |
- Update to 1.2.5, fixing a DoS vulnerability.
- usr /var for runtime files making it possible to keep /usr mounted r/o.
- Grab 275 as a reserved UID and GID.
- Remove old cruft in pkg-install.
- Make 'make -DBATCH install' work non-interactively.
- Make 'pkg_add heartbeat-1.2.5' work non-interactively.
- Installation will fail without the user/group, so I simply create them.
PR: ports/104577
Submitted by: Ulrich Spoerlein <uspoerlein@gmail.com>
Approved by: Scott Kleihege <scott-ports@tummy.com> (maintainer)
Diffstat (limited to 'sysutils/heartbeat/Makefile')
-rw-r--r-- | sysutils/heartbeat/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/sysutils/heartbeat/Makefile b/sysutils/heartbeat/Makefile index e0b778dbdd9e..be93b8c7c087 100644 --- a/sysutils/heartbeat/Makefile +++ b/sysutils/heartbeat/Makefile @@ -6,7 +6,7 @@ # PORTNAME= heartbeat -PORTVERSION= 1.2.4 +PORTVERSION= 1.2.5 CATEGORIES= sysutils MASTER_SITES= http://linux-ha.org/download/ @@ -24,7 +24,9 @@ USE_GNOME= glib12 USE_LDCONFIG= yes CONFIGURE_ARGS+= --disable-fatal-warnings \ - --with-initdir=${PREFIX}/etc/rc.d + --with-initdir=${PREFIX}/etc/rc.d \ + --localstatedir=/var \ + --with-group-id=275 --with-ccmuser-id=275 SUB_FILES= pkg-install PKGDEINSTALL= ${PKGINSTALL} @@ -63,11 +65,15 @@ post-patch: ${WRKSRC}/telecom/cms/Makefile.in .endif +.if !defined(BATCH) +BATCH=no +.endif + post-deinstall: - @${SH} ${PKGINSTALL} ${PKGNAME} DEINSTALL + @BATCH=${BATCH} ${SH} ${PKGINSTALL} ${PKGNAME} DEINSTALL post-install: - @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @BATCH=${BATCH} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL # some subdirs treat man as documentation, therefor we have to install # those man pages manually if NOPORTDOCS is defined |