From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 22 06:20:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70EB8106566C for ; Sun, 22 Nov 2009 06:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 17B328FC0A for ; Sun, 22 Nov 2009 06:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAM6K135004685 for ; Sun, 22 Nov 2009 06:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAM6K1Xi004684; Sun, 22 Nov 2009 06:20:01 GMT (envelope-from gnats) Resent-Date: Sun, 22 Nov 2009 06:20:01 GMT Resent-Message-Id: <200911220620.nAM6K1Xi004684@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Benjamin Kaduk Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60E18106566B for ; Sun, 22 Nov 2009 06:10:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 4A7B68FC16 for ; Sun, 22 Nov 2009 06:10:53 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nAM6Aqa8043500 for ; Sun, 22 Nov 2009 06:10:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nAM6Aqb9043491; Sun, 22 Nov 2009 06:10:52 GMT (envelope-from nobody) Message-Id: <200911220610.nAM6Aqb9043491@www.freebsd.org> Date: Sun, 22 Nov 2009 06:10:52 GMT From: Benjamin Kaduk To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/140767: [new port] sysutils/libss X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Nov 2009 06:20:02 -0000 >Number: 140767 >Category: ports >Synopsis: [new port] sysutils/libss >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 22 06:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Benjamin Kaduk >Release: 8-current >Organization: MIT Student Information Processing Board >Environment: FreeBSD periphrasis.mit.edu 8.0-CURRENT FreeBSD 8.0-CURRENT #12: Fri Jun 26 23:33:14 EDT 2009 kaduk@periphrasis.mit.edu:/usr/obj/usr/src/sys/PERIPHRASIS amd64 >Description: libss is a library and supporting utilities to facilitate parsing command-line interfaces, inspired by the Multics SubSystem library. The library is currently provided by e2fsprogs, heimdal, and krb4 (which is marked as BROKEN), but those are all rather heavyweight options, and I would like something more lightweight for another port I'm working on (the zephyr instant messaging system). I note that there is a libss2 Debian package that draws on e2fsprogs as its source package, so there is some precedent. I'm not entirely sure if sysutils/ is the right place for it, but the only other obvious candidate is devel/ .... >How-To-Repeat: n/a >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libss # libss/files # libss/files/patch-lib-ss-Makefile.in # libss/files/patch-lib-et-Makefile.in # libss/Makefile # libss/pkg-descr # libss/distinfo # libss/pkg-plist # echo c - libss mkdir -p libss > /dev/null 2>&1 echo c - libss/files mkdir -p libss/files > /dev/null 2>&1 echo x - libss/files/patch-lib-ss-Makefile.in sed 's/^X//' >libss/files/patch-lib-ss-Makefile.in << '17059e91005cd3ed93ef1451610d46a6' X--- lib/ss/Makefile.in.orig 2009-11-14 06:38:07.000000000 +0000 X+++ lib/ss/Makefile.in 2009-11-14 06:54:11.000000000 +0000 X@@ -129,10 +129,11 @@ X $(Q) cd $(top_builddir); CONFIG_FILES=lib/ss/ss.pc ./config.status X X installdirs:: X- $(E) " MKINSTALLDIRS $(libdir) $(includedir)/ss $(datadir)/ss $(bindir)" X+ $(E) " MKINSTALLDIRS $(libdir) $(includedir)/ss $(datadir)/ss $(bindir) $(prefix)/libdata" X $(Q) $(MKINSTALLDIRS) $(DESTDIR)$(libdir) \ X $(DESTDIR)$(includedir)/ss $(DESTDIR)$(datadir)/ss \ X- $(DESTDIR)$(bindir) $(DESTDIR)$(libdir)/pkgconfig X+ $(DESTDIR)$(bindir) $(DESTDIR)$(prefix)/libdata \ X+ $(DESTDIR)$(prefix)/libdata/pkgconfig X X install:: libss.a $(INSTALL_HFILES) installdirs ss_err.h mk_cmds ss.pc X $(E) " INSTALL_DATA $(DESTDIR)$(libdir)/libss.a" X@@ -154,12 +155,12 @@ X $(Q) $(INSTALL) mk_cmds $(DESTDIR)$(bindir)/mk_cmds X $(E) " INSTALL_DATA $(man1dir)/mk_cmds.1" X $(Q) $(INSTALL_DATA) $(srcdir)/mk_cmds.1 $(DESTDIR)$(man1dir)/mk_cmds.1 X- $(E) " INSTALL_DATA $(libdir)/pkgconfig/ss.pc" X- $(Q) $(INSTALL_DATA) ss.pc $(DESTDIR)$(libdir)/pkgconfig/ss.pc X+ $(E) " INSTALL_DATA $(prefix)/libdata/pkgconfig/ss.pc" X+ $(Q) $(INSTALL_DATA) ss.pc $(DESTDIR)$(prefix)/libdata/pkgconfig/ss.pc X X uninstall:: X $(RM) -f $(DESTDIR)$(libdir)/libss.a $(DESTDIR)$(bindir)/mk_cmds \ X- $(DESTDIR)$(libdir)/pkgconfig/ss.pc \ X+ $(DESTDIR)$(prefix)/libdata/pkgconfig/ss.pc \ X $(DESTDIR)$(man1dir)/mk_cmds.1 X $(RM) -rf $(DESTDIR)$(includedir)/ss $(DESTDIR)$(datadir)/ss X 17059e91005cd3ed93ef1451610d46a6 echo x - libss/files/patch-lib-et-Makefile.in sed 's/^X//' >libss/files/patch-lib-et-Makefile.in << '2cd90e3d8e5f360899703462b6be58fd' X--- lib/et/Makefile.in.orig 2009-11-14 23:18:56.000000000 +0000 X+++ lib/et/Makefile.in 2009-11-14 23:20:49.000000000 +0000 X@@ -74,11 +74,11 @@ X $(TAGS) $(SRCS) X X installdirs:: X- $(E) " MKINSTALLDIRS $(libdir) $(includedir)/et $(datadir)/et $(bindir) $(man1dir) $(man3dir)" X+ $(E) " MKINSTALLDIRS $(libdir) $(includedir)/et $(datadir)/et $(bindir) $(man1dir) $(man3dir) $(prefix)/libdata" X $(Q) $(MKINSTALLDIRS) $(DESTDIR)$(libdir) \ X $(DESTDIR)$(includedir)/et $(DESTDIR)$(datadir)/et \ X $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) \ X- $(DESTDIR)$(man3dir) $(DESTDIR)$(libdir)/pkgconfig X+ $(DESTDIR)$(man3dir) $(DESTDIR)$(prefix)/libdata/pkgconfig X X install:: compile_et libcom_err.a $(HFILES) installdirs com_err.pc X $(E) " INSTALL_DATA $(libdir)/libcom_err.a" X@@ -100,13 +100,13 @@ X $(E) " INSTALL_DATA $(man1dir)/compile_et.1" X $(Q) $(INSTALL_DATA) $(srcdir)/compile_et.1 \ X $(DESTDIR)$(man1dir)/compile_et.1 X- $(E) " INSTALL_DATA $(libdir)/pkgconfig/com_err.pc" X- $(Q) $(INSTALL_DATA) com_err.pc $(DESTDIR)$(libdir)/pkgconfig/com_err.pc X+ $(E) " INSTALL_DATA $(prefix)/libdata/pkgconfig/com_err.pc" X+ $(Q) $(INSTALL_DATA) com_err.pc $(DESTDIR)$(prefix)/libdata/pkgconfig/com_err.pc X X uninstall:: X $(RM) -f $(DESTDIR)$(libdir)/libcom_err.a \ X $(DESTDIR)$(bindir)/compile_et \ X- $(DESTDIR)$(libdir)/pkgconfig/com_err.pc X+ $(DESTDIR)$(prefix)/libdata/pkgconfig/com_err.pc X $(RM) -rf $(DESTDIR)$(includedir)/et $(DESTDIR)$(datadir)/et X X check:: compile_et 2cd90e3d8e5f360899703462b6be58fd echo x - libss/Makefile sed 's/^X//' >libss/Makefile << 'b2c48caf9a07b4109885f694a2d39192' X# New ports collection makefile for: libss X# Date created: 20 November 2009 X# Whom: Ben Kaduk X# X# $FreeBSD$ X# X XPORTNAME= libss XPORTVERSION= 2.0 XCATEGORIES= sysutils XMASTER_SITES= ${MASTER_SITE_DEBIAN} XMASTER_SITE_SUBDIR= pool/main/e/e2fsprogs XDISTFILES= e2fsprogs_1.41.9.orig.tar.gz X XPATCH_SITES= http://ftp.debian.org/debian/pool/main/e/e2fsprogs/ XPATCHFILES= e2fsprogs_1.41.9-1.diff.gz XPATCH_DIST_STRIP= -p1 X XMAINTAINER= kaduk-fbsd@mit.edu XCOMMENT= Command-line interface parsing library X XCONFLICTS= heimdal-[0-9]* XCONFLICTS+= krb[45]-[0-9]* XCONFLICTS+= e2fsprogs-[0-9]* X XWRKSRC= ${WRKDIR}/e2fsprogs-1.41.9 XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_LDCONFIG= yes XCONFIGURE_ARGS= --enable-elf-shlibs XALL_TARGET= subs XINSTALL_WRKSRC= ${WRKSRC}/lib/ss X XMAN1= mk_cmds.1 compile_et.1 XMAN3= com_err.3 X Xpost-build: X @(cd ${WRKSRC}/lib/ss && ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \ X ${_MAKE_JOBS} ${MAKE_ARGS} all) X @(cd ${WRKSRC}/lib/et && ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \ X ${_MAKE_JOBS} ${MAKE_ARGS} all) X X# ss.h includes et/com_err.h (through ss/ss_err.h) Xpost-install: X @(cd ${WRKSRC}/lib/et && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) X X.include b2c48caf9a07b4109885f694a2d39192 echo x - libss/pkg-descr sed 's/^X//' >libss/pkg-descr << 'f4bbfda4cbc4c62f9ba3d4c4f4efc531' XThis package includes a tool that parses a command table to generate a Xsimple command-line interface parser, the include files needed to compile Xand use it, and the libraries needed to run programs that use it. XThis package also installs a com_err library and include files which Xare needed to use the other tools. X XIt was originally inspired by the Multics SubSystem library. f4bbfda4cbc4c62f9ba3d4c4f4efc531 echo x - libss/distinfo sed 's/^X//' >libss/distinfo << '56efb873ff4e20e1a4128bc66476bc79' XMD5 (e2fsprogs_1.41.9.orig.tar.gz) = 52f60a9e19a02f142f5546f1b5681927 XSHA256 (e2fsprogs_1.41.9.orig.tar.gz) = cbf1e34261a16b3d7911b60b91290b19f2010036d6ba628d45b5f0b2af2b66e8 XSIZE (e2fsprogs_1.41.9.orig.tar.gz) = 4452610 XMD5 (e2fsprogs_1.41.9-1.diff.gz) = 5f037d86ee6e6ba273547a6f89a25f67 XSHA256 (e2fsprogs_1.41.9-1.diff.gz) = 5340b32552bb6575b8571704ee4fa347ec6b90a7fbf55739a476c50ba2f78fe5 XSIZE (e2fsprogs_1.41.9-1.diff.gz) = 3613 56efb873ff4e20e1a4128bc66476bc79 echo x - libss/pkg-plist sed 's/^X//' >libss/pkg-plist << 'ce897d27853d50dbc9e0a09348d6f164' Xbin/mk_cmds Xbin/compile_et Xinclude/ss/ss.h Xinclude/ss/ss_err.h Xinclude/et/com_err.h Xlib/libss.so.2.0 Xlib/libss.so Xlib/libss.a Xlib/libcom_err.so.2.1 Xlib/libcom_err.so.2 Xlib/libcom_err.so Xlib/libcom_err.a Xlib/libss.so.2 Xlibdata/pkgconfig/ss.pc Xlibdata/pkgconfig/com_err.pc Xshare/ss/ct_c.awk Xshare/ss/ct_c.sed Xshare/et/et_c.awk Xshare/et/et_h.awk X X@dirrm include/ss X@dirrm include/et X@dirrm share/ss X@dirrm share/et ce897d27853d50dbc9e0a09348d6f164 exit >Release-Note: >Audit-Trail: >Unformatted: