aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xlogmaster/Makefile13
-rw-r--r--sysutils/xlogmaster/distinfo4
-rw-r--r--sysutils/xlogmaster/files/patch-ae16
-rw-r--r--sysutils/xlogmaster/files/patch-af20
-rw-r--r--sysutils/xlogmaster/files/patch-src::Makefile.in13
-rw-r--r--sysutils/xlogmaster/files/patch-src::database.cc11
-rw-r--r--sysutils/xlogmaster/files/patch-src::execute.cc11
-rw-r--r--sysutils/xlogmaster/files/patch-src::file.cc11
-rw-r--r--sysutils/xlogmaster/files/patch-src::logclass.H20
-rw-r--r--sysutils/xlogmaster/files/patch-src::logclass.cc11
-rw-r--r--sysutils/xlogmaster/files/patch-src::output.cc11
-rw-r--r--sysutils/xlogmaster/files/patch-src::sysinc.H14
-rw-r--r--sysutils/xlogmaster/files/patch-src::watchdog.cc11
-rw-r--r--sysutils/xlogmaster/files/patch-src::xlogmaster.cc29
14 files changed, 9 insertions, 186 deletions
diff --git a/sysutils/xlogmaster/Makefile b/sysutils/xlogmaster/Makefile
index 4b8712c06bf0..e2ffc54b2dc3 100644
--- a/sysutils/xlogmaster/Makefile
+++ b/sysutils/xlogmaster/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= xlogmaster
-PORTVERSION= 1.6.0
-PORTREVISION= 2
+PORTVERSION= 1.6.1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,8 +14,10 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Quick & easy monitoring of logfiles and devices
-USE_GNOME= gtk12
+USE_GCC= 3.4+
+USE_GNOME= gtk12 gnometarget
USE_GETOPT_LONG= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -27,11 +28,11 @@ INFO= xlogmaster
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
LDFLAGS= -L${LOCALBASE}/lib
-post-extract:
- -${RM} ${WRKSRC}/import/getopt*
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|getopt_long_only|getopt_long|g' ${WRKSRC}/src/xlogmaster.cc
post-install:
- @install-info ${PREFIX}/info/xlogmaster.info ${PREFIX}/info/dir
${INSTALL_DATA} ${FILESDIR}/xlogmasterrc ${PREFIX}/etc/xlogmaster
.include <bsd.port.mk>
diff --git a/sysutils/xlogmaster/distinfo b/sysutils/xlogmaster/distinfo
index a51234d1e336..ceb9602a192d 100644
--- a/sysutils/xlogmaster/distinfo
+++ b/sysutils/xlogmaster/distinfo
@@ -1,2 +1,2 @@
-MD5 (xlogmaster-1.6.0.tar.gz) = b1900ebae821656fb6b7f028fab8bf10
-SIZE (xlogmaster-1.6.0.tar.gz) = 358648
+MD5 (xlogmaster-1.6.1.tar.gz) = f4c6a225fb6bc6beaf9f9ea7681699c3
+SIZE (xlogmaster-1.6.1.tar.gz) = 692821
diff --git a/sysutils/xlogmaster/files/patch-ae b/sysutils/xlogmaster/files/patch-ae
deleted file mode 100644
index 201542b74880..000000000000
--- a/sysutils/xlogmaster/files/patch-ae
+++ /dev/null
@@ -1,16 +0,0 @@
---- ../../original/doc/Makefile.in Wed Mar 31 17:01:03 1999
-+++ doc/Makefile.in Fri Apr 2 06:56:30 1999
-@@ -173,13 +173,6 @@
- done; \
- done
- @$(POST_INSTALL)
-- @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
-- list='$(INFO_DEPS)'; \
-- for file in $$list; do \
-- echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
-- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
-- done; \
-- else : ; fi
-
- uninstall-info:
- $(PRE_UNINSTALL)
diff --git a/sysutils/xlogmaster/files/patch-af b/sysutils/xlogmaster/files/patch-af
deleted file mode 100644
index 3018c79079b4..000000000000
--- a/sysutils/xlogmaster/files/patch-af
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.orig Thu Apr 1 01:00:59 1999
-+++ configure Thu Feb 5 22:01:46 2004
-@@ -860,7 +860,7 @@
-
-
-
--CFLAGS=""
-+#CFLAGS=""
- if test x${CXXFLAGS+set} = xset ; then
- :
- else
-@@ -1874,7 +1874,7 @@
- import_sources="$force_libimport"
- rx_sources="$force_libimport"
-
--for ac_func in getopt_long_only
-+for ac_func in getopt_long
- do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- echo "configure:1881: checking for $ac_func" >&5
diff --git a/sysutils/xlogmaster/files/patch-src::Makefile.in b/sysutils/xlogmaster/files/patch-src::Makefile.in
deleted file mode 100644
index 2677fa3e08b1..000000000000
--- a/sysutils/xlogmaster/files/patch-src::Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/Makefile.in.orig Thu Apr 1 01:01:02 1999
-+++ src/Makefile.in Thu Feb 5 22:17:35 2004
-@@ -80,8 +80,8 @@
- @DEVELMODE_TRUE@DEVELFLAGS = -g -Wall
-
- CLEANFILES = *~ .deps/*
--CXXFLAGS = $(GTK_CFLAGS) -DXLM_HOME=\"$(XLM_HOME)\" -DXLM_DB=\"$(XLM_DB)\" -DXLM_USER_DB=\"$(XLM_USER_DB)\" -DXLM_LIB=\"$(XLM_LIB)\" -I../import $(DEVELFLAGS)
--LDFLAGS = $(GTK_LIBS)
-+CXXFLAGS = @CXXFLAGS@ $(GTK_CFLAGS) -DXLM_HOME=\"$(XLM_HOME)\" -DXLM_DB=\"$(XLM_DB)\" -DXLM_USER_DB=\"$(XLM_USER_DB)\" -DXLM_LIB=\"$(XLM_LIB)\" -I../import $(DEVELFLAGS)
-+LDFLAGS = @LDFLAGS@ $(GTK_LIBS)
-
- bin_PROGRAMS = xlogmaster
- xlogmaster_SOURCES = xlogmaster.cc alert.cc audio.cc database.cc dialog.cc execute.cc file.cc logclass.cc menu.cc customize.cc watchdog.cc output.cc
diff --git a/sysutils/xlogmaster/files/patch-src::database.cc b/sysutils/xlogmaster/files/patch-src::database.cc
deleted file mode 100644
index f7f47a379bb4..000000000000
--- a/sysutils/xlogmaster/files/patch-src::database.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/database.cc.orig Thu Apr 1 01:00:29 1999
-+++ src/database.cc Thu Feb 5 21:39:55 2004
-@@ -38,6 +38,8 @@
- #include "logclass.H"
- #include "database.H"
- #include "extern.H"
-+#include <iostream>
-+using namespace std;
-
- /*}}}*/
-
diff --git a/sysutils/xlogmaster/files/patch-src::execute.cc b/sysutils/xlogmaster/files/patch-src::execute.cc
deleted file mode 100644
index c70e20632c64..000000000000
--- a/sysutils/xlogmaster/files/patch-src::execute.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/execute.cc.orig Thu Apr 1 01:00:29 1999
-+++ src/execute.cc Thu Feb 5 21:39:55 2004
-@@ -38,6 +38,8 @@
- #include "logclass.H"
- #include "execute.H"
- #include "extern.H"
-+#include <iostream>
-+using namespace std;
-
- /*}}}*/
-
diff --git a/sysutils/xlogmaster/files/patch-src::file.cc b/sysutils/xlogmaster/files/patch-src::file.cc
deleted file mode 100644
index 9f30c33087a4..000000000000
--- a/sysutils/xlogmaster/files/patch-src::file.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/file.cc.orig Thu Apr 1 01:00:29 1999
-+++ src/file.cc Thu Feb 5 22:11:38 2004
-@@ -38,6 +38,8 @@
- #include "logclass.H"
- #include "file.H"
- #include "extern.H"
-+#include <iostream>
-+using namespace std;
-
- /*}}}*/
-
diff --git a/sysutils/xlogmaster/files/patch-src::logclass.H b/sysutils/xlogmaster/files/patch-src::logclass.H
deleted file mode 100644
index 2b80f95f2156..000000000000
--- a/sysutils/xlogmaster/files/patch-src::logclass.H
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/logclass.H.orig Thu Apr 1 01:00:29 1999
-+++ src/logclass.H Thu Feb 5 21:39:55 2004
-@@ -28,7 +28,7 @@
-
- class Log {
- /*{{{ Functions */
-- friend Filter;
-+ friend class Filter;
- public:
- Log();
- ~Log();
-@@ -200,7 +200,7 @@
- class Filter
- {
- /*{{{ Functions */
-- friend Log;
-+ friend class Log;
- public:
- Filter();
- ~Filter();
diff --git a/sysutils/xlogmaster/files/patch-src::logclass.cc b/sysutils/xlogmaster/files/patch-src::logclass.cc
deleted file mode 100644
index caf6cba28790..000000000000
--- a/sysutils/xlogmaster/files/patch-src::logclass.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/logclass.cc.orig Thu Apr 1 01:00:29 1999
-+++ src/logclass.cc Thu Feb 5 21:39:55 2004
-@@ -37,6 +37,8 @@
- #include "../import/import.h"
- #include "logclass.H"
- #include "extern.H"
-+#include <iostream>
-+using namespace std;
-
- /*}}}*/
-
diff --git a/sysutils/xlogmaster/files/patch-src::output.cc b/sysutils/xlogmaster/files/patch-src::output.cc
deleted file mode 100644
index 8f8a7ff937e3..000000000000
--- a/sysutils/xlogmaster/files/patch-src::output.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/output.cc.orig Thu Apr 1 01:00:29 1999
-+++ src/output.cc Thu Feb 5 21:39:55 2004
-@@ -38,6 +38,8 @@
- #include "logclass.H"
- #include "output.H"
- #include "extern.H"
-+#include <iostream>
-+using namespace std;
-
- /*}}}*/
-
diff --git a/sysutils/xlogmaster/files/patch-src::sysinc.H b/sysutils/xlogmaster/files/patch-src::sysinc.H
deleted file mode 100644
index d030e9af5bb3..000000000000
--- a/sysutils/xlogmaster/files/patch-src::sysinc.H
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/sysinc.H.orig Thu Apr 1 01:00:29 1999
-+++ src/sysinc.H Thu Feb 5 22:12:43 2004
-@@ -20,8 +20,9 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <fcntl.h>
--#include <fstream.h>
--#include <strstream.h>
-+#include <fstream>
-+#include <strstream>
-+using namespace std;
- #include <unistd.h>
- #include <string.h>
- #include <time.h>
diff --git a/sysutils/xlogmaster/files/patch-src::watchdog.cc b/sysutils/xlogmaster/files/patch-src::watchdog.cc
deleted file mode 100644
index 01c8de9f19c7..000000000000
--- a/sysutils/xlogmaster/files/patch-src::watchdog.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/watchdog.cc.orig Thu Apr 1 01:00:29 1999
-+++ src/watchdog.cc Thu Feb 5 21:39:55 2004
-@@ -38,6 +38,8 @@
- #include "logclass.H"
- #include "watchdog.H"
- #include "extern.H"
-+#include <iostream>
-+using namespace std;
-
- /*}}}*/
-
diff --git a/sysutils/xlogmaster/files/patch-src::xlogmaster.cc b/sysutils/xlogmaster/files/patch-src::xlogmaster.cc
deleted file mode 100644
index 0bb3bcba54c2..000000000000
--- a/sysutils/xlogmaster/files/patch-src::xlogmaster.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- src/xlogmaster.cc.orig Thu Apr 1 01:00:29 1999
-+++ src/xlogmaster.cc Thu Feb 5 22:09:28 2004
-@@ -41,6 +41,8 @@
-
- #include "../graphics/logo.xpm"
- #include "../graphics/logo_small.xpm"
-+#include <iostream>
-+using namespace std;
-
- /*}}}*/
-
-@@ -996,7 +998,7 @@
- int gtkrc = FALSE;
- terse = FALSE;
-
-- x = getopt_long_only(argc, argv, "", options, &opt_index);
-+ x = getopt_long(argc, argv, "", options, &opt_index);
- while ( x != -1 && x != '?' ){
- const gchar* opt = options[opt_index].name;
-
-@@ -1183,7 +1185,7 @@
- }
- }
-
-- x = getopt_long_only(argc, argv, "", options, &opt_index);
-+ x = getopt_long(argc, argv, "", options, &opt_index);
- };
-
- if ( optind < argc || x == '?' )