mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
seeks, remove old bep file, bump version (#1322)
This commit is contained in:
committed by
waddlesplash
parent
7278a5d3c3
commit
a20b67b147
@@ -1,28 +0,0 @@
|
||||
DESCRIPTION="
|
||||
An Open Decentralized Platform for Collaborative Search, Filtering and content \
|
||||
Curation.
|
||||
"
|
||||
HOMEPAGE="http://www.seeks-project.info/"
|
||||
SOURCE_URI="git://seeks.git.sourceforge.net/gitroot/seeks/seeks"
|
||||
REVISION="1"
|
||||
#CHECKSUM_MD5=""
|
||||
STATUS_HAIKU="untested"
|
||||
#MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
||||
# pkgconfig is only a build dependency
|
||||
DEPEND="pkgconfig >= 0.25"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd seeks-0.x-git
|
||||
./autogen.sh
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd seeks-0.x-git
|
||||
make install
|
||||
}
|
||||
LICENSE="GNU AGPL v3"
|
||||
COPYRIGHT="2006, 2009, 2010 Emmanuel Benazera, Camille Harang, Mehdi Abaakouk, Pablo Joubert, Laurent Peuch"
|
||||
76
www-aps/seeks/patches/seeks-0.4.1.patchset
Normal file
76
www-aps/seeks/patches/seeks-0.4.1.patchset
Normal file
@@ -0,0 +1,76 @@
|
||||
From fe7d5dc24cc4e51ed0fe6d4287b5542370642dfb Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sat, 6 May 2017 13:31:06 +0200
|
||||
Subject: fix Haiku build, timegm could use some looking into
|
||||
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 8773901..e952976 100755
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -47,6 +47,9 @@ AC_SEARCH_LIBS(accept, socket network)
|
||||
AC_SEARCH_LIBS(gethostbyname, nsl network)
|
||||
LT_LIB_DLLOAD
|
||||
|
||||
+# Check for Haiku libnetwork
|
||||
+AC_CHECK_LIB([network], [socket])
|
||||
+
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
||||
@@ -167,6 +170,16 @@ case "$host" in
|
||||
esac
|
||||
|
||||
#=================================================================
|
||||
+# Haiku specific
|
||||
+#=================================================================
|
||||
+case "$host" in
|
||||
+*-haiku*) SPECIAL_CFLAGS="-Dunix";
|
||||
+ AM_CONDITIONAL(HAVE_BSD,true)
|
||||
+ AC_DEFINE(ON_HAIKU,1,"Haiku")
|
||||
+;;
|
||||
+esac
|
||||
+
|
||||
+#=================================================================
|
||||
# OpenBSD specific
|
||||
#=================================================================
|
||||
case "$host" in
|
||||
diff --git a/src/proxy/parsers.cpp b/src/proxy/parsers.cpp
|
||||
index 05545f3..5816c3b 100644
|
||||
--- a/src/proxy/parsers.cpp
|
||||
+++ b/src/proxy/parsers.cpp
|
||||
@@ -3874,7 +3874,7 @@ namespace sp
|
||||
return SP_ERR_PARSE;
|
||||
}
|
||||
|
||||
- *result = timegm(&gmt);
|
||||
+ *result = mktime(&gmt);
|
||||
|
||||
return SP_ERR_OK;
|
||||
}
|
||||
--
|
||||
2.7.0
|
||||
|
||||
|
||||
From 60a1a9460acc45fc14e5ff859c59cdfa00b8935d Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sat, 6 May 2017 16:51:42 +0200
|
||||
Subject: fix subdir-objects for automake
|
||||
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index e952976..49e3d6b 100755
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
AC_INIT(Seeks, 0.4.1, ebenazer@seeks-project.info)
|
||||
AC_CONFIG_SRCDIR(Makefile.am)
|
||||
-AM_INIT_AUTOMAKE
|
||||
+AM_INIT_AUTOMAKE([subdir-objects])
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
--
|
||||
2.7.0
|
||||
|
||||
117
www-aps/seeks/seeks-0.4.1.recipe
Normal file
117
www-aps/seeks/seeks-0.4.1.recipe
Normal file
@@ -0,0 +1,117 @@
|
||||
SUMMARY="A websearch proxy and collaborative distributed tool "
|
||||
DESCRIPTION="An Open Decentralized Platform for Collaborative Search, \
|
||||
Filtering and content Curation."
|
||||
HOMEPAGE="http://www.seeks-project.info/"
|
||||
COPYRIGHT="2006, 2009, 2010 Emmanuel Benazera
|
||||
Camille Harang
|
||||
Mehdi Abaakouk
|
||||
Pablo Joubert
|
||||
Laurent Peuch
|
||||
Stéphane Bonhomme
|
||||
Francois Revol"
|
||||
LICENSE="GNU AGPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://sf.net/projects/seeks/files/hippy/seeks-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b890f2e95ab0161e0be6f82cfc224f9cf6e49ce69d18bf3decddb91fb85cebde"
|
||||
PATCHES="seeks-$portVersion.patchset"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/seeks/config keep-old
|
||||
settings/seeks/img-websearch-config keep-old
|
||||
settings/seeks/lsh-config keep-old
|
||||
settings/seeks/websearch-config keep-old
|
||||
"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
seeks$secondaryArchSuffix = $portVersion
|
||||
cmd:gen_mrf_query_160$secondaryArchSuffix
|
||||
cmd:seeks$secondaryArchSuffix
|
||||
cmd:seeks_cli$secondaryArchSuffix
|
||||
cmd:test_readable$secondaryArchSuffix
|
||||
lib:librmd160$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseeksdht$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseekslsh$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseeksplugins$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseeksproxy$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseeksutils$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseekswebsearchplugin$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseekswebsearchapicompatplugin$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libreadableplugin$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseeksimgwebsearchplugin$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
lib:libevent$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libpcre$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
#for internal bin files
|
||||
lib:libseekswebsearchplugin$secondaryArchSuffix
|
||||
lib:libseekswebsearchapicompatplugin$secondaryArchSuffix
|
||||
lib:libreadableplugin$secondaryArchSuffix
|
||||
lib:libseeksimgwebsearchplugin$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
seeks${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:librmd160$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libseeksdht$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libseekslsh$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libseeksplugins$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libseeksproxy$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libseeksutils$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
seeks$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libevent$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libpcre$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
BUILD()
|
||||
{
|
||||
export CFLAGS="-D_BSD_SOURCE"
|
||||
export LDFLAGS="-lbsd -liconv"
|
||||
export CXXLAGS="-D_BSD_SOURCE"
|
||||
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/*.la
|
||||
rm $libDir/seeks/plugins/*/*.la
|
||||
|
||||
prepareInstalledDevelLibs librmd160 libseeksdht \
|
||||
libseekslsh libseeksplugins \
|
||||
libseeksproxy libseeksutils
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user