pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Only a few djb-nonlicense packages remain. Retire DJB_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58e08227c160
branches:  trunk
changeset: 442119:58e08227c160
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Nov 19 08:11:18 2020 +0000

description:
Only a few djb-nonlicense packages remain. Retire DJB_RESTRICTED,
instead setting LICENSE directly in those packages. Remove outdated
djbware.mk TODO items.

diffstat:

 mail/qmailanalog/Makefile        |   4 ++--
 mail/serialmail/Makefile         |   7 ++-----
 mk/djbware.mk                    |  27 ++++++---------------------
 net/publicfile/Makefile          |   4 ++--
 sysutils/service-config/Makefile |  10 ++++------
 5 files changed, 16 insertions(+), 36 deletions(-)

diffs (145 lines):

diff -r 11cfba714deb -r 58e08227c160 mail/qmailanalog/Makefile
--- a/mail/qmailanalog/Makefile Thu Nov 19 02:57:11 2020 +0000
+++ b/mail/qmailanalog/Makefile Thu Nov 19 08:11:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2020/06/25 05:42:38 schmonz Exp $
+# $NetBSD: Makefile,v 1.19 2020/11/19 08:11:18 schmonz Exp $
 #
 
 DISTNAME=              qmailanalog-0.70
@@ -9,8 +9,8 @@
 MAINTAINER=            schmonz%NetBSD.org@localhost
 HOMEPAGE=              https://cr.yp.to/qmailanalog.html
 COMMENT=               Collection of tools to help analyze qmail's activity
+LICENSE=               djb-nonlicense
 
-DJB_RESTRICTED=                YES
 DJB_CONFIG_PREFIX=     ${PREFIX}/qmailanalog
 
 SUBST_CLASSES+=                djberrno
diff -r 11cfba714deb -r 58e08227c160 mail/serialmail/Makefile
--- a/mail/serialmail/Makefile  Thu Nov 19 02:57:11 2020 +0000
+++ b/mail/serialmail/Makefile  Thu Nov 19 08:11:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2020/06/25 05:42:38 schmonz Exp $
+# $NetBSD: Makefile,v 1.14 2020/11/19 08:11:18 schmonz Exp $
 #
 
 DISTNAME=              serialmail-0.75
@@ -9,15 +9,12 @@
 MAINTAINER=            schmonz%NetBSD.org@localhost
 HOMEPAGE=              https://cr.yp.to/serialmail.html
 COMMENT=               Tools for passing mail across serial links
+LICENSE=               djb-nonlicense
 
 DEPENDS+=              qmail>=1.03nb7:../../mail/qmail
 
 INSTALLATION_DIRS=     share/doc/${PKGBASE}
 
-# We change conf-home from the default "/usr/local" and don't
-# provide compatibility symlinks. We also apply patches.
-DJB_RESTRICTED=                YES
-
 SUBST_CLASSES+=                djberrno
 
 SUBST_CLASSES+=                paths
diff -r 11cfba714deb -r 58e08227c160 mk/djbware.mk
--- a/mk/djbware.mk     Thu Nov 19 02:57:11 2020 +0000
+++ b/mk/djbware.mk     Thu Nov 19 08:11:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: djbware.mk,v 1.30 2020/06/25 05:42:36 schmonz Exp $
+# $NetBSD: djbware.mk,v 1.31 2020/11/19 08:11:18 schmonz Exp $
 #
 # Makefile fragment for packages with djb-style build machinery
 #
@@ -8,24 +8,10 @@
 # * typical values for conf-* files
 # * replace inline definitions of errno with "#include <errno.h>"
 #
-# TODO:
-# * centralize handling of third-party manpages
-# * centralize MASTER_SITES and SITES_foo
-# * centralize compiler hack for arm{,32}
-# * common install script for compatibility with default conf-home pathnames
-# * PKG_OPTIONS (default):
-#     djbware-errno-hack (off)
-#     djbware-pathname-compat (on)
-#     inet6 (off)
-#     pam (off)
-# * set RESTRICTED automatically iff patches or other mods are applied
-# * be unrestricted by default for bulk builds
-#
 
 .if !defined(DJBWARE_MK)
 DJBWARE_MK=            # defined
 
-DJB_RESTRICTED?=       YES
 DJB_MAKE_TARGETS?=     YES
 DJB_BUILD_TARGETS?=    # empty
 DJB_INSTALL_TARGETS?=  # empty
@@ -40,12 +26,11 @@
 DJB_CONFIG_HOME?=      conf-home
 DJB_CONFIG_CMDS?=      ${DO_NADA}
 
-.if !empty(DJB_RESTRICTED:M[yY][eE][sS])
-LICENSE=               djb-nonlicense
-
-RESTRICTED=            modified source and binaries may not be distributed
-NO_BIN_ON_CDROM=       ${RESTRICTED}
-NO_BIN_ON_FTP=         ${RESTRICTED}
+.if ${LICENSE} == "djb-nonlicense"
+# So-licensed packages that install totally unmodified may want to opt out
+RESTRICTED?=           modified source and binaries may not be distributed
+NO_BIN_ON_CDROM?=      ${RESTRICTED}
+NO_BIN_ON_FTP?=                ${RESTRICTED}
 .endif
 
 .if !empty(DJB_MAKE_TARGETS:M[yY][eE][sS])
diff -r 11cfba714deb -r 58e08227c160 net/publicfile/Makefile
--- a/net/publicfile/Makefile   Thu Nov 19 02:57:11 2020 +0000
+++ b/net/publicfile/Makefile   Thu Nov 19 08:11:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2020/06/25 05:42:36 schmonz Exp $
+# $NetBSD: Makefile,v 1.19 2020/11/19 08:11:18 schmonz Exp $
 #
 
 DISTNAME=              publicfile-0.52
@@ -9,10 +9,10 @@
 MAINTAINER=            schmonz%NetBSD.org@localhost
 HOMEPAGE=              https://cr.yp.to/publicfile.html
 COMMENT=               Secure read-only HTTP and FTP servers
+LICENSE=               djb-nonlicense
 
 DEPENDS+=              daemontools-[0-9]*:../../sysutils/daemontools
 
-DJB_RESTRICTED=                YES
 DJB_CONFIG_PREFIX=     ${PREFIX}/publicfile
 
 SUBST_CLASSES+=                djberrno
diff -r 11cfba714deb -r 58e08227c160 sysutils/service-config/Makefile
--- a/sysutils/service-config/Makefile  Thu Nov 19 02:57:11 2020 +0000
+++ b/sysutils/service-config/Makefile  Thu Nov 19 08:11:18 2020 +0000
@@ -1,19 +1,17 @@
-# $NetBSD: Makefile,v 1.14 2020/06/25 05:42:39 schmonz Exp $
+# $NetBSD: Makefile,v 1.15 2020/11/19 08:11:18 schmonz Exp $
 #
 
 DISTNAME=              service-config-0.51
 CATEGORIES=            sysutils
-MASTER_SITES=          http://www.superscript.com/service-config/
+MASTER_SITES=          ${MASTER_SITE_LOCAL}
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-#HOMEPAGE=             http://www.superscript.com/service-config/intro.html
+HOMEPAGE=              https://web.archive.org/web/20090302170825/http://www.superscript.com/service-config/intro.html
 COMMENT=               Utility to create and configure svscan service directories
+LICENSE=               djb-nonlicense
 
 DEPENDS+=              daemontools-[0-9]*:../../sysutils/daemontools
 
-# Possibly inherited DJB-style distribution terms
-DJB_RESTRICTED=                YES
-
 SUBST_CLASSES+=                djberrno
 
 INSTALLATION_DIRS=     bin



Home | Main Index | Thread Index | Old Index