>В общем делаю:
>tar -zxvf popa3d-0.4.tar.gz
>cd popa3d-0.4
>копирую 2 файла и патчу
>patch <popa3d-0.4-apop.patch-1
>patch <popa3d-0.4.apop-1.diff
>make PREFIX=/usr/local
>
>и вот такое выводится:
>
>gcc -s -lcrypt md5/md5.o standalone.o
> pop_root.o pop_auth.o pop_trans.o
>proto
>col.o database.o mailbox.o misc.o -o
>popa3d -L/usr/local/lib -lgdbm -lmd
>pop_root.o: In function `do_apop_auth':
>pop_root.o(.text+0x1ed): undefined reference to `MD5_Init'
>pop_root.o(.text+0x215): undefined reference to `MD5_Update'
>pop_root.o(.text+0x23a): undefined reference to `MD5_Update'
>pop_root.o(.text+0x244): undefined reference to `MD5_Final'
>*** Error code 1
>
>Stop in /usr/tmp/popa3d-0.4.
>
>
>С cucipop ошибки вроде такие же
>выводились...
>Знатоки, подмогните начинающему ;-)
к чему такой геморрой?
если нужен 0.4 то
cd /usr/ports/mail/popa3d
make
make install
если более свежий
cd /usr/ports/mail
mv popa3d popa3d.old
wget -Y off -t 0 -r -c --cut-dirs=6 -nH ftp://ftp.FreeBSD.org/pub/FreeBSD/branches/-current/ports/mail/popa3d/
cd popa3d
cat distinfo
MD5 (popa3d-0.5.tar.gz) = ffe1644da7ffd0e66bf7e1c671f729aa
make
или make SMTP_AFTER_POP3=yes
make install
если нужен PAM, поправить patch-ab, вместо
+LIBS += -lcrypt
+LIBS += -lcrypt -lpam
или сделать свой дополнительный
cucipop:
[alone]/usr/ports/mail/cucipop > make
>> cucipop-1.31.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from ftp://dbserv.jinr.ru/pub/FreeBSD/ports/distfiles/.
fetch: cucipop-1.31.tar.gz: Not logged in
>> Attempting to fetch from ftp://ftp.informatik.rwth-aachen.de/pub/packages/cucipop/.
Receiving cucipop-1.31.tar.gz (35508 bytes): 100%
35508 bytes transferred in 1.0 seconds (33.89 kBps)
>> cucipop-1.31-v6-20010223.diff.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from ftp://dbserv.jinr.ru/pub/FreeBSD/ports/distfiles/.
fetch: cucipop-1.31-v6-20010223.diff.gz: Not logged in
>> Attempting to fetch from ftp://ftp.kame.net/pub/kame/misc/.
fetch: cucipop-1.31-v6-20010223.diff.gz: Operation timed out
>> Attempting to fetch from ftp://ftp.pasta.cs.uit.no/pub/IPv6/misc/.
Receiving cucipop-1.31-v6-20010223.diff.gz (1713 bytes): 100%
1713 bytes transferred in 0.0 seconds (64.59 kBps)
===> Extracting for cucipop-1.31_2
>> Checksum OK for cucipop-1.31.tar.gz.
>> Checksum OK for cucipop-1.31-v6-20010223.diff.gz.
===> Patching for cucipop-1.31_2
===> Applying distribution patches for cucipop-1.31_2
===> Applying FreeBSD patches for cucipop-1.31_2
===> Configuring for cucipop-1.31_2
===> Building for cucipop-1.31_2
cc -O -pipe -c cucipop.c
cc -O -pipe -c authenticate.c
cc -O -pipe -c atotime.c
cc -O -pipe -c locking.c
cc -O -pipe -c xcreat.c
cc -O -pipe -c dbops.c
cc -O -pipe -c hsort.c
cc -O -pipe -c simplecrypt.c
cc -O -pipe cucipop.o authenticate.o atotime.o locking.o xcreat.o dbops.o hsort.o simplecrypt.o -o cucipop -lcrypt
[alone]/usr/ports/mail/cucipop >
тоже без проблем собирается, для APOP - исправить
config.h и добавить в Makefile: -lmd