mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
Fix misc/GeoIP's hanging install target by cat'ing a real file (not stdin).
While I'm here, upgrade to 1.0.5. Approved By: portmgr/knu (mentor)
This commit is contained in:
parent
a3d5906f5e
commit
f046c0e968
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67173
6 changed files with 26 additions and 28 deletions
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= GeoIP
|
||||
PORTVERSION= 1.0.4
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.0.5
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://maxmind.com/download/geoip/api/c/
|
||||
|
||||
|
@ -22,6 +21,6 @@ INSTALLS_SHLIB= yes
|
|||
MAN1= geoiplookup.1 geoipupdate.1
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGES}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (GeoIP-1.0.4.tar.gz) = dde625b05c1f72ff31e1eead82fe56a4
|
||||
MD5 (GeoIP-1.0.5.tar.gz) = 2bfeaef9a4843107b2e3f3d6e1c44796
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- conf/Makefile.in.orig Wed Aug 28 06:54:49 2002
|
||||
+++ conf/Makefile.in Mon Sep 23 09:37:14 2002
|
||||
@@ -204,12 +204,12 @@
|
||||
--- conf/Makefile.in.orig Fri Sep 27 12:21:01 2002
|
||||
+++ conf/Makefile.in Fri Sep 27 12:26:02 2002
|
||||
@@ -242,12 +242,12 @@
|
||||
|
||||
|
||||
install-data-hook: install-sysconfDATA
|
||||
|
@ -10,12 +10,12 @@
|
|||
- echo "$(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
|
||||
- $(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \
|
||||
- fi
|
||||
+# @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \
|
||||
+# echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \
|
||||
+# else \
|
||||
+# echo "$(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
|
||||
+# $(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \
|
||||
+# fi
|
||||
|
||||
+ # @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \
|
||||
+ # echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \
|
||||
+ # else \
|
||||
+ # echo "$(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
|
||||
+ # $(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \
|
||||
+ # fi
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= GeoIP
|
||||
PORTVERSION= 1.0.4
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.0.5
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://maxmind.com/download/geoip/api/c/
|
||||
|
||||
|
@ -22,6 +21,6 @@ INSTALLS_SHLIB= yes
|
|||
MAN1= geoiplookup.1 geoipupdate.1
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGES}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (GeoIP-1.0.4.tar.gz) = dde625b05c1f72ff31e1eead82fe56a4
|
||||
MD5 (GeoIP-1.0.5.tar.gz) = 2bfeaef9a4843107b2e3f3d6e1c44796
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- conf/Makefile.in.orig Wed Aug 28 06:54:49 2002
|
||||
+++ conf/Makefile.in Mon Sep 23 09:37:14 2002
|
||||
@@ -204,12 +204,12 @@
|
||||
--- conf/Makefile.in.orig Fri Sep 27 12:21:01 2002
|
||||
+++ conf/Makefile.in Fri Sep 27 12:26:02 2002
|
||||
@@ -242,12 +242,12 @@
|
||||
|
||||
|
||||
install-data-hook: install-sysconfDATA
|
||||
|
@ -10,12 +10,12 @@
|
|||
- echo "$(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
|
||||
- $(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \
|
||||
- fi
|
||||
+# @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \
|
||||
+# echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \
|
||||
+# else \
|
||||
+# echo "$(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
|
||||
+# $(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \
|
||||
+# fi
|
||||
|
||||
+ # @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \
|
||||
+ # echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \
|
||||
+ # else \
|
||||
+ # echo "$(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
|
||||
+ # $(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \
|
||||
+ # fi
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
|
Loading…
Add table
Reference in a new issue