Permalink
Browse files

Add support for 9.3-RELEASE.

  • Loading branch information...
kuriyama committed Jul 21, 2014
1 parent d000fe5 commit d7a47f961b504a0039273841eb1c75f2276ed586
Showing with 1,184 additions and 18 deletions.
  1. +24 −7 net/stf-6rd-kmod/Makefile
  2. +10 −10 net/stf-6rd-kmod/distinfo
  3. +1,149 −0 net/stf-6rd-kmod/files-9.2/patch-if_stf.c
  4. +1 −1 net/stf-6rd-kmod/pkg-descr
View
@@ -9,17 +9,31 @@ PKGNAMESUFFIX= -6rd-kmod
DISTNAME= freebsd-stf-${OSREL}-${PORTVERSION}
MAINTAINER= kuriyama@FreeBSD.org
-COMMENT= 6rd patched stf(4) kernel modules port for 8.3+
+COMMENT= 6rd patched stf(4) kernel modules port for 8.4+
ONLY_FOR_ARCHS= amd64 i386
WRKSRC= ${WRKDIR}
-SVN_REV= 239080 # 8.1=r209773, 8.2=r216741, 8.3=r232314
+SVN_REV= 267655
USES= kmod
+
.include <bsd.port.pre.mk>
-.if ${OSREL} != "8.1" && ${OSREL} != "8.2" && ${OSREL} != "8.3" && ${OSREL} != "8.4" && ${OSREL} != "9.1"
+.if ${OSREL} == "8.4"
+#SVN_REV= 255447
+.elif ${OSREL} == "9.1"
+#SVN_REV= 255448
+.elif ${OSREL} == "9.2"
+#SVN_REV= 255444
+PATCHDIR= ${MASTERDIR}/files-9.2
+.elif ${OSREL} == "9.3"
+#SVN_REV= 267655
+PATCHDIR= ${MASTERDIR}/files-9.2
+#.elif ${OSREL} == "10.0"
+##SVN_REV= 258913
+#PATCHDIR= ${MASTERDIR}/files-10.0
+.else
IGNORE= not supported $${OSREL} (${OSREL})
.endif
@@ -46,10 +60,13 @@ do-install:
SVN_MIRROR?= http://svn.freebsd.org/base
EXPDIR= ${WRKSRC}/src/sys
maintainer-tar:
+.for _osrel in 8.4 9.1 9.2 9.3 10.0
+ -${RM} -rf ${EXPDIR}
${MKDIR} ${EXPDIR}
- cd ${EXPDIR} && svn export -r ${SVN_REV} ${SVN_MIRROR}/releng/${OSREL}/sys/net net
- cd ${EXPDIR} && svn export -r ${SVN_REV} ${SVN_MIRROR}/releng/${OSREL}/sys/modules/if_stf modules/if_stf
- cd ${EXPDIR} && ${TAR} cfvz ${DISTDIR}/${DISTFILES} net modules
+ cd ${EXPDIR} && svn export -r ${SVN_REV} ${SVN_MIRROR}/releng/${_osrel}/sys/net net
+ cd ${EXPDIR} && svn export -r ${SVN_REV} ${SVN_MIRROR}/releng/${_osrel}/sys/modules/if_stf modules/if_stf
+ cd ${EXPDIR} && ${TAR} cfz ${DISTDIR}/freebsd-stf-${_osrel}-${PORTVERSION}${EXTRACT_SUFX} net modules
+.endfor
maintainer-check:
@new=`svn log -ql 1 ${SVN_MIRROR}@HEAD releng/${OSREL}/sys/net/if_stf.c | ${GREP} -v ^- | ${SED} -e 's| .*||'`;\
@@ -58,7 +75,7 @@ maintainer-check:
make-distinfo:
${RM} -f distinfo.tmp.*
-.for r in 8.1 8.2 8.3 8.4 9.1
+.for r in 8.4 9.1 9.2 9.3 10.0
${MAKE} OSREL=${r} DISTINFO_FILE=${MASTERDIR}/distinfo.tmp.${r} makesum
.endfor
${CAT} ${MASTERDIR}/distinfo.tmp.* > ${MASTERDIR}/distinfo
View
@@ -1,10 +1,10 @@
-SHA256 (freebsd-stf-8.1-0.239080.tar.gz) = 0d38be83250fd81041c6b1972183d0e740f740070fd8471ccce12ed98f853cdb
-SIZE (freebsd-stf-8.1-0.239080.tar.gz) = 484583
-SHA256 (freebsd-stf-8.2-0.239080.tar.gz) = 826e5a1b532feb1cf239903a650c3819c3f6a65dd3182fdec209c288b5f2ab86
-SIZE (freebsd-stf-8.2-0.239080.tar.gz) = 487964
-SHA256 (freebsd-stf-8.3-0.239080.tar.gz) = 52240cd75e2a610e2873e78845f6f19b3e6a1c838157b124dbfc73e879e689f4
-SIZE (freebsd-stf-8.3-0.239080.tar.gz) = 498737
-SHA256 (freebsd-stf-8.4-0.239080.tar.gz) = be42537b8e3e862b439739c995a983697a3f6f9dea809a3fe295fa332482d371
-SIZE (freebsd-stf-8.4-0.239080.tar.gz) = 500989
-SHA256 (freebsd-stf-9.1-0.239080.tar.gz) = b8a9541b06d7402d1350fcaf678ad85dc1b02ca23a99ebae725bc2bd7a659136
-SIZE (freebsd-stf-9.1-0.239080.tar.gz) = 510230
+SHA256 (freebsd-stf-10.0-0.267655.tar.gz) = 492bc45cf0b9651dde008199920435c782bad71616398e0c52814a381578adae
+SIZE (freebsd-stf-10.0-0.267655.tar.gz) = 535733
+SHA256 (freebsd-stf-8.4-0.267655.tar.gz) = 0c4dc42d0bbf8946cbde58f7047cd293a7de647f88db100ffe5db37125c635c0
+SIZE (freebsd-stf-8.4-0.267655.tar.gz) = 504670
+SHA256 (freebsd-stf-9.1-0.267655.tar.gz) = 239f90a4ac81d4b6f3ceb82a59e3d9a9152b08f611c9d7557dbca17877bb0ab9
+SIZE (freebsd-stf-9.1-0.267655.tar.gz) = 510463
+SHA256 (freebsd-stf-9.2-0.267655.tar.gz) = 7acfa2a90d6abf87302008a5357411b0732217d10b1e1c0b4cce292626a2024b
+SIZE (freebsd-stf-9.2-0.267655.tar.gz) = 514295
+SHA256 (freebsd-stf-9.3-0.267655.tar.gz) = 2ffb08ff5abcbed586623237e9e4a3891492ac592557eef250b67fd74c3749de
+SIZE (freebsd-stf-9.3-0.267655.tar.gz) = 529933
Oops, something went wrong.

0 comments on commit d7a47f9

Please sign in to comment.