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.
This commit is contained in:
Hector Garcia 2005-08-03 16:12:59 +00:00 committed by Guillem Jover
parent 8928a72173
commit a636112284
3 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,12 @@
2005-08-03 Hector Garcia <hector@debian.org>
* 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 <guillem@debian.org>
* Makefile (LIB_INCLUDES): Add "md5.h".

View File

@ -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)

8
md5.h
View File

@ -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_ */