|
From: Benjamin R. <ran...@us...> - 2003-10-25 23:06:29
|
Update of /cvsroot/fink/dists/10.2-gcc3.3/unstable/main/finkinfo/devel In directory sc8-pr-cvs1:/tmp/cvs-serv16438 Added Files: aegis.info aegis.patch Log Message: done up through ae! woot! ;) --- NEW FILE: aegis.info --- Package: aegis Version: 4.2 Revision: 12 Source: http://aegis.sourceforge.net/aegis-%v.tar.gz #TODO: need CustomMirror for retrieving old versions Depends: fhist BuildDepends: gettext-dev, gettext-bin Suggests: cook # ConfigureParams: --mandir=%p/share/man --sharedstatedir=%p/var/aegis Patch: %n.patch InstallScript: << make RPM_BUILD_ROOT=%d install << DocFiles: README* BUILDING LICENSE # Description: Software configuration management system DescDetail: << Aegis is a transaction-based software configuration management system. It provides a framework within which a team of developers may work on many changes to a program independently, and Aegis coordinates integrating these changes back into the master source of the program, with as little disruption as possible. For more information, see http://aegis.sourceforge.net/ << DescUsage: << Aegis provides shell initialization scripts to set up common command aliases. Links are installed in %p/etc/profile.d so that fink will automatically source the appropriate script for your shell. Aegis also provides a web-based interface. To enable it, copy the aegis.cgi script from %p/share/aegis/cgi-bin/aegis.cgi to /Library/WebServer/CGI-Executables/. << DescPort: << In its default configuration, aegis expects to be installed as the user bin, group sys. These entities do not exist on OS X by default. The configure script is patched to pass root/wheel to the Makefile instead. The Makefile explicitly sets the owner/group of the aegis library and shared files. In combination, this results in the aegis trees (under fink) having files owned by root/wheel instead of root/admin. Note: Setting the group to admin will not work due to aegis' security checks, which enforce that the uid/gid of the user/group that owns the system state files (in %p/var/aegis) is less than the uid/gid of the repository and checked-out aegis projects. There are minor link warnings when compiling aegis because libaegis/lock.c defines a function (lock_release), which conflicts with a system function (lock_release) declared in /usr/include/mach/lock_set.h. The system function is included because libm.dylib is a link to the OS X libSystem.dylib. The conflict causes a link warning, but ld makes the correct choice in resolution. << License: GPL Maintainer: David Bacher <drb...@al...> Source-MD5: 041fd437740e5192b926b7b5e479eea4 --- NEW FILE: aegis.patch --- diff -uNr aegis-4.2/Makefile.in aegis-4.2-new/Makefile.in --- aegis-4.2/Makefile.in Mon Feb 25 18:14:42 2002 +++ aegis-4.2-new/Makefile.in Thu Oct 23 13:03:20 2003 @@ -104,6 +104,17 @@ comdir = @sharedstatedir@ # +# where to put the system configuration directory +# +# ${sysconfdir} is for architecture-neutral files +# On a network, this would be shared between all machines +# on the network. It can be mounted read-only. +# +# This is where common links to the shell configuration scripts live. +# +sysconfdir = @sysconfdir@ + +# # ${libdir} is for architecture-specific files # On a network, this would only be shared between machines # of identical cpu-hw-os flavour. It can be mounted read-only. @@ -201,7 +212,7 @@ # HAVE_WEB = @web@ DocumentRoot = @DocumentRoot@ -ScriptRoot = @ScriptRoot@ +ScriptRoot = @datadir@/cgi-bin # # Mess with the names of installed executables. @@ -2739,9 +2750,9 @@ $(RPM_BUILD_ROOT)$(datadir)/cshrc: lib/cshrc lib/.mkdir.datadir $(INSTALL_PROGRAM) lib/cshrc $@ -$(RPM_BUILD_ROOT)/etc/profile.d/aegis.csh: \ +$(RPM_BUILD_ROOT)$(sysconfdir)/profile.d/aegis.csh: \ $(RPM_BUILD_ROOT)$(datadir)/cshrc - -@mkdir -p $(RPM_BUILD_ROOT)/etc/profile.d + -@mkdir -p $(RPM_BUILD_ROOT)$(sysconfdir)/profile.d -ln -s $(datadir)/cshrc $@ $(RPM_BUILD_ROOT)$(datadir)/db_forced.sh: lib/db_forced.sh \ @@ -6262,9 +6273,9 @@ $(RPM_BUILD_ROOT)$(datadir)/profile: lib/profile lib/.mkdir.datadir $(INSTALL_PROGRAM) lib/profile $@ -$(RPM_BUILD_ROOT)/etc/profile.d/aegis.sh: \ +$(RPM_BUILD_ROOT)$(sysconfdir)/profile.d/aegis.sh: \ $(RPM_BUILD_ROOT)$(datadir)/profile - -@mkdir -p $(RPM_BUILD_ROOT)/etc/profile.d + -@mkdir -p $(RPM_BUILD_ROOT)$(sysconfdir)/profile.d -ln -s $(datadir)/profile $@ $(RPM_BUILD_ROOT)$(datadir)/remind/awt_dvlp.sh: lib/remind/awt_dvlp.sh \ @@ -14898,8 +14909,8 @@ LibFiles = -DataFiles = $(RPM_BUILD_ROOT)/etc/profile.d/aegis.sh \ - $(RPM_BUILD_ROOT)/etc/profile.d/aegis.csh \ +DataFiles = $(RPM_BUILD_ROOT)$(sysconfdir)/profile.d/aegis.sh \ + $(RPM_BUILD_ROOT)$(sysconfdir)/profile.d/aegis.csh \ $(RPM_BUILD_ROOT)$(datadir)/aegis.icon \ $(RPM_BUILD_ROOT)$(datadir)/aegis.mask \ $(RPM_BUILD_ROOT)$(datadir)/aegis.pgm \ diff -uNr aegis-4.2/configure aegis-4.2-new/configure --- aegis-4.2/configure Mon Feb 25 18:14:42 2002 +++ aegis-4.2-new/configure Thu Oct 23 13:03:20 2003 @@ -2824,8 +2824,8 @@ echo $ac_n "checking for owner of aegis library files""... $ac_c" 1>&6 echo "configure:2827: checking for owner of aegis library files" >&5 -AEGIS_UID=3 -AEGIS_GID=3 +AEGIS_UID=0 +AEGIS_GID=0 if test "$OSTYPE" != "cygwin32" -a "$OSTYPE" != "cygwin" ; then if test -f ${sharedstatedir}/lockfile -o -f ${libdir}/lockfile ; then cat > conftest.$ac_ext << 'EOF' @@ -2961,7 +2961,7 @@ do if test -r $f then - tmp=`$AWK '/^ScriptAlias.*cgi-bin/{dir=$3; sub(/\/*$/, "", dir); print dir}' $f | head -1` + tmp=`$AWK '/^ *ScriptAlias.*cgi-bin/{dir=$3; sub(/\/*$/, "", dir); print dir}' $f | head -1` test "x$tmp" != "x" && _cv_ScriptRoot="$tmp" fi done diff -uNr aegis-4.2/libaegis/change/history/label_commnd.c aegis-4.2-new/libaegis/change/history/label_commnd.c --- aegis-4.2/libaegis/change/history/label_commnd.c Mon Feb 25 18:14:42 2002 +++ aegis-4.2-new/libaegis/change/history/label_commnd.c Thu Oct 23 13:03:37 2003 @@ -54,8 +54,8 @@ * ${Label} * label */ - trace(("change_run_history_label_command(cp = %8.8lX, filename = \"%s\", - label = \"%s\",delta = %ld)\n{\n", (long)cp, src->file_name->str_text, + trace(("change_run_history_label_command(cp = %8.8lX, filename = \"%s\", label = \"%s\",delta = %ld)\n{\n", + (long)cp, src->file_name->str_text, label->str_text, delta)); assert(cp->reference_count >= 1); diff -uNr aegis-4.2/libaegis/getgr_cache.c aegis-4.2-new/libaegis/getgr_cache.c --- aegis-4.2/libaegis/getgr_cache.c Mon Feb 25 18:14:42 2002 +++ aegis-4.2-new/libaegis/getgr_cache.c Thu Oct 23 13:03:20 2003 @@ -20,6 +20,7 @@ * MANIFEST: functions to manipulate getgr_caches */ +#include <sys/types.h> #include <ac/string.h> #include <getgr_cache.h> |