summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:52:18 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:52:18 +0000
commit2d18d44ecd4bfe976805024279e5118d11be26b9 (patch)
tree714727de894614eccac24c21f457cfbee0349332 /debian
parentd8aadfc1027af7727332b797f150e98e1576682c (diff)
Added debian/ directory and changelog, control, postins...
Author: che Date: 1998-12-22 05:06:44 GMT Added debian/ directory and changelog, control, postinst, postrm, rules, and shlibs.local files
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog241
-rw-r--r--debian/control33
-rwxr-xr-xdebian/postinst50
-rwxr-xr-xdebian/postrm20
-rwxr-xr-xdebian/rules148
-rw-r--r--debian/shlibs.local2
6 files changed, 494 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000000000..aa5ae0b00
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,241 @@
+apt (0.3.0) experimental; urgency=low
+
+ * New experimental version.
+
+ -- Ben Gertzfield <che@debian.org> Tue, 15 Dec 1998 12:53:21 -0800
+
+apt (0.1.9) frozen unstable; urgency=low
+
+ * Return to the wacky numbering for when we build 0.1.8 for hamm
+ * Important bug related to APT on the Alpha fixed
+ * apt-get dist-upgrade problems fixed
+ * tiny patch for http method to fix an endless loop
+ * nice fix from /usr/doc/lintian/ to remove rpath nastiness from
+ libtool and add proper shared lib dependancies
+ * now dh_shlibdeps is called with LD_LIBRARY_PATH=debian/tmp/usr/lib
+ in case an old libpkg is installed while building APT to prevent
+ spurious dependancies
+
+ -- Ben Gertzfield <che@debian.org> Thu, 5 Nov 1998 17:43:25 -0800
+
+apt (0.1.7) unstable; urgency=low
+
+ * New build with libstdc++2.9.
+ * Various fixes; read the Changelog.
+
+ -- Ben Gertzfield <che@debian.org> Thu, 15 Oct 1998 18:29:18 -0700
+
+apt (0.1.6) unstable; urgency=low
+
+ * Various fixes in the FTP method for error checking. Fixes: #26188.
+ * Spelling corrections in dselect method. Fixes: #25884
+ * Fixes for compilation on alpha/ppc. Fixes: #25313, #26108.
+ * No more bo releases: we're using a normal numbering system now.
+
+ -- Ben Gertzfield <che@debian.org> Tue, 8 Sep 1998 19:27:13 -0700
+
+apt (0.1.5) unstable; urgency=low
+
+ * Changed sources.list to point to 'unstable' by default, as
+ 'frozen' no longer exists!
+
+ -- Ben Gertzfield <che@debian.org> Thu, 23 Jul 1998 22:00:18 -0700
+
+apt (0.1.3) unstable; urgency=low
+
+ * New upstreamish version.
+ * ftp method rewritten in C. Removes dependancies on all perl/perl
+ related modules. This fixes many of the ftp method bugs.
+
+ -- Ben Gertzfield <che@debian.org> Thu, 16 Jul 1998 22:19:00 -0700
+
+apt (0.1.1) unstable; urgency=low
+
+ * Release for unstable.
+
+ -- Ben Gertzfield <che@debian.org> Tue, 30 Jun 1998 20:48:30 -0700
+
+apt (0.1) unstable; urgency=low
+
+ * Kludge to fix problem in libnet-perl with illegal anonymous
+ FTP passwords.
+ * Moved to unstable; apt is in a useable state now.
+ * Fixed version numbering. From now on, numbering will be:
+ 0.1 (no actual release) -> 0.1.0bo (release for libc5) ->
+ 0.1.1 (release for unstable). Thanks, Manoj.
+
+ -- Ben Gertzfield <che@debian.org> Tue, 30 Jun 1998 20:40:58 -0700
+
+apt (0.0.17-1) experimental; urgency=low
+
+ * Fixed problem with libc6 version compare
+ * Scott's away for a while, so I'll be packaging apt for the time
+ being.
+
+ -- Ben Gertzfield <che@debian.org> Thu, 25 Jun 1998 19:02:03 -0700
+
+apt (0.0.16-1) experimental; urgency=low
+
+ * Modifications to make apt-get more friendly when backgrounded.
+ * Updated documentation.
+ * Updates to graphic widgets
+
+ -- Scott K. Ellis <scott@debian.org> Mon, 8 Jun 1998 11:22:02 -0400
+
+apt (0.0.15-0.2bo) experimental; urgency=low
+
+ * Bo compilation
+ * Bob Hilliards crash
+
+ -- Jason Gunthorpe <jgg@debian.org> Sun, 31 May 1998 20:18:35 -0600
+
+apt (0.0.15-0.1bo) experimental; urgency=low
+
+ * Bo compilation
+ * libstdc++272 patch
+
+ -- Jason Gunthorpe <jgg@debian.org> Sun, 31 May 1998 20:18:35 -0600
+
+apt (0.0.15) experimental; urgency=low
+
+ * Clean up source tarball (no user-visible changes)
+
+ -- Scott K. Ellis <scott@debian.org> Tue, 26 May 1998 12:23:53 -0400
+
+apt (0.0.14) experimental; urgency=low
+
+ * Updates in ordering code to make sure certain upgrades work correctly.
+ * Made dselect/setup understand ftp as well as http
+
+ -- Scott K. Ellis <scott@debian.org> Wed, 20 May 1998 13:33:32 -0400
+
+apt (0.0.13-bo1) experimental; urgency=low
+
+ * Bo compilation
+
+ -- Jason Gunthorpe <jgg@debian.org> Mon, 18 May 1998 15:10:49 -0600
+
+apt (0.0.13) experimental; urgency=low
+
+ * Remove hardcoded egcc from debian/rules (#21575)
+ * Fixes for ordering logic when system has a number of unpacked
+ but unconfigured packages installed.
+ * Spelling fix in dselect install method (#22556)
+
+ -- Scott K. Ellis <scott@debian.org> Sun, 17 May 1998 20:08:33 -0400
+
+apt (0.0.12) experimental; urgency=low
+
+ * Fixed problems with package cache corruption.
+ * Made to depend on libc6 >= 2.0.7pre1 due to timezone problems with
+ earlier versions.
+ * Interface and documentation improvements.
+
+ -- Scott K. Ellis <scott@debian.org> Sat, 16 May 1998 23:17:32 -0400
+
+apt (0.0.11) experimental; urgency=low
+
+ * Change dependancies to pre-depends since breaking your packaging tools
+ in the middle of an installation isn't very good.
+ * Bug fixes to ftp method and general apt-get code
+
+ -- Scott K. Ellis <scott@debian.org> Fri, 15 May 1998 08:57:38 -0400
+
+apt (0.0.10) experimental; urgency=low
+
+ * Run "dpkg --configure -a" after an aborted dselect install
+ * Fixed problem with install looping
+ * Support for authenticating proxys: (note this isn't terribly secure)
+ http_proxy="http://user:pass@firewall:port/"
+ * Substitute $ARCH in sources.list
+ * Fixes in the resumption code for ftp
+
+ -- Scott K. Ellis <scott@debian.org> Tue, 12 May 1998 09:14:41 -0400
+
+apt (0.0.9) experimental; urgency=low
+
+ * Added ftp support.
+ * Various other less visible bug fixes.
+ * Fixed problem with segfault when apt-get invoked in a non-existant
+ directory (Bug #21863)
+ * Bumped policy to 2.4.1
+
+ -- Scott K. Ellis <scott@debian.org> Fri, 1 May 1998 09:18:19 -0400
+
+apt (0.0.8) experimental; urgency=low
+
+ * Fixed generated available file (Bug #21836)
+ * Added download ETA (Bug #21774).
+ * Fixed hardcoded ARCH (Bug #21751).
+ * Fixed check on http_proxy (Bug #21795).
+ * Added download speed indicator.
+
+ -- Scott K. Ellis <scott@debian.org> Mon, 27 Apr 1998 10:58:32 -0400
+
+apt (0.0.7) experimental; urgency=low
+
+ * Remove libdeity and apt from package for now, since only apt-get and
+ apt-cache are actually useful right now.
+ * Clean up handling of package installation errors.
+ * Added timeout to http transfers (#21269)
+ * Updated setup for dselect/apt method.
+ * Updated man pages
+ * Long options (added in 0.0.6)
+
+ -- Scott K. Ellis <scott@debian.org> Tue, 21 Apr 1998 09:06:49 -0400
+
+apt (0.0.6) experimental; urgency=low
+
+ * Spelling changes.
+ * Revamped download status display.
+ * Call apt-get clean after successful install in dselect.
+ * Added "apt-get clean" which deletes package files from /var/cache/apt
+
+ -- Scott K. Ellis <scott@debian.org> Thu, 9 Apr 1998 15:13:59 -0400
+
+apt (0.0.5) experimental; urgency=low
+
+ * Ignore signals while dpkg is running so we don't leave dpkg running in
+ the background (#20804)
+ * Check Packages as well as Packages.gz for file URIs (#20784)
+ * Spelling cleanup (#20800)
+ * Added -m option to permit upgrade to go on in the case of a bad mirror.
+ This option may result in incomplete upgrades when used with -f.
+
+ -- Scott K. Ellis <scott@debian.org> Tue, 7 Apr 1998 12:40:29 -0400
+
+apt (0.0.4) experimental; urgency=low
+
+ * New usage guide.
+ * Various documentation updates and cleanup.
+ * Added '-f' option to apt-get attempt to fix broken dependancies.
+
+ -- Scott K. Ellis <scott@debian.org> Sat, 4 Apr 1998 14:36:00 -0500
+
+apt (0.0.3) experimental; urgency=low
+
+ * Added a shlibs.local file to prevent apt from depending on itself.
+ * Updates to how apt-get handles bad states in installed packages.
+ * Updated rules to make sure build works from a freshly checked out source
+ archive. Building from CVS needs libtool/automake/autoconf, builds from
+ the distributed source package should have no such dependancy.
+
+ -- Scott K. Ellis <scott@debian.org> Fri, 3 Apr 1998 11:49:47 -0500
+
+apt (0.0.2) unstable; urgency=low
+
+ * Updates to apt-get and http binding for dselect method (apt).
+ * Updating version number from 0.0.1, which was released only on IRC.
+
+ -- Scott K. Ellis <scott@debian.org> Fri, 3 Apr 1998 00:35:18 -0500
+
+apt (0.0.1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Scott K. Ellis <scott@debian.org> Tue, 31 Mar 1998 12:49:28 -0500
+
+Local variables:
+mode: debian-changelog
+add-log-mailing-address: "che@debian.org"
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 000000000..6e9366a18
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: apt
+Section: admin
+Priority: optional
+Maintainer: APT Development Team <deity@lists.debian.org>
+Standards-Version: 2.4.1
+
+Package: apt
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: deity
+Replaces: deity
+Description: Advanced front-end for dpkg
+ This is Debian's next generation front-end for the dpkg package manager.
+ It provides the apt-get utility and APT dselect method that provides a
+ simpler, safer way to install and upgrade packages.
+ .
+ APT features complete installation ordering, multiple source capability
+ and several other unique features, see the Users Guide in
+ /usr/doc/apt/guide.text.gz
+
+Package: libapt-pkg-dev
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Development files for APT's libapt-pkg
+ This package contains the header files and static libraries for
+ developing with APT's libapt-pkg Debian package manipulation
+ library.
+
+Package: libapt-pkg-doc
+Architecture: all
+Description: Documentation for APT development
+ This package contains documentation for development of the APT
+ Debian package manipulation program and its libraries.
diff --git a/debian/postinst b/debian/postinst
new file mode 100755
index 000000000..d36c5a705
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,50 @@
+#! /bin/sh
+
+# apt postinst, based liberally on James Troup's gpm postinst
+# Copyright (C) 1998, Ben Gertzfield <che@debian.org>
+
+# This program 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 of the License, or
+# (at your option) any later version.
+
+set -e
+
+create_apt_conf ()
+{
+ echo "/etc/apt/sources.list does not exist; creating a default setup."
+
+ cat > /etc/apt/sources.list <<EOF
+# Use for a local mirror - remove the ftp1 http lines for the bits
+# your mirror contains.
+# deb file:/your/mirror/here/debian stable main contrib non-free
+# See sources.list(5) for more information, especial
+# Remember that you can only use http, ftp or file URIs
+deb http://http.us.debian.org/debian stable main contrib non-free
+deb http://non-us.debian.org/debian-non-US stable non-US
+
+EOF
+}
+
+check_apt_conf ()
+{
+ true
+ # this is for future expansion
+}
+
+case "$1" in
+ configure)
+ #
+ # If there is no /etc/apt/sources.list then create a default
+ #
+ if [ ! -f /etc/apt/sources.list ]; then
+ create_apt_conf
+ echo
+ echo "If you wish to change the default sites from which APT fetches Debian"
+ echo "packages, please edit the file /etc/apt/sources.list."
+ else
+ check_apt_conf
+ fi
+
+esac
+
diff --git a/debian/postrm b/debian/postrm
new file mode 100755
index 000000000..625280034
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,20 @@
+#! /bin/sh
+
+# apt postrm
+# Copyright (C) 1998, Ben Gertzfield <che@debian.org>
+
+# This program 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 of the License, or
+# (at your option) any later version.
+
+case "$1" in
+ purge)
+ echo -n "Removing APT cache and state files... "
+ echo -n "/var/cache/apt"
+ rm -rf /var/cache/apt
+ echo -n ", /var/state/apt"
+ rm -rf /var/state/apt
+ echo ". Done."
+esac
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 000000000..3333a02e2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,148 @@
+#!/usr/bin/make -f
+# Made with the aid of dh_make, by Craig Small
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Some lines taken from debmake, by Christoph Lameter.
+# $Id: rules,v 1.1 1998/12/22 05:06:44 che Exp $
+
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp: configure
+ dh_testdir
+ mkdir build
+ cd build; ../configure
+ cd ..
+# cd build && CXXFLAGS="-g -Wall -D_POSIX_C_SOURCE=199309" ../configure --disable-nls --disable-static --prefix=/usr
+# cd build && make all-hdr
+# cd build && make -s
+
+ # Add here commands to compile the package.
+ make
+ touch build-stamp
+
+clean:
+ dh_testdir
+# dh_testroot
+ rm -f build-stamp
+ rm -rf build
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) clean
+ -$(MAKE) distclean
+ dh_clean
+
+# Build architecture-independent files here.
+binary-indep: build libapt-pkg-doc
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build apt libapt-pkg-dev
+
+apt: build
+# dh_testversion -papt
+ dh_testdir -papt
+ dh_testroot -papt
+ dh_clean -papt -k
+ dh_installdirs -papt usr/bin usr/lib/apt/methods usr/lib/dpkg/methods/apt etc/apt usr/doc/apt var/cache/apt/archives/partial var/state/apt/lists/partial
+
+ cp build/bin/apt-* debian/tmp/usr/bin/
+ cp build/bin/libapt-pkg.so.2.0 debian/tmp/usr/lib/
+ ln -s libapt-pkg.so.2.0 debian/tmp/usr/lib/libapt-pkg-so.2
+ cp build/bin/methods/* debian/tmp/usr/lib/apt/methods/
+
+ cp build/scripts/dselect/* debian/tmp/usr/lib/dpkg/methods/apt/
+# cp debian/sources.list debian/tmp/etc/apt/
+
+ cp build/docs/guide.text debian/tmp/usr/doc/apt/users-guide.txt
+ mkdir debian/tmp/usr/doc/apt/users-guide.html/
+ cp -a build/docs/guide.html/* debian/tmp/usr/doc/apt/users-guide.html/
+
+# head -n 500 ChangeLog > debian/ChangeLog
+
+ dh_installdocs -papt
+ dh_installexamples -papt build/docs/examples/*
+# dh_installmenu -papt
+# dh_installinit -papt
+# dh_installcron -papt
+ dh_installmanpages -papt
+
+# dh_undocumented -papt
+ dh_installchangelogs -papt
+ dh_strip -papt
+ dh_compress -papt
+ dh_fixperms -papt
+ dh_suidregister -papt
+ dh_installdeb -papt
+ LD_LIBRARY_PATH=debian/tmp/usr/lib dh_shlibdeps -papt
+ dh_gencontrol -papt
+ dh_makeshlibs -papt
+ dh_md5sums -papt
+ dh_builddeb -papt
+
+libapt-pkg-dev: build
+ dh_testdir -plibapt-pkg-dev
+ dh_testroot -plibapt-pkg-dev
+ dh_clean -plibapt-pkg-dev -k
+ dh_installdirs -plibapt-pkg-dev usr/lib usr/include/apt-pkg
+
+ ln -s libapt-pkg.so.2.0 debian/libapt-pkg-dev/usr/lib/libapt-pkg.so
+
+ cp build/include/apt-pkg/*.h debian/libapt-pkg-dev/usr/include/apt-pkg/
+
+ dh_installdocs -plibapt-pkg-dev
+ dh_installchangelogs -plibapt-pkg-dev
+ dh_strip -plibapt-pkg-dev
+ dh_compress -plibapt-pkg-dev
+ dh_fixperms -plibapt-pkg-dev
+ dh_installdeb -plibapt-pkg-dev
+ dh_shlibdeps -plibapt-pkg-dev
+ dh_gencontrol -plibapt-pkg-dev
+ dh_md5sums -plibapt-pkg-dev
+ dh_builddeb -plibapt-pkg-dev
+
+libapt-pkg-doc: build
+ dh_testdir -plibapt-pkg-doc
+ dh_testroot -plibapt-pkg-doc
+ dh_clean -plibapt-pkg-doc -k
+ dh_installdirs -plibapt-pkg-doc usr/doc/apt
+
+ cp -a build/docs/cache* build/docs/design* build/docs/dpkg-tech* \
+ build/docs/files* build/docs/method* debian/libapt-pkg-doc/usr/doc/apt/
+
+ dh_installdocs -plibapt-pkg-doc
+ dh_installchangelogs -plibapt-pkg-doc
+ dh_strip -plibapt-pkg-doc
+ dh_compress -plibapt-pkg-doc
+ dh_fixperms -plibapt-pkg-doc
+ dh_installdeb -plibapt-pkg-doc
+ dh_shlibdeps -plibapt-pkg-doc
+ dh_gencontrol -plibapt-pkg-doc
+ dh_md5sums -plibapt-pkg-doc
+ dh_builddeb -plibapt-pkg-doc
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+# Update from CVS
+l33ch: really-clean
+ cvs update
+ utils/mkChangeLog
+
+# Update from CVS and then configure for build
+super-l33ch: l33ch Makefile.in
+
+configure:
+ make startup
+
+l33ch-stamp: super-l33ch
+ touch l33ch-stamp
+
+really-clean: clean
+ -find -name Makefile.in -print0 | xargs -0r rm -f
+ find -name ChangeLog | xargs rm -f
+ rm -f l33ch-stamp
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
diff --git a/debian/shlibs.local b/debian/shlibs.local
new file mode 100644
index 000000000..ab3c9c3a8
--- /dev/null
+++ b/debian/shlibs.local
@@ -0,0 +1,2 @@
+libpkg 0
+libdeity 0