SPECS (AC-branch): bind.spec - %useradd/%groupadd, rel 5
glen
glen at pld-linux.org
Sat Apr 15 15:58:55 CEST 2006
Author: glen Date: Sat Apr 15 13:58:55 2006 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- %useradd/%groupadd, rel 5
---- Files affected:
SPECS:
bind.spec (1.198.2.12 -> 1.198.2.13)
---- Diffs:
================================================================
Index: SPECS/bind.spec
diff -u SPECS/bind.spec:1.198.2.12 SPECS/bind.spec:1.198.2.13
--- SPECS/bind.spec:1.198.2.12 Fri Apr 14 14:14:14 2006
+++ SPECS/bind.spec Sat Apr 15 15:58:50 2006
@@ -18,7 +18,7 @@
Summary(zh_CN): Internet ÓňĂűˇţÎńĆ÷
Name: bind
Version: 9.2.6
-Release: 4
+Release: 5
Epoch: 6
License: BSD-like
Group: Networking/Daemons
@@ -385,32 +385,8 @@
Warning: %{_sysconfdir}/named.boot saved as /etc/named.rpmsave.
EOF
fi
-if [ -n "`/usr/bin/getgid named`" ]; then
- if [ "`/usr/bin/getgid named`" != "58" ]; then
- %banner %{name}-prescript -a -e << EOF
-Error: group named doesn't have gid=58. Correct this before installing bind.
-EOF
- exit 1
- fi
-else
- %banner %{name}-prescript -a << EOF
-Adding group named GID=58.
-EOF
- /usr/sbin/groupadd -g 58 named || exit 1
-fi
-if [ -n "`/bin/id -u named 2>/dev/null`" ]; then
- if [ "`/bin/id -u named`" != "58" ]; then
- %banner %{name}-prescript -a -e << EOF
-Error: user named doesn't have uid=58. Correct this before installing bind.
-EOF
- exit 1
- fi
-else
- %banner %{name}-prescript -a << EOF
-Adding user named UID=58.
-EOF
- /usr/sbin/useradd -u 58 -g 58 -d /tmp -s /bin/false -c "BIND user" named || exit 1
-fi
+%groupadd -g 58 named
+%useradd -u 58 -g 58 -d /tmp -s /bin/false -c "BIND user" named
%post
/sbin/chkconfig --add named
@@ -516,6 +492,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.198.2.13 2006/04/15 13:58:50 glen
+- %useradd/%groupadd, rel 5
+
Revision 1.198.2.12 2006/04/14 12:14:14 glen
- rel 4
@@ -596,7 +575,7 @@
- fix doc
Revision 1.186 2004/05/02 16:46:01 arekm
-/tmp as homedir
+- /tmp as homedir
Revision 1.185 2004/04/02 09:27:53 averne
- rel7 for rebuild with new openldap
@@ -606,9 +585,9 @@
Revision 1.183 2004/03/18 17:43:43 saq
- bind-utils requires iconv (it's not functional without it on a typical
-system)
+ system)
- if anybody knows a way to make bind-utils work w/o iconv, go ahead and
-implement it. For now...
+ implement it. For now...
- release 6, STBR
Revision 1.182 2004/03/16 14:22:36 averne
@@ -741,7 +720,7 @@
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
Revision 1.143 2002/09/28 22:37:30 misiek
-- move libbind includes to %%{_includedir}/bind
+- move libbind includes to %{_includedir}/bind
Revision 1.142 2002/09/18 13:21:18 misiek
- added --enable-libbind; rel 10
@@ -754,7 +733,7 @@
Revision 1.139 2002/07/01 22:26:37 qboosh
- added missing files: *.la to -devel and ja nsupdate(8) man page
-- new %%doc
+- new %doc
- release 7
Revision 1.138 2002/07/01 20:11:51 kloczek
@@ -768,7 +747,7 @@
- perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"
Revision 1.135 2002/05/21 23:12:42 kloczek
-perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
+- perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
s/^automake -a -c -f/\%\{__automake\}/; \
s/^autoconf/\%\{__autoconf\}/"
@@ -783,12 +762,9 @@
- Making users is apache-like now.
Revision 1.132 2002/04/25 15:53:15 arturs
-fixed a small typo
+- fixed a small typo
Revision 1.131 2002/04/25 08:45:27 radzio
-
-
-
- mv /usr/bin/nsupdate from bind to bind-utils
- release 7
@@ -797,7 +773,7 @@
- init script uses rndc when available
Revision 1.129 2002/03/27 11:41:55 roman
-s/BSD Like/BSD-like in License
+- s/BSD Like/BSD-like in License
Revision 1.128 2002/03/17 15:52:33 kloczek
- merge translations from KSI.
@@ -826,7 +802,7 @@
- added NUM_CPUS option to rc scripts
Revision 1.120 2002/01/18 02:12:30 kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
Revision 1.119 2001/12/02 11:11:20 kloczek
- License changed to BSD like and few cosmetics.
@@ -843,7 +819,7 @@
- s/Distibutable/distributable/ in License
Revision 1.115 2001/10/10 12:13:27 orzech
-- %%config(noreplace) to files in /var/lib/named/{,M}/*
+- %config(noreplace) to files in /var/lib/named/{,M}/*
Revision 1.114 2001/10/03 16:44:53 filon
- added require devel in static subpkg
@@ -860,7 +836,7 @@
- removed English "es" translations from -static
Revision 1.110 2001/09/02 16:22:15 kloczek
-- merge translations from CNV and me corrections on using %%{_sysconfdir}
+- merge translations from CNV and me corrections on using %{_sysconfdir}
macro.
Revision 1.109 2001/09/01 21:04:50 qboosh
@@ -880,7 +856,7 @@
Revision 1.103 2001/07/13 10:07:45 kloczek
- reelase 3,
- rebuild against openssl 0.9.6b,
-- added "%%requires_eq openssl".
+- added "%requires_eq openssl".
Revision 1.102 2001/07/11 20:24:56 qboosh
- release 2: libtoolize ; aclocal (needed to build with new autostuff)
@@ -907,10 +883,10 @@
- Rebuilt with corrected logrotate script (/usr/bin/killall -> /bin/killall).
Revision 1.95 2001/03/29 15:21:51 misiek
-rc7 released as 9.1.1; stb
+- rc7 released as 9.1.1; stb
Revision 1.94 2001/03/27 13:53:23 wiget
-rc7
+- rc7
Revision 1.93 2001/03/26 12:11:10 zagrodzki
- upated to rc6
@@ -958,7 +934,7 @@
- removed pre/post for chroot package (no longer needed)
Revision 1.68.2.16 2001/01/30 21:14:54 baggins
-- removed pre-9 %%changelog
+- removed pre-9 %changelog
Revision 1.68.2.15 2001/01/30 20:59:20 baggins
- release 2
@@ -970,16 +946,16 @@
- *.conf moved to /var/lib/named/etc/*
Revision 1.68.2.13 2001/01/30 17:04:09 zagrodzki
-- added named.conf to %%files
+- added named.conf to %files
Revision 1.68.2.12 2001/01/30 16:26:23 zagrodzki
- buildrequires: openssl-devel, byacc
Revision 1.68.2.11 2001/01/19 16:04:51 wiget
-9.1.0 - this version work with 2.2.18 kernel
+- 9.1.0 - this version work with 2.2.18 kernel
Revision 1.68.2.10 2001/01/13 09:46:46 misiek
-9.1.0rc1
+- 9.1.0rc1
Revision 1.68.2.9 2001/01/04 19:10:05 baggins
- updated to 9.1.0b2
@@ -990,22 +966,22 @@
- added libs packege
Revision 1.68.2.7 2000/12/06 10:06:35 misiek
-run ldconfig
+- run ldconfig
Revision 1.68.2.6 2000/12/06 03:02:14 wiget
-9.1.0b1
+- 9.1.0b1
Revision 1.68.2.5 2000/11/12 15:05:56 misiek
-9.0.1
+- 9.0.1
Revision 1.68.2.4 2000/11/08 19:49:39 misiek
-removed shared openssl patch, so now bind is chroot()able again
+- removed shared openssl patch, so now bind is chroot()able again
Revision 1.68.2.3 2000/11/08 09:48:47 misiek
-added openssl patch
+- added openssl patch
Revision 1.68.2.2 2000/11/07 21:33:16 misiek
-updated to 9.0.1rc2
+- updated to 9.0.1rc2
Revision 1.68.2.1 2000/09/26 18:54:44 baggins
- rewrite for 9.0.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/bind.spec?r1=1.198.2.12&r2=1.198.2.13&f=u
More information about the pld-cvs-commit
mailing list