[csw-devel] SF.net SVN: gar:[11306] csw/mgar/pkg/proftpd/trunk

aigoshin at users.sourceforge.net aigoshin at users.sourceforge.net
Fri Oct 15 18:35:54 CEST 2010


Revision: 11306
          http://gar.svn.sourceforge.net/gar/?rev=11306&view=rev
Author:   aigoshin
Date:     2010-10-15 16:35:54 +0000 (Fri, 15 Oct 2010)

Log Message:
-----------
proftpd: package release 20101015

Modified Paths:
--------------
    csw/mgar/pkg/proftpd/trunk/Makefile
    csw/mgar/pkg/proftpd/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/proftpd/trunk/files/cswproftpd

Removed Paths:
-------------
    csw/mgar/pkg/proftpd/trunk/files/CSWproftpd.gspec

Modified: csw/mgar/pkg/proftpd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/proftpd/trunk/Makefile	2010-10-15 13:11:24 UTC (rev 11305)
+++ csw/mgar/pkg/proftpd/trunk/Makefile	2010-10-15 16:35:54 UTC (rev 11306)
@@ -1,7 +1,9 @@
 GARNAME = proftpd
-GARVERSION = 1.3.1
+GARVERSION = 1.3.3b
 CATEGORIES = server
 
+GARCOMPILER = GCC3
+
 DESCRIPTION = Advanced, incredibly configurable and secure FTP daemon
 define BLURB
   ProFTPD is a proven, high-performance, scalable FTP server written from
@@ -13,46 +15,55 @@
 endef
 
 MASTER_SITES = ftp://ftp.proftpd.org/distrib/source/
-DISTFILES  = $(GARNAME)-$(GARVERSION).tar.bz2
-DISTFILES += $(call admfiles,CSWproftpd,)
+DISTFILES    = $(GARNAME)-$(GARVERSION).tar.bz2
+DISTFILES   += cswproftpd
 
+LICENSE      = COPYING
+
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
 
-CONFIGURE_ARGS = $(DIRPATHS)
+RUNTIME_DEP_PKGS = CSWosslrt CSWtcpwrap CSWggettextrt CSWiconv
 
-# No test suite
+PACKAGING_PLATFORMS = solaris9-sparc solaris9-i386
+
+EXTRA_BUILD_ISAS_i386  = pentium_pro amd64
+EXTRA_BUILD_ISAS_sparc = sparcv8plus sparcv9
+
+sysconfdir=/etc/opt/csw
+localstatedir=/var/opt/csw
+
+CONFIGURE_ENV   = install_user=$(USER) install_group=csw
+
+CONFIGURE_ARGS += --prefix=$(prefix)
+CONFIGURE_ARGS += --sysconfdir=$(sysconfdir)
+CONFIGURE_ARGS += --localstatedir=/var/run/proftpd
+CONFIGURE_ARGS += --mandir=$(prefix)/share/man
+CONFIGURE_ARGS += --docdir=$(prefix)/share/doc/proftpd
+CONFIGURE_ARGS += --enable-facl
+CONFIGURE_ARGS += --enable-openssl
+CONFIGURE_ARGS += --enable-sendfile
+CONFIGURE_ARGS += --enable-nls
+CONFIGURE_ARGS += --enable-ctrls
+CONFIGURE_ARGS += --enable-buffer-size=8192
+CONFIGURE_ARGS += --with-includes=$(prefix)/include:$(prefix)/include/openssl
+CONFIGURE_ARGS += --with-modules=mod_rewrite:mod_ifsession:mod_ratio:mod_tls:mod_readme:mod_auth_pam:mod_wrap:mod_radius:mod_ban
+
 TEST_SCRIPTS =
 
-INSTALL_SCRIPTS = custom
+INITSMF      = $(sysconfdir)/init.d/cswproftpd
+PRESERVECONF = $(sysconfdir)/proftpd.conf
 
-PROFTPDBIN=ftpcount ftpdctl ftpshut ftptop ftpwho
-PROFTPDDOC=doc sample-configurations
-PROFTPDMAN1=utils/ftpcount.1 utils/ftptop.1 utils/ftpwho.1
-PROFTPDMAN5=src/xferlog.5
-PROFTPDMAN8=src/ftpdctl.8 src/proftpd.8
+PROFTPDDOC   = doc sample-configurations COPYING NEWS README RELEASE_NOTES
 
-install-custom:
-	ginstall -d $(DESTDIR)$(prefix)/etc
-	ginstall -d $(DESTDIR)$(prefix)/bin
-	ginstall -d $(DESTDIR)$(prefix)/sbin
-	ginstall -d $(DESTDIR)$(prefix)/var/proftpd
+
+include gar/category.mk
+
+post-install-modulated:
+	ginstall -d $(DESTDIR)$(sysconfdir)/init.d
 	ginstall -d $(DESTDIR)$(prefix)/share/doc/proftpd
-	ginstall -d $(DESTDIR)$(prefix)/share/man/man1
-	ginstall -d $(DESTDIR)$(prefix)/share/man/man5
-	ginstall -d $(DESTDIR)$(prefix)/share/man/man8
-	cd $(WORKSRC); \
-	cp sample-configurations/basic.conf proftpd.conf.CSW; \
-	cp proftpd.conf.CSW $(DESTDIR)$(prefix)/etc; \
-	cp $(PROFTPDBIN) $(DESTDIR)$(prefix)/bin; \
-	cp proftpd $(DESTDIR)$(prefix)/sbin; \
-	chmod 755 $(DESTDIR)$(prefix)/sbin/proftpd; \
-	cp -r $(PROFTPDDOC) $(DESTDIR)$(prefix)/share/doc/proftpd; \
-	cp -r $(PROFTPDDOC) $(DESTDIR)$(prefix)/share/doc/proftpd; \
-	cp $(PROFTPDMAN1) $(DESTDIR)$(prefix)/share/man/man1; \
-	cp $(PROFTPDMAN1) $(DESTDIR)$(prefix)/share/man/man5; \
-	cp $(PROFTPDMAN1) $(DESTDIR)$(prefix)/share/man/man8 
+	ginstall -d $(DESTDIR)$(localstatedir)/proftpd
+	ginstall -d $(DESTDIR)$(localstatedir)/proftpd/logs
+	cp $(WORKDIR)/cswproftpd $(DESTDIR)$(sysconfdir)/init.d/
+	cd $(WORKSRC); cp -r $(PROFTPDDOC) $(DESTDIR)$(prefix)/share/doc/proftpd
 	$(MAKECOOKIE)
-
-
-include gar/category.mk

Modified: csw/mgar/pkg/proftpd/trunk/checksums
===================================================================
--- csw/mgar/pkg/proftpd/trunk/checksums	2010-10-15 13:11:24 UTC (rev 11305)
+++ csw/mgar/pkg/proftpd/trunk/checksums	2010-10-15 16:35:54 UTC (rev 11306)
@@ -1,2 +1 @@
-175958df8de92d5209b7b1e2e23a5a28  download/proftpd-1.3.1.tar.bz2
-b3648813a40ab5e2df1dd0756805e36f  download/CSWproftpd.gspec
+721b8232fcac36317a6a1d29fa86250e  proftpd-1.3.3b.tar.bz2

Deleted: csw/mgar/pkg/proftpd/trunk/files/CSWproftpd.gspec
===================================================================
--- csw/mgar/pkg/proftpd/trunk/files/CSWproftpd.gspec	2010-10-15 13:11:24 UTC (rev 11305)
+++ csw/mgar/pkg/proftpd/trunk/files/CSWproftpd.gspec	2010-10-15 16:35:54 UTC (rev 11306)
@@ -1,4 +0,0 @@
-%var            bitname proftpd
-%var            pkgname CSWproftpd
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright      url file://%{WORKSRC}/COPYING

Added: csw/mgar/pkg/proftpd/trunk/files/cswproftpd
===================================================================
--- csw/mgar/pkg/proftpd/trunk/files/cswproftpd	                        (rev 0)
+++ csw/mgar/pkg/proftpd/trunk/files/cswproftpd	2010-10-15 16:35:54 UTC (rev 11306)
@@ -0,0 +1,31 @@
+#!/bin/sh
+#
+#RC_KNUM 20
+#RC_SNUM 88
+#RC_KLEV 0,1,S
+#RC_SLEV 2
+#AUTOENABLE no
+#
+
+case "$1" in
+  start)
+	[ ! -d /var/run/proftpd ] && mkdir /var/run/proftpd
+	/opt/csw/sbin/proftpd
+	;;
+  stop)
+	pkill -f "\/opt\/csw\/sbin\/proftpd"
+	sleep 1
+	;;
+  restart)
+	$0 stop
+	$0 start
+	;;
+  refresh)
+	[ -f /var/run/proftpd/proftpd.pid ] && kill -HUP `cat /var/run/proftpd/proftpd.pid`
+	;;
+  *)
+	echo "Usage: $0 {start|stop|restart|refresh}"
+	exit 1
+esac
+
+exit 0


Property changes on: csw/mgar/pkg/proftpd/trunk/files/cswproftpd
___________________________________________________________________
Added: svn:executable
   + *


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list