--- aegis-4.11.orig/Makefile.in +++ aegis-4.11/Makefile.in @@ -48,7 +48,7 @@ # the name of the install program to use # INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ ${DEBINSTOPT} INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_DATA = @INSTALL_DATA@ @@ -60,7 +60,7 @@ # # The compiler flags to use # -CFLAGS = @CPPFLAGS@ @CFLAGS@ +CFLAGS = @CPPFLAGS@ @CFLAGS@ ${DEBCFLAGS} # # The linker flags to use --- aegis-4.11.orig/common/find_sizes.h +++ aegis-4.11/common/find_sizes.h @@ -0,0 +1,9 @@ +#ifndef COMMON_FIND_SIZES_H +#define COMMON_FIND_SIZES_H + +typedef long int32; +typedef unsigned long uint32; +typedef short int16; +typedef unsigned short uint16; + +#endif /* COMMON_FIND_SIZES_H */ --- aegis-4.11.orig/etc/Makefile.head +++ aegis-4.11/etc/Makefile.head @@ -48,7 +48,7 @@ # the name of the install program to use # INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ @DEBINSTOPTS@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_DATA = @INSTALL_DATA@ @@ -60,7 +60,7 @@ # # The compiler flags to use # -CFLAGS = @CPPFLAGS@ @CFLAGS@ +CFLAGS = @CPPFLAGS@ @CFLAGS@ @DEBCFLAGS@ # # The linker flags to use --- aegis-4.11.orig/lib/config.example/diff +++ aegis-4.11/lib/config.example/diff @@ -12,12 +12,19 @@ /* - * Compare two files using GNU diff. The -U 10 option produces an output - * with inserts and deletes shown line, with 10 lines of context before - * and after. This is usually superior to -c, as it shows what happened - * more clearly (and it takes less space). The -b option could be added + * Compare two files using GNU diff and cmp in two stages, allowing + * for differences in binary files to be noted. + * + * The -U 10 option to GNU diff produces an output with inserts and + * deletes shown line, with 10 lines of context before and after. + * This is usually superior to -c, as it shows what happened more + * clearly (and it takes less space). The -b option could be added * to compare runs of white space as equal. * + * cmp takes no options, and simply reports whether or not the two files + * are identical. If they are not, it reports the location of the first + * difference in the files. + * * This command is used by aed(1) to produce a difference listing when * file in the development directory was originally copied from the * current version in the baseline. @@ -48,3 +55,21 @@ "set +e; " "diff -U10 -a ${quote $original} ${quote $input} > ${quote $output}; " "test $? -le 1"; + +/* + * Here is a possible diff_command that could be used if + * dealing with binary files is required. + * + * If the return code from the original diff is greater then 1, then + * make sure that diff spit out the 'Binary files differ message' + * and return 0, otherwise return 1 + * +diff_command = + "set +e; " + "diff -U10 -a ${quote $original} ${quote $input} > ${quote $output}; " + "if test $? -gt 1; then " + "grep -q ^Binary ${quote $output}; " + "test $? -eq 0; " + "else; exit 0 ; fi"; + * + */ --- aegis-4.11.orig/lib/cshrc.in +++ aegis-4.11/lib/cshrc.in @@ -39,22 +39,6 @@ endif # -# Set the MANPATH environment variable to include the Aegis' library -# directory. This directory contains subdirectories for each of the -# supported languages, structured in such a way that man(1) programs -# which understand the $LANGUAGE environment variable will be able to find -# manual pages in the user's preferred language. -# -if ( ! $?MANPATH ) then - if ( "`uname`" == "Linux" ) then - setenv MANPATH `man -w` - else - setenv MANPATH /usr/man - endif -endif -setenv MANPATH ${MANPATH}:@mandir@:@datadir@ - -# # Set the AEGIS_AUTOMOUNT_POINTS environment variable to the names # of the directories which the automounter uses to temporarily mount # file systems. Use with extreme caution as this distorts Aegis' idea @@ -104,7 +88,9 @@ 'less `find . -type f \( -name "*,D" -o -name ".*,D" \) -print | sort`' alias aedmore \ 'more `find . -type f \( -name "*,D" -o -name ".*,D" \) -print | sort`' -alias aedn 'aegis -dn \!* -v' +alias aedpager \ + 'sensible-pager `find . -type f \( -name "*,D" -o -name ".*,D" \) -print | sort`' +alias aedn 'aegis -dn \!* -v' alias aeib 'aegis -ib \!* -v' alias aeibu 'aegis -ibu \!* -v' alias aeifail 'aegis -ifail \!* -v' --- aegis-4.11.orig/lib/profile.in +++ aegis-4.11/lib/profile.in @@ -43,23 +43,6 @@ export LANGUAGE # -# Set the MANPATH environment variable to include the Aegis' library -# directory. This directory contains subdirectories for each of the -# supported languages, structured in such a way that man(1) programs -# which understand the $LANGUAGE environment variable will be able to find -# manual pages in the user's preferred language. -# -if [ "${MANPATH-no}" = "no" ]; then - if [ "`uname`" = "Linux" ]; then - MANPATH=`man -w` - else - MANPATH=/usr/man - fi -fi -MANPATH=${MANPATH}:@mandir@:@datadir@ -export MANPATH - -# # Set the AEGIS_AUTOMOUNT_POINTS environment variable to the names # of the directories which the automounter uses to temporarily mount # file systems. Use with extreme caution as this distorts Aegis' idea @@ -156,6 +139,10 @@ { more `find . -type f \( -name "*,D" -o -name ".*,D" \) -print | sort` } +aedpager() +{ + find . -type f \( -name "*,D" -o -name ".*,D" \) -print | sort | xargs sensible-pager +} aedn() { aegis -dn "$@" -v @@ -358,6 +345,7 @@ unset -f aedeu unset -f aedless unset -f aedmore + unset -f aedpager unset -f aedn unset -f aefinish unset -f aeib --- aegis-4.11.orig/script/aegis.cgi.in +++ aegis-4.11/script/aegis.cgi.in @@ -29,13 +29,17 @@ datadir=@datadir@ # architecture neutral... e.g. AEGIS_PATH +# Debian change: This is a global config file, +# located in /usr/share/aegis/aegis.cgi.conf if test -r $datadir/aegis.cgi.conf; then . $datadir/aegis.cgi.conf fi # architecture specific... e.g. PATH -if test -r $libdir/aegis.cgi.conf; then -. $libdir/aegis.cgi.conf +# Debian change: This is a local config file, +# located in /etc/aegis.cgi.conf +if test -r /etc/aegis.cgi.conf; then +. /etc/aegis.cgi.conf fi extra= --- aegis-4.11.orig/script/xaegis.in +++ aegis-4.11/script/xaegis.in @@ -35,8 +35,8 @@ wm maxsize . 32767 32767 wm minsize . 200 100 wm iconname . Aegis -wm iconbitmap . @$datadir/aegis.icon -wm iconmask . @$datadir/aegis.mask +wm iconbitmap . $datadir/aegis.icon +wm iconmask . $datadir/aegis.mask # # create the menu bar --- aegis-4.11.orig/debian/README.Debian +++ aegis-4.11/debian/README.Debian @@ -0,0 +1,24 @@ +aegis for Debian +---------------- + +This is the 4.x Aegis package. The older, database incompatible 3.x +Aegis can be found in the aegis3 packages. + +Note that the profile and cshrc scripts that contain the definitions for +the ae* shortform commands is now in /usr/share/aegis/ as well as in +/usr/share/doc/aegis/examples where is had been previously + +aedpager uses 'sensible-pager' as the file viewer. + +Note on using 'diff' with aegis +-------------------------------- + +The behavior of the 'diff' command has changed recently, and now 'diff' +returns an exit code of 2 when diffing binary files. + +If you are going to be using aegis to manage repositories with binary files +in them, then diff will not neccesarily work correctly for you. A possible +solution is included in the comments of the diff config fragment in +/usr/share/doc/aegis/config.example/diff + + -- Chris Davis , Wed Jan 8 2003 19:23:12 -0500 --- aegis-4.11.orig/debian/control +++ aegis-4.11/debian/control @@ -0,0 +1,73 @@ +Source: aegis +Section: devel +Priority: optional +Maintainer: Chris G. Davis +Build-Depends: debhelper (>= 4.1.16), bison, zlib1g-dev, groff, gettext +Standards-Version: 3.5.8.0 + +Package: aegis +Architecture: any +Depends: ${shlibs:Depends}, debconf +Suggests: aegis-doc (>> 4), aegis-tk (>> 4), aegis-web(>> 4) +Recommends: fhist | rcs | cssc, cook | make | cake, diff | fhist +Replaces: aegis3 +Conflicts: aegis3 +Description: Advanced software management tool. + Aegis integrates standard software tools such as gcc + and cvs into an easy to use, extensible software management system. + . + Aegis simplifies the problems associated with multiple developers and + development trees by using a transaction-based approach to version control, + along with a web-browsable repository and an integrated testing + mechanism. + . + See aegis-doc for documentation, aegis-tk for a TK based user + interface, and aegis-web for a web based user interface. + +Package: aegis-doc +Architecture: all +Section: doc +Suggests: aegis +Replaces: aegis3-doc +Conflicts: aegis3-doc +Description: Documentation for aegis + Aegis integrates standard software tools such as gcc + and cvs into an easy to use, extensible software management system. + . + Aegis simplifies the problems associated with multiple developers and + development trees by using a transaction-based approach to version control, + along with a web-browsable repository and an integrated testing + mechanism. + +Package: aegis-tk +Architecture: all +Depends: aegis, tk8.3 | wish +Replaces: aegis3-tk, aegis (<< 4) +Conflicts: aegis3-tk +Description: Aegis TK user interface + Aegis integrates standard software tools such as gcc + and cvs into an easy to use, extensible software management system. + . + Aegis simplifies the problems associated with multiple developers and + development trees by using a transaction-based approach to version control, + along with a web-browsable repository and an integrated testing + mechanism. + +Package: aegis-web +Architecture: all +Depends: aegis, apache | httpd +Replaces: aegis3-web, aegis (<< 4.10) +Conflicts: aegis3-web +Description: Aegis Web based user interface + Aegis integrates standard software tools such as gcc + and cvs into an easy to use, extensible software management system. + . + Aegis simplifies the problems associated with multiple developers and + development trees by using a transaction-based approach to version control, + along with a web-browsable repository and an integrated testing + mechanism. + . + Note that aegis-web relies heavily on cgi-bin support, so web servers + that do not support cgi-bin will not work with aegis-web. These other + browsers can still be installed on the system, but a cgi capable web + must also be installed. --- aegis-4.11.orig/debian/aegis-tk.files +++ aegis-4.11/debian/aegis-tk.files @@ -0,0 +1,10 @@ +usr/bin/*tk* +usr/bin/xaegis +usr/bin/aebuffy +usr/bin/aecomp +usr/share/aegis/aegis* +usr/share/man/man1/*tk* +usr/share/man/man1/aebuffy.1 +usr/share/man/man1/aecomp.1 +usr/share/aegis/wish + --- aegis-4.11.orig/debian/docs +++ aegis-4.11/debian/docs @@ -0,0 +1 @@ +README --- aegis-4.11.orig/debian/aegis.templates +++ aegis-4.11/debian/aegis.templates @@ -0,0 +1,25 @@ +Template: aegis/var_lib_aegis_not_local +Type: note +_Description: /var/lib/aegis is not on a local drive. + Aegis requires that /var/lib/aegis be owned by sys.sys and be set-gid, and + group writable. + . + Your /var/lib/aegis is on a remote partition, most likely an NFS server. + This could cause the postinst to fail, since we may not have permission to + change the owner/permissions of the directory on the remote server. + . + If this happens, change the permissions on the NFS server, or ask the + server administrator to do it for you. + +Template: aegis/var_lib_not_local +Type: note +_Description: /var/lib is not on a local drive. + Aegis requires that /var/lib/aegis be owned by sys.sys and be set-gid, and + group writable. + . + Your /var/lib is on a remote partition, most likely an NFS server. This + could cause the postinst to fail, since we may not have permission to + change the owner/permissions of the directory on the remote server. + . + If this happens, change the permissions on the NFS server, or ask the + server administrator to do it for you. --- aegis-4.11.orig/debian/aegis-doc.dirs +++ aegis-4.11/debian/aegis-doc.dirs @@ -0,0 +1,2 @@ +usr/share/doc/aegis-doc + --- aegis-4.11.orig/debian/aegis-web.README.Debian +++ aegis-4.11/debian/aegis-web.README.Debian @@ -0,0 +1,11 @@ +aegis for Debian +---------------- + +The aegis cgi script has two config files, a global config file +located in /usr/share/aegis/aegis.cgi.conf and a local, machine +specific config file located in /etc/aegis.cgi.conf + +These files are not required for the operation of the cgi script, but +you can create them to customize how the cgi script operates. + + -- Chris Davis , Sun, 30 Dec 2001 14:58:35 -0500 --- aegis-4.11.orig/debian/dirs +++ aegis-4.11/debian/dirs @@ -0,0 +1,6 @@ +usr/share/doc/aegis +usr/share/doc/aegis/examples +usr/share/doc/aegis/examples/reports + + + --- aegis-4.11.orig/debian/po/nl.po +++ aegis-4.11/debian/po/nl.po @@ -0,0 +1,76 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aegis 4.11-2\n" +"POT-Creation-Date: 2003-04-21 15:59-0300\n" +"PO-Revision-Date: 2003-09-14 16:40+0100\n" +"Last-Translator: Tim Vandermeersch \n" +"Language-Team: dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../aegis.templates:3 +msgid "/var/lib/aegis is not on a local drive." +msgstr "/var/lib/aegis staat niet op een lokale schijf." + +#. Description +#: ../aegis.templates:3 +msgid "" +"Your /var/lib/aegis is on a remote partition, most likely an NFS server. " +"This could cause the postinst to fail, since we may not have permission to " +"change the owner/permissions of the directory on the remote server." +msgstr "" +"Uw /var/lib/aegis staat op een partitie op een andere computer, hoogst " +"waarschijnlijk een NFS server. Dit kan er voor zorgen dat de postinst " +"faalt, omdat we misschien geen toestemming hebben om de eigenaar/permissies " +"van de map aan te passen op de server." + +#. Description +#: ../aegis.templates:16 +msgid "/var/lib is not on a local drive." +msgstr "/var/lib staat niet lokale schijf" + +#. Description +#: ../aegis.templates:16 +msgid "" +"Aegis requires that /var/lib/aegis be owned by sys.sys and be set-gid, and " +"group writable." +msgstr "" +"Aegis vereist dat /var/lib/aegis' eigenaar sys.sys is met de set-gid-bit " +"actief, en schrijf rechten voor de groep." + +#. Description +#: ../aegis.templates:16 +msgid "" +"Your /var/lib is on a remote partition, most likely an NFS server. This " +"could cause the postinst to fail, since we may not have permission to change " +"the owner/permissions of the directory on the remote server." +msgstr "" +"Uw /var/lib/aegis staat op een partitie op een andere computer, hoogst " +"waarschijnlijk een NFS server. Dit kan er voor zorgen dat de postinst " +"faalt, omdat we misschien geen toestemming hebben om de eigenaar/permissies " +"van de map aan te passen op de server." + +#. Description +#: ../aegis.templates:16 +msgid "" +"If this happens, change the permissions on the NFS server, or ask the server " +"administrator to do it for you." +msgstr "" +"Als dit gebeurt, verander dan de permissies op de NFS server, of vraag de " +"server administrator het voor u te doen." --- aegis-4.11.orig/debian/po/pt_BR.po +++ aegis-4.11/debian/po/pt_BR.po @@ -0,0 +1,75 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: aegis_4.10-1\n" +"POT-Creation-Date: 2003-04-21 15:59-0300\n" +"PO-Revision-Date: 2003-04-21 16:07-0300\n" +"Last-Translator: André Luís Lopes \n" +"Language-Team: Debian-BR Project \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../aegis.templates:3 +msgid "/var/lib/aegis is not on a local drive." +msgstr "/var/lib/aegis não está em um disco local." + +#. Description +#: ../aegis.templates:3 +msgid "" +"Your /var/lib/aegis is on a remote partition, most likely an NFS server. " +"This could cause the postinst to fail, since we may not have permission to " +"change the owner/permissions of the directory on the remote server." +msgstr "" +"Seu diretório /var/lib/aegis está em uma partição remota, provavelmente " +"em um servidor NFS. Isto pode fazer com que o script de pós-instalação " +"do pacote falhe, uma vez que o mesmo pode não ter permissão de " +"modificar o proprietário/permissões do diretório no servidor remoto." + +#. Description +#: ../aegis.templates:16 +msgid "/var/lib is not on a local drive." +msgstr "/var/lib não está em um disco local." + +#. Description +#: ../aegis.templates:16 +msgid "" +"Aegis requires that /var/lib/aegis be owned by sys.sys and be set-gid, and " +"group writable." +msgstr "" +"O Aegis requer que p diretório /var/lib/aegis seja de propriedade do " +"usuário sys e do grupo sys (sys.sys), seja setgid e gravável pelo grupo." + +#. Description +#: ../aegis.templates:16 +msgid "" +"Your /var/lib is on a remote partition, most likely an NFS server. This " +"could cause the postinst to fail, since we may not have permission to change " +"the owner/permissions of the directory on the remote server." +msgstr "" +"Seu diretório /var/lib está em uma partição remota, provavelmente em um " +"servidor NFS. Isso pode fazer com que o script de pós-instalação do " +"pacote falhe, uma vez que o mesmo pode não ter permissão de modificar " +"o proprietário/permissões do diretório no servidor remoto." + +#. Description +#: ../aegis.templates:16 +msgid "" +"If this happens, change the permissions on the NFS server, or ask the server " +"administrator to do it for you." +msgstr "" +"Caso isso aconteça, modifique as permissões no servidor NFS ou peça ao " +"administrador do servidor para fazê-lo para você." --- aegis-4.11.orig/debian/po/fr.po +++ aegis-4.11/debian/po/fr.po @@ -0,0 +1,78 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: aegis 4.11-2\n" +"POT-Creation-Date: 2003-04-21 15:59-0300\n" +"PO-Revision-Date: 2003-07-28 08:34+0100\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../aegis.templates:3 +msgid "/var/lib/aegis is not on a local drive." +msgstr "Le répertoire /var/lib/aegis n'est pas situé sur un disque local" + +#. Description +#: ../aegis.templates:3 +msgid "" +"Your /var/lib/aegis is on a remote partition, most likely an NFS server. " +"This could cause the postinst to fail, since we may not have permission to " +"change the owner/permissions of the directory on the remote server." +msgstr "" +"Votre répertoire /var/lib/aegis est situé sur une partition distante, très " +"probablement un serveur NFS. Cela peut faire échouer le script de post-" +"installation car il risque de ne pas avoir les droits nécessaires pour " +"modifier les permissions ou le propriétaire du répertoire sur le serveur " +"distant." + +#. Description +#: ../aegis.templates:16 +msgid "/var/lib is not on a local drive." +msgstr "Le répertoire /var/lib n'est pas situé sur un disque local" + +#. Description +#: ../aegis.templates:16 +msgid "" +"Aegis requires that /var/lib/aegis be owned by sys.sys and be set-gid, and " +"group writable." +msgstr "" +"Il est indispensable que le répertoire /var/lib/aegis soit la propriété de " +"sys.sys, que le bit « setgid » soit positionné et que le groupe propriétaire " +"puisse y écrire." + +#. Description +#: ../aegis.templates:16 +msgid "" +"Your /var/lib is on a remote partition, most likely an NFS server. This " +"could cause the postinst to fail, since we may not have permission to change " +"the owner/permissions of the directory on the remote server." +msgstr "" +"Votre répertoire /var/lib est situé sur une partition distante, très " +"probablement un serveur NFS. Cela peut faire échouer le script de post-" +"installation car il risque de ne pas avoir les droits nécessaires pour " +"modifier les permissions ou le propriétaire du répertoire sur le serveur " +"distant." + +#. Description +#: ../aegis.templates:16 +msgid "" +"If this happens, change the permissions on the NFS server, or ask the server " +"administrator to do it for you." +msgstr "" +"Si cela se produit, veuillez modifier les permissions sur le serveur NFS ou " +"demander à son administrateur de faire cette modification pour vous." --- aegis-4.11.orig/debian/po/POTFILES.in +++ aegis-4.11/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] aegis.templates --- aegis-4.11.orig/debian/po/templates.pot +++ aegis-4.11/debian/po/templates.pot @@ -0,0 +1,64 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2003-04-21 15:59-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../aegis.templates:3 +msgid "/var/lib/aegis is not on a local drive." +msgstr "" + +#. Description +#: ../aegis.templates:3 +msgid "" +"Your /var/lib/aegis is on a remote partition, most likely an NFS server. " +"This could cause the postinst to fail, since we may not have permission to " +"change the owner/permissions of the directory on the remote server." +msgstr "" + +#. Description +#: ../aegis.templates:16 +msgid "/var/lib is not on a local drive." +msgstr "" + +#. Description +#: ../aegis.templates:16 +msgid "" +"Aegis requires that /var/lib/aegis be owned by sys.sys and be set-gid, and " +"group writable." +msgstr "" + +#. Description +#: ../aegis.templates:16 +msgid "" +"Your /var/lib is on a remote partition, most likely an NFS server. This " +"could cause the postinst to fail, since we may not have permission to change " +"the owner/permissions of the directory on the remote server." +msgstr "" + +#. Description +#: ../aegis.templates:16 +msgid "" +"If this happens, change the permissions on the NFS server, or ask the server " +"administrator to do it for you." +msgstr "" --- aegis-4.11.orig/debian/rules +++ aegis-4.11/debian/rules @@ -0,0 +1,185 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 by Joey Hess. +# +# This version is for a hypothetical package that builds an +# architecture-dependant package, as well as an architecture-independent +# package. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=4 + +DEBCFLAGS = -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +DEBCFLAGS += -O0 +else +DEBCFLAGS += -O2 +endif + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +DEBINSTOPT = -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + + ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sharedstatedir=/var/lib/aegis --libdir=\$${prefix}/share + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + $(MAKE) DEBCFLAGS='$(DEBCFLAGS)' + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + -$(MAKE) distclean +#fixme + rm -f lib/en/LC_MESSAGES/*.mo + rm -f lib/nl/LC_MESSAGES/*.mo + rm -f lib/de/LC_MESSAGES/*.mo + rm -f lib/ru/LC_MESSAGES/*.mo + rm -f lib/fr/LC_MESSAGES/*.mo + + dh_clean + +# fix the makefile misses + rm -f common/libdir.c + rm -f etc/compat.2.3 + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install RPM_BUILD_ROOT=$(CURDIR)/debian/tmp DEBINSTOPT=$(DEBINSTOPT) + +# Cleanup the installed files before moving them + rm -rf debian/tmp/etc + rm -rf debian/tmp/usr/share/aegis/man1 + rm -rf debian/tmp/usr/share/aegis/en/man1 + rm -rf debian/tmp/usr/share/aegis/en/man5 + + dh_movefiles + +#cleanup after move files + rm -f debian/aegis-doc/usr/share/aegis/en/building* + rm -f debian/aegis-doc/usr/share/aegis/en/lsm* + + rm debian/aegis-doc/usr/share/aegis/en/release.* + mv debian/aegis-doc/usr/share/aegis/en/*.ps debian/aegis-doc/usr/share/doc/aegis-doc + mv debian/aegis-doc/usr/share/aegis/en/*.dvi debian/aegis-doc/usr/share/doc/aegis-doc + mv debian/aegis-doc/usr/share/aegis/en/*.txt debian/aegis-doc/usr/share/doc/aegis-doc + rm -rf debian/aegis-doc/usr/share/aegis + + mv debian/tmp/usr/share/aegis/*.sh debian/aegis/usr/share/doc/aegis/examples/reports + mv debian/tmp/usr/share/aegis/profile debian/aegis/usr/share/doc/aegis/examples + mv debian/tmp/usr/share/aegis/cshrc debian/aegis/usr/share/doc/aegis/examples + mv debian/tmp/usr/share/aegis/config.example debian/aegis/usr/share/doc/aegis/examples + mv debian/tmp/usr/share/aegis/remind debian/aegis/usr/share/doc/aegis/examples + + rmdir debian/tmp/usr/share/aegis/wish + + mv debian/tmp/var debian/aegis + cp -a debian/tmp/usr debian/aegis + rm -rf debian/aegis/usr/share/aegis/en/notes + rm -rf debian/aegis/usr/share/aegis/en/html + + mv debian/tmp/usr/bin/aegis.cgi debian/aegis-web/usr/lib/cgi-bin + rm debian/aegis/usr/share/man/man1/aelic.1* + rm debian/tmp/usr/bin/aegis.cgi.i + rm bin/aegis.cgi.i + rm debian/aegis/usr/bin/aegis.cgi* + +# fix perms + chmod a+rx debian/aegis-web/usr/lib/cgi-bin/aegis.cgi + chmod a-x debian/aegis/usr/share/doc/aegis/examples/cshrc + chmod a-x debian/aegis/usr/share/doc/aegis/examples/profile + + cp debian/aegis/usr/share/doc/aegis/examples/cshrc debian/aegis/usr/share/aegis + cp debian/aegis/usr/share/doc/aegis/examples/profile debian/aegis/usr/share/aegis + mv debian/aegis/usr/share/aegis/aedefault.css debian/aegis-web/usr/share/aegis + +# for now, xaegis isn't much use so i'm removing it + rm debian/aegis-tk/usr/bin/xaegis + +# this file will eventually exist +# rm debian/aegis-tk/usr/share/man/man1/xaegis* + +# aereport is the same as aer. symlink the manpage + ln -s aer.1.gz debian/aegis/usr/share/man/man1/aereport.1.gz + +# Build architecture-independent files here. +# Pass -i to all debhelper commands in this target to reduce clutter. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installdebconf -i + dh_installdocs -n -i + dh_installexamples -i + dh_installmenu -i +# dh_installlogrotate -i +# dh_installemacsen -i +# dh_installpam -i +# dh_installmime -i +# dh_installinit -i + dh_installcron -i +# dh_installman -i + dh_installinfo -i +# dh_undocumented -i + dh_installchangelogs -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i +# dh_perl -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installdebconf -a + dh_installdocs -n -a + dh_installexamples -a + dh_installmenu -a +# dh_installlogrotate -a +# dh_installemacsen -a +# dh_installpam -a +# dh_installmime -a +# dh_installinit -a + dh_installcron -a +# dh_installman -a + dh_installinfo -a +# dh_undocumented -a + dh_installchangelogs -a + dh_strip -a + dh_link -a + dh_compress -a -Xprofile -Xcshrc -Xconfig.example + dh_fixperms -a +# dh_makeshlibs -a + dh_installdeb -a +# dh_perl -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- aegis-4.11.orig/debian/copyright +++ aegis-4.11/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Chris G. Davis on +Wed, 14 Nov 2001 18:24:53 -0500. + +It was downloaded from http://www.canb.auug.org.au/~millerp/aegis + +Upstream Author: Peter Miller + +Copyright: + +This is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +This is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License with +your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with the +dpkg source package as the file COPYING. If not, write to the +Free Software Foundation, Inc., +59 Temple Place, Suite 330, +Boston, MA 02111-1307 USA --- aegis-4.11.orig/debian/changelog +++ aegis-4.11/debian/changelog @@ -0,0 +1,221 @@ +aegis (4.11-2.2) unstable; urgency=low + + * NMU to help Christian. + + -- Arnaud Vandyck Sat, 20 Dec 2003 21:43:17 +0100 + +aegis (4.11-2.1) unstable; urgency=low + + * Non-maintainer upload + * Added french translation for templates. Closes: #203597 + * Added dutch translation for templates. Closes: #210895 + + -- Christian Perrier Sat, 20 Dec 2003 17:27:33 +0100 + +aegis (4.11-2) unstable; urgency=low + + * Fixup templates to new system (closes: 190059) + + -- Chris G. Davis Fri, 25 Jul 2003 11:53:25 -0400 + +aegis (4.11-1) unstable; urgency=low + + * New upstream source + + -- Chris G. Davis Fri, 2 May 2003 11:13:57 -0500 + +aegis (4.10-1) unstable; urgency=low + + * Fix missing file (ae_diffhtm) in aegis-web (closes: 174607) + * Fix type in dependancy (closes: 174900) + * Fix /var/lib/aegis perm check (closes: 168294, 172751) + * Modified shipped 'diff' example (closes: 160701) + * Fix aegis.cgi.1 location (closes: 174697) + + -- Chris G. Davis Wed, 8 Jan 2003 18:13:22 -0500 + +aegis (4.9-1) unstable; urgency=low + + * New upstream version + * Upstream added support for /etc/mailname (closes: 73623) + * Added basic tool recommends (closes: 142500) + + -- Chris G. Davis Mon, 04 Nov 2002 15:52:23 -0500 + +aegis (4.8-1) unstable; urgency=low + + * New Upstream version + + -- Chris G. Davis Tue, 27 Aug 2002 14:23:12 -0400 + +aegis (4.7-1) unstable; urgency=low + + * New upstream version + * Not uploaded + + -- Chris G. Davis Fri, 16 Aug 2002 14:23:12 -0400 + +aegis (4.4-2) unstable; urgency=high + + * Added support for $PAGER via aedpager (closes: 149511) + * Linked profile and cshrc into /usr/share/aegis (closes: #149512) + * Added Note in README about aliases (closes: #149668) + * First upload of 4.4 (closes: #147953) + + -- Chris G. Davis Mon, 10 Jun 2002 19:05:12 -0400 + +aegis (4.4-1) unstable; urgency=low + + * New upstream version + * Not uploaded + + -- Chris G. Davis Mon, 20 May 2002 23:32:10 -0400 + +aegis (4.2-1) unstable; urgency=low + + * New upstream version + + -- Chris G. Davis Sun, 7 Apr 2002 19:52:11 -0400 + +aegis (4.1-2) unstable; urgency=high + + * Add note about cgi-bin support to control. Will fixup further + when more browsers provide httpd-cgi (closes: #136126) + * Fixup placement of conf files for aegis-web + * Fixup spelling in description (closes: #140811) + * Remove unnecessary self-conflicts from control file + + -- Chris G. Davis Sun, 7 Apr 2002 19:37:21 -0400 + +aegis (4.1-1) unstable; urgency=low + + * New upstream version (closes: #130671) + * Remove incorrect manpath modifier in example profile script + (closes: #129001) + * Fix missing aegis.icon problem (closes: #128579) + * Control file changes to support legacy aegis 3.x installations + using the aegis3 packages + + -- Chris G. Davis Sun, 30 Dec 2001 14:43:51 -0500 + + +aegis (3.29-1) unstable; urgency=low + + * New upstream version (closes: #115945) + * Moved aegis.cgi to a seperate package. (closes: #104219) + * Created aegis-tk and aegis-web for TK and web interface + packages. + + -- Chris G. Davis Wed, 14 Nov 2001 18:24:53 -0500 + +aegis (3.24-2) testing; urgency=low + + * added bison and tk8.3-dev to build dep (closes: #70214, #101413) + * added libaegis.a + + -- Chris Davis Fri, 7 July 2001 23:02:14 -0400 + +aegis (3.24-1.1) testing unstable; urgency=low + + * Re-upload to fix bugs in testing also + + -- Chris Davis Mon, 2 Apr 2001 13:09:51 -0400 + + +aegis (3.24-1) testing unstable; urgency=low + + * /usr/doc/aegis*/copyright now has copyright info (closes: #58525) + * Incorporates changes by Adrian Bridgett + * update copyright file to 2001 + * newer version (closes: #79033) + * made a start on Build-Depends (closes: #70069) + * just force 3 for uid/gid (closes: #73621) + * groff bug not an aegis bug (closes: #84932) + * lintian fixes - add tk8.3 as a dependency + - fix bashism in postinst + + -- Chris Davis Thr, 22 Mar 2001 19:20:15 -0500 + +aegis (3.22-3) unstable; urgency=low + * Fixed Outstanding Lintian messages + * Fixes copyright bug (Fix bug #58525) + + -- Chris Davis Thr, 17 Aug 2000 15:42:08 -0500 + +aegis (3.22-1) unstable; urgency=low + * New Upstream source + * Not uploaded + + -- Chris Davis Thr, 17 Aug 2000 12:09:08 -0500 + +aegis (3.20-1) unstable; urgency=low + * New Upstream source(Fix bug #48395) + * Fix postrm bug (Fix bug #44159) + + -- Chris Davis Thr, 4 Nov 1999 12:28:08 -0500 + +aegis (3.17-1) unstable; urgency=low + + * New upstream source(Fix bug #39710) + + -- Chris Davis Thr, 24 Jun 1999 15:28:08 -0500 + +aegis (3.15-1) unstable; urgency=low + + * New upstream source + * Fix libc6.1 compatibility bugs #35774, #36086, #36157 + * Fix lintian warnings + * Close Bugs #34225, #34467, #34892 + + -- Chris Davis Thr, 20 May 1999 16:01:48 -0500 + +aegis (3.12-1) frozen unstable; urgency=low + + * Add support for distributed development + * Close open bugs + + -- Chris Davis Thr, 25 Mar 1999 16:01:48 -0500 + +aegis (3.8-4) frozen unstable; urgency=low + + * Now installs on systems with suidmanager installer + * Fix Bug #29641(Postinst fails due to wrong command line to suidregister) + * Fix Bug #29507(always build arch-all package) + + -- Chris Davis Mon, 16 Nov 1998 10:40:48 -0500 + +aegis (3.8-3) frozen unstable; urgency=low + + * Cleaned up build process + * Converted to using debhelper + + -- Chris Davis Sat, 14 Nov 1998 01:06:33 -0500 + +aegis (3.8-2) frozen; urgency=low + + * Update to incorperate new groff code + - Fixed duplication in inst and rm scripts + - Fixed install script and includes manpage + for aegisconfig + - Change suggested packages + - Fixes Bug #28861(no manpage) + - Fixes Bug #26661(build error) + + -- Chris Davis Mon, 2 Nov 1998 19:02:48 -0500 + +aegis (3.8-1) unstable; urgency=low + + * First Actual Release. + + -- Chris Davis Thu, 8 Oct 1998 01:18:42 +0000 + +aegis (3.5-1) unstable; urgency=low + + * Initial Release. + - Modified the package to follow Policy standards. + - Fixed the Web interface to allow viewing of the + repository with a web browser. + - Never Released + + -- Chris Davis Sun, 12 Jul 1998 22:44:16 +0000 + --- aegis-4.11.orig/debian/postinst +++ aegis-4.11/debian/postinst @@ -0,0 +1,34 @@ +#!/bin/sh -e + +. /usr/share/debconf/confmodule + +# set permissions properly + +# These files need to be 4755 root.root for aegis to work properly +AEGIS_EXEC="/usr/bin/aegis /usr/bin/aeimport" + +# These files/dirs need to be 2755 sys.sys for aegis to work properly +AEGIS_SYS="/var/lib/aegis/" + + +for item in $AEGIS_EXEC; do + chmod 4755 $item + chown root.root $item +done + + +#NOTE: check each item to make sure it's not on an NFS partition + +for item in $AEGIS_SYS; do + # First, check the perms + FUID=`ls -ld $item | awk '{print $3}'` + FGID=`ls -ld $item | awk '{print $4}'` + test -g /var/lib/aegis/ && test $FUID = sys && test $FGID = sys + if [ ! $? = 0 ]; then + chmod 2755 $item + chown sys.sys $item + fi +done + +#DEBHELPER# + --- aegis-4.11.orig/debian/aegis-doc.files +++ aegis-4.11/debian/aegis-doc.files @@ -0,0 +1,5 @@ +usr/share/aegis/en/*.dvi +usr/share/aegis/en/*.ps +usr/share/aegis/en/*.txt + + --- aegis-4.11.orig/debian/aegis-web.dirs +++ aegis-4.11/debian/aegis-web.dirs @@ -0,0 +1 @@ +usr/lib/cgi-bin --- aegis-4.11.orig/debian/aegis.config +++ aegis-4.11/debian/aegis.config @@ -0,0 +1,32 @@ +#!/bin/sh -e + +# Source debconf library +. /usr/share/debconf/confmodule + +# first off, does it exist? +if [ -d /var/lib/aegis ]; then + # yep + # is it local? + (df -P -l /var/lib/aegis/ | grep -q %) + if [ ! $? = 0 ]; then + # set correctly? + FUID=`ls -ld /var/lib/aegis/ | awk '{print $3}'` + FGID=`ls -ld /var/lib/aegis/ | awk '{print $4}'` + test -g /var/lib/aegis/ && test $FUID = sys && test $FGID = sys + if [ ! $? = 0 ]; then + # oops, thats set wrong + db_input high aegis/var_lib_aegis_not_local || true + db_go + fi + fi +else + #nope + # is /var/lib/ local? + (df -P -l /var/lib/ | grep -q %) + if [ ! $? = 0 ]; then + # doesn't exist, but /var/lib is not local + db_input high aegis/var_lib_not_local || true + db_go + fi +fi + --- aegis-4.11.orig/debian/aegis-web.files +++ aegis-4.11/debian/aegis-web.files @@ -0,0 +1,3 @@ +usr/share/aegis/en/html +usr/bin/ae_diff2htm +usr/share/man/man1/aegis.cgi.1