This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 3.x development tree".
The branch, master has been updated via fe7131a4276be30502ebcc39c22d2a40ca5e12cf (commit) via 250e941e519cd54a2fa34806120801b9487e7773 (commit) via 368c674af561e53c15e2cdf853bcfe05126dd43c (commit) from afc6dda7a75a276d714b164b67c380776585c06f (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit fe7131a4276be30502ebcc39c22d2a40ca5e12cf Author: Michael Tremer michael.tremer@ipfire.org Date: Sat Jul 23 10:55:02 2011 +0200
pdns: Update to 3.0.
commit 250e941e519cd54a2fa34806120801b9487e7773 Author: Michael Tremer michael.tremer@ipfire.org Date: Sat Jul 23 10:54:46 2011 +0200
chrpath: New package.
commit 368c674af561e53c15e2cdf853bcfe05126dd43c Author: Michael Tremer michael.tremer@ipfire.org Date: Thu Jul 21 12:20:05 2011 +0200
nss-myhostname: New package.
-----------------------------------------------------------------------
Summary of changes: pkgs/{htop/htop.nm => chrpath/chrpath.nm} | 21 +++++----- pkgs/chrpath/patches/chrpath-0.13-NULL-entry.patch | 16 ++++++++ .../nss-myhostname.nm} | 41 ++++++++++--------- pkgs/pdns/patches/pdns-2.9.22-gcc44-fixes.patch | 11 ----- pkgs/pdns/patches/pdns-fix-lua-detection.patch | 12 ++++++ pkgs/pdns/pdns.nm | 21 ++++++++-- pkgs/pdns/systemd/pdns.service | 13 ++++++ 7 files changed, 90 insertions(+), 45 deletions(-) copy pkgs/{htop/htop.nm => chrpath/chrpath.nm} (82%) create mode 100644 pkgs/chrpath/patches/chrpath-0.13-NULL-entry.patch copy pkgs/{libusb-compat/libusb-compat.nm => nss-myhostname/nss-myhostname.nm} (61%) delete mode 100644 pkgs/pdns/patches/pdns-2.9.22-gcc44-fixes.patch create mode 100644 pkgs/pdns/patches/pdns-fix-lua-detection.patch create mode 100644 pkgs/pdns/systemd/pdns.service
Difference in files: diff --git a/pkgs/chrpath/chrpath.nm b/pkgs/chrpath/chrpath.nm new file mode 100644 index 0000000..22c3816 --- /dev/null +++ b/pkgs/chrpath/chrpath.nm @@ -0,0 +1,50 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see http://www.gnu.org/licenses/. # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = chrpath +PKG_VER = 0.13 +PKG_REL = 1 + +PKG_MAINTAINER = +PKG_GROUPS = Development/Tools +PKG_URL = ftp://ftp.hungry.com/pub/hungry/chrpath/ +PKG_LICENSE = GPL+ +PKG_SUMMARY = Modify rpath of compiled programs. + +define PKG_DESCRIPTION + chrpath allows you to modify the dynamic library load path (rpath) of + compiled programs. Currently, only removing and modifying the rpath + is supported. +endef + +PKG_TARBALL = $(THISAPP).tar.gz + +CONFIGURE_OPTIONS += \ + --mandir=/usr/share/man + +define STAGE_INSTALL_CMDS + rm -rfv $(BUILDROOT)/usr/doc +endef diff --git a/pkgs/chrpath/patches/chrpath-0.13-NULL-entry.patch b/pkgs/chrpath/patches/chrpath-0.13-NULL-entry.patch new file mode 100644 index 0000000..27275d2 --- /dev/null +++ b/pkgs/chrpath/patches/chrpath-0.13-NULL-entry.patch @@ -0,0 +1,16 @@ +diff -uNr chrpath-0.13.old/killrpath.c chrpath-0.13/killrpath.c +--- chrpath-0.13.old/killrpath.c 2003-06-24 00:46:15.000000000 +0200 ++++ chrpath-0.13/killrpath.c 2009-07-19 23:05:11.000000000 +0200 +@@ -73,8 +73,11 @@ + if ( ! elf_dynpath_tag(dyns[i].d_tag) ) + dynpos++; + } +- for (; dynpos < i; dynpos++) ++ for (; dynpos < i; dynpos++) { + dyns[dynpos].d_tag = DT_NULL; ++ dyns[dynpos].d_un.d_val = 0x0; ++ } ++ + + if (lseek(fd, phdr.p_offset, SEEK_SET) == -1 + || write(fd, dyns, phdr.p_filesz) != (int)phdr.p_filesz) diff --git a/pkgs/nss-myhostname/nss-myhostname.nm b/pkgs/nss-myhostname/nss-myhostname.nm new file mode 100644 index 0000000..b130e6e --- /dev/null +++ b/pkgs/nss-myhostname/nss-myhostname.nm @@ -0,0 +1,64 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see http://www.gnu.org/licenses/. # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = nss-myhostname +PKG_VER = 0.3 +PKG_REL = 1 + +PKG_MAINTAINER = +PKG_GROUPS = System/Libraries +PKG_URL = http://0pointer.de/lennart/projects/nss-myhostname/ +PKG_LICENSE = LGPLv2+ +PKG_SUMMARY = glibc plugin for local system host name resolution. + +define PKG_DESCRIPTION + nss-myhostname is a plugin for the GNU Name Service Switch (NSS) + functionality of the GNU C Library (glibc) providing host name + resolution for the locally configured system hostname as returned by + gethostname(2). Various software relies on an always resolvable local + host name. When using dynamic hostnames this is usually achieved by + patching /etc/hosts at the same time as changing the host name. This + however is not ideal since it requires a writable /etc file system and + is fragile because the file might be edited by the administrator at + the same time. nss-myhostname simply returns all locally configure + public IP addresses, or -- if none are configured -- the IPv4 address + 127.0.0.2 (wich is on the local loopback) and the IPv6 address ::1 + (which is the local host) for whatever system hostname is configured + locally. Patching /etc/hosts is thus no longer necessary. +endef + +PKG_TARBALL = $(THISAPP).tar.gz + +CONFIGURE_OPTIONS += \ + --libdir=/lib + +define STAGE_INSTALL_CMDS + -mkdir -pv $(BUILDROOT)/usr/lib + ln -svf ../../lib/libnss_myhostname.so.2 \ + $(BUILDROOT)/usr/lib/libnss_myhostname.so + + rm -rf $(BUILDROOT)/usr/share/doc/nss-myhostname +endef diff --git a/pkgs/pdns/patches/pdns-2.9.22-gcc44-fixes.patch b/pkgs/pdns/patches/pdns-2.9.22-gcc44-fixes.patch deleted file mode 100644 index cba5412..0000000 --- a/pkgs/pdns/patches/pdns-2.9.22-gcc44-fixes.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -up pdns-2.9.22/pdns/misc.hh.orig pdns-2.9.22/pdns/misc.hh ---- pdns-2.9.22/pdns/misc.hh.orig 2009-02-26 17:09:41.000000000 +0100 -+++ pdns-2.9.22/pdns/misc.hh 2009-02-26 17:09:54.000000000 +0100 -@@ -20,6 +20,7 @@ - #define MISC_HH - #include <stdint.h> - #include <cstring> -+#include <cstdio> - - #if 0 - #include <iostream> diff --git a/pkgs/pdns/patches/pdns-fix-lua-detection.patch b/pkgs/pdns/patches/pdns-fix-lua-detection.patch new file mode 100644 index 0000000..29b352a --- /dev/null +++ b/pkgs/pdns/patches/pdns-fix-lua-detection.patch @@ -0,0 +1,12 @@ +diff -up pdns-3.0-rc3/configure.orig pdns-3.0-rc3/configure +--- pdns-3.0-rc3/configure.orig 2011-07-20 14:09:39.960000514 +0200 ++++ pdns-3.0-rc3/configure 2011-07-20 14:09:46.288007162 +0200 +@@ -16494,7 +16494,7 @@ $as_echo_n "checking if with lua... " >& + + # Check whether --with-lua was given. + if test "${with_lua+set}" = set; then : +- withval=$with_lua; WITH_LUA=$withval] ++ withval=$with_lua; WITH_LUA=$withval + else + WITH_LUA=yes + fi diff --git a/pkgs/pdns/pdns.nm b/pkgs/pdns/pdns.nm index b259d56..4e57285 100644 --- a/pkgs/pdns/pdns.nm +++ b/pkgs/pdns/pdns.nm @@ -25,8 +25,8 @@ include $(PKGROOT)/Include
PKG_NAME = pdns -PKG_VER = 2.9.22 -PKG_REL = 0 +PKG_VER = 3.0 +PKG_REL = 1
PKG_MAINTAINER = PKG_GROUPS = Networking/DNS @@ -34,7 +34,8 @@ PKG_URL = http://powerdns.com/ PKG_LICENSE = GPLv2 PKG_SUMMARY = A modern, advanced and high performance authoritative-only nameserver.
-PKG_BUILD_DEPS+= boost-devel gcc-c++ openldap-devel sqlite-devel zlib-devel +PKG_BUILD_DEPS+= boost-devel chrpath gcc-c++ lua-devel openldap-devel \ + sqlite-devel zlib-devel
define PKG_DESCRIPTION The PowerDNS Nameserver is a modern, advanced and high performance \ @@ -53,4 +54,16 @@ CONFIGURE_OPTIONS += \ --sysconfdir=/etc/pdns \ --libdir=/usr/lib/powerdns \ --with-modules="" \ - --with-dynmodules="pipe geo ldap gsqlite3" + --with-dynmodules="pipe geo ldap gsqlite3" \ + --with-lua \ + --disable-static + +define STAGE_INSTALL_CMDS + chrpath --delete $(BUILDROOT)/usr/bin/pdns_control + chrpath --delete $(BUILDROOT)/usr/bin/zone2ldap + chrpath --delete $(BUILDROOT)/usr/bin/zone2sql + chrpath --delete $(BUILDROOT)/usr/sbin/pdns_server + chrpath --delete $(BUILDROOT)/usr/lib/powerdns/*.so + chrpath --delete $(BUILDROOT)/usr/bin/dnsreplay + chrpath --delete $(BUILDROOT)//usr/bin/pdnssec +endef diff --git a/pkgs/pdns/systemd/pdns.service b/pkgs/pdns/systemd/pdns.service new file mode 100644 index 0000000..d9877ad --- /dev/null +++ b/pkgs/pdns/systemd/pdns.service @@ -0,0 +1,13 @@ +[Unit] +Description=PDNS DNS Server +After=syslog.target network.target + +[Service] +Type=forking +ExecStart=/usr/sbin/pdns_server --daemon --guardian=yes +ExecReload=/usr/bin/pdns_control cycle +ExecStop=/usr/bin/pdns_control quit + +[Install] +WantedBy=multi-user.target +
hooks/post-receive -- IPFire 3.x development tree