pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/gkrellm-multiping



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Aug 20 13:32:18 UTC 2025

Modified Files:
        pkgsrc/net/gkrellm-multiping: Makefile PLIST distinfo
        pkgsrc/net/gkrellm-multiping/patches: patch-ac
Added Files:
        pkgsrc/net/gkrellm-multiping/files: Makefile
Removed Files:
        pkgsrc/net/gkrellm-multiping/patches: patch-aa patch-ab

Log Message:
net/gkrellm-multiping: Update to 2.0.15

pkgsrc changes:
 - Changed MASTER_SITES and HOMEPAGE because the upstream has moved to
   GitHub.
 - Removed patch-aa (Makefile)
 - Added a replacement Makefile for libtoolisation
 - Removed patch-ab (multiping.c) because it's no longer necessary.
 - Updated patch-ac (pinger.c) to fix build on *BSD.
 - Changed the installation path for "pinger" from
   ${PREFIX}/lib/gkrellm2/plugins to ${PREFIX}/libexec, because it's not
   nice to install helper executables in "plugins".
 - Dropped dependency on pthread because it's no longer necessary.

upstream changes:
2.0.15 (2010-10-06)
        * IPv6 support

2.0.14 (2007-12-04)
        * cleanups, remove signal() and gethostbyname()

2.0.13 (2007-01-18)
        * remove more deprecated functions
        * fixed broken adding of new entries

2.0.12 (2006-10-15)
        * GtkTreeView port

2.0.11
        * debianization

2.0.10 (2005-03-25)
        * added README file
        * fixed setting of the installation path
2.0.9
        * option for dynamic DNS
        * some brown paper bag bug fixes


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 pkgsrc/net/gkrellm-multiping/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/net/gkrellm-multiping/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/net/gkrellm-multiping/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/gkrellm-multiping/files/Makefile
cvs rdiff -u -r1.4 -r0 pkgsrc/net/gkrellm-multiping/patches/patch-aa
cvs rdiff -u -r1.1.1.1 -r0 pkgsrc/net/gkrellm-multiping/patches/patch-ab
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/gkrellm-multiping/patches/patch-ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/gkrellm-multiping/Makefile
diff -u pkgsrc/net/gkrellm-multiping/Makefile:1.77 pkgsrc/net/gkrellm-multiping/Makefile:1.78
--- pkgsrc/net/gkrellm-multiping/Makefile:1.77  Thu Apr 24 14:15:23 2025
+++ pkgsrc/net/gkrellm-multiping/Makefile       Wed Aug 20 13:32:18 2025
@@ -1,29 +1,31 @@
-# $NetBSD: Makefile,v 1.77 2025/04/24 14:15:23 wiz Exp $
+# $NetBSD: Makefile,v 1.78 2025/08/20 13:32:18 pho Exp $
 #
 
-DISTNAME=      gkrellm-multiping-2.0.8
-PKGREVISION=   64
+DISTNAME=      gkrellm-multiping-2.0.15
 CATEGORIES=    net
-#MASTER_SITES= http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/
-EXTRACT_SUFX=  .tgz
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=jmakovicka/}
+GITHUB_TAG=    refs/tags/${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-#HOMEPAGE=     http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/index.html
+HOMEPAGE=      https://github.com/jmakovicka/gkrellm-multiping
 COMMENT=       Pings several machines and prints out stats
+LICENSE=       gnu-gpl-v2
 
-SPECIAL_PERMS+=        ${PREFIX}/lib/gkrellm2/plugins/pinger ${SETUID_ROOT_PERMS}
+WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
 
-USE_TOOLS+=            pkg-config
+USE_TOOLS+=    pkg-config
+USE_LIBTOOL=   yes
 
-PTHREAD_OPTS+=         require
-PTHREAD_AUTO_VARS=     yes
+MAKE_FILE=     ${FILESDIR}/Makefile
+MAKE_FLAGS+=   INSTALL_PROGRAM=${INSTALL_PROGRAM:Q}
+MAKE_FLAGS+=   INSTALL_PROGRAM_DIR=${INSTALL_PROGRAM_DIR:Q}
+MAKE_FLAGS+=   INSTALL_LIB=${INSTALL_LIB:Q}
+MAKE_FLAGS+=   INSTALL_LIB_DIR=${INSTALL_LIB_DIR:Q}
+MAKE_FLAGS+=   HELPER_DIR=${PREFIX:Q}/libexec
+MAKE_FLAGS+=   PLUGIN_DIR=${PREFIX:Q}/lib/gkrellm2/plugins
+MAKE_FLAGS+=   VERSION=${PKGVERSION:Q}
 
-INSTALLATION_DIRS=     lib/gkrellm2/plugins
-
-post-patch:
-       ${SED} -e s,@@PREFIX@@,${PREFIX}, ${WRKSRC}/multiping.c > ${WRKSRC}/multiping.c.sed
-       ${CP} ${WRKSRC}/multiping.c.sed ${WRKSRC}/multiping.c
+SPECIAL_PERMS+=        libexec/pinger ${SETUID_ROOT_PERMS}
 
 .include "../../sysutils/gkrellm/buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/gkrellm-multiping/PLIST
diff -u pkgsrc/net/gkrellm-multiping/PLIST:1.1.1.1 pkgsrc/net/gkrellm-multiping/PLIST:1.2
--- pkgsrc/net/gkrellm-multiping/PLIST:1.1.1.1  Tue Feb 24 23:41:55 2004
+++ pkgsrc/net/gkrellm-multiping/PLIST  Wed Aug 20 13:32:18 2025
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/24 23:41:55 cube Exp $
-lib/gkrellm2/plugins/multiping.so
-lib/gkrellm2/plugins/pinger
+@comment $NetBSD: PLIST,v 1.2 2025/08/20 13:32:18 pho Exp $
+lib/gkrellm2/plugins/multiping.la
+libexec/pinger

Index: pkgsrc/net/gkrellm-multiping/distinfo
diff -u pkgsrc/net/gkrellm-multiping/distinfo:1.9 pkgsrc/net/gkrellm-multiping/distinfo:1.10
--- pkgsrc/net/gkrellm-multiping/distinfo:1.9   Tue Oct 26 11:05:39 2021
+++ pkgsrc/net/gkrellm-multiping/distinfo       Wed Aug 20 13:32:18 2025
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 11:05:39 nia Exp $
+$NetBSD: distinfo,v 1.10 2025/08/20 13:32:18 pho Exp $
 
-BLAKE2s (gkrellm-multiping-2.0.8.tgz) = 388ea352796709adfd0a6f3e25ff9f580e0d599731f618516369d6fca1329e2e
-SHA512 (gkrellm-multiping-2.0.8.tgz) = a18b2033faedbce7a52afb1f6479338eafd56e1210d3b306cee60a4ac377d298508401d0ed83e1923eff9d38fb4a1dedc26528c357cb1cda24248248ad923979
-Size (gkrellm-multiping-2.0.8.tgz) = 14377 bytes
-SHA1 (patch-aa) = af0247a420626ef04428b42544c53ef3259ca30f
-SHA1 (patch-ab) = 465567eb777db1d144d23e7fc457fb63db8ff23c
-SHA1 (patch-ac) = d8979ef7d975ec19c71a72bfc9e19e6c82a16a83
+BLAKE2s (gkrellm-multiping-2.0.15.tar.gz) = 996c2c894bbec0281e7af166e8c6b847215fd7fbd045ded78320b4092921b225
+SHA512 (gkrellm-multiping-2.0.15.tar.gz) = 355858a63b9760029c67197e30ca9a8b9fa6652f2da24b5efcdf947fcf872ea4974f735b8c2476410b2b1a01deb39944ebe0e616104c038abf685d9fb8ce595a
+Size (gkrellm-multiping-2.0.15.tar.gz) = 18645 bytes
+SHA1 (patch-ac) = bf98cae83af095bae8e6f5db2ecb845b5e308803

Index: pkgsrc/net/gkrellm-multiping/patches/patch-ac
diff -u pkgsrc/net/gkrellm-multiping/patches/patch-ac:1.2 pkgsrc/net/gkrellm-multiping/patches/patch-ac:1.3
--- pkgsrc/net/gkrellm-multiping/patches/patch-ac:1.2   Mon May 29 14:06:27 2006
+++ pkgsrc/net/gkrellm-multiping/patches/patch-ac       Wed Aug 20 13:32:18 2025
@@ -1,170 +1,163 @@
-$NetBSD: patch-ac,v 1.2 2006/05/29 14:06:27 joerg Exp $
+$NetBSD: patch-ac,v 1.3 2025/08/20 13:32:18 pho Exp $
 
---- pinger.c.orig      2004-01-16 07:48:09.000000000 +0000
+Use BSD names rather than Linux names for ICMP-related cpp macros. Linux
+apparently supports both but this is required on *BSD.
+
+--- pinger.c.orig      2014-09-07 09:40:11.000000000 +0000
 +++ pinger.c
-@@ -27,6 +27,7 @@ ________________________________________
- #include <sys/signal.h>
- 
- #include <netinet/in.h>
-+#include <netinet/in_systm.h>
- #include <netinet/ip.h>
- #include <netinet/ip_icmp.h>
- #include <arpa/inet.h>
-@@ -239,42 +240,48 @@ static gchar *pr_icmph(struct icmp *icp)
-       g_string_assign(s, "Echo Reply");
-       /* XXX ID + Seq + Data */
-       break;
+@@ -317,42 +317,49 @@ static gchar *pr_icmph(struct icmp *icp)
+         g_string_assign(s, "Echo Reply");
+         /* XXX ID + Seq + Data */
+         break;
 -    case ICMP_DEST_UNREACH:
 +    case ICMP_UNREACH:
-       switch (icp->icmp_code) {
--      case ICMP_NET_UNREACH:
-+      case ICMP_UNREACH_NET:
-           g_string_assign(s, "Destination Net Unreachable");
-           break;
--      case ICMP_HOST_UNREACH:
-+      case ICMP_UNREACH_HOST:
-           g_string_assign(s, "Destination Host Unreachable");
-           break;
--      case ICMP_PROT_UNREACH:
-+      case ICMP_UNREACH_PROTOCOL:
-           g_string_assign(s, "Destination Protocol Unreachable");
-           break;
--      case ICMP_PORT_UNREACH:
-+      case ICMP_UNREACH_PORT:
-           g_string_assign(s, "Destination Port Unreachable");
-           break;
--      case ICMP_FRAG_NEEDED:
-+      case ICMP_UNREACH_NEEDFRAG:
-           g_string_assign(s, "Frag needed and DF set");
-           break;
--      case ICMP_SR_FAILED:
-+      case ICMP_UNREACH_SRCFAIL:
-           g_string_assign(s, "Source Route Failed");
-           break;
--      case ICMP_NET_UNKNOWN:
-+      case ICMP_UNREACH_NET_UNKNOWN:
-           g_string_assign(s, "Network Unknown");
-           break;
--      case ICMP_HOST_UNKNOWN:
-+      case ICMP_UNREACH_HOST_UNKNOWN:
-           g_string_assign(s, "Host Unknown");
-           break;
--      case ICMP_HOST_ISOLATED:
-+      case ICMP_UNREACH_ISOLATED:
-           g_string_assign(s, "Host Isolated");
-           break;
--      case ICMP_NET_UNR_TOS:
-+      case ICMP_UNREACH_TOSNET:
-           g_string_assign(s,
-                           "Destination Network Unreachable At This TOS");
-           break;
--      case ICMP_HOST_UNR_TOS:
-+      case ICMP_UNREACH_TOSHOST:
-           g_string_assign(s, "Destination Host Unreachable At This TOS");
-           break;
+         switch (icp->icmp_code) {
+-        case ICMP_NET_UNREACH:
++        case ICMP_UNREACH_NET:
+             g_string_assign(s, "Destination Net Unreachable");
+             break;
+-        case ICMP_HOST_UNREACH:
++        case ICMP_UNREACH_HOST:
+             g_string_assign(s, "Destination Host Unreachable");
+             break;
+-        case ICMP_PROT_UNREACH:
++        case ICMP_UNREACH_PROTOCOL:
+             g_string_assign(s, "Destination Protocol Unreachable");
+             break;
+-        case ICMP_PORT_UNREACH:
++        case ICMP_UNREACH_PORT:
+             g_string_assign(s, "Destination Port Unreachable");
+             break;
+-        case ICMP_FRAG_NEEDED:
++        case ICMP_UNREACH_NEEDFRAG:
+             g_string_assign(s, "Frag needed and DF set");
+             break;
+-        case ICMP_SR_FAILED:
++        case ICMP_UNREACH_SRCFAIL:
+             g_string_assign(s, "Source Route Failed");
+             break;
+-        case ICMP_NET_UNKNOWN:
++        case ICMP_UNREACH_NET_UNKNOWN:
+             g_string_assign(s, "Network Unknown");
+             break;
+-        case ICMP_HOST_UNKNOWN:
++        case ICMP_UNREACH_HOST_UNKNOWN:
+             g_string_assign(s, "Host Unknown");
+             break;
+-        case ICMP_HOST_ISOLATED:
++        case ICMP_UNREACH_ISOLATED:
+             g_string_assign(s, "Host Isolated");
+             break;
+-        case ICMP_NET_UNR_TOS:
++        case ICMP_UNREACH_TOSNET:
+             g_string_assign(s,
+                             "Destination Network Unreachable At This TOS");
+             break;
+-        case ICMP_HOST_UNR_TOS:
++        case ICMP_UNREACH_TOSHOST:
+             g_string_assign(s, "Destination Host Unreachable At This TOS");
+             break;
 +#if defined(__DragonFly__)
 +      case ICMP_UNREACH_FILTER_PROHIB:
 +#else
 +      case ICMP_UNREACH_ADMIN_PROHIBIT:
 +#endif
 +          g_string_assign(s, "Packet Prohibited");
++          break;
  #ifdef ICMP_PKT_FILTERED
-       case ICMP_PKT_FILTERED:
-           g_string_assign(s, "Packet Filtered");
-@@ -296,21 +303,21 @@ static gchar *pr_icmph(struct icmp *icp)
-           break;
-       }
-       break;
+         case ICMP_PKT_FILTERED:
+             g_string_assign(s, "Packet Filtered");
+@@ -374,21 +381,21 @@ static gchar *pr_icmph(struct icmp *icp)
+             break;
+         }
+         break;
 -    case ICMP_SOURCE_QUENCH:
 +    case ICMP_SOURCEQUENCH:
-       g_string_assign(s, "Source Quench");
-       break;
+         g_string_assign(s, "Source Quench");
+         break;
      case ICMP_REDIRECT:
-       switch (icp->icmp_code) {
--      case ICMP_REDIR_NET:
-+      case ICMP_REDIRECT_NET:
-           g_string_assign(s, "Redirect Network");
-           break;
--      case ICMP_REDIR_HOST:
-+      case ICMP_REDIRECT_HOST:
-           g_string_assign(s, "Redirect Host");
-           break;
--      case ICMP_REDIR_NETTOS:
-+      case ICMP_REDIRECT_TOSNET:
-           g_string_assign(s, "Redirect Type of Service and Network");
-           break;
--      case ICMP_REDIR_HOSTTOS:
-+      case ICMP_REDIRECT_TOSHOST:
-           g_string_assign(s, "Redirect Type of Service and Host");
-           break;
-       default:
-@@ -324,12 +331,12 @@ static gchar *pr_icmph(struct icmp *icp)
-       g_string_assign(s, "Echo Request");
-       /* XXX ID + Seq + Data */
-       break;
+         switch (icp->icmp_code) {
+-        case ICMP_REDIR_NET:
++        case ICMP_REDIRECT_NET:
+             g_string_assign(s, "Redirect Network");
+             break;
+-        case ICMP_REDIR_HOST:
++        case ICMP_REDIRECT_HOST:
+             g_string_assign(s, "Redirect Host");
+             break;
+-        case ICMP_REDIR_NETTOS:
++        case ICMP_REDIRECT_TOSNET:
+             g_string_assign(s, "Redirect Type of Service and Network");
+             break;
+-        case ICMP_REDIR_HOSTTOS:
++        case ICMP_REDIRECT_TOSHOST:
+             g_string_assign(s, "Redirect Type of Service and Host");
+             break;
+         default:
+@@ -402,12 +409,12 @@ static gchar *pr_icmph(struct icmp *icp)
+         g_string_assign(s, "Echo Request");
+         /* XXX ID + Seq + Data */
+         break;
 -    case ICMP_TIME_EXCEEDED:
 +    case ICMP_TIMXCEED:
-       switch (icp->icmp_code) {
--      case ICMP_EXC_TTL:
-+      case ICMP_TIMXCEED_INTRANS:
-           g_string_assign(s, "Time to live exceeded");
-           break;
--      case ICMP_EXC_FRAGTIME:
-+      case ICMP_TIMXCEED_REASS:
-           g_string_assign(s, "Frag reassembly time exceeded");
-           break;
-       default:
-@@ -338,23 +345,23 @@ static gchar *pr_icmph(struct icmp *icp)
-           break;
-       }
-       break;
+         switch (icp->icmp_code) {
+-        case ICMP_EXC_TTL:
++        case ICMP_TIMXCEED_INTRANS:
+             g_string_assign(s, "Time to live exceeded");
+             break;
+-        case ICMP_EXC_FRAGTIME:
++        case ICMP_TIMXCEED_REASS:
+             g_string_assign(s, "Frag reassembly time exceeded");
+             break;
+         default:
+@@ -416,23 +423,23 @@ static gchar *pr_icmph(struct icmp *icp)
+             break;
+         }
+         break;
 -    case ICMP_PARAMETERPROB:
 +    case ICMP_PARAMPROB:
-       g_string_sprintf(s, "Parameter problem: IP address = %s",
-                        inet_ntoa(icp->icmp_gwaddr));
-       break;
+         g_string_sprintf(s, "Parameter problem: IP address = %s",
+                          inet_ntoa(icp->icmp_gwaddr));
+         break;
 -    case ICMP_TIMESTAMP:
 +    case ICMP_TSTAMP:
-       g_string_assign(s, "Timestamp");
-       /* XXX ID + Seq + 3 timestamps */
-       break;
+         g_string_assign(s, "Timestamp");
+         /* XXX ID + Seq + 3 timestamps */
+         break;
 -    case ICMP_TIMESTAMPREPLY:
 +    case ICMP_TSTAMPREPLY:
-       g_string_assign(s, "Timestamp Reply");
-       /* XXX ID + Seq + 3 timestamps */
-       break;
+         g_string_assign(s, "Timestamp Reply");
+         /* XXX ID + Seq + 3 timestamps */
+         break;
 -    case ICMP_INFO_REQUEST:
 +    case ICMP_IREQ:
-       g_string_assign(s, "Information Request");
-       /* XXX ID + Seq */
-       break;
+         g_string_assign(s, "Information Request");
+         /* XXX ID + Seq */
+         break;
 -    case ICMP_INFO_REPLY:
 +    case ICMP_IREQREPLY:
-       g_string_assign(s, "Information Reply");
-       /* XXX ID + Seq */
-       break;
-@@ -448,11 +455,11 @@ void pr_pack(char *buf, int cc, struct s
-       switch (icp->icmp_type) {
-       case ICMP_ECHO:
-           return;
--      case ICMP_SOURCE_QUENCH:
-+      case ICMP_SOURCEQUENCH:
-       case ICMP_REDIRECT:
--      case ICMP_DEST_UNREACH:
--      case ICMP_TIME_EXCEEDED:
--      case ICMP_PARAMETERPROB:
-+      case ICMP_UNREACH:
-+      case ICMP_TIMXCEED:
-+      case ICMP_PARAMPROB:
-           {
-               struct ip *iph = (struct ip *) (&icp->icmp_data);
-               struct icmp *icp1 =
-@@ -465,7 +472,7 @@ void pr_pack(char *buf, int cc, struct s
-                   icp1->icmp_id != ident)
-                   return;
-               error_pkt = (icp->icmp_type != ICMP_REDIRECT &&
--                           icp->icmp_type != ICMP_SOURCE_QUENCH);
-+                           icp->icmp_type != ICMP_SOURCEQUENCH);
- 
-               h = (host_data *) g_list_find_custom(hosts,
-                                                    (int *) &icp1->
+         g_string_assign(s, "Information Reply");
+         /* XXX ID + Seq */
+         break;
+@@ -510,7 +517,7 @@ static gchar *pr_icmph6(struct icmp6_hdr
+             break;
+         }
+         break;
+-    case ICMP_PARAMETERPROB:
++    case ICMP_PARAMPROB:
+         switch (icmp->icmp6_code) {
+         case ICMP6_PARAMPROB_HEADER:
+             g_string_assign(s, "Erroneous header field");
+@@ -597,9 +604,9 @@ static void pr_pack(u_char *buf, int cc,
+         switch (icp->icmp_type) {
+         case ICMP_ECHO:
+             return;
+-        case ICMP_DEST_UNREACH:
+-        case ICMP_TIME_EXCEEDED:
+-        case ICMP_PARAMETERPROB:
++        case ICMP_UNREACH:
++        case ICMP_TIMXCEED:
++        case ICMP_PARAMPROB:
+             {
+                 struct ip *iph = (struct ip *) (&icp->icmp_data);
+                 struct icmp *icp1 =

Added files:

Index: pkgsrc/net/gkrellm-multiping/files/Makefile
diff -u /dev/null pkgsrc/net/gkrellm-multiping/files/Makefile:1.1
--- /dev/null   Wed Aug 20 13:32:18 2025
+++ pkgsrc/net/gkrellm-multiping/files/Makefile Wed Aug 20 13:32:18 2025
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2025/08/20 13:32:18 pho Exp $
+#
+# Replacement Makefile for gkrellm-multiping for portability
+#
+
+TARGETS=               pinger multiping.la
+
+PINGER_OBJS=           pinger.lo
+PINGER_PKGDEPS=                glib-2.0
+PINGER_CFLAGS!=                pkg-config ${PINGER_PKGDEPS} --cflags
+PINGER_LIBS!=          pkg-config ${PINGER_PKGDEPS} --libs
+
+MULTIPING_OBJS=                multiping.lo
+MULTIPING_PKGDEPS=     gtk+-2.0
+MULTIPING_CFLAGS!=     pkg-config ${MULTIPING_PKGDEPS} --cflags
+MULTIPING_CFLAGS+=     -DHELPERDIR=\"${HELPER_DIR:Q}\" -DVERSION=\"${VERSION:Q}\"
+MULTIPING_LIBS!=       pkg-config ${MULTIPING_PKGDEPS} --libs
+
+.PHONY: all
+all: ${TARGETS}
+
+pinger: ${PINGER_OBJS}
+       ${LIBTOOL} --tag=CC --mode=link \
+               ${CC} ${LDFLAGS} ${PINGER_LIBS} ${.ALLSRC} -o ${.TARGET}
+
+multiping.la: ${MULTIPING_OBJS}
+       ${LIBTOOL} --tag=CC --mode=link \
+               ${CC} ${LDFLAGS} ${MULTIPING_LIBS} ${.ALLSRC} -o ${.TARGET} \
+               -module -shared -avoid-version -rpath ${PLUGIN_DIR:Q}
+
+${PINGER_OBJS}: ${.TARGET:.lo=.c}
+       ${LIBTOOL} --tag=CC --mode=compile \
+               ${CC} -c ${CFLAGS} ${PINGER_CFLAGS} ${.ALLSRC} -shared
+
+${MULTIPING_OBJS}: ${.TARGET:.lo=.c}
+       ${LIBTOOL} --tag=CC --mode=compile \
+               ${CC} -c ${CFLAGS} ${MULTIPING_CFLAGS} ${.ALLSRC} -shared
+
+.PHONY: install
+install: ${TARGETS}
+       ${INSTALL_LIB_DIR} ${DESTDIR}${HELPER_DIR}
+       ${LIBTOOL} --mode=install ${INSTALL_LIB} pinger ${DESTDIR}${HELPER_DIR}
+
+       ${INSTALL_LIB_DIR} ${DESTDIR}${PLUGIN_DIR}
+       ${LIBTOOL} --mode=install ${INSTALL_LIB} multiping.la ${DESTDIR}${PLUGIN_DIR}



Home | Main Index | Thread Index | Old Index