summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2008-01-30 23:06:24 +0000
committerThilo Bangert <bangert@gentoo.org>2008-01-30 23:06:24 +0000
commitad54858bec988276ebbcbcb3dd401a158a992be8 (patch)
tree43c2775660d570ba16e4a794f828b12db7b36a5c /app-admin
parent Marking twinkle-1.1 ~ppc64 (diff)
downloadgentoo-2-ad54858bec988276ebbcbcb3dd401a158a992be8.tar.gz
gentoo-2-ad54858bec988276ebbcbcb3dd401a158a992be8.tar.bz2
gentoo-2-ad54858bec988276ebbcbcb3dd401a158a992be8.zip
initial portage proper release - from the bangert overlay - credits for the original ebuild go to dragonheart
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/srlog2/ChangeLog19
-rw-r--r--app-admin/srlog2/Manifest20
-rw-r--r--app-admin/srlog2/files/digest-srlog2-0.803
-rw-r--r--app-admin/srlog2/files/srlog2-0.80-fix-execstacks-curve25519.patch77
-rw-r--r--app-admin/srlog2/metadata.xml11
-rw-r--r--app-admin/srlog2/srlog2-0.80.ebuild54
6 files changed, 184 insertions, 0 deletions
diff --git a/app-admin/srlog2/ChangeLog b/app-admin/srlog2/ChangeLog
new file mode 100644
index 000000000000..dee8d1dcf953
--- /dev/null
+++ b/app-admin/srlog2/ChangeLog
@@ -0,0 +1,19 @@
+# ChangeLog for app-admin/srlog2
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/srlog2/ChangeLog,v 1.1 2008/01/30 23:06:23 bangert Exp $
+
+*srlog2-0.80 (30 Jan 2008)
+
+ 30 Jan 2008; Thilo Bangert <bangert@gentoo.org>
+ +files/srlog2-0.80-fix-execstacks-curve25519.patch, +metadata.xml,
+ +srlog2-0.80.ebuild:
+ initial portage proper release - from the bangert overlay - credits for the
+ original ebuild go to dragonheart
+
+ 26 Jan 2008; Thilo Bangert <bangert@gentoo.org> ChangeLog:
+ switch to dragonhearts version from bug #164763, version bump,
+ fix TEXTRELs
+
+ 10 Jun 2007; Thilo Bangert <bangert@gentoo.org> ChangeLog:
+ initial import: a secure remote log transmission system
+
diff --git a/app-admin/srlog2/Manifest b/app-admin/srlog2/Manifest
new file mode 100644
index 000000000000..1464ec03e224
--- /dev/null
+++ b/app-admin/srlog2/Manifest
@@ -0,0 +1,20 @@
+AUX srlog2-0.80-fix-execstacks-curve25519.patch 2676 RMD160 1b898e42f894d091eb21d6e369aca7c8dcb26a0a SHA1 0d2a60bee582310cafa3ebb83f76bee716a51a60 SHA256 21408dab4b278df8b158fc9f92966983aa186224c7954a08b72b90ac9a0d9799
+MD5 6d44f299ab3fdb904bffafd5266bdd31 files/srlog2-0.80-fix-execstacks-curve25519.patch 2676
+RMD160 1b898e42f894d091eb21d6e369aca7c8dcb26a0a files/srlog2-0.80-fix-execstacks-curve25519.patch 2676
+SHA256 21408dab4b278df8b158fc9f92966983aa186224c7954a08b72b90ac9a0d9799 files/srlog2-0.80-fix-execstacks-curve25519.patch 2676
+DIST srlog2-0.80.tar.gz 93231 RMD160 b1096988324453abe0b222071b37b6597738cec3 SHA1 6b7ad78156d1eccfa08fd79c530a8b1e556aa13f SHA256 0445950b8a3366ef9c585c1b26dd727b215dd0d85f4d939ddc230796b7fa24ac
+EBUILD srlog2-0.80.ebuild 1618 RMD160 11f7e00558211e379b2476c9dbc9d548de2ac723 SHA1 296b893fe4ecc18cc6de8ad5b1b380238db2c3f5 SHA256 fe6bfe3acfc17fe63fc5bac64499d66a8fa4e8de53be44facf6fd6c4157121df
+MD5 60ed7c7dbc0897cb5299cd18cfd0d590 srlog2-0.80.ebuild 1618
+RMD160 11f7e00558211e379b2476c9dbc9d548de2ac723 srlog2-0.80.ebuild 1618
+SHA256 fe6bfe3acfc17fe63fc5bac64499d66a8fa4e8de53be44facf6fd6c4157121df srlog2-0.80.ebuild 1618
+MISC ChangeLog 664 RMD160 bfc8346990d7adda8d3b0a5c1e8a3d8ea2d91dee SHA1 ce26c38a2d21de6f4ff4d6fe8cdc57c0f240ed00 SHA256 0d752316ff36bb914c02da9a492828512f76a86657b6baadec3534ff8f3dd210
+MD5 716693c0b11e771cf94c67d17bd57be6 ChangeLog 664
+RMD160 bfc8346990d7adda8d3b0a5c1e8a3d8ea2d91dee ChangeLog 664
+SHA256 0d752316ff36bb914c02da9a492828512f76a86657b6baadec3534ff8f3dd210 ChangeLog 664
+MISC metadata.xml 311 RMD160 d077c7679097a5502cbaa09a17be3e05abd05a6a SHA1 d653a94fc92c600a617145c9c099ca579c1f64b4 SHA256 0dc503d13bcb3961bb0f5b5b5b4dc4618fd564001b1b3a17d46e373a4033df5d
+MD5 f8474e8d9c721351114ab56ebe42a416 metadata.xml 311
+RMD160 d077c7679097a5502cbaa09a17be3e05abd05a6a metadata.xml 311
+SHA256 0dc503d13bcb3961bb0f5b5b5b4dc4618fd564001b1b3a17d46e373a4033df5d metadata.xml 311
+MD5 124b8b79d839d21ad6e1c284140488d4 files/digest-srlog2-0.80 232
+RMD160 d4fb42efdc881e1d428412bf3228bb872babdedb files/digest-srlog2-0.80 232
+SHA256 b8491c802f0caa2da297905c1b153608013eec3b527e30ff9c392c004406b60a files/digest-srlog2-0.80 232
diff --git a/app-admin/srlog2/files/digest-srlog2-0.80 b/app-admin/srlog2/files/digest-srlog2-0.80
new file mode 100644
index 000000000000..dde91e2267c0
--- /dev/null
+++ b/app-admin/srlog2/files/digest-srlog2-0.80
@@ -0,0 +1,3 @@
+MD5 3aa3157a0c44fe94910acf7c72b25266 srlog2-0.80.tar.gz 93231
+RMD160 b1096988324453abe0b222071b37b6597738cec3 srlog2-0.80.tar.gz 93231
+SHA256 0445950b8a3366ef9c585c1b26dd727b215dd0d85f4d939ddc230796b7fa24ac srlog2-0.80.tar.gz 93231
diff --git a/app-admin/srlog2/files/srlog2-0.80-fix-execstacks-curve25519.patch b/app-admin/srlog2/files/srlog2-0.80-fix-execstacks-curve25519.patch
new file mode 100644
index 000000000000..93908621df12
--- /dev/null
+++ b/app-admin/srlog2/files/srlog2-0.80-fix-execstacks-curve25519.patch
@@ -0,0 +1,77 @@
+Index: curve25519/curve25519_athlon_square.s
+===================================================================
+--- curve25519/curve25519_athlon_square.s (revision 182)
++++ curve25519/curve25519_athlon_square.s (working copy)
+@@ -296,3 +296,6 @@
+ fstpl 72(%ecx)
+ add %eax,%esp
+ ret
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
+Index: curve25519/curve25519_athlon_init.s
+===================================================================
+--- curve25519/curve25519_athlon_init.s (revision 182)
++++ curve25519/curve25519_athlon_init.s (working copy)
+@@ -11,3 +11,6 @@
+ fldcw curve25519_athlon_rounding
+ add %eax,%esp
+ ret
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
+Index: curve25519/curve25519_athlon_todouble.s
+===================================================================
+--- curve25519/curve25519_athlon_todouble.s (revision 182)
++++ curve25519/curve25519_athlon_todouble.s (working copy)
+@@ -142,3 +142,6 @@
+ fstpl 72(%ecx)
+ add %eax,%esp
+ ret
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
+Index: curve25519/curve25519_athlon_mainloop.s
+===================================================================
+--- curve25519/curve25519_athlon_mainloop.s (revision 182)
++++ curve25519/curve25519_athlon_mainloop.s (working copy)
+@@ -3988,3 +3988,6 @@
+ movl 176(%ecx),%ebp
+ add %eax,%esp
+ ret
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
+Index: curve25519/curve25519_athlon_mult.s
+===================================================================
+--- curve25519/curve25519_athlon_mult.s (revision 182)
++++ curve25519/curve25519_athlon_mult.s (working copy)
+@@ -408,3 +408,6 @@
+ movl 0(%esp),%ebp
+ add %eax,%esp
+ ret
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
+Index: curve25519/curve25519_athlon_const.s
+===================================================================
+--- curve25519/curve25519_athlon_const.s (revision 182)
++++ curve25519/curve25519_athlon_const.s (working copy)
+@@ -112,3 +112,6 @@
+ curve25519_athlon_rounding:
+ .byte 0x7f
+ .byte 0x13
++#if defined(__linux__) && defined(__ELF__)
++ .section .note.GNU-stack,"",%progbits
++#endif
+Index: curve25519/curve25519_athlon_fromdouble.s
+===================================================================
+--- curve25519/curve25519_athlon_fromdouble.s (revision 182)
++++ curve25519/curve25519_athlon_fromdouble.s (working copy)
+@@ -193,3 +193,6 @@
+ movl 0(%esp),%ebp
+ add %eax,%esp
+ ret
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
diff --git a/app-admin/srlog2/metadata.xml b/app-admin/srlog2/metadata.xml
new file mode 100644
index 000000000000..605163e6954d
--- /dev/null
+++ b/app-admin/srlog2/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>bangert@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+A secure remote log transmission system.
+</longdescription>
+</pkgmetadata>
diff --git a/app-admin/srlog2/srlog2-0.80.ebuild b/app-admin/srlog2/srlog2-0.80.ebuild
new file mode 100644
index 000000000000..1674c854f37b
--- /dev/null
+++ b/app-admin/srlog2/srlog2-0.80.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/srlog2/srlog2-0.80.ebuild,v 1.1 2008/01/30 23:06:23 bangert Exp $
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Secure Remote Log transmission system"
+HOMEPAGE="http://untroubled.org/srlog2/"
+SRC_URI="http://untroubled.org/srlog2/archive/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=dev-libs/bglibs-1.041
+ app-crypt/nistp224
+ >=dev-libs/libtomcrypt-1.03"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ append-ldflags $(bindnow-flags)
+ echo -n "$(tc-getCC) ${CFLAGS}" > conf-cc
+ echo -n "$(tc-getCC) ${LDFLAGS}" > conf-ld
+ echo -n "/usr/include/bglibs" > conf-bgincs
+ echo -n "/usr/lib/bglibs" > conf-bglibs
+ echo -n /usr/bin > conf-bin
+ echo -n /usr/share/man > conf-man
+
+ epatch "${FILESDIR}"/srlog2-0.80-fix-execstacks-curve25519.patch
+ # Deliberatly don't fix curve25519 as its full of PIC unfriendly asm code
+ # uncomment and follow
+ # http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml (Thunk it in
+ # assembly) to fix curve25519/*.s
+
+ sed -i -e 's/x86cpuid /x86cpuid -fno-pie /' curve25519/curve25519.impl.do
+ sed -i -e 's/) >/) -fPIC >/g' curve25519/Makefile
+ #If this isn't fixed it just includes th eapp-crypt/nistp224 support only
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake install_prefix="${D}" install || die "emake install failed"
+ dodoc ANNOUNCEMENT NEWS README *.html
+}
+
+pkg_postinst() {
+ # even with the pic code fixed this only works on 32 bit cpus
+ #elog 'curve25519 only works on 32-bit x86 systems at the moment'
+ elog 'curve25519 support currenly broken'
+}