retire
This commit is contained in:
parent
39911fbff2
commit
fc11ed675b
@ -1,27 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2004/12/22 11:50:30 alek Exp $
|
||||
|
||||
COMMENT= 'wm-dockapp; for killing Netscape when it freezes'
|
||||
|
||||
DISTNAME= wmNetscapeKiller-0.3
|
||||
PKGNAME= ${DISTNAME:L}
|
||||
CATEGORIES= misc x11 x11/windowmaker
|
||||
|
||||
HOMEPAGE= http://pblumo.free.fr/wmNetscapeKiller/
|
||||
|
||||
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= X11 Xext Xpm c
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}wmNetscapeKiller-0.3/
|
||||
|
||||
RUN_DEPENDS= :skill-*:sysutils/skill
|
||||
|
||||
USE_X11= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,4 +0,0 @@
|
||||
MD5 (wmNetscapeKiller-0.3.tar.gz) = 5d8caeec3212dafbfca467ec8d3eece6
|
||||
RMD160 (wmNetscapeKiller-0.3.tar.gz) = 52e59d5c85f546295b85fd63d9c6e63dbf8f7e80
|
||||
SHA1 (wmNetscapeKiller-0.3.tar.gz) = 664d190d8646b34c46ec4419e344ac00619eef4d
|
||||
SIZE (wmNetscapeKiller-0.3.tar.gz) = 17658
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/01/11 23:23:17 naddy Exp $
|
||||
--- Makefile.orig Fri Jul 21 20:32:07 2000
|
||||
+++ Makefile Thu Jan 11 19:06:02 2001
|
||||
@@ -1,14 +1,11 @@
|
||||
-CC= gcc
|
||||
-CFLAGS= -Wall
|
||||
+CFLAGS+= -I${X11BASE}/include
|
||||
LDLIBS = -lX11 -lXpm -lXext
|
||||
-LDFLAGS= -L/usr/X/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/local/lib/X11
|
||||
+LDFLAGS= -L${X11BASE}/lib
|
||||
|
||||
all: wmNetscapeKiller
|
||||
|
||||
install:
|
||||
- install -D -s -m 111 wmNetscapeKiller /usr/local/bin/wmNetscapeKiller
|
||||
- @echo "-- Install Complete --"
|
||||
- @echo "Warning : before docking wmNetscapeKiller, don't forget to log on the same username as you used for WindowMaker (see README file)"
|
||||
+ ${BSD_INSTALL_PROGRAM} wmNetscapeKiller ${PREFIX}/bin
|
||||
|
||||
clean:
|
||||
rm -f *.o wmNetscapeKiller core
|
@ -1,31 +0,0 @@
|
||||
$OpenBSD: patch-wmNetscapeKiller_c,v 1.1.1.1 2001/01/11 23:23:17 naddy Exp $
|
||||
--- wmNetscapeKiller.c.orig Tue Aug 8 00:24:03 2000
|
||||
+++ wmNetscapeKiller.c Thu Jan 11 18:37:47 2001
|
||||
@@ -64,15 +64,15 @@ void DoExpose() {
|
||||
// Getionnaire evenement bouton souris
|
||||
void DoButtonPress() {
|
||||
int retour ;
|
||||
- char* command;
|
||||
- sprintf(command,"killall -9 %s",prog_victim) ;
|
||||
+ char command[1024];
|
||||
+ snprintf(command,sizeof(command),"skill -9 %s",prog_victim) ;
|
||||
retour = system(command) ;
|
||||
// retour = system("killall -12 netscape") ;
|
||||
if(retour!= -1 && retour != 127 && retour != 256 && restart == TRUE)
|
||||
{
|
||||
nXPM = KILLED_XPM ;
|
||||
DoExpose() ;
|
||||
- sprintf(command,"%s&",prog_victim) ;
|
||||
+ snprintf(command,sizeof(command),"%s&",prog_victim) ;
|
||||
system(command) ;
|
||||
}
|
||||
else
|
||||
@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
|
||||
else
|
||||
{
|
||||
|
||||
- strncpy(prog_victim,argv[1],255) ;
|
||||
+ strlcpy(prog_victim,argv[1],sizeof(prog_victim)) ;
|
||||
if(argc == 3) // il faut etudier le deuxieme aussi
|
||||
{
|
||||
if(!strcmp(argv[2],"restart"))
|
@ -1,5 +0,0 @@
|
||||
This dockapp kills (and restarts) Netscape when you click on the
|
||||
icon! You can now specify which program to kill and if you want to
|
||||
restart it or not.
|
||||
|
||||
See wmNetscapeKiller --help for command line options.
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/01/11 23:23:17 naddy Exp $
|
||||
bin/wmNetscapeKiller
|
Loading…
Reference in New Issue
Block a user