When emerging portsentry it tries to do some modifications on 3 config files before compile, but these fail and the files are left empty and thus portsentry doesn't compile.
can you paste the error?
Here it is, its because the portsentry_config.h file is empty. cc -march=i686 -O3 -pipe -DLINUX -DSUPPORT_STEALTH -o ./portsentry ./portsentry.c \ ./portsentry_io.c ./portsentry_util.c ./portsentry.c:34: `MAXSTATE' undeclared here (not in a function) ./portsentry.c: In function `CheckStateEngine': ./portsentry.c:1629: `MAXSTATE' undeclared (first use in this function) ./portsentry.c:1629: (Each undeclared identifier is reported only once ./portsentry.c:1629: for each function it appears in.) ./portsentry_io.c: In function `Log': ./portsentry_io.c:46: `SYSLOG_FACILITY' undeclared (first use in this function) ./portsentry_io.c:46: (Each undeclared identifier is reported only once ./portsentry_io.c:46: for each function it appears in.) ./portsentry_io.c:47: `SYSLOG_LEVEL' undeclared (first use in this function) ./portsentry_io.c: In function `CheckConfig': ./portsentry_io.c:226: `CONFIG_FILE' undeclared (first use in this function) ./portsentry_io.c: In function `ConfigTokenRetrieve': ./portsentry_io.c:310: `CONFIG_FILE' undeclared (first use in this function) ./portsentry_io.c: In function `KillHostsDeny': ./portsentry_io.c:642: `WRAPPER_HOSTS_DENY' undeclared (first use in this function) make: *** [linux] Error 1
I'm not sure why portsentry_config.h would be empty. I've been unable to produce a situation that would cause that file to be empty upon 'unpack'. However, there is something else: Supersed is listed as a dependancy, but it never gets put to use within the ebuild because of a typo. In src_unpack() there are three 'sed' lines which should be 'ssed'. Otherwise, portsentry_config.h, portsentry.conf, and ignore.csh will not get patched properly. Ironicly, you can fix the ebuilds seds with supersed: ssed -i "s:sed:ssed:" portsentry-1,1-r6.ebuild
Chip, as it was you baby initially (i think), wanna have a peek ?
nope not mine at all. dont think i ever even touched it. still want me to look? id rather not, getting lots of bugs lately... no rewards for woodchip making woodchip less interested lately...
lol :P Nah, just thought you did this .. could have mixed it up with snort.
Andreas: Doesn't -r7 work either? This looks like an old and fixed bug, so I'm closing it. Reopen if it's still b0rked.
Joachim: It works fine, this was fixed a long time ago.