|
@@ -4,20 +4,16 @@
|
|
Summary: AppleTalk and AppleShare/IP services for Linux
|
|
Summary: AppleTalk and AppleShare/IP services for Linux
|
|
Summary(ja): Linux 用 AppleTalk, AppleShare/IP サービス
|
|
Summary(ja): Linux 用 AppleTalk, AppleShare/IP サービス
|
|
Name: netatalk
|
|
Name: netatalk
|
|
-Version: 2.0.5
|
|
|
|
-Release: 1%{_dist_release}
|
|
|
|
-License: GPL
|
|
|
|
|
|
+Version: 2.1.3
|
|
|
|
+Release: 3%{_dist_release}
|
|
|
|
+License: GPLv2+
|
|
Group: System Environment/Daemons
|
|
Group: System Environment/Daemons
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
URL: http://netatalk.sourceforge.net/
|
|
URL: http://netatalk.sourceforge.net/
|
|
Obsoletes: netatalk-1.4b2+asun
|
|
Obsoletes: netatalk-1.4b2+asun
|
|
|
|
|
|
-# taken from http://www003.upp.so-net.ne.jp/hat/netatalk/cjk.html
|
|
|
|
-#Patch10: netatalk-2.0.3-cjk-6.patch.gz
|
|
|
|
-
|
|
|
|
# patch for default config file
|
|
# patch for default config file
|
|
-Patch11: netatalk-2.0.4-config-eucjp.patch
|
|
|
|
-Patch12: netatalk-2.0.4-config-utf8.patch
|
|
|
|
|
|
+Patch10: netatalk-2.1.3-config-utf8.patch
|
|
|
|
|
|
# other patches
|
|
# other patches
|
|
#Patch13: netatalk-2.0.3-db43.patch
|
|
#Patch13: netatalk-2.0.3-db43.patch
|
|
@@ -27,7 +23,7 @@ Source10: afpd.service
|
|
|
|
|
|
|
|
|
|
############################################################## REQUIREMENTS
|
|
############################################################## REQUIREMENTS
|
|
-PreReq: chkconfig, /sbin/ldconfig, grep, textutils
|
|
|
|
|
|
+Requires(pre): chkconfig, /sbin/ldconfig, grep, textutils
|
|
Requires: cracklib, openssl, tcp_wrappers, pam, perl
|
|
Requires: cracklib, openssl, tcp_wrappers, pam, perl
|
|
BuildRequires: openssl-devel, pam-devel, cups-devel, db4-devel, quota
|
|
BuildRequires: openssl-devel, pam-devel, cups-devel, db4-devel, quota
|
|
|
|
|
|
@@ -35,46 +31,34 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
|
|
%description
|
|
%description
|
|
-Netatalk is a freely-available, kernel level implementation of the
|
|
|
|
-AppleTalk Protocol Suite, originally for BSD-derived systems.
|
|
|
|
-A *NIX/*BSD system running netatalk is capable of serving many macintosh
|
|
|
|
-clients simultaneously as an AppleTalk router, AppleShare file server (AFP),
|
|
|
|
-*NIX/*BSD print server, and for accessing AppleTalk printers via Printer
|
|
|
|
-Access Protocol (PAP).
|
|
|
|
|
|
+Netatalk is a freely-available Open Source AFP fileserver. It also provides a
|
|
|
|
+kernel level implementation of the AppleTalk Protocol Suite. A *NIX/*BSD system
|
|
|
|
+running Netatalk is capable of serving many Macintosh clients simultaneously
|
|
|
|
+as an AppleShare file server (AFP), AppleTalk router, *NIX/*BSD print server,
|
|
|
|
+and for accessing AppleTalk printers via Printer Access Protocol (PAP).
|
|
|
|
+Included are a number of minor printing and debugging utilities.
|
|
|
|
|
|
%description -l ja
|
|
%description -l ja
|
|
このパッケージを使うことで, Linux 上で AppleTalk プロトコルを
|
|
このパッケージを使うことで, Linux 上で AppleTalk プロトコルを
|
|
扱うことができ, Macintosh と通信が可能になります.
|
|
扱うことができ, Macintosh と通信が可能になります.
|
|
-Linux 上で EtherTalk や AppleTalk over IP の Mac 向けファイルサーバを
|
|
|
|
|
|
+Linux 上で AppleTalk や AFP over TCP の Mac 向けファイルサーバを
|
|
稼働させることができるデーモンプログラムが収められています.
|
|
稼働させることができるデーモンプログラムが収められています.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
-Summary: Appletalk and Appleshare/IP services for Linux development files
|
|
|
|
-Summary(ja): Linux 用 AppleTalk と Appleshare/IP サービスの開発用ファイル
|
|
|
|
|
|
+Summary: Headers for AppleTalk development
|
|
|
|
+Summary(ja): AppleTalk 開発用ヘッダファイル
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
-Netatalk is a freely-available, kernel level implementation of the
|
|
|
|
-AppleTalk Protocol Suite, originally for BSD-derived systems.
|
|
|
|
-A *NIX/*BSD system running netatalk is capable of serving many macintosh
|
|
|
|
-clients simultaneously as an AppleTalk router, AppleShare file server (AFP),
|
|
|
|
-*NIX/*BSD print server, and for accessing AppleTalk printers via Printer
|
|
|
|
-Access Protocol (PAP).
|
|
|
|
-
|
|
|
|
-This package is required for developing appletalk-based applications.
|
|
|
|
|
|
+This package contains the header files for building AppleTalk networking
|
|
|
|
+programs.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
-#%patch10 -p1 -b .cjk
|
|
|
|
-
|
|
|
|
-%if %{?_dist_release}=="vl4"
|
|
|
|
-%patch11 -p1 -b .cjk-config
|
|
|
|
-%else
|
|
|
|
-%patch12 -p1 -b .cjk-config
|
|
|
|
-%endif
|
|
|
|
|
|
+%patch10 -p1 -b .cjk-config
|
|
|
|
|
|
#%patch13 -p1 -b .db43
|
|
#%patch13 -p1 -b .db43
|
|
#%patch14 -p1 -b .newerdb
|
|
#%patch14 -p1 -b .newerdb
|
|
@@ -108,7 +92,6 @@ CFLAGS="${RPM_OPT_FLAGS} -fomit-frame-pointer -fsigned-char" \
|
|
--with-uams-path=%{_libdir}/netatalk \
|
|
--with-uams-path=%{_libdir}/netatalk \
|
|
--with-spooldir=%{_var}/spool/netatalk \
|
|
--with-spooldir=%{_var}/spool/netatalk \
|
|
--enable-redhat \
|
|
--enable-redhat \
|
|
- --with-flock-locksi \
|
|
|
|
--with-cracklib \
|
|
--with-cracklib \
|
|
--with-pam \
|
|
--with-pam \
|
|
--with-shadow \
|
|
--with-shadow \
|
|
@@ -128,10 +111,6 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|
## netatalk/at.h is now provided by glibc
|
|
## netatalk/at.h is now provided by glibc
|
|
rm -f $RPM_BUILD_ROOT%{_prefix}/include/netatalk/at.h
|
|
rm -f $RPM_BUILD_ROOT%{_prefix}/include/netatalk/at.h
|
|
|
|
|
|
-## acleandir.rc requires /usr/bin/rc. move it.
|
|
|
|
-mv $RPM_BUILD_ROOT%{_bindir}/acleandir.rc .
|
|
|
|
-chmod 644 acleandir.rc
|
|
|
|
-
|
|
|
|
## for Bonjour (requires nss-mdns)
|
|
## for Bonjour (requires nss-mdns)
|
|
install -d -m 755 ${RPM_BUILD_ROOT}%{_sysconfdir}/avahi/services
|
|
install -d -m 755 ${RPM_BUILD_ROOT}%{_sysconfdir}/avahi/services
|
|
install -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}%{_sysconfdir}/avahi/services/
|
|
install -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}%{_sysconfdir}/avahi/services/
|
|
@@ -150,23 +129,23 @@ exit 0
|
|
%post
|
|
%post
|
|
|
|
|
|
### RUN CHKCONFIG ###
|
|
### RUN CHKCONFIG ###
|
|
-/sbin/chkconfig --add atalk
|
|
|
|
|
|
+/sbin/chkconfig --add netatalk
|
|
|
|
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
|
|
|
|
if test -r /var/lock/atalkd ; then
|
|
if test -r /var/lock/atalkd ; then
|
|
- /etc/rc.d/init.d/atalk restart >&2
|
|
|
|
|
|
+ /etc/rc.d/init.d/netatalk restart >&2
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
|
|
%preun
|
|
%preun
|
|
|
|
|
|
### RUN CHKCONFIG ###
|
|
### RUN CHKCONFIG ###
|
|
-/sbin/chkconfig --del atalk
|
|
|
|
|
|
+/sbin/chkconfig --del netatalk
|
|
|
|
|
|
|
|
|
|
%triggerpostun -- netatalk <= 1.4b2+asun2.1.3-7vl6
|
|
%triggerpostun -- netatalk <= 1.4b2+asun2.1.3-7vl6
|
|
-/sbin/chkconfig --add atalk
|
|
|
|
|
|
+/sbin/chkconfig --add netatalk
|
|
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -177,11 +156,11 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc CONTRIBUTORS COPYING COPYRIGHT
|
|
%doc CONTRIBUTORS COPYING COPYRIGHT
|
|
%doc NEWS README* TODO
|
|
%doc NEWS README* TODO
|
|
-%doc acleandir.rc doc/[A-L,N-Z]*
|
|
|
|
|
|
+%doc doc/[A-L,N-Z]*
|
|
%config(noreplace) /etc/netatalk/Apple*
|
|
%config(noreplace) /etc/netatalk/Apple*
|
|
%config(noreplace) /etc/netatalk/*.conf
|
|
%config(noreplace) /etc/netatalk/*.conf
|
|
%config /etc/pam.d/netatalk
|
|
%config /etc/pam.d/netatalk
|
|
-%config /etc/rc.d/init.d/atalk
|
|
|
|
|
|
+%config /etc/rc.d/init.d/netatalk
|
|
%dir %{_sysconfdir}/netatalk
|
|
%dir %{_sysconfdir}/netatalk
|
|
%dir %{_sysconfdir}/netatalk/msg
|
|
%dir %{_sysconfdir}/netatalk/msg
|
|
%{_sysconfdir}/avahi/services/afpd.service
|
|
%{_sysconfdir}/avahi/services/afpd.service
|
|
@@ -209,6 +188,16 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.1.3-3
|
|
|
|
+- rebuild with openssl-1.0.0c
|
|
|
|
+
|
|
|
|
+* Sun Jul 25 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.1.3-2
|
|
|
|
+- fix Patch10 & update description - upon HAT-san's suggestions
|
|
|
|
+
|
|
|
|
+* Sun Jul 25 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.1.3-1
|
|
|
|
+- new upstream release
|
|
|
|
+- update Vine patch
|
|
|
|
+
|
|
* Thu Feb 11 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.0.5-1
|
|
* Thu Feb 11 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.0.5-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|