Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5352 - installwatch-0.6.3.ebuild
Summary: installwatch-0.6.3.ebuild
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Maik Schreiber
URL:
Whiteboard:
Keywords:
Depends on: 5354
Blocks:
  Show dependency tree
 
Reported: 2002-07-21 15:41 UTC by Paul Belt
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Belt 2002-07-21 15:41:28 UTC
# Author: gaarde at users dot sourceforge dot net

DESCRIPTION="Installwatch is a simple utility which keeps track of which files
are created and modified during the installation of a new program. It's fast and
easy to use. It doesn't require a 'pre-install' phase because it monitors
processes while they run. Installwatch works with every dynamically linked ELF
program, by intercepting system calls that cause file system alterations."
HOMEPAGE="http://asic-linux.com.mx/~izto/installwatch.html"
SRC_URI="http://asic-linux.com.mx/~izto/files/source/${P}.tgz"

S=${WORKDIR}/${P}

src_compile() {
   patch -p0 < ${FILESDIR}/gaarde.patch
   emake || die
}

src_install () {
   dolib installwatch.so
   sed -e "s|#PREFIX#|/usr|" < installwatch > installwatch
   dobin installwatch
   dodoc BUGS TODO VERSION COPYING CHANGELOG INSTALL README
}
Comment 1 Paul Belt 2002-07-21 15:42:08 UTC
gaarde.patch

--- BEGIN CUT ---

--- Makefile.orig       Sun Jul 21 16:03:15 2002
+++ Makefile    Sun Jul 21 16:03:20 2002
@@ -4,7 +4,7 @@
 # Well, the only configurable part is the following variable.
 # Make sure the directory you specify exists.
 
-PREFIX=/usr/local
+PREFIX=/usr
 
 # End of configurable part
--- END CUT ---
Comment 2 Paul Belt 2002-07-21 15:54:37 UTC
Missed something.  Apply this to the ebuild.

--- BEGIN CUT ---

14a15
>    ld -shared -o installwatch.so installwatch.o -ldl -lc

--- END CUT ---
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-18 18:18:27 UTC
What is wrong with whipping up an ebuild or whatever you want to track ? :o)

Btw, thanks for this link, used it to rewrite our sandbox a bit more sanely :)
Comment 4 Paul Belt 2002-08-19 18:14:38 UTC
I do write ebuilds... however, I think installwatch could prove to provide
food-for-thought.  Which, based on comment #3, it has.
Comment 5 Maik Schreiber 2003-01-08 14:30:50 UTC
I agree that it doesn't make much sense to add an installwatch ebuild to Gentoo.
The primary way to install packages in Gentoo is via Portage, which has its own
tracking mechanisms. If a user wants to use installwatch for whatever reason,
they can do their own ebuild and install it via PORTDIR_OVERLAY.