- Timestamp:
- 12/13/2014 11:10:32 AM (9 years ago)
- Branches:
- 2.4, ablfs-more, legacy, new_features, trunk
- Children:
- 56d8426
- Parents:
- 57ef0c1
- Location:
- pkgmngt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pkgmngt/packInstall.sh
r57ef0c1 rb9c3497 14 14 tidy*) local VERSION=$(echo $PCKGVRS | sed 's/^[^0-9]*\([0-9]*\)/\1cvs/') ;; 15 15 docbook-xml) local VERSION=4.5 ;; 16 *) local VERSION=$(echo ${PCKGVRS} | sed 's/^.*-\([0-9]\)/\1/');; 16 *) local VERSION=$(echo ${PCKGVRS} | sed 's/^.*-\([0-9]\)/\1/' | 17 sed 's/_/./g');; 18 # the last sed above is because dpkg does not want a '_' in version. 17 19 esac 18 20 local ARCHIVE_NAME=$(dirname ${PKGDIR})/${PACKAGE}_${VERSION}.deb … … 32 34 Architecture: $ARCH 33 35 EOF 34 dpkg-deb - b . $ARCHIVE_NAME36 dpkg-deb -z9 -b . $ARCHIVE_NAME 35 37 dpkg -i $ARCHIVE_NAME 36 38 mv -v $ARCHIVE_NAME /var/lib/packages -
pkgmngt/packInstall.sh.template
r57ef0c1 rb9c3497 18 18 tidy*) local VERSION=$(echo $PCKGVRS | sed 's/^[^0-9]*\([0-9]*\)/\1cvs/') ;; 19 19 docbook-xml) local VERSION=4.5 ;; 20 *) local VERSION=$(echo ${PCKGVRS} | sed 's/^.*[-_]\([0-9]\)/\1/');; 20 *) local VERSION=$(echo ${PCKGVRS} | sed 's/^.*[-_]\([0-9]\)/\1/' | 21 sed 's/_/./g');; 22 # the last sed above is because some package managers do not want a '_' 23 # in version. 21 24 esac 22 25 local ARCHIVE_NAME=$(dirname ${PKGDIR})/${PACKAGE}_${VERSION}.deb -
pkgmngt/packageManager.xml
r57ef0c1 rb9c3497 10 10 <!ENTITY external "Optional dependencies"> 11 11 <!ENTITY debian-pool "http://ftp2.fr.debian.org/debian/pool/main/"> 12 <!ENTITY dpkg-version "1.1 6.1.2">13 <!ENTITY dpkg-size " 5,236KB">14 <!ENTITY dpkg-url "&debian-pool;d/dpkg/dpkg_&dpkg-version;.tar. bz2">15 <!ENTITY dpkg-md5 " 068ae5e650e54968230de19d6c4e2241">12 <!ENTITY dpkg-version "1.17.22"> 13 <!ENTITY dpkg-size "4,259 KB"> 14 <!ENTITY dpkg-url "&debian-pool;d/dpkg/dpkg_&dpkg-version;.tar.xz"> 15 <!ENTITY dpkg-md5 "c9c46c5318c98c9162fbd03d24f2f95b"> 16 16 <!ENTITY dpkg-home "http://wiki.debian.org/Teams/Dpkg"> 17 <!ENTITY dpkg-ch5-du "5 MB">18 <!ENTITY dpkg-ch5-sbu "0. 4SBU">19 <!ENTITY dpkg-ch6-du " 5MB">20 <!ENTITY dpkg-ch6-sbu "0. 4SBU">17 <!ENTITY dpkg-ch5-du "54 MB"> 18 <!ENTITY dpkg-ch5-sbu "0.3 SBU"> 19 <!ENTITY dpkg-ch6-du "63 MB"> 20 <!ENTITY dpkg-ch6-sbu "0.5 SBU"> 21 21 ]> 22 22 <article> … … 104 104 105 105 <para>Since Debian is shipping its own package, all patches have already 106 been applied. However, the <command>configure</command> script calls 107 <command>dpkg</command> itself, which is found only on Debian hosts. The 108 following <command>sed</command> command prevents that call:</para> 109 110 <screen><userinput remap="pre">sed '/\$v[{]DEB_BUILD/d' \ 111 -i scripts/dpkg-architecture.pl</userinput></screen> 106 been applied. Nevertheless there is either a bug or something 107 I do not understand... Apply this:</para> 108 109 <screen><userinput remap="pre">sed -i '/compress_filter(s/,/va_start/s/^$/compressor_fixup_params(params);\n/' lib/dpkg/compress.c</userinput></screen> 112 110 113 111 <para> Configure the package:</para> 114 112 115 113 <screen><userinput remap="configure">./configure --prefix=/tools \ 116 --disable-nls --without-dselect \ 117 --without-start-stop-daemon \ 118 --without-update-alternatives \ 119 --without-install-info \ 120 --without-zlib --with-bz2=static --without-selinux</userinput></screen> 114 --disable-nls --disable-dselect \ 115 --disable-start-stop-daemon \ 116 --disable-update-alternatives \ 117 --without-zlib --with-liblzma=static --without-selinux</userinput></screen> 121 118 122 119 <variablelist> … … 124 121 125 122 <varlistentry> 126 <term><parameter>-- without-dselect</parameter></term>123 <term><parameter>--disable-dselect</parameter></term> 127 124 <listitem> 128 125 <para>Avoids building <command>dselect</command>, an … … 132 129 133 130 <varlistentry> 134 <term><parameter>-- without-start-stop-daemon</parameter></term>131 <term><parameter>--disable-start-stop-daemon</parameter></term> 135 132 <listitem> 136 133 <para>The utility <command>start-stop-daemon</command> … … 140 137 141 138 <varlistentry> 142 <term><parameter>-- without-update-alternatives</parameter></term>139 <term><parameter>--disable-update-alternatives</parameter></term> 143 140 <listitem> 144 141 <para>Same for <command>update-alternatives</command>.</para> … … 147 144 148 145 <varlistentry> 149 <term><parameter>--without-install-info</parameter></term> 150 <listitem> 151 <para>Debian <command>install-info</command> is a wrapper to 152 <command>install-info</command> installed by Texinfo. Not 153 needed either.</para> 146 <term><parameter>--without-zlib</parameter></term> 147 <listitem> 148 <para>Use <command>gzip</command> for compression of binary 149 packages instead of the zlib library, which is not installed 150 in chapter 5.</para> 151 </listitem> 152 </varlistentry> 153 154 <varlistentry> 155 <term><parameter>--with-liblzma=static</parameter></term> 156 <listitem> 157 <para>Use statically linked <command>liblzma</command> for compression 158 of binary packages.</para> 159 </listitem> 160 </varlistentry> 161 162 <varlistentry> 163 <term><parameter>--without-selinux</parameter></term> 164 <listitem> 165 <para>Disable building for <application>selinux</application>, which 166 is not used woth LFS/BLFS.</para> 154 167 </listitem> 155 168 </varlistentry> … … 258 271 259 272 <para>Since Debian is shipping its own package, all patches have already 260 been applied. We can go directly to configuringit:</para>273 been applied. We do not need more in chapter 6. Configure it:</para> 261 274 262 275 <screen><userinput remap="configure">./configure --prefix=/usr \ 263 276 --sysconfdir=/etc \ 264 277 --localstatedir=/var \ 265 --without-dselect \ 266 --without-start-stop-daemon \ 267 --without-update-alternatives \ 268 --without-install-info \ 278 --disable-dselect \ 279 --disable-start-stop-daemon \ 280 --disable-update-alternatives \ 269 281 --without-selinux</userinput></screen> 270 282 … … 273 285 274 286 <varlistentry> 275 <term><parameter>-- without-dselect</parameter></term>287 <term><parameter>--disable-dselect</parameter></term> 276 288 <listitem> 277 289 <para>Avoids building <command>dselect</command>, an … … 281 293 282 294 <varlistentry> 283 <term><parameter>-- without-start-stop-daemon</parameter></term>295 <term><parameter>--disable-start-stop-daemon</parameter></term> 284 296 <listitem> 285 297 <para>The utility <command>start-stop-daemon</command> … … 289 301 290 302 <varlistentry> 291 <term><parameter>-- without-update-alternatives</parameter></term>303 <term><parameter>--disable-update-alternatives</parameter></term> 292 304 <listitem> 293 305 <para>Same for <command>update-alternatives</command>.</para> … … 296 308 297 309 <varlistentry> 298 <term><parameter>--without-install-info</parameter></term> 299 <listitem> 300 <para>Debian <command>install-info</command> is a wrapper to 301 <command>install-info</command> installed by Texinfo. Not 302 needed either.</para> 310 <term><parameter>--without-selinux</parameter></term> 311 <listitem> 312 <para>Selinux is not used in LFS.</para> 303 313 </listitem> 304 314 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.