[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

success compiling aide-0.10 (newby)



It took me a while but I found the answer without having to bother anybody.  So I'm posting the solution to save others trouble. 

Aide requires Bison and libmhash.  You may want to use mhash-0.8.17, rather than mhash-0.8.18 due to compilation errors some have experienced.

I found Dave Lebel's updates to patch aide to 0.10, which is very appealing.  0.7 is very old.  It's at http://www.openbsd.org/cgi-bin/cvsweb/ports/security/aide/

Here's what I did:
rm /usr/ports/security/aide/patches/*
copied the following files to /usr/ports/security/aide/patches:
                                             patch-config_h_in
-rw-r--r--  1 root  wheel   432 Mar 15 13:59 patch-configure
-rw-r--r--  1 root  wheel   532 Mar 15 13:59 patch-doc_aide_1
-rw-r--r--  1 root  wheel  2355 Mar 15 13:59 patch-doc_aide_conf_in
-rw-r--r--  1 root  wheel   824 Mar 15 13:59 patch-src_util_c

copied Makefile and distinfo to /usr/ports/security/aide
copied aide-0.10.tar.gz to /usr/ports/distfiles
ran Make

I got this:

bash-2.05b# make
===>  Checking files for aide-0.10
`/usr/ports/distfiles/aide-0.10.tar.gz' is up to date.
>> Checksum OK for aide-0.10.tar.gz. (sha1)
===>  Extracting for aide-0.10
===>  Patching for aide-0.10
1 out of 1 hunks failed--saving rejects to include/db_config.h.rej
***>   patch-include_db_config_h did not apply cleanly
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to src/Makefile.in.rej
***>   patch-src_Makefile.in did not apply cleanly
*** Error code 1

Stop in /usr/ports/security/aide (line 1484 of /usr/ports/infrastructure/mk/bsd.port.mk)

The two patches that did not apply cleanly were leftovers - they predated the current patch.  

Cleared out all patches and make completed! Make install completed.


_____________________________________________________________
Are you a Techie? Get Your Free Tech Email Address Now! Visit http://www.TechEmail.com



Visit your host, monkey.org