From a636112284e859557d2acc63c1fb24b2615144ab Mon Sep 17 00:00:00 2001 From: Hector Garcia Date: Wed, 3 Aug 2005 16:12:59 +0000 Subject: [PATCH] General cleanup Changes on Makefile to fix lack of soft links on shared lib. Changes on md5.h to reflect md5c.c. Fixed few packaging problems. --- ChangeLog | 9 +++++++++ Makefile | 6 ++++-- md5.h | 8 ++++---- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 22bb3b3..42e37ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2005-08-03 Hector Garcia + + * Makefile: Fixed to place soft links instead in soname and shared_so + instead of copying files. + * debian/rules: Added --sourcedir=debian/tmp to dh_install so it works + properly. + * md5.h: Commented out all the functions not available on md5c.c + * debian/libbsd-dev: Changed usr/include/bsd/ to usr/include + 2005-07-26 Guillem Jover * Makefile (LIB_INCLUDES): Add "md5.h". diff --git a/Makefile b/Makefile index 3fd83ff..1a08c25 100644 --- a/Makefile +++ b/Makefile @@ -50,10 +50,12 @@ install: libs mkdir -p $(DESTDIR)/usr/lib/ mkdir -p $(DESTDIR)/usr/include/bsd/ install -m644 $(LIB_STATIC) $(DESTDIR)/usr/lib/ - install -m644 $(LIB_SONAME) $(DESTDIR)/usr/lib/ + #install -m644 $(LIB_SONAME) $(DESTDIR)/usr/lib/ install -m644 $(LIB_SHARED) $(DESTDIR)/usr/lib/ - install -m644 $(LIB_SHARED_SO) $(DESTDIR)/usr/lib/ + #install -m644 $(LIB_SHARED_SO) $(DESTDIR)/usr/lib/ install -m644 $(LIB_INCLUDES) $(DESTDIR)/usr/include/bsd/ + cd $(DESTDIR)/usr/lib/ ; ln -fs $(LIB_SHARED) $(LIB_SHARED_SO) + cd $(DESTDIR)/usr/lib/ ; ln -fs $(LIB_SHARED) $(LIB_SONAME) clean: rm -f $(LIB_STATIC_OBJS) diff --git a/md5.h b/md5.h index 4eabbf9..8d709aa 100644 --- a/md5.h +++ b/md5.h @@ -40,9 +40,9 @@ void MD5Init (MD5_CTX *); void MD5Update (MD5_CTX *, const unsigned char *, unsigned int); void MD5Pad (MD5_CTX *); void MD5Final (unsigned char [16], MD5_CTX *); -char * MD5End(MD5_CTX *, char *); -char * MD5File(const char *, char *); -char * MD5FileChunk(const char *, char *, off_t, off_t); -char * MD5Data(const unsigned char *, unsigned int, char *); +//char * MD5End(MD5_CTX *, char *); +//char * MD5File(const char *, char *); +//char * MD5FileChunk(const char *, char *, off_t, off_t); +//char * MD5Data(const unsigned char *, unsigned int, char *); __END_DECLS #endif /* _SYS_MD5_H_ */