Advertisement
Guest User

Untitled

a guest
Apr 16th, 2011
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. # The distribution should be correct in your changelog file.
  2. # Uncomment this line to use the one listed there:
  3. #DIST=`dpkg-parsechangelog | awk '/^Distribution: / {print $2}'`
  4.  
  5.  
  6. #: ${DIST:=$(lsb_release --short --codename)}
  7. : ${ARCH:=$(dpkg --print-architecture)}
  8. PKGNAME_LOGFILE=yes
  9. AUTO_DEBSIGN=yes
  10. NAME="$DIST-$ARCH"
  11.  
  12. HOOKDIR="/home/user/.pbuilder-hooks"
  13.  
  14. DISTRIBUTION="$DIST"
  15. DEBOOTSTRAPOPTS=("--arch" "$ARCH" "${DEBOOTSTRAPOPTS[@]}")
  16. BASETGZ="`dirname $BASETGZ`/$DIST-base.tgz"
  17. BUILDRESULT="/var/www/dists/$DIST/ppa/binary-amd64/"
  18. APTCACHE="/var/cache/pbuilder/$DIST/aptcache/"
  19. COMPONENTS="main restricted universe multiverse"
  20.  
  21. OTHERMIRROR="deb http://se.archive.ubuntu.com/ubuntu/ $DIST-updates main universe restricted multiverse
  22. deb http://se.archive.ubuntu.com/ubuntu/ $DIST-backports main restricted universe multiverse
  23. deb http://security.ubuntu.com/ubuntu $DIST-security main universe restricted multiverse
  24. deb http://127.0.0.1 $DIST ppa
  25. # deb http://1192.168.1.2 $DIST e17
  26. # deb http://192.168.1.2 $DIST xfce4
  27. # deb http://192.168.1.2 $DIST extra
  28. # deb http://wine.budgetdedicated.com/apt intrepid main
  29. # deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu $DIST main
  30. #deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu $DIST main
  31. #deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu $DIST main
  32. #deb http://ppa.launchpad.net/philip5/extra/ubuntu $DIST main
  33. #deb http://ppa.launchpad.net/philip5/kubuntu-backports/ubuntu $DIST main
  34. # deb http://ppa.launchpad.net/kubuntu-ppa/beta/ubuntu $DIST main
  35. "
  36.  
  37. case "$DIST" in
  38. intrepid|hardy|gutsy|jaunty|maverick|lucid|natty) # ubuntu specific
  39. MIRRORSITE="http://ftp.sunet.se/pub/os/Linux/distributions/ubuntu/ubuntu"
  40. COMPONENTS="main restricted universe multiverse"
  41. ;;
  42. sid|lenny|etch) # debian specific
  43. MIRRORSITE="http://mirrors.kernel.org/debian/"
  44. COMPONENTS="main contrib non-free"
  45. ;;
  46. *)
  47. echo "Unknown distribution: $DIST"
  48. exit 1
  49. ;;
  50. esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement