ports/86070: [update] net/throttled to 0.4.1
Andrej Zverev
az at inec.ru
Tue Sep 13 14:20:06 UTC 2005
>Number: 86070
>Category: ports
>Synopsis: [update] net/throttled to 0.4.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 13 14:20:04 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Andrej Zverev
>Release: FreeBSD 5.4-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD az.inec.ru 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #2: Wed Jul 6 12:10:32 MSD 2005 root at az.inec.ru:/usr/obj/usr/src/sys/GENERIC i386
>Description:
>How-To-Repeat:
>Fix:
--- throttled.diff begins here ---
diff -Nru throttled.orig/Makefile throttled/Makefile
--- throttled.orig/Makefile Tue Sep 13 13:32:14 2005
+++ throttled/Makefile Tue Sep 13 15:11:55 2005
@@ -6,7 +6,7 @@
#
PORTNAME= throttled
-PORTVERSION= 0.3.2
+PORTVERSION= 0.4.1
CATEGORIES= net
MASTER_SITES= http://www.intrarts.com/Files/
EXTRACT_SUFX= .tgz
@@ -14,24 +14,15 @@
MAINTAINER= quest at mac.com
COMMENT= Bandwidth shaping and QoS solution
-USE_REINPLACE= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
PLIST_FILES= sbin/throttled sbin/throttled-startup
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 499999
-IGNORE= "is for FreeBSD 4.X only"
-.endif
-
post-patch:
- @${REINPLACE_CMD} -e "s|install: all|install: $$\{APPNAME\}|" \
- ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
- ${WRKSRC}/Makefile \
- ${WRKSRC}/throttled-startup
- @${REINPLACE_CMD} -e "s|c++|${CXX}|;s|-O3|${CXXFLAGS}|" \
- ${WRKSRC}/src/Makefile
+ ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s|c++|${CXX}|;s|-O3|${CXXFLAGS}| \
+ ;s|-pthread|${PTHREAD_LIBS}|" ${WRKSRC}/src/Makefile
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -Nru throttled.orig/distinfo throttled/distinfo
--- throttled.orig/distinfo Mon Jun 14 11:51:42 2004
+++ throttled/distinfo Tue Sep 13 13:26:33 2005
@@ -1,2 +1,2 @@
-MD5 (throttled-0.3.2.tgz) = d3e48c06ed3c8a4bf0017a37c213f4cb
-SIZE (throttled-0.3.2.tgz) = 182681
+MD5 (throttled-0.4.1.tgz) = 617d0be4ef6b9ace2c1c50df3b3350c8
+SIZE (throttled-0.4.1.tgz) = 25963
--- throttled.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list