Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/utils
In directory vz-cvs-3.sog:/tmp/cvs-serv32048

Added Files:
        apg.info apg.patch 
Log Message:
to 10.7

--- NEW FILE: apg.info ---
Package: apg 
Version: 2.2.3
Revision: 3
Description: Automated Password Generator
Homepage: http://www.adel.nursat.kz/apg/
DescDetail: <<
apg generates several random passwords.  It  uses  several
password  generation  algorithms  (currently  two)  and  a
built-in pseudo random number generator.
This package only includes the standalone version.
<<
License: BSD
DocFiles: CHANGES COPYING INSTALL README THANKS TODO
Maintainer: Steffen Prohaska <proha...@zib.de> 

Source: http://www.adel.nursat.kz/apg/download/%n-%v.tar.gz
Source-MD5: 3b3fc4f11e90635519fe627c1137c9ac

BuildDepends: fink (>= 0.24.12-1)
PatchFile: %n.patch
PatchFile-MD5: 11530aff38361a058d3763a98038d1e4

CompileScript: <<
make standalone
<<
InstallScript: <<
make install INSTALL_PREFIX=%i APG_BIN_DIR=/bin APG_MAN_DIR=/share/man/man1 
APGD_BIN_DIR=/sbin APGD_MAN_DIR=/share/man/man8
<<
DescPort: <<
2.2.3-3: fixed install process (no need to change files to root), fixed compile 
warning int/long cast
2.2.3-2: fixed License class, added homepage
Patched Makefile:
- no need for -lcrypt
- fixed install target to be dependent on compile target
<<

--- NEW FILE: apg.patch ---
diff -ru2N apg-2.2.3/Makefile apg-2.2.3-patched/Makefile
--- apg-2.2.3/Makefile  Thu Aug  7 17:40:30 2003
+++ apg-2.2.3-patched/Makefile  Fri Dec 10 08:51:00 2004
@@ -14,5 +14,5 @@
 # You should comment the line below ('LIBS= -lcrypt')for QNX RTP
 # 6.1.0, OpenBSD 2.8 and above, WIN32 (+MinGW)
-LIBS = -lcrypt
+#LIBS = -lcrypt
 LIBM = -lm
 # Use lines below for cygwin
@@ -75,7 +75,4 @@
 
 # ====== YOU DO NOT NEED TO MODIFY ANYTHING BELOW THIS LINE ======
-# Find group ID for user root
-FIND_GROUP = `grep '^root:' /etc/passwd | awk -F: '{ print $$4 }'`
-
 PROGNAME = apg
 CS_PROGNAME = apgd
@@ -110,9 +107,9 @@
        strip ${BFM_PROGNAME}
 
-install:
+install: apg
        if test -x ./apg; then \
 ./mkinstalldirs ${INSTALL_PREFIX}${APG_BIN_DIR}; \
 ./mkinstalldirs ${INSTALL_PREFIX}${APG_MAN_DIR}; \
-./install-sh -c -m 0755 -o root -g ${FIND_GROUP} ./apg 
${INSTALL_PREFIX}${APG_BIN_DIR}; \
+./install-sh -c -m 0755 ./apg ${INSTALL_PREFIX}${APG_BIN_DIR}; \
 ./install-sh -c -m 0444 ./doc/man/apg.1 ${INSTALL_PREFIX}${APG_MAN_DIR}; \
 fi
@@ -120,5 +117,5 @@
 ./mkinstalldirs ${INSTALL_PREFIX}${APGD_BIN_DIR}; \
 ./mkinstalldirs ${INSTALL_PREFIX}${APGD_MAN_DIR}; \
-./install-sh -c -m 0755 -o root -g ${FIND_GROUP} ./apgd 
${INSTALL_PREFIX}${APGD_BIN_DIR}; \
+./install-sh -c -m 0755 ./apgd ${INSTALL_PREFIX}${APGD_BIN_DIR}; \
 ./install-sh -c -m 0444 ./doc/man/apgd.8 ${INSTALL_PREFIX}${APGD_MAN_DIR}; \
 fi
@@ -126,5 +123,5 @@
 ./mkinstalldirs ${INSTALL_PREFIX}${APG_BIN_DIR}; \
 ./mkinstalldirs ${INSTALL_PREFIX}${APG_MAN_DIR}; \
-./install-sh -c -m 0755 -o root -g ${FIND_GROUP} ./apgbfm 
${INSTALL_PREFIX}${APG_BIN_DIR}; \
+./install-sh -c -m 0755 ./apgbfm ${INSTALL_PREFIX}${APG_BIN_DIR}; \
 ./install-sh -c -m 0444 ./doc/man/apgbfm.1 ${INSTALL_PREFIX}${APG_MAN_DIR}; \
 fi
diff -ru2N apg-2.2.3/apg.c apg-2.2.3-patched/apg.c
--- apg-2.2.3/apg.c     Fri Sep 12 19:46:27 2003
+++ apg-2.2.3-patched/apg.c     Fri Dec 10 08:56:49 2004
@@ -572,5 +572,5 @@
  UINT32 prom[2] = { 0L, 0L };
  UINT32 sdres = 0L;
- printf ("\nPlease enter some random data (only first %d are significant)\n", 
sizeof(prom));
+ printf ("\nPlease enter some random data (only first %d are significant)\n", 
(int)(sizeof(prom)));
  seq = (char *)getpass("(eg. your old password):>");
  if (strlen(seq) < sizeof(prom))


------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to