Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2015 21:35:35 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378556 - head/net/ss5/files
Message-ID:  <201502062135.t16LZZ8u047454@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Fri Feb  6 21:35:35 2015
New Revision: 378556
URL: https://svnweb.freebsd.org/changeset/ports/378556
QAT: https://qat.redports.org/buildarchive/r378556/

Log:
  Fix packaging

Modified:
  head/net/ss5/files/patch-Makefile.in

Modified: head/net/ss5/files/patch-Makefile.in
==============================================================================
--- head/net/ss5/files/patch-Makefile.in	Fri Feb  6 21:35:14 2015	(r378555)
+++ head/net/ss5/files/patch-Makefile.in	Fri Feb  6 21:35:35 2015	(r378556)
@@ -1,4 +1,4 @@
---- Makefile.in.orig	2009-07-17 16:03:01.000000000 -0500
+--- Makefile.in.orig	2009-07-17 21:03:01 UTC
 +++ Makefile.in
 @@ -1,7 +1,7 @@
  SUBDIRS=src modules
@@ -59,7 +59,7 @@
  
  	@( if [ $(OS) = "Linux" ]; then \
  	if [ ! -d $(dst_dir)/etc/rc.d/init.d ]; then mkdir -p $(dst_dir)/etc/rc.d/init.d; fi ; \
-@@ -67,47 +76,52 @@ install:
+@@ -67,45 +76,51 @@ install:
  	if [ ! -f $(dst_dir)/etc/init.d/ss5 ]; then cp conf/ss5.init $(dst_dir)/etc/init.d/ss5; \
  	else cp conf/ss5.init $(dst_dir)/etc/init.d/ss5.rpmnew ; fi ; \
          fi )
@@ -74,7 +74,12 @@
 -	@( cp -r doc/pam/* $(dst_dir)$(doc_path_base)/ss5 )
 -	@( cp modules/mod_statistics/README.statmgr $(dst_dir)$(doc_path_base)/ss5 )
 -	@( cp modules/mod_balance/README.balamgr $(dst_dir)$(doc_path_base)/ss5 )
--
++	cp License $(dst_dir)$(doc_path_base)/ss5
++	cp -r doc/ldap/README.ldap $(dst_dir)$(doc_path_base)/ss5
++	cp -r doc/pam/README.pam $(dst_dir)$(doc_path_base)/ss5
++	cp modules/mod_statistics/README.statmgr $(dst_dir)$(doc_path_base)/ss5
++	cp modules/mod_balance/README.balamgr $(dst_dir)$(doc_path_base)/ss5
+ 
 -	@( if [ ! -d $(dst_dir)$(man_path_base)/man1 ]; then mkdir -p $(dst_dir)$(man_path_base)/man1; fi )
 -	@( cp man/$(OS)/ss5.1* $(dst_dir)$(man_path_base)/man1 )
 -	@( cp man/$(OS)/ss5srv.1* $(dst_dir)$(man_path_base)/man1 )
@@ -85,21 +90,6 @@
 -	@( cp man/$(OS)/ss5.conf.5* $(dst_dir)$(man_path_base)/man5 )
 -	@( cp man/$(OS)/ss5_gss.5* $(dst_dir)$(man_path_base)/man5 )
 -	@( cp man/$(OS)/ss5_supa.5* $(dst_dir)$(man_path_base)/man5 )
--
--	@( if [ ! -d $(dst_dir)$(conf_path_base) ]; then mkdir -p $(dst_dir)$(conf_path_base); fi )
--	@( if [ ! -d $(dst_dir)$(conf_path_base)/ss5 ]; then mkdir -p $(dst_dir)$(conf_path_base)/ss5; fi )
--	@( if [ ! -f $(dst_dir)$(conf_path_base)/ss5/ss5.conf ]; then cp conf/ss5.conf $(dst_dir)$(conf_path_base)/ss5; \
--	else cp conf/ss5.conf $(dst_dir)$(conf_path_base)/ss5/ss5.conf.rpmnew ; fi )
--	@( if [ ! -f $(dst_dir)$(conf_path_base)/ss5/ss5.ha ]; then cp conf/ss5.ha $(dst_dir)$(conf_path_base)/ss5; \
--	else cp conf/ss5.ha $(dst_dir)$(conf_path_base)/ss5/ss5.ha.rpmnew ; fi )
--	@( if [ ! -f $(dst_dir)$(conf_path_base)/ss5/ss5.passwd ]; then cp conf/ss5.passwd $(dst_dir)$(conf_path_base)/ss5; \
--	else cp conf/ss5.passwd $(dst_dir)$(conf_path_base)/ss5/ss5.passwd.rpmnew ; fi )
-+	cp License $(dst_dir)$(doc_path_base)/ss5
-+	cp -r doc/ldap/README.ldap $(dst_dir)$(doc_path_base)/ss5
-+	cp -r doc/pam/README.pam $(dst_dir)$(doc_path_base)/ss5
-+	cp modules/mod_statistics/README.statmgr $(dst_dir)$(doc_path_base)/ss5
-+	cp modules/mod_balance/README.balamgr $(dst_dir)$(doc_path_base)/ss5
-+
 +	if [ $(OS) = "FreeBSD" ]; then \
 +	 cp man/$(OS)/ss5.1* $(ss5_man)/man1/; \
 +	 cp man/$(OS)/ss5srv.1* $(ss5_man)/man1/; \
@@ -119,7 +109,15 @@
 +	 cp man/$(OS)/ss5_gss.5* $(dst_dir)$(man_path_base)/man5/; \
 +	 cp man/$(OS)/ss5_supa.5* $(dst_dir)$(man_path_base)/man5/; \
 +	fi
-+
+ 
+-	@( if [ ! -d $(dst_dir)$(conf_path_base) ]; then mkdir -p $(dst_dir)$(conf_path_base); fi )
+-	@( if [ ! -d $(dst_dir)$(conf_path_base)/ss5 ]; then mkdir -p $(dst_dir)$(conf_path_base)/ss5; fi )
+-	@( if [ ! -f $(dst_dir)$(conf_path_base)/ss5/ss5.conf ]; then cp conf/ss5.conf $(dst_dir)$(conf_path_base)/ss5; \
+-	else cp conf/ss5.conf $(dst_dir)$(conf_path_base)/ss5/ss5.conf.rpmnew ; fi )
+-	@( if [ ! -f $(dst_dir)$(conf_path_base)/ss5/ss5.ha ]; then cp conf/ss5.ha $(dst_dir)$(conf_path_base)/ss5; \
+-	else cp conf/ss5.ha $(dst_dir)$(conf_path_base)/ss5/ss5.ha.rpmnew ; fi )
+-	@( if [ ! -f $(dst_dir)$(conf_path_base)/ss5/ss5.passwd ]; then cp conf/ss5.passwd $(dst_dir)$(conf_path_base)/ss5; \
+-	else cp conf/ss5.passwd $(dst_dir)$(conf_path_base)/ss5/ss5.passwd.rpmnew ; fi )
 +	if [ ! -d $(dst_dir)$(conf_path_base) ]; then mkdir -p $(dst_dir)$(conf_path_base); fi
 +	if [ ! -d $(dst_dir)$(conf_path_base)/ss5 ]; then mkdir -p $(dst_dir)$(conf_path_base)/ss5; fi
 +	if [ ! -f $(dst_dir)$(conf_path_base)/ss5/ss5.conf ]; then cp conf/ss5.conf $(dst_dir)$(conf_path_base)/ss5; fi
@@ -140,7 +138,5 @@
 +	   cp doc/ldap/examples/* doc/pam/examples/ss5.pam $(ss5_examples); \
 +	fi
  
--	@( if [ ! -d $(dst_dir)/var/run/ss5 ]; then mkdir -p $(dst_dir)/var/run/ss5; fi )
- 
+ 	@( if [ ! -d $(dst_dir)/var/run/ss5 ]; then mkdir -p $(dst_dir)/var/run/ss5; fi )
  
- .PHONY : uninstall



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502062135.t16LZZ8u047454>