- update to 1.01

- doesn't need groff
- update HOMEPAGE/MASTER_SITES, also zap a dead mirror
- regen plist while here

tweaks from sthen@
The patches can be removed, they are to work-around lack
of OpenSSL pkg-config files. Then with the patches removed,
there's no need for autoconf.

feedback and ok jasper@ sthen@
(maintainer timeout)
This commit is contained in:
gsoares 2011-05-16 18:49:37 +00:00
parent d37ccc08d2
commit eab8f5aadd
5 changed files with 13 additions and 111 deletions

View File

@ -1,26 +1,23 @@
# $OpenBSD: Makefile,v 1.15 2010/10/19 08:02:53 espie Exp $
# $OpenBSD: Makefile,v 1.16 2011/05/16 18:49:37 gsoares Exp $
COMMENT= text browser, displays while downloading
VERSION= 1.00pre20
VERSION= 1.01
DISTNAME= links-${VERSION}
CATEGORIES= www
HOMEPAGE= http://artax.karlin.mff.cuni.cz/%7Emikulas/links/
HOMEPAGE= http://www.jikos.cz/~mikulas/links/
MAINTAINER= Marc Espie <espie@openbsd.org>
# GPL
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto ssl
MASTER_SITES= http://artax.karlin.mff.cuni.cz/%7Emikulas/links/download/ \
http://links.sourceforge.net/download/
MASTER_SITES= ${HOMEPAGE}download/
AUTOCONF_VERSION= 2.13
CONFIGURE_STYLE= autoconf
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (links-1.00pre20.tar.gz) = 4F5IOJIMFMnWg/+LRzDBZA==
RMD160 (links-1.00pre20.tar.gz) = inCzKsQzFm2RprIonoFav8qzmVo=
SHA1 (links-1.00pre20.tar.gz) = xzanyRqjxUF5DRmwtBhVws2RFA8=
SHA256 (links-1.00pre20.tar.gz) = 1cY0733TC0VUuRJ4scZODAPTuPw+X44uF6ycTE+jMqc=
SIZE (links-1.00pre20.tar.gz) = 620455
MD5 (links-1.01.tar.gz) = noTOuAaeQIaPlxt733XtuA==
RMD160 (links-1.01.tar.gz) = JumZrtlI+RgnpAXe5gAvCy6C4s4=
SHA1 (links-1.01.tar.gz) = pcClCNUjGBR16TQzT5rUgnHDCdE=
SHA256 (links-1.01.tar.gz) = aWE/a67uX/iQTTalN50S6HTbZzKFQojeQIO5m2YJ/m0=
SIZE (links-1.01.tar.gz) = 625845

View File

@ -1,66 +0,0 @@
$OpenBSD: patch-aclocal_m4,v 1.1 2004/02/23 15:44:43 espie Exp $
--- aclocal.m4.orig Thu Feb 12 23:04:12 2004
+++ aclocal.m4 Thu Feb 12 23:04:23 2004
@@ -124,62 +124,3 @@
am_indx=`expr "<<$>>am_indx" + 1`
done<<>>dnl>>)
changequote([,]))])
-
-
-dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
-dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
-dnl also defines GSTUFF_PKG_ERRORS on error
-AC_DEFUN(PKG_CHECK_MODULES, [
- succeeded=no
-
- if test -z "$PKG_CONFIG"; then
- AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
- fi
-
- if test "$PKG_CONFIG" = "no" ; then
- echo "*** The pkg-config script could not be found. Make sure it is"
- echo "*** in your path, or set the PKG_CONFIG environment variable"
- echo "*** to the full path to pkg-config."
- echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
- else
- PKG_CONFIG_MIN_VERSION=0.9.0
- if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
- AC_MSG_CHECKING(for $2)
-
- if $PKG_CONFIG --exists "$2" ; then
- AC_MSG_RESULT(yes)
- succeeded=yes
-
- AC_MSG_CHECKING($1_CFLAGS)
- $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
- AC_MSG_RESULT($$1_CFLAGS)
-
- AC_MSG_CHECKING($1_LIBS)
- $1_LIBS=`$PKG_CONFIG --libs "$2"`
- AC_MSG_RESULT($$1_LIBS)
- else
- $1_CFLAGS=""
- $1_LIBS=""
- ## If we have a custom action on failure, don't print errors, but
- ## do set a variable so people can do so.
- $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
- ifelse([$4], ,echo $$1_PKG_ERRORS,)
- fi
-
- AC_SUBST($1_CFLAGS)
- AC_SUBST($1_LIBS)
- else
- echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
- echo "*** See http://www.freedesktop.org/software/pkgconfig"
- fi
- fi
-
- if test $succeeded = yes; then
- ifelse([$3], , :, [$3])
- else
- ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
- fi
-])
-
-
-

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-configure_in,v 1.2 2006/12/13 08:52:07 kili Exp $
--- configure.in.orig Tue Nov 28 23:17:21 2006
+++ configure.in Sun Dec 10 12:09:19 2006
@@ -200,17 +200,7 @@ CFLAGS_X="$CFLAGS"
LIBS_X="$LIBS"
cf_result=no
if test -z "$disable_ssl"; then
- PKG_CHECK_MODULES(OPENSSL,openssl,pkgconfig_openssl=yes,pkgconfig_openssl=no)
- if test "$pkgconfig_openssl" = "yes"; then
AC_MSG_CHECKING([for OpenSSL])
- CPPFLAGS="$CPPFLAGS `pkg-config openssl --cflags-only-I`"
- LIBS="$LIBS `pkg-config openssl --libs`"
- AC_TRY_LINK([#include <openssl/ssl.h>], [OpenSSL_add_all_algorithms()], cf_result=yes, cf_result=no)
- if test "$cf_result" != yes; then
- AC_TRY_LINK([#include <openssl/ssl.h>], [SSLeay_add_ssl_algorithms()], cf_result=yes, cf_result=no)
- fi
- else
- AC_MSG_CHECKING([for OpenSSL])
for ssldir in "" /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/local/www /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl; do
if test "$cf_result" = no; then
if test ! -z "$ssldir" && test "$ssldir" != /usr; then
@@ -225,7 +215,6 @@ if test -z "$disable_ssl"; then
fi
fi
done
- fi
AC_MSG_RESULT($cf_result)

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2004/09/18 13:15:27 espie Exp $
@comment $OpenBSD: PLIST,v 1.6 2011/05/16 18:49:37 gsoares Exp $
@conflict links+-*
bin/links
@bin bin/links
@man man/man1/links.1