Skip site navigation (1)Skip section navigation (2)
Date:      14 Oct 1999 17:27:49 -0000
From:      patrick@mindstep.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14328: update pipsecd port to version 19991014
Message-ID:  <19991014172749.6347.qmail@jacuzzi.local.mindstep.com>

next in thread | raw e-mail | index | archive | help

>Number:         14328
>Category:       ports
>Synopsis:       update pipsecd port to version 19991014
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 14 10:30:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Bihan-Faou
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
MindStep Corporation
>Environment:

Ports distributions update on October 12, 1999

>Description:

The pipsecd source distribution as been updated. Among other things it adds:
- logging using syslog (rather than stdout)
- authenticated tunnels over UDP and ICMP
- fixed an error in the sample configuration file

BTW I am the maintainer of this port.

>How-To-Repeat:

Not Applicable

>Fix:
	

diff -urN pipsecd.orig/Makefile pipsecd/Makefile
--- pipsecd.orig/Makefile	Thu Oct 14 09:39:28 1999
+++ pipsecd/Makefile	Thu Oct 14 13:03:50 1999
@@ -6,10 +6,10 @@
 # $FreeBSD: ports/net/pipsecd/Makefile,v 1.3 1999/09/10 15:09:14 jseger Exp $
 #
 
-DISTNAME=	pipsec-19990831
-PKGNAME=	pipsecd-19990831
+DISTNAME=	pipsec-19991014
+PKGNAME=	pipsecd-19991014
 CATEGORIES=	net security
-MASTER_SITES=	http://www.enst.fr/~beyssac/ \
+MASTER_SITES=	http://www.enst.fr/~beyssac/pipsec/ \
 		http://www.mindstep.com/pipsec/
 
 MAINTAINER=	patrick@mindstep.com
@@ -22,6 +22,7 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/pipsecd ${PREFIX}/sbin
+	${INSTALL_PROGRAM} ${WRKSRC}/pipsecd.sh ${PREFIX}/etc/rc.d
 	${MKDIR} ${PREFIX}/etc/ipsec
 	${INSTALL_DATA} ${WRKSRC}/pipsecd.conf.sample ${PREFIX}/etc/ipsec
 .if !defined(NOPORTDOCS)
diff -urN pipsecd.orig/files/md5 pipsecd/files/md5
--- pipsecd.orig/files/md5	Thu Oct 14 09:39:28 1999
+++ pipsecd/files/md5	Thu Oct 14 09:41:36 1999
@@ -1 +1 @@
-MD5 (pipsec-19990831.tar.gz) = 395390108fe7ca36ded292e4d5b2762c
+MD5 (pipsec-19991014.tar.gz) = d814966f46038bc79db686af7ad7351f
diff -urN pipsecd.orig/patches/patch-aa pipsecd/patches/patch-aa
--- pipsecd.orig/patches/patch-aa	Thu Oct 14 09:39:28 1999
+++ pipsecd/patches/patch-aa	Thu Oct 14 10:39:44 1999
@@ -1,26 +1,31 @@
---- Makefile.orig	Mon Aug 16 11:51:13 1999
-+++ Makefile	Mon Aug 16 12:28:08 1999
-@@ -6,17 +6,20 @@
+--- Makefile.orig	Thu Sep 16 17:44:50 1999
++++ Makefile	Thu Oct 14 10:27:50 1999
+@@ -6,10 +6,13 @@
  CLEANFILES=	*.core *.o pipsecd
  
  # Where your OpenSSL includes are located
 -INCDIR=/usr/local/ssl/include
-+INCDIR=-I$(PREFIX)/include -I$(PREFIX)/include/openssl
++INCDIR=-I$(PREFIX)/include/openssl -I$(PREFIX)/include
  
  # Where your libcrypto is located
 -LIBDIR=/usr/local/ssl/lib
 +LIBDIR=-L$(PREFIX)/lib
 +
-+# Misc Defines
++# Misc defines
 +DEFINES=-DFILE_PREFIX=\"$(PREFIX)\"
  
- # Optional (to use FreeBSD's libmd)
- #OPTLIB= -lmd
- #OPTDEF= -DUSE_SYSTEM_HASH
+ # Optional: use FreeBSD's libmd
+ #OPTLIB += -lmd
+@@ -19,10 +22,10 @@
+ #OPTDEF += -DUSE_ETHERTAP
  
  pipsecd:	tunip.c defs.h
--	gcc -Wall -I$(INCDIR) -g -o $(OPTDEF) pipsecd tunip.c -L$(LIBDIR) $(OPTLIB) -lcrypto
-+	gcc -Wall $(INCDIR) -g -o $(OPTDEF) pipsecd tunip.c $(LIBDIR) $(OPTLIB) -lcrypto $(DEFINES)
+-	gcc -Wall -I$(INCDIR) -g $(OPTDEF) -o pipsecd tunip.c -L$(LIBDIR) $(OPTLIB) -lcrypto
++	gcc -Wall $(INCDIR) -g $(OPTDEF) -o pipsecd tunip.c $(LIBDIR) $(OPTLIB) -lcrypto $(DEFINES)
  
  install: pipsecd
- 	install pipsecd /usr/local/sbin/
+-	install pipsecd /usr/local/sbin/
++	install pipsecd $(PREFIX)/sbin/
+ 
+ tar:
+ 	tar cfvz tunip.tar.gz $(DISTFILES)
diff -urN pipsecd.orig/patches/patch-ac pipsecd/patches/patch-ac
--- pipsecd.orig/patches/patch-ac	Thu Oct 14 09:39:28 1999
+++ pipsecd/patches/patch-ac	Thu Oct 14 13:11:27 1999
@@ -1,6 +1,6 @@
---- README.port.orig	Mon Aug 16 12:58:09 1999
-+++ README.port	Mon Aug 16 13:03:28 1999
-@@ -0,0 +1,19 @@
+--- README.port.orig	Thu Oct 14 12:17:02 1999
++++ README.port	Thu Oct 14 13:10:50 1999
+@@ -0,0 +1,44 @@
 +This is the ported version of the pipsecd program
 +from Pierre Beyssac at the ENST.
 +
@@ -13,7 +13,32 @@
 +Pierre Beyssac.
 +
 +You can obtain the source distribution of pipsecd at:
-+http://www.enst.fr/~beyssac/tunip.tar.gz
++http://www.enst.fr/~beyssac/pipsec/
++or
++http://www.mindstep.com/pipsec/
++
++
++Version 19991014 (pipsec-19991014.tar.gz):
++------------------------------------------
++
++This version adds the following fetures:
++- tunnels over UDP and ICMP packets (in authentication mode only).
++- logging of events to syslog
++- startup script in /usr/local/etc/rc.d (port only)
++
++
++Version 19990831 (pipsec-19990831.tar.gz):
++------------------------------------------
++
++No new feature.
++Source distribution mirrored at http://www.mindstep.com/pipsec/
++
++
++Version 19990519:
++-----------------
++
++Initial version for the ports distribution.
++
 +
 +Enjoy!
 +
diff -urN pipsecd.orig/patches/patch-ad pipsecd/patches/patch-ad
--- pipsecd.orig/patches/patch-ad	Wed Dec 31 19:00:00 1969
+++ pipsecd/patches/patch-ad	Thu Oct 14 13:01:43 1999
@@ -0,0 +1,5 @@
+--- pipsecd.sh.orig	Thu Oct 14 12:58:43 1999
++++ pipsecd.sh	Thu Oct 14 13:00:38 1999
+@@ -0,0 +1,2 @@
++#!/bin/sh
++cd /usr/local; [ -x sbin/pipsecd -a -f etc/ipsec/pipsecd.conf ] && sbin/pipsecd & && echo -n ' pipsecd'
diff -urN pipsecd.orig/pkg/PLIST pipsecd/pkg/PLIST
--- pipsecd.orig/pkg/PLIST	Thu Oct 14 09:39:28 1999
+++ pipsecd/pkg/PLIST	Thu Oct 14 13:02:18 1999
@@ -1,5 +1,6 @@
 sbin/pipsecd
 etc/ipsec/pipsecd.conf.sample
+etc/rc.d/pipsecd.sh
 share/doc/pipsecd/README
 share/doc/pipsecd/COPYRIGHT
 share/doc/pipsecd/README.port

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991014172749.6347.qmail>