View | Details | Raw Unified | Return to bug 115767 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-4 / +121 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	silc
8
PORTNAME=	silc
9
PORTVERSION=	1.1.1
9
PORTVERSION=	1.1.2
10
CATEGORIES=	net ipv6 security
10
CATEGORIES=	net ipv6 security
11
MASTER_SITES=	http://www.silcnet.org/download/%SUBDIR%/ \
11
MASTER_SITES=	http://www.silcnet.org/download/%SUBDIR%/ \
12
		http://ftp.silcnet.org/%SUBDIR%/ \
12
		http://ftp.silcnet.org/%SUBDIR%/ \
Lines 21-28 Link Here
21
		ftp://ftp.pl.silcnet.org/pub/silc/%SUBDIR%/ \
21
		ftp://ftp.pl.silcnet.org/pub/silc/%SUBDIR%/ \
22
		ftp://ftp.sunet.se/pub/network/silc/%SUBDIR%/
22
		ftp://ftp.sunet.se/pub/network/silc/%SUBDIR%/
23
MASTER_SITE_SUBDIR=	client/sources
23
MASTER_SITE_SUBDIR=	client/sources
24
PKGNAMESUFFIX=	-client
24
PKGNAMESUFFIX=	${IRSSI_PLUGIN}-client
25
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
25
DISTNAME=	${PORTNAME}-client-${PORTVERSION}
26
26
27
MAINTAINER=	wxs@atarininja.org
27
MAINTAINER=	wxs@atarininja.org
28
COMMENT=	Secure Internet Live Conferencing (SILC) network client
28
COMMENT=	Secure Internet Live Conferencing (SILC) network client
Lines 35-41 Link Here
35
CONFIGURE_ARGS=	--docdir=${DOCSDIR} \
35
CONFIGURE_ARGS=	--docdir=${DOCSDIR} \
36
		--with-perl=no \
36
		--with-perl=no \
37
		--without-libtoolfix
37
		--without-libtoolfix
38
MAN1=	silc.1
38
MAN1=		silc.1
39
40
PLIST_SUB=	PLUGIN=${PLUGIN}
39
41
40
.ifndef(WITH_PTHREADS)
42
.ifndef(WITH_PTHREADS)
41
CONFIGURE_ARGS+=	--without-pthreads
43
CONFIGURE_ARGS+=	--without-pthreads
Lines 43-48 Link Here
43
CONFIGURE_ENV+=	CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}"
45
CONFIGURE_ENV+=	CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}"
44
.endif
46
.endif
45
47
48
.ifdef(IRSSI_PLUGIN)
49
CONFIGURE_ARGS+=	--with-silc-plugin=${PREFIX}/lib/irssi \
50
			--without-silc-includes
51
CFLAGS+=	-fPIC
52
RUN_DEPENDS=	irssi:${PORTSDIR}/irc/irssi
53
PLUGIN=	"@comment "
54
PLIST_FILES+=	lib/irssi/modules/libfe_common_silc.la \
55
		lib/irssi/modules/libsilc_core.so \
56
		lib/irssi/modules/libfe_common_silc.so \
57
		lib/irssi/modules/libsilc_core.la \
58
		lib/irssi/modules/libfe_silc.so \
59
		lib/irssi/modules/libsilc_core.a \
60
		lib/irssi/modules/libfe_common_silc.so.0 \
61
		lib/irssi/modules/libsilc_core.so.0 \
62
		lib/irssi/modules/libfe_common_silc.a \
63
		share/irssi/help/silc/silc \
64
		share/irssi/help/silc/action \
65
		share/irssi/help/silc/admin \
66
		share/irssi/help/silc/alias \
67
		share/irssi/help/silc/attr \
68
		share/irssi/help/silc/away \
69
		share/irssi/help/silc/ban \
70
		share/irssi/help/silc/beep \
71
		share/irssi/help/silc/bind \
72
		share/irssi/help/silc/cat \
73
		share/irssi/help/silc/cd \
74
		share/irssi/help/silc/channel \
75
		share/irssi/help/silc/clear \
76
		share/irssi/help/silc/close \
77
		share/irssi/help/silc/cmode \
78
		share/irssi/help/silc/connect \
79
		share/irssi/help/silc/cumode \
80
		share/irssi/help/silc/cycle \
81
		share/irssi/help/silc/date \
82
		share/irssi/help/silc/dehilight \
83
		share/irssi/help/silc/detach \
84
		share/irssi/help/silc/disconnect \
85
		share/irssi/help/silc/echo \
86
		share/irssi/help/silc/eval \
87
		share/irssi/help/silc/exec \
88
		share/irssi/help/silc/file \
89
		share/irssi/help/silc/format \
90
		share/irssi/help/silc/getkey \
91
		share/irssi/help/silc/help \
92
		share/irssi/help/silc/hilight \
93
		share/irssi/help/silc/key \
94
		share/irssi/help/silc/ignore \
95
		share/irssi/help/silc/info \
96
		share/irssi/help/silc/invite \
97
		share/irssi/help/silc/invitelist \
98
		share/irssi/help/silc/join \
99
		share/irssi/help/silc/kick \
100
		share/irssi/help/silc/kickban \
101
		share/irssi/help/silc/kill \
102
		share/irssi/help/silc/knockout \
103
		share/irssi/help/silc/lastlog \
104
		share/irssi/help/silc/layout \
105
		share/irssi/help/silc/levels \
106
		share/irssi/help/silc/list \
107
		share/irssi/help/silc/listkeys \
108
		share/irssi/help/silc/load \
109
		share/irssi/help/silc/log \
110
		share/irssi/help/silc/me \
111
		share/irssi/help/silc/mmsg \
112
		share/irssi/help/silc/motd \
113
		share/irssi/help/silc/msg \
114
		share/irssi/help/silc/names \
115
		share/irssi/help/silc/nick \
116
		share/irssi/help/silc/notice \
117
		share/irssi/help/silc/oper \
118
		share/irssi/help/silc/part \
119
		share/irssi/help/silc/perlflush \
120
		share/irssi/help/silc/ping \
121
		share/irssi/help/silc/query \
122
		share/irssi/help/silc/quit \
123
		share/irssi/help/silc/recode \
124
		share/irssi/help/silc/reconnect \
125
		share/irssi/help/silc/reload \
126
		share/irssi/help/silc/rmreconns \
127
		share/irssi/help/silc/rmrejoins \
128
		share/irssi/help/silc/save \
129
		share/irssi/help/silc/sconnect \
130
		share/irssi/help/silc/script \
131
		share/irssi/help/silc/scrollback \
132
		share/irssi/help/silc/server \
133
		share/irssi/help/silc/set \
134
		share/irssi/help/silc/shutdown \
135
		share/irssi/help/silc/silcnet \
136
		share/irssi/help/silc/silcoper \
137
		share/irssi/help/silc/smsg \
138
		share/irssi/help/silc/stats \
139
		share/irssi/help/silc/statusbar \
140
		share/irssi/help/silc/toggle \
141
		share/irssi/help/silc/topic \
142
		share/irssi/help/silc/umode \
143
		share/irssi/help/silc/unalias \
144
		share/irssi/help/silc/unignore \
145
		share/irssi/help/silc/unload \
146
		share/irssi/help/silc/unquery \
147
		share/irssi/help/silc/users \
148
		share/irssi/help/silc/version \
149
		share/irssi/help/silc/watch \
150
		share/irssi/help/silc/whois \
151
		share/irssi/help/silc/whowas \
152
		share/irssi/help/silc/window \
153
		share/irssi/scripts/silc.pl \
154
		share/irssi/themes/plugin.theme
155
PLIST_DIRS=	%%DOCSDIR%% \
156
		share/irssi/help/silc
157
.else
158
PLUGIN=	""
159
.endif
160
46
pre-everything::
161
pre-everything::
47
.ifndef(WITHOUT_IPV6)
162
.ifndef(WITHOUT_IPV6)
48
	@${ECHO_MSG} '===> Define WITHOUT_IPV6 to disable IPv6 support'
163
	@${ECHO_MSG} '===> Define WITHOUT_IPV6 to disable IPv6 support'
Lines 67-75 Link Here
67
	@${REINPLACE_CMD} -e 's/^MODULESDIR="$$silc_prefix/MODULESDIR="$$silc_prefix\/share\/silc/' ${WRKSRC}/configure
182
	@${REINPLACE_CMD} -e 's/^MODULESDIR="$$silc_prefix/MODULESDIR="$$silc_prefix\/share\/silc/' ${WRKSRC}/configure
68
183
69
post-install:
184
post-install:
185
.ifndef(IRSSI_PLUGIN)
70
	@if [ ! -f ${PREFIX}/etc/silc.conf ]; then \
186
	@if [ ! -f ${PREFIX}/etc/silc.conf ]; then \
71
		${CP} -p ${PREFIX}/etc/silc.conf.sample ${PREFIX}/etc/silc.conf ; \
187
		${CP} -p ${PREFIX}/etc/silc.conf.sample ${PREFIX}/etc/silc.conf ; \
72
	fi
188
	fi
189
.endif
73
190
74
.include <bsd.port.pre.mk>
191
.include <bsd.port.pre.mk>
75
192
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (silc-client-1.1.1.tar.bz2) = 68756a29c6b0a7e57bfb2ee114837832
1
MD5 (silc-client-1.1.2.tar.bz2) = 6e440bbfd9a746cf33c020c31ab95a30
2
SHA256 (silc-client-1.1.1.tar.bz2) = f523003f1fca84ca191cb1deac832e6d4f2d8ade94aa1f747cb03fbfbb17d473
2
SHA256 (silc-client-1.1.2.tar.bz2) = 6c03bf28c87eef31c2058acfa132542cc088ae819f2233d520b042eb916d89f4
3
SIZE (silc-client-1.1.1.tar.bz2) = 1620522
3
SIZE (silc-client-1.1.2.tar.bz2) = 1622496
(-)pkg-plist (-114 / +114 lines)
Lines 1-115 Link Here
1
bin/silc
1
%%PLUGIN%%bin/silc
2
%%DATADIR%%/help/action
2
%%PLUGIN%%%%DATADIR%%/help/action
3
%%DATADIR%%/help/admin
3
%%PLUGIN%%%%DATADIR%%/help/admin
4
%%DATADIR%%/help/alias
4
%%PLUGIN%%%%DATADIR%%/help/alias
5
%%DATADIR%%/help/attr
5
%%PLUGIN%%%%DATADIR%%/help/attr
6
%%DATADIR%%/help/away
6
%%PLUGIN%%%%DATADIR%%/help/away
7
%%DATADIR%%/help/ban
7
%%PLUGIN%%%%DATADIR%%/help/ban
8
%%DATADIR%%/help/beep
8
%%PLUGIN%%%%DATADIR%%/help/beep
9
%%DATADIR%%/help/bind
9
%%PLUGIN%%%%DATADIR%%/help/bind
10
%%DATADIR%%/help/cat
10
%%PLUGIN%%%%DATADIR%%/help/cat
11
%%DATADIR%%/help/cd
11
%%PLUGIN%%%%DATADIR%%/help/cd
12
%%DATADIR%%/help/channel
12
%%PLUGIN%%%%DATADIR%%/help/channel
13
%%DATADIR%%/help/clear
13
%%PLUGIN%%%%DATADIR%%/help/clear
14
%%DATADIR%%/help/close
14
%%PLUGIN%%%%DATADIR%%/help/close
15
%%DATADIR%%/help/cmode
15
%%PLUGIN%%%%DATADIR%%/help/cmode
16
%%DATADIR%%/help/connect
16
%%PLUGIN%%%%DATADIR%%/help/connect
17
%%DATADIR%%/help/cumode
17
%%PLUGIN%%%%DATADIR%%/help/cumode
18
%%DATADIR%%/help/cycle
18
%%PLUGIN%%%%DATADIR%%/help/cycle
19
%%DATADIR%%/help/date
19
%%PLUGIN%%%%DATADIR%%/help/date
20
%%DATADIR%%/help/dehilight
20
%%PLUGIN%%%%DATADIR%%/help/dehilight
21
%%DATADIR%%/help/detach
21
%%PLUGIN%%%%DATADIR%%/help/detach
22
%%DATADIR%%/help/disconnect
22
%%PLUGIN%%%%DATADIR%%/help/disconnect
23
%%DATADIR%%/help/echo
23
%%PLUGIN%%%%DATADIR%%/help/echo
24
%%DATADIR%%/help/eval
24
%%PLUGIN%%%%DATADIR%%/help/eval
25
%%DATADIR%%/help/exec
25
%%PLUGIN%%%%DATADIR%%/help/exec
26
%%DATADIR%%/help/file
26
%%PLUGIN%%%%DATADIR%%/help/file
27
%%DATADIR%%/help/format
27
%%PLUGIN%%%%DATADIR%%/help/format
28
%%DATADIR%%/help/getkey
28
%%PLUGIN%%%%DATADIR%%/help/getkey
29
%%DATADIR%%/help/help
29
%%PLUGIN%%%%DATADIR%%/help/help
30
%%DATADIR%%/help/hilight
30
%%PLUGIN%%%%DATADIR%%/help/hilight
31
%%DATADIR%%/help/ignore
31
%%PLUGIN%%%%DATADIR%%/help/ignore
32
%%DATADIR%%/help/info
32
%%PLUGIN%%%%DATADIR%%/help/info
33
%%DATADIR%%/help/invite
33
%%PLUGIN%%%%DATADIR%%/help/invite
34
%%DATADIR%%/help/invitelist
34
%%PLUGIN%%%%DATADIR%%/help/invitelist
35
%%DATADIR%%/help/join
35
%%PLUGIN%%%%DATADIR%%/help/join
36
%%DATADIR%%/help/key
36
%%PLUGIN%%%%DATADIR%%/help/key
37
%%DATADIR%%/help/kick
37
%%PLUGIN%%%%DATADIR%%/help/kick
38
%%DATADIR%%/help/kickban
38
%%PLUGIN%%%%DATADIR%%/help/kickban
39
%%DATADIR%%/help/kill
39
%%PLUGIN%%%%DATADIR%%/help/kill
40
%%DATADIR%%/help/knockout
40
%%PLUGIN%%%%DATADIR%%/help/knockout
41
%%DATADIR%%/help/lastlog
41
%%PLUGIN%%%%DATADIR%%/help/lastlog
42
%%DATADIR%%/help/layout
42
%%PLUGIN%%%%DATADIR%%/help/layout
43
%%DATADIR%%/help/levels
43
%%PLUGIN%%%%DATADIR%%/help/levels
44
%%DATADIR%%/help/list
44
%%PLUGIN%%%%DATADIR%%/help/list
45
%%DATADIR%%/help/listkeys
45
%%PLUGIN%%%%DATADIR%%/help/listkeys
46
%%DATADIR%%/help/load
46
%%PLUGIN%%%%DATADIR%%/help/load
47
%%DATADIR%%/help/log
47
%%PLUGIN%%%%DATADIR%%/help/log
48
%%DATADIR%%/help/me
48
%%PLUGIN%%%%DATADIR%%/help/me
49
%%DATADIR%%/help/motd
49
%%PLUGIN%%%%DATADIR%%/help/motd
50
%%DATADIR%%/help/mmsg
50
%%PLUGIN%%%%DATADIR%%/help/mmsg
51
%%DATADIR%%/help/msg
51
%%PLUGIN%%%%DATADIR%%/help/msg
52
%%DATADIR%%/help/names
52
%%PLUGIN%%%%DATADIR%%/help/names
53
%%DATADIR%%/help/nick
53
%%PLUGIN%%%%DATADIR%%/help/nick
54
%%DATADIR%%/help/notice
54
%%PLUGIN%%%%DATADIR%%/help/notice
55
%%DATADIR%%/help/oper
55
%%PLUGIN%%%%DATADIR%%/help/oper
56
%%DATADIR%%/help/part
56
%%PLUGIN%%%%DATADIR%%/help/part
57
%%DATADIR%%/help/perlflush
57
%%PLUGIN%%%%DATADIR%%/help/perlflush
58
%%DATADIR%%/help/ping
58
%%PLUGIN%%%%DATADIR%%/help/ping
59
%%DATADIR%%/help/query
59
%%PLUGIN%%%%DATADIR%%/help/query
60
%%DATADIR%%/help/quit
60
%%PLUGIN%%%%DATADIR%%/help/quit
61
%%DATADIR%%/help/recode
61
%%PLUGIN%%%%DATADIR%%/help/recode
62
%%DATADIR%%/help/reconnect
62
%%PLUGIN%%%%DATADIR%%/help/reconnect
63
%%DATADIR%%/help/reload
63
%%PLUGIN%%%%DATADIR%%/help/reload
64
%%DATADIR%%/help/rmreconns
64
%%PLUGIN%%%%DATADIR%%/help/rmreconns
65
%%DATADIR%%/help/rmrejoins
65
%%PLUGIN%%%%DATADIR%%/help/rmrejoins
66
%%DATADIR%%/help/save
66
%%PLUGIN%%%%DATADIR%%/help/save
67
%%DATADIR%%/help/sconnect
67
%%PLUGIN%%%%DATADIR%%/help/sconnect
68
%%DATADIR%%/help/script
68
%%PLUGIN%%%%DATADIR%%/help/script
69
%%DATADIR%%/help/scrollback
69
%%PLUGIN%%%%DATADIR%%/help/scrollback
70
%%DATADIR%%/help/server
70
%%PLUGIN%%%%DATADIR%%/help/server
71
%%DATADIR%%/help/set
71
%%PLUGIN%%%%DATADIR%%/help/set
72
%%DATADIR%%/help/shutdown
72
%%PLUGIN%%%%DATADIR%%/help/shutdown
73
%%DATADIR%%/help/silcnet
73
%%PLUGIN%%%%DATADIR%%/help/silcnet
74
%%DATADIR%%/help/silcoper
74
%%PLUGIN%%%%DATADIR%%/help/silcoper
75
%%DATADIR%%/help/smsg
75
%%PLUGIN%%%%DATADIR%%/help/smsg
76
%%DATADIR%%/help/stats
76
%%PLUGIN%%%%DATADIR%%/help/stats
77
%%DATADIR%%/help/statusbar
77
%%PLUGIN%%%%DATADIR%%/help/statusbar
78
%%DATADIR%%/help/toggle
78
%%PLUGIN%%%%DATADIR%%/help/toggle
79
%%DATADIR%%/help/topic
79
%%PLUGIN%%%%DATADIR%%/help/topic
80
%%DATADIR%%/help/umode
80
%%PLUGIN%%%%DATADIR%%/help/umode
81
%%DATADIR%%/help/unalias
81
%%PLUGIN%%%%DATADIR%%/help/unalias
82
%%DATADIR%%/help/unignore
82
%%PLUGIN%%%%DATADIR%%/help/unignore
83
%%DATADIR%%/help/unload
83
%%PLUGIN%%%%DATADIR%%/help/unload
84
%%DATADIR%%/help/unquery
84
%%PLUGIN%%%%DATADIR%%/help/unquery
85
%%DATADIR%%/help/users
85
%%PLUGIN%%%%DATADIR%%/help/users
86
%%DATADIR%%/help/version
86
%%PLUGIN%%%%DATADIR%%/help/version
87
%%DATADIR%%/help/watch
87
%%PLUGIN%%%%DATADIR%%/help/watch
88
%%DATADIR%%/help/whois
88
%%PLUGIN%%%%DATADIR%%/help/whois
89
%%DATADIR%%/help/whowas
89
%%PLUGIN%%%%DATADIR%%/help/whowas
90
%%DATADIR%%/help/window
90
%%PLUGIN%%%%DATADIR%%/help/window
91
%%DATADIR%%/themes/default.theme
91
%%PLUGIN%%%%DATADIR%%/themes/default.theme
92
%%DATADIR%%/themes/plugin.theme
92
%%PLUGIN%%%%DATADIR%%/themes/plugin.theme
93
%%DATADIR%%/scripts/autoop.pl
93
%%PLUGIN%%%%DATADIR%%/scripts/autoop.pl
94
%%DATADIR%%/scripts/autorejoin.pl
94
%%PLUGIN%%%%DATADIR%%/scripts/autorejoin.pl
95
%%DATADIR%%/scripts/buf.pl
95
%%PLUGIN%%%%DATADIR%%/scripts/buf.pl
96
%%DATADIR%%/scripts/command.pl
96
%%PLUGIN%%%%DATADIR%%/scripts/command.pl
97
%%DATADIR%%/scripts/dns.pl
97
%%PLUGIN%%%%DATADIR%%/scripts/dns.pl
98
%%DATADIR%%/scripts/kills.pl
98
%%PLUGIN%%%%DATADIR%%/scripts/kills.pl
99
%%DATADIR%%/scripts/mail.pl
99
%%PLUGIN%%%%DATADIR%%/scripts/mail.pl
100
%%DATADIR%%/scripts/mlock.pl
100
%%PLUGIN%%%%DATADIR%%/scripts/mlock.pl
101
%%DATADIR%%/scripts/msg-event.pl
101
%%PLUGIN%%%%DATADIR%%/scripts/msg-event.pl
102
%%DATADIR%%/scripts/quitmsg.pl
102
%%PLUGIN%%%%DATADIR%%/scripts/quitmsg.pl
103
%%DATADIR%%/scripts/redirect.pl
103
%%PLUGIN%%%%DATADIR%%/scripts/redirect.pl
104
%%DATADIR%%/scripts/scriptassist.pl
104
%%PLUGIN%%%%DATADIR%%/scripts/scriptassist.pl
105
%%DATADIR%%/scripts/silc.pl
105
%%PLUGIN%%%%DATADIR%%/scripts/silc.pl
106
%%DATADIR%%/scripts/splitlong.pl
106
%%PLUGIN%%%%DATADIR%%/scripts/splitlong.pl
107
%%DATADIR%%/scripts/usercount.pl
107
%%PLUGIN%%%%DATADIR%%/scripts/usercount.pl
108
@unexec if cmp -s %D/etc/silc.conf.sample %D/etc/silc.conf; then rm -f %D/etc/silc.conf; fi
108
%%PLUGIN%%@unexec if cmp -s %D/etc/silc.conf.sample %D/etc/silc.conf; then rm -f %D/etc/silc.conf; fi
109
etc/silc.conf.sample
109
etc/silc.conf.sample
110
@exec if [ ! -f %D/etc/silc.conf ] ; then cp -p %D/%F %B/silc.conf; fi
110
%%PLUGIN%%@exec if [ ! -f %D/etc/silc.conf ] ; then cp -p %D/%F %B/silc.conf; fi
111
@dirrm %%DATADIR%%/themes
111
%%PLUGIN%%@dirrm %%DATADIR%%/themes
112
@dirrm %%DATADIR%%/help
112
%%PLUGIN%%@dirrm %%DATADIR%%/help
113
@dirrm %%DATADIR%%/scripts
113
%%PLUGIN%%@dirrm %%DATADIR%%/scripts
114
@dirrm %%DATADIR%%
114
%%PLUGIN%%@dirrm %%DATADIR%%
115
@dirrm %%DOCSDIR%%
115
%%PLUGIN%%@dirrm %%DOCSDIR%%

Return to bug 115767