Ignore:
Timestamp:
06/24/2020 06:26:05 AM (4 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
d5a739a
Parents:
13e52a5
Message:

Fix package management for new book, and add a patch for porg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pkgmngt/packageManager.xml.porg

    r13e52a5 r49f8b03  
    11<?xml version="1.0" encoding="UTF-8"?>
    2 <!-- $Id$ -->
    32<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    43  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    65<!ENTITY porg-url "https://sourceforge.net/projects/porg/files/porg-&porg-version;.tar.gz">
    76<!ENTITY porg-md5 "2eceb8a73bb188dbb06b12d90cabdbb4">
     7<!ENTITY porg-patch-url "http://www.linuxfromscratch.org/patches/downloads/porg/porg-0.10-renameat2-1.patch">
     8<!ENTITY porg-patch-md5 "cfc72c817d98902afeaf225f22b8e653">
    89]>
    910
     
    1516        <para>MD5 sum: <literal>&porg-md5;</literal></para>
    1617</sect1>
     18<sect1 id="patches">
     19  <title>Package Information</title>
     20        <para>Download: <ulink url="&porg-patch-url;"/></para>
     21        <para>MD5 sum: <literal>&porg-patch-md5;</literal></para>
     22</sect1>
     23
    1724
    1825<sect1 id="ch-tools-pkgmngt" role="wrap">
     
    2835  <sect2 role="installation">
    2936    <title>Instructions</title>
     37<screen><userinput remap="pre">patch -Np1 -i ../porg-0.10-renameat2-1.patch</userinput></screen>
    3038<screen><userinput remap="configure">./configure --prefix=/tools \
    3139           --disable-grop  \
     
    7078</sect1>
    7179
     80<sect1 id="ch-chroot-pkgmngt" role="wrap">
     81  <?dbhtml filename="porg.html"?>
     82
     83  <sect1info condition="script">
     84    <productname>porg</productname>
     85    <productnumber>&porg-version;</productnumber>
     86    <address>&porg-url;</address>
     87  </sect1info>
     88
     89  <title>Temporary Porg</title>
     90  <sect2 role="installation">
     91    <title>Instructions</title>
     92
     93<screen><userinput remap="pre">patch -Np1 -i ../porg-0.10-renameat2-1.patch</userinput></screen>
     94<screen><userinput remap="configure">./configure --prefix=/usr     \
     95            --disable-grop    \
     96            --sysconfdir=/etc \
     97            --with-porg-logdir=/var/lib/porg</userinput></screen>
     98
     99<screen><userinput remap="make">make</userinput></screen>
     100
     101<screen><userinput remap="install">make install
     102mkdir -p /usr/share/bash-completion/completions
     103mv /etc/bash_completion.d/porg* /usr/share/bash-completion/completions</userinput></screen>
     104
     105<screen><userinput>sed -e '/EXCLUDE/{s/^#//;s@$@:/sources:/home@}' \
     106    -e '/LOGDIR/s/^#//' \
     107    -i /etc/porgrc</userinput></screen>
     108  </sect2>
     109
     110</sect1>
     111
    72112<sect1 id="ch-system-pkgmngt" role="wrap">
    73113  <?dbhtml filename="porg.html"?>
     
    83123    <title>Instructions</title>
    84124
     125<screen><userinput remap="pre">patch -Np1 -i ../porg-0.10-renameat2-1.patch</userinput></screen>
    85126<screen><userinput remap="configure">./configure --prefix=/usr     \
    86127            --disable-grop    \
Note: See TracChangeset for help on using the changeset viewer.