Browse Source

add debian packaging files and split into three udebs

r29690
squeeze
Joey Hess 17 years ago
parent
commit
79a991ef03
  1. 3
      TODO
  2. 1
      debian/apt-cdrom-setup.install
  3. 3
      debian/apt-cdrom-setup.templates
  4. 1
      debian/apt-mirror-setup.install
  5. 25
      debian/apt-mirror-setup.templates
  6. 4
      debian/apt-setup.install
  7. 3
      debian/apt-setup.postinst
  8. 36
      debian/apt-setup.templates
  9. 5
      debian/changelog
  10. 1
      debian/compat
  11. 27
      debian/control
  12. 6
      debian/copyright
  13. 32
      debian/rules

3
TODO

@ -1,5 +1,2 @@
- move mirror generator to choose-mirror or something similar. Probably
move the non-free and contrib questions to there too.
- move cdrom generator to cdrom-detect
- http proxy asking for installs from only CD w/o choose-mirror
- multi-cd support

1
debian/apt-cdrom-setup.install

@ -0,0 +1 @@
generators/50cdrom usr/lib/apt-setup/generators

3
debian/apt-cdrom-setup.templates

@ -0,0 +1,3 @@
Template: apt-setup/progress/cdrom
Type: text
_Description: Scanning the CD-ROM...

1
debian/apt-mirror-setup.install

@ -0,0 +1 @@
generators/50mirror usr/lib/apt-setup/generators

25
debian/apt-mirror-setup.templates

@ -0,0 +1,25 @@
Template: apt-setup/progress/mirror
Type: text
_Description: Scanning the mirror...
Template: apt-setup/non-free
Type: boolean
Default: false
_Description: Use non-free software?
Some non-free software has been made to work with Debian. Though this
software is not at all a part of Debian, standard Debian tools can be used
to install it. This software has varying licenses which may prevent you
from using, modifying, or sharing it.
.
Please choose whether you want to have it available anyway.
Template: apt-setup/contrib
Type: boolean
Default: false
_Description: Use contrib software?
Some additional software has been made to work with Debian. Though this
software is free, it depends on non-free software for its operation. This
software is not a part of Debian, but standard Debian tools can be
used to install it.
.
Please choose whether you want this software to be made available to you.

4
debian/apt-setup.install

@ -0,0 +1,4 @@
apt-setup usr/bin
apt-setup-verify usr/bin
generators/01setup usr/lib/apt-setup/generators
generators/90security usr/lib/apt-setup/generators

3
debian/apt-setup.postinst

@ -0,0 +1,3 @@
#!/bin/sh
set -e
apt-setup /target

36
debian/apt-setup.templates

@ -9,19 +9,7 @@ _Description: Configuring apt
Template: apt-setup/progress/fallback
Type: text
_Description: Configuring ${SCRIPT}...
Template: apt-setup/progress/setup
Type: text
_Description: Setting up...
Template: apt-setup/progress/mirror
Type: text
_Description: Scanning the mirror...
Template: apt-setup/progress/mirror
Type: text
_Description: Scanning the CD-ROM...
_Description: Running ${SCRIPT}...
Template: apt-setup/progress/security
Type: text
@ -32,28 +20,6 @@ Type: string
Default: security.debian.org
Description: host to use for security updates (internal use)
Template: apt-setup/non-free
Type: boolean
Default: false
_Description: Use non-free software?
Some non-free software has been made to work with Debian. Though this
software is not at all a part of Debian, standard Debian tools can be used
to install it. This software has varying licenses which may prevent you
from using, modifying, or sharing it.
.
Please choose whether you want to have it available anyway.
Template: apt-setup/contrib
Type: boolean
Default: false
_Description: Use contrib software?
Some additional software has been made to work with Debian. Though this
software is free, it depends on non-free software for its operation. This
software is not a part of Debian, but standard Debian tools can be
used to install it.
.
Please choose whether you want this software to be made available to you.
Template: apt-setup/security-updates-failed
Type: error
_Description: Cannot access security updates

5
debian/changelog

@ -0,0 +1,5 @@
apt-setup (0.1) UNRELEASED; urgency=low
* First release as a udeb broken out from base-config and rewritten.
-- Joey Hess <joeyh@debian.org> Wed, 3 Aug 2005 13:44:52 -0400

1
debian/compat

@ -0,0 +1 @@
4

27
debian/control

@ -0,0 +1,27 @@
Source: apt-setup
Section: debian-installer
Priority: extra
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Uploaders: Joey Hess <joeyh@debian.org>
Build-Depends: debhelper (>= 4.2), dpkg-dev (>= 1.7.0), po-debconf (>= 0.5.0)
Package: apt-setup
XC-Package-Type: udeb
Architecture: all
Priority: standard
XB-Installer-Menu-Item: 70
Depends: ${shlibs:Depends}, apt-mirror-setup
Description: Configure apt
Package: apt-mirror-setup
XC-Package-Type: udeb
Architecture: all
Depends: ${shlibs:Depends}, choose-mirror
Description: set up a mirror in sources.list
Package: apt-cdrom-setup
XC-Package-Type: udeb
Architecture: all
Provides: apt-mirror-setup
Depends: ${shlibs:Depends}, cdrom-detect
Description: set up a CD in sources.list

6
debian/copyright

@ -0,0 +1,6 @@
apt-setup is copyright 2005 by Joey Hess <joeyh@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.

32
debian/rules

@ -0,0 +1,32 @@
#!/usr/bin/make -f
build:
dh_testdir
clean:
dh_testdir
dh_testroot
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_install
binary-indep: build install
binary-arch: build install
dh_testdir
dh_testroot
dh_installdebconf
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
Loading…
Cancel
Save