Commit graph

81 commits

Author SHA1 Message Date
schmonz
4293bce7a8 DESTDIR support. 2010-03-15 17:28:10 +00:00
zafer
5e7484edbf remove broken mirror. 2009-10-18 19:34:54 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
wiz
3c9e964885 Don't define two post-patch targets; instead, make them separate targets
and let post-patch depend on them.
2009-05-03 11:28:41 +00:00
hasso
ca07bdf6b2 Unbreak the build on DragonFly. The djbware-errno-hack option which is
necessary for DragonFly is defined in the mk/djbware.mk and it's processed
before the options.mk.
2009-05-02 19:13:34 +00:00
schmonz
9223163c6b Uncomment LICENSE. 2009-04-22 05:23:19 +00:00
schmonz
c85aed0869 Add DJB's patch to fix the axfrdns bug reported by Matthew Dempsky,
described here:

http://article.gmane.org/gmane.network.djbdns/13864

Add mutually exclusive options, both by Jeff King, to address the
dnscache poisoning weaknesses described in CVE-2008-4392:

* "djbdns-qmerge1" (from http://www.your.org/dnscache/)
* "djbdns-qmerge2" (from http://article.gmane.org/gmane.network.djbdns/13965)

Both options are included because qmerge1 is better tested but has
known shortcomings, while qmerge2 is probably more correct but (as
yet) less well tested.

Bump PKGREVISION.
2009-04-22 04:48:13 +00:00
sketch
ae75a2a7ad Add djbdns-cachestats option, show cache hits/misses in stats output. 2009-01-19 10:27:31 +00:00
schmonz
1e750b6014 Add commented-out LICENSE=public-domain. Nudged by gdt@. 2008-02-19 21:12:06 +00:00
schmonz
d49c575364 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 13:59:04 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00
jlam
ccdf6dbe01 Rename "SITES_* to "SITES.*" for file-specific lists of sites from which
to fetch the file.  This completes the renaming described in revision
1.1799 of bsd.pkg.mk.
2006-07-27 18:48:02 +00:00
schmonz
784c116818 Fix ${MACHINE_ARCH} conditional (it's "x86_64, not "amd64"). Since
Bernhard Roth's tinydns-data patch for 64-bit systems is no longer
available on the net, store it directly in pkgsrc.
2006-01-11 17:20:32 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
schmonz
ba7a2ddf66 Remove legacy DJB_ERRNO_HACK (replaced with djbware-errno-hack option). 2005-10-05 05:46:54 +00:00
schmonz
5c4a2be554 Now that a branch has been cut, remove PKG_OPTIONS_LEGACY_{OPTS,VARS}. 2005-10-05 04:28:00 +00:00
schmonz
ea35dfbdf2 Give these hacks a meaningful name ("arm-gcc2-optimizer"). 2005-09-02 01:40:20 +00:00
schmonz
2dc2287de8 Move hack to avoid gcc optimizer bug on arm platforms into hacks.mk. 2005-08-24 04:36:14 +00:00
jlam
bd2788d930 Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files.  Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
2005-08-19 18:12:36 +00:00
schmonz
07fa8b9536 Convert DJB_ERRNO_HACK to a "djbware-errno-hack" option available
in all packages using djbware.mk. For now, keep the same default,
avoiding PKGREVISION bumps.
2005-08-19 04:44:09 +00:00
schmonz
736775b870 Whitespace. 2005-08-19 03:55:00 +00:00
schmonz
e5cfe6f475 Distinguish package-specific options as such, supporting the old names
via PKG_OPTIONS_LEGACY_OPTS until after the next branch.
2005-07-19 19:41:19 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
schmonz
61e2dbf7ca Note axfrdns-conf(8) manpage in PLIST, and bump PKGREVISION. While
here, add an RMD160 checksum for the "ignoreip2" patch.
2005-04-09 22:39:44 +00:00
schmonz
6b25bba790 Standardize handling of additional distfiles (such as externally
supplied manual pages) across djbware.
2005-04-09 22:36:56 +00:00
schmonz
181be71e64 Belatedly suggest djbdns-run for rbldns service as well. 2005-04-07 05:21:16 +00:00
schmonz
a99a965a44 Bernhard Roth published his 64-bit tinydns-data fix. Pull it in as
an external patch file via the "tinydns64" option (enabled by
default on sparc64, alpha, and amd64).

Binary package should behave identically, so no PKGREVISION bump.
2005-03-30 10:00:36 +00:00
wiz
b8e0eb28f4 Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
2005-03-24 21:12:50 +00:00
schmonz
9f8e7d9843 Remove package-specific workarounds for the glibc-vs-errno conflict.
The "netqmail" PKG_OPTION to qmail is no longer enabled on Linux
by default; if you were relying on that, set it explicitly.
2005-03-23 01:48:06 +00:00
schmonz
2c2ad757b8 Whitespace. 2005-03-23 00:57:20 +00:00
schmonz
0f55d7d583 Take advantage of mk/djbware.mk. 2005-03-23 00:51:09 +00:00
schmonz
e18010d80b Incorporate patch from Bernhard Roth to correct the default values
generated by tinydns-data on sparc64 (and presumably other 64-bit
platforms). Discussed on the dns list in this thread:

http://marc.theaimsgroup.com/?l=djbdns&m=110845281123105&w=2

Bump PKGREVISION for this user-visible change.

Addresses PR pkg/28420.
2005-03-21 04:03:35 +00:00
schmonz
21af779684 In packages with djb-style compile scripts, properly enquote ${CC}
and ${CFLAGS}. This fixes the build of net/djbdns, as well as any
other of these packages passing down PKG_SYSCONFDIR via CFLAGS, as
well as being more generally correct for arbitrary user-defined
CFLAGS. Suggested by jlam.

For consistency across djbware in pkgsrc:

* In math/djbfft's and sysutils/daemontools's do-configure targets,
  remove leading @ from ${ECHO} lines; from the former, also remove
  unneeded single quotes from one such line.

* Rename net/publicfile's pre-build and sysutils/service-config's
  post-patch targets to do-configure.

* In sysutils/checkpassword's do-configure target, reorder creation
  of conf-cc, conf-ld, and conf-home.

All of the affected packages have been verified to compile.

XXX These packages probably have enough build goo in common to
XXX warrant an mk/djbware.mk. I'll investigate this post-freeze.
2005-03-13 03:25:43 +00:00
uebayasi
71960dee9e Fix quoting. 2005-03-07 09:41:45 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
xtraeme
54d05fa49a Remove obsolete variables. You'll want to use:
PKG_OPTIONS.<pkg>+= foo blah
2004-11-17 19:56:49 +00:00
schmonz
cc96b760e7 Describe this package's particular reasons for RESTRICTED. 2004-09-01 20:33:01 +00:00
schmonz
84bca92710 Whitespace, and remove the "by Dan Bernstein" from COMMENT. Everyone
already knows.
2004-09-01 20:11:02 +00:00
schmonz
5b4f879e40 Updated man pages to 20031023. From the changelog:
* merge changes from http://cr.yp.to/djbdns/doc.tar.gz into: axfr-get.8,
    tinydns-data.8.
* pickdns-conf.8, pickdns-data.8, pickdns.8: remove.
* dnscache-conf.8, rbldns-conf.8, tinydns-conf.8, walldns-conf.8: adapt.
* axfrdns-conf.8: new.

pkgsrc changes:
* Convert to bsd.options.mk. Available options: "ignoreip2 inet6".
* Set USE_BUILDLINK3=yes.
* Patch to honor PKG_SYSCONFDIR.
* As long as we're patching, patch the installer to avoid setting unusual
    permissions on ${PREFIX} and ${PREFIX}/bin.
* Work around the standard djbware errno problem on recent Linux glibc.
* Update to the latest pkgsrc djbware RESTRICTED clause.
* Remove the third-party logfile formatters (they can go elsewhere if needed).
* Take maintainership (suggested by zuntum).

Bump PKGREVISION.
2004-09-01 20:07:35 +00:00
zuntum
a33672e58a Look into ${DISTDIR}/${DIST_SUBDIR} instead of ${DISTDIR} when copying
dnscache-log.pl.txt and tinydns-log.pl.txt, so that this actually has
a chance to work.
2004-04-10 20:28:52 +00:00
taca
d33aba22c4 Add DIST_SUBDIR=${PKGNAME} in order to notify updated distfiles which
don't have version information.  Suggested by wiz@.
2004-03-30 17:12:28 +00:00
schmonz
99681e8cde Enable pkgviews installation. 2004-03-29 03:28:49 +00:00
taca
b8f59b49dc dnscache-log.pl.txt was changed to prevent output buffering.
Bump PACKAGEREVISION.

Noted by Michal Pasternak on tech-pkg.
2004-03-28 04:39:39 +00:00
jlam
3ac2d4b8aa In the new compiler selection framework, GCC_REQD is appended to, not
overridden.
2004-02-01 01:43:28 +00:00
schmonz
7028367739 Add Russ Nelson's dnscache patch to ignore IP addresses listed in
root/ignoreip, in response to Verisign's latest silliness. The
behavior of dnscache is unchanged unless you create this file. Bump
PKGREVISION.

While I'm here, change the "post-patch" target to "do-configure",
since that's what it's doing.

See <URL:http://tinydns.org/djbdns-1.05-ignoreip2.patch> for more
information about this patch.
2003-09-24 03:28:12 +00:00
grant
40614d0b3c get rid of USE_GCC2/3 in pkg Makefiles, and set GCC_REQD or
USE_PKGSRC_GCC as appropriate, as this is handled by compiler.mk now.
2003-09-17 19:39:58 +00:00
grant
ac2754dcb7 kill all references to gcc.buildlink2.mk and compiler.mk, and define
USE_GCC2 or USE_GCC3 where appropriate.

the functionality of the old gcc.buildlink2.mk has been rolled into
compiler.mk now, which is automatically used.

more changes to come later...
2003-09-12 20:07:06 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00