FreeBSD Bugzilla – Attachment 130318 Details for
Bug 174205
security/pktsuckers: Fix build with clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.49 KB, created by
tkato432
on 2012-12-05 18:10:14 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2012-12-05 18:10:14 UTC
Size:
1.49 KB
patch
obsolete
>diff -urN /usr/ports/security/pktsuckers/Makefile security/pktsuckers/Makefile >--- /usr/ports/security/pktsuckers/Makefile 2012-11-08 09:57:34.000000000 +0900 >+++ security/pktsuckers/Makefile 2012-12-03 23:59:33.000000000 +0900 >@@ -1,22 +1,27 @@ >-# New ports collection makefile for: pktsuckers >-# Date created: 31 May 1999 >-# Whom: Warren Toomey <wkt@cs.adfa.edu.au> >-# >+# Created by: Warren Toomey <wkt@cs.adfa.edu.au> > # $FreeBSD: head/security/pktsuckers/Makefile 300897 2012-07-14 14:29:18Z beat $ >-# > > PORTNAME= pktsuckers > PORTVERSION= 1.2 > CATEGORIES= security > MASTER_SITES= ftp://minnie.tuhs.org/pub/NetSecurity/ >-DISTNAME= ${PORTNAME}1_2 >+DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/} > > MAINTAINER= ports@FreeBSD.org > COMMENT= Log contents of unwanted UDP packets and TCP connections > >+PLIST_FILES= libexec/tcpsuck libexec/udpsuck >+ >+post-patch: >+.for i in tcpsuck.c udpsuck.c >+ @${REINPLACE_CMD} -e \ >+ 's|^void main|int main|' ${WRKSRC}/${i} >+.endfor >+ > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/tcpsuck ${PREFIX}/libexec >- ${INSTALL_PROGRAM} ${WRKSRC}/udpsuck ${PREFIX}/libexec >+.for i in tcpsuck udpsuck >+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${PREFIX}/libexec) >+.endfor > @${CAT} ${PKGMESSAGE} > > .include <bsd.port.mk> >diff -urN /usr/ports/security/pktsuckers/pkg-plist security/pktsuckers/pkg-plist >--- /usr/ports/security/pktsuckers/pkg-plist 2012-11-08 09:57:34.000000000 +0900 >+++ security/pktsuckers/pkg-plist 1970-01-01 09:00:00.000000000 +0900 >@@ -1,2 +0,0 @@ >-libexec/tcpsuck >-libexec/udpsuck
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 174205
: 130318