Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Eric Sandall (3bacad09b4e55585fe8bd80a959dd426a4f0f84f)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Eric Sandall (3bacad09b4e55585fe8bd80a959dd426a4f0f84f)
  • Date: Wed, 20 Dec 2006 16:08:19 -0600

GIT changes to stable-rc-0.6 grimoire by Eric Sandall
<sandalle AT moby.localdomain>:

ftp/fags/BUILD | 8 ----
ftp/fags/FINAL | 1
ftp/fags/HISTORY | 4 ++
ftp/fags/INSTALL | 29 --------------
ftp/fags/init.d/fags | 8 ----
utils/coreutils/DETAILS | 2 -
utils/coreutils/HISTORY | 6 +++
utils/coreutils/WIP | 1
utils/coreutils/coreutils-pam.patch | 72
+++++-------------------------------
utils/coreutils/hostname.diff | 66 ++++++++++++---------------------
10 files changed, 46 insertions(+), 151 deletions(-)

New commits:
commit 3bacad09b4e55585fe8bd80a959dd426a4f0f84f
Author: Eric Sandall <sandalle AT moby.localdomain>
Commit: Eric Sandall <sandalle AT moby.localdomain>

Revert "./chat-im/gaim-xmms-remote: 2006/06/15 sync from p4"

This reverts commit 784c0d38f108d788f3d9a1579443d9d6ecd03b44.

Fix was already applied to stable-rc-0.6

commit 784c0d38f108d788f3d9a1579443d9d6ecd03b44
Author: root <root AT fawkes.sourcemage.org>
Commit: Eric Sandall <sandalle AT moby.localdomain>

./chat-im/gaim-xmms-remote: 2006/06/15 sync from p4

Conflicts:

chat-im/gaim-xmms-remote/HISTORY

commit 39246d0b0db3428c3e247c4cf9221d63c40127e7
Author: Mathieu Lonjaret <lejatorn AT sourcemage.org>
Commit: Eric Sandall <sandalle AT moby.localdomain>

fags: removed broken init install

Bug #10115

Conflicts:

ftp/fags/HISTORY
ftp/fags/INSTALL

commit 6a586a4ad9fa862a5c97efbe601b95aa963aa965
Author: Flavien Bridault <vlaaad AT sourcemage.org>
Commit: Eric Sandall <sandalle AT moby.localdomain>

coreutils: updated to 6.4
Fixed bug #13206, works with pam now

diff --git a/ftp/fags/BUILD b/ftp/fags/BUILD
deleted file mode 100755
index 16929c6..0000000
--- a/ftp/fags/BUILD
+++ /dev/null
@@ -1,8 +0,0 @@
- sedit "s:-O2:$CFLAGS:" Makefile.in
-
- ./configure --build=$BUILD \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- $OPTS &&
- make
diff --git a/ftp/fags/FINAL b/ftp/fags/FINAL
deleted file mode 100755
index a459586..0000000
--- a/ftp/fags/FINAL
+++ /dev/null
@@ -1 +0,0 @@
- message "Edit ${MESSAGE_COLOR}/etc/fags/config${DEFAULT_COLOR} before
starting FAGS."
diff --git a/ftp/fags/HISTORY b/ftp/fags/HISTORY
index d0bbfaa..bd7e06a 100644
--- a/ftp/fags/HISTORY
+++ b/ftp/fags/HISTORY
@@ -1,3 +1,7 @@
+2006-11-30 Mathieu Lonjaret <lejatorn AT sourcemage.org>
+ * removed BUILD, INSTALL, FINAL and init.d because init install was
+ * broken and was of no use anyway.
+
2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed BUILD_API=2.

diff --git a/ftp/fags/INSTALL b/ftp/fags/INSTALL
deleted file mode 100755
index 6ea8e9f..0000000
--- a/ftp/fags/INSTALL
+++ /dev/null
@@ -1,29 +0,0 @@
-fags_boot_install () {
-
- # add own user & dirs
- mkdir -p /var/spool/fags/download
- groupadd fags 2>/dev/null
- useradd -g fags -d /var/spool/fags fags 2>/dev/null
- chown -R fags.fags /var/spool/fags
-
- # create config dir and move it /etc/fags
- if [ ! -d /etc/fags ]; then
- rm -rf /etc/fags
- rm -rf /var/spool/fags/.fags
- su fags -c "fags" # create default cfg
- sedit "s:/pub/music/:/var/spool/fags/:" /var/spool/fags/.fags/config
- mv /var/spool/fags/.fags /etc/fags
- ln -sf /etc/fags /var/spool/fags/.fags
- chown root.fags /etc/fags/config
- chmod 0640 /etc/fags/config
- fi
-
-}
-
-
- make install &&
- case $FAGS_BOOT in
- y|Y|j|J) fags_boot_install
- ;;
- *) ;;
- esac
diff --git a/ftp/fags/init.d/fags b/ftp/fags/init.d/fags
deleted file mode 100644
index c58bbed..0000000
--- a/ftp/fags/init.d/fags
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-PROGRAM=/usr/bin/fags
-ARGS="-b"
-RUNLEVEL=3
-NEEDS="+network"
-
-. /etc/int.d/smgl_init
diff --git a/utils/coreutils/DETAILS b/utils/coreutils/DETAILS
index a4a7b47..4443112 100755
--- a/utils/coreutils/DETAILS
+++ b/utils/coreutils/DETAILS
@@ -1,5 +1,5 @@
SPELL=coreutils
- VERSION=6.3
+ VERSION=6.4
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE2=$SOURCE.sig
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
diff --git a/utils/coreutils/HISTORY b/utils/coreutils/HISTORY
index 5dc6676..95cd27c 100644
--- a/utils/coreutils/HISTORY
+++ b/utils/coreutils/HISTORY
@@ -1,3 +1,9 @@
+2006-11-07 Flavien Bridault <vlaaad AT sourcemage.org>
+ * DETAILS: Updated to 6.4
+ * coreutils-pam.patch: Updated (fixes bug #13206), get patch from
Arch Linux
+ at
http://cvs.archlinuxppc.org/viewcvs/base/coreutils/coreutils-pam.patch
+ * hostname.diff: updated
+
2006-10-20 Treeve Jelbert <treeve01 AT pi.be>
* DETAILS: version 6.3
* hostname.diff: updated
diff --git a/utils/coreutils/WIP b/utils/coreutils/WIP
deleted file mode 100644
index afe794e..0000000
--- a/utils/coreutils/WIP
+++ /dev/null
@@ -1 +0,0 @@
-the PAM patch does not apply !!
diff --git a/utils/coreutils/coreutils-pam.patch
b/utils/coreutils/coreutils-pam.patch
index c342555..2e46d92 100644
--- a/utils/coreutils/coreutils-pam.patch
+++ b/utils/coreutils/coreutils-pam.patch
@@ -25,9 +25,9 @@
+
+#endif
+
- Options:
- -, -l, --login Make the subshell a login shell.
- Unset all environment variables except
+ Compile-time options:
+ -DSYSLOG_SUCCESS Log successful su's (by default, to root) with syslog.
+ -DSYSLOG_FAILURE Log failed su's (by default, to root) with syslog.
@@ -81,6 +91,15 @@
prototype (returning `int') in <unistd.h>. */
#define getusershell _getusershell_sys_proto_
@@ -51,9 +51,9 @@
+#ifndef USE_PAM
char *crypt ();
+#endif
- char *getpass ();
char *getusershell ();
void endusershell ();
+ void setusershell ();
@@ -158,8 +179,13 @@

extern char **environ;
@@ -259,7 +259,7 @@
+ if(chdir(pw->pw_dir))
+ error(0, errno, _("warning: cannot change directory to %s"),
pw->pw_dir);
+
- shell_basename = base_name (shell);
+ shell_basename = last_component (shell);
arg0 = xmalloc (strlen (shell_basename) + 2);
arg0[0] = '-';
@@ -383,6 +531,66 @@
@@ -342,61 +342,11 @@
- run_shell (shell, command, argv + optind, MAX (0, argc - optind));
+ run_shell (shell, command, argv + optind, MAX (0, argc - optind), pw);
}
---- coreutils-5.92/doc/coreutils.texi.pam 2005-10-16 08:26:21.000000000
+0100
-+++ coreutils-5.92/doc/coreutils.texi 2005-10-24 17:58:21.000000000 +0100
-@@ -12746,8 +12746,11 @@
- @findex syslog
- @command{su} can optionally be compiled to use @code{syslog} to report
- failed, and optionally successful, @command{su} attempts. (If the system
--supports @code{syslog}.) However, GNU @command{su} does not check if the
--user is a member of the @code{wheel} group; see below.
-+supports @code{syslog}.)
-+
-+This version of @command{su} has support for using PAM for
-+authentication. You can edit @file{/etc/pam.d/su} to customize its
-+behaviour.
-
- The program accepts the following options. Also see @ref{Common options}.
-
-@@ -12828,33 +12831,6 @@
- the exit status of the subshell otherwise
- @end display
-
--@cindex wheel group, not supported
--@cindex group wheel, not supported
--@cindex fascism
--@subsection Why GNU @command{su} does not support the @samp{wheel} group
--
--(This section is by Richard Stallman.)
--
--@cindex Twenex
--@cindex MIT AI lab
--Sometimes a few of the users try to hold total power over all the
--rest. For example, in 1984, a few users at the MIT AI lab decided to
--seize power by changing the operator password on the Twenex system and
--keeping it secret from everyone else. (I was able to thwart this coup
--and give power back to the users by patching the kernel, but I
--wouldn't know how to do that in Unix.)
--
--However, occasionally the rulers do tell someone. Under the usual
--@command{su} mechanism, once someone learns the root password who
--sympathizes with the ordinary users, he or she can tell the rest. The
--``wheel group'' feature would make this impossible, and thus cement the
--power of the rulers.
--
--I'm on the side of the masses, not that of the rulers. If you are
--used to supporting the bosses and sysadmins in whatever they do, you
--might find this idea strange at first.
--
--
- @node Process control
- @chapter Process control
-
--- coreutils-5.92/configure.ac.pam 2005-10-24 17:58:21.000000000 +0100
+++ coreutils-5.92/configure.ac 2005-10-24 17:58:21.000000000 +0100
@@ -28,6 +28,13 @@
AB_INIT()
- AM_INIT_AUTOMAKE([1.8.3 gnits dist-bzip2])
+ AM_INIT_AUTOMAKE([1.9.6 gnits dist-bzip2])

+dnl Give the chance to enable PAM
+AC_ARG_ENABLE(pam, dnl
@@ -405,11 +355,11 @@
+LIB_PAM="-ldl -lpam -lpam_misc"
+AC_SUBST(LIB_PAM)])
+
- gl_DEFAULT_POSIX2_VERSION
- gl_USE_SYSTEM_EXTENSIONS
- gl_PERL
---- coreutils-5.92/config.hin.pam 2005-10-24 17:58:21.000000000 +0100
-+++ coreutils-5.92/config.hin 2005-10-24 17:58:21.000000000 +0100
+ AC_PROG_CC_STDC
+ AM_PROG_CC_C_O
+ AC_PROG_CPP
+--- coreutils-5.92/lib/config.hin.pam 2005-10-24 17:58:21.000000000 +0100
++++ coreutils-5.92/lib/config.hin 2005-10-24 17:58:21.000000000 +0100
@@ -1526,6 +1526,9 @@
/* Define if you want access control list support. */
#undef USE_ACL
diff --git a/utils/coreutils/hostname.diff b/utils/coreutils/hostname.diff
index d138920..520d46b 100644
--- a/utils/coreutils/hostname.diff
+++ b/utils/coreutils/hostname.diff
@@ -1,6 +1,6 @@
-diff -uNr coreutils-6.3/man/Makefile.am coreutils-6.3.cp/man/Makefile.am
---- coreutils-6.3/man/Makefile.am 2006-08-17 22:39:20.000000000 +0200
-+++ coreutils-6.3.cp/man/Makefile.am 2006-10-20 18:21:45.000000000 +0200
+diff -uNr coreutils-6.4.old/man/Makefile.am coreutils-6.4/man/Makefile.am
+--- coreutils-6.4.old/man/Makefile.am 2006-11-07 15:31:03.000000000 +0100
++++ coreutils-6.4/man/Makefile.am 2006-11-07 15:34:00.000000000 +0100
@@ -22,7 +22,7 @@
base64.1 basename.1 cat.1 chgrp.1 chmod.1 chown.1 chroot.1 cksum.1 comm.1
\
cp.1 csplit.1 cut.1 date.1 dd.1 df.1 dir.1 dircolors.1 dirname.1 du.1 \
@@ -18,19 +18,10 @@ diff -uNr coreutils-6.3/man/Makefile.am
id.1: $(common_dep) $(srcdir)/id.x ../src/id.c
install.1: $(common_dep) $(srcdir)/install.x ../src/install.c
join.1: $(common_dep) $(srcdir)/join.x ../src/join.c
-diff -uNr coreutils-6.3/man/Makefile.in coreutils-6.3.cp/man/Makefile.in
---- coreutils-6.3/man/Makefile.in 2006-09-30 11:09:23.000000000 +0200
-+++ coreutils-6.3.cp/man/Makefile.in 2006-10-20 18:21:45.000000000 +0200
-@@ -93,7 +93,7 @@
- $(top_srcdir)/m4/getcwd-abort-bug.m4 \
- $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \
- $(top_srcdir)/m4/getdate.m4 $(top_srcdir)/m4/getdelim.m4 \
-- $(top_srcdir)/m4/getgroups.m4 $(top_srcdir)/m4/gethostname.m4 \
-+ $(top_srcdir)/m4/getgroups.m4 \
- $(top_srcdir)/m4/gethrxtime.m4 $(top_srcdir)/m4/getline.m4 \
- $(top_srcdir)/m4/getloadavg.m4 $(top_srcdir)/m4/getndelim2.m4 \
- $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \
-@@ -377,7 +377,7 @@
+diff -uNr coreutils-6.4.old/man/Makefile.in coreutils-6.4/man/Makefile.in
+--- coreutils-6.4.old/man/Makefile.in 2006-11-07 15:31:03.000000000 +0100
++++ coreutils-6.4/man/Makefile.in 2006-11-07 15:35:10.000000000 +0100
+@@ -380,7 +380,7 @@
base64.1 basename.1 cat.1 chgrp.1 chmod.1 chown.1 chroot.1 cksum.1 comm.1
\
cp.1 csplit.1 cut.1 date.1 dd.1 df.1 dir.1 dircolors.1 dirname.1 du.1 \
echo.1 env.1 expand.1 expr.1 factor.1 false.1 fmt.1 fold.1 groups.1 \
@@ -39,7 +30,7 @@ diff -uNr coreutils-6.3/man/Makefile.in
link.1 ln.1 logname.1 \
ls.1 md5sum.1 mkdir.1 mkfifo.1 mknod.1 mv.1 nice.1 nl.1 nohup.1 od.1 \
paste.1 pathchk.1 pinky.1 pr.1 printenv.1 printf.1 ptx.1 pwd.1 readlink.1
\
-@@ -647,7 +647,6 @@
+@@ -659,7 +659,6 @@
groups.1: $(common_dep) $(srcdir)/groups.x ../src/groups.sh
head.1: $(common_dep) $(srcdir)/head.x ../src/head.c
hostid.1: $(common_dep) $(srcdir)/hostid.x ../src/hostid.c
@@ -47,9 +38,9 @@ diff -uNr coreutils-6.3/man/Makefile.in
id.1: $(common_dep) $(srcdir)/id.x ../src/id.c
install.1: $(common_dep) $(srcdir)/install.x ../src/install.c
join.1: $(common_dep) $(srcdir)/join.x ../src/join.c
-diff -uNr coreutils-6.3/src/Makefile.am coreutils-6.3.cp/src/Makefile.am
---- coreutils-6.3/src/Makefile.am 2006-09-20 10:19:42.000000000 +0200
-+++ coreutils-6.3.cp/src/Makefile.am 2006-10-20 18:21:45.000000000 +0200
+diff -uNr coreutils-6.4.old/src/Makefile.am coreutils-6.4/src/Makefile.am
+--- coreutils-6.4.old/src/Makefile.am 2006-11-07 15:31:03.000000000 +0100
++++ coreutils-6.4/src/Makefile.am 2006-11-07 15:35:35.000000000 +0100
@@ -27,7 +27,7 @@
nl od paste pr ptx sha1sum sha224sum sha256sum sha384sum sha512sum \
shuf sort split sum tac tail tr tsort unexpand uniq wc \
@@ -59,10 +50,10 @@ diff -uNr coreutils-6.3/src/Makefile.am
test true tty whoami yes \
base64 \
$(OPTIONAL_BIN_PROGS) $(DF_PROG)
-diff -uNr coreutils-6.3/src/Makefile.in coreutils-6.3.cp/src/Makefile.in
---- coreutils-6.3/src/Makefile.in 2006-09-30 11:11:14.000000000 +0200
-+++ coreutils-6.3.cp/src/Makefile.in 2006-10-20 18:25:24.000000000 +0200
-@@ -57,7 +57,7 @@
+diff -uNr coreutils-6.4.old/src/Makefile.in coreutils-6.4/src/Makefile.in
+--- coreutils-6.4.old/src/Makefile.in 2006-11-07 15:31:03.000000000 +0100
++++ coreutils-6.4/src/Makefile.in 2006-11-07 15:36:59.000000000 +0100
+@@ -53,7 +53,7 @@
tsort$(EXEEXT) unexpand$(EXEEXT) uniq$(EXEEXT) wc$(EXEEXT) \
basename$(EXEEXT) date$(EXEEXT) dirname$(EXEEXT) echo$(EXEEXT) \
env$(EXEEXT) expr$(EXEEXT) factor$(EXEEXT) false$(EXEEXT) \
@@ -71,16 +62,7 @@ diff -uNr coreutils-6.3/src/Makefile.in
pathchk$(EXEEXT) printenv$(EXEEXT) printf$(EXEEXT) \
pwd$(EXEEXT) seq$(EXEEXT) sleep$(EXEEXT) tee$(EXEEXT) \
test$(EXEEXT) true$(EXEEXT) tty$(EXEEXT) whoami$(EXEEXT) \
-@@ -101,7 +101,7 @@
- $(top_srcdir)/m4/getcwd-abort-bug.m4 \
- $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \
- $(top_srcdir)/m4/getdate.m4 $(top_srcdir)/m4/getdelim.m4 \
-- $(top_srcdir)/m4/getgroups.m4 $(top_srcdir)/m4/gethostname.m4 \
-+ $(top_srcdir)/m4/getgroups.m4 \
- $(top_srcdir)/m4/gethrxtime.m4 $(top_srcdir)/m4/getline.m4 \
- $(top_srcdir)/m4/getloadavg.m4 $(top_srcdir)/m4/getndelim2.m4 \
- $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \
-@@ -355,11 +355,6 @@
+@@ -349,11 +349,6 @@
hostid_LDADD = $(LDADD)
hostid_DEPENDENCIES = ../lib/libcoreutils.a $(am__DEPENDENCIES_1) \
../lib/libcoreutils.a
@@ -92,16 +74,16 @@ diff -uNr coreutils-6.3/src/Makefile.in
id_SOURCES = id.c
id_OBJECTS = id.$(OBJEXT)
id_LDADD = $(LDADD)
-@@ -669,7 +664,7 @@
+@@ -663,7 +658,7 @@
chmod.c $(chown_SOURCES) chroot.c cksum.c comm.c $(cp_SOURCES) \
csplit.c cut.c date.c dd.c df.c $(dir_SOURCES) dircolors.c \
dirname.c du.c echo.c env.c expand.c expr.c factor.c false.c \
- fmt.c fold.c $(ginstall_SOURCES) head.c hostid.c hostname.c \
-+ fmt.c fold.c $(ginstall_SOURCES) head.c hostid.c \
++ fmt.c fold.c $(ginstall_SOURCES) head.c hostid.c \
id.c join.c kill.c link.c ln.c logname.c $(ls_SOURCES) \
$(md5sum_SOURCES) mkdir.c mkfifo.c mknod.c $(mv_SOURCES) \
nice.c nl.c nohup.c od.c paste.c pathchk.c pinky.c pr.c \
-@@ -685,7 +680,7 @@
+@@ -679,7 +674,7 @@
chmod.c $(chown_SOURCES) chroot.c cksum.c comm.c $(cp_SOURCES) \
csplit.c cut.c date.c dd.c df.c $(dir_SOURCES) dircolors.c \
dirname.c du.c echo.c env.c expand.c expr.c factor.c false.c \
@@ -110,17 +92,17 @@ diff -uNr coreutils-6.3/src/Makefile.in
id.c join.c kill.c link.c ln.c logname.c $(ls_SOURCES) \
$(md5sum_SOURCES) mkdir.c mkfifo.c mknod.c $(mv_SOURCES) \
nice.c nl.c nohup.c od.c paste.c pathchk.c pinky.c pr.c \
-@@ -1184,9 +1179,6 @@
+@@ -1185,9 +1180,6 @@
hostid$(EXEEXT): $(hostid_OBJECTS) $(hostid_DEPENDENCIES)
@rm -f hostid$(EXEEXT)
- $(LINK) $(hostid_LDFLAGS) $(hostid_OBJECTS) $(hostid_LDADD) $(LIBS)
+ $(LINK) $(hostid_OBJECTS) $(hostid_LDADD) $(LIBS)
-hostname$(EXEEXT): $(hostname_OBJECTS) $(hostname_DEPENDENCIES)
- @rm -f hostname$(EXEEXT)
-- $(LINK) $(hostname_LDFLAGS) $(hostname_OBJECTS) $(hostname_LDADD)
$(LIBS)
+- $(LINK) $(hostname_OBJECTS) $(hostname_LDADD) $(LIBS)
id$(EXEEXT): $(id_OBJECTS) $(id_DEPENDENCIES)
@rm -f id$(EXEEXT)
- $(LINK) $(id_LDFLAGS) $(id_OBJECTS) $(id_LDADD) $(LIBS)
-@@ -1451,7 +1443,6 @@
+ $(LINK) $(id_OBJECTS) $(id_LDADD) $(LIBS)
+@@ -1452,7 +1444,6 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fold.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/head.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hostid.Po@am__quote@



  • [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Eric Sandall (3bacad09b4e55585fe8bd80a959dd426a4f0f84f), Eric Sandall, 12/20/2006

Archive powered by MHonArc 2.6.24.

Top of Page