Initial import of si-0.3.
silc improved is a SILC client without an user interface. It does output via files and input throught FIFOs. Most features of SILC are implemented. Lots of testing and help from sthen@. Thank you! ok sthen@
This commit is contained in:
parent
2f3ebd0ca8
commit
6662a88d8a
22
net/si/Makefile
Normal file
22
net/si/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/12/08 11:23:08 bernd Exp $
|
||||
|
||||
COMMENT = minimalistic SILC client
|
||||
|
||||
DISTNAME = si-0.3
|
||||
CATEGORIES = net
|
||||
|
||||
# GPLv2/MIT
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MASTER_SITES = http://dokucode.de/files/
|
||||
|
||||
MODULES = converters/libiconv
|
||||
WANTLIB = c
|
||||
LIB_DEPENDS = silc,silcclient::devel/silc-toolkit
|
||||
|
||||
NO_REGRESS = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
net/si/distinfo
Normal file
5
net/si/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (si-0.3.tar.gz) = x2fgLxUP3RsqCApVSjcxwA==
|
||||
RMD160 (si-0.3.tar.gz) = lxmQmZi3ui00q83mqwXHNWcNU8U=
|
||||
SHA1 (si-0.3.tar.gz) = PCPMFreUEIEkAS8wVKzismxMBaQ=
|
||||
SHA256 (si-0.3.tar.gz) = KDVVcaWKJW1I0Svg7b4IzxHCC5DB7MEtHdeDkrrTQEs=
|
||||
SIZE (si-0.3.tar.gz) = 33421
|
29
net/si/patches/patch-Makefile
Normal file
29
net/si/patches/patch-Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2008/12/08 11:23:08 bernd Exp $
|
||||
--- Makefile.orig Mon May 28 17:27:11 2007
|
||||
+++ Makefile Mon Nov 3 17:52:23 2008
|
||||
@@ -1,6 +1,3 @@
|
||||
-CC=gcc
|
||||
-prefix=/usr/local
|
||||
-DESTDIR=
|
||||
TARGET=si
|
||||
|
||||
FILES=si.c mit.c mm.c buddylist.c
|
||||
@@ -25,14 +22,10 @@ si.o: ${FILES}
|
||||
clean:
|
||||
rm -f ${TARGET} *~ *.o *core
|
||||
install: all
|
||||
- @mkdir -p ${DESTDIR}${DOCDIR}
|
||||
- @mkdir -p ${DESTDIR}${BINDIR}
|
||||
- @mkdir -p ${DESTDIR}${MAN1DIR}
|
||||
-
|
||||
- @install -d ${DESTDIR}${BINDIR} ${DESTDIR}${MAN1DIR}
|
||||
- @install -m 644 COPYING README FAQ buddylist ${DESTDIR}${DOCDIR}
|
||||
- @install -m 775 si ${DESTDIR}${BINDIR}
|
||||
- @install -m 444 si.1 ${DESTDIR}${MAN1DIR}
|
||||
+ @${BSD_INSTALL_DATA_DIR} ${DOCDIR}
|
||||
+ @${BSD_INSTALL_DATA} COPYING README FAQ ${DOCDIR}
|
||||
+ @${BSD_INSTALL_PROGRAM} si ${BINDIR}
|
||||
+ @${BSD_INSTALL_MAN} si.1 ${MAN1DIR}
|
||||
@echo "installed si"
|
||||
|
||||
uninstall:
|
29
net/si/patches/patch-config_mk
Normal file
29
net/si/patches/patch-config_mk
Normal file
@ -0,0 +1,29 @@
|
||||
$OpenBSD: patch-config_mk,v 1.1.1.1 2008/12/08 11:23:08 bernd Exp $
|
||||
--- config.mk.orig Mon Nov 3 17:45:30 2008
|
||||
+++ config.mk Mon Nov 3 17:45:32 2008
|
||||
@@ -1,9 +1,9 @@
|
||||
# customize to fit your system
|
||||
|
||||
# paths
|
||||
-PREFIX = /usr/local
|
||||
+PREFIX ?= /usr/local
|
||||
BINDIR = ${PREFIX}/bin
|
||||
-MANDIR = ${PREFIX}/share/man
|
||||
+MANDIR = ${PREFIX}/man
|
||||
MAN1DIR = ${MANDIR}/man1
|
||||
DOCDIR = ${PREFIX}/share/doc/si
|
||||
|
||||
@@ -14,9 +14,9 @@ LIBS = `pkg-config --libs silc silcclient`
|
||||
VERSION=0.3
|
||||
|
||||
## change DESTDIR to install to a different root
|
||||
-DESTDIR =
|
||||
+DESTDIR ?=
|
||||
|
||||
# # compiler
|
||||
-CC = gcc
|
||||
-CFLAGS = -ggdb -O0 -W ${INCLUDES} -DVERSION=\"${VERSION}\" -DSILC_DIST_SKR -DSILC_DIST_TMA
|
||||
-LDFLAGS = ${LIBS}
|
||||
+CC ?= gcc
|
||||
+CFLAGS += -W ${INCLUDES} -DVERSION=\"${VERSION}\" -DSILC_DIST_SKR -DSILC_DIST_TMA
|
||||
+LDFLAGS += ${LIBS}
|
12
net/si/patches/patch-si_c
Normal file
12
net/si/patches/patch-si_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-si_c,v 1.1.1.1 2008/12/08 11:23:08 bernd Exp $
|
||||
--- si.c.orig Fri Nov 14 20:51:38 2008
|
||||
+++ si.c Fri Nov 14 20:51:56 2008
|
||||
@@ -2143,7 +2143,7 @@ SilcClientOperations ops = {
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
- char c;
|
||||
+ int c;
|
||||
int do_fork = 0;
|
||||
|
||||
while (1) {
|
2
net/si/pkg/DESCR
Normal file
2
net/si/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
silc improved is a SILC client without an user interface. It does output via
|
||||
files and input throught FIFOs. Most features of SILC are implemented.
|
7
net/si/pkg/PLIST
Normal file
7
net/si/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/12/08 11:23:08 bernd Exp $
|
||||
@bin bin/si
|
||||
@man man/man1/si.1
|
||||
share/doc/si/
|
||||
share/doc/si/COPYING
|
||||
share/doc/si/FAQ
|
||||
share/doc/si/README
|
Loading…
Reference in New Issue
Block a user