v1.8.1, added signature check

This commit is contained in:
2017-04-18 06:39:18 +02:00
parent 5e6e164ca7
commit b85859bf34
3 changed files with 33 additions and 58 deletions

View File

@@ -1,24 +1,23 @@
# Generated by mksrcinfo v8
# Sun Oct 23 14:35:18 UTC 2016
pkgbase = eggdrop pkgbase = eggdrop
pkgdesc = The world's most popular Open Source IRC bot. pkgdesc = The world's most popular Open Source IRC bot.
pkgver = 1.6.21 pkgver = 1.8.1
pkgrel = 8 pkgrel = 1
url = http://www.eggheads.org/ url = http://www.eggheads.org/
arch = i686 arch = i686
arch = x86_64 arch = x86_64
license = GPL2 license = GPL2
depends = sh depends = sh
depends = tcl>=8.3 depends = tcl
depends = zlib
options = !makeflags
backup = etc/eggdrop.conf backup = etc/eggdrop.conf
source = http://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.21.tar.bz2 source = http://ftp.eggheads.org/pub/eggdrop/source/1.8/eggdrop-1.8.1.tar.gz
source = http://ftp.eggheads.org/pub/eggdrop/source/1.8/eggdrop-1.8.1.tar.gz.asc
source = dlopen.c source = dlopen.c
source = utf8.patch source = utf8.patch
sha256sums = 75bd5573a609eac3940c0b6ca8251c3f38ea5d54b520e1cad93c650b4bc21754 validpgpkeys = E01C240484DE7DBE190FE141E7667DE1D1A39AFF
sha256sums = d1758f84a69173a852e598fa55e69df0d73b8b62c6993b0ba04aa21d539213e6 sha512sums = cb3fafc52add6abb6376f4fb5a38a18a2a8b2be415d5658d0cc3dd3d61329e43dc0d65acc6c43f592ce444d7aeb7149329fb1e943bb6b84bacb4c3853df22b41
sha256sums = cdf0b1d59bbfa3f2c5937d96b57d55836af5ad36280351c6f1421d109ad693b3 sha512sums = SKIP
sha512sums = e1d254a6adae76198f7e20729aaff5d01a0947cb07faed560574886c1ce3794242204ec0c2f5905584240b243bf36103fffbb06f4154c022228c1b701a070e5c
sha512sums = 7966d4d42994e44a0e571b89f1c66cb41f672d75e6ced7051d1ece23d8c209059c3565b41de950bf9c907701ce7a5e33a215b637587075ed300a002a58eda503
pkgname = eggdrop pkgname = eggdrop

View File

@@ -1,24 +1,27 @@
# Maintainer: kreon <kreon@jnode.in> # Maintainer: Giovanni Harting <539@idlegandalf.com>
# Maintainer: Boohbah <boohbah at gmail.com> # Contributor: kreon <kreon@jnode.in>
# Contributor: Boohbah <boohbah at gmail.com>
# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us> # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
# Contributor: Mantas Mikulėnas <grawity at gmail.com> # Contributor: Mantas Mikulėnas <grawity at gmail.com>
pkgname=eggdrop pkgname=eggdrop
pkgver=1.6.21 pkgver=1.8.1
pkgrel=8 pkgrel=1
pkgdesc="The world's most popular Open Source IRC bot." pkgdesc="The world's most popular Open Source IRC bot."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.eggheads.org/" url="http://www.eggheads.org/"
license=('GPL2') license=('GPL2')
depends=('sh' 'tcl>=8.3' 'zlib') depends=('sh' 'tcl')
source=("http://ftp.eggheads.org/pub/$pkgname/source/1.6/$pkgname$pkgver.tar.bz2" source=("http://ftp.eggheads.org/pub/$pkgname/source/1.8/$pkgname-$pkgver.tar.gz"
"http://ftp.eggheads.org/pub/$pkgname/source/1.8/$pkgname-$pkgver.tar.gz.asc"
'dlopen.c' 'utf8.patch') 'dlopen.c' 'utf8.patch')
backup=("etc/$pkgname.conf") backup=("etc/$pkgname.conf")
options=('!makeflags') #options=('!makeflags')
sha256sums=('75bd5573a609eac3940c0b6ca8251c3f38ea5d54b520e1cad93c650b4bc21754' sha512sums=('cb3fafc52add6abb6376f4fb5a38a18a2a8b2be415d5658d0cc3dd3d61329e43dc0d65acc6c43f592ce444d7aeb7149329fb1e943bb6b84bacb4c3853df22b41'
'd1758f84a69173a852e598fa55e69df0d73b8b62c6993b0ba04aa21d539213e6' 'SKIP'
'cdf0b1d59bbfa3f2c5937d96b57d55836af5ad36280351c6f1421d109ad693b3') 'e1d254a6adae76198f7e20729aaff5d01a0947cb07faed560574886c1ce3794242204ec0c2f5905584240b243bf36103fffbb06f4154c022228c1b701a070e5c'
'7966d4d42994e44a0e571b89f1c66cb41f672d75e6ced7051d1ece23d8c209059c3565b41de950bf9c907701ce7a5e33a215b637587075ed300a002a58eda503')
validpgpkeys=('E01C240484DE7DBE190FE141E7667DE1D1A39AFF')
# Want multiple *unique* installations? Change the pkgname, it will just work. # Want multiple *unique* installations? Change the pkgname, it will just work.
_sharedir="/usr/share" _sharedir="/usr/share"
@@ -30,24 +33,21 @@ _mandir="$_sharedir/man/man1"
readonly -a _sharedir _modulesdir _scriptsdir _helpdir _bin _mandir readonly -a _sharedir _modulesdir _scriptsdir _helpdir _bin _mandir
build() { build() {
cd "$srcdir/$pkgname$pkgver" cd "$srcdir/$pkgname-$pkgver"
# UNCOMMENT IF YOU NEED UTF-8 SUPPORT
# patch -p1 < "$srcdir/utf8.patch" # UNCOMMENT IF YOU NEED UTF-8 SUPPORT
#patch -p1 < "$srcdir/utf8.patch"
# Don't complain about language files on startup. # Don't complain about language files on startup.
sed -i "s|\"./language\"|\"$_sharedir/$pkgname/language\"|g" src/eggdrop.h sed -i "s|\"./language\"|\"$_sharedir/$pkgname/language\"|g" src/eggdrop.h
CFLAGS="-std=gnu89" ./configure --with-tcllib='/usr/lib/libtcl8.6.so' \ ./configure
--with-tclinc='/usr/include/tcl.h'
make config make config
# Include LDFLAGS.
sed -i "s|-L/usr/lib|${LDFLAGS}|g" Makefile
make make
} }
check() { check() {
cd "$srcdir/$pkgname$pkgver" cd "$srcdir/$pkgname-$pkgver"
# If this fails, theres a rather good chance something is broken. # If this fails, theres a rather good chance something is broken.
@@ -68,8 +68,8 @@ package() {
# This is ugly.. # This is ugly..
cd "$srcdir/$pkgname$pkgver" cd "$srcdir/$pkgname-$pkgver"
make DEST="$eggtmp" install make install DEST="$eggtmp"
find "$eggtmp" -name 'CONTENTS' -exec rm {} + find "$eggtmp" -name 'CONTENTS' -exec rm {} +
@@ -81,7 +81,7 @@ package() {
mv "$eggtmp/eggdrop-$pkgver" "$pkgdir/$_bin" mv "$eggtmp/eggdrop-$pkgver" "$pkgdir/$_bin"
mv "$eggtmp/doc/man1/$pkgname.1" "$pkgdir/$_mandir/$pkgname.1" mv "$eggtmp/doc/man1/$pkgname.1" "$pkgdir/$_mandir/$pkgname.1"
rm -r "$eggtmp/doc/man1" rm -r "$eggtmp/doc/man1"
mv "$eggtmp/doc" "$pkgdir/$_sharedir/doc/$pkgname-$pkgver" mv "$eggtmp/doc" "$pkgdir/$_sharedir/doc/$pkgname"
for d in language scripts help text; do for d in language scripts help text; do
mv "$eggtmp/${d}" "$pkgdir/$_sharedir/$pkgname" mv "$eggtmp/${d}" "$pkgdir/$_sharedir/$pkgname"

View File

@@ -1,27 +1,3 @@
diff -Nura e2/src/eggdrop.h e1/src/eggdrop.h
--- e2/src/eggdrop.h 2011-07-09 19:07:48.000000000 +0400
+++ e1/src/eggdrop.h 2016-10-08 01:24:41.533290748 +0300
@@ -49,7 +49,7 @@
* You should leave this at 32 characters and modify nick-len in the
* configuration file instead.
*/
-#define HANDLEN 9 /* valid values 9->NICKMAX */
+#define HANDLEN 32 /* valid values 9->NICKMAX */
#define NICKMAX 32 /* valid values HANDLEN->32 */
diff -Nura e2/src/main.h e1/src/main.h
--- e2/src/main.h 2011-07-09 19:07:48.000000000 +0400
+++ e1/src/main.h 2016-10-08 01:25:20.746877377 +0300
@@ -44,7 +44,7 @@
#endif
#if (((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 1)) || (TCL_MAJOR_VERSION > 8))
-# define USE_TCL_BYTE_ARRAYS
+# undef USE_TCL_BYTE_ARRAYS
# define USE_TCL_ENCODING
#endif
diff -Nura e2/src/tcl.c e1/src/tcl.c diff -Nura e2/src/tcl.c e1/src/tcl.c
--- e2/src/tcl.c 2011-09-10 01:37:53.000000000 +0400 --- e2/src/tcl.c 2011-09-10 01:37:53.000000000 +0400
+++ e1/src/tcl.c 2016-10-08 01:25:00.830082096 +0300 +++ e1/src/tcl.c 2016-10-08 01:25:00.830082096 +0300