[packages/netatalk] - Up to 3.1.7. Removed unneeded pathes.

lmasko lmasko at pld-linux.org
Sat Dec 27 12:15:19 CET 2014


commit 7a543aa2c3aaa825349fb22d18c89e960676c4c6
Author: Lukasz Masko <lmasko at pld-linux.org>
Date:   Sat Dec 27 12:14:37 2014 +0100

    - Up to 3.1.7. Removed unneeded pathes.

 format-security.patch | 12 ------------
 netatalk-build.patch  | 12 ------------
 netatalk.spec         | 16 ++++++++--------
 3 files changed, 8 insertions(+), 32 deletions(-)
---
diff --git a/netatalk.spec b/netatalk.spec
index c276cd0..6a57cfb 100644
--- a/netatalk.spec
+++ b/netatalk.spec
@@ -4,19 +4,17 @@ Summary(pl.UTF-8):	Klient i serwer AppleTalk
 Summary(pt_BR.UTF-8):	Programas para rede AppleTalk
 Summary(zh_CN.UTF-8):	Appletalk 和 Appleshare/IP 服务工具
 Name:		netatalk
-Version:	3.0.2
-Release:	2
+Version:	3.1.7
+Release:	1
 Epoch:		2
 License:	BSD
 Group:		Daemons
 Source0:	http://downloads.sourceforge.net/netatalk/%{name}-%{version}.tar.bz2
-# Source0-md5:	b5f1c2c4b3a5e64f5bca219415aa1c75
+# Source0-md5:	831ec8bf9e084b64f965d16c528af299
 Source1:	%{name}.init
 Source2:	%{name}.pamd
 Source3:	%{name}.sysconfig
 Source4:	ICDumpSuffixMap
-Patch0:		%{name}-build.patch
-Patch1:		format-security.patch
 URL:		http://www.umich.edu/~rsug/netatalk/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -70,8 +68,6 @@ aplicativos baseados no protocolo AppleTalk.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
 
 %build
 rm -f missing
@@ -147,6 +143,10 @@ fi
 %dir %{_sysconfdir}/atalk/msg
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/atalk/afp.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/atalk/extmap.conf
+
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/atalk/dbus-session.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/netatalk-dbus.conf
+
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/netatalk
 
 %attr(754,root,root) %config /etc/rc.d/init.d/atalk
@@ -156,7 +156,7 @@ fi
 %attr(755,root,root) %{_sbindir}/*
 %attr(755,root,root) %{_bindir}/[!n]*
 %attr(755,root,root) %{_libdir}/libatalk.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libatalk.so.3
+%attr(755,root,root) %ghost %{_libdir}/libatalk.so.16
 %dir %{_libdir}/atalk
 %attr(755,root,root) %{_libdir}/atalk/*.so
 %{_mandir}/*/*
diff --git a/format-security.patch b/format-security.patch
deleted file mode 100644
index 72e0806..0000000
--- a/format-security.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur netatalk-3.0.2-o/etc/afpd/afp_mdns.c netatalk-3.0.2/etc/afpd/afp_mdns.c
---- netatalk-3.0.2-o/etc/afpd/afp_mdns.c	2013-01-21 10:28:44.000000000 -0700
-+++ netatalk-3.0.2/etc/afpd/afp_mdns.c	2013-03-19 17:57:03.000000000 -0600
-@@ -237,7 +237,7 @@
-             LOG(log_info, logtype_afpd, "Registering server '%s' with model '%s'",
-                 dsi->bonjourname, obj->options.mimicmodel);
-             TXTRecordCreate(&txt_devinfo, 0, NULL);
--            TXTRecordPrintf(&txt_devinfo, "model", obj->options.mimicmodel);
-+            TXTRecordPrintf(&txt_devinfo, "model=%s", "%s", obj->options.mimicmodel);
-             error = DNSServiceRegister(&svc_refs[svc_ref_count++],
-                                        0,               // no flags
-                                        0,               // all network interfaces
diff --git a/netatalk-build.patch b/netatalk-build.patch
deleted file mode 100644
index 1b528c9..0000000
--- a/netatalk-build.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur netatalk-3.0.2-o/configure.ac netatalk-3.0.2/configure.ac
---- netatalk-3.0.2-o/configure.ac	2013-01-21 10:28:44.000000000 -0700
-+++ netatalk-3.0.2/configure.ac	2013-03-19 17:44:47.000000000 -0600
-@@ -7,7 +7,7 @@
- 
- AC_CANONICAL_SYSTEM
- AM_INIT_AUTOMAKE(netatalk, ${NETATALK_VERSION})
--AM_CONFIG_HEADER(config.h)
-+AC_CONFIG_HEADER([config.h])
- AM_MAINTAINER_MODE([enable])
- 
- dnl Checks for programs.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/netatalk.git/commitdiff/7a543aa2c3aaa825349fb22d18c89e960676c4c6



More information about the pld-cvs-commit mailing list