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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
diff --git a/ChangeLog b/ChangeLog
index 22bb3b3..42e37ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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".
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_ */