pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/publicfile



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sun Jul 29 23:46:21 UTC 2018

Modified Files:
        pkgsrc/net/publicfile: Makefile
Added Files:
        pkgsrc/net/publicfile: options.mk

Log Message:
Add 'inet6' option to control dependency on ucspi-tcp{6,}. Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/net/publicfile/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/publicfile/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/publicfile/Makefile
diff -u pkgsrc/net/publicfile/Makefile:1.14 pkgsrc/net/publicfile/Makefile:1.15
--- pkgsrc/net/publicfile/Makefile:1.14 Wed Jul 25 16:32:34 2018
+++ pkgsrc/net/publicfile/Makefile      Sun Jul 29 23:46:21 2018
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2018/07/25 16:32:34 schmonz Exp $
+# $NetBSD: Makefile,v 1.15 2018/07/29 23:46:21 schmonz Exp $
 #
 
 DISTNAME=              publicfile-0.52
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            net
 MASTER_SITES=          http://cr.yp.to/publicfile/
 
@@ -11,7 +11,6 @@ HOMEPAGE=             http://cr.yp.to/publicfile.ht
 COMMENT=               Secure read-only HTTP and FTP servers
 
 DEPENDS+=              daemontools-[0-9]*:../../sysutils/daemontools
-DEPENDS+=              ucspi-tcp6-[0-9]*:../../net/ucspi-tcp6
 
 DJB_RESTRICTED=                YES
 DJB_CONFIG_PREFIX=     ${PREFIX}/publicfile

Added files:

Index: pkgsrc/net/publicfile/options.mk
diff -u /dev/null pkgsrc/net/publicfile/options.mk:1.1
--- /dev/null   Sun Jul 29 23:46:21 2018
+++ pkgsrc/net/publicfile/options.mk    Sun Jul 29 23:46:21 2018
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2018/07/29 23:46:21 schmonz Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.publicfile
+PKG_SUPPORTED_OPTIONS+=        inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+DEPENDS+=              ucspi-tcp6-[0-9]*:../../net/ucspi-tcp6
+.else
+DEPENDS+=              ucspi-tcp-[0-9]*:../../net/ucspi-tcp
+.endif



Home | Main Index | Thread Index | Old Index