Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
iptraf
iptraf-3.0.0.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File iptraf-3.0.0.patch of Package iptraf
--- src/Makefile +++ src/Makefile @@ -31,7 +31,7 @@ # options to be passed to the compiler. I don't believe they need to be # modified (except for -m486 on non-Intel x86 platforms). -CFLAGS = -Wall #-O2 #-m486 +CFLAGS = -Wall $(RPM_OPT_FLAGS) DIRS = -DWORKDIR=\"$(WORKDIR)\" \ -DLOGDIR=\"$(LOGDIR)\" -DEXECDIR=\"$(TARGET)\" LDOPTS = #-static @@ -39,7 +39,7 @@ # you may want to change this to point to your ncurses include directory # if the ncurses include files are not in the default location. -INCLUDEDIR = -I/usr/include/ncurses -I../support +INCLUDEDIR = -I/usr/include/ncursesw -I../support # You can uncomment this one to disable the backspace key in input fields. # This means you must use the Del key or Ctrl+H combination to erase the @@ -68,17 +68,17 @@ # installation target directory. The iptraf and rvnamed programs get # stored here. iptraf also exec's rvnamed from this directory. -TARGET = /usr/local/bin +TARGET = /usr/sbin # The IPTraf working directory; if you change this. Starting with this # version, this definition overrides dirs.h. -WORKDIR = /var/local/iptraf +WORKDIR = /var/lib/iptraf # The IPTraf log file directory. IPTraf log files are placed here. # This definition overrides dirs.h -LOGDIR = /var/log/iptraf +LOGDIR = /var/log/ # # IPTraf lock file directory. This is /var/run/iptraf/ and will not @@ -162,7 +162,7 @@ # and the compiled programs for release as a ready-to-run distribution. dist-bin: all - $(CC) $(LDOPTS) $(PROF) -o iptraf $(OBJS) -L../support -ltextbox /usr/lib/libpanel.a /usr/lib/libncurses.a + $(CC) $(LDOPTS) $(PROF) -o iptraf $(OBJS) -L../support -ltextbox /usr/lib/libpanel.a /usr/lib/libncursesw.a rm -rf $(BINDIR) mkdir $(BINDIR) /bin/cp -p ../CHANGES ../LICENSE ../FAQ ../INSTALL ../README* \ @@ -178,7 +178,7 @@ # Just in case anyone needs to link a static binary # static: $(OBJS) - $(CC) -static $(PROC) -o iptraf $(OBJS) ../support/libtextbox.a -lpanel -lncurses + $(CC) -static $(PROC) -o iptraf $(OBJS) ../support/libtextbox.a -lpanel -lncursesw $(CC) -static -o rvnamed rvnamed.o getpath.o $(CC) -static -o rawtime rawtime.c
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor