From 5bd385f412f35552f853049f590654d523051a6054c3de024514f42e1cb4f7df Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 25 May 2009 22:44:22 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_dnssd?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + apache2-mod_dnssd-apxs2-prefork.patch | 15 +++++ apache2-mod_dnssd.changes | 18 ++++++ apache2-mod_dnssd.spec | 84 +++++++++++++++++++++++++++ mod_dnssd-0.6.tar.bz2 | 3 + ready | 0 7 files changed, 144 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 apache2-mod_dnssd-apxs2-prefork.patch create mode 100644 apache2-mod_dnssd.changes create mode 100644 apache2-mod_dnssd.spec create mode 100644 mod_dnssd-0.6.tar.bz2 create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/apache2-mod_dnssd-apxs2-prefork.patch b/apache2-mod_dnssd-apxs2-prefork.patch new file mode 100644 index 0000000..2509490 --- /dev/null +++ b/apache2-mod_dnssd-apxs2-prefork.patch @@ -0,0 +1,15 @@ +Only in mod_dnssd-0.6.patched/: config.log +diff -ur mod_dnssd-0.6/configure.ac mod_dnssd-0.6.patched//configure.ac +--- mod_dnssd-0.6/configure.ac 2009-01-28 03:34:21.000000000 +0100 ++++ mod_dnssd-0.6.patched//configure.ac 2009-05-12 17:45:48.000000000 +0200 +@@ -85,8 +85,8 @@ + + AC_ARG_WITH(apxs, + AS_HELP_STRING(--with-apxs=PATH,/path/to/apxs), +- [ AC_PATH_PROGS(APXS, [apxs2 apxs], "notfound", "$withval:$PATH") ], +- [ AC_PATH_PROGS(APXS, [apxs2 apxs], "notfound", "/usr/local/apache/bin:/usr/local/bin:/usr/sbin:$PATH")]) ++ [ AC_PATH_PROGS(APXS, [apxs2-prefork apxs2 apxs], "notfound", "$withval:$PATH") ], ++ [ AC_PATH_PROGS(APXS, [apxs2-prefork apxs2 apxs], "notfound", "/usr/local/apache/bin:/usr/local/bin:/usr/sbin:$PATH")]) + + if test "x$APXS" = "xnotfound" ; then + AC_MSG_ERROR([*** Sorry, could not find apxs ***]) diff --git a/apache2-mod_dnssd.changes b/apache2-mod_dnssd.changes new file mode 100644 index 0000000..945e4e7 --- /dev/null +++ b/apache2-mod_dnssd.changes @@ -0,0 +1,18 @@ +------------------------------------------------------------------- +Tue May 19 17:09:11 CEST 2009 - vuntz@novell.com + +- Add Supplements for gnome-user-share and + {apache2-prefork,apache2-worker} since gnome-user-share requires + this apache module to have webdav file sharing. + +------------------------------------------------------------------- +Tue May 19 16:52:56 CEST 2009 - dominique-obs@leuenberger.net + +- Cleanup of the specfile. +- --disable-lynx to remove the lynx BuildRequires. + +------------------------------------------------------------------- +Tue May 12 17:59:50 CEST 2009 - dominique-obs@leuenberger.net + +- Initial package during Community Week 1 + diff --git a/apache2-mod_dnssd.spec b/apache2-mod_dnssd.spec new file mode 100644 index 0000000..e2959b7 --- /dev/null +++ b/apache2-mod_dnssd.spec @@ -0,0 +1,84 @@ +# +# spec file for package apache2-mod_dnssd (Version 0.6) +# +# Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + + +Name: apache2-mod_dnssd +%define _name mod_dnssd +Summary: Apache2 module for Zeroconf support via DNS-SD +Version: 0.6 +Release: 2 +Source: %{_name}-%{version}.tar.bz2 +# PATCH-FIX-OPENSUSE apache2-mod_dnssd-apxs2-prefork.patch +Patch0: apache2-mod_dnssd-apxs2-prefork.patch +License: The Apache Software License +Group: Productivity/Networking/Web/Servers +Url: http://0pointer.de/lennart/projects/mod_dnssd/ +BuildRequires: apache2-devel +BuildRequires: libapr1-devel +BuildRequires: libavahi-devel +BuildRequires: pkg-config +Supplements: packageand(apache2-prefork:gnome-user-share) +Supplements: packageand(apache2-worker:gnome-user-share) +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%define apxs /usr/sbin/apxs2 +%define apache_libexecdir %(%{apxs} -q LIBEXECDIR) + +%description +mod_dnssd is an Apache HTTPD module which adds Zeroconf support via +DNS-SD using Avahi. + + + +Authors: +-------- + Lennart Poettering + +%prep +%setup -q -n %{_name}-%{version} +%patch0 -p1 + +%build +%configure \ + --disable-lynx +%__make %{?jobs:-j%jobs} + +%install +# make install can't work, as apxs -i apparently does not like redirection +mkdir -p %{buildroot}/%{apache_libexecdir} +cp -p src/.libs/%{_name}.so %{buildroot}/%{apache_libexecdir} + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc README LICENSE +%dir %{apache_libexecdir} +%{apache_libexecdir}/%{_name}.so + +%changelog +* Tue May 19 2009 vuntz@novell.com +- Add Supplements for gnome-user-share and + {apache2-prefork,apache2-worker} since gnome-user-share requires + this apache module to have webdav file sharing. +* Tue May 19 2009 dominique-obs@leuenberger.net +- Cleanup of the specfile. +- --disable-lynx to remove the lynx BuildRequires. +* Tue May 12 2009 dominique-obs@leuenberger.net +- Initial package during Community Week 1 diff --git a/mod_dnssd-0.6.tar.bz2 b/mod_dnssd-0.6.tar.bz2 new file mode 100644 index 0000000..0bc942c --- /dev/null +++ b/mod_dnssd-0.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95eed4172527abf5944f930ea134e72e714a37141aa104fc13dc2753b5432253 +size 71657 diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4