2014-10-09 16:05:50 +02:00
|
|
|
# $NetBSD: Makefile,v 1.63 2014/10/09 14:06:44 wiz Exp $
|
2000-12-27 17:04:23 +01:00
|
|
|
|
2004-09-01 22:11:02 +02:00
|
|
|
DISTNAME= djbdns-1.05
|
2011-06-09 02:55:40 +02:00
|
|
|
PKGREVISION= 10
|
2004-09-01 22:11:02 +02:00
|
|
|
CATEGORIES= net
|
2011-06-09 02:55:40 +02:00
|
|
|
MASTER_SITES= http://cr.yp.to/djbdns/
|
2004-09-01 22:11:02 +02:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MANPAGES}
|
2000-12-28 15:37:18 +01:00
|
|
|
|
2004-09-01 22:11:02 +02:00
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
|
|
HOMEPAGE= http://cr.yp.to/djbdns.html
|
|
|
|
COMMENT= Collection of secure and reliable DNS tools
|
2009-04-22 07:23:19 +02:00
|
|
|
LICENSE= public-domain
|
2000-12-27 17:04:23 +01:00
|
|
|
|
2005-04-10 00:36:56 +02:00
|
|
|
MANPAGES= ${DISTNAME}-man-20031023.tar.gz
|
2006-07-27 20:48:02 +02:00
|
|
|
SITES.${MANPAGES}= http://smarden.org/pape/djb/manpages/
|
2004-09-01 22:07:35 +02:00
|
|
|
|
2004-09-01 22:33:01 +02:00
|
|
|
# We change conf-home from the default "/usr/local" and don't
|
|
|
|
# provide compatibility symlinks. We also patch to honor PKG_SYSCONFDIR
|
|
|
|
# and to set reasonable permissions on standard pkgsrc directories.
|
DJB has placed certain of his software in the public domain. Excerpted
from <URL:http://cr.yp.to/distributors.html>:
What are the distribution terms for daemontools?
2007.12.28: I hereby place the daemontools package (in particular,
daemontools-0.76.tar.gz, with MD5 checksum
1871af2453d6e464034968a0fbcb2bfc) into the public domain. The
package is no longer copyrighted.
What are the distribution terms for djbdns?
2007.12.28: I hereby place the djbdns package (in particular,
djbdns-1.05.tar.gz, with MD5 checksum 3147c5cd56832aa3b41955c7a51cbeb2)
into the public domain. The package is no longer copyrighted.
What are the distribution terms for ucspi-tcp?
2007.12.28: I hereby place the ucspi-tcp package (in particular,
ucspi-tcp-0.88.tar.gz, with MD5 checksum
39b619147db54687c4a583a7a94c9163) into the public domain. The
package is no longer copyrighted.
Am I free to modify uncopyrighted packages and distribute modified
versions?
Yes. But this does not mean that modifications are _encouraged_!
And from <URL:http://cr.yp.to/qmail/dist.html>:
I hereby place the qmail package (in particular, qmail-1.03.tar.gz,
with MD5 checksum 622f65f982e380dbe86e6574f3abcb7c) into the
public domain. You are free to modify the package, distribute
modified versions, etc.
This does not mean that modifications are encouraged!
pkgsrc will strive, as it has, to keep modifications to a tasteful
minimum. This addresses PR pkg/37964 by Aleksej Saushev.
2008-02-19 14:59:04 +01:00
|
|
|
# This no longer affects distributability, as djbdns is public domain.
|
2009-10-18 21:34:54 +02:00
|
|
|
DJB_RESTRICTED= no
|
2000-12-27 17:04:23 +01:00
|
|
|
|
2004-09-01 22:11:02 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/djbdns
|
2005-03-07 10:41:45 +01:00
|
|
|
CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
|
2004-09-01 22:11:02 +02:00
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}
|
2011-06-09 02:55:40 +02:00
|
|
|
CONF_FILES+= ${EGDIR}/dnsroots.global ${PKG_SYSCONFDIR}/dnsroots.global
|
2004-09-01 22:11:02 +02:00
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST
|
2001-11-18 14:15:55 +01:00
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin man ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 share/examples/djbdns
|
2004-09-01 22:07:35 +02:00
|
|
|
|
2000-12-27 17:04:23 +01:00
|
|
|
post-install:
|
2010-03-15 18:28:10 +01:00
|
|
|
cd ${WRKDIR}/${PKGBASE}-man; for i in 1 5 8; do \
|
|
|
|
for j in *.$$i; do ${INSTALL_MAN} $$j \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man$$i; done \
|
Update contributed man pages. From the changelog:
Wed, 2 May 2001 14:30:38 +0200
* merged changes from axfr-get.html into axfr-get.8
* added contributed man-page tinydns-edit.8, thanks Jonathan de Boyne
Pollard.
Wed, 30 Jan 2002 16:29:54 +0100
* merged changes from tinydns-data.html into tinydns-data.8
Wed, 11 Dec 2002 10:23:18 +0100
* merge changes from http://cr.yp.to/djbdns/doc.tar.gz into: axfr-get.8,
dnscache-conf.8, dnscache.8, dnsfilter.1, dnsip.1, dnsipq.1, dnsmx.1,
dnsname.1, dnsq.1, dnsqr.1, dnstrace.1, dnstxt.1, qualification.5,
tinydns-conf.8, tinydns-data.8.
* tinydns-get.1: new.
pkgsrc changes:
- simplify post-extract by using REPLACE_PERL
- simplify post-install by looping over all available man pages
- update MASTER_SITES for man pages
- bump PKGREVISION (a few man pages added)
2002-12-14 03:51:00 +01:00
|
|
|
done
|
2000-12-27 17:04:23 +01:00
|
|
|
|
2005-03-23 01:51:09 +01:00
|
|
|
.include "../../mk/djbware.mk"
|
2000-12-27 17:04:23 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|