Bug 139273 - [MAINTAINER] dns/dnsmasq: update to 2.51 rc1
Summary: [MAINTAINER] dns/dnsmasq: update to 2.51 rc1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wesley Shields
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-01 09:30 UTC by Matthias Andree
Modified: 2010-01-25 23:20 UTC (History)
0 users

See Also:


Attachments
dnsmasq-2.51.r1.patch (4.75 KB, patch)
2009-10-01 09:30 UTC, Matthias Andree
no flags Details | Diff
dnsmasq-newer.patch (5.36 KB, patch)
2009-10-12 00:09 UTC, Matthias Andree
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree 2009-10-01 09:30:03 UTC
- update to 2.51.rc1
- install default configuration unless one already exists
- remove configuration if unchanged from default
- enable IDN/NLS in the build, enable by default
  note: these are currently tied together in the upstream dnsmasq and
  cannot be selected individually. This was reported to the upstream
  maintainer.
- add a tiny post-install message to help rookies, suggested by
  Sylvio Cesar scjamorim(a)bsd.com.br in ports/138514.

Added file(s):
- pkg-install

Generated with FreeBSD Port Tools 0.77
Comment 1 Matthias Andree 2009-10-12 00:09:43 UTC
Please use the attached newer patch instead,
- it makes sure pkg-config is only build-time, not run-time dependency.
- it makes sure we depend on pkg-config only if really needed
- it moves the @unexec up in the pkg-plist so that we have something to  
compare the config file against and will actually delete it if unaltered.

-- 
Matthias Andree
Comment 2 Wesley Shields freebsd_committer freebsd_triage 2009-10-12 18:33:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

I'll take it.
Comment 3 Wesley Shields freebsd_committer freebsd_triage 2009-10-13 17:35:41 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2009-10-13 17:35:46 UTC
wxs         2009-10-13 16:35:32 UTC

  FreeBSD ports repository

  Modified files:
    dns/dnsmasq          Makefile distinfo pkg-plist 
  Added files:
    dns/dnsmasq/files    pkg-message.in 
  Log:
  - Update to 2.51rc1
  - Add pkg-message
  - Add NLS and IDN option (currently linked together in one option, this will
    be changed in future releases hopefully)
  - Properly handle example configuration files
  
  PR:             ports/139273
  Submitted by:   Matthias Andree <matthias.andree@gmx.de> (maintainer)
  
  Revision  Changes    Path
  1.57      +33 -10    ports/dns/dnsmasq/Makefile
  1.41      +3 -3      ports/dns/dnsmasq/distinfo
  1.1       +2 -0      ports/dns/dnsmasq/files/pkg-message.in (new)
  1.5       +12 -0     ports/dns/dnsmasq/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Petar Bogdanovic 2010-01-25 23:03:11 UTC
Hi,

> --- ports/dns/dnsmasq/pkg-plist	2006/02/22 20:16:25	1.4
> +++ ports/dns/dnsmasq/pkg-plist	2009/10/13 16:35:32	1.5
> @@ -1,4 +1,6 @@
>  sbin/dnsmasq
> +@exec if [ ! -f %D/etc/dnsmasq.conf ]; then cp -p %D/%F %B/dnsmasq.conf; fi

I couldn't figure out what %F and %B exactly mean but the result kind of
narrows it down:

   $ ls -la /usr/local/sbin/dnsmasq*
   -r-xr-xr-x  1 root  wheel  141940 Jan 26 00:26 /usr/local/sbin/dnsmasq
   -r-xr-xr-x  1 root  wheel  141940 Jan 26 00:26 /usr/local/sbin/dnsmasq.conf

   $ md5 /usr/local/sbin/dnsmasq*
   MD5 (/usr/local/sbin/dnsmasq) = 99fc4505f0c72a8a00bc3d483ee400cd
   MD5 (/usr/local/sbin/dnsmasq.conf) = 99fc4505f0c72a8a00bc3d483ee400cd

Thanks,

		Petar Bogdanovic