This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ITP: pwgen


John Morrison wrote:
> 
> On Sat, 27 Jul 2002, Hack [iso-8859-1] Kampbjørn wrote:
> > This got my vote.
> 
> Good :)  I didn't know if others would find it useful.  It's in the
> debian distro.
> 
> > > setup.hint:
> > >
> > /usr/doc/pwgen-2.02 directory.
> 
> I know.  But I couldn't figure out the Method 2 script to get this to
> work :(

The standard script is a guideline, it's up to you as the maintainer to
adapted it to your package. Something like this will do.

--- pwgen-2.02-1.sh~orig        2002-07-27 11:36:34.000000000 +0200
+++ pwgen-2.02-1.sh     2002-07-28 01:28:11.000000000 +0200
@@ -92,20 +92,17 @@
   if [ -f ${instdir}${prefix}/info/dir ] ; then \
     rm ${instdir}${prefix}/info/dir ; \
   fi && \
-  if [ ! -d ${instdir}${prefix}/doc/${PKG}-${VER} ]; then \
-    mkdir -p ${instdir}${prefix}/doc/${PKG}-${VER} ; \
-  fi && \
   if [ ! -d ${instdir}${prefix}/doc/Cygwin ]; then \
     mkdir -p ${instdir}${prefix}/doc/Cygwin ; \
   fi && \
-  if [ ! -d ${instdir}${sysconfdir}/postinstall ]; then \
-    mkdir -p ${instdir}${sysconfdir}/postinstall ; \
-  fi && \
   templist=""; \
   for f in ${srcdir}/ANNOUNCE ${srcdir}/CHANGES ${srcdir}/INSTALL \
            ${srcdir}/KNOWNBUG ${srcdir}/LICENSE ${srcdir}/README \
                          ${srcdir}/TODO ; do \
     if [ -f $f ] ; then \

> 
> > You could also work a little more on the build dependency: only cygwin?
> > What about gcc, binutils, make, ash, perl, sed?
> 
> gcc and make (for sure :) are only required to build it.  I don't believe
> this makes them dependencies.  As for the others; I ran a cygcheck -v
> pwgen and the cygwin dll was the only thing listed.  I google'd for ages
> and couldn't find a method of finding out dependencies and I'm not that
> familiar with the code.  If anyone can help tell me _how_ to work out
> dependancies I'll be happy to add them.

In usr/doc/Cygwin/pwgen-2.02.README it says:
	Runtime requirements:
	  cygwin-1.3.10 or newer

	Build requirements:
	  cygwin-1.3.10 or newer

It was this build time requirements that I referred to. The packages
needed in order to build a new binary package.

This seems to be a GPL package but I cannot find a COPYING file in the
original distribution, this voids the GPL as you (or Red Hat) cannot
redistribute this package without a copy of the GPL license. You may
need to ask the upstream maintainer to add a COPYING file to the
pwgen-2.0.2 tarball.
> 
> J.

-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]