Bug 182644 - sysutils/su2: stage support
Summary: sysutils/su2: stage support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-04 16:50 UTC by Denis Generalov
Modified: 2013-10-09 23:40 UTC (History)
0 users

See Also:


Attachments
file.txt (1.09 KB, text/plain)
2013-10-04 16:50 UTC, Denis Generalov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Generalov 2013-10-04 16:50:00 UTC
add stage support

Fix: Patch attached with submission follows:
Comment 1 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2013-10-09 23:18:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danilo

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-10-09 23:36:01 UTC
Author: danilo
Date: Wed Oct  9 22:35:53 2013
New Revision: 329934
URL: http://svnweb.freebsd.org/changeset/ports/329934

Log:
  - Add stage support [1]
  - Remove the indefinite article from COMMENT
  
  PR:		ports/182644
  Submitted by:	Denis Generalov <gd@rambler-co.ru> (maintainer) [1]
  Approved by:	wg/culot (mentors, implicit)

Modified:
  head/sysutils/su2/Makefile
  head/sysutils/su2/files/patch-aa

Modified: head/sysutils/su2/Makefile
==============================================================================
--- head/sysutils/su2/Makefile	Wed Oct  9 22:24:17 2013	(r329933)
+++ head/sysutils/su2/Makefile	Wed Oct  9 22:35:53 2013	(r329934)
@@ -8,16 +8,15 @@ CATEGORIES=	sysutils security
 MASTER_SITES=	ftp://ftp.ccs.neu.edu/pub/sysadmin/
 
 MAINTAINER=	gd@rambler-co.ru
-COMMENT=	An enhanced su, allows users to su with own password + more
+COMMENT=	Enhanced su, allows users to su with own password + more
 
 PATCH_DEPENDS=	rcsdiff:${PORTSDIR}/devel/rcs
 
 NO_CDROM=	Don't sell for profit
 
-MAN1=		su2.1
-PLIST_FILES=	bin/su2
+PLIST_FILES=	bin/su2 \
+		man/man1/su2.1.gz
 
-NO_STAGE=	yes
 post-patch:
 	${REINPLACE_CMD} -e '/^CC=gcc/d' ${WRKSRC}/Makefile
 	${REINPLACE_CMD} -e 's,/etc/super,${PREFIX}/etc/super,g' \

Modified: head/sysutils/su2/files/patch-aa
==============================================================================
--- head/sysutils/su2/files/patch-aa	Wed Oct  9 22:24:17 2013	(r329933)
+++ head/sysutils/su2/files/patch-aa	Wed Oct  9 22:35:53 2013	(r329934)
@@ -6,7 +6,7 @@
  # 
 -DEST=/usr/local
 +PREFIX?=/usr/local
-+DEST=${PREFIX}
++DEST=${DESTDIR}${PREFIX}
  BINDIR=$(DEST)/bin
 -MANDIR=$(DEST)/man
 +MANDIR=$(DEST)/man/man1
@@ -35,7 +35,7 @@
 +
  install: su2
 -	install -c -m 4711 -o root su2 $(BINDIR)/su2
-+	install -c -s -m 4711 -o root su2 $(BINDIR)/su2
++	install -c -s -m 4711 su2 $(BINDIR)/su2
  	install -c su2.man $(MANDIR)/su2.1
  
  clean:
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2013-10-09 23:36:12 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!