public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-dns/dnsmasq: ChangeLog dnsmasq-2.63.ebuild dnsmasq-2.61.ebuild dnsmasq-2.57-r1.ebuild dnsmasq-2.60.ebuild dnsmasq-2.59.ebuild
@ 2012-08-28 17:11 Patrick McLean (chutzpah)
  0 siblings, 0 replies; only message in thread
From: Patrick McLean (chutzpah) @ 2012-08-28 17:11 UTC (permalink / raw
  To: gentoo-commits

chutzpah    12/08/28 17:11:42

  Modified:             ChangeLog dnsmasq-2.61.ebuild
  Added:                dnsmasq-2.63.ebuild
  Removed:              dnsmasq-2.57-r1.ebuild dnsmasq-2.60.ebuild
                        dnsmasq-2.59.ebuild
  Log:
  Version bump (bug #431836). Add installation of a systemd unit (bug # 371871). Make sure LDFLAGS are respected (bug #414223). Clean up some older versions.
  
  (Portage version: 2.1.11.10/cvs/Linux x86_64)

Revision  Changes    Path
1.216                net-dns/dnsmasq/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/ChangeLog?rev=1.216&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/ChangeLog?rev=1.216&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/ChangeLog?r1=1.215&r2=1.216

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v
retrieving revision 1.215
retrieving revision 1.216
diff -u -r1.215 -r1.216
--- ChangeLog	14 Jun 2012 02:08:14 -0000	1.215
+++ ChangeLog	28 Aug 2012 17:11:42 -0000	1.216
@@ -1,6 +1,16 @@
 # ChangeLog for net-dns/dnsmasq
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.215 2012/06/14 02:08:14 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.216 2012/08/28 17:11:42 chutzpah Exp $
+
+*dnsmasq-2.63 (28 Aug 2012)
+
+  28 Aug 2012; Patrick McLean <chutzpah@gentoo.org> -dnsmasq-2.57-r1.ebuild,
+  -dnsmasq-2.59.ebuild, -dnsmasq-2.60.ebuild, dnsmasq-2.61.ebuild,
+  +dnsmasq-2.63.ebuild, +files/dnsmasq.service,
+  -files/dnsmasq-fbsd-config.patch, -files/dnsmasq-init-r1:
+  Version bump (bug #431836). Add installation of a systemd unit (bug #
+  371871). Make sure LDFLAGS are respected (bug #414223). Clean up some older
+  versions.
 
   14 Jun 2012; Zac Medico <zmedico@gentoo.org> dnsmasq-2.57-r1.ebuild,
   dnsmasq-2.59.ebuild, dnsmasq-2.60.ebuild, dnsmasq-2.61.ebuild:



1.4                  net-dns/dnsmasq/dnsmasq-2.61.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.61.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.61.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.61.ebuild?r1=1.3&r2=1.4

Index: dnsmasq-2.61.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.61.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- dnsmasq-2.61.ebuild	14 Jun 2012 02:08:14 -0000	1.3
+++ dnsmasq-2.61.ebuild	28 Aug 2012 17:11:42 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.61.ebuild,v 1.3 2012/06/14 02:08:14 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.61.ebuild,v 1.4 2012/08/28 17:11:42 chutzpah Exp $
 
 EAPI=4
 
@@ -79,6 +79,7 @@
 		PREFIX=/usr \
 		CC="$(tc-getCC)" \
 		CFLAGS="${CFLAGS}" \
+		LDFLAGS="${LDFLAGS}" \
 		COPTS="${COPTS}" \
 		all$(use nls && echo "-i18n")
 }



1.1                  net-dns/dnsmasq/dnsmasq-2.63.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.63.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.63.ebuild?rev=1.1&content-type=text/plain

Index: dnsmasq-2.63.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.63.ebuild,v 1.1 2012/08/28 17:11:42 chutzpah Exp $

EAPI=4

inherit eutils toolchain-funcs flag-o-matic user systemd

MY_P="${P/_/}"
MY_PV="${PV/_/}"
DESCRIPTION="Small forwarding DNS server"
HOMEPAGE="http://www.thekelleys.org.uk/dnsmasq/"
SRC_URI="http://www.thekelleys.org.uk/dnsmasq/${MY_P}.tar.xz"

LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
IUSE="conntrack dbus +dhcp idn ipv6 lua nls script tftp"

RDEPEND="dbus? ( sys-apps/dbus )
	idn? ( net-dns/libidn )
	lua? ( dev-lang/lua )
	conntrack? ( net-libs/libnetfilter_conntrack )
	nls? (
		sys-devel/gettext
		net-dns/libidn
	)"

DEPEND="${RDEPEND}
	virtual/pkgconfig
	app-arch/xz-utils"

S="${WORKDIR}/${PN}-${MY_PV}"

REQUIRED_USE="lua? ( script )"

use_have() {
	local NO_ONLY=""
	if [ $1 == '-n' ]; then
		NO_ONLY=1
		shift
	fi

	local UWORD=${2:-$1}
	UWORD=${UWORD^^*}

	if ! use ${1}; then
		echo " -DNO_${UWORD}"
	elif [ -z "${NO_ONLY}" ]; then
		echo " -DHAVE_${UWORD}"
	fi
}

pkg_setup() {
	enewgroup dnsmasq
	enewuser dnsmasq -1 -1 /dev/null dnsmasq
}

src_prepare() {
	# dnsmasq on FreeBSD wants the config file in a silly location, this fixes
	epatch "${FILESDIR}/${PN}-2.47-fbsd-config.patch"
	sed -i -r 's:lua5.[0-9]+:lua:' Makefile
}

src_configure() {
	COPTS="$(use_have conntrack)"
	COPTS+="$(use_have dbus)"
	COPTS+="$(use_have -n dhcp)"
	COPTS+="$(use_have idn)"
	COPTS+="$(use_have -n ipv6)"
	COPTS+="$(use_have lua luascript)"
	COPTS+="$(use_have -n script)"
	COPTS+="$(use_have -n tftp)"
	COPTS+="$(use ipv6 && use dhcp || echo " -DNO_DHCP6")"
}

src_compile() {
	emake \
		PREFIX=/usr \
		CC="$(tc-getCC)" \
		CFLAGS="${CFLAGS}" \
		LDFLAGS="${LDFLAGS}" \
		COPTS="${COPTS}" \
		all$(use nls && echo "-i18n")
}

src_install() {
	emake \
		PREFIX=/usr \
		MANDIR=/usr/share/man \
		DESTDIR="${D}" \
		install$(use nls && echo "-i18n")

	dodoc CHANGELOG CHANGELOG.archive FAQ
	dodoc -r logo

	dodoc CHANGELOG FAQ
	dohtml *.html

	newinitd "${FILESDIR}"/dnsmasq-init-r2 dnsmasq
	newconfd "${FILESDIR}"/dnsmasq.confd-r1 dnsmasq

	insinto /etc
	newins dnsmasq.conf.example dnsmasq.conf

	if use dbus ; then
		insinto /etc/dbus-1/system.d
		doins dbus/dnsmasq.conf
	fi

	systemd_dounit "${FILESDIR}"/dnsmasq.service
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-28 17:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-28 17:11 [gentoo-commits] gentoo-x86 commit in net-dns/dnsmasq: ChangeLog dnsmasq-2.63.ebuild dnsmasq-2.61.ebuild dnsmasq-2.57-r1.ebuild dnsmasq-2.60.ebuild dnsmasq-2.59.ebuild Patrick McLean (chutzpah)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox