summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-05 03:44:11 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-05 03:44:11 +0800
commit4ff9c17723147418c1a803ae69168680a78ac1d0 (patch)
tree7f6a21095067770d604317ee146c1a36e5a0f591 /net
parenta86e292710e8c8db6ee8e6c0a12ff063f5686c72 (diff)
downloadmarcuscom-ports-4ff9c17723147418c1a803ae69168680a78ac1d0.tar
marcuscom-ports-4ff9c17723147418c1a803ae69168680a78ac1d0.tar.gz
marcuscom-ports-4ff9c17723147418c1a803ae69168680a78ac1d0.tar.bz2
marcuscom-ports-4ff9c17723147418c1a803ae69168680a78ac1d0.tar.lz
marcuscom-ports-4ff9c17723147418c1a803ae69168680a78ac1d0.tar.xz
marcuscom-ports-4ff9c17723147418c1a803ae69168680a78ac1d0.tar.zst
marcuscom-ports-4ff9c17723147418c1a803ae69168680a78ac1d0.zip
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7557 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net')
-rw-r--r--net/diradmin/Makefile38
-rw-r--r--net/diradmin/distinfo3
-rw-r--r--net/diradmin/files/patch-aa34
-rw-r--r--net/diradmin/files/patch-configure20
-rw-r--r--net/diradmin/files/patch-src-charset.c16
-rw-r--r--net/diradmin/files/patch-src-prefs.c18
-rw-r--r--net/diradmin/pkg-descr10
-rw-r--r--net/diradmin/pkg-plist23
8 files changed, 162 insertions, 0 deletions
diff --git a/net/diradmin/Makefile b/net/diradmin/Makefile
new file mode 100644
index 000000000..bd738bb26
--- /dev/null
+++ b/net/diradmin/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: diradmin
+# Date created: 24 April 2003
+# Whom: Lewis Thompson <purple@lewiz.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= diradmin
+PORTVERSION= 1.5.1
+PORTREVISION= 4
+CATEGORIES= net
+MASTER_SITES= http://diradmin.open-it.org/releases/ \
+ http://diradmin.open-it.org/releases/old/
+DISTNAME= directory_administrator-${PORTVERSION}
+
+MAINTAINER= lewiz@compsoc.man.ac.uk
+COMMENT= A smart LDAP directory management tool
+
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+USE_GMAKE= yes
+USE_GNOME= gnomelibs
+USE_OPENLDAP= yes
+USE_OPENSSL= yes
+CFLAGS+= -I/usr/src/lib/libcrypt
+
+PORTDOCS= AUTHORS CREDITS ChangeLog INSTALL NEWS \
+ README TODO
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/diradmin/distinfo b/net/diradmin/distinfo
new file mode 100644
index 000000000..6ec574315
--- /dev/null
+++ b/net/diradmin/distinfo
@@ -0,0 +1,3 @@
+MD5 (directory_administrator-1.5.1.tar.gz) = 6ce1d8f2715ed100ec297779e7557d46
+SHA256 (directory_administrator-1.5.1.tar.gz) = d785fd8575ca068254b3fead5ee54a2b01ed701622a79796661d02a70f664490
+SIZE (directory_administrator-1.5.1.tar.gz) = 460818
diff --git a/net/diradmin/files/patch-aa b/net/diradmin/files/patch-aa
new file mode 100644
index 000000000..a5126d74c
--- /dev/null
+++ b/net/diradmin/files/patch-aa
@@ -0,0 +1,34 @@
+--- aclocal.m4.orig Fri Dec 19 22:55:07 2003
++++ aclocal.m4 Fri Dec 19 22:57:03 2003
+@@ -1539,6 +1539,6 @@
+ dnl LDAP_CHECKS
+ AC_DEFUN([LDAP_CHECKS],
+ [
+- LDFLAGS="$LDFLAGS -llber -lldap -lresolv -lcrypt"
++ LDFLAGS="$LDFLAGS -llber -lldap -lcrypt"
+ ])
+
+
+--- configure.orig Fri Dec 19 22:55:22 2003
++++ configure Fri Dec 19 22:56:07 2003
+@@ -5413,7 +5413,7 @@
+
+
+
+- LDFLAGS="$LDFLAGS -llber -lldap -lresolv -lcrypt"
++ LDFLAGS="$LDFLAGS -llber -lldap -lcrypt"
+
+
+
+
+
+--- macros/ldap.m4.orig Fri Dec 19 22:55:34 2003
++++ macros/ldap.m4 Fri Dec 19 22:57:46 2003
+@@ -1,5 +1,5 @@
+ dnl LDAP_CHECKS
+ AC_DEFUN([LDAP_CHECKS],
+ [
+- LDFLAGS="$LDFLAGS -llber -lldap -lresolv -lcrypt"
++ LDFLAGS="$LDFLAGS -llber -lldap -lcrypt"
+ ])
+
diff --git a/net/diradmin/files/patch-configure b/net/diradmin/files/patch-configure
new file mode 100644
index 000000000..066499b4f
--- /dev/null
+++ b/net/diradmin/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Tue Feb 24 16:10:24 2004
++++ configure Tue Feb 24 16:12:33 2004
+@@ -5413,7 +5413,7 @@
+
+
+
+- LDFLAGS="$LDFLAGS -llber -lldap -lcrypt"
++ LDFLAGS="$LDFLAGS -L/usr/local/lib -llber -lldap -lcrypt"
+
+
+
+@@ -5625,7 +5625,7 @@
+
+ fi
+
+-PACKAGE_PIXMAPS_DIR="/share/pixmaps/${PACKAGE}"
++PACKAGE_PIXMAPS_DIR="/share/gnome/pixmaps/${PACKAGE}"
+
+ PACKAGE_APPLNK_DIR="/share/applications"
+ SYSTEM_MENU_DIR="/lib/menu"
diff --git a/net/diradmin/files/patch-src-charset.c b/net/diradmin/files/patch-src-charset.c
new file mode 100644
index 000000000..c7b8a66e3
--- /dev/null
+++ b/net/diradmin/files/patch-src-charset.c
@@ -0,0 +1,16 @@
+--- src/charset.c.orig Wed Jun 11 23:25:17 2003
++++ src/charset.c Thu Jan 22 10:18:01 2004
+@@ -165,12 +165,12 @@
+
+
+ char* replacement_table(char* string) {
+-return NULL;
+ char**a,b;
+ char*position;
+ char*tempstring,tempstring2;
+ //int replacementlength;
+ int current;
++return NULL;
+ tempstring = g_strdup(string);
+ for (current=0;_latinchars[current];current++) {
+ g_print("To replace: %s Replacement: %s\n",_latinchars[current],_replacements[current]);
diff --git a/net/diradmin/files/patch-src-prefs.c b/net/diradmin/files/patch-src-prefs.c
new file mode 100644
index 000000000..34702b476
--- /dev/null
+++ b/net/diradmin/files/patch-src-prefs.c
@@ -0,0 +1,18 @@
+--- src/prefs.c.orig Thu Jun 12 15:03:12 2003
++++ src/prefs.c Thu Jan 22 10:16:30 2004
+@@ -34,6 +34,7 @@
+ gchar *homedir = NULL;
+ gchar *cfgfile = NULL;
+ connection_profile *connprof = NULL;
++ gint tls;
+
+ gboolean is_default;
+
+@@ -53,7 +54,6 @@
+ preferences.logindefaults.VUID_MAX = 60000;
+ preferences.logindefaults.VGID_MIN = 500;
+ preferences.logindefaults.VGID_MAX = 60000;
+- gint tls;
+
+
+
diff --git a/net/diradmin/pkg-descr b/net/diradmin/pkg-descr
new file mode 100644
index 000000000..a4b4a855f
--- /dev/null
+++ b/net/diradmin/pkg-descr
@@ -0,0 +1,10 @@
+Directory administrator is a smart LDAP directory management tool. It
+can be used to manage UNIX users and groups in a single sign-on setup,
+corporate address book , information, host-based access control and
+advanced mail routing. It's extremely easy to install and use, yet
+powerful at the same time. Along with popular software, it's the
+preferred solution for single sign-on maintenance.
+
+WWW: http://diradmin.open-it.org/
+
+lewiz <purple@lewiz.info>
diff --git a/net/diradmin/pkg-plist b/net/diradmin/pkg-plist
new file mode 100644
index 000000000..c01186ec2
--- /dev/null
+++ b/net/diradmin/pkg-plist
@@ -0,0 +1,23 @@
+bin/directory_administrator
+share/applications/dragonfear-directory_administrator.desktop
+share/gnome/pixmaps/directory_administrator/briefcase.png
+share/gnome/pixmaps/directory_administrator/byruddo.png
+share/gnome/pixmaps/directory_administrator/cellphone.png
+share/gnome/pixmaps/directory_administrator/diradminlogo.ico
+share/gnome/pixmaps/directory_administrator/diradminlogo.png
+share/gnome/pixmaps/directory_administrator/diradminlogo.xcf
+share/gnome/pixmaps/directory_administrator/gnome-computer.png
+share/gnome/pixmaps/directory_administrator/gnome-gnomecard.png
+share/gnome/pixmaps/directory_administrator/gnome-who.png
+share/gnome/pixmaps/directory_administrator/group-icon.xpm
+share/gnome/pixmaps/directory_administrator/house.png
+share/gnome/pixmaps/directory_administrator/ico-mail.png
+share/gnome/pixmaps/directory_administrator/new-16.xpm
+share/gnome/pixmaps/directory_administrator/new.xpm
+share/gnome/pixmaps/directory_administrator/newgroup-16.xpm
+share/gnome/pixmaps/directory_administrator/newgroup.xpm
+share/gnome/pixmaps/directory_administrator/old-group-icon.xpm
+share/gnome/pixmaps/directory_administrator/old-user-icon.xpm
+share/gnome/pixmaps/directory_administrator/user-icon.xpm
+@dirrm share/gnome/pixmaps/directory_administrator
+@dirrmtry share/applications