Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 09:00:42 -0400 (EDT)
From:      Yarema <yds@dppl.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        nbm@freebsd.org, dwcjr@freebsd.org
Subject:   ports/31475: New port: sysconftool
Message-ID:  <20011024130042.118223E0C@sapas.dppl.net>

next in thread | raw e-mail | index | archive | help

>Number:         31475
>Category:       ports
>Synopsis:       New port: sysconftool
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 24 06:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Yarema
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD 4.4-STABLE #0: Thu Oct 4 05:44:54 EDT 2001 i386
>Description:
New port of sysconftool required for building Courier-MTA	
>How-To-Repeat:
cd /usr/ports/mail/courier && make
>Fix:

#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2.1).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 2001-10-24 08:53 EDT by Yarema <yds@dppl.com>.
# Source directory was `/usr/ports/devel'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#    454 -rw-r--r-- sysconftool/Makefile
#     65 -rw-r--r-- sysconftool/distinfo
#     48 -rw-r--r-- sysconftool/pkg-comment
#    853 -rw-r--r-- sysconftool/pkg-descr
#    231 -rw-r--r-- sysconftool/pkg-plist
#
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
  if test "$gettext_dir" = FAILED && test -f $dir/gettext \
     && ($dir/gettext --version >/dev/null 2>&1)
  then
    set `$dir/gettext --version 2>&1`
    if test "$3" = GNU
    then
      gettext_dir=$dir
    fi
  fi
  if test "$locale_dir" = FAILED && test -f $dir/shar \
     && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
  then
    locale_dir=`$dir/shar --print-text-domain-dir`
  fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
  echo=echo
else
  TEXTDOMAINDIR=$locale_dir
  export TEXTDOMAINDIR
  TEXTDOMAIN=sharutils
  export TEXTDOMAIN
  echo="$gettext_dir/gettext -s"
fi
if touch -am -t 200112312359.59 $$.touch >/dev/null 2>&1 && test ! -f 200112312359.59 -a -f $$.touch; then
  shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
elif touch -am 123123592001.59 $$.touch >/dev/null 2>&1 && test ! -f 123123592001.59 -a ! -f 123123592001.5 -a -f $$.touch; then
  shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
elif touch -am 1231235901 $$.touch >/dev/null 2>&1 && test ! -f 1231235901 -a -f $$.touch; then
  shar_touch='touch -am $3$4$5$6$2 "$8"'
else
  shar_touch=:
  echo
  $echo 'WARNING: not restoring timestamps.  Consider getting and'
  $echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch
#
if mkdir _sh64783; then
  $echo 'x -' 'creating lock directory'
else
  $echo 'failed to create lock directory'
  exit 1
fi
# ============= sysconftool/Makefile ==============
if test ! -d 'sysconftool'; then
  $echo 'x -' 'creating directory' 'sysconftool'
  mkdir 'sysconftool'
fi
if test -f 'sysconftool/Makefile' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'sysconftool/Makefile' '(file already exists)'
else
  $echo 'x -' extracting 'sysconftool/Makefile' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sysconftool/Makefile' &&
# New ports collection makefile for:	sysconftool
# Date created:		17 October 2001
# Whom:			yds@dppl.com
#
# $FreeBSD: $
#
X
PORTNAME=	sysconftool
PORTVERSION=	0.12
PORTREVISION=	0
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	courier
X
MAINTAINER=	portmgr@FreeBSD.org
X
USE_AUTOCONF=	yes
RUN_DEPENDS=	autoconf:${PORTSDIR}/devel/autoconf
X
MAN1=		sysconftool.1 sysconftoolcheck.1
MAN7=		sysconftool.7
X
X.include <bsd.port.mk>
SHAR_EOF
  (set 20 01 10 17 21 36 14 'sysconftool/Makefile'; eval "$shar_touch") &&
  chmod 0644 'sysconftool/Makefile' ||
  $echo 'restore of' 'sysconftool/Makefile' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'sysconftool/Makefile:' 'MD5 check failed'
13e8ae7b429a6c4093ed610c22cfb974  sysconftool/Makefile
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'sysconftool/Makefile'`"
    test 454 -eq "$shar_count" ||
    $echo 'sysconftool/Makefile:' 'original size' '454,' 'current size' "$shar_count!"
  fi
fi
# ============= sysconftool/distinfo ==============
if test -f 'sysconftool/distinfo' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'sysconftool/distinfo' '(file already exists)'
else
  $echo 'x -' extracting 'sysconftool/distinfo' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sysconftool/distinfo' &&
MD5 (sysconftool-0.12.tar.gz) = 5a2b90f66cadee3f28dbbfe8484527f6
SHAR_EOF
  (set 20 01 10 17 07 33 33 'sysconftool/distinfo'; eval "$shar_touch") &&
  chmod 0644 'sysconftool/distinfo' ||
  $echo 'restore of' 'sysconftool/distinfo' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'sysconftool/distinfo:' 'MD5 check failed'
df7b56db619d775fcb748c652eb7ec15  sysconftool/distinfo
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'sysconftool/distinfo'`"
    test 65 -eq "$shar_count" ||
    $echo 'sysconftool/distinfo:' 'original size' '65,' 'current size' "$shar_count!"
  fi
fi
# ============= sysconftool/pkg-comment ==============
if test -f 'sysconftool/pkg-comment' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'sysconftool/pkg-comment' '(file already exists)'
else
  $echo 'x -' extracting 'sysconftool/pkg-comment' '(binary)'
  sed 's/^X//' << 'SHAR_EOF' | uudecode &&
begin 600 sysconftool/pkg-comment
M2&5L<',@=&\@:6YS=&%L;"!A<'!L:6-A=&EO;B!C;VYF:6=U<F%T:6]N(&9I
#;&5S
`
end
SHAR_EOF
  (set 20 01 10 17 21 33 07 'sysconftool/pkg-comment'; eval "$shar_touch") &&
  chmod 0644 'sysconftool/pkg-comment' ||
  $echo 'restore of' 'sysconftool/pkg-comment' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'sysconftool/pkg-comment:' 'MD5 check failed'
e9bad82623141f213012107ac07ed29f  sysconftool/pkg-comment
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'sysconftool/pkg-comment'`"
    test 48 -eq "$shar_count" ||
    $echo 'sysconftool/pkg-comment:' 'original size' '48,' 'current size' "$shar_count!"
  fi
fi
# ============= sysconftool/pkg-descr ==============
if test -f 'sysconftool/pkg-descr' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'sysconftool/pkg-descr' '(file already exists)'
else
  $echo 'x -' extracting 'sysconftool/pkg-descr' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sysconftool/pkg-descr' &&
sysconftool is a development utility that helps to install application
configuration files. sysconftool allows an existing application to be
upgraded without losing the older version's configuration settings.
X
sysconftool is a script that is used by applications to update configuration
files when a new version of the application is installed. sysconftool reads
the new application configuration files, reads any older versions of those
files that are already installed, then replaces the old versions with the
new ones, but preserving any custom changes contained in the old versions.
X
For more information on sysconftool, and why applications need it, see
the installed manual pages: sysconftool(1) and sysconftool(7).  With most
versions of the man command: "man 1 sysconftool" and "man 7 sysconftool".
X
WWW: http://www.Courier-MTA.org/sysconftool/
SHAR_EOF
  (set 20 01 10 17 21 29 37 'sysconftool/pkg-descr'; eval "$shar_touch") &&
  chmod 0644 'sysconftool/pkg-descr' ||
  $echo 'restore of' 'sysconftool/pkg-descr' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'sysconftool/pkg-descr:' 'MD5 check failed'
3cfe6b282e0119adbb0b432231a134c1  sysconftool/pkg-descr
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'sysconftool/pkg-descr'`"
    test 853 -eq "$shar_count" ||
    $echo 'sysconftool/pkg-descr:' 'original size' '853,' 'current size' "$shar_count!"
  fi
fi
# ============= sysconftool/pkg-plist ==============
if test -f 'sysconftool/pkg-plist' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'sysconftool/pkg-plist' '(file already exists)'
else
  $echo 'x -' extracting 'sysconftool/pkg-plist' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sysconftool/pkg-plist' &&
bin/sysconftoolize
bin/sysconftoolcheck
share/aclocal/sysconftool.m4
share/sysconftool/sysconftool
share/sysconftool/sysconftoolize.pl
share/sysconftool/sysconftoolcheck
share/sysconftool/sysconftoolize.am
@dirrm share/sysconftool
SHAR_EOF
  (set 20 01 10 17 07 53 52 'sysconftool/pkg-plist'; eval "$shar_touch") &&
  chmod 0644 'sysconftool/pkg-plist' ||
  $echo 'restore of' 'sysconftool/pkg-plist' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'sysconftool/pkg-plist:' 'MD5 check failed'
57b06349f35f7d097c6805980e5ab772  sysconftool/pkg-plist
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'sysconftool/pkg-plist'`"
    test 231 -eq "$shar_count" ||
    $echo 'sysconftool/pkg-plist:' 'original size' '231,' 'current size' "$shar_count!"
  fi
fi
rm -fr _sh64783
exit 0
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011024130042.118223E0C>