Porg (formerly known as paco), is a program to aid management of software packages installed from source code.
Go to file
davidrr b23244ccfd Added break statement on switch, to fix compilation errors
git-svn-id: https://svn.code.sf.net/p/porg/code/trunk@189 8854956c-c02d-4db9-8198-7e99b8e08f37
2017-08-31 07:46:33 +00:00
doc Undone change in r184 2017-01-17 15:26:19 +00:00
grop Undone change in r184 2017-01-17 15:26:19 +00:00
lib Undone change in r184 2017-01-17 15:26:19 +00:00
porg Added break statement on switch, to fix compilation errors 2017-08-31 07:46:33 +00:00
scripts Undone change in r184 2017-01-17 15:26:19 +00:00
AUTHORS Undone change in r184 2017-01-17 15:26:19 +00:00
COPYING Created trunk branch 2015-04-09 10:12:41 +00:00
ChangeLog Added flag '-Wno-nonnull-compare' to gcc as well 2017-08-30 18:33:29 +00:00
INSTALL Created trunk branch 2015-04-09 10:12:41 +00:00
Makefile.am Undone change in r184 2017-01-17 15:26:19 +00:00
README Release of 0.10 2016-05-17 19:57:23 +00:00
config-bot.h.in Created trunk branch 2015-04-09 10:12:41 +00:00
configure.ac Added flag '-Wno-nonnull-compare' to gcc as well 2017-08-30 18:33:29 +00:00

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[p*org]


* What's porg? *

Porg (formerly known as paco), is a program to aid management of software
packages installed from source code.

After the installation of such packages, one is usually left with having no
idea of what it was installed and where it all went, making it difficult to
uninstall the package in the future. Porg was written to solve this problem in
a quite simple fashion.

When installing a package from sources, porg wraps the install command (e.g.
"make install"), and saves installation information into a text database.

The following sequence of commands exemplify a typical installation of a
package named foo-1.3:

    $ tar xvf foo-1.3.tar.gz
    $ cd foo-1.3
    $ ./configure
    $ make
    $ sudo porg -lp foo-1.3 "make install"

After the above commands, and provided that everything went fine, the program
foo-1.3 will be installed into the system, and registered into the porg
database. One can check it by simply typing the following command, which would
list the files installed by the package:

    $ porg -f foo-1.3

Porg also provides options for listing packages, sizes, file counts, removing
packages or printing package information.


* Changes from the last version of paco *

    * Disabled the options for removing shared files when uninstalling a
      package, both in porg and grop. Now shared files are never removed, as it
      ougth to be.
    * Disabled listing of shared files.
    * Simplification of the GUI.
    * Simplification of the package database. No need to update it anymore.
    * Major code enhancements and cleanup.
    * Additionally, all changes documented in the Changelog.

Paco users can import old paco logs into the porg database with the script
paco2porg included in the porg distribution.


* Technichal details *

To keep track of the files installed by the packages, porg loads a shared
library before installation by using the environment variable LD_PRELOAD (or
DYLD_INSERT_LIBRARIES in MacOS). During the installation, this library catches
the system calls that cause filesystem alterations (like open, link, rename,
...), and logs the created files into a text file.

Since the preloaded library is used only by the specific installation process,
the created logs are not contaminated with files created by any other process.
Thus porg can be used to track parallel installations.

Please note that porg does not work on systems in which the executables
involved in the installation of the packages (mv, cp, install...) are
statically linked against libc, like FreeBSD and OpenBSD.


* Grop *

Grop is the graphic interface of porg. It uses and depends on the GTKMM library
(version 3.4.0 or later). It's not meant to be a replacement of porg, since it
lacks some important features like logging package installations, but it allows
for manipulating the installed packages in a more comfortable way.

Grop is installed by default, unless option "--disable-grop" is pased to
configure.


* Auxiliary scripts *

The porg distribution provides the following auxiliary scripts:

    * paco2porg

      A shell script that imports paco logs into the porg database.

    * porgball

      A shell script that creates binary tarballs (or "porgballs") from
      packages that are logged in the porg database. It can be used also to
      reinstall packages by extracting the files from previously created
      porgballs.

    * porg_bash_completion

      This file, written by Christian Schneider, provides bash completion
      support for porg, in systems that have programmable bash completion
      enabled.


* License *

Copyright © 2016 David Ricart.
Porg is protected by the GNU General Public License.
Look at the COPYING file for more details.


* Authors *

The creator and maintainer of porg is David Ricart <icnelis@*> (where *
= gmail.com).

I'd like to thank all the males that have contributed to the development of
porg. A complete list of them can be found in the AUTHORS file.


===============================================================================