aboutsummaryrefslogtreecommitdiffstats
path: root/net/silc-server
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-01-01 04:33:56 +0800
committerlioux <lioux@FreeBSD.org>2003-01-01 04:33:56 +0800
commit815bccae120a1df4fc1069c0797d0b5e57098338 (patch)
treef813ba8eace70007de55676b1e66deb97aec37ac /net/silc-server
parent6936649e5b0d29c7619f28cb053b6102a60efab0 (diff)
downloadfreebsd-ports-gnome-815bccae120a1df4fc1069c0797d0b5e57098338.tar.gz
freebsd-ports-gnome-815bccae120a1df4fc1069c0797d0b5e57098338.tar.zst
freebsd-ports-gnome-815bccae120a1df4fc1069c0797d0b5e57098338.zip
Emergency update to 0.9.10.1: previous port version is incompatible
with current SILC protocol Prompted by: many Approved by: portmgr (self)
Diffstat (limited to 'net/silc-server')
-rw-r--r--net/silc-server/Makefile39
-rw-r--r--net/silc-server/distinfo2
-rw-r--r--net/silc-server/files/patch-Makefile.in68
-rw-r--r--net/silc-server/files/patch-configure15
-rw-r--r--net/silc-server/files/patch-silcd:Makefile.in25
-rw-r--r--net/silc-server/pkg-plist19
6 files changed, 114 insertions, 54 deletions
diff --git a/net/silc-server/Makefile b/net/silc-server/Makefile
index eee8f08de899..e5de519d8841 100644
--- a/net/silc-server/Makefile
+++ b/net/silc-server/Makefile
@@ -6,15 +6,23 @@
#
PORTNAME= silc
-PORTVERSION= 0.9.5
+PORTVERSION= 0.9.10.1
CATEGORIES= net ipv6 security
-MASTER_SITES= http://www.silcnet.org/download/server/sources/ \
- ftp://ftp.silcnet.org/silc/server/sources/ \
- http://public.www.planetmirror.com/pub/silcnet/server/sources/ \
- ftp://ftp.au.silcnet.org/pub/silcnet/server/sources/ \
- http://www.mirrors.wiretapped.net/security/network-security/silc/server/sources/ \
- ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/silc/server/sources/ \
- ftp://ftp.no.silcnet.org/pub/silc/server/sources/
+MASTER_SITES= http://www.silcnet.org/download/%SUBDIR%/ \
+ http://ftp.silcnet.org/%SUBDIR%/ \
+ http://www.planetmirror.com/pub/silcnet/%SUBDIR%/ \
+ http://www.nic.funet.fi/pub/mirrors/ftp.silcnet.org/silc/%SUBDIR%/ \
+ http://www.fi.silcnet.org/download/%SUBDIR%/ \
+ http://munitions.vipul.net/software/mirrors/silc/%SUBDIR%/ \
+ http://www.pl.silcnet.org/download/%SUBDIR%/ \
+ http://ftp.sunet.se/pub/network/silc/%SUBDIR%/ \
+ ftp://ftp.silcnet.org/silc/%SUBDIR%/ \
+ ftp://ftp.au.silcnet.org/pub/silcnet/%SUBDIR%/ \
+ ftp://ftp.funet.fi/pub/mirrors/ftp.silcnet.org/silc/%SUBDIR%/ \
+ ftp://ftp.pl.silcnet.org/pub/silc/%SUBDIR%/ \
+ ftp://ftp.sunet.se/pub/network/silc/%SUBDIR%/ \
+ ftp://ftp.uk.silcnet.org/pub/silc/%SUBDIR%/
+MASTER_SITE_SUBDIR= server/sources
PKGNAMESUFFIX= -server
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
@@ -25,12 +33,14 @@ RUN_DEPENDS= ${LOCALBASE}/share/doc/silc/CREDITS:${.CURDIR}/../silc-doc
.endif
USE_BZIP2= yes
+USE_LIBTOOL= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-silcd-config-file=${PREFIX}/etc/${PORTNAME}/silcd.conf \
--with-etcdir=${PREFIX}/etc/${PORTNAME} \
--with-helpdir=share/${PORTNAME}/help \
--with-logsdir=${PORTNAME}/logs \
+ --with-simdir=${PREFIX}/lib/silcsim/server \
--with-silcd-pid-file=/var/run/silcd.pid
INSTALLS_SHLIB= yes
PLIST_SUB= INSTALL_DIR="${INSTALL_DIR}"
@@ -38,6 +48,9 @@ PKGDEINSTALL= ${PKGINSTALL}
INSTALL_DIR?= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755
+MAN5= silcd.conf.5
+MAN8= silcd.8
+
.ifndef(WITH_PTHREADS)
CONFIGURE_ARGS+= --disable-threads
.else
@@ -61,6 +74,16 @@ post-patch:
.ifndef(WITH_OPTIMIZED_CFLAGS)
@${REINPLACE_CMD} -e 's/-O2//' ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.endif
+.ifdef(NOPORTDOCS)
+ @${REINPLACE_CMD} -E -e \
+ 's/(install-data-hook:.*)example-install/\1/' \
+ ${WRKSRC}/Makefile.in
+.endif
+ @${REINPLACE_CMD} -e 's/--libtool-enable-shared//' \
+ ${WRKSRC}/lib/silccrypt/Makefile.in
+
+post-configure:
+ @${CP} ${LOCALBASE}/bin/libtool ${WRKSRC}
post-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
diff --git a/net/silc-server/distinfo b/net/silc-server/distinfo
index e63e40b238f8..70694ef241b7 100644
--- a/net/silc-server/distinfo
+++ b/net/silc-server/distinfo
@@ -1 +1 @@
-MD5 (silc-server-0.9.5.tar.bz2) = 031796371828a92debcec9e33bab42e1
+MD5 (silc-server-0.9.10.1.tar.bz2) = 47f687c8261f31befd16b8ae2fad2716
diff --git a/net/silc-server/files/patch-Makefile.in b/net/silc-server/files/patch-Makefile.in
index c672907a128d..0b606fc49091 100644
--- a/net/silc-server/files/patch-Makefile.in
+++ b/net/silc-server/files/patch-Makefile.in
@@ -1,30 +1,37 @@
---- Makefile.in.orig Mon Jul 1 13:55:06 2002
-+++ Makefile.in Wed Jul 17 18:43:13 2002
-@@ -151,7 +151,7 @@
+--- Makefile.in.orig Thu Dec 5 19:43:42 2002
++++ Makefile.in Tue Dec 31 18:26:52 2002
+@@ -231,7 +231,7 @@
AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
-COMMONDIRS = lib irssi silc silcd doc includes
-+COMMONDIRS = lib irssi silcd includes
++COMMONDIRS = lib irssi silcd doc includes
# Sub directories defined by "distributions" file, and can be overridden
# with ./configure, which substitutes these variables.
-@@ -531,9 +531,6 @@
-
+@@ -700,7 +700,6 @@
install-dirs:
-mkdir -p $(etcdir)
-- -mkdir -p $(modulesdir)
-- -mkdir -p $(helpdir)
+ -mkdir -p $(modulesdir)
- -mkdir -p $(docdir)
- -mkdir -p $(logsdir)
- generate-server-key:
-@@ -568,21 +565,17 @@
- $(INSTALL_DATA) $(srcdir)/doc/examples/cell* $(docdir)/examples/
+ install-dirs-client: install-dirs
+ -mkdir -p $(helpdir)
+@@ -728,8 +727,7 @@
+ $(INSTALL_DATA) $(srcdir)/doc/silc.1 $(mandir)/man1; \
+ fi
+
+-doc-install-server: doc-install
+- -$(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf $(docdir)/
++doc-install-server:
+ -@if test -f $(srcdir)/doc/silcd.8 ; then \
+ $(INSTALL_DATA) $(srcdir)/doc/silcd.8 $(mandir)/man8; \
+ fi
+@@ -746,13 +744,11 @@
+ fi
- etc-install:
+ etc-install-server:
- -@if test '!' -f $(etcdir)/silcd.conf ; then \
-+ -@if test '!' -f $(etcdir)/silcd.conf.sample ; then \
$(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf \
- $(etcdir)/silcd.conf; \
+ $(etcdir)/silcd.conf.sample; \
@@ -32,19 +39,30 @@
- $(etcdir)/silcalgs.conf; \
- chmod go= $(etcdir)/silcd.conf; \
- fi
-- -@if test '!' -f $(etcdir)/silc.conf ; then \
-- $(INSTALL_DATA) $(srcdir)/irssi/silc.conf \
-- $(etcdir)/silc.conf; \
+ $(etcdir)/silcalgs.conf.sample; \
-+ chmod go= $(etcdir)/silcd.conf.sample; \
- fi
++ chmod go= $(etcdir)/silcd.conf.sample
+
+ sim-install:
+ -$(INSTALL_DATA) $(srcdir)/lib/silcsim/*.so $(modulesdir)/
+@@ -764,9 +760,9 @@
+ -cp -R $(srcdir)/tutorial $(prefix)
+
+ examples-install:
+- -mkdir -p $(docdir)/examples/
+- -$(INSTALL_DATA) $(srcdir)/doc/examples/README $(docdir)/examples/
+- -$(INSTALL_DATA) $(srcdir)/doc/examples/silc* $(docdir)/examples/
++ -mkdir -p $(prefix)/share/examples/silc
++ -$(INSTALL_DATA) $(srcdir)/doc/examples/README $(prefix)/share/examples/silc
++ -$(INSTALL_DATA) $(srcdir)/doc/examples/silc* $(prefix)/share/examples/silc
+
+ generate-server-key:
+ -@if test '!' -f $(etcdir)/silcd.pub ; then \
+@@ -775,7 +771,7 @@
--@SILC_DIST_CLIENT_TRUE@install-data-hook: install-dirs sim-install doc-install etc-install
--@SILC_DIST_CLIENT_FALSE@@SILC_DIST_TOOLKIT_TRUE@install-data-hook: install-dirs generate-server-key sim-install doc-install toolkit-install examples-install etc-install
--@SILC_DIST_CLIENT_FALSE@@SILC_DIST_TOOLKIT_FALSE@install-data-hook: install-dirs generate-server-key sim-install doc-install examples-install etc-install
-+@SILC_DIST_CLIENT_TRUE@install-data-hook: install-dirs etc-install
-+@SILC_DIST_CLIENT_FALSE@@SILC_DIST_TOOLKIT_TRUE@install-data-hook: install-dirs etc-install
-+@SILC_DIST_CLIENT_FALSE@@SILC_DIST_TOOLKIT_FALSE@install-data-hook: install-dirs etc-install
+ @SILC_DIST_CLIENT_TRUE@install-data-hook: install-dirs-client sim-install doc-install-client etc-install-client
+ @SILC_DIST_CLIENT_FALSE@@SILC_DIST_TOOLKIT_TRUE@install-data-hook: install-dirs-client install-dirs-server sim-install doc-install-client doc-install-server toolkit-install examples-install etc-install-client etc-install-server generate-server-key
+-@SILC_DIST_CLIENT_FALSE@@SILC_DIST_TOOLKIT_FALSE@install-data-hook: install-dirs-server sim-install doc-install-server examples-install etc-install-server generate-server-key
++@SILC_DIST_CLIENT_FALSE@@SILC_DIST_TOOLKIT_FALSE@install-data-hook: install-dirs-server sim-install doc-install-server examples-install etc-install-server
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
diff --git a/net/silc-server/files/patch-configure b/net/silc-server/files/patch-configure
index 4dbda2cd8a03..855c335539d3 100644
--- a/net/silc-server/files/patch-configure
+++ b/net/silc-server/files/patch-configure
@@ -1,15 +1,6 @@
---- configure.orig Thu Sep 19 18:57:28 2002
-+++ configure Thu Sep 19 18:58:28 2002
-@@ -2626,7 +2626,7 @@
- # value. Do not edit!
- #
- silc_dist=silc-server
--SILC_DIST_SUBDIRS="lib silcd doc includes"
-+SILC_DIST_SUBDIRS="lib silcd includes"
- cat >>confdefs.h <<\EOF
- #define SILC_DIST_SERVER 1
- EOF
-@@ -11978,7 +11978,7 @@
+--- configure.orig Tue Dec 31 17:49:16 2002
++++ configure Tue Dec 31 17:49:55 2002
+@@ -14526,7 +14526,7 @@
fi
;;
*-*-freebsd*)
diff --git a/net/silc-server/files/patch-silcd:Makefile.in b/net/silc-server/files/patch-silcd:Makefile.in
index 7fa1d1b338e8..ab086f70c2ba 100644
--- a/net/silc-server/files/patch-silcd:Makefile.in
+++ b/net/silc-server/files/patch-silcd:Makefile.in
@@ -1,13 +1,22 @@
---- silcd/Makefile.in.orig Wed Jul 17 18:20:09 2002
-+++ silcd/Makefile.in Wed Jul 17 18:20:33 2002
-@@ -259,8 +259,8 @@
+--- silcd/Makefile.in.orig Thu Dec 5 19:43:48 2002
++++ silcd/Makefile.in Tue Dec 31 18:08:15 2002
+@@ -130,7 +130,7 @@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LDFLAGS = @LDFLAGS@
+
+-LIBS = $(SILC_COMMON_LIBS) -lsilc
++LIBS = -L$(top_srcdir)/lib/.libs $(SILC_COMMON_LIBS) -lsilc
+ LIBSILCCLIENT_AGE = @LIBSILCCLIENT_AGE@
+ LIBSILCCLIENT_CURRENT = @LIBSILCCLIENT_CURRENT@
+ LIBSILCCLIENT_REVISION = @LIBSILCCLIENT_REVISION@
+@@ -326,8 +326,8 @@
|| test -f $$p1 \
; then \
- f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
-- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f"; \
-- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f; \
-+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$p"; \
-+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$p; \
+ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
+- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f || exit 1; \
++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$p"; \
++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$p || exit 1; \
else :; fi; \
done
diff --git a/net/silc-server/pkg-plist b/net/silc-server/pkg-plist
index cbd32e43a2be..a15edc83d80a 100644
--- a/net/silc-server/pkg-plist
+++ b/net/silc-server/pkg-plist
@@ -1,4 +1,23 @@
etc/silc/silcalgs.conf.sample
etc/silc/silcd.conf.sample
+lib/libsilc-1.0.so.1
+lib/libsilc.la
+lib/libsilc.so
+lib/silcsim/server/aes.sim.so
+lib/silcsim/server/blowfish.sim.so
+lib/silcsim/server/cast.sim.so
+lib/silcsim/server/md5.sim.so
+lib/silcsim/server/none.sim.so
+lib/silcsim/server/rc5.sim.so
+lib/silcsim/server/rc6.sim.so
+lib/silcsim/server/rsa.sim.so
+lib/silcsim/server/sha1.sim.so
+lib/silcsim/server/twofish.sim.so
sbin/silcd
+%%PORTDOCS%%share/examples/silc/README
+%%PORTDOCS%%share/examples/silc/silcd.prv
+%%PORTDOCS%%share/examples/silc/silcd.pub
+%%PORTDOCS%%@dirrm share/examples/silc
+@dirrm lib/silcsim/server
+@unexec rmdir %D/lib/silcsim 2>/dev/null || true
@unexec rmdir %D/etc/silc 2>/dev/null || true