Your message dated Sat, 14 Feb 2009 09:02:04 +0000
with message-id <[email protected]>
and subject line Bug#150111: fixed in jablicator 1.0.1
has caused the Debian Bug report #150111,
regarding jablicator: Feature Request: more command line options
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
150111: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=150111
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: jablicator
Version: 1.0-5
Severity: wishlist
Tags: patch


Wishlist by Frank Ronneburg:

In my version many of the automatic set variables can be overwritten on
the command line. 
[...]
so for example it is usefull to name the package:
customer-domain-host-date.deb. This is now possible.
[...]
I also fixes two or three typos (and added 300 more new typos :-) ).


################################################
#
# This script generates an "apt-get"-able package.
# The package is empty and has a dependency for
# everything that's on the machine.
#
################################################

ARCH=${HOSTTYPE}
BOX=`hostname --fqdn`
VER=`date +%Y%m%d`
HUMANDATE=`date +%m/%d/%Y`
PKGNAME=`echo jablicate-${BOX} | sed 's/\\./-/g'`
PKGDIR=${PKGNAME}-${VER}
LETTER=`echo ${PKGNAME} | cut -b-1`
MAINTAINER="Collection Maintainer <${us...@`dnsdomainname`>"
DISTRO=debian-custom
DEB=${PKGNAME}_${VER}_all.deb
DISTDIR=dists/${DISTRO}/contrib/binary-${ARCH}
POOLDIR=pool/contrib/${LETTER}/${PKGNAME}
SRCDIR=dists/${DISTRO}/contrib/source

script_name="$0"

parse_command_line() {

while test $# -gt 0; do
  case "$1" in
  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  *) optarg= ;;
  esac

  case $1 in
    --versions)
      VERSIONS="TRUE"
      shift
      ;;
    -d | --dirs)
      DIRS="TRUE"
      ;;
    -m | --maintainer)
      MAINTAINER="$2 $3 <$4>"
      shift
      shift
      shift
      ;;
    -p | --packagename)
      PKGNAME=`echo $2-${BOX} | sed 's/\\./-/g'`
      PKGDIR=${PKGNAME}-${VER}
      shift 
      ;;
    -v | --version)
      echo 0.2
      exit 0
      ;;
    -\? | -h | --help)
      cat << EOF

Usage: $script_name [OPTIONS] 
Options:
       --versions      
             Specify  that that package version numbers are recorded in the
             dependency.
       --dirs
             Create "apt-getable" Directorys and Package Files from Package.
       --maintainer
             Name and Mailaddress of Package Maintainer, "<>" will be added.
       --packagename
             Basename of Package, eg. Customername. Hostname will be added.
       --version
             Programmversion
       --help
             This help.
Example:
       $script_name -p homeunix.net -m Frank Ronneburg [email protected] -d 
--versions

       
Authors:
  Jeff Breidenbach <[email protected]>
  Frank Ronneburg <[email protected]>

EOF
      exit 0
      ;;
    -?*)
      echo "Option '$1' not recognized."
      exit 1
      ;;
    *)
      if test "x$i_file" = "x"; then
        i_file=$1
      elif test "x$o_file" = "x"; then
        o_file=$1
      else
        echo "Option '$1' not recognized."
        exit 1
      fi
      ;;
  esac
  shift
done

}

sources ()
{
    cat /etc/apt/sources.list | sed 's/\#.*$//g' | grep deb
}

# It has been suggested that dpkg --getselections
# may be better than grepping through files with
# grep-dctrl. I haven't yet investigated this.

install_list ()
{
    grep-dctrl -v --field Priority required  --exact-match \
        /var/lib/dpkg/status |\
        grep-dctrl    --field Status "install ok installed" --exact-match |\
        grep-dctrl -v --field Package xfonts \
        --no-field-names --show-field $1
}

available_list () 
{
    grep-dctrl --no-field-names --show-field Package -r . \
        /var/lib/apt/lists/*Packages | sort -u
}

monster_list () 
{
    if [ "$VERSIONS" ]
    then
        install_list "Package,Version" |\
            awk '/^[ \t]*$/ { next } { printf "%s (= ",$script_name ; getline ; 
printf "%s)\n",$script_name }'
            #awk '/^[ \t]*$/ { next } { printf "%s (= ",$0 ; getline ; printf 
"%s)\n",$0 }'
    else
        install_list "Package"
    fi
    available_list
}

list () 
{
    if [ "$VERSIONS" ]
    then
        # sed : you need a blank after the package name to get \"sort -r" 
working
        # sort -r : output the lines with versions before lines wit\hout version
        # uniq --check-fields=1 : check only the package name
        monster_list |\
            sed -e 's/$/ /g' | sort -r | uniq --repeated --check-fields=1 |\
            grep -v ${PKGNAME} | sort | sed 's/ $/,/g'
    else
        monster_list | sort | uniq --repeated | grep -v ${PKGNAME} | sed 
's/$/,/g'
    fi
}

control () 
{
    PACKAGES=`list`
    echo Source: ${PKGNAME}
    echo Section: admin
    echo Priority: optional
    echo "Maintainer: ${MAINTAINER}"
    echo "Build-Depends-Indep: debhelper (>> 3.0.0)"
    echo Standards-Version: 3.5.2
    echo
    echo Package: ${PKGNAME}
    echo Architecture: all
    echo Depends: ${PACKAGES}
    echo Description: Replicate software collection on ${BOX}
    echo " Replicate the software collection from ${BOX}"
    echo " A software collection is simply the group of packages"
    echo " installed on a particular machine."
    echo " ."
    echo " This package contains dependencies that may be "
    echo " fulfilled from the following sources. Check to see if "
    echo " they are present in your /etc/apt/sources.list."
    echo " ."
    sources | sed 's/^/ /g'
}

changelog ()
{
    DATE=`date -R`
    echo "${PKGNAME} (${VER}) unstable; urgency=low"
    echo
    echo "  * This package was generated by a computer program which"
    echo "    does not keep track of historical data."
    echo 
    echo " -- ${MAINTAINER}  ${DATE}"
}

copyright ()
{
    echo This package contains a list of the Debian software that 
    echo was on ${BOX} on ${DATE}. 
    echo
    echo You are welcome to call an army of lawyers and philosphers 
    echo to decide on the exact copyright status and/or ownership
    echo of this package. If the software included is all from the
    echo Debian universe, then it should probably be as legally squeaky 
    echo clean to use as any other Debian subdistribution.
}

rules () 
{
    echo "#!/usr/bin/make -f"
    echo ""
    echo "export DH_COMPAT=3"
    echo ""
    echo "configure: configure-stamp"
    echo "configure-stamp:"
    echo "      dh_testdir"
    echo "      touch configure-stamp"
    echo ""
    echo "build: configure-stamp build-stamp"
    echo "build-stamp:"
    echo "      dh_testdir"
    echo "      touch build-stamp"
    echo ""
    echo "clean:"
    echo "      dh_testdir"
    echo "      dh_testroot"
    echo "      rm -f build-stamp configure-stamp"
    echo "      dh_clean"
    echo ""
    echo "install: build"
    echo "      dh_testdir"
    echo "      dh_testroot"
    echo "      dh_clean -k"
    echo "      dh_installdirs"
    echo ""
    echo "binary-indep: build install"
    echo "      dh_testdir -i"
    echo "      dh_testroot -i"
    echo "      dh_installdocs -i"
    echo "      dh_installchangelogs -i"
    echo "      dh_link -i"
    echo "      dh_compress -i"
    echo "      dh_fixperms -i"
    echo "      dh_installdeb -i"
    echo "      dh_shlibdeps -i"
    echo "      dh_gencontrol -i"
    echo "      dh_md5sums -i"
    echo "      dh_builddeb -i"
    echo ""
    echo "binary: binary-indep"
    echo ".PHONY: build clean binary-indep binary install configure"
    echo ""
}

serve ()
{
    mkdir -p ${DISTDIR}
    mkdir -p ${SRCDIR}
    mkdir -p ${POOLDIR}
    mv ${DEB} ${POOLDIR}
    mv ${PKGNAME}_${VER}.dsc ${POOLDIR}
    mv ${PKGNAME}_${VER}.tar.gz ${POOLDIR}
    mv ${PKGNAME}_${VER}_${ARCH}.changes ${POOLDIR}
    dpkg-scanpackages pool /dev/null | gzip -9c > ${DISTDIR}/Packages.gz
    dpkg-scansources  pool /dev/null | gzip -9c > ${SRCDIR}/Sources.gz 
}

instructions () 
{
    echo
    echo ========================================================
    echo
    echo "First, read the man page for security implications."
    echo "If you wish to share your softwre collection, you may"
    echo "copy the newly created dists and pool directories to a"
    echo "web accessable location. Others may then replicate your software"
    echo "collection by adding the following line to their config file"
    echo "/etc/apt/sources.list"
    echo
    echo "deb http://<WEB LOCATION> ${DISTRO} contrib"
    echo
    echo "Then it's just a matter of "
    echo "apt-get update && apt-get install ${PKGNAME}"
    echo
}

clean () 
{
    rm -rf ${PKGDIR}
}




# Prepare the subdistribution
parse_command_line $@
mkdir -p ${PKGDIR}/debian
control > ${PKGDIR}/debian/control
changelog > ${PKGDIR}/debian/changelog
copyright > ${PKGDIR}/debian/copyright
rules > ${PKGDIR}/debian/rules

# Build the package
cd ${PKGDIR}
debuild -us -uc
if [ "$?" != 0 ]
then
    echo "Aborting due to error."
    exit
fi
cd -

# Make package "apt-get"-able
if [ "$DIRS" != "" ]
then
    serve
    clean
    instructions
fi 



-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux yodel 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages jablicator depends on:
ii  apt                           0.5.4      Advanced front-end for dpkg
ii  debhelper                     4.0.2      helper programs for debian/rules
ii  devscripts                    2.7.0      Scripts to make the life of a Debi
ii  dpkg-dev                      1.9.21     Package building tools for Debian
ii  fakeroot                      0.4.4-9.2  Gives a fake root environment.
ii  gawk                          1:3.1.0-3  GNU awk, a pattern scanning and pr
ii  grep-dctrl                    1.9        Grep Debian package information
ii  lintian                       1.20.17    Debian package checker



--- End Message ---
--- Begin Message ---
Source: jablicator
Source-Version: 1.0.1

We believe that the bug you reported is fixed in the latest version of
jablicator, which is due to be installed in the Debian FTP archive:

jablicator_1.0.1.dsc
  to pool/main/j/jablicator/jablicator_1.0.1.dsc
jablicator_1.0.1.tar.gz
  to pool/main/j/jablicator/jablicator_1.0.1.tar.gz
jablicator_1.0.1_all.deb
  to pool/main/j/jablicator/jablicator_1.0.1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeff Breidenbach <[email protected]> (supplier of updated jablicator package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 13 Feb 2009 23:33:01 -0800
Source: jablicator
Binary: jablicator
Architecture: source all
Version: 1.0.1
Distribution: unstable
Urgency: low
Maintainer: Jeff Breidenbach <[email protected]>
Changed-By: Jeff Breidenbach <[email protected]>
Description: 
 jablicator - Share a set of package choices
Closes: 150111 395607 447787 496689
Changes: 
 jablicator (1.0.1) unstable; urgency=low
 .
   * Fix a bunch of lintian warnings
   * Fix some dependencies (closes: #395607)
   * Fix problem wth uppercase hostnames (closes: #447787)
   * Fix problem with package description (closes: #496689)
   * Add ability to act as recovery tool (closes: #150111)
   * Remove busted --versions command line flag. Sorry.
Checksums-Sha1: 
 a98736a940f0d1b378c5658960e06516e7bf76c2 759 jablicator_1.0.1.dsc
 218c6d2fe0277ff7679a22ae5b88837109d12103 6160 jablicator_1.0.1.tar.gz
 f28dfb9134e106f069f7a3054b75332633583437 6978 jablicator_1.0.1_all.deb
Checksums-Sha256: 
 35d072c186553b30ced5194aedaa96a3b3204ad7b765f8c5dc9aee5eb20b45e4 759 
jablicator_1.0.1.dsc
 00917ba5ab2cd9d65e8cb3b96450879adb33c2be8073f3535edcad84e85e4e40 6160 
jablicator_1.0.1.tar.gz
 1f999a92f18bc6ce0b9b54f0ddbc1feced7e06171fc8a4ada87089c30ee6ad8c 6978 
jablicator_1.0.1_all.deb
Files: 
 2da639eca3a8f6ac819cba89ae3e62b8 759 admin optional jablicator_1.0.1.dsc
 9c9cf548b35e7b6ebc1994836dac43f3 6160 admin optional jablicator_1.0.1.tar.gz
 dd03f741f39ef8a94a73b467f82beb15 6978 admin optional jablicator_1.0.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmWe0MACgkQazfo3TSzaFaUvACeL4vlmdFvW1MYGzfdjMYdqzvZ
w+EAmwR/bnYHk4BRGF7BH4BHtoHe9Dcx
=dSGk
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to