OBS User unknown 2008-04-06 05:10:02 +00:00 committed by Git OBS Bridge
parent c954d9bfb5
commit 9f01174880
4 changed files with 28 additions and 17 deletions

3
nss-mdns-0.10.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61a209c1ddf651b42bc1b0f4bda7daeca6048ba2542498db1e74811ea1d83043
size 254448

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47cc89d3847a46946670498e071987eff97dff2d38ad93e9c915418806a7c3fc
size 249634

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Apr 3 07:00:56 CEST 2008 - hpj@suse.de
- Upgraded to version 0.10:
* Ported to FreeBSD.
* Alignment fixes for SPARC.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 11 00:36:14 CEST 2007 - ro@suse.de Tue Sep 11 00:36:14 CEST 2007 - ro@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package nss-mdns (Version 0.9) # spec file for package nss-mdns (Version 0.10)
# #
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
@ -10,14 +10,15 @@
# norootforbuild # norootforbuild
Name: nss-mdns Name: nss-mdns
# lynx is not needed, text version of README is already present # lynx is not needed, text version of README is already present
#BuildRequires: lynx #BuildRequires: lynx
Version: 0.9 Version: 0.10
Release: 38 Release: 1
Group: Productivity/Networking/DNS/Utilities Group: Productivity/Networking/DNS/Utilities
License: LGPL v2 or later License: LGPL v2.1 or later
URL: http://0pointer.de/lennart/projects/nss-mdns/ Url: http://0pointer.de/lennart/projects/nss-mdns/
Summary: Host Name Resolution Via Multicast DNS (Zeroconf) for glibc Summary: Host Name Resolution Via Multicast DNS (Zeroconf) for glibc
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch: unaligned.diff Patch: unaligned.diff
@ -69,13 +70,11 @@ if [ -f /etc/nsswitch.conf ] ; then
perl -ibak -pe ' perl -ibak -pe '
sub insert { sub insert {
my @bits = split(" ", shift); my @bits = split(" ", shift);
if (grep { $_ eq "mdns4_minimal" || $_ eq "mdns4" if (grep { $_ eq "mdns4_minimal" || $_ eq "mdns4"
|| $_ eq "mdns6_minimal" || $_ eq "mdns6" || $_ eq "mdns6_minimal" || $_ eq "mdns6"
|| $_ eq "mdns_minimal" || $_ eq "mdns" } @bits) { || $_ eq "mdns_minimal" || $_ eq "mdns" } @bits) {
return join " ", @bits; return join " ", @bits;
} }
return join " ", map { return join " ", map {
$_ eq "dns" ? ("mdns4_minimal", "[NOTFOUND=return]", $_) : $_ $_ eq "dns" ? ("mdns4_minimal", "[NOTFOUND=return]", $_) : $_
} @bits; } @bits;
@ -144,18 +143,22 @@ sed -i "/^hosts:/{$REMOVE_REGEXP}" etc/nsswitch.conf
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Tue Sep 11 2007 - ro@suse.de * Thu Apr 03 2008 hpj@suse.de
- Upgraded to version 0.10:
* Ported to FreeBSD.
* Alignment fixes for SPARC.
* Tue Sep 11 2007 ro@suse.de
- modify last change: - modify last change:
- require 32bit variant on x86_64 and s390x - require 32bit variant on x86_64 and s390x
- require 64bit variant on ppc - require 64bit variant on ppc
* Mon Sep 10 2007 - sbrabec@suse.cz * Mon Sep 10 2007 sbrabec@suse.cz
- Fixed invalid dependency for bi-arch (#309193). - Fixed invalid dependency for bi-arch (#309193).
* Thu Sep 06 2007 - mauro@suse.de * Fri Sep 07 2007 mauro@suse.de
- Sync the spec with the scripts in the comment #6 of bnc #287583 - Sync the spec with the scripts in the comment #6 of bnc #287583
* Thu Sep 06 2007 - mauro@suse.de * Thu Sep 06 2007 mauro@suse.de
- The 64 bit version of nss-mdns will require the -32 version to - The 64 bit version of nss-mdns will require the -32 version to
bugfix bnc #287583. bugfix bnc #287583.
* Sat Apr 21 2007 - schwab@suse.de * Sat Apr 21 2007 schwab@suse.de
- Fix unaligned access. - Fix unaligned access.
* Tue Feb 20 2007 - sbrabec@suse.cz * Tue Feb 20 2007 sbrabec@suse.cz
- New SuSE package, version 0.9. - New SuSE package, version 0.9.