Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/base
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7579

Added Files:
        debconf-10.6.info fink-10.6.info 
Log Message:
Woops; local 10.5-EOL tree wasn't quite right.


--- NEW FILE: fink-10.6.info ---
Info4: <<
Package: fink
Version: 0.35.0
Revision: 51
Distribution: 10.6
Depends: base-files
Recommends: <<
 apt (>= 0.5.4-41)
<<
Conflicts: gcc3.1 (= 1175-6)
Replaces: gcc3.1 (= 1175-6)
Essential: yes
Source: mirror:custom:fink/%n-%v.tar.gz
Source-MD5: 97d877b8378b3f58872638f81bec8f80
NoSetPATH: true
BuildAsNobody: false
CompileScript: <<
 ./pre-build-test.sh
 make test PREFIX=%p ARCHITECTURE=%m DISTRIBUTION=10.6
 ./setup.sh %p %m
<<
InstallScript: <<
 ./install.sh %i %m
 install -c -p -m 644 fink.shlibs "%d/DEBIAN/shlibs"
<<
PostInstScript: <<
 %p/lib/fink/postinstall.pl %m
 %p/bin/fink --no-use-binary-dist index

 # try to clean up left-overs from previous versions (old location)
 rm -f %p/var/db/fink.db
 rm -f %p/var/db/shlibs.db
 rm -f %p/var/lib/fink/fink.db
<<
PreRmScript: <<
 # clean up package indexes
 [ \! -d %p/var/lib/fink/finkinfodb ] || touch 
%p/var/lib/fink/finkinfodb/invalidate
 rm -f %p/var/lib/fink/index.db
 rm -f %p/var/lib/fink/index.db.lock
 rm -f %p/var/lib/fink/infolist
 rm -f %p/var/lib/fink/shlibs.db
 rm -f %p/var/lib/fink/shlibs.db.lock
<<
#
Description: Open-source software package manager
DescPackaging: <<
 Don't use mirror:sourceforge so that older package manager versions
 which do not know that mirror can still selfupdate.

 Must put "make test" before "./setup.sh %p %m", because make test runs
 the setup script itself, but pointed at the testing directory.
 The second run of setup.sh properly points fink at the installed
 configuration file.

 We are using Conflicts/Replaces against gcc3.1 so that the Fink gcc3.1 
 package is removed (in favor of an Apple-supplied gcc 3.1, represented
 by a virtual package).
<<
DescDetail: <<
fink is the Fink project's package manager. It is responsible for
downloading and compiling source and building binary packages from
it. Binary package handling is then delegated to dpkg.
<<
License: GPL
Maintainer: Fink Core Group <fink-c...@lists.sourceforge.net>
Homepage: http://www.finkproject.org/
CustomMirror: <<
Primary: http://downloads.sourceforge.net/
asi-JP: http://jaist.dl.sourceforge.net/sourceforge/
asi-TW: http://nchc.dl.sourceforge.net/sourceforge/
aus-AU: http://internode.dl.sourceforge.net/sourceforge/
aus-AU: http://transact.dl.sourceforge.net/sourceforge/
aus-AU: http://waix.dl.sourceforge.net/sourceforge/
eur-CH: http://puzzle.dl.sourceforge.net/sourceforge/
eur-CH: http://switch.dl.sourceforge.net/sourceforge/
eur-DE: http://dfn.dl.sourceforge.net/sourceforge/
eur-DE: http://mesh.dl.sourceforge.net/sourceforge/
eur-FR: http://ovh.dl.sourceforge.net/sourceforge/
eur-IE: http://heanet.dl.sourceforge.net/sourceforge/
eur-IT: http://garr.dl.sourceforge.net/sourceforge/
eur-NL: http://surfnet.dl.sourceforge.net/sourceforge/
eur-UK: http://kent.dl.sourceforge.net/sourceforge/
sam-BR: http://ufpr.dl.sourceforge.net/sourceforge/
<<

<<

--- NEW FILE: debconf-10.6.info ---
Package: debconf
Version: 1.4.51
Revision: 1321
BuildDepends: html2text, findutils, fink (>= 0.24.12-1), libgettext8-dev, 
po-debconf
Depends: dialog (>= 0.9b-20020814-1024), %n-english | %n-i18n, gettext-tools
Distribution: 10.6
Type: perl
Source: mirror:debian:/pool/main/d/debconf/%n_%v.tar.gz
Source-MD5: 4ef37a523a300d2c2e339ffebc5ba18f
SourceDirectory: %n
PatchFile: %n.patch
PatchFile-MD5: 9bbcb452287ef364f2121fcc9243a137
PatchScript: sed 's|@FINKPREFIX@|%p|g' < %{PatchFile} | patch -p1
TarFilesRename: debconf/debconf$:debconf/debconf.tmp
#UpdatePOD: true
CompileScript: echo "Nothing to see here..." && set -e && /usr/bin/make

InstallScript: <<
#!/bin/sh -ev

  export PERL5LIB=.

  mkdir -p %i/etc/apt/apt.conf.d
  cp debian/apt.conf %i/etc/apt/apt.conf.d/70debconf

  /usr/bin/make install prefix=%i install-utils
  /usr/bin/make install prefix=%i install-i18n
  /usr/bin/make install prefix=%i install-rest

  # Ok, move debconf to its correct name
  mv %i/bin/debconf.tmp %i/bin/debconf

  # make sure scripts can find fink-installed perl modules even if run
  # under apt or dpkg (vs from user's fink-configured shell): insert
  # fink's perlmod path before first use of a Debconf perlmod--dmacks
  perl -pi -e 's,^(?=\s*use\s+Debconf),use lib "%p/lib/perl5";\n, .. 0' 
%i/bin/* %i/sbin/*

  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
  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

  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
<<

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.
  <<
  DocFiles: doc/README debian/README.Debian  debian/changelog
<<

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/man/man1/debconf-[glm]* 
share/man/pt_BR/man1/debconf-[glm]* share/man/fr/man1/debconf-[glm]*
  DocFiles: doc/README debian/README.Debian  debian/changelog
<<

Splitoff3: <<
  Package: %N-i18n
  Depends: locale-gettext-pm5100 | text-iconv-pm5100
  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/locale share/man/fr/man1 share/man/pt_BR/man1
  DocFiles: doc/README debian/README.Debian  debian/changelog
<<

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 -ev
  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.
<<

# Fix up broken db's before debconf starts up.

PostInstScript: <<
  . %p/bin/init.sh
  # 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

echo ""; echo "PLEASE CONFIGURE DEBCONF BY RUNNING THE COMMAND"; echo ""; echo 
"     . %p/share/debconf/confmodule"; echo ""

<<

DescPort: <<
  grep -rl /usr/share . | grep -v "(prefx" | xargs perl -pi -e 
's|/usr/share|\@FINKPREFIX\@/share|g'
  grep -rl "\$(prefix)@FINKPREFIX@" . | xargs perl -pi -e 
's|\$\(prefix\)\@FINKPREFIX\@|\$\(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|\ \@FINKPREFIX\@/var|g'
  grep -r /var . | grep -v @FINK  #### manually catch stuff

NOTE: The debconf has been modified so that it does *not* run its own 
configuration during postinstall with the command
      . %p/share/debconf/confmodule
because that was interfering with attempts to let fink run unattended 
(such as when making a bindist).

The debconf maintainer is welcome to create a new version which runs the
configuration during postinstall, PROVIDED THAT THE POSTINSTALL SCRIPT ALWAYS
EXITS AFTER SOME LENGTH OF TIME IF THE USER GIVES NO INPUT.

<<
License: GPL
Maintainer: Chris Zubrzycki <bere...@users.sourceforge.net>
Homepage: http://packages.debian.org/unstable/admin/debconf.html


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to