Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27278 - isakmpd-20030731.ebuild (new package)
Summary: isakmpd-20030731.ebuild (new package)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 27279
Blocks:
  Show dependency tree
 
Reported: 2003-08-25 02:45 UTC by Sébastien ESTIENNE
Modified: 2006-09-23 07:07 UTC (History)
2 users (show)

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


Attachments
isakmpd-20030731.ebuild (isakmpd-20030731.ebuild,1.26 KB, text/plain)
2003-08-25 02:47 UTC, Sébastien ESTIENNE
Details
a header file needed for the compilation (bitstring.h,4.22 KB, text/plain)
2003-08-25 02:48 UTC, Sébastien ESTIENNE
Details
/etc/conf.d/isakmpd (isakmpd.conf.d,266 bytes, text/plain)
2003-08-25 02:49 UTC, Sébastien ESTIENNE
Details
/etc/init.d/isakmpd (isakmpd.init.d,334 bytes, text/plain)
2003-08-25 02:49 UTC, Sébastien ESTIENNE
Details
changelog (ChangeLog,317 bytes, text/plain)
2003-08-25 02:55 UTC, Sébastien ESTIENNE
Details
isakmpd updated ebuild (isakmpd-20030731-r1.ebuild,1.35 KB, text/plain)
2003-08-26 03:10 UTC, Sébastien ESTIENNE
Details
isakmpd ebuild (isakmpd-20030903.ebuild,1.09 KB, text/plain)
2003-09-09 05:15 UTC, Sébastien ESTIENNE
Details
isakmpd using cvs.eclass (isakmpd-cvs-20030903.ebuild,1.25 KB, text/plain)
2003-09-09 05:24 UTC, Sébastien ESTIENNE
Details
updated isakmpd ebuild (isakmpd-20030909.ebuild,1.08 KB, text/plain)
2003-09-10 03:18 UTC, Sébastien ESTIENNE
Details
isakmpd-20031107.ebuild (isakmpd-20031107.ebuild,1.06 KB, text/plain)
2003-11-12 17:14 UTC, Sébastien ESTIENNE
Details
Patch for the Makefile build linux instead of openbsd (gentoo-1.patch,503 bytes, patch)
2003-11-12 17:16 UTC, Sébastien ESTIENNE
Details | Diff
Patch for compiling without openssl 0.9.7 (gentoo-2.patch,290 bytes, patch)
2003-11-12 17:17 UTC, Sébastien ESTIENNE
Details | Diff
Patch for compiling without openssl 0.9.7 (gentoo-2.patch,291 bytes, patch)
2003-11-12 17:26 UTC, Sébastien ESTIENNE
Details | Diff
isakmpd-20031207.ebuild (isakmpd-20031207.ebuild,1.06 KB, text/plain)
2003-12-13 11:23 UTC, Sébastien ESTIENNE
Details
isakmpd-20031207.ebuild : fixed missing dependencie : libgmp (isakmpd-20031207.ebuild,1.08 KB, text/plain)
2003-12-16 02:12 UTC, Sébastien ESTIENNE
Details
tarball with all file and ebuild 20031222 (isakmpd-ebuild.tar.gz,1.47 KB, application/octet-stream)
2003-12-23 02:18 UTC, Sébastien ESTIENNE
Details
snapshot of isakmpd cvs from 20031222 (isakmpd-20031222.tar.gz,359.30 KB, application/octet-stream)
2003-12-23 02:22 UTC, Sébastien ESTIENNE
Details
isakmpd-cvs-20031222.ebuild (using cvs eclass) (isakmpd-cvs-20031222.ebuild,1.23 KB, text/plain)
2003-12-23 02:23 UTC, Sébastien ESTIENNE
Details
isakmpd-20031222.ebuild (isakmpd-20031222.ebuild,1.06 KB, text/plain)
2003-12-23 02:26 UTC, Sébastien ESTIENNE
Details
snapshot of isakmpd cvs from 20031227 (isakmpd-20031227.tar.gz,358.89 KB, application/octet-stream)
2003-12-27 05:39 UTC, Sébastien ESTIENNE
Details
isakmpd-20031227.ebuild (isakmpd-20031227.ebuild,1.12 KB, text/plain)
2003-12-27 05:42 UTC, Sébastien ESTIENNE
Details
isakmpd-cvs-20031227.ebuild (using cvs eclass) (isakmpd-cvs-20031227.ebuild,1.20 KB, text/plain)
2003-12-27 05:43 UTC, Sébastien ESTIENNE
Details
tarball with all file and ebuild 20031227 (isakmpd-ebuild.tar.gz,1.07 KB, application/octet-stream)
2003-12-27 05:49 UTC, Sébastien ESTIENNE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien ESTIENNE 2003-08-25 02:45:41 UTC
Please find attached isakmpd-20030731.ebuild and a header file so that it will 
compile.

Isakmpd is the linux port of openbsd's isakmpd, it's usefull for the new ipsec 
implementation of linux 2.5.x and 2.6.x.

I suggest app-misc/isakmpd Also, this ebuild depend on keynote ebuild (just 
submited)

sebest



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sébastien ESTIENNE 2003-08-25 02:47:41 UTC
Created attachment 16572 [details]
isakmpd-20030731.ebuild

the isakmpd ebuild
Comment 2 Sébastien ESTIENNE 2003-08-25 02:48:37 UTC
Created attachment 16573 [details]
a header file needed for the compilation
Comment 3 Sébastien ESTIENNE 2003-08-25 02:49:19 UTC
Created attachment 16574 [details]
/etc/conf.d/isakmpd
Comment 4 Sébastien ESTIENNE 2003-08-25 02:49:39 UTC
Created attachment 16575 [details]
/etc/init.d/isakmpd
Comment 5 Sébastien ESTIENNE 2003-08-25 02:55:13 UTC
Created attachment 16578 [details]
changelog
Comment 6 Sébastien ESTIENNE 2003-08-26 03:10:09 UTC
Created attachment 16628 [details]
isakmpd updated ebuild
Comment 7 fbusse 2003-09-08 10:47:54 UTC
The additional dirs you create in /etc/isakmpd/ are not registered by portage since 
you use pkg_postinst. 
If you now unmerge isakmpd, those files won't be unmerged or be shown in cfgpro. 
BTW: For the current version of isakmpd, bistring.h seems to be obsolete, isakmpd 
works fine without it here. 
Comment 8 Sébastien ESTIENNE 2003-09-09 05:14:03 UTC
Thanx for the informations
Should i use dodir in the src_install function?

I corrected the ebuild about the bitstring file. 
the problem i have is that the tar.gz of isakmp has no version number in its name.

I also wrote an ebuild for the cvs of isakmp, i'll post it soon
Comment 9 Sébastien ESTIENNE 2003-09-09 05:15:48 UTC
Created attachment 17323 [details]
isakmpd ebuild
Comment 10 Sébastien ESTIENNE 2003-09-09 05:16:37 UTC
Comment on attachment 17323 [details]
isakmpd ebuild

fixed for new tar.gz
Comment 11 Sébastien ESTIENNE 2003-09-09 05:24:13 UTC
Created attachment 17324 [details]
isakmpd using cvs.eclass

this ebuild checkout the last version of isakmpd
Comment 12 Sébastien ESTIENNE 2003-09-10 03:18:04 UTC
Created attachment 17416 [details]
updated isakmpd ebuild
Comment 13 Sébastien ESTIENNE 2003-11-12 17:14:53 UTC
Created attachment 20662 [details]
isakmpd-20031107.ebuild
Comment 14 Sébastien ESTIENNE 2003-11-12 17:16:22 UTC
Created attachment 20663 [details, diff]
Patch for the Makefile build linux instead of openbsd
Comment 15 Sébastien ESTIENNE 2003-11-12 17:17:43 UTC
Created attachment 20664 [details, diff]
Patch for compiling without openssl 0.9.7
Comment 16 Sébastien ESTIENNE 2003-11-12 17:19:11 UTC
Comment on attachment 20664 [details, diff]
Patch for compiling without openssl 0.9.7

AES_BLOCK_SIZE is not define in openssl 0.9.6 so we define it
Comment 17 Sébastien ESTIENNE 2003-11-12 17:26:55 UTC
Created attachment 20666 [details, diff]
Patch for compiling without openssl 0.9.7

fixed a typo in the previous one
Comment 18 Sébastien ESTIENNE 2003-12-13 11:23:41 UTC
Created attachment 22143 [details]
isakmpd-20031207.ebuild
Comment 19 Nils Spengler 2003-12-15 18:46:29 UTC
i get the following error when trying to compile:

gmp_util.c:85: error: Syntaxfehler before "d"
gmp_util.c: In function `mpz_setraw':
gmp_util.c:91: Warnung: implicit declaration of function `mpz_set_si'
gmp_util.c:91: error: `d' undeclared (first use in this function)
gmp_util.c:96: error: `l' undeclared (first use in this function)
gmp_util.c:99: Warnung: implicit declaration of function `mpz_mul_ui'
gmp_util.c:100: Warnung: implicit declaration of function `mpz_add_ui'
gmp_util.c:100: error: `s' undeclared (first use in this function)
make: *** [gmp_util.o] Fehler 1
 
!!! ERROR: net-misc/isakmpd-20031207 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)

greets,
nils
Comment 20 Sébastien ESTIENNE 2003-12-16 02:10:25 UTC
i think i forgot a dependecie : libgmp, it's fixed in the new ebuild
thanx for testing.
Comment 21 Sébastien ESTIENNE 2003-12-16 02:12:05 UTC
Created attachment 22274 [details]
isakmpd-20031207.ebuild : fixed missing dependencie : libgmp
Comment 22 Tim Yamin (RETIRED) gentoo-dev 2003-12-16 10:09:53 UTC
Can you please attach a complete working non-CVS-based tarball of the ebuilds and files so that I can test and commit this into CVS? Thanks!
Comment 23 Sébastien ESTIENNE 2003-12-16 16:23:20 UTC
The author decided not to provide tar.gz of isakmpd anymore, only cvs
look at his homepage:
http://bender.thinknerd.de/~thomas/IPsec/isakmpd-linux.html

What should we do?

i'll try to contact him.
Comment 24 Tim Yamin (RETIRED) gentoo-dev 2003-12-17 15:20:13 UTC
Take a snapshot and test it well, is usually the solution.
Comment 25 Sébastien ESTIENNE 2003-12-23 02:18:46 UTC
Created attachment 22569 [details]
tarball with all file and ebuild 20031222
Comment 26 Sébastien ESTIENNE 2003-12-23 02:22:20 UTC
Created attachment 22570 [details]
snapshot of isakmpd cvs from 20031222

you must use the ebuild contain in attachment 22569 [details]
Comment 27 Sébastien ESTIENNE 2003-12-23 02:23:19 UTC
Created attachment 22571 [details]
isakmpd-cvs-20031222.ebuild (using cvs eclass)
Comment 28 Sébastien ESTIENNE 2003-12-23 02:26:50 UTC
Created attachment 22572 [details]
isakmpd-20031222.ebuild
Comment 29 Sébastien ESTIENNE 2003-12-27 05:39:41 UTC
Created attachment 22702 [details]
snapshot of isakmpd cvs from 20031227
Comment 30 Sébastien ESTIENNE 2003-12-27 05:42:55 UTC
Created attachment 22703 [details]
isakmpd-20031227.ebuild

the last cvs fixed the AES bug so patch 20666 is no more needed
i modifyed the ebuild to use a "sed" instead of a patch (20663)
Comment 31 Sébastien ESTIENNE 2003-12-27 05:43:27 UTC
Created attachment 22704 [details]
isakmpd-cvs-20031227.ebuild (using cvs eclass)
Comment 32 Sébastien ESTIENNE 2003-12-27 05:49:07 UTC
Created attachment 22705 [details]
tarball with all file and ebuild 20031227
Comment 33 Mark Renouf 2004-05-09 08:37:14 UTC
Just a note... The ebuild in attachment #22704 [details] is missing the GNUmakefile change.

src_compile should look like the following:

src_compile() {
        sed 's/^\(OS=\t\topenbsd\)/#\1/' GNUmakefile > GNUmakefile.tmp
        mv GNUmakefile.tmp GNUmakefile
        sed 's/^#\(OS=\t\tlinux\)/\1/' GNUmakefile > GNUmakefile.tmp
        mv GNUmakefile.tmp GNUmakefile
        emake || die
}

Built successfully, now to test...
Comment 34 Sébastien ESTIENNE 2004-05-09 11:33:24 UTC
The GNUmakefile is not missing, it is implemented as a patch:
"epatch ${FILESDIR}/gentoo-1.patch"
look in the "tarball with all file and ebuild 20031227"
Comment 35 Tim Gramling 2004-11-26 04:55:55 UTC
When i trying to compile it breaks. 


arc4random.c: In Funktion 
Comment 36 Tim Gramling 2004-11-26 04:55:55 UTC
When i trying to compile it breaks. 


arc4random.c: In Funktion »arc4_stir«:
arc4random.c:104: error: `i' undeclared (first use in this function)
arc4random.c:104: error: (Each undeclared identifier is reported only once
arc4random.c:104: error: for each function it appears in.)
make[1]: *** [arc4random.o] Fehler 1
make: *** [/var/tmp/portage/isakmpd-20031227/work/isakmpd/sysdep/common/libsysdep/libsysdep.a] Fehler 2


It seems there is an bug in the cvs sources. I adding an "int i;" to
/usr/portage/distfiles/cvs-src/isakmpd/sysdep/common/libsysdep/arc4random.c
before line 104 after fetching the files from cvs and now it works.
Comment 37 Jakub Moc (RETIRED) gentoo-dev 2006-09-23 07:07:25 UTC
This has non-existant upstream, dead project.

Closing WONTFIX.