Dnia czwartek, 27 września 2007, Adam Gołębiowski napisał:
> On Thu, Sep 27, 2007 at 06:29:09PM +0200, Mateusz Kijowski wrote:
> > Pakiet dodaje nowego usera i przyznaję że gid/uid 87 wziąłem sobie z
> > kapelusza - nie doczytałem nigdzie jak można sprawdzić które {g,u}idy są
> > już "zajęte".
>
> W pliku uid_gid.db.txt:
> http://cvs.pld-linux.org/cgi-bin/cvsweb/PLD-doc/uid_gid.db.txt?rev=HEAD

Rozumiem, że każdy wolny jest "do wzięcia". W załączeniu oprócz poprawionego 
speca jest diff uid_gid.db.txt.

Pozdrawiam,


Mateusz
Summary:        Web-based Distributed Authoring and Versioning - caching version
Summary(pl.UTF-8):      Bazujące na WWW Rozproszone Autoryzowanie i 
Wersjonowanie - wersja z cache
Name:           davfs2
Version:        1.2.2
Release:        1
License:        GPL
Group:          Base/
Source0:        http://dl.sourceforge.net/dav/%{name}-%{version}.tar.gz
# Source0-md5:  147d36163101d226467a78d499f2459e
URL:            http://dav.sourceforge.net/
BuildRequires:  autoconf
BuildRequires:  neon-devel >= 0.24      
BuildRequires:  openssl-devel >= 0.9.7d
BuildRequires:  rpmbuild(macros) >= 1.118
Requires:       neon >= 0.24
Requires(post): fileutils
Requires(post,preun):   /sbin/chkconfig
Requires(postun):       /usr/sbin/groupdel
Requires(postun):       /usr/sbin/userdel
Requires(pre):  /bin/id
Requires(pre):  /usr/bin/getgid
Requires(pre):  /usr/sbin/groupadd
Requires(pre):  /usr/sbin/useradd
Provides:       group(davfs)
Provides:       user(davfs)

BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
WebDAV is an acronym for Web-based Distributed Authoring and Version-
ing. Usually HTTP is a read only protocol, but if you install DAV on
your web server, it becomes writable. Furthermore, if you use DAVfs,
you can mount your web server onto your filesystem and can use it as a
normal disk.

This package contains the caching version of davfs.

%description -l pl.UTF-8
WebDAV to bazujące na WWW Rozproszone Autoryzowanie i Wersjonowanie.
Zazwyczaj protokół HTTP jest protokołem tylko do odczytu ale po
zainstalowaniu DAVa staje się on również zapisywalnym. Co więcej jeśli
używasz DAVfs to możesz montować swój serwer WWW jako system plików i
używać tak jak normalnego dysku.

Ten pakiet zawiera wersję davfs korzystającą z cache'u.

%prep
%setup -q

%build
%configure
        
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

install -d $RPM_BUILD_ROOT/sbin
install -d $RPM_BUILD_ROOT%{_mandir}/{man5,man8}
install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
install -d $RPM_BUILD_ROOT%{_var}/cache/%{name}

install src/{,u}mount.davfs $RPM_BUILD_ROOT/sbin
install etc/{davfs2.conf,secrets} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
install man/*.5 $RPM_BUILD_ROOT%{_mandir}/man5/
install man/*.8 $RPM_BUILD_ROOT%{_mandir}/man8/

%clean
rm -rf $RPM_BUILD_ROOT

%pre
%groupadd -g 222 davfs
%useradd -u 221 -r -d /var/cache/%{name} -s /bin/false -c "DAVfs User" -g davfs 
davfs

%postun
if [ "$1" = "0" ]; then
        %userremove davfs
        %groupremove davfs
fi

%files
%defattr(644,root,root,755)

%doc ABOUT-NLS COPYING INSTALL README.translators aclocal.m4 AUTHORS ChangeLog 
NEWS THANKS BUGS FAQ README TODO
%doc %{_mandir}/man5/*
%doc %{_mandir}/man8/*
%config(noreplace) %attr(600,root,root) %{_sysconfdir}/%{name}/secrets
%config %{_sysconfdir}/%{name}/davfs2.conf

%attr(755,root,root) /sbin/*
%attr(755,davfs,davfs) %{_var}/cache/%{name}

%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
--- uid_gid.db.txt~	2007-09-27 19:12:14.000000000 +0200
+++ uid_gid.db.txt	2007-09-27 19:13:24.000000000 +0200
@@ -215,6 +215,7 @@
 218	anope		anope		Anope IRC Services
 219	vacation	postfixadmin	Vacation mail scripts
 220	polkituser	PolicyKit
+221	davfs		davfs2		davfs fuse module user
 ============================================================================
 
 GID
@@ -424,6 +425,7 @@
 219	vacation	postfixadmin	Vacation mail scripts
 220	polkituser	PolicyKit	TODO: contact author to clear up the name
 221	vbox		VirtualBox	for /dev/vboxdrv writers
+222	davfs		davfs2		davfs fuse module group
 
 1000	users		setup
 

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym