icq console client with encryption support; from

Margarida Sequeira <niness@devilness.org>.
This commit is contained in:
fgsch 2002-09-10 21:32:45 +00:00
parent 5769198ff0
commit faf5c0210e
8 changed files with 186 additions and 0 deletions

24
net/ysmv7/Makefile Normal file
View File

@ -0,0 +1,24 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/09/10 21:32:45 fgsch Exp $
COMMENT= "icq console client with encryption support"
DISTNAME= ysmv7_2_8_0
PKGNAME= ${DISTNAME:S/_/-/:S/_/./g}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ysmv7/}
HOMEPAGE= http://ysmv7.sourceforge.net/
MAINTAINER= Margarida Sequeira <niness@devilness.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
EXTRACT_SUFX= .tgz
CONFIGURE_STYLE= autoconf
.include <bsd.port.mk>

3
net/ysmv7/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (ysmv7_2_8_0.tgz) = 74e0c74a3edce66d60e8d4c971d3f93a
RMD160 (ysmv7_2_8_0.tgz) = 9398c36db26d05974bad279270b7cb6cc9c855c4
SHA1 (ysmv7_2_8_0.tgz) = 62f43b20db224904d1eebb591a034e8710c524e0

View File

@ -0,0 +1,32 @@
$OpenBSD: patch-configure_in,v 1.1.1.1 2002/09/10 21:32:45 fgsch Exp $
--- configure.in.orig Tue Sep 10 13:11:46 2002
+++ configure.in Tue Sep 10 13:12:35 2002
@@ -28,7 +28,11 @@ AC_CHECK_LIB([nsl],
if test "$pthread_libs"; then
CFLAGS="$CFLAGS -DYSM_WITH_THREADS"
- LIBS="$pthread_libs $LIBS"
+ if test `uname -s` = "OpenBSD"; then
+ LIBS="-pthread $LIBS"
+ else
+ LIBS="$pthread_libs $LIBS"
+ fi
else
echo ""
echo "YSM NOTICE"
@@ -43,15 +47,5 @@ fi
AC_SUBST(pthread_libs)
AC_STDC_HEADERS
-
-MANPAGE="ysm.1"
-
-for MANDIR in "/usr/share/man" "/usr/man"
-do
- if test -d $MANDIR ; then
- mandir=$MANDIR;
- break;
- fi
-done
AC_OUTPUT([Makefile src/Makefile src/man/Makefile])

View File

@ -0,0 +1,63 @@
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2002/09/10 21:32:45 fgsch Exp $
--- src/Makefile.in.orig Tue Aug 20 21:49:59 2002
+++ src/Makefile.in Tue Sep 10 13:34:43 2002
@@ -9,10 +9,14 @@ CPPFLAGS= -I. -Irijndael
LIBS= @LIBS@
INSTALL= @INSTALL@
-INSTALL_DIR= /usr/local/bin
+prefix= @prefix@
+exec_prefix= @exec_prefix@
+bindir= @bindir@
+
+DESTDIR=
PROG= ysm
-PROG_FLAGS= $(CFLAGS) $(CPPFLAGS) $(LIBS)
+PROG_FLAGS= $(CFLAGS) $(CPPFLAGS)
SRCS= YSM_Main.c YSM_Network.c YSM_Setup.c YSM_ToolBox.c YSM_Win32.c YSM_Slaves.c YSM_Prompt.c YSM_Help.c YSM_Wrappers.c YSM_Crypt.c
OBJS= $(SRCS:.c=.o)
EXTERN_OBJS= rijndael/rijndael-alg-fst.o rijndael/rijndael-api-fst.o
@@ -26,7 +30,7 @@ $(OBJS): $(SRCS)
$(CC) $(CFLAGS) $(CPPFLAGS) -c $(@:.o=.c) -o $@
$(PROG): $(OBJS) $(EXTERN_OBJS)
- $(CC) $(PROG_FLAGS) $(OBJS) $(EXTERN_OBJS) -o $@
+ $(CC) $(PROG_FLAGS) $(OBJS) $(EXTERN_OBJS) -o $@ $(LIBS)
@echo -e \
"\n"\
"**********************************************************\n"\
@@ -43,24 +47,24 @@ distclean: clean
-rm -f Makefile config.h
install-prog:
- @if [ ! -d $(INSTALL_DIR) ]; then \
- mkdir -p $(INSTALL_DIR); \
+ @if [ ! -d $(DESTDIR)$(bindir) ]; then \
+ mkdir -p $(DESTDIR)$(bindir); \
fi
- @if [ -f "$(INSTALL_DIR)/$(PROG)" ]; then \
- mv -f "$(INSTALL_DIR)/$(PROG)" "$(INSTALL_DIR)/$(PROG).old"; \
+ @if [ -f "$(DESTDIR)$(bindir)/$(PROG)" ]; then \
+ mv -f "$(DESTDIR)$(bindir)/$(PROG)" "$(DESTDIR)$(bindir)/$(PROG).old"; \
fi
- $(INSTALL) -s $(PROG) $(INSTALL_DIR)/ ;
+ $(INSTALL) -s $(PROG) $(DESTDIR)$(bindir)/ ;
@echo -e \
" **********************************************************\n"\
"** YSM has been installed !! **\n"\
- "** Please read the YSM_Manual for further **\n"\
- "** usage and configuration details. **\n"\
+ "** Please read the YSM man page, ysm(1), for **\n"\
+ "** further usage and configuration details. **\n"\
"**********************************************************\n"
uninstall-prog:
- @if [ -f "$(INSTALL_DIR)/$(PROG)" ]; then \
- rm -f "$(INSTALL_DIR)/$(PROG)"; \
+ @if [ -f "$(DESTDIR)$(bindir)/$(PROG)" ]; then \
+ rm -f "$(DESTDIR)$(bindir)/$(PROG)"; \
fi
@echo -e \
"\n"\

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_YSM_h,v 1.1.1.1 2002/09/10 21:32:45 fgsch Exp $
--- src/YSM.h.orig Thu Sep 5 14:55:55 2002
+++ src/YSM.h Thu Sep 5 14:56:05 2002
@@ -122,7 +122,7 @@ typedef int DWORD;
#define YSM_SILENT_SLAVES_STATUS
/* Undocumented hoh */
-#define YSM_WAR_MODE
+#undef YSM_WAR_MODE
/* support for Monochrome ! */

View File

@ -0,0 +1,36 @@
$OpenBSD: patch-src_man_Makefile_in,v 1.1.1.1 2002/09/10 21:32:45 fgsch Exp $
--- src/man/Makefile.in.orig Tue Aug 20 21:49:59 2002
+++ src/man/Makefile.in Thu Sep 5 20:34:50 2002
@@ -2,23 +2,26 @@
# YSM ICQ Client < Manual Page Installation >
#
-prefix= /usr/local
+prefix= @prefix@
MANDIR= @mandir@
MAN= ysm.1
OMAN= $(MAN:=.gz)
INSTALL = @INSTALL@
+DESTDIR=
+
all:
@echo "all done"
install maninstall: $(OMAN)
$(OMAN):
- @if [ ! -d $(MANDIR)/man$(subst .,,$(suffix $(@:%.gz=%))) ]; then \
- mkdir -p $(MANDIR)/man$(subst .,,$(suffix $(@:%.gz=%))); \
- fi
- -gzip -cf $(@:%.gz=%) > $(MANDIR)/man$(subst .,,$(suffix $(@:%.gz=%)))/$@
-
+ @suffix=`echo $(MAN) | sed -e 's/^.*\.\(.\)/\1/'`; \
+ if [ ! -d $(DESTDIR)$(MANDIR)/man$${suffix} ]; then \
+ mkdir -p $(DESTDIR)$(MANDIR)/man$${suffix}; \
+ fi ; \
+ $(INSTALL) $(MAN) $(DESTDIR)$(MANDIR)/man$${suffix}
+# gzip -cf $(MAN) > $(DESTDIR)$(MANDIR)/man$${suffix}/$(OMAN)
.PHONY: clean distclean
clean:

13
net/ysmv7/pkg/DESCR Normal file
View File

@ -0,0 +1,13 @@
YSM (You Sick Me) is an ICQ console client for the ICQ protocol v7,
supporting features like:
*Crypto between YSM clients using a rijndael algorithm implementation
[AES in CBC mode].
*Downloading server-side stored ICQ contacts.
*Uploading/Saving in the ICQ servers local ICQ contacts.
*ICQ Clients Fingerprinting, makes possible the recognition of
remote ICQ clients.
*Quick and easy to compile code, leaving aside -must have- library
requirements.
WWW: ${HOMEPAGE}

3
net/ysmv7/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/09/10 21:32:45 fgsch Exp $
bin/ysm
man/man1/ysm.1