pkgsrc/devel/cvsd/patches/patch-ac
schnoebe 7f8cb161ff Bring cvsd up to date as 1.0.22.
Changelog:

2011-06-13 release 1.0.22 of cvsd
changes since 1.0.21:

    + don't log EINTR on select() any more, not even in debug mode
    + fix for cvsd-buildroot to also work on multiarch setups
    + log address and port with bind() failures
    + Debian packaging updates

2010-09-08 release 1.0.21 of cvsd
changes since 1.0.20:

    + handle failure to bind() as a fatal error now

2010-09-05 release 1.0.20 of cvsd
changes since 1.0.19:

    + correctly listen on IPv4 and IPv6 addresses with recent Glibc
      versions by not depending on the order of address records returned by
      getaddrinfo() and work regardless of net.ipv6.bindv6only sysctl

2010-08-17 release 1.0.19 of cvsd
    changes since 1.0.18:

    + cvsd-buildroot: ignore commented out lines in CVSROOT/passwd files
    + cvsd-buildroot: set an umask for generated files
    + some documentation updates
    + change init script dependency on $remote_fs (for /usr) from Should
      to Required (thanks lintian)
    + Debian packaging improvements

2010-01-14 release 1.0.18 of cvsd
changes since 1.0.17:

    + use simpler shell semantics in cvsd-buildroot to fix a problem
      with bash 4
    + fix call to uname in the cvsd-buginfo script

2009-12-30 release 1.0.17 of cvsd
    changes since 1.0.16:

    + update to automake 1.11
    + some small spelling fixes in documentation
    + changed references to home page and contact email addresses to use
      arthurdejong.org
    + Debian packaging improvements
2011-10-03 23:45:27 +00:00

48 lines
1.5 KiB
Text

$NetBSD: patch-ac,v 1.4 2011/10/03 23:45:27 schnoebe Exp $
Modify to follow pkgsrc conventions.
Make sure the README file gets install into the standard documentation
directory.
--- Makefile.in.orig 2011-06-12 10:58:23.000000000 +0000
+++ Makefile.in
@@ -213,6 +213,8 @@ libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
+exampledir = $(prefix)/share/examples/@PACKAGE@
+docdir = $(prefix)/share/doc/@PACKAGE@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
@@ -870,18 +872,21 @@ uninstall-man: uninstall-man5 uninstall-
# install configuration files
-install-data-local: install-configfile install-initscript
+install-data-local: install-configfile install-readme
+
+install-readme:
+ if [ $(DESTDIR)$(docdir) ]; then \
+ $(mkinstalldirs) $(DESTDIR)$(docdir); \
+ fi
+ $(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(docdir)
+
uninstall-local: uninstall-configfile uninstall-initscript
install-configfile:
- if [ ! -d $(DESTDIR)$(sysconfdir)/cvsd ]; then \
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/cvsd;\
- fi
- if [ ! -f $(DESTDIR)$(CONFIGFILE) ]; then \
- $(INSTALL_DATA) $(srcdir)/cvsd.conf-dist $(DESTDIR)$(CONFIGFILE); \
- else \
- echo "$(DESTDIR)$(CONFIGFILE) already exists, install will not overwrite"; \
+ if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir);\
fi
+ $(INSTALL_DATA) $(srcdir)/cvsd.conf-dist $(DESTDIR)$(exampledir)/cvsd.conf.example;
uninstall-configfile:
-rm -f $(DESTDIR)$(CONFIGFILE)