diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-29 16:38:20 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-29 16:38:20 +0000 |
commit | eef4fbe1cb14fd3b0c629818c9213acb56e64e0d (patch) | |
tree | c5592002161b235d4d01da9b26c529c239082947 /comms/hylafax | |
parent | 2668149028c94594ad966407608b30a612865844 (diff) | |
download | pkgsrc-eef4fbe1cb14fd3b0c629818c9213acb56e64e0d.tar.gz |
DESTDIR support
Diffstat (limited to 'comms/hylafax')
-rw-r--r-- | comms/hylafax/Makefile | 14 | ||||
-rw-r--r-- | comms/hylafax/distinfo | 4 | ||||
-rw-r--r-- | comms/hylafax/patches/patch-af | 37 |
3 files changed, 39 insertions, 16 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile index ad7dbb92a2d..bfae15b087f 100644 --- a/comms/hylafax/Makefile +++ b/comms/hylafax/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.60 2010/01/18 09:58:41 wiz Exp $ +# $NetBSD: Makefile,v 1.61 2010/01/29 16:44:13 joerg Exp $ VERS= 4.2.5 DISTNAME= hylafax-${VERS} @@ -8,6 +8,8 @@ MASTER_SITES_BETA= ftp://ftp.hylafax.org/source/BETA/ MASTER_SITES_RELEASE= ftp://ftp.hylafax.org/source/ MASTER_SITES= ${MASTER_SITES_RELEASE} +PKG_DESTDIR_SUPPORT= user-destdir + MAINTAINER= hallmann@ahatec.de HOMEPAGE= http://www.hylafax.org/ COMMENT= Telecommunication and fax server system @@ -38,8 +40,10 @@ MAKE_JOBS_SAFE= NO INSTALLATION_DIRS= libdata/hylafax -SUID_EXES= ${PREFIX}/libexec/faxgetty ${PREFIX}/sbin/faxq \ - ${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter +SPECIAL_PERMS+= bin/faxalter ${SETUID_ROOT_PERMS} \ + bin/faxrm ${SETUID_ROOT_PERMS} \ + libexec/faxgetty ${SETUID_ROOT_PERMS} \ + sbin/faxq ${SETUID_ROOT_PERMS} PKG_OPTIONS_VAR= PKG_OPTIONS.hylafax PKG_SUPPORTED_OPTIONS= pam @@ -59,10 +63,6 @@ CONFIGURE_ARGS+= --disable-pam CONFIGURE_ENV+= MACHDEPLIBS=-lrt .endif -post-install: - chown ${FAXUSER} ${SUID_EXES} - chmod 4555 ${SUID_EXES} - .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/jpeg/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" diff --git a/comms/hylafax/distinfo b/comms/hylafax/distinfo index 34d3a95fc4b..448e7d29f4a 100644 --- a/comms/hylafax/distinfo +++ b/comms/hylafax/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.20 2009/08/27 17:09:55 wiz Exp $ +$NetBSD: distinfo,v 1.21 2010/01/29 16:44:13 joerg Exp $ SHA1 (hylafax-4.2.5.tar.gz) = b3bfd492dcb85e8aa1ddff9e6dcec3c31e00fccc RMD160 (hylafax-4.2.5.tar.gz) = aef5e7a8ff32bafa43b5efc431b9fd8c334ddb3a @@ -8,7 +8,7 @@ SHA1 (patch-ab) = 5ee930814178223fa66dd308f365ff400559fd1d SHA1 (patch-ac) = 6f89cc0c9e7a0e789c23b0dfc604376e457091b7 SHA1 (patch-ad) = a7e361980c94a025be0b326c1cf694cce3cbff72 SHA1 (patch-ae) = c6720fa1ddd3b733827847e7f57b6c807641c5a7 -SHA1 (patch-af) = 5c2429d08f2f4c6f5af19dd4775277434abc7ac4 +SHA1 (patch-af) = cb76c429c01e05ceeee7664a09344dc9d27f972d SHA1 (patch-ag) = e1a38918cadf1d1cca7765ee2c050e99dfed0b7f SHA1 (patch-ah) = 084a99cfe21d7090fca33d9e068036e19707f441 SHA1 (patch-ai) = d45bb9e224b18999489314aa1c1c74fc62a77328 diff --git a/comms/hylafax/patches/patch-af b/comms/hylafax/patches/patch-af index 7b137c63c33..bbf16210a70 100644 --- a/comms/hylafax/patches/patch-af +++ b/comms/hylafax/patches/patch-af @@ -1,15 +1,29 @@ -$NetBSD: patch-af,v 1.7 2005/01/27 16:22:37 adam Exp $ +$NetBSD: patch-af,v 1.8 2010/01/29 16:44:13 joerg Exp $ ---- defs.in.orig 2004-04-27 20:16:15.000000000 +0000 +--- defs.in.orig 2005-09-27 18:38:24.000000000 +0000 +++ defs.in -@@ -44,6 +44,7 @@ SHELL = @SCRIPT_SH@ +@@ -44,13 +44,14 @@ SHELL = @SCRIPT_SH@ # to insufficient; you are better off rerunning the # configure script so that all uses are set correctly. # -+PREFIX = @PREFIX@ - SPOOL = @SPOOL@ - SBIN = @SBIN@ - BIN = @BIN@ +-SPOOL = @SPOOL@ +-SBIN = @SBIN@ +-BIN = @BIN@ +-LIBDATA = @LIBDATA@ +-LIBDIR = @LIBDIR@ +-LIBEXEC = @LIBEXEC@ +-HTMLDIR = @HTMLDIR@ ++PREFIX = ${DESTDIR}@PREFIX@ ++SPOOL = ${DESTDIR}@SPOOL@ ++SBIN = ${DESTDIR}@SBIN@ ++BIN = ${DESTDIR}@BIN@ ++LIBDATA = ${DESTDIR}@LIBDATA@ ++LIBDIR = ${DESTDIR}@LIBDIR@ ++LIBEXEC = ${DESTDIR}@LIBEXEC@ ++HTMLDIR = ${DESTDIR}@HTMLDIR@ + FONTMAP = @FONTMAP@ + FONTPATH = @FONTPATH@ + SENDMAIL = @SENDMAIL@ @@ -261,7 +262,7 @@ LDFLAGS = ${LDOPTS} ${LDLIBS} LDOPTS = ${VLDOPTS} ${LLDOPTS} ${GLDOPTS} LDLIBS = ${VLDLIBS} ${LLDLIBS} ${GLDLIBS} @@ -19,3 +33,12 @@ $NetBSD: patch-af,v 1.7 2005/01/27 16:22:37 adam Exp $ GLDLIBS = ${SHDLIBC} # +@@ -322,7 +323,7 @@ INCLDIR = /usr/include + # MANSYS subdirectory for server & server-related apps + # MANFILES subdirectory for file format info + # +-MAN = @MANDIR@ ++MAN = ${DESTDIR}@MANDIR@ + MANAPPS = @MANAPPS@ + MANSYS = @MANSYS@ + MANFILES = @MANFILES@ |