ports/183779: [maintainer update] net/packter-agent: Update MASTER_SITES, Fix build with clang, etc.
Masaki TAGAWA
masaki at club.kyutech.ac.jp
Fri Nov 8 10:00:02 UTC 2013
>Number: 183779
>Category: ports
>Synopsis: [maintainer update] net/packter-agent: Update MASTER_SITES, Fix build with clang, etc.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 08 10:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Masaki TAGAWA
>Release: FreeBSD 9.1-RELEASE amd64
>Organization:
Kyushu Institute of Technology
>Environment:
System: FreeBSD rosetta.club.kyutech.ac.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #9: Sat Feb 2 00:09:47 JST 2013 root at rosetta.club.kyutech.ac.jp:/usr/obj/usr/src/sys/CLUBVMKERNEL amd64
>Description:
- Update MASTER_SITES, WWW: tag (Moved site to new domain)
- Fix build with clang
- Support StageDir
- Normalize COMMENT
- Make portlint happy
- Add @dirrm to pkg-plist
>How-To-Repeat:
- Checked on Redports.org [1]
[1] https://redports.org/buildarchive/20131108092400-12950/
>Fix:
--- packter-agent.patch begins here ---
diff -ruN /usr/ports/net/packter-agent.org/Makefile /usr/ports/net/packter-agent/Makefile
--- /usr/ports/net/packter-agent.org/Makefile 2013-09-21 07:10:23.000000000 +0900
+++ /usr/ports/net/packter-agent/Makefile 2013-11-08 18:17:17.000000000 +0900
@@ -3,27 +3,27 @@
PORTNAME= packter-agent
PORTVERSION= 2.5
+PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= http://www.packter.net/
+MASTER_SITES= http://www.packter.jp/
DISTNAME= PackterAgent-${PORTVERSION}
MAINTAINER= masaki at club.kyutech.ac.jp
-COMMENT= An agent of the tool for graphical Internet traffic visualization
+COMMENT= Agent of the tool for graphical Internet traffic visualization
LICENSE= BSD
-LICENSE_FILE= ${WRKSRC}/LICENSE
GNU_CONFIGURE= yes
USES= pkgconfig
USE_GNOME= glib20
+CFLAGS+= -Wno-return-type
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README
-OPTIONS_DEFINE= IPV6 PACKTERTC
+OPTIONS_DEFINE= IPV6 PACKTERTC DOCS
PACKTERTC_DESC= Install Packter TC
OPTIONS_DEFAULT= IPV6
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIPV6}
@@ -43,20 +43,20 @@
post-install:
.if ${PORT_OPTIONS:MPACKTERTC}
- @${MKDIR} ${DATADIR}
- ${CP} -pr ${WRKSRC}/packter_tc ${DATADIR}/
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${CP} -pr ${WRKSRC}/packter_tc ${STAGEDIR}${DATADIR}/
.endif
.for f in packter.conf
@if [ ! -f ${PREFIX}/etc/${f} ]; then \
- ${CP} -p ${PREFIX}/etc/${f}.sample ${PREFIX}/etc/${f} ; \
+ ${CP} -p ${STAGEDIR}${PREFIX}/etc/${f}.sample ${STAGEDIR}/${PREFIX}/etc/${f} ; \
fi
.endfor
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
diff -ruN /usr/ports/net/packter-agent.org/pkg-descr /usr/ports/net/packter-agent/pkg-descr
--- /usr/ports/net/packter-agent.org/pkg-descr 2012-09-06 13:58:09.000000000 +0900
+++ /usr/ports/net/packter-agent/pkg-descr 2013-11-08 18:17:17.000000000 +0900
@@ -4,4 +4,4 @@
Packter Viewer draws a flying object by receiving Packter Protocol from
Packter Agent.
-WWW: http://www.packter.net
+WWW: http://www.packter.jp
diff -ruN /usr/ports/net/packter-agent.org/pkg-plist /usr/ports/net/packter-agent/pkg-plist
--- /usr/ports/net/packter-agent.org/pkg-plist 2013-06-11 23:52:08.000000000 +0900
+++ /usr/ports/net/packter-agent/pkg-plist 2013-11-08 18:17:18.000000000 +0900
@@ -12,3 +12,5 @@
%%PACKTERTC%%%%DATADIR%%/packter_tc/itm.conf
%%PACKTERTC%%%%DATADIR%%/packter_tc/packter_tc.pl
%%PACKTERTC%%%%DATADIR%%/packter_tc/xsd.pl
+%%PACKTERTC%%@dirrm %%DATADIR%%/packter_tc
+%%PACKTERTC%%@dirrm %%DATADIR%%
--- packter-agent.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list