mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
- Update to 4.7.30
This commit is contained in:
parent
77eeb921e1
commit
1c32e7a95c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224696
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= whois
|
||||
PORTVERSION= 4.7.28
|
||||
PORTVERSION= 4.7.30
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
@ -20,34 +20,34 @@ USE_PERL5_BUILD= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
LDFLAGS+= -L/usr/local/lib
|
||||
CFLAGS+= -I/usr/local/include
|
||||
#LDFLAGS+= -L/usr/local/lib
|
||||
#CFLAGS+= -I/usr/local/include
|
||||
|
||||
MAKE_ENV= LDFLAGS="${LDFLAGS}"
|
||||
MAKE_ARGS= OPTS=""
|
||||
|
||||
MAN1= whois.1 mkpasswd.1
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
USE_GETTEXT= yes
|
||||
LDFLAGS+= -lintl
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
NO_PO= yes
|
||||
.endif
|
||||
#.if !defined(WITHOUT_NLS)
|
||||
#USE_GETTEXT= yes
|
||||
#LDFLAGS+= -lintl
|
||||
#PLIST_SUB+= NLS=""
|
||||
#.else
|
||||
#PLIST_SUB+= NLS="@comment "
|
||||
#NO_PO= yes
|
||||
#.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g ; \
|
||||
s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e "s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/po/Makefile
|
||||
@if [ -n "${NO_PO}" ]; \
|
||||
then ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/have_nls-patch; \
|
||||
fi
|
||||
# @if [ -n "${NO_PO}" ]; \
|
||||
# then ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/have_nls-patch; \
|
||||
# fi
|
||||
|
||||
post-install:
|
||||
@if [ ! -n "${NO_PO}" ]; \
|
||||
then cd ${WRKSRC}/po && ${MAKE} install; \
|
||||
fi
|
||||
#post-install:
|
||||
# @if [ ! -n "${NO_PO}" ]; \
|
||||
# then cd ${WRKSRC}/po && ${MAKE} install; \
|
||||
# fi
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (whois_4.7.28.tar.gz) = 90b8f4014d7e2249b74ac0cc56de2360
|
||||
SHA256 (whois_4.7.28.tar.gz) = e7b9202f484e3dedbd38968d266adfa9bcf0357095bc20f282962441fc0c3d5a
|
||||
SIZE (whois_4.7.28.tar.gz) = 68070
|
||||
MD5 (whois_4.7.30.tar.gz) = 0667190491a5a9ded8595b8e330dcc11
|
||||
SHA256 (whois_4.7.30.tar.gz) = 67581c0fa7b75ccea366e531b807b02a7f1dbe6fc55d4cd440e8f09eea491d36
|
||||
SIZE (whois_4.7.30.tar.gz) = 69685
|
||||
|
@ -1,10 +1,10 @@
|
||||
--- config.h.old Mon Apr 19 10:54:11 2004
|
||||
+++ config.h Mon Apr 19 10:54:17 2004
|
||||
--- config.h.orgi 2008-12-24 19:41:30.000000000 +0100
|
||||
+++ config.h 2008-12-24 19:42:35.000000000 +0100
|
||||
@@ -24,7 +24,6 @@
|
||||
/* which versions? */
|
||||
# define HAVE_GETOPT_LONG
|
||||
# define HAVE_GETADDRINFO
|
||||
-# define ENABLE_NLS
|
||||
# define LOCALEDIR "/usr/local/share/locale"
|
||||
#endif
|
||||
|
||||
# ifndef LOCALEDIR
|
||||
# define LOCALEDIR "/usr/local/share/locale"
|
||||
# endif
|
||||
|
@ -1,7 +1,8 @@
|
||||
--- Makefile.orig 2008-05-06 11:41:16.000000000 +0200
|
||||
+++ Makefile 2008-08-21 13:25:03.000000000 +0200
|
||||
--- Makefile.orgi 2008-12-24 19:32:32.000000000 +0100
|
||||
+++ Makefile 2008-12-24 19:33:58.000000000 +0100
|
||||
@@ -1,6 +1,9 @@
|
||||
prefix = %%PREFIX%%
|
||||
-prefix = /usr
|
||||
+prefix = %%PREFIX%%
|
||||
|
||||
-CFLAGS = -g -O2
|
||||
+LDFLAGS+=-L%%LOCALBASE%%/lib -lintl
|
||||
@ -10,36 +11,42 @@
|
||||
+CFLAGS += -g -O2
|
||||
|
||||
PERL = perl
|
||||
INSTALL = install
|
||||
@@ -21,7 +24,7 @@
|
||||
endif
|
||||
|
||||
@@ -63,22 +66,22 @@
|
||||
ifdef LOCALEDIR
|
||||
-DEFS += -DLOCALEDIR=\"$(BASEDIR)$(prefix)/share/locale\"
|
||||
+DEFS += -DLOCALEDIR=\"$(prefix)/share/locale\"
|
||||
endif
|
||||
|
||||
ifdef HAVE_LIBIDN
|
||||
@@ -68,19 +71,19 @@
|
||||
$(PERL) -w make_tld_serv.pl < tld_serv_list > $@
|
||||
|
||||
##############################################################################
|
||||
-install: install-whois install-mkpasswd install-pos
|
||||
-install: install-whois install-mkpasswd #install-pos
|
||||
+install: install-whois install-mkpasswd
|
||||
|
||||
install-whois: whois
|
||||
install -d $(BASEDIR)$(prefix)/bin/
|
||||
- install -d $(BASEDIR)$(prefix)/share/man/man1/
|
||||
- install -m 0755 whois $(BASEDIR)$(prefix)/bin/
|
||||
- install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
|
||||
+ install -d $(prefix)/man/man1/
|
||||
+ install -m 0755 whois $(prefix)/bin/
|
||||
+ install -m 0644 whois.1 $(prefix)/man/man1/
|
||||
- $(INSTALL) -d $(BASEDIR)$(prefix)/bin/
|
||||
- $(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man1/
|
||||
- $(INSTALL) -m 0755 whois $(BASEDIR)$(prefix)/bin/
|
||||
- $(INSTALL) -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
|
||||
+ $(INSTALL) -d $(prefix)/bin/
|
||||
+ $(INSTALL) -d $(prefix)/man/man1/
|
||||
+ $(INSTALL) -m 0755 whois $(prefix)/bin/
|
||||
+ $(INSTALL) -m 0644 whois.1 $(prefix)/man/man1/
|
||||
|
||||
install-mkpasswd: mkpasswd
|
||||
install -d $(BASEDIR)$(prefix)/bin/
|
||||
- install -d $(BASEDIR)$(prefix)/share/man/man1/
|
||||
- install -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/
|
||||
- install -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/
|
||||
+ install -d $(BASEDIR)$(prefix)/man/man1/
|
||||
+ install -m 0755 mkpasswd $(prefix)/bin/
|
||||
+ install -m 0644 mkpasswd.1 $(prefix)/man/man1/
|
||||
- $(INSTALL) -d $(BASEDIR)$(prefix)/bin/
|
||||
- $(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man1/
|
||||
- $(INSTALL) -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/
|
||||
- $(INSTALL) -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/
|
||||
+ $(INSTALL) -d $(prefix)/bin/
|
||||
+ $(INSTALL) -d $(prefix)/man/man1/
|
||||
+ $(INSTALL) -m 0755 mkpasswd $(prefix)/bin/
|
||||
+ $(INSTALL) -m 0644 mkpasswd.1 $(prefix)/man/man1/
|
||||
|
||||
-install-pos:
|
||||
- cd po && $(MAKE) $@
|
||||
+#install-pos:
|
||||
+# cd po && $(MAKE) $@
|
||||
|
||||
distclean: clean
|
||||
rm -f po/whois.pot
|
||||
install-pos:
|
||||
cd po && $(MAKE) install
|
||||
|
@ -1,14 +1,2 @@
|
||||
bin/whois
|
||||
bin/mkpasswd
|
||||
%%NLS%%share/locale/cs/LC_MESSAGES/whois.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/whois.mo
|
||||
%%NLS%%share/locale/el/LC_MESSAGES/whois.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/whois.mo
|
||||
%%NLS%%share/locale/eu/LC_MESSAGES/whois.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/whois.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/whois.mo
|
||||
%%NLS%%share/locale/ja/LC_MESSAGES/whois.mo
|
||||
%%NLS%%share/locale/no/LC_MESSAGES/whois.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/whois.mo
|
||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/whois.mo
|
||||
%%NLS%%share/locale/ru/LC_MESSAGES/whois.mo
|
||||
|
Loading…
Reference in New Issue
Block a user