Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24225/base

Modified Files:
        debconf.info 
Log Message:
building

Index: debconf.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/base/debconf.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- debconf.info        22 Oct 2003 19:49:27 -0000      1.1
+++ debconf.info        13 Jun 2005 17:47:55 -0000      1.2
@@ -1,63 +1,167 @@
 Package: debconf
-Version: 1.0.32
-Revision: 1
-BuildDepends: findutils
-Depends: dialog
+Version: 1.4.42
+Revision: 2
+BuildDepends: html2text, findutils, libgettext3-dev, po-debconf
+Depends: dialog, %n-english | %n-i18n, gettext-tools
 Type: perl
 Source: mirror:debian:/pool/main/d/debconf/%n_%v.tar.gz
-Source-MD5: d76845952ee4ea4789d555a587fb1cd7
+Source-MD5: 2f0eeb543cf15d616142eac0bd843cec
 SourceDirectory: %n
-PatchScript: sed 's|@FINKPREFIX@|%p|' < %a/%n.patch | patch -p1
+PatchScript: sed 's|@FINKPREFIX@|%p|g' < %a/%n.patch | patch -p1
+TarFilesRename: debconf/debconf$:debconf/debconf.tmp
 UpdatePOD: true
-CompileScript: <<
-  #!/bin/sh
-  cd doc
-  make all
-  cd ..
-  make -C po
-<<
+CompileScript: echo "Nothing to see here..." && set -e && make
+
 InstallScript: <<
+#!/bin/sh -e
+
+  export PERL5LIB=.
+
   mkdir -p %i/etc/apt/apt.conf.d
-  install -m 0644 debian/apt.conf %i/etc/apt/apt.conf.d/70debconf
-  make install prefix=%i
-  make install-utils prefix=%i
-  make install-rest prefix=%i
-  mkdir -p %i/share/doc/%n  
-  rm -rf samples/CVS
-  mv samples %i/share/doc/%n/
+  cp debian/apt.conf %i/etc/apt/apt.conf.d/70debconf
 
-  mkdir -p %i/share/man/man3
-  mv %b/doc/man/*.3 %i/share/man/man3
+  make install prefix=%i install-utils
+  make install prefix=%i install-i18n
+  make install prefix=%i install-rest
 
-  mkdir -p %i/share/man/man5
-  mv %b/doc/man/*.5 %i/share/man/man5
+  # Ok, move debconf to it's correct name
+  mv %i/bin/debconf.tmp %i/bin/debconf
 
+  mkdir -p %i/share/doc
+  ln -s %p/sare/doc/%n %i/share/doc/%n-english
+  ln -s %p/sare/doc/%n %i/share/doc/%n-i18n
+  ln -s %p/sare/doc/%n %i/share/doc/%n-utils
+
+  mkdir -p %d/DEBIAN
+  po2debconf debian/templates > debian/templates.merged
+  cp debian/config %d/DEBIAN
+  cp debian/templates.merged %d/DEBIAN/templates
+
+  # Install manpages
+  mkdir -p %i/share/man/man1
+  mkdir -p %i/share/man/man3
+  mkdir -p %i/share/man/man5
+  mkdir -p %i/share/man/man7
   mkdir -p %i/share/man/man8
-  mv %b/doc/man/*.8 %i/share/man/man8
+  mkdir -p %i/share/man/fr/man1
+  mkdir -p %i/share/man/fr/man3
+  mkdir -p %i/share/man/fr/man5
+  mkdir -p %i/share/man/fr/man7
+  mkdir -p %i/share/man/fr/man8
+  mkdir -p %i/share/man/pt_BR/man1
+  mkdir -p %i/share/man/pt_BR/man3
+  mkdir -p %i/share/man/pt_BR/man5
+  mkdir -p %i/share/man/pt_BR/man7
+  mkdir -p %i/share/man/pt_BR/man8
 
-  mkdir -p %i/share/podfiles
-  mv %b/doc/man/*.pod %i/share/podfiles
+  mv doc/man/gen/*pt_BR.1* %i/share/man/pt_BR/man1
+  mv doc/man/*pt_BR.3 %i/share/man/pt_BR/man3
+  mv doc/man/*pt_BR.5 %i/share/man/pt_BR/man5
+  mv doc/man/*pt_BR.7 %i/share/man/pt_BR/man7
+  mv doc/man/gen/*pt_BR.8* %i/share/man/pt_BR/man8
+  mv doc/man/gen/*fr.1* %i/share/man/fr/man1
+  mv doc/man/*fr.3 doc/man/gen/*fr.3* %i/share/man/fr/man3
+  mv doc/man/*fr.5 %i/share/man/fr/man5
+  mv doc/man/*fr.7 %i/share/man/fr/man7
+  mv doc/man/gen/*fr.8* %i/share/man/fr/man8
+  mv doc/man/gen/*.1* %i/share/man/man1
+  mv doc/man/*.3 doc/man/gen/*.3* %i/share/man/man3
+  mv doc/man/*.5 %i/share/man/man5
+  mv doc/man/*.7 %i/share/man/man7
+  mv doc/man/gen/*.8* %i/share/man/man8
+<<
 
-  mkdir -p %d/DEBIAN
-  cp debian/config debian/templates %d/DEBIAN
+Splitoff: <<
+  Package: %N-english
+  Conflicts: %N-i18n
+  Replaces: %N-i18n
+  Description: small footprint English-only debconf
+  DescDetail: <<
+    This package is an alternative to the debconf-i18n package, intended for 
systems that are administered only in English, and low-footprint systems. If 
you install this package, debconf will not work properly in other languages, 
but you'll save half a megabyte of disk space.
+  <<
+  Files: share/doc/%n
 <<
 
-# Fix up broken db's before debconf starts up.
-PostInstScript: <<
-if [ -z "$DEBIAN_HAS_FRONTEND" -a "$1" = configure ] && \
-   dpkg --compare-versions "$2" lt 1.0.25; then
-        %p/share/debconf/fix_db.pl
-fi
+Splitoff2: <<
+  Package: %N-utils
+  Conflicts: %N-i18n
+  Replaces: %N-i18n
+  Depends: debconf
+  Description: debconf utilities
+  DescDetail: <<
+    This package contains some small utilities for debconf developers.
+  <<
+  Files: bin/debconf-[glm]* share/doc/%n share/man/man1/debconf-[glm]* 
share/man/pt_BR/man1/debconf-[glm]* share/man/fr/man1/debconf-[glm]*
+<<
 
-. %p/share/debconf/confmodule
+Splitoff3: <<
+  Package: %N-i18n
+  Depends: locale-gettext-pm581 | locale-gettext-pm584 | text-iconv-pm581
+  Description: full internationalization support for debconf
+  DescDetail: <<
+  This package provides full internationalization for debconf, including 
translations into all available languages, support for using translated debconf 
templates, and support for proper display of multibyte character sets.
+  <<
+  Files: share/doc/%n share/locale share/man/fr/man1 share/man/pt_BR/man1
 <<
 
-DocFiles: doc/COPYRIGHT doc/EXAMPLES doc/README.LDAP doc/CREDITS doc/Makefile 
doc/README.translators doc/CREDITS doc/Makefile doc/README.translators 
doc/README doc/TODO doc/debconf.schema doc/passthrough.txt doc/graph.pl 
doc/tutorial.xml doc/html.dsl doc/namespace.txt
+Splitoff4: <<
+  Package: %N-doc
+  Description: debconf documentation
+  DescDetail: <<
+    This package contains lots of additional documentation for Debconf, 
including the debconf user's guide, documentation about using different backend 
databases via the /etc/debconf.conf file, and a developer's guide to debconf.
+  <<
+  DocFiles: doc/README debian/README.Debian  debian/changelog
+  InstallScript: <<
+  #!/bin/sh -e
+  mkdir -p %i/share/doc/%n
+  pwd
+  cp -pR samples %i/share/doc/%n/examples
+  mv doc/EXAMPLES doc/EXAMPLES.txt
+  cd doc && cp CREDITS README.LDAP TODO namespace.txt EXAMPLES.txt 
README.translators debconf.schema html.dsl passthrough.txt %i/share/doc/%n/
+  <<
+  Files: share/man/fr/man[137] share/man/man[137] share/man/pt_BR/man[137]
+<<
+
+DocFiles: doc/README debian/README.Debian  debian/changelog
 Description: Package configuration management system
 DescDetail: <<
-Debconf is a configuration management system for debian/fink packages. 
Packages use Debconf to ask questions when they are installed.
+  Debconf is a configuration management system for debian/fink packages. 
Packages use Debconf to ask questions when they are installed.
 <<
 
+# Fix up broken db's before debconf starts up.
+
+PostInstScript: <<
+  #!/bin/sh -e
+  
+  # configdb splits into passworded and non-passworded parts, before debconf
+  # starts up. Do so only if the debconf.conf has the new databases in it.
+  if [ -z "$DEBIAN_HAS_FRONTEND" -a "$1" = configure -a -n "$2" ] && \
+     dpkg --compare-versions "$2" lt 1.1.0 &&
+     perl -e 'use Debconf::Db; Debconf::Db->load; for (@ARGV) { exit 1 unless
+              Debconf::DbDriver->driver($_) }' config passwords; then
+          # copies in only the passwords, of course
+          debconf-copydb config passwords
+          # makes a new config with only non-passwords in it
+          debconf-copydb config newconfig \
+                -c Name:newconfig \
+                -c Driver:File \
+                -c Reject-Type:password \
+                -c Filename:%p/var/cache/debconf/newconfig.dat \
+                -c Mode:644
+          mv -f %p/var/cache/debconf/newconfig.dat 
%p/var/cache/debconf/config.dat
+  fi
+
+  . %p/share/debconf/confmodule
+<<
+
+DescPort: <<
+  grep -rl /usr/share . | grep -v "(prefx" | xargs perl -pi -e 
's|/usr/share|[EMAIL PROTECTED]@/share|g'
+  grep -rl "\$(prefix)@FINKPREFIX@" . | xargs perl -pi -e 
's|\$\(prefix\)[EMAIL PROTECTED]@|\$\(prefix\)|g'
+  grep -r /usr . | grep -v perl  #### manually find more stuff
+  perl -pi -e 's|\$\(prefix\)/usr|\$\(prefix\)|g' Makefile
+  grep -rl /var . | xargs perl -pi -e 's|\ /var|\ [EMAIL PROTECTED]@/var|g'
+  grep -r /var . | grep -v @FINK  #### manually catch stuff
+<<
 License: GPL
 Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]>
-Homepage: http://packages.debian.org/stable/admin/debconf.html
+Homepage: http://packages.debian.org/unstable/admin/debconf.html



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to