diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2014-10-11 14:24:05 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2014-10-11 14:24:05 +0000 |
commit | 89aa5cc96bba2c1e4d59165d0c7f0f20e6adac86 (patch) | |
tree | 1395ab7aa4a4aa50da856374d0002dbe7f61c019 /net/igmpproxy | |
parent | f0b242497f7cac5f5b3ff0c77bd96c36264246d8 (diff) | |
download | ports-89aa5cc96bba2c1e4d59165d0c7f0f20e6adac86.tar.gz ports-89aa5cc96bba2c1e4d59165d0c7f0f20e6adac86.zip |
Notes
Diffstat (limited to 'net/igmpproxy')
-rw-r--r-- | net/igmpproxy/Makefile | 2 | ||||
-rw-r--r-- | net/igmpproxy/files/patch-Makefile.in (renamed from net/igmpproxy/files/patch-Makefile) | 4 | ||||
-rw-r--r-- | net/igmpproxy/files/patch-src__os-freebsd.h | 14 | ||||
-rw-r--r-- | net/igmpproxy/pkg-plist | 4 |
4 files changed, 18 insertions, 6 deletions
diff --git a/net/igmpproxy/Makefile b/net/igmpproxy/Makefile index e320d49fc571..9c18cf29b1c2 100644 --- a/net/igmpproxy/Makefile +++ b/net/igmpproxy/Makefile @@ -3,7 +3,7 @@ PORTNAME= igmpproxy PORTVERSION= 0.1 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} diff --git a/net/igmpproxy/files/patch-Makefile b/net/igmpproxy/files/patch-Makefile.in index bea5480fd2d6..1abcfd500a94 100644 --- a/net/igmpproxy/files/patch-Makefile +++ b/net/igmpproxy/files/patch-Makefile.in @@ -1,5 +1,5 @@ ---- Makefile.in.orig 2009-12-20 13:13:06.000000000 +0300 -+++ Makefile.in 2009-12-20 13:15:11.000000000 +0300 +--- Makefile.in.orig 2009-10-05 18:19:42 UTC ++++ Makefile.in @@ -284,7 +284,10 @@ done | $(am__base_list) | \ while read files; do \ diff --git a/net/igmpproxy/files/patch-src__os-freebsd.h b/net/igmpproxy/files/patch-src__os-freebsd.h new file mode 100644 index 000000000000..cd5c0c3e7575 --- /dev/null +++ b/net/igmpproxy/files/patch-src__os-freebsd.h @@ -0,0 +1,14 @@ +--- src/os-freebsd.h.orig 2014-10-11 14:15:20 UTC ++++ src/os-freebsd.h +@@ -14,7 +14,11 @@ + + static inline u_short ip_data_len(const struct ip *ip) + { ++#if __FreeBSD_version >= 900044 ++ return ip->ip_len - (ip->ip_hl << 2); ++#else + return ip->ip_len; ++#endif + } + + static inline void ip_set_len(struct ip *ip, u_short len) diff --git a/net/igmpproxy/pkg-plist b/net/igmpproxy/pkg-plist index 2ebb5c62453a..c1dc265c1764 100644 --- a/net/igmpproxy/pkg-plist +++ b/net/igmpproxy/pkg-plist @@ -1,6 +1,4 @@ sbin/igmpproxy -@unexec if cmp -s %D/etc/igmpproxy.conf.sample %D/etc/igmpproxy.conf; then rm -f %D/etc/igmpproxy.conf; fi -etc/igmpproxy.conf.sample -@exec if [ ! -f %D/etc/igmpproxy.conf ]; then cp -p %D/%F %B/igmpproxy.conf; fi +@sample etc/igmpproxy.conf.sample man/man5/igmpproxy.conf.5.gz man/man8/igmpproxy.8.gz |