[Groonga-mysql-commit] mroonga/mroonga [master] support lenny with lenny-backports.

アーカイブの一覧に戻る

null+****@clear***** null+****@clear*****
2010年 10月 27日 (水) 23:34:00 JST


Kouhei Sutou	2010-10-27 14:34:00 +0000 (Wed, 27 Oct 2010)

  New Revision: 8f2dc16f043a9b65515c45255f3246620e3e9154

  Log:
    support lenny with lenny-backports.

  Modified files:
    apt/Makefile.am
    apt/build-deb.sh

  Modified: apt/Makefile.am (+1 -1)
===================================================================
--- apt/Makefile.am    2010-10-27 04:38:47 +0000 (e176b02)
+++ apt/Makefile.am    2010-10-27 14:34:00 +0000 (05dd88e)
@@ -1,7 +1,7 @@
 DISTRIBUTIONS = debian ubuntu
 CHROOT_BASE = /var/lib/chroot
 ARCHITECTURES = amd64
-CODES = squeeze unstable lucid maverick
+CODES = lenny squeeze unstable lucid maverick
 
 all:
 

  Modified: apt/build-deb.sh (+11 -1)
===================================================================
--- apt/build-deb.sh    2010-10-27 04:38:47 +0000 (5408878)
+++ apt/build-deb.sh    2010-10-27 14:34:00 +0000 (6c5ad9e)
@@ -8,7 +8,7 @@ VERSION=$(cat /tmp/build-version)
 DEPENDED_PACKAGES=$(cat /tmp/depended-packages)
 BUILD_SCRIPT=/tmp/build-deb-in-chroot.sh
 
-mysql_server_package=mysql-server
+mysql_server_package=mysql-server-5.1
 
 run()
 {
@@ -22,6 +22,16 @@ run()
 grep '^deb ' /etc/apt/sources.list | \
     sed -e 's/^deb /deb-src /' > /etc/apt/sources.list.d/base-source.list
 
+if grep '^5\.0' /etc/debian_version > /dev/null; then
+    backports_list=/etc/apt/sources.list.d/backports.list
+    if [ ! -f $backports_list ]; then
+	cat <<EOF > $backports_list
+deb http://backports.debian.org/debian-backports lenny-backports main
+deb-src http://backports.debian.org/debian-backports lenny-backports main
+EOF
+    fi
+fi
+
 apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31
 
 if [ ! -x /usr/bin/aptitude ]; then




Groonga-mysql-commit メーリングリストの案内
アーカイブの一覧に戻る